diff --git a/assets/About-BFpPUs8q.js b/assets/About-BFpPUs8q.js deleted file mode 100644 index fdb0cb9..0000000 --- a/assets/About-BFpPUs8q.js +++ /dev/null @@ -1,25 +0,0 @@ -import{d as s,p as n,c,a,u as i,o}from"./index-CbwOw4AX.js";const e=` -[玉桃文飨轩🍑](https://share.lovejade.cn/?utm_source=about) ,简单好用的在线文本工具;支持将 Markdown、Rich Text 等格式内容,快速转化为 png、pdf、html 等文件,并支持自定义设置、一键下载等功能。基于 [Vue3](https://nicelinks.site/post/5b1a221c0526c920d6dfaada) 、 [Vite](https://nicelinks.site/post/6010e1b10c71de1fb957b64e) 、 [Pinia](https://nicelinks.site/post/631813c3c0922e0e572bde81) 、 [TailwindCSS](https://nicelinks.site/post/5fd20cb4c06d6302c1907ec7) 、 [TypeScript](https://nicelinks.site/post/6278fdeaac00ce3f9b11a8ef) 构建。 - -## 诞生初衷 - -有搭建蛮多社区,诸如基于 [Flarum](https://nicelinks.site/post/604795465f9af714fe21dcbc) 所搭建 [悠然宜想亭](https://forum.lovejade.cn/) ,虽然挺好用,但对于表格等 Markdown 语法,使用 Markdown 并不能得到预期解析;这就需要将内容转成图片,有尝试些工具,效果并不是很理想;于是最佳办法就是自己写一个。那时 [Vue3](https://nicelinks.site/post/5b1a221c0526c920d6dfaada) 、 [Vite](https://nicelinks.site/post/6010e1b10c71de1fb957b64e) 、 [Pinia](https://nicelinks.site/post/631813c3c0922e0e572bde81) 、 [TailwindCSS](https://nicelinks.site/post/5fd20cb4c06d6302c1907ec7) 等技术栈较火,也想着切实体验下。于是乎,便有了这个项目。 - -## 核心功能 - -- 支持将文本内容转换 \`png\`; -- 支持为产物添加 \`日期\`; -- 数据本地保存,保证隐私安全; -- 支持一键 \`下载\` 转化后产物; -- 内置多种主题,支持切换; -- 自由选择适配各种设备的尺寸; - -## 适用场景 - -假如您有一段文本(富文本或 [Markdown](https://nicelinks.site/tags/Markdown) ),想快速将其转换成图片,以便在社交平台、博文平台、PPT 文稿分享,那么 [玉桃文飨轩🍑](https://share.lovejade.cn/?utm_source=about) 可为您提供帮助。 - -## 命名来源 - -早在 [关于“悠然宜想亭”的由来,以及未来](https://forum.lovejade.cn/d/1) 一文提及,对于网站取名多是五个字;或是兴趣的原因,其后缀带有 [亭台楼阁、轩榭廊舫,殿庭苑斋](https://forum.lovejade.cn/d/9) 其中一个;其中大部分已被使用,只好使用最喜欢的这个「轩」字。那时,佳人仍在,与之相处,一日三见「桃🍑」;独“桃”难以成词,择「玉」字以配之;至于「文飨」(飨与“享”通假),寄托这款工具可作为「分享文字」之用。时隔年余,更多功能竟未完善,一如那逝去的爱恋,惜哉,如此而已。 - -2023 年 11 月 27 日补录于〔深圳福田〕`,d={id:"about",class:"w-full max-w-xl my-4"},p=["innerHTML"],f=s({__name:"About",setup(l){console.log(e);let t=n(e,{breaks:!0});return(r,u)=>(o(),c("div",d,[a("div",{class:"markdown",innerHTML:i(t)},null,8,p)]))}});export{f as default}; diff --git a/assets/About-GB6F-gNe.js b/assets/About-GB6F-gNe.js new file mode 100644 index 0000000..0a068dd --- /dev/null +++ b/assets/About-GB6F-gNe.js @@ -0,0 +1,25 @@ +import{d as a,p as o,c as n,a as s,u as r,o as c}from"./index-COOP5uyC.js";const e=` +[玉桃文飨轩🍑](https://share.lovejade.cn/?utm_source=about) ,简单好用的在线文本工具;支持将 Markdown、富文本等格式内容,快速转化为 png、pdf、html 等文件,并支持自定义设置、一键下载等功能。 基于 Vue3、Vite、Pinia、TailwindCSS、TypeScript 构建。 + +## 诞生初衷 + +有搭建蛮多社区,诸如基于 \`Flarum\` 所搭建 [悠然宜想亭](https://forum.lovejade.cn/) ,虽然挺好用,但对于表格等 Markdown 语法,使用 Markdown 并不能得到预期解析;这就需要将内容转成图片,有尝试些工具,效果并不是很理想;于是最佳办法就是自己写一个。那时 Vue3、Vite、Pinia、TailwindCSS、TypeScript 等技术栈较火,也想着切实体验下。于是乎,便有了这个项目。 + +## 核心功能 + +- 支持将文本内容转换 \`png\`; +- 支持为产物添加 \`日期\`; +- 数据本地保存,保证隐私安全; +- 支持一键 \`下载\` 转化后产物; +- 内置多种主题,支持切换; +- 自由选择适配各种设备的尺寸; + +## 适用场景 + +假如您有一段文本(富文本或 **Markdown** ),想快速将其转换成图片,以便在社交平台、博文平台、PPT 文稿分享,那么 [玉桃文飨轩🍑](https://share.lovejade.cn/?utm_source=about) 可为您提供帮助。 + +## 命名来源 + +早在 [关于“悠然宜想亭”的由来,以及未来](https://forum.lovejade.cn/d/1) 一文提及,对于网站取名多是五个字;或是兴趣的原因,其后缀带有 [亭台楼阁、轩榭廊舫,殿庭苑斋](https://forum.lovejade.cn/d/9) 其中一个;其中大部分已被使用,只好使用最喜欢的这个「轩」字。那时,佳人仍在,与之相处,一日三见「桃🍑」;独“桃”难以成词,择「玉」字以配之;至于「文飨」(飨与“享”通假),寄托这款工具可作为「分享文字」之用。时隔年余,更多功能竟未完善,一如那逝去的爱恋,惜哉,如此而已。 + +2023 年 11 月 27 日补录于〔深圳福田〕`,u={id:"about",class:"w-full max-w-xl my-4"},d=["innerHTML"],_=a({__name:"About",setup(l){console.log(e);let t=o(e,{breaks:!0});return(i,p)=>(c(),n("div",u,[s("div",{class:"markdown",innerHTML:r(t)},null,8,d)]))}});export{_ as default}; diff --git a/assets/index-q6OCLYY0.css b/assets/index-5R3ghjsG.css similarity index 55% rename from assets/index-q6OCLYY0.css rename to assets/index-5R3ghjsG.css index 13d4e0d..fde6d81 100644 --- a/assets/index-q6OCLYY0.css +++ b/assets/index-5R3ghjsG.css @@ -1 +1 @@ -.link:hover,.link:focus,.link:active{border:none!important;outline:none!important}.link .rainbow-text{color:transparent;background:linear-gradient(to top left,#ff8177,#ff867a,#ff8c7f,#f99185,#cf556c,#b12a5b);background-clip:text;-webkit-background-clip:text}.switch[data-v-cbf54d34]{position:relative;width:68px;height:34px}.switch .checkbox[data-v-cbf54d34]{display:none}.switch .checkbox:checked+.slider[data-v-cbf54d34]{background-color:#33c658}.switch .checkbox:focus+.slider[data-v-cbf54d34]{box-shadow:0 0 1px #33c658}.switch .checkbox:checked+.slider[data-v-cbf54d34]:before{transform:translate(34px)}.switch .slider[data-v-cbf54d34]{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:.4s}.switch .slider[data-v-cbf54d34]:before{position:absolute;content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;transition:.4s}.switch .slider.round[data-v-cbf54d34]{border-radius:34px}.switch .slider.round[data-v-cbf54d34]:before{border-radius:50%}.show-on-mobile{display:none}@media (max-width: 960px){.show-on-big-screen{display:none}.show-on-mobile{display:block}}.zero{display:inline-block;width:18px;height:24px}.container[data-v-f3ff4a14]{padding:3rem;box-shadow:0 2px 5px #0000191a,0 5px 75px 1px #00003233;transition:box-shadow 1s ease-out;transition-delay:2s;background-color:transparent}.container .content[data-v-f3ff4a14]{position:relative;width:100%;height:100%;flex:1 1 0%}.container .content .editor[data-v-f3ff4a14]{min-height:12rem;padding:1rem;border:none;outline:none}.container .content .editor[data-v-f3ff4a14]:hover,.container .content .editor[data-v-f3ff4a14]:active{border:none;outline:none}.antiquity-box[data-v-f3ff4a14]{background:#e9e7d9 url(/assets/classical-CKkpVjWW.png) repeat 0 0}.antiquity-box .antiquity[data-v-f3ff4a14]{position:relative!important;border:3px solid #c02c38;padding:1rem}.classic-box[data-v-f3ff4a14],.classic-box .classic[data-v-f3ff4a14]{background-color:#f2f2f2}.note-box[data-v-f3ff4a14]{background-color:#fffcf5}.note-box .note[data-v-f3ff4a14]{border:1px solid #e8e5dc}.note-box .note[data-v-f3ff4a14]:before{position:absolute;content:"";inset:3px;border:1px solid #e8e5dc;z-index:0}.dark-box[data-v-f3ff4a14]{background-image:linear-gradient(to right,#434343,#000)}.dark-box .dark[data-v-f3ff4a14]{background-color:transparent}.dark-box .dark .editor[data-v-f3ff4a14]{color:#f2f2f2;background-color:transparent}.bbburst-box[data-v-f3ff4a14]{background:url(/assets/bbburst-Dkl5Ltx1.svg);background-size:100%}.bbburst-box .bbburst[data-v-f3ff4a14]{background-color:transparent}.bbburst-box .bbburst .editor[data-v-f3ff4a14]{background-color:#fffc;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.vitality-box[data-v-f3ff4a14]{background:linear-gradient(225deg,#9cccfc 0,#e6cefd 99.54%)}.vitality-box .vitality[data-v-f3ff4a14]{background-color:#f2f2f2;border-radius:1rem}.gradient-box[data-v-f3ff4a14]{background-image:linear-gradient(to top,#a8edea,#fed6e3)}.gradient-box .gradient[data-v-f3ff4a14],.gradient-box .gradient .editor[data-v-f3ff4a14]{background-color:transparent}.official-box[data-v-f3ff4a14]{position:relative}.official-box[data-v-f3ff4a14]:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#04629d 0,#037dcc 49.48%,#0289e0)}.official-box .bg[data-v-f3ff4a14]{position:absolute;z-index:-1;left:0;top:-6.6rem;right:0;bottom:0;background:url(/assets/official-fiPW7W3M.svg);background-size:80% auto;background-position:center top;background-repeat:no-repeat}.official-box .official .editor[data-v-f3ff4a14]{color:#f2f2f2;background-color:transparent}.yellow-box[data-v-f3ff4a14]{background-image:radial-gradient(circle farthest-side,#fceabb,#f8b500)}.yellow-box .yellow .editor[data-v-f3ff4a14]{color:#000;background-color:transparent}.operate-area[data-v-f3ff4a14]{width:40rem}.operate-area .mobile-w-full[data-v-f3ff4a14]{width:auto}@media (max-width: 960px){.container[data-v-f3ff4a14]{width:100%!important}#app .operate-area[data-v-f3ff4a14]{width:100%}#app .operate-area .mobile-adjust[data-v-f3ff4a14]{padding:0;margin-bottom:1rem}#app .operate-area .mobile-w-full[data-v-f3ff4a14]{width:100%;margin-left:0}#app .operate-area .mobile-w-full+.mobile-w-full[data-v-f3ff4a14]{margin-top:1rem}#app .operate-area .select-zize[data-v-f3ff4a14]{display:none}}*,*:before,*:after{box-sizing:border-box;margin:0;position:relative;font-weight:400}body{width:100%;line-height:1.6;--tw-bg-opacity: 1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.markdown ol ol,.markdown ul ol,.markdown ol ul,.markdown ul ul,.markdown ol ul ol,.markdown ul ul ol,.markdown ol ul ul,.markdown ul ul ul{margin-top:0;margin-bottom:0}.markdown{font-family:Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1rem;line-height:1.6;word-wrap:break-word;padding:0;text-align:left;border-radius:0 0 3px 3px;color:#161823}.markdown>*:first-child{margin-top:0!important}.markdown>*:last-child{margin-bottom:0!important}.markdown *{box-sizing:border-box}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{margin-top:1em;margin-bottom:1rem;font-weight:700;line-height:1.4}.markdown p,.markdown blockquote,.markdown ul,.markdown ol,.markdown dl,.markdown table,.markdown pre{margin-top:0;margin-bottom:1rem}.markdown h1{margin:1rem 0;padding:0;font-size:1.8rem;line-height:2rem}.markdown h2{font-size:1.6rem;line-height:1.8rem}.markdown h3{font-size:1.4rem;line-height:1.6rem}.markdown h4{font-size:1.25rem;line-height:1.4rem}.markdown h5{font-size:1.125rem;line-height:1.2rem}.markdown h6{font-size:1.125rem;line-height:1.2rem;color:#777}.markdown ol,.markdown ul{padding-left:2em}.markdown ol ol,.markdown ul ol{list-style-type:lower-roman}.markdown ol ul,.markdown ul ul{list-style-type:circle}.markdown ol ul ul,.markdown ul ul ul{list-style-type:square}.markdown ol{list-style-type:decimal}.markdown ul{list-style-type:disc}.markdown blockquote{margin-left:0;margin-right:0;padding:0 15px;color:#777;border-left:4px solid #ddd}.markdown table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0}.markdown table tr{background-color:transparent;border-top:1px solid #ccc}.markdown table tr:nth-child(2n){background-color:transparent}.markdown table th,.markdown table td{padding:6px 13px;border:1px solid #c2ccd099}.markdown pre{word-wrap:normal;padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.markdown pre code{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;font-size:100%;line-height:inherit;word-wrap:normal;white-space:pre;border:0;border-radius:3px;background-color:transparent}.markdown pre code:before,.markdown pre code:after{content:normal}.markdown code{font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;padding:.2em 0;margin:0;font-size:85%;background-color:#0000000a;border-radius:3px}.markdown code:before,.markdown code:after{letter-spacing:-.2em;content:" "}.markdown a{color:#ea552d;text-decoration:none;background:transparent}.markdown img{max-width:100%;max-height:100%;border-radius:4px}.markdown strong{font-weight:700}.markdown em{font-style:italic}.markdown del{text-decoration:line-through}.task-list-item{list-style-type:none}.task-list-item input{font:13px/1.4 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;margin:0 .35em .25em -1.6em;vertical-align:middle}.task-list-item input[disabled]{cursor:default}.task-list-item input[type=checkbox],.task-list-item input[type=radio]{box-sizing:border-box;padding:0}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-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]){-webkit-text-decoration:underline dotted;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::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}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{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}.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}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-10{top:2.5rem}.z-0{z-index:0}.z-10{z-index:10}.m-2{margin:.5rem}.m-4{margin:1rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ms-3{margin-inline-start:.75rem}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-12{height:3rem}.h-20{height:5rem}.h-3{height:.75rem}.h-32{height:8rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-auto{height:auto}.h-full{height:100%}.max-h-60{max-height:15rem}.min-h-full{min-height:100%}.w-1\/4{width:25%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-36{width:9rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-screen{width:100vw}.max-w-4xl{max-width:56rem}.max-w-\[450px\]{max-width:450px}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-evenly{justify-content:space-evenly}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-solid{border-style:solid}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-25{--tw-bg-opacity: .25}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-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}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}#app{display:flex;flex-direction:column;align-items:center;width:100%;max-width:1280px;margin:0 auto;font-weight:400;padding:0 1rem}@media (min-width: 1024px){body{display:flex;place-items:center}}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:text-amber-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:border-indigo-500:focus-visible{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-white:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.focus-visible\:ring-opacity-75:focus-visible{--tw-ring-opacity: .75}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-orange-300:focus-visible{--tw-ring-offset-color: #fdba74}:is([data-mode=dark] .dark\:hover\:bg-gray-900:hover){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}@media (max-width: 640px){.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (max-width: 768px){.md\:w-full{width:100%}.md\:flex-col{flex-direction:column}.md\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(0px * var(--tw-space-x-reverse));margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}} +.link:hover,.link:focus,.link:active{border:none!important;outline:none!important}.link .rainbow-text{color:transparent;background:linear-gradient(to top left,#ff8177,#ff867a,#ff8c7f,#f99185,#cf556c,#b12a5b);background-clip:text;-webkit-background-clip:text}.switch[data-v-cbf54d34]{position:relative;width:68px;height:34px}.switch .checkbox[data-v-cbf54d34]{display:none}.switch .checkbox:checked+.slider[data-v-cbf54d34]{background-color:#33c658}.switch .checkbox:focus+.slider[data-v-cbf54d34]{box-shadow:0 0 1px #33c658}.switch .checkbox:checked+.slider[data-v-cbf54d34]:before{transform:translate(34px)}.switch .slider[data-v-cbf54d34]{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:.4s}.switch .slider[data-v-cbf54d34]:before{position:absolute;content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;transition:.4s}.switch .slider.round[data-v-cbf54d34]{border-radius:34px}.switch .slider.round[data-v-cbf54d34]:before{border-radius:50%}.show-on-mobile{display:none}@media (max-width: 960px){.show-on-big-screen{display:none}.show-on-mobile{display:block}}.zero{display:inline-block;width:18px;height:24px}.container[data-v-f3ff4a14]{padding:3rem;box-shadow:0 2px 5px #0000191a,0 5px 75px 1px #00003233;transition:box-shadow 1s ease-out;transition-delay:2s;background-color:transparent}.container .content[data-v-f3ff4a14]{position:relative;width:100%;height:100%;flex:1 1 0%}.container .content .editor[data-v-f3ff4a14]{min-height:12rem;padding:1rem;border:none;outline:none}.container .content .editor[data-v-f3ff4a14]:hover,.container .content .editor[data-v-f3ff4a14]:active{border:none;outline:none}.antiquity-box[data-v-f3ff4a14]{background:#e9e7d9 url(/assets/classical-CKkpVjWW.png) repeat 0 0}.antiquity-box .antiquity[data-v-f3ff4a14]{position:relative!important;border:3px solid #c02c38;padding:1rem}.classic-box[data-v-f3ff4a14],.classic-box .classic[data-v-f3ff4a14]{background-color:#f2f2f2}.note-box[data-v-f3ff4a14]{background-color:#fffcf5}.note-box .note[data-v-f3ff4a14]{border:1px solid #e8e5dc}.note-box .note[data-v-f3ff4a14]:before{position:absolute;content:"";inset:3px;border:1px solid #e8e5dc;z-index:0}.dark-box[data-v-f3ff4a14]{background-image:linear-gradient(to right,#434343,#000)}.dark-box .dark[data-v-f3ff4a14]{background-color:transparent}.dark-box .dark .editor[data-v-f3ff4a14]{color:#f2f2f2;background-color:transparent}.bbburst-box[data-v-f3ff4a14]{background:url(/assets/bbburst-Dkl5Ltx1.svg);background-size:100%}.bbburst-box .bbburst[data-v-f3ff4a14]{background-color:transparent}.bbburst-box .bbburst .editor[data-v-f3ff4a14]{background-color:#fffc;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.vitality-box[data-v-f3ff4a14]{background:linear-gradient(225deg,#9cccfc 0,#e6cefd 99.54%)}.vitality-box .vitality[data-v-f3ff4a14]{background-color:#f2f2f2;border-radius:1rem}.gradient-box[data-v-f3ff4a14]{background-image:linear-gradient(to top,#a8edea,#fed6e3)}.gradient-box .gradient[data-v-f3ff4a14],.gradient-box .gradient .editor[data-v-f3ff4a14]{background-color:transparent}.official-box[data-v-f3ff4a14]{position:relative}.official-box[data-v-f3ff4a14]:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#04629d 0,#037dcc 49.48%,#0289e0)}.official-box .bg[data-v-f3ff4a14]{position:absolute;z-index:-1;left:0;top:-6.6rem;right:0;bottom:0;background:url(/assets/official-fiPW7W3M.svg);background-size:80% auto;background-position:center top;background-repeat:no-repeat}.official-box .official .editor[data-v-f3ff4a14]{color:#f2f2f2;background-color:transparent}.yellow-box[data-v-f3ff4a14]{background-image:radial-gradient(circle farthest-side,#fceabb,#f8b500)}.yellow-box .yellow .editor[data-v-f3ff4a14]{color:#000;background-color:transparent}.operate-area[data-v-f3ff4a14]{width:40rem}.operate-area .mobile-w-full[data-v-f3ff4a14]{width:auto}@media (max-width: 960px){.container[data-v-f3ff4a14]{width:100%!important}#app .operate-area[data-v-f3ff4a14]{width:100%}#app .operate-area .mobile-adjust[data-v-f3ff4a14]{padding:0;margin-bottom:1rem}#app .operate-area .mobile-w-full[data-v-f3ff4a14]{width:100%;margin-left:0}#app .operate-area .mobile-w-full+.mobile-w-full[data-v-f3ff4a14]{margin-top:1rem}#app .operate-area .select-zize[data-v-f3ff4a14]{display:none}}*,*:before,*:after{box-sizing:border-box;margin:0;position:relative;font-weight:400}body{width:100%;line-height:1.6;--tw-bg-opacity: 1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.markdown ol ol,.markdown ul ol,.markdown ol ul,.markdown ul ul,.markdown ol ul ol,.markdown ul ul ol,.markdown ol ul ul,.markdown ul ul ul{margin-top:0;margin-bottom:0}.markdown{font-family:Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1rem;line-height:1.6;word-wrap:break-word;padding:0;text-align:left;border-radius:0 0 3px 3px;color:#161823}.markdown>*:first-child{margin-top:0!important}.markdown>*:last-child{margin-bottom:0!important}.markdown *{box-sizing:border-box}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{margin-top:1em;margin-bottom:1rem;font-weight:700;line-height:1.4}.markdown p,.markdown blockquote,.markdown ul,.markdown ol,.markdown dl,.markdown table,.markdown pre{margin-top:0;margin-bottom:1rem}.markdown h1{margin:1rem 0;padding:0;font-size:1.8rem;line-height:2rem}.markdown h2{font-size:1.6rem;line-height:1.8rem}.markdown h3{font-size:1.4rem;line-height:1.6rem}.markdown h4{font-size:1.25rem;line-height:1.4rem}.markdown h5{font-size:1.125rem;line-height:1.2rem}.markdown h6{font-size:1.125rem;line-height:1.2rem;color:#777}.markdown ol,.markdown ul{padding-left:2em}.markdown ol ol,.markdown ul ol{list-style-type:lower-roman}.markdown ol ul,.markdown ul ul{list-style-type:circle}.markdown ol ul ul,.markdown ul ul ul{list-style-type:square}.markdown ol{list-style-type:decimal}.markdown ul{list-style-type:disc}.markdown blockquote{margin-left:0;margin-right:0;padding:0 15px;color:#777;border-left:4px solid #ddd}.markdown table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0}.markdown table tr{background-color:transparent;border-top:1px solid #ccc}.markdown table tr:nth-child(2n){background-color:transparent}.markdown table th,.markdown table td{padding:6px 13px;border:1px solid #c2ccd099}.markdown pre{word-wrap:normal;padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}.markdown pre code{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;font-size:100%;line-height:inherit;word-wrap:normal;white-space:pre;border:0;border-radius:3px;background-color:transparent}.markdown pre code:before,.markdown pre code:after{content:normal}.markdown code{font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;padding:.2em 0;margin:0;font-size:85%;background-color:#0000000a;border-radius:3px}.markdown code:before,.markdown code:after{letter-spacing:-.2em;content:" "}.markdown a{color:#ea552d;text-decoration:none;background:transparent}.markdown img{max-width:100%;max-height:100%;border-radius:4px}.markdown strong{font-weight:700}.markdown em{font-style:italic}.markdown del{text-decoration:line-through}.task-list-item{list-style-type:none}.task-list-item input{font:13px/1.4 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;margin:0 .35em .25em -1.6em;vertical-align:middle}.task-list-item input[disabled]{cursor:default}.task-list-item input[type=checkbox],.task-list-item input[type=radio]{box-sizing:border-box;padding:0}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-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]){-webkit-text-decoration:underline dotted;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::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}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{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}.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}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-10{top:2.5rem}.z-0{z-index:0}.z-10{z-index:10}.m-2{margin:.5rem}.m-4{margin:1rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ms-3{margin-inline-start:.75rem}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-12{height:3rem}.h-20{height:5rem}.h-3{height:.75rem}.h-32{height:8rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-auto{height:auto}.h-full{height:100%}.max-h-60{max-height:15rem}.min-h-full{min-height:100%}.w-1\/4{width:25%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-36{width:9rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.w-screen{width:100vw}.max-w-4xl{max-width:56rem}.max-w-\[450px\]{max-width:450px}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-evenly{justify-content:space-evenly}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-solid{border-style:solid}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-25{--tw-bg-opacity: .25}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-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}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}#app{display:flex;flex-direction:column;align-items:center;width:100%;max-width:1280px;margin:0 auto;font-weight:400;padding:0 1rem}@media (min-width: 1024px){body{display:flex;place-items:center}}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:text-amber-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:border-indigo-500:focus-visible{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-white:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.focus-visible\:ring-opacity-75:focus-visible{--tw-ring-opacity: .75}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-orange-300:focus-visible{--tw-ring-offset-color: #fdba74}:is([data-mode=dark] .dark\:hover\:bg-gray-900:hover){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}@media (max-width: 640px){.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (max-width: 768px){.md\:w-full{width:100%}.md\:flex-col{flex-direction:column}.md\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(0px * var(--tw-space-x-reverse));margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}} diff --git a/assets/index-CbwOw4AX.js b/assets/index-COOP5uyC.js similarity index 87% rename from assets/index-CbwOw4AX.js rename to assets/index-COOP5uyC.js index 113960f..e5a4459 100644 --- a/assets/index-CbwOw4AX.js +++ b/assets/index-COOP5uyC.js @@ -2,15 +2,15 @@ * @vue/shared v3.4.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function zo(A,e){const t=new Set(A.split(","));return e?r=>t.has(r.toLowerCase()):r=>t.has(r)}const IA={},cr=[],ye=()=>{},ag=()=>!1,Ds=A=>A.charCodeAt(0)===111&&A.charCodeAt(1)===110&&(A.charCodeAt(2)>122||A.charCodeAt(2)<97),qo=A=>A.startsWith("onUpdate:"),$A=Object.assign,Aa=(A,e)=>{const t=A.indexOf(e);t>-1&&A.splice(t,1)},lg=Object.prototype.hasOwnProperty,dA=(A,e)=>lg.call(A,e),AA=Array.isArray,ur=A=>dn(A)==="[object Map]",Os=A=>dn(A)==="[object Set]",Ra=A=>dn(A)==="[object Date]",oA=A=>typeof A=="function",RA=A=>typeof A=="string",yt=A=>typeof A=="symbol",EA=A=>A!==null&&typeof A=="object",iu=A=>(EA(A)||oA(A))&&oA(A.then)&&oA(A.catch),ou=Object.prototype.toString,dn=A=>ou.call(A),cg=A=>dn(A).slice(8,-1),au=A=>dn(A)==="[object Object]",ea=A=>RA(A)&&A!=="NaN"&&A[0]!=="-"&&""+parseInt(A,10)===A,Xr=zo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rs=A=>{const e=Object.create(null);return t=>e[t]||(e[t]=A(t))},ug=/-(\w)/g,Ve=Rs(A=>A.replace(ug,(e,t)=>t?t.toUpperCase():"")),fg=/\B([A-Z])/g,Fr=Rs(A=>A.replace(fg,"-$1").toLowerCase()),ks=Rs(A=>A.charAt(0).toUpperCase()+A.slice(1)),hi=Rs(A=>A?`on${ks(A)}`:""),bt=(A,e)=>!Object.is(A,e),rs=(A,e)=>{for(let t=0;t{Object.defineProperty(A,e,{configurable:!0,enumerable:!1,value:t})},Bg=A=>{const e=parseFloat(A);return isNaN(e)?A:e},gg=A=>{const e=RA(A)?Number(A):NaN;return isNaN(e)?A:e};let ka;const lu=()=>ka||(ka=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ms(A){if(AA(A)){const e={};for(let t=0;t{if(t){const r=t.split(hg);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function je(A){let e="";if(RA(A))e=A;else if(AA(A))for(let t=0;tNs(t,e))}const ds=A=>RA(A)?A:A==null?"":AA(A)||EA(A)&&(A.toString===ou||!oA(A.toString))?JSON.stringify(A,fu,2):String(A),fu=(A,e)=>e&&e.__v_isRef?fu(A,e.value):ur(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[r,n],s)=>(t[pi(r,s)+" =>"]=n,t),{})}:Os(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>pi(t))}:yt(e)?pi(e):EA(e)&&!AA(e)&&!au(e)?String(e):e,pi=(A,e="")=>{var t;return yt(A)?`Symbol(${(t=A.description)!=null?t:e})`:A};/** +**/function zo(A,e){const t=new Set(A.split(","));return e?r=>t.has(r.toLowerCase()):r=>t.has(r)}const IA={},cr=[],ye=()=>{},ag=()=>!1,Ds=A=>A.charCodeAt(0)===111&&A.charCodeAt(1)===110&&(A.charCodeAt(2)>122||A.charCodeAt(2)<97),qo=A=>A.startsWith("onUpdate:"),$A=Object.assign,Aa=(A,e)=>{const t=A.indexOf(e);t>-1&&A.splice(t,1)},lg=Object.prototype.hasOwnProperty,dA=(A,e)=>lg.call(A,e),AA=Array.isArray,ur=A=>dn(A)==="[object Map]",Os=A=>dn(A)==="[object Set]",Ra=A=>dn(A)==="[object Date]",oA=A=>typeof A=="function",RA=A=>typeof A=="string",yt=A=>typeof A=="symbol",EA=A=>A!==null&&typeof A=="object",iu=A=>(EA(A)||oA(A))&&oA(A.then)&&oA(A.catch),ou=Object.prototype.toString,dn=A=>ou.call(A),cg=A=>dn(A).slice(8,-1),au=A=>dn(A)==="[object Object]",ea=A=>RA(A)&&A!=="NaN"&&A[0]!=="-"&&""+parseInt(A,10)===A,Xr=zo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rs=A=>{const e=Object.create(null);return t=>e[t]||(e[t]=A(t))},ug=/-(\w)/g,Ve=Rs(A=>A.replace(ug,(e,t)=>t?t.toUpperCase():"")),fg=/\B([A-Z])/g,Fr=Rs(A=>A.replace(fg,"-$1").toLowerCase()),ks=Rs(A=>A.charAt(0).toUpperCase()+A.slice(1)),hi=Rs(A=>A?`on${ks(A)}`:""),bt=(A,e)=>!Object.is(A,e),rs=(A,e)=>{for(let t=0;t{Object.defineProperty(A,e,{configurable:!0,enumerable:!1,value:t})},Bg=A=>{const e=parseFloat(A);return isNaN(e)?A:e},gg=A=>{const e=RA(A)?Number(A):NaN;return isNaN(e)?A:e};let ka;const lu=()=>ka||(ka=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ms(A){if(AA(A)){const e={};for(let t=0;t{if(t){const r=t.split(hg);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Ze(A){let e="";if(RA(A))e=A;else if(AA(A))for(let t=0;tNs(t,e))}const ds=A=>RA(A)?A:A==null?"":AA(A)||EA(A)&&(A.toString===ou||!oA(A.toString))?JSON.stringify(A,fu,2):String(A),fu=(A,e)=>e&&e.__v_isRef?fu(A,e.value):ur(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[r,n],s)=>(t[pi(r,s)+" =>"]=n,t),{})}:Os(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>pi(t))}:yt(e)?pi(e):EA(e)&&!AA(e)&&!au(e)?String(e):e,pi=(A,e="")=>{var t;return yt(A)?`Symbol(${(t=A.description)!=null?t:e})`:A};/** * @vue/reactivity v3.4.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Qe;class Bu{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Qe,!e&&Qe&&(this.index=(Qe.scopes||(Qe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Qe;try{return Qe=this,e()}finally{Qe=t}}}on(){Qe=this}off(){Qe=this.parent}stop(e){if(this._active){let t,r;for(t=0,r=this.effects.length;t=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Yt()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ut,t=Pt;try{return Ut=!0,Pt=this,this._runnings++,Ma(this),this.fn()}finally{Na(this),this._runnings--,Pt=t,Ut=e}}stop(){var e;this.active&&(Ma(this),Na(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function mg(A){return A.value}function Ma(A){A._trackId++,A._depsLength=0}function Na(A){if(A.deps.length>A._depsLength){for(let e=A._depsLength;e{const t=new Map;return t.cleanup=A,t.computed=e,t},hs=new WeakMap,Gt=Symbol(""),eo=Symbol("");function de(A,e,t){if(Ut&&Pt){let r=hs.get(A);r||hs.set(A,r=new Map);let n=r.get(t);n||r.set(t,n=Cu(()=>r.delete(t))),wu(Pt,n)}}function Ze(A,e,t,r,n,s){const i=hs.get(A);if(!i)return;let o=[];if(e==="clear")o=[...i.values()];else if(t==="length"&&AA(A)){const a=Number(r);i.forEach((c,l)=>{(l==="length"||!yt(l)&&l>=a)&&o.push(c)})}else switch(t!==void 0&&o.push(i.get(t)),e){case"add":AA(A)?ea(t)&&o.push(i.get("length")):(o.push(i.get(Gt)),ur(A)&&o.push(i.get(eo)));break;case"delete":AA(A)||(o.push(i.get(Gt)),ur(A)&&o.push(i.get(eo)));break;case"set":ur(A)&&o.push(i.get(Gt));break}ra();for(const a of o)a&&Qu(a,4);na()}function Eg(A,e){var t;return(t=hs.get(A))==null?void 0:t.get(e)}const yg=zo("__proto__,__v_isRef,__isVue"),Fu=new Set(Object.getOwnPropertyNames(Symbol).filter(A=>A!=="arguments"&&A!=="caller").map(A=>Symbol[A]).filter(yt)),Pa=bg();function bg(){const A={};return["includes","indexOf","lastIndexOf"].forEach(e=>{A[e]=function(...t){const r=rA(this);for(let s=0,i=this.length;s{A[e]=function(...t){Wt(),ra();const r=rA(this)[e].apply(this,t);return na(),Yt(),r}}),A}function Hg(A){const e=rA(this);return de(e,"has",A),e.hasOwnProperty(A)}class Uu{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,r){const n=this._isReadonly,s=this._shallow;if(t==="__v_isReactive")return!n;if(t==="__v_isReadonly")return n;if(t==="__v_isShallow")return s;if(t==="__v_raw")return r===(n?s?Ng:yu:s?Eu:mu).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const i=AA(e);if(!n){if(i&&dA(Pa,t))return Reflect.get(Pa,t,r);if(t==="hasOwnProperty")return Hg}const o=Reflect.get(e,t,r);return(yt(t)?Fu.has(t):yg(t))||(n||de(e,"get",t),s)?o:kA(o)?i&&ea(t)?o:o.value:EA(o)?n?Hu(o):Ur(o):o}}class vu extends Uu{constructor(e=!1){super(!1,e)}set(e,t,r,n){let s=e[t];if(!this._shallow){const a=dr(s);if(!ps(r)&&!dr(r)&&(s=rA(s),r=rA(r)),!AA(e)&&kA(s)&&!kA(r))return a?!1:(s.value=r,!0)}const i=AA(e)&&ea(t)?Number(t)A,Ps=A=>Reflect.getPrototypeOf(A);function Un(A,e,t=!1,r=!1){A=A.__v_raw;const n=rA(A),s=rA(e);t||(bt(e,s)&&de(n,"get",e),de(n,"get",s));const{has:i}=Ps(n),o=r?sa:t?aa:rn;if(i.call(n,e))return o(A.get(e));if(i.call(n,s))return o(A.get(s));A!==n&&A.get(e)}function vn(A,e=!1){const t=this.__v_raw,r=rA(t),n=rA(A);return e||(bt(A,n)&&de(r,"has",A),de(r,"has",n)),A===n?t.has(A):t.has(A)||t.has(n)}function mn(A,e=!1){return A=A.__v_raw,!e&&de(rA(A),"iterate",Gt),Reflect.get(A,"size",A)}function Ga(A){A=rA(A);const e=rA(this);return Ps(e).has.call(e,A)||(e.add(A),Ze(e,"add",A,A)),this}function Va(A,e){e=rA(e);const t=rA(this),{has:r,get:n}=Ps(t);let s=r.call(t,A);s||(A=rA(A),s=r.call(t,A));const i=n.call(t,A);return t.set(A,e),s?bt(e,i)&&Ze(t,"set",A,e):Ze(t,"add",A,e),this}function Xa(A){const e=rA(this),{has:t,get:r}=Ps(e);let n=t.call(e,A);n||(A=rA(A),n=t.call(e,A)),r&&r.call(e,A);const s=e.delete(A);return n&&Ze(e,"delete",A,void 0),s}function $a(){const A=rA(this),e=A.size!==0,t=A.clear();return e&&Ze(A,"clear",void 0,void 0),t}function En(A,e){return function(r,n){const s=this,i=s.__v_raw,o=rA(i),a=e?sa:A?aa:rn;return!A&&de(o,"iterate",Gt),i.forEach((c,l)=>r.call(n,a(c),a(l),s))}}function yn(A,e,t){return function(...r){const n=this.__v_raw,s=rA(n),i=ur(s),o=A==="entries"||A===Symbol.iterator&&i,a=A==="keys"&&i,c=n[A](...r),l=t?sa:e?aa:rn;return!e&&de(s,"iterate",a?eo:Gt),{next(){const{value:u,done:f}=c.next();return f?{value:u,done:f}:{value:o?[l(u[0]),l(u[1])]:l(u),done:f}},[Symbol.iterator](){return this}}}}function nt(A){return function(...e){return A==="delete"?!1:A==="clear"?void 0:this}}function Tg(){const A={get(s){return Un(this,s)},get size(){return mn(this)},has:vn,add:Ga,set:Va,delete:Xa,clear:$a,forEach:En(!1,!1)},e={get(s){return Un(this,s,!1,!0)},get size(){return mn(this)},has:vn,add:Ga,set:Va,delete:Xa,clear:$a,forEach:En(!1,!0)},t={get(s){return Un(this,s,!0)},get size(){return mn(this,!0)},has(s){return vn.call(this,s,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:En(!0,!1)},r={get(s){return Un(this,s,!0,!0)},get size(){return mn(this,!0)},has(s){return vn.call(this,s,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:En(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{A[s]=yn(s,!1,!1),t[s]=yn(s,!0,!1),e[s]=yn(s,!1,!0),r[s]=yn(s,!0,!0)}),[A,t,e,r]}const[Kg,_g,Dg,Og]=Tg();function ia(A,e){const t=e?A?Og:Dg:A?_g:Kg;return(r,n,s)=>n==="__v_isReactive"?!A:n==="__v_isReadonly"?A:n==="__v_raw"?r:Reflect.get(dA(t,n)&&n in r?t:r,n,s)}const Rg={get:ia(!1,!1)},kg={get:ia(!1,!0)},Mg={get:ia(!0,!1)},mu=new WeakMap,Eu=new WeakMap,yu=new WeakMap,Ng=new WeakMap;function Pg(A){switch(A){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gg(A){return A.__v_skip||!Object.isExtensible(A)?0:Pg(cg(A))}function Ur(A){return dr(A)?A:oa(A,!1,xg,Rg,mu)}function bu(A){return oa(A,!1,Sg,kg,Eu)}function Hu(A){return oa(A,!0,Lg,Mg,yu)}function oa(A,e,t,r,n){if(!EA(A)||A.__v_raw&&!(e&&A.__v_isReactive))return A;const s=n.get(A);if(s)return s;const i=Gg(A);if(i===0)return A;const o=new Proxy(A,i===2?r:t);return n.set(A,o),o}function ze(A){return dr(A)?ze(A.__v_raw):!!(A&&A.__v_isReactive)}function dr(A){return!!(A&&A.__v_isReadonly)}function ps(A){return!!(A&&A.__v_isShallow)}function Iu(A){return ze(A)||dr(A)}function rA(A){const e=A&&A.__v_raw;return e?rA(e):A}function Gs(A){return Object.isExtensible(A)&&gs(A,"__v_skip",!0),A}const rn=A=>EA(A)?Ur(A):A,aa=A=>EA(A)?Hu(A):A;class xu{constructor(e,t,r,n){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ta(()=>e(this._value),()=>ns(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=r}get value(){const e=rA(this);return(!e._cacheable||e.effect.dirty)&&bt(e._value,e._value=e.effect.run())&&ns(e,4),Lu(e),e.effect._dirtyLevel>=2&&ns(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Vg(A,e,t=!1){let r,n;const s=oA(A);return s?(r=A,n=ye):(r=A.get,n=A.set),new xu(r,n,s||!n,t)}function Lu(A){var e;Ut&&Pt&&(A=rA(A),wu(Pt,(e=A.dep)!=null?e:A.dep=Cu(()=>A.dep=void 0,A instanceof xu?A:void 0)))}function ns(A,e=4,t){A=rA(A);const r=A.dep;r&&Qu(r,e)}function kA(A){return!!(A&&A.__v_isRef===!0)}function q(A){return Tu(A,!1)}function Su(A){return Tu(A,!0)}function Tu(A,e){return kA(A)?A:new Xg(A,e)}class Xg{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:rA(e),this._value=t?e:rn(e)}get value(){return Lu(this),this._value}set value(e){const t=this.__v_isShallow||ps(e)||dr(e);e=t?e:rA(e),bt(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:rn(e),ns(this,4))}}function bA(A){return kA(A)?A.value:A}const $g={get:(A,e,t)=>bA(Reflect.get(A,e,t)),set:(A,e,t,r)=>{const n=A[e];return kA(n)&&!kA(t)?(n.value=t,!0):Reflect.set(A,e,t,r)}};function Ku(A){return ze(A)?A:new Proxy(A,$g)}function Jg(A){const e=AA(A)?new Array(A.length):{};for(const t in A)e[t]=_u(A,t);return e}class Wg{constructor(e,t,r){this._object=e,this._key=t,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Eg(rA(this._object),this._key)}}class Yg{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function jg(A,e,t){return kA(A)?A:oA(A)?new Yg(A):EA(A)&&arguments.length>1?_u(A,e,t):q(A)}function _u(A,e,t){const r=A[e];return kA(r)?r:new Wg(A,e,t)}/** +**/let Qe;class Bu{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Qe,!e&&Qe&&(this.index=(Qe.scopes||(Qe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Qe;try{return Qe=this,e()}finally{Qe=t}}}on(){Qe=this}off(){Qe=this.parent}stop(e){if(this._active){let t,r;for(t=0,r=this.effects.length;t=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Yt()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ut,t=Pt;try{return Ut=!0,Pt=this,this._runnings++,Ma(this),this.fn()}finally{Na(this),this._runnings--,Pt=t,Ut=e}}stop(){var e;this.active&&(Ma(this),Na(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function mg(A){return A.value}function Ma(A){A._trackId++,A._depsLength=0}function Na(A){if(A.deps.length>A._depsLength){for(let e=A._depsLength;e{const t=new Map;return t.cleanup=A,t.computed=e,t},hs=new WeakMap,Gt=Symbol(""),eo=Symbol("");function de(A,e,t){if(Ut&&Pt){let r=hs.get(A);r||hs.set(A,r=new Map);let n=r.get(t);n||r.set(t,n=Cu(()=>r.delete(t))),wu(Pt,n)}}function ze(A,e,t,r,n,s){const i=hs.get(A);if(!i)return;let o=[];if(e==="clear")o=[...i.values()];else if(t==="length"&&AA(A)){const a=Number(r);i.forEach((c,l)=>{(l==="length"||!yt(l)&&l>=a)&&o.push(c)})}else switch(t!==void 0&&o.push(i.get(t)),e){case"add":AA(A)?ea(t)&&o.push(i.get("length")):(o.push(i.get(Gt)),ur(A)&&o.push(i.get(eo)));break;case"delete":AA(A)||(o.push(i.get(Gt)),ur(A)&&o.push(i.get(eo)));break;case"set":ur(A)&&o.push(i.get(Gt));break}ra();for(const a of o)a&&Qu(a,4);na()}function Eg(A,e){var t;return(t=hs.get(A))==null?void 0:t.get(e)}const yg=zo("__proto__,__v_isRef,__isVue"),Fu=new Set(Object.getOwnPropertyNames(Symbol).filter(A=>A!=="arguments"&&A!=="caller").map(A=>Symbol[A]).filter(yt)),Pa=bg();function bg(){const A={};return["includes","indexOf","lastIndexOf"].forEach(e=>{A[e]=function(...t){const r=rA(this);for(let s=0,i=this.length;s{A[e]=function(...t){Wt(),ra();const r=rA(this)[e].apply(this,t);return na(),Yt(),r}}),A}function Hg(A){const e=rA(this);return de(e,"has",A),e.hasOwnProperty(A)}class Uu{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,r){const n=this._isReadonly,s=this._shallow;if(t==="__v_isReactive")return!n;if(t==="__v_isReadonly")return n;if(t==="__v_isShallow")return s;if(t==="__v_raw")return r===(n?s?Ng:yu:s?Eu:mu).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const i=AA(e);if(!n){if(i&&dA(Pa,t))return Reflect.get(Pa,t,r);if(t==="hasOwnProperty")return Hg}const o=Reflect.get(e,t,r);return(yt(t)?Fu.has(t):yg(t))||(n||de(e,"get",t),s)?o:kA(o)?i&&ea(t)?o:o.value:EA(o)?n?Hu(o):Ur(o):o}}class vu extends Uu{constructor(e=!1){super(!1,e)}set(e,t,r,n){let s=e[t];if(!this._shallow){const a=dr(s);if(!ps(r)&&!dr(r)&&(s=rA(s),r=rA(r)),!AA(e)&&kA(s)&&!kA(r))return a?!1:(s.value=r,!0)}const i=AA(e)&&ea(t)?Number(t)A,Ps=A=>Reflect.getPrototypeOf(A);function Un(A,e,t=!1,r=!1){A=A.__v_raw;const n=rA(A),s=rA(e);t||(bt(e,s)&&de(n,"get",e),de(n,"get",s));const{has:i}=Ps(n),o=r?sa:t?aa:rn;if(i.call(n,e))return o(A.get(e));if(i.call(n,s))return o(A.get(s));A!==n&&A.get(e)}function vn(A,e=!1){const t=this.__v_raw,r=rA(t),n=rA(A);return e||(bt(A,n)&&de(r,"has",A),de(r,"has",n)),A===n?t.has(A):t.has(A)||t.has(n)}function mn(A,e=!1){return A=A.__v_raw,!e&&de(rA(A),"iterate",Gt),Reflect.get(A,"size",A)}function Ga(A){A=rA(A);const e=rA(this);return Ps(e).has.call(e,A)||(e.add(A),ze(e,"add",A,A)),this}function Va(A,e){e=rA(e);const t=rA(this),{has:r,get:n}=Ps(t);let s=r.call(t,A);s||(A=rA(A),s=r.call(t,A));const i=n.call(t,A);return t.set(A,e),s?bt(e,i)&&ze(t,"set",A,e):ze(t,"add",A,e),this}function Xa(A){const e=rA(this),{has:t,get:r}=Ps(e);let n=t.call(e,A);n||(A=rA(A),n=t.call(e,A)),r&&r.call(e,A);const s=e.delete(A);return n&&ze(e,"delete",A,void 0),s}function $a(){const A=rA(this),e=A.size!==0,t=A.clear();return e&&ze(A,"clear",void 0,void 0),t}function En(A,e){return function(r,n){const s=this,i=s.__v_raw,o=rA(i),a=e?sa:A?aa:rn;return!A&&de(o,"iterate",Gt),i.forEach((c,l)=>r.call(n,a(c),a(l),s))}}function yn(A,e,t){return function(...r){const n=this.__v_raw,s=rA(n),i=ur(s),o=A==="entries"||A===Symbol.iterator&&i,a=A==="keys"&&i,c=n[A](...r),l=t?sa:e?aa:rn;return!e&&de(s,"iterate",a?eo:Gt),{next(){const{value:u,done:f}=c.next();return f?{value:u,done:f}:{value:o?[l(u[0]),l(u[1])]:l(u),done:f}},[Symbol.iterator](){return this}}}}function nt(A){return function(...e){return A==="delete"?!1:A==="clear"?void 0:this}}function Tg(){const A={get(s){return Un(this,s)},get size(){return mn(this)},has:vn,add:Ga,set:Va,delete:Xa,clear:$a,forEach:En(!1,!1)},e={get(s){return Un(this,s,!1,!0)},get size(){return mn(this)},has:vn,add:Ga,set:Va,delete:Xa,clear:$a,forEach:En(!1,!0)},t={get(s){return Un(this,s,!0)},get size(){return mn(this,!0)},has(s){return vn.call(this,s,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:En(!0,!1)},r={get(s){return Un(this,s,!0,!0)},get size(){return mn(this,!0)},has(s){return vn.call(this,s,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:En(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{A[s]=yn(s,!1,!1),t[s]=yn(s,!0,!1),e[s]=yn(s,!1,!0),r[s]=yn(s,!0,!0)}),[A,t,e,r]}const[Kg,_g,Dg,Og]=Tg();function ia(A,e){const t=e?A?Og:Dg:A?_g:Kg;return(r,n,s)=>n==="__v_isReactive"?!A:n==="__v_isReadonly"?A:n==="__v_raw"?r:Reflect.get(dA(t,n)&&n in r?t:r,n,s)}const Rg={get:ia(!1,!1)},kg={get:ia(!1,!0)},Mg={get:ia(!0,!1)},mu=new WeakMap,Eu=new WeakMap,yu=new WeakMap,Ng=new WeakMap;function Pg(A){switch(A){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gg(A){return A.__v_skip||!Object.isExtensible(A)?0:Pg(cg(A))}function Ur(A){return dr(A)?A:oa(A,!1,xg,Rg,mu)}function bu(A){return oa(A,!1,Sg,kg,Eu)}function Hu(A){return oa(A,!0,Lg,Mg,yu)}function oa(A,e,t,r,n){if(!EA(A)||A.__v_raw&&!(e&&A.__v_isReactive))return A;const s=n.get(A);if(s)return s;const i=Gg(A);if(i===0)return A;const o=new Proxy(A,i===2?r:t);return n.set(A,o),o}function qe(A){return dr(A)?qe(A.__v_raw):!!(A&&A.__v_isReactive)}function dr(A){return!!(A&&A.__v_isReadonly)}function ps(A){return!!(A&&A.__v_isShallow)}function Iu(A){return qe(A)||dr(A)}function rA(A){const e=A&&A.__v_raw;return e?rA(e):A}function Gs(A){return Object.isExtensible(A)&&gs(A,"__v_skip",!0),A}const rn=A=>EA(A)?Ur(A):A,aa=A=>EA(A)?Hu(A):A;class xu{constructor(e,t,r,n){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ta(()=>e(this._value),()=>ns(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=r}get value(){const e=rA(this);return(!e._cacheable||e.effect.dirty)&&bt(e._value,e._value=e.effect.run())&&ns(e,4),Lu(e),e.effect._dirtyLevel>=2&&ns(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Vg(A,e,t=!1){let r,n;const s=oA(A);return s?(r=A,n=ye):(r=A.get,n=A.set),new xu(r,n,s||!n,t)}function Lu(A){var e;Ut&&Pt&&(A=rA(A),wu(Pt,(e=A.dep)!=null?e:A.dep=Cu(()=>A.dep=void 0,A instanceof xu?A:void 0)))}function ns(A,e=4,t){A=rA(A);const r=A.dep;r&&Qu(r,e)}function kA(A){return!!(A&&A.__v_isRef===!0)}function q(A){return Tu(A,!1)}function Su(A){return Tu(A,!0)}function Tu(A,e){return kA(A)?A:new Xg(A,e)}class Xg{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:rA(e),this._value=t?e:rn(e)}get value(){return Lu(this),this._value}set value(e){const t=this.__v_isShallow||ps(e)||dr(e);e=t?e:rA(e),bt(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:rn(e),ns(this,4))}}function bA(A){return kA(A)?A.value:A}const $g={get:(A,e,t)=>bA(Reflect.get(A,e,t)),set:(A,e,t,r)=>{const n=A[e];return kA(n)&&!kA(t)?(n.value=t,!0):Reflect.set(A,e,t,r)}};function Ku(A){return qe(A)?A:new Proxy(A,$g)}function Jg(A){const e=AA(A)?new Array(A.length):{};for(const t in A)e[t]=_u(A,t);return e}class Wg{constructor(e,t,r){this._object=e,this._key=t,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Eg(rA(this._object),this._key)}}class Yg{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function jg(A,e,t){return kA(A)?A:oA(A)?new Yg(A):EA(A)&&arguments.length>1?_u(A,e,t):q(A)}function _u(A,e,t){const r=A[e];return kA(r)?r:new Wg(A,e,t)}/** * @vue/runtime-core v3.4.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function vt(A,e,t,r){let n;try{n=r?A(...r):A()}catch(s){Vs(s,e,t)}return n}function Ie(A,e,t,r){if(oA(A)){const s=vt(A,e,t,r);return s&&iu(s)&&s.catch(i=>{Vs(i,e,t)}),s}const n=[];for(let s=0;s>>1,n=ne[r],s=sn(n);sNe&&ne.splice(e,1)}function Ad(A){AA(A)?fr.push(...A):(!ut||!ut.includes(A,A.allowRecurse?_t+1:_t))&&fr.push(A),Ou()}function Ja(A,e,t=nn?Ne+1:0){for(;tsn(t)-sn(r));if(fr.length=0,ut){ut.push(...e);return}for(ut=e,_t=0;_tA.id==null?1/0:A.id,ed=(A,e)=>{const t=sn(A)-sn(e);if(t===0){if(A.pre&&!e.pre)return-1;if(e.pre&&!A.pre)return 1}return t};function ku(A){to=!1,nn=!0,ne.sort(ed);try{for(Ne=0;NeRA(B)?B.trim():B)),u&&(n=t.map(Bg))}let o,a=r[o=hi(e)]||r[o=hi(Ve(e))];!a&&s&&(a=r[o=hi(Fr(e))]),a&&Ie(a,A,6,n);const c=r[o+"Once"];if(c){if(!A.emitted)A.emitted={};else if(A.emitted[o])return;A.emitted[o]=!0,Ie(c,A,6,n)}}function Mu(A,e,t=!1){const r=e.emitsCache,n=r.get(A);if(n!==void 0)return n;const s=A.emits;let i={},o=!1;if(!oA(A)){const a=c=>{const l=Mu(c,e,!0);l&&(o=!0,$A(i,l))};!t&&e.mixins.length&&e.mixins.forEach(a),A.extends&&a(A.extends),A.mixins&&A.mixins.forEach(a)}return!s&&!o?(EA(A)&&r.set(A,null),null):(AA(s)?s.forEach(a=>i[a]=null):$A(i,s),EA(A)&&r.set(A,i),i)}function Xs(A,e){return!A||!Ds(e)?!1:(e=e.slice(2).replace(/Once$/,""),dA(A,e[0].toLowerCase()+e.slice(1))||dA(A,Fr(e))||dA(A,e))}let se=null,$s=null;function ws(A){const e=se;return se=A,$s=A&&A.type.__scopeId||null,e}function Nu(A){$s=A}function Pu(){$s=null}function ge(A,e=se,t){if(!e||A._n)return A;const r=(...n)=>{r._d&&ol(-1);const s=ws(e);let i;try{i=A(...n)}finally{ws(s),r._d&&ol(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function wi(A){const{type:e,vnode:t,proxy:r,withProxy:n,props:s,propsOptions:[i],slots:o,attrs:a,emit:c,render:l,renderCache:u,data:f,setupState:B,ctx:g,inheritAttrs:h}=A;let U,w;const C=ws(A);try{if(t.shapeFlag&4){const y=n||r,E=y;U=Me(l.call(E,y,u,s,B,f,g)),w=a}else{const y=e;U=Me(y.length>1?y(s,{attrs:a,slots:o,emit:c}):y(s,null)),w=e.props?a:rd(a)}}catch(y){Wr.length=0,Vs(y,A,1),U=uA(Ke)}let F=U;if(w&&h!==!1){const y=Object.keys(w),{shapeFlag:E}=F;y.length&&E&7&&(i&&y.some(qo)&&(w=nd(w,i)),F=et(F,w))}return t.dirs&&(F=et(F),F.dirs=F.dirs?F.dirs.concat(t.dirs):t.dirs),t.transition&&(F.transition=t.transition),U=F,ws(C),U}const rd=A=>{let e;for(const t in A)(t==="class"||t==="style"||Ds(t))&&((e||(e={}))[t]=A[t]);return e},nd=(A,e)=>{const t={};for(const r in A)(!qo(r)||!(r.slice(9)in e))&&(t[r]=A[r]);return t};function sd(A,e,t){const{props:r,children:n,component:s}=A,{props:i,children:o,patchFlag:a}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&a>=0){if(a&1024)return!0;if(a&16)return r?Wa(r,i,c):!!i;if(a&8){const l=e.dynamicProps;for(let u=0;uA.__isSuspense;function ud(A,e){e&&e.pendingBranch?AA(A)?e.effects.push(...A):e.effects.push(A):Ad(A)}const fd=Symbol.for("v-scx"),Bd=()=>KA(fd);function Fe(A,e){return ua(A,null,e)}const bn={};function ie(A,e,t){return ua(A,e,t)}function ua(A,e,{immediate:t,deep:r,flush:n,once:s,onTrack:i,onTrigger:o}=IA){if(e&&s){const Q=e;e=(...L)=>{Q(...L),E()}}const a=jA,c=Q=>r===!0?Q:kt(Q,r===!1?1:void 0);let l,u=!1,f=!1;if(kA(A)?(l=()=>A.value,u=ps(A)):ze(A)?(l=()=>c(A),u=!0):AA(A)?(f=!0,u=A.some(Q=>ze(Q)||ps(Q)),l=()=>A.map(Q=>{if(kA(Q))return Q.value;if(ze(Q))return c(Q);if(oA(Q))return vt(Q,a,2)})):oA(A)?e?l=()=>vt(A,a,2):l=()=>(B&&B(),Ie(A,a,3,[g])):l=ye,e&&r){const Q=l;l=()=>kt(Q())}let B,g=Q=>{B=F.onStop=()=>{vt(Q,a,4),B=F.onStop=void 0}},h;if(zs)if(g=ye,e?t&&Ie(e,a,3,[l(),f?[]:void 0,g]):l(),n==="sync"){const Q=Bd();h=Q.__watcherHandles||(Q.__watcherHandles=[])}else return ye;let U=f?new Array(A.length).fill(bn):bn;const w=()=>{if(!(!F.active||!F.dirty))if(e){const Q=F.run();(r||u||(f?Q.some((L,v)=>bt(L,U[v])):bt(Q,U)))&&(B&&B(),Ie(e,a,3,[Q,U===bn?void 0:f&&U[0]===bn?[]:U,g]),U=Q)}else F.run()};w.allowRecurse=!!e;let C;n==="sync"?C=w:n==="post"?C=()=>fe(w,a&&a.suspense):(w.pre=!0,a&&(w.id=a.uid),C=()=>ca(w));const F=new ta(l,ye,C),y=du(),E=()=>{F.stop(),y&&Aa(y.effects,F)};return e?t?w():U=F.run():n==="post"?fe(F.run.bind(F),a&&a.suspense):F.run(),h&&h.push(E),E}function gd(A,e,t){const r=this.proxy,n=RA(A)?A.includes(".")?Vu(r,A):()=>r[A]:A.bind(r,r);let s;oA(e)?s=e:(s=e.handler,t=e);const i=hn(this),o=ua(n,s.bind(r),t);return i(),o}function Vu(A,e){const t=e.split(".");return()=>{let r=A;for(let n=0;n0){if(t>=e)return A;t++}if(r=r||new Set,r.has(A))return A;if(r.add(A),kA(A))kt(A.value,e,t,r);else if(AA(A))for(let n=0;n{kt(n,e,t,r)});else if(au(A))for(const n in A)kt(A[n],e,t,r);return A}function Xu(A,e){if(se===null)return A;const t=qs(se)||se.proxy,r=A.dirs||(A.dirs=[]);for(let n=0;n{A.isMounted=!0}),ju(()=>{A.isUnmounting=!0}),A}const ve=[Function,Array],$u={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ve,onEnter:ve,onAfterEnter:ve,onEnterCancelled:ve,onBeforeLeave:ve,onLeave:ve,onAfterLeave:ve,onLeaveCancelled:ve,onBeforeAppear:ve,onAppear:ve,onAfterAppear:ve,onAppearCancelled:ve},hd={name:"BaseTransition",props:$u,setup(A,{slots:e}){const t=ha(),r=dd();let n;return()=>{const s=e.default&&Wu(e.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const h of s)if(h.type!==Ke){i=h;break}}const o=rA(A),{mode:a}=o;if(r.isLeaving)return Qi(i);const c=ja(i);if(!c)return Qi(i);const l=ro(c,o,r,t);no(c,l);const u=t.subTree,f=u&&ja(u);let B=!1;const{getTransitionKey:g}=c.type;if(g){const h=g();n===void 0?n=h:h!==n&&(n=h,B=!0)}if(f&&f.type!==Ke&&(!Dt(c,f)||B)){const h=ro(f,o,r,t);if(no(f,h),a==="out-in")return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,t.update.active!==!1&&(t.effect.dirty=!0,t.update())},Qi(i);a==="in-out"&&c.type!==Ke&&(h.delayLeave=(U,w,C)=>{const F=Ju(r,f);F[String(f.key)]=f,U[ft]=()=>{w(),U[ft]=void 0,delete l.delayedLeave},l.delayedLeave=C})}return i}}},pd=hd;function Ju(A,e){const{leavingVNodes:t}=A;let r=t.get(e.type);return r||(r=Object.create(null),t.set(e.type,r)),r}function ro(A,e,t,r){const{appear:n,mode:s,persisted:i=!1,onBeforeEnter:o,onEnter:a,onAfterEnter:c,onEnterCancelled:l,onBeforeLeave:u,onLeave:f,onAfterLeave:B,onLeaveCancelled:g,onBeforeAppear:h,onAppear:U,onAfterAppear:w,onAppearCancelled:C}=e,F=String(A.key),y=Ju(t,A),E=(v,b)=>{v&&Ie(v,r,9,b)},Q=(v,b)=>{const O=b[1];E(v,b),AA(v)?v.every(j=>j.length<=1)&&O():v.length<=1&&O()},L={mode:s,persisted:i,beforeEnter(v){let b=o;if(!t.isMounted)if(n)b=h||o;else return;v[ft]&&v[ft](!0);const O=y[F];O&&Dt(A,O)&&O.el[ft]&&O.el[ft](),E(b,[v])},enter(v){let b=a,O=c,j=l;if(!t.isMounted)if(n)b=U||a,O=w||c,j=C||l;else return;let T=!1;const P=v[Hn]=aA=>{T||(T=!0,aA?E(j,[v]):E(O,[v]),L.delayedLeave&&L.delayedLeave(),v[Hn]=void 0)};b?Q(b,[v,P]):P()},leave(v,b){const O=String(A.key);if(v[Hn]&&v[Hn](!0),t.isUnmounting)return b();E(u,[v]);let j=!1;const T=v[ft]=P=>{j||(j=!0,b(),P?E(g,[v]):E(B,[v]),v[ft]=void 0,y[O]===A&&delete y[O])};y[O]=A,f?Q(f,[v,T]):T()},clone(v){return ro(v,e,t,r)}};return L}function Qi(A){if(Js(A))return A=et(A),A.children=null,A}function ja(A){return Js(A)?A.children?A.children[0]:void 0:A}function no(A,e){A.shapeFlag&6&&A.component?no(A.component.subTree,e):A.shapeFlag&128?(A.ssContent.transition=e.clone(A.ssContent),A.ssFallback.transition=e.clone(A.ssFallback)):A.transition=e}function Wu(A,e=!1,t){let r=[],n=0;for(let s=0;s1)for(let s=0;s!!A.type.__asyncLoader,Js=A=>A.type.__isKeepAlive;function wd(A,e){Yu(A,"a",e)}function Qd(A,e){Yu(A,"da",e)}function Yu(A,e,t=jA){const r=A.__wdc||(A.__wdc=()=>{let n=t;for(;n;){if(n.isDeactivated)return;n=n.parent}return A()});if(Ws(e,r,t),t){let n=t.parent;for(;n&&n.parent;)Js(n.parent.vnode)&&Cd(r,e,t,n),n=n.parent}}function Cd(A,e,t,r){const n=Ws(e,A,r,!0);Ue(()=>{Aa(r[e],n)},t)}function Ws(A,e,t=jA,r=!1){if(t){const n=t[A]||(t[A]=[]),s=e.__weh||(e.__weh=(...i)=>{if(t.isUnmounted)return;Wt();const o=hn(t),a=Ie(e,t,A,i);return o(),Yt(),a});return r?n.unshift(s):n.push(s),s}}const rt=A=>(e,t=jA)=>(!zs||A==="sp")&&Ws(A,(...r)=>e(...r),t),Fd=rt("bm"),GA=rt("m"),Ud=rt("bu"),vd=rt("u"),ju=rt("bum"),Ue=rt("um"),md=rt("sp"),Ed=rt("rtg"),yd=rt("rtc");function bd(A,e=jA){Ws("ec",A,e)}function Hd(A,e,t,r){let n;const s=t&&t[r];if(AA(A)||RA(A)){n=new Array(A.length);for(let i=0,o=A.length;ie(i,o,void 0,s&&s[o]));else{const i=Object.keys(A);n=new Array(i.length);for(let o=0,a=i.length;oA?cf(A)?qs(A)||A.proxy:so(A.parent):null,$r=$A(Object.create(null),{$:A=>A,$el:A=>A.vnode.el,$data:A=>A.data,$props:A=>A.props,$attrs:A=>A.attrs,$slots:A=>A.slots,$refs:A=>A.refs,$parent:A=>so(A.parent),$root:A=>so(A.root),$emit:A=>A.emit,$options:A=>fa(A),$forceUpdate:A=>A.f||(A.f=()=>{A.effect.dirty=!0,ca(A.update)}),$nextTick:A=>A.n||(A.n=Te.bind(A.proxy)),$watch:A=>gd.bind(A)}),Ci=(A,e)=>A!==IA&&!A.__isScriptSetup&&dA(A,e),Id={get({_:A},e){const{ctx:t,setupState:r,data:n,props:s,accessCache:i,type:o,appContext:a}=A;let c;if(e[0]!=="$"){const B=i[e];if(B!==void 0)switch(B){case 1:return r[e];case 2:return n[e];case 4:return t[e];case 3:return s[e]}else{if(Ci(r,e))return i[e]=1,r[e];if(n!==IA&&dA(n,e))return i[e]=2,n[e];if((c=A.propsOptions[0])&&dA(c,e))return i[e]=3,s[e];if(t!==IA&&dA(t,e))return i[e]=4,t[e];io&&(i[e]=0)}}const l=$r[e];let u,f;if(l)return e==="$attrs"&&de(A,"get",e),l(A);if((u=o.__cssModules)&&(u=u[e]))return u;if(t!==IA&&dA(t,e))return i[e]=4,t[e];if(f=a.config.globalProperties,dA(f,e))return f[e]},set({_:A},e,t){const{data:r,setupState:n,ctx:s}=A;return Ci(n,e)?(n[e]=t,!0):r!==IA&&dA(r,e)?(r[e]=t,!0):dA(A.props,e)||e[0]==="$"&&e.slice(1)in A?!1:(s[e]=t,!0)},has({_:{data:A,setupState:e,accessCache:t,ctx:r,appContext:n,propsOptions:s}},i){let o;return!!t[i]||A!==IA&&dA(A,i)||Ci(e,i)||(o=s[0])&&dA(o,i)||dA(r,i)||dA($r,i)||dA(n.config.globalProperties,i)},defineProperty(A,e,t){return t.get!=null?A._.accessCache[e]=0:dA(t,"value")&&this.set(A,e,t.value,null),Reflect.defineProperty(A,e,t)}};function Za(A){return AA(A)?A.reduce((e,t)=>(e[t]=null,e),{}):A}let io=!0;function xd(A){const e=fa(A),t=A.proxy,r=A.ctx;io=!1,e.beforeCreate&&za(e.beforeCreate,A,"bc");const{data:n,computed:s,methods:i,watch:o,provide:a,inject:c,created:l,beforeMount:u,mounted:f,beforeUpdate:B,updated:g,activated:h,deactivated:U,beforeDestroy:w,beforeUnmount:C,destroyed:F,unmounted:y,render:E,renderTracked:Q,renderTriggered:L,errorCaptured:v,serverPrefetch:b,expose:O,inheritAttrs:j,components:T,directives:P,filters:aA}=e;if(c&&Ld(c,r,null),i)for(const tA in i){const lA=i[tA];oA(lA)&&(r[tA]=lA.bind(t))}if(n){const tA=n.call(t,t);EA(tA)&&(A.data=Ur(tA))}if(io=!0,s)for(const tA in s){const lA=s[tA],TA=oA(lA)?lA.bind(t,t):oA(lA.get)?lA.get.bind(t,t):ye,MA=!oA(lA)&&oA(lA.set)?lA.set.bind(t):ye,nA=J({get:TA,set:MA});Object.defineProperty(r,tA,{enumerable:!0,configurable:!0,get:()=>nA.value,set:sA=>nA.value=sA})}if(o)for(const tA in o)Zu(o[tA],r,t,tA);if(a){const tA=oA(a)?a.call(t):a;Reflect.ownKeys(tA).forEach(lA=>{ue(lA,tA[lA])})}l&&za(l,A,"c");function W(tA,lA){AA(lA)?lA.forEach(TA=>tA(TA.bind(t))):lA&&tA(lA.bind(t))}if(W(Fd,u),W(GA,f),W(Ud,B),W(vd,g),W(wd,h),W(Qd,U),W(bd,v),W(yd,Q),W(Ed,L),W(ju,C),W(Ue,y),W(md,b),AA(O))if(O.length){const tA=A.exposed||(A.exposed={});O.forEach(lA=>{Object.defineProperty(tA,lA,{get:()=>t[lA],set:TA=>t[lA]=TA})})}else A.exposed||(A.exposed={});E&&A.render===ye&&(A.render=E),j!=null&&(A.inheritAttrs=j),T&&(A.components=T),P&&(A.directives=P)}function Ld(A,e,t=ye){AA(A)&&(A=oo(A));for(const r in A){const n=A[r];let s;EA(n)?"default"in n?s=KA(n.from||r,n.default,!0):s=KA(n.from||r):s=KA(n),kA(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):e[r]=s}}function za(A,e,t){Ie(AA(A)?A.map(r=>r.bind(e.proxy)):A.bind(e.proxy),e,t)}function Zu(A,e,t,r){const n=r.includes(".")?Vu(t,r):()=>t[r];if(RA(A)){const s=e[A];oA(s)&&ie(n,s)}else if(oA(A))ie(n,A.bind(t));else if(EA(A))if(AA(A))A.forEach(s=>Zu(s,e,t,r));else{const s=oA(A.handler)?A.handler.bind(t):e[A.handler];oA(s)&&ie(n,s,A)}}function fa(A){const e=A.type,{mixins:t,extends:r}=e,{mixins:n,optionsCache:s,config:{optionMergeStrategies:i}}=A.appContext,o=s.get(e);let a;return o?a=o:!n.length&&!t&&!r?a=e:(a={},n.length&&n.forEach(c=>Qs(a,c,i,!0)),Qs(a,e,i)),EA(e)&&s.set(e,a),a}function Qs(A,e,t,r=!1){const{mixins:n,extends:s}=e;s&&Qs(A,s,t,!0),n&&n.forEach(i=>Qs(A,i,t,!0));for(const i in e)if(!(r&&i==="expose")){const o=Sd[i]||t&&t[i];A[i]=o?o(A[i],e[i]):e[i]}return A}const Sd={data:qa,props:Al,emits:Al,methods:Dr,computed:Dr,beforeCreate:oe,created:oe,beforeMount:oe,mounted:oe,beforeUpdate:oe,updated:oe,beforeDestroy:oe,beforeUnmount:oe,destroyed:oe,unmounted:oe,activated:oe,deactivated:oe,errorCaptured:oe,serverPrefetch:oe,components:Dr,directives:Dr,watch:Kd,provide:qa,inject:Td};function qa(A,e){return e?A?function(){return $A(oA(A)?A.call(this,this):A,oA(e)?e.call(this,this):e)}:e:A}function Td(A,e){return Dr(oo(A),oo(e))}function oo(A){if(AA(A)){const e={};for(let t=0;t1)return t&&oA(e)?e.call(r&&r.proxy):e}}function Od(){return!!(jA||se||Br)}function Rd(A,e,t,r=!1){const n={},s={};gs(s,js,1),A.propsDefaults=Object.create(null),qu(A,e,n,s);for(const i in A.propsOptions[0])i in n||(n[i]=void 0);t?A.props=r?n:bu(n):A.type.props?A.props=n:A.props=s,A.attrs=s}function kd(A,e,t,r){const{props:n,attrs:s,vnode:{patchFlag:i}}=A,o=rA(n),[a]=A.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const l=A.vnode.dynamicProps;for(let u=0;u{a=!0;const[f,B]=Af(u,e,!0);$A(i,f),B&&o.push(...B)};!t&&e.mixins.length&&e.mixins.forEach(l),A.extends&&l(A.extends),A.mixins&&A.mixins.forEach(l)}if(!s&&!a)return EA(A)&&r.set(A,cr),cr;if(AA(s))for(let l=0;l-1,B[1]=h<0||g-1||dA(B,"default"))&&o.push(u)}}}const c=[i,o];return EA(A)&&r.set(A,c),c}function el(A){return A[0]!=="$"&&!Xr(A)}function tl(A){const e=A&&A.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:A===null?"null":""}function rl(A,e){return tl(A)===tl(e)}function nl(A,e){return AA(e)?e.findIndex(t=>rl(t,A)):oA(e)&&rl(e,A)?0:-1}const ef=A=>A[0]==="_"||A==="$stable",Ba=A=>AA(A)?A.map(Me):[Me(A)],Md=(A,e,t)=>{if(e._n)return e;const r=ge((...n)=>Ba(e(...n)),t);return r._c=!1,r},tf=(A,e,t)=>{const r=A._ctx;for(const n in A){if(ef(n))continue;const s=A[n];if(oA(s))e[n]=Md(n,s,r);else if(s!=null){const i=Ba(s);e[n]=()=>i}}},rf=(A,e)=>{const t=Ba(e);A.slots.default=()=>t},Nd=(A,e)=>{if(A.vnode.shapeFlag&32){const t=e._;t?(A.slots=rA(e),gs(e,"_",t)):tf(e,A.slots={})}else A.slots={},e&&rf(A,e);gs(A.slots,js,1)},Pd=(A,e,t)=>{const{vnode:r,slots:n}=A;let s=!0,i=IA;if(r.shapeFlag&32){const o=e._;o?t&&o===1?s=!1:($A(n,e),!t&&o===1&&delete n._):(s=!e.$stable,tf(e,n)),i=e}else e&&(rf(A,e),i={default:1});if(s)for(const o in n)!ef(o)&&i[o]==null&&delete n[o]};function lo(A,e,t,r,n=!1){if(AA(A)){A.forEach((f,B)=>lo(f,e&&(AA(e)?e[B]:e),t,r,n));return}if(ss(r)&&!n)return;const s=r.shapeFlag&4?qs(r.component)||r.component.proxy:r.el,i=n?null:s,{i:o,r:a}=A,c=e&&e.r,l=o.refs===IA?o.refs={}:o.refs,u=o.setupState;if(c!=null&&c!==a&&(RA(c)?(l[c]=null,dA(u,c)&&(u[c]=null)):kA(c)&&(c.value=null)),oA(a))vt(a,o,12,[i,l]);else{const f=RA(a),B=kA(a);if(f||B){const g=()=>{if(A.f){const h=f?dA(u,a)?u[a]:l[a]:a.value;n?AA(h)&&Aa(h,s):AA(h)?h.includes(s)||h.push(s):f?(l[a]=[s],dA(u,a)&&(u[a]=l[a])):(a.value=[s],A.k&&(l[A.k]=a.value))}else f?(l[a]=i,dA(u,a)&&(u[a]=i)):B&&(a.value=i,A.k&&(l[A.k]=i))};i?(g.id=-1,fe(g,t)):g()}}}const fe=ud;function Gd(A){return Vd(A)}function Vd(A,e){const t=lu();t.__VUE__=!0;const{insert:r,remove:n,patchProp:s,createElement:i,createText:o,createComment:a,setText:c,setElementText:l,parentNode:u,nextSibling:f,setScopeId:B=ye,insertStaticContent:g}=A,h=(d,p,m,x=null,I=null,_=null,k=void 0,K=null,D=!!p.dynamicChildren)=>{if(d===p)return;d&&!Dt(d,p)&&(x=H(d),sA(d,I,_,!0),d=null),p.patchFlag===-2&&(D=!1,p.dynamicChildren=null);const{type:S,ref:X,shapeFlag:eA}=p;switch(S){case Ys:U(d,p,m,x);break;case Ke:w(d,p,m,x);break;case is:d==null&&C(p,m,x,k);break;case re:T(d,p,m,x,I,_,k,K,D);break;default:eA&1?E(d,p,m,x,I,_,k,K,D):eA&6?P(d,p,m,x,I,_,k,K,D):(eA&64||eA&128)&&S.process(d,p,m,x,I,_,k,K,D,Y)}X!=null&&I&&lo(X,d&&d.ref,_,p||d,!p)},U=(d,p,m,x)=>{if(d==null)r(p.el=o(p.children),m,x);else{const I=p.el=d.el;p.children!==d.children&&c(I,p.children)}},w=(d,p,m,x)=>{d==null?r(p.el=a(p.children||""),m,x):p.el=d.el},C=(d,p,m,x)=>{[d.el,d.anchor]=g(d.children,p,m,x,d.el,d.anchor)},F=({el:d,anchor:p},m,x)=>{let I;for(;d&&d!==p;)I=f(d),r(d,m,x),d=I;r(p,m,x)},y=({el:d,anchor:p})=>{let m;for(;d&&d!==p;)m=f(d),n(d),d=m;n(p)},E=(d,p,m,x,I,_,k,K,D)=>{p.type==="svg"?k="svg":p.type==="math"&&(k="mathml"),d==null?Q(p,m,x,I,_,k,K,D):b(d,p,I,_,k,K,D)},Q=(d,p,m,x,I,_,k,K)=>{let D,S;const{props:X,shapeFlag:eA,transition:z,dirs:iA}=d;if(D=d.el=i(d.type,_,X&&X.is,X),eA&8?l(D,d.children):eA&16&&v(d.children,D,null,x,I,Fi(d,_),k,K),iA&&It(d,null,x,"created"),L(D,d,d.scopeId,k,x),X){for(const vA in X)vA!=="value"&&!Xr(vA)&&s(D,vA,null,X[vA],_,d.children,x,I,UA);"value"in X&&s(D,"value",null,X.value,_),(S=X.onVnodeBeforeMount)&&Re(S,x,d)}iA&&It(d,null,x,"beforeMount");const fA=Xd(I,z);fA&&z.beforeEnter(D),r(D,p,m),((S=X&&X.onVnodeMounted)||fA||iA)&&fe(()=>{S&&Re(S,x,d),fA&&z.enter(D),iA&&It(d,null,x,"mounted")},I)},L=(d,p,m,x,I)=>{if(m&&B(d,m),x)for(let _=0;_{for(let S=D;S{const K=p.el=d.el;let{patchFlag:D,dynamicChildren:S,dirs:X}=p;D|=d.patchFlag&16;const eA=d.props||IA,z=p.props||IA;let iA;if(m&&xt(m,!1),(iA=z.onVnodeBeforeUpdate)&&Re(iA,m,p,d),X&&It(p,d,m,"beforeUpdate"),m&&xt(m,!0),S?O(d.dynamicChildren,S,K,m,x,Fi(p,I),_):k||lA(d,p,K,null,m,x,Fi(p,I),_,!1),D>0){if(D&16)j(K,p,eA,z,m,x,I);else if(D&2&&eA.class!==z.class&&s(K,"class",null,z.class,I),D&4&&s(K,"style",eA.style,z.style,I),D&8){const fA=p.dynamicProps;for(let vA=0;vA{iA&&Re(iA,m,p,d),X&&It(p,d,m,"updated")},x)},O=(d,p,m,x,I,_,k)=>{for(let K=0;K{if(m!==x){if(m!==IA)for(const K in m)!Xr(K)&&!(K in x)&&s(d,K,m[K],null,k,p.children,I,_,UA);for(const K in x){if(Xr(K))continue;const D=x[K],S=m[K];D!==S&&K!=="value"&&s(d,K,S,D,k,p.children,I,_,UA)}"value"in x&&s(d,"value",m.value,x.value,k)}},T=(d,p,m,x,I,_,k,K,D)=>{const S=p.el=d?d.el:o(""),X=p.anchor=d?d.anchor:o("");let{patchFlag:eA,dynamicChildren:z,slotScopeIds:iA}=p;iA&&(K=K?K.concat(iA):iA),d==null?(r(S,m,x),r(X,m,x),v(p.children||[],m,X,I,_,k,K,D)):eA>0&&eA&64&&z&&d.dynamicChildren?(O(d.dynamicChildren,z,m,I,_,k,K),(p.key!=null||I&&p===I.subTree)&&ga(d,p,!0)):lA(d,p,m,X,I,_,k,K,D)},P=(d,p,m,x,I,_,k,K,D)=>{p.slotScopeIds=K,d==null?p.shapeFlag&512?I.ctx.activate(p,m,x,k,D):aA(p,m,x,I,_,k,D):gA(d,p,D)},aA=(d,p,m,x,I,_,k)=>{const K=d.component=nh(d,x,I);if(Js(d)&&(K.ctx.renderer=Y),sh(K),K.asyncDep){if(I&&I.registerDep(K,W),!d.el){const D=K.subTree=uA(Ke);w(null,D,p,m)}}else W(K,d,p,m,I,_,k)},gA=(d,p,m)=>{const x=p.component=d.component;if(sd(d,p,m))if(x.asyncDep&&!x.asyncResolved){tA(x,p,m);return}else x.next=p,qg(x.update),x.effect.dirty=!0,x.update();else p.el=d.el,x.vnode=p},W=(d,p,m,x,I,_,k)=>{const K=()=>{if(d.isMounted){let{next:X,bu:eA,u:z,parent:iA,vnode:fA}=d;{const zt=nf(d);if(zt){X&&(X.el=fA.el,tA(d,X,k)),zt.asyncDep.then(()=>{d.isUnmounted||K()});return}}let vA=X,LA;xt(d,!1),X?(X.el=fA.el,tA(d,X,k)):X=fA,eA&&rs(eA),(LA=X.props&&X.props.onVnodeBeforeUpdate)&&Re(LA,iA,X,fA),xt(d,!0);const WA=wi(d),xe=d.subTree;d.subTree=WA,h(xe,WA,u(xe.el),H(xe),d,I,_),X.el=WA.el,vA===null&&id(d,WA.el),z&&fe(z,I),(LA=X.props&&X.props.onVnodeUpdated)&&fe(()=>Re(LA,iA,X,fA),I)}else{let X;const{el:eA,props:z}=p,{bm:iA,m:fA,parent:vA}=d,LA=ss(p);if(xt(d,!1),iA&&rs(iA),!LA&&(X=z&&z.onVnodeBeforeMount)&&Re(X,vA,p),xt(d,!0),eA&&xA){const WA=()=>{d.subTree=wi(d),xA(eA,d.subTree,d,I,null)};LA?p.type.__asyncLoader().then(()=>!d.isUnmounted&&WA()):WA()}else{const WA=d.subTree=wi(d);h(null,WA,m,x,d,I,_),p.el=WA.el}if(fA&&fe(fA,I),!LA&&(X=z&&z.onVnodeMounted)){const WA=p;fe(()=>Re(X,vA,WA),I)}(p.shapeFlag&256||vA&&ss(vA.vnode)&&vA.vnode.shapeFlag&256)&&d.a&&fe(d.a,I),d.isMounted=!0,p=m=x=null}},D=d.effect=new ta(K,ye,()=>ca(S),d.scope),S=d.update=()=>{D.dirty&&D.run()};S.id=d.uid,xt(d,!0),S()},tA=(d,p,m)=>{p.component=d;const x=d.vnode.props;d.vnode=p,d.next=null,kd(d,p.props,x,m),Pd(d,p.children,m),Wt(),Ja(d),Yt()},lA=(d,p,m,x,I,_,k,K,D=!1)=>{const S=d&&d.children,X=d?d.shapeFlag:0,eA=p.children,{patchFlag:z,shapeFlag:iA}=p;if(z>0){if(z&128){MA(S,eA,m,x,I,_,k,K,D);return}else if(z&256){TA(S,eA,m,x,I,_,k,K,D);return}}iA&8?(X&16&&UA(S,I,_),eA!==S&&l(m,eA)):X&16?iA&16?MA(S,eA,m,x,I,_,k,K,D):UA(S,I,_,!0):(X&8&&l(m,""),iA&16&&v(eA,m,x,I,_,k,K,D))},TA=(d,p,m,x,I,_,k,K,D)=>{d=d||cr,p=p||cr;const S=d.length,X=p.length,eA=Math.min(S,X);let z;for(z=0;zX?UA(d,I,_,!0,!1,eA):v(p,m,x,I,_,k,K,D,eA)},MA=(d,p,m,x,I,_,k,K,D)=>{let S=0;const X=p.length;let eA=d.length-1,z=X-1;for(;S<=eA&&S<=z;){const iA=d[S],fA=p[S]=D?Bt(p[S]):Me(p[S]);if(Dt(iA,fA))h(iA,fA,m,null,I,_,k,K,D);else break;S++}for(;S<=eA&&S<=z;){const iA=d[eA],fA=p[z]=D?Bt(p[z]):Me(p[z]);if(Dt(iA,fA))h(iA,fA,m,null,I,_,k,K,D);else break;eA--,z--}if(S>eA){if(S<=z){const iA=z+1,fA=iAz)for(;S<=eA;)sA(d[S],I,_,!0),S++;else{const iA=S,fA=S,vA=new Map;for(S=fA;S<=z;S++){const pe=p[S]=D?Bt(p[S]):Me(p[S]);pe.key!=null&&vA.set(pe.key,S)}let LA,WA=0;const xe=z-fA+1;let zt=!1,_a=0;const yr=new Array(xe);for(S=0;S=xe){sA(pe,I,_,!0);continue}let Oe;if(pe.key!=null)Oe=vA.get(pe.key);else for(LA=fA;LA<=z;LA++)if(yr[LA-fA]===0&&Dt(pe,p[LA])){Oe=LA;break}Oe===void 0?sA(pe,I,_,!0):(yr[Oe-fA]=S+1,Oe>=_a?_a=Oe:zt=!0,h(pe,p[Oe],m,null,I,_,k,K,D),WA++)}const Da=zt?$d(yr):cr;for(LA=Da.length-1,S=xe-1;S>=0;S--){const pe=fA+S,Oe=p[pe],Oa=pe+1{const{el:_,type:k,transition:K,children:D,shapeFlag:S}=d;if(S&6){nA(d.component.subTree,p,m,x);return}if(S&128){d.suspense.move(p,m,x);return}if(S&64){k.move(d,p,m,Y);return}if(k===re){r(_,p,m);for(let eA=0;eAK.enter(_),I);else{const{leave:eA,delayLeave:z,afterLeave:iA}=K,fA=()=>r(_,p,m),vA=()=>{eA(_,()=>{fA(),iA&&iA()})};z?z(_,fA,vA):vA()}else r(_,p,m)},sA=(d,p,m,x=!1,I=!1)=>{const{type:_,props:k,ref:K,children:D,dynamicChildren:S,shapeFlag:X,patchFlag:eA,dirs:z}=d;if(K!=null&&lo(K,null,m,d,!0),X&256){p.ctx.deactivate(d);return}const iA=X&1&&z,fA=!ss(d);let vA;if(fA&&(vA=k&&k.onVnodeBeforeUnmount)&&Re(vA,p,d),X&6)JA(d.component,m,x);else{if(X&128){d.suspense.unmount(m,x);return}iA&&It(d,null,p,"beforeUnmount"),X&64?d.type.remove(d,p,m,I,Y,x):S&&(_!==re||eA>0&&eA&64)?UA(S,p,m,!1,!0):(_===re&&eA&384||!I&&X&16)&&UA(D,p,m),x&&QA(d)}(fA&&(vA=k&&k.onVnodeUnmounted)||iA)&&fe(()=>{vA&&Re(vA,p,d),iA&&It(d,null,p,"unmounted")},m)},QA=d=>{const{type:p,el:m,anchor:x,transition:I}=d;if(p===re){yA(m,x);return}if(p===is){y(d);return}const _=()=>{n(m),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(d.shapeFlag&1&&I&&!I.persisted){const{leave:k,delayLeave:K}=I,D=()=>k(m,_);K?K(d.el,_,D):D()}else _()},yA=(d,p)=>{let m;for(;d!==p;)m=f(d),n(d),d=m;n(p)},JA=(d,p,m)=>{const{bum:x,scope:I,update:_,subTree:k,um:K}=d;x&&rs(x),I.stop(),_&&(_.active=!1,sA(k,d,p,m)),K&&fe(K,p),fe(()=>{d.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},UA=(d,p,m,x=!1,I=!1,_=0)=>{for(let k=_;kd.shapeFlag&6?H(d.component.subTree):d.shapeFlag&128?d.suspense.next():f(d.anchor||d.el);let V=!1;const R=(d,p,m)=>{d==null?p._vnode&&sA(p._vnode,null,null,!0):h(p._vnode||null,d,p,null,null,null,m),V||(V=!0,Ja(),Ru(),V=!1),p._vnode=d},Y={p:h,um:sA,m:nA,r:QA,mt:aA,mc:v,pc:lA,pbc:O,n:H,o:A};let hA,xA;return e&&([hA,xA]=e(Y)),{render:R,hydrate:hA,createApp:Dd(R,hA)}}function Fi({type:A,props:e},t){return t==="svg"&&A==="foreignObject"||t==="mathml"&&A==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:t}function xt({effect:A,update:e},t){A.allowRecurse=e.allowRecurse=t}function Xd(A,e){return(!A||A&&!A.pendingBranch)&&e&&!e.persisted}function ga(A,e,t=!1){const r=A.children,n=e.children;if(AA(r)&&AA(n))for(let s=0;s>1,A[t[o]]0&&(e[r]=t[s-1]),t[s]=r)}}for(s=t.length,i=t[s-1];s-- >0;)t[s]=i,i=e[i];return t}function nf(A){const e=A.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:nf(e)}const Jd=A=>A.__isTeleport,Jr=A=>A&&(A.disabled||A.disabled===""),sl=A=>typeof SVGElement<"u"&&A instanceof SVGElement,il=A=>typeof MathMLElement=="function"&&A instanceof MathMLElement,co=(A,e)=>{const t=A&&A.to;return RA(t)?e?e(t):null:t},Wd={name:"Teleport",__isTeleport:!0,process(A,e,t,r,n,s,i,o,a,c){const{mc:l,pc:u,pbc:f,o:{insert:B,querySelector:g,createText:h,createComment:U}}=c,w=Jr(e.props);let{shapeFlag:C,children:F,dynamicChildren:y}=e;if(A==null){const E=e.el=h(""),Q=e.anchor=h("");B(E,t,r),B(Q,t,r);const L=e.target=co(e.props,g),v=e.targetAnchor=h("");L&&(B(v,L),i==="svg"||sl(L)?i="svg":(i==="mathml"||il(L))&&(i="mathml"));const b=(O,j)=>{C&16&&l(F,O,j,n,s,i,o,a)};w?b(t,Q):L&&b(L,v)}else{e.el=A.el;const E=e.anchor=A.anchor,Q=e.target=A.target,L=e.targetAnchor=A.targetAnchor,v=Jr(A.props),b=v?t:Q,O=v?E:L;if(i==="svg"||sl(Q)?i="svg":(i==="mathml"||il(Q))&&(i="mathml"),y?(f(A.dynamicChildren,y,b,n,s,i,o),ga(A,e,!0)):a||u(A,e,b,O,n,s,i,o,!1),w)v?e.props&&A.props&&e.props.to!==A.props.to&&(e.props.to=A.props.to):In(e,t,E,c,1);else if((e.props&&e.props.to)!==(A.props&&A.props.to)){const j=e.target=co(e.props,g);j&&In(e,j,null,c,0)}else v&&In(e,Q,L,c,1)}sf(e)},remove(A,e,t,r,{um:n,o:{remove:s}},i){const{shapeFlag:o,children:a,anchor:c,targetAnchor:l,target:u,props:f}=A;if(u&&s(l),i&&s(c),o&16){const B=i||!Jr(f);for(let g=0;g0?Se||cr:null,Zd(),on>0&&Se&&Se.push(A),A}function At(A,e,t,r,n,s){return of($(A,e,t,r,n,s,!0))}function hr(A,e,t,r,n){return of(uA(A,e,t,r,n,!0))}function uo(A){return A?A.__v_isVNode===!0:!1}function Dt(A,e){return A.type===e.type&&A.key===e.key}const js="__vInternal",af=({key:A})=>A??null,os=({ref:A,ref_key:e,ref_for:t})=>(typeof A=="number"&&(A=""+A),A!=null?RA(A)||kA(A)||oA(A)?{i:se,r:A,k:e,f:!!t}:A:null);function $(A,e=null,t=null,r=0,n=null,s=A===re?0:1,i=!1,o=!1){const a={__v_isVNode:!0,__v_skip:!0,type:A,props:e,key:e&&af(e),ref:e&&os(e),scopeId:$s,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:se};return o?(da(a,t),s&128&&A.normalize(a)):t&&(a.shapeFlag|=RA(t)?8:16),on>0&&!i&&Se&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&Se.push(a),a}const uA=zd;function zd(A,e=null,t=null,r=0,n=null,s=!1){if((!A||A===ad)&&(A=Ke),uo(A)){const o=et(A,e,!0);return t&&da(o,t),on>0&&!s&&Se&&(o.shapeFlag&6?Se[Se.indexOf(A)]=o:Se.push(o)),o.patchFlag|=-2,o}if(ch(A)&&(A=A.__vccOpts),e){e=qd(e);let{class:o,style:a}=e;o&&!RA(o)&&(e.class=je(o)),EA(a)&&(Iu(a)&&!AA(a)&&(a=$A({},a)),e.style=Ms(a))}const i=RA(A)?1:cd(A)?128:Jd(A)?64:EA(A)?4:oA(A)?2:0;return $(A,e,t,r,n,i,s,!0)}function qd(A){return A?Iu(A)||js in A?$A({},A):A:null}function et(A,e,t=!1){const{props:r,ref:n,patchFlag:s,children:i}=A,o=e?eh(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:A.type,props:o,key:o&&af(o),ref:e&&e.ref?t&&n?AA(n)?n.concat(os(e)):[n,os(e)]:os(e):n,scopeId:A.scopeId,slotScopeIds:A.slotScopeIds,children:i,target:A.target,targetAnchor:A.targetAnchor,staticCount:A.staticCount,shapeFlag:A.shapeFlag,patchFlag:e&&A.type!==re?s===-1?16:s|16:s,dynamicProps:A.dynamicProps,dynamicChildren:A.dynamicChildren,appContext:A.appContext,dirs:A.dirs,transition:A.transition,component:A.component,suspense:A.suspense,ssContent:A.ssContent&&et(A.ssContent),ssFallback:A.ssFallback&&et(A.ssFallback),el:A.el,anchor:A.anchor,ctx:A.ctx,ce:A.ce}}function Zs(A=" ",e=0){return uA(Ys,null,A,e)}function Ah(A,e){const t=uA(is,null,A);return t.staticCount=e,t}function lf(A="",e=!1){return e?(ce(),hr(Ke,null,A)):uA(Ke,null,A)}function Me(A){return A==null||typeof A=="boolean"?uA(Ke):AA(A)?uA(re,null,A.slice()):typeof A=="object"?Bt(A):uA(Ys,null,String(A))}function Bt(A){return A.el===null&&A.patchFlag!==-1||A.memo?A:et(A)}function da(A,e){let t=0;const{shapeFlag:r}=A;if(e==null)e=null;else if(AA(e))t=16;else if(typeof e=="object")if(r&65){const n=e.default;n&&(n._c&&(n._d=!1),da(A,n()),n._c&&(n._d=!0));return}else{t=32;const n=e._;!n&&!(js in e)?e._ctx=se:n===3&&se&&(se.slots._===1?e._=1:(e._=2,A.patchFlag|=1024))}else oA(e)?(e={default:e,_ctx:se},t=32):(e=String(e),r&64?(t=16,e=[Zs(e)]):t=8);A.children=e,A.shapeFlag|=t}function eh(...A){const e={};for(let t=0;tjA||se;let Cs,fo;{const A=lu(),e=(t,r)=>{let n;return(n=A[t])||(n=A[t]=[]),n.push(r),s=>{n.length>1?n.forEach(i=>i(s)):n[0](s)}};Cs=e("__VUE_INSTANCE_SETTERS__",t=>jA=t),fo=e("__VUE_SSR_SETTERS__",t=>zs=t)}const hn=A=>{const e=jA;return Cs(A),A.scope.on(),()=>{A.scope.off(),Cs(e)}},al=()=>{jA&&jA.scope.off(),Cs(null)};function cf(A){return A.vnode.shapeFlag&4}let zs=!1;function sh(A,e=!1){e&&fo(e);const{props:t,children:r}=A.vnode,n=cf(A);Rd(A,t,n,e),Nd(A,r);const s=n?ih(A,e):void 0;return e&&fo(!1),s}function ih(A,e){const t=A.type;A.accessCache=Object.create(null),A.proxy=Gs(new Proxy(A.ctx,Id));const{setup:r}=t;if(r){const n=A.setupContext=r.length>1?ah(A):null,s=hn(A);Wt();const i=vt(r,A,0,[A.props,n]);if(Yt(),s(),iu(i)){if(i.then(al,al),e)return i.then(o=>{ll(A,o,e)}).catch(o=>{Vs(o,A,0)});A.asyncDep=i}else ll(A,i,e)}else uf(A,e)}function ll(A,e,t){oA(e)?A.type.__ssrInlineRender?A.ssrRender=e:A.render=e:EA(e)&&(A.setupState=Ku(e)),uf(A,t)}let cl;function uf(A,e,t){const r=A.type;if(!A.render){if(!e&&cl&&!r.render){const n=r.template||fa(A).template;if(n){const{isCustomElement:s,compilerOptions:i}=A.appContext.config,{delimiters:o,compilerOptions:a}=r,c=$A($A({isCustomElement:s,delimiters:o},i),a);r.render=cl(n,c)}}A.render=r.render||ye}{const n=hn(A);Wt();try{xd(A)}finally{Yt(),n()}}}function oh(A){return A.attrsProxy||(A.attrsProxy=new Proxy(A.attrs,{get(e,t){return de(A,"get","$attrs"),e[t]}}))}function ah(A){const e=t=>{A.exposed=t||{}};return{get attrs(){return oh(A)},slots:A.slots,emit:A.emit,expose:e}}function qs(A){if(A.exposed)return A.exposeProxy||(A.exposeProxy=new Proxy(Ku(Gs(A.exposed)),{get(e,t){if(t in e)return e[t];if(t in $r)return $r[t](A)},has(e,t){return t in e||t in $r}}))}function lh(A,e=!0){return oA(A)?A.displayName||A.name:A.name||e&&A.__name}function ch(A){return oA(A)&&"__vccOpts"in A}const J=(A,e)=>Vg(A,e,zs);function NA(A,e,t){const r=arguments.length;return r===2?EA(e)&&!AA(e)?uo(e)?uA(A,null,[e]):uA(A,e):uA(A,null,e):(r>3?t=Array.prototype.slice.call(arguments,2):r===3&&uo(t)&&(t=[t]),uA(A,e,t))}const uh="3.4.18";/** +**/function vt(A,e,t,r){let n;try{n=r?A(...r):A()}catch(s){Vs(s,e,t)}return n}function Ie(A,e,t,r){if(oA(A)){const s=vt(A,e,t,r);return s&&iu(s)&&s.catch(i=>{Vs(i,e,t)}),s}const n=[];for(let s=0;s>>1,n=ne[r],s=sn(n);sNe&&ne.splice(e,1)}function Ad(A){AA(A)?fr.push(...A):(!ut||!ut.includes(A,A.allowRecurse?_t+1:_t))&&fr.push(A),Ou()}function Ja(A,e,t=nn?Ne+1:0){for(;tsn(t)-sn(r));if(fr.length=0,ut){ut.push(...e);return}for(ut=e,_t=0;_tA.id==null?1/0:A.id,ed=(A,e)=>{const t=sn(A)-sn(e);if(t===0){if(A.pre&&!e.pre)return-1;if(e.pre&&!A.pre)return 1}return t};function ku(A){to=!1,nn=!0,ne.sort(ed);try{for(Ne=0;NeRA(B)?B.trim():B)),u&&(n=t.map(Bg))}let o,a=r[o=hi(e)]||r[o=hi(Ve(e))];!a&&s&&(a=r[o=hi(Fr(e))]),a&&Ie(a,A,6,n);const c=r[o+"Once"];if(c){if(!A.emitted)A.emitted={};else if(A.emitted[o])return;A.emitted[o]=!0,Ie(c,A,6,n)}}function Mu(A,e,t=!1){const r=e.emitsCache,n=r.get(A);if(n!==void 0)return n;const s=A.emits;let i={},o=!1;if(!oA(A)){const a=c=>{const l=Mu(c,e,!0);l&&(o=!0,$A(i,l))};!t&&e.mixins.length&&e.mixins.forEach(a),A.extends&&a(A.extends),A.mixins&&A.mixins.forEach(a)}return!s&&!o?(EA(A)&&r.set(A,null),null):(AA(s)?s.forEach(a=>i[a]=null):$A(i,s),EA(A)&&r.set(A,i),i)}function Xs(A,e){return!A||!Ds(e)?!1:(e=e.slice(2).replace(/Once$/,""),dA(A,e[0].toLowerCase()+e.slice(1))||dA(A,Fr(e))||dA(A,e))}let se=null,$s=null;function ws(A){const e=se;return se=A,$s=A&&A.type.__scopeId||null,e}function Nu(A){$s=A}function Pu(){$s=null}function ge(A,e=se,t){if(!e||A._n)return A;const r=(...n)=>{r._d&&ol(-1);const s=ws(e);let i;try{i=A(...n)}finally{ws(s),r._d&&ol(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function wi(A){const{type:e,vnode:t,proxy:r,withProxy:n,props:s,propsOptions:[i],slots:o,attrs:a,emit:c,render:l,renderCache:u,data:f,setupState:B,ctx:g,inheritAttrs:h}=A;let U,w;const C=ws(A);try{if(t.shapeFlag&4){const y=n||r,E=y;U=Me(l.call(E,y,u,s,B,f,g)),w=a}else{const y=e;U=Me(y.length>1?y(s,{attrs:a,slots:o,emit:c}):y(s,null)),w=e.props?a:rd(a)}}catch(y){Wr.length=0,Vs(y,A,1),U=uA(Ke)}let F=U;if(w&&h!==!1){const y=Object.keys(w),{shapeFlag:E}=F;y.length&&E&7&&(i&&y.some(qo)&&(w=nd(w,i)),F=et(F,w))}return t.dirs&&(F=et(F),F.dirs=F.dirs?F.dirs.concat(t.dirs):t.dirs),t.transition&&(F.transition=t.transition),U=F,ws(C),U}const rd=A=>{let e;for(const t in A)(t==="class"||t==="style"||Ds(t))&&((e||(e={}))[t]=A[t]);return e},nd=(A,e)=>{const t={};for(const r in A)(!qo(r)||!(r.slice(9)in e))&&(t[r]=A[r]);return t};function sd(A,e,t){const{props:r,children:n,component:s}=A,{props:i,children:o,patchFlag:a}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&a>=0){if(a&1024)return!0;if(a&16)return r?Wa(r,i,c):!!i;if(a&8){const l=e.dynamicProps;for(let u=0;uA.__isSuspense;function ud(A,e){e&&e.pendingBranch?AA(A)?e.effects.push(...A):e.effects.push(A):Ad(A)}const fd=Symbol.for("v-scx"),Bd=()=>KA(fd);function Fe(A,e){return ua(A,null,e)}const bn={};function oe(A,e,t){return ua(A,e,t)}function ua(A,e,{immediate:t,deep:r,flush:n,once:s,onTrack:i,onTrigger:o}=IA){if(e&&s){const Q=e;e=(...L)=>{Q(...L),E()}}const a=jA,c=Q=>r===!0?Q:kt(Q,r===!1?1:void 0);let l,u=!1,f=!1;if(kA(A)?(l=()=>A.value,u=ps(A)):qe(A)?(l=()=>c(A),u=!0):AA(A)?(f=!0,u=A.some(Q=>qe(Q)||ps(Q)),l=()=>A.map(Q=>{if(kA(Q))return Q.value;if(qe(Q))return c(Q);if(oA(Q))return vt(Q,a,2)})):oA(A)?e?l=()=>vt(A,a,2):l=()=>(B&&B(),Ie(A,a,3,[g])):l=ye,e&&r){const Q=l;l=()=>kt(Q())}let B,g=Q=>{B=F.onStop=()=>{vt(Q,a,4),B=F.onStop=void 0}},h;if(zs)if(g=ye,e?t&&Ie(e,a,3,[l(),f?[]:void 0,g]):l(),n==="sync"){const Q=Bd();h=Q.__watcherHandles||(Q.__watcherHandles=[])}else return ye;let U=f?new Array(A.length).fill(bn):bn;const w=()=>{if(!(!F.active||!F.dirty))if(e){const Q=F.run();(r||u||(f?Q.some((L,v)=>bt(L,U[v])):bt(Q,U)))&&(B&&B(),Ie(e,a,3,[Q,U===bn?void 0:f&&U[0]===bn?[]:U,g]),U=Q)}else F.run()};w.allowRecurse=!!e;let C;n==="sync"?C=w:n==="post"?C=()=>fe(w,a&&a.suspense):(w.pre=!0,a&&(w.id=a.uid),C=()=>ca(w));const F=new ta(l,ye,C),y=du(),E=()=>{F.stop(),y&&Aa(y.effects,F)};return e?t?w():U=F.run():n==="post"?fe(F.run.bind(F),a&&a.suspense):F.run(),h&&h.push(E),E}function gd(A,e,t){const r=this.proxy,n=RA(A)?A.includes(".")?Vu(r,A):()=>r[A]:A.bind(r,r);let s;oA(e)?s=e:(s=e.handler,t=e);const i=hn(this),o=ua(n,s.bind(r),t);return i(),o}function Vu(A,e){const t=e.split(".");return()=>{let r=A;for(let n=0;n0){if(t>=e)return A;t++}if(r=r||new Set,r.has(A))return A;if(r.add(A),kA(A))kt(A.value,e,t,r);else if(AA(A))for(let n=0;n{kt(n,e,t,r)});else if(au(A))for(const n in A)kt(A[n],e,t,r);return A}function Xu(A,e){if(se===null)return A;const t=qs(se)||se.proxy,r=A.dirs||(A.dirs=[]);for(let n=0;n{A.isMounted=!0}),ju(()=>{A.isUnmounting=!0}),A}const ve=[Function,Array],$u={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ve,onEnter:ve,onAfterEnter:ve,onEnterCancelled:ve,onBeforeLeave:ve,onLeave:ve,onAfterLeave:ve,onLeaveCancelled:ve,onBeforeAppear:ve,onAppear:ve,onAfterAppear:ve,onAppearCancelled:ve},hd={name:"BaseTransition",props:$u,setup(A,{slots:e}){const t=ha(),r=dd();let n;return()=>{const s=e.default&&Wu(e.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const h of s)if(h.type!==Ke){i=h;break}}const o=rA(A),{mode:a}=o;if(r.isLeaving)return Qi(i);const c=ja(i);if(!c)return Qi(i);const l=ro(c,o,r,t);no(c,l);const u=t.subTree,f=u&&ja(u);let B=!1;const{getTransitionKey:g}=c.type;if(g){const h=g();n===void 0?n=h:h!==n&&(n=h,B=!0)}if(f&&f.type!==Ke&&(!Dt(c,f)||B)){const h=ro(f,o,r,t);if(no(f,h),a==="out-in")return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,t.update.active!==!1&&(t.effect.dirty=!0,t.update())},Qi(i);a==="in-out"&&c.type!==Ke&&(h.delayLeave=(U,w,C)=>{const F=Ju(r,f);F[String(f.key)]=f,U[ft]=()=>{w(),U[ft]=void 0,delete l.delayedLeave},l.delayedLeave=C})}return i}}},pd=hd;function Ju(A,e){const{leavingVNodes:t}=A;let r=t.get(e.type);return r||(r=Object.create(null),t.set(e.type,r)),r}function ro(A,e,t,r){const{appear:n,mode:s,persisted:i=!1,onBeforeEnter:o,onEnter:a,onAfterEnter:c,onEnterCancelled:l,onBeforeLeave:u,onLeave:f,onAfterLeave:B,onLeaveCancelled:g,onBeforeAppear:h,onAppear:U,onAfterAppear:w,onAppearCancelled:C}=e,F=String(A.key),y=Ju(t,A),E=(v,b)=>{v&&Ie(v,r,9,b)},Q=(v,b)=>{const O=b[1];E(v,b),AA(v)?v.every(j=>j.length<=1)&&O():v.length<=1&&O()},L={mode:s,persisted:i,beforeEnter(v){let b=o;if(!t.isMounted)if(n)b=h||o;else return;v[ft]&&v[ft](!0);const O=y[F];O&&Dt(A,O)&&O.el[ft]&&O.el[ft](),E(b,[v])},enter(v){let b=a,O=c,j=l;if(!t.isMounted)if(n)b=U||a,O=w||c,j=C||l;else return;let T=!1;const P=v[Hn]=aA=>{T||(T=!0,aA?E(j,[v]):E(O,[v]),L.delayedLeave&&L.delayedLeave(),v[Hn]=void 0)};b?Q(b,[v,P]):P()},leave(v,b){const O=String(A.key);if(v[Hn]&&v[Hn](!0),t.isUnmounting)return b();E(u,[v]);let j=!1;const T=v[ft]=P=>{j||(j=!0,b(),P?E(g,[v]):E(B,[v]),v[ft]=void 0,y[O]===A&&delete y[O])};y[O]=A,f?Q(f,[v,T]):T()},clone(v){return ro(v,e,t,r)}};return L}function Qi(A){if(Js(A))return A=et(A),A.children=null,A}function ja(A){return Js(A)?A.children?A.children[0]:void 0:A}function no(A,e){A.shapeFlag&6&&A.component?no(A.component.subTree,e):A.shapeFlag&128?(A.ssContent.transition=e.clone(A.ssContent),A.ssFallback.transition=e.clone(A.ssFallback)):A.transition=e}function Wu(A,e=!1,t){let r=[],n=0;for(let s=0;s1)for(let s=0;s!!A.type.__asyncLoader,Js=A=>A.type.__isKeepAlive;function wd(A,e){Yu(A,"a",e)}function Qd(A,e){Yu(A,"da",e)}function Yu(A,e,t=jA){const r=A.__wdc||(A.__wdc=()=>{let n=t;for(;n;){if(n.isDeactivated)return;n=n.parent}return A()});if(Ws(e,r,t),t){let n=t.parent;for(;n&&n.parent;)Js(n.parent.vnode)&&Cd(r,e,t,n),n=n.parent}}function Cd(A,e,t,r){const n=Ws(e,A,r,!0);Ue(()=>{Aa(r[e],n)},t)}function Ws(A,e,t=jA,r=!1){if(t){const n=t[A]||(t[A]=[]),s=e.__weh||(e.__weh=(...i)=>{if(t.isUnmounted)return;Wt();const o=hn(t),a=Ie(e,t,A,i);return o(),Yt(),a});return r?n.unshift(s):n.push(s),s}}const rt=A=>(e,t=jA)=>(!zs||A==="sp")&&Ws(A,(...r)=>e(...r),t),Fd=rt("bm"),GA=rt("m"),Ud=rt("bu"),vd=rt("u"),ju=rt("bum"),Ue=rt("um"),md=rt("sp"),Ed=rt("rtg"),yd=rt("rtc");function bd(A,e=jA){Ws("ec",A,e)}function Hd(A,e,t,r){let n;const s=t&&t[r];if(AA(A)||RA(A)){n=new Array(A.length);for(let i=0,o=A.length;ie(i,o,void 0,s&&s[o]));else{const i=Object.keys(A);n=new Array(i.length);for(let o=0,a=i.length;oA?cf(A)?qs(A)||A.proxy:so(A.parent):null,$r=$A(Object.create(null),{$:A=>A,$el:A=>A.vnode.el,$data:A=>A.data,$props:A=>A.props,$attrs:A=>A.attrs,$slots:A=>A.slots,$refs:A=>A.refs,$parent:A=>so(A.parent),$root:A=>so(A.root),$emit:A=>A.emit,$options:A=>fa(A),$forceUpdate:A=>A.f||(A.f=()=>{A.effect.dirty=!0,ca(A.update)}),$nextTick:A=>A.n||(A.n=Te.bind(A.proxy)),$watch:A=>gd.bind(A)}),Ci=(A,e)=>A!==IA&&!A.__isScriptSetup&&dA(A,e),Id={get({_:A},e){const{ctx:t,setupState:r,data:n,props:s,accessCache:i,type:o,appContext:a}=A;let c;if(e[0]!=="$"){const B=i[e];if(B!==void 0)switch(B){case 1:return r[e];case 2:return n[e];case 4:return t[e];case 3:return s[e]}else{if(Ci(r,e))return i[e]=1,r[e];if(n!==IA&&dA(n,e))return i[e]=2,n[e];if((c=A.propsOptions[0])&&dA(c,e))return i[e]=3,s[e];if(t!==IA&&dA(t,e))return i[e]=4,t[e];io&&(i[e]=0)}}const l=$r[e];let u,f;if(l)return e==="$attrs"&&de(A,"get",e),l(A);if((u=o.__cssModules)&&(u=u[e]))return u;if(t!==IA&&dA(t,e))return i[e]=4,t[e];if(f=a.config.globalProperties,dA(f,e))return f[e]},set({_:A},e,t){const{data:r,setupState:n,ctx:s}=A;return Ci(n,e)?(n[e]=t,!0):r!==IA&&dA(r,e)?(r[e]=t,!0):dA(A.props,e)||e[0]==="$"&&e.slice(1)in A?!1:(s[e]=t,!0)},has({_:{data:A,setupState:e,accessCache:t,ctx:r,appContext:n,propsOptions:s}},i){let o;return!!t[i]||A!==IA&&dA(A,i)||Ci(e,i)||(o=s[0])&&dA(o,i)||dA(r,i)||dA($r,i)||dA(n.config.globalProperties,i)},defineProperty(A,e,t){return t.get!=null?A._.accessCache[e]=0:dA(t,"value")&&this.set(A,e,t.value,null),Reflect.defineProperty(A,e,t)}};function Za(A){return AA(A)?A.reduce((e,t)=>(e[t]=null,e),{}):A}let io=!0;function xd(A){const e=fa(A),t=A.proxy,r=A.ctx;io=!1,e.beforeCreate&&za(e.beforeCreate,A,"bc");const{data:n,computed:s,methods:i,watch:o,provide:a,inject:c,created:l,beforeMount:u,mounted:f,beforeUpdate:B,updated:g,activated:h,deactivated:U,beforeDestroy:w,beforeUnmount:C,destroyed:F,unmounted:y,render:E,renderTracked:Q,renderTriggered:L,errorCaptured:v,serverPrefetch:b,expose:O,inheritAttrs:j,components:T,directives:P,filters:aA}=e;if(c&&Ld(c,r,null),i)for(const tA in i){const lA=i[tA];oA(lA)&&(r[tA]=lA.bind(t))}if(n){const tA=n.call(t,t);EA(tA)&&(A.data=Ur(tA))}if(io=!0,s)for(const tA in s){const lA=s[tA],TA=oA(lA)?lA.bind(t,t):oA(lA.get)?lA.get.bind(t,t):ye,MA=!oA(lA)&&oA(lA.set)?lA.set.bind(t):ye,nA=J({get:TA,set:MA});Object.defineProperty(r,tA,{enumerable:!0,configurable:!0,get:()=>nA.value,set:sA=>nA.value=sA})}if(o)for(const tA in o)Zu(o[tA],r,t,tA);if(a){const tA=oA(a)?a.call(t):a;Reflect.ownKeys(tA).forEach(lA=>{ue(lA,tA[lA])})}l&&za(l,A,"c");function W(tA,lA){AA(lA)?lA.forEach(TA=>tA(TA.bind(t))):lA&&tA(lA.bind(t))}if(W(Fd,u),W(GA,f),W(Ud,B),W(vd,g),W(wd,h),W(Qd,U),W(bd,v),W(yd,Q),W(Ed,L),W(ju,C),W(Ue,y),W(md,b),AA(O))if(O.length){const tA=A.exposed||(A.exposed={});O.forEach(lA=>{Object.defineProperty(tA,lA,{get:()=>t[lA],set:TA=>t[lA]=TA})})}else A.exposed||(A.exposed={});E&&A.render===ye&&(A.render=E),j!=null&&(A.inheritAttrs=j),T&&(A.components=T),P&&(A.directives=P)}function Ld(A,e,t=ye){AA(A)&&(A=oo(A));for(const r in A){const n=A[r];let s;EA(n)?"default"in n?s=KA(n.from||r,n.default,!0):s=KA(n.from||r):s=KA(n),kA(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):e[r]=s}}function za(A,e,t){Ie(AA(A)?A.map(r=>r.bind(e.proxy)):A.bind(e.proxy),e,t)}function Zu(A,e,t,r){const n=r.includes(".")?Vu(t,r):()=>t[r];if(RA(A)){const s=e[A];oA(s)&&oe(n,s)}else if(oA(A))oe(n,A.bind(t));else if(EA(A))if(AA(A))A.forEach(s=>Zu(s,e,t,r));else{const s=oA(A.handler)?A.handler.bind(t):e[A.handler];oA(s)&&oe(n,s,A)}}function fa(A){const e=A.type,{mixins:t,extends:r}=e,{mixins:n,optionsCache:s,config:{optionMergeStrategies:i}}=A.appContext,o=s.get(e);let a;return o?a=o:!n.length&&!t&&!r?a=e:(a={},n.length&&n.forEach(c=>Qs(a,c,i,!0)),Qs(a,e,i)),EA(e)&&s.set(e,a),a}function Qs(A,e,t,r=!1){const{mixins:n,extends:s}=e;s&&Qs(A,s,t,!0),n&&n.forEach(i=>Qs(A,i,t,!0));for(const i in e)if(!(r&&i==="expose")){const o=Sd[i]||t&&t[i];A[i]=o?o(A[i],e[i]):e[i]}return A}const Sd={data:qa,props:Al,emits:Al,methods:Dr,computed:Dr,beforeCreate:ae,created:ae,beforeMount:ae,mounted:ae,beforeUpdate:ae,updated:ae,beforeDestroy:ae,beforeUnmount:ae,destroyed:ae,unmounted:ae,activated:ae,deactivated:ae,errorCaptured:ae,serverPrefetch:ae,components:Dr,directives:Dr,watch:Kd,provide:qa,inject:Td};function qa(A,e){return e?A?function(){return $A(oA(A)?A.call(this,this):A,oA(e)?e.call(this,this):e)}:e:A}function Td(A,e){return Dr(oo(A),oo(e))}function oo(A){if(AA(A)){const e={};for(let t=0;t1)return t&&oA(e)?e.call(r&&r.proxy):e}}function Od(){return!!(jA||se||Br)}function Rd(A,e,t,r=!1){const n={},s={};gs(s,js,1),A.propsDefaults=Object.create(null),qu(A,e,n,s);for(const i in A.propsOptions[0])i in n||(n[i]=void 0);t?A.props=r?n:bu(n):A.type.props?A.props=n:A.props=s,A.attrs=s}function kd(A,e,t,r){const{props:n,attrs:s,vnode:{patchFlag:i}}=A,o=rA(n),[a]=A.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const l=A.vnode.dynamicProps;for(let u=0;u{a=!0;const[f,B]=Af(u,e,!0);$A(i,f),B&&o.push(...B)};!t&&e.mixins.length&&e.mixins.forEach(l),A.extends&&l(A.extends),A.mixins&&A.mixins.forEach(l)}if(!s&&!a)return EA(A)&&r.set(A,cr),cr;if(AA(s))for(let l=0;l-1,B[1]=h<0||g-1||dA(B,"default"))&&o.push(u)}}}const c=[i,o];return EA(A)&&r.set(A,c),c}function el(A){return A[0]!=="$"&&!Xr(A)}function tl(A){const e=A&&A.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:A===null?"null":""}function rl(A,e){return tl(A)===tl(e)}function nl(A,e){return AA(e)?e.findIndex(t=>rl(t,A)):oA(e)&&rl(e,A)?0:-1}const ef=A=>A[0]==="_"||A==="$stable",Ba=A=>AA(A)?A.map(Me):[Me(A)],Md=(A,e,t)=>{if(e._n)return e;const r=ge((...n)=>Ba(e(...n)),t);return r._c=!1,r},tf=(A,e,t)=>{const r=A._ctx;for(const n in A){if(ef(n))continue;const s=A[n];if(oA(s))e[n]=Md(n,s,r);else if(s!=null){const i=Ba(s);e[n]=()=>i}}},rf=(A,e)=>{const t=Ba(e);A.slots.default=()=>t},Nd=(A,e)=>{if(A.vnode.shapeFlag&32){const t=e._;t?(A.slots=rA(e),gs(e,"_",t)):tf(e,A.slots={})}else A.slots={},e&&rf(A,e);gs(A.slots,js,1)},Pd=(A,e,t)=>{const{vnode:r,slots:n}=A;let s=!0,i=IA;if(r.shapeFlag&32){const o=e._;o?t&&o===1?s=!1:($A(n,e),!t&&o===1&&delete n._):(s=!e.$stable,tf(e,n)),i=e}else e&&(rf(A,e),i={default:1});if(s)for(const o in n)!ef(o)&&i[o]==null&&delete n[o]};function lo(A,e,t,r,n=!1){if(AA(A)){A.forEach((f,B)=>lo(f,e&&(AA(e)?e[B]:e),t,r,n));return}if(ss(r)&&!n)return;const s=r.shapeFlag&4?qs(r.component)||r.component.proxy:r.el,i=n?null:s,{i:o,r:a}=A,c=e&&e.r,l=o.refs===IA?o.refs={}:o.refs,u=o.setupState;if(c!=null&&c!==a&&(RA(c)?(l[c]=null,dA(u,c)&&(u[c]=null)):kA(c)&&(c.value=null)),oA(a))vt(a,o,12,[i,l]);else{const f=RA(a),B=kA(a);if(f||B){const g=()=>{if(A.f){const h=f?dA(u,a)?u[a]:l[a]:a.value;n?AA(h)&&Aa(h,s):AA(h)?h.includes(s)||h.push(s):f?(l[a]=[s],dA(u,a)&&(u[a]=l[a])):(a.value=[s],A.k&&(l[A.k]=a.value))}else f?(l[a]=i,dA(u,a)&&(u[a]=i)):B&&(a.value=i,A.k&&(l[A.k]=i))};i?(g.id=-1,fe(g,t)):g()}}}const fe=ud;function Gd(A){return Vd(A)}function Vd(A,e){const t=lu();t.__VUE__=!0;const{insert:r,remove:n,patchProp:s,createElement:i,createText:o,createComment:a,setText:c,setElementText:l,parentNode:u,nextSibling:f,setScopeId:B=ye,insertStaticContent:g}=A,h=(d,p,m,x=null,I=null,_=null,k=void 0,K=null,D=!!p.dynamicChildren)=>{if(d===p)return;d&&!Dt(d,p)&&(x=H(d),sA(d,I,_,!0),d=null),p.patchFlag===-2&&(D=!1,p.dynamicChildren=null);const{type:S,ref:X,shapeFlag:eA}=p;switch(S){case Ys:U(d,p,m,x);break;case Ke:w(d,p,m,x);break;case is:d==null&&C(p,m,x,k);break;case re:T(d,p,m,x,I,_,k,K,D);break;default:eA&1?E(d,p,m,x,I,_,k,K,D):eA&6?P(d,p,m,x,I,_,k,K,D):(eA&64||eA&128)&&S.process(d,p,m,x,I,_,k,K,D,Y)}X!=null&&I&&lo(X,d&&d.ref,_,p||d,!p)},U=(d,p,m,x)=>{if(d==null)r(p.el=o(p.children),m,x);else{const I=p.el=d.el;p.children!==d.children&&c(I,p.children)}},w=(d,p,m,x)=>{d==null?r(p.el=a(p.children||""),m,x):p.el=d.el},C=(d,p,m,x)=>{[d.el,d.anchor]=g(d.children,p,m,x,d.el,d.anchor)},F=({el:d,anchor:p},m,x)=>{let I;for(;d&&d!==p;)I=f(d),r(d,m,x),d=I;r(p,m,x)},y=({el:d,anchor:p})=>{let m;for(;d&&d!==p;)m=f(d),n(d),d=m;n(p)},E=(d,p,m,x,I,_,k,K,D)=>{p.type==="svg"?k="svg":p.type==="math"&&(k="mathml"),d==null?Q(p,m,x,I,_,k,K,D):b(d,p,I,_,k,K,D)},Q=(d,p,m,x,I,_,k,K)=>{let D,S;const{props:X,shapeFlag:eA,transition:z,dirs:iA}=d;if(D=d.el=i(d.type,_,X&&X.is,X),eA&8?l(D,d.children):eA&16&&v(d.children,D,null,x,I,Fi(d,_),k,K),iA&&It(d,null,x,"created"),L(D,d,d.scopeId,k,x),X){for(const vA in X)vA!=="value"&&!Xr(vA)&&s(D,vA,null,X[vA],_,d.children,x,I,UA);"value"in X&&s(D,"value",null,X.value,_),(S=X.onVnodeBeforeMount)&&Re(S,x,d)}iA&&It(d,null,x,"beforeMount");const fA=Xd(I,z);fA&&z.beforeEnter(D),r(D,p,m),((S=X&&X.onVnodeMounted)||fA||iA)&&fe(()=>{S&&Re(S,x,d),fA&&z.enter(D),iA&&It(d,null,x,"mounted")},I)},L=(d,p,m,x,I)=>{if(m&&B(d,m),x)for(let _=0;_{for(let S=D;S{const K=p.el=d.el;let{patchFlag:D,dynamicChildren:S,dirs:X}=p;D|=d.patchFlag&16;const eA=d.props||IA,z=p.props||IA;let iA;if(m&&xt(m,!1),(iA=z.onVnodeBeforeUpdate)&&Re(iA,m,p,d),X&&It(p,d,m,"beforeUpdate"),m&&xt(m,!0),S?O(d.dynamicChildren,S,K,m,x,Fi(p,I),_):k||lA(d,p,K,null,m,x,Fi(p,I),_,!1),D>0){if(D&16)j(K,p,eA,z,m,x,I);else if(D&2&&eA.class!==z.class&&s(K,"class",null,z.class,I),D&4&&s(K,"style",eA.style,z.style,I),D&8){const fA=p.dynamicProps;for(let vA=0;vA{iA&&Re(iA,m,p,d),X&&It(p,d,m,"updated")},x)},O=(d,p,m,x,I,_,k)=>{for(let K=0;K{if(m!==x){if(m!==IA)for(const K in m)!Xr(K)&&!(K in x)&&s(d,K,m[K],null,k,p.children,I,_,UA);for(const K in x){if(Xr(K))continue;const D=x[K],S=m[K];D!==S&&K!=="value"&&s(d,K,S,D,k,p.children,I,_,UA)}"value"in x&&s(d,"value",m.value,x.value,k)}},T=(d,p,m,x,I,_,k,K,D)=>{const S=p.el=d?d.el:o(""),X=p.anchor=d?d.anchor:o("");let{patchFlag:eA,dynamicChildren:z,slotScopeIds:iA}=p;iA&&(K=K?K.concat(iA):iA),d==null?(r(S,m,x),r(X,m,x),v(p.children||[],m,X,I,_,k,K,D)):eA>0&&eA&64&&z&&d.dynamicChildren?(O(d.dynamicChildren,z,m,I,_,k,K),(p.key!=null||I&&p===I.subTree)&&ga(d,p,!0)):lA(d,p,m,X,I,_,k,K,D)},P=(d,p,m,x,I,_,k,K,D)=>{p.slotScopeIds=K,d==null?p.shapeFlag&512?I.ctx.activate(p,m,x,k,D):aA(p,m,x,I,_,k,D):gA(d,p,D)},aA=(d,p,m,x,I,_,k)=>{const K=d.component=nh(d,x,I);if(Js(d)&&(K.ctx.renderer=Y),sh(K),K.asyncDep){if(I&&I.registerDep(K,W),!d.el){const D=K.subTree=uA(Ke);w(null,D,p,m)}}else W(K,d,p,m,I,_,k)},gA=(d,p,m)=>{const x=p.component=d.component;if(sd(d,p,m))if(x.asyncDep&&!x.asyncResolved){tA(x,p,m);return}else x.next=p,qg(x.update),x.effect.dirty=!0,x.update();else p.el=d.el,x.vnode=p},W=(d,p,m,x,I,_,k)=>{const K=()=>{if(d.isMounted){let{next:X,bu:eA,u:z,parent:iA,vnode:fA}=d;{const zt=nf(d);if(zt){X&&(X.el=fA.el,tA(d,X,k)),zt.asyncDep.then(()=>{d.isUnmounted||K()});return}}let vA=X,LA;xt(d,!1),X?(X.el=fA.el,tA(d,X,k)):X=fA,eA&&rs(eA),(LA=X.props&&X.props.onVnodeBeforeUpdate)&&Re(LA,iA,X,fA),xt(d,!0);const WA=wi(d),xe=d.subTree;d.subTree=WA,h(xe,WA,u(xe.el),H(xe),d,I,_),X.el=WA.el,vA===null&&id(d,WA.el),z&&fe(z,I),(LA=X.props&&X.props.onVnodeUpdated)&&fe(()=>Re(LA,iA,X,fA),I)}else{let X;const{el:eA,props:z}=p,{bm:iA,m:fA,parent:vA}=d,LA=ss(p);if(xt(d,!1),iA&&rs(iA),!LA&&(X=z&&z.onVnodeBeforeMount)&&Re(X,vA,p),xt(d,!0),eA&&xA){const WA=()=>{d.subTree=wi(d),xA(eA,d.subTree,d,I,null)};LA?p.type.__asyncLoader().then(()=>!d.isUnmounted&&WA()):WA()}else{const WA=d.subTree=wi(d);h(null,WA,m,x,d,I,_),p.el=WA.el}if(fA&&fe(fA,I),!LA&&(X=z&&z.onVnodeMounted)){const WA=p;fe(()=>Re(X,vA,WA),I)}(p.shapeFlag&256||vA&&ss(vA.vnode)&&vA.vnode.shapeFlag&256)&&d.a&&fe(d.a,I),d.isMounted=!0,p=m=x=null}},D=d.effect=new ta(K,ye,()=>ca(S),d.scope),S=d.update=()=>{D.dirty&&D.run()};S.id=d.uid,xt(d,!0),S()},tA=(d,p,m)=>{p.component=d;const x=d.vnode.props;d.vnode=p,d.next=null,kd(d,p.props,x,m),Pd(d,p.children,m),Wt(),Ja(d),Yt()},lA=(d,p,m,x,I,_,k,K,D=!1)=>{const S=d&&d.children,X=d?d.shapeFlag:0,eA=p.children,{patchFlag:z,shapeFlag:iA}=p;if(z>0){if(z&128){MA(S,eA,m,x,I,_,k,K,D);return}else if(z&256){TA(S,eA,m,x,I,_,k,K,D);return}}iA&8?(X&16&&UA(S,I,_),eA!==S&&l(m,eA)):X&16?iA&16?MA(S,eA,m,x,I,_,k,K,D):UA(S,I,_,!0):(X&8&&l(m,""),iA&16&&v(eA,m,x,I,_,k,K,D))},TA=(d,p,m,x,I,_,k,K,D)=>{d=d||cr,p=p||cr;const S=d.length,X=p.length,eA=Math.min(S,X);let z;for(z=0;zX?UA(d,I,_,!0,!1,eA):v(p,m,x,I,_,k,K,D,eA)},MA=(d,p,m,x,I,_,k,K,D)=>{let S=0;const X=p.length;let eA=d.length-1,z=X-1;for(;S<=eA&&S<=z;){const iA=d[S],fA=p[S]=D?Bt(p[S]):Me(p[S]);if(Dt(iA,fA))h(iA,fA,m,null,I,_,k,K,D);else break;S++}for(;S<=eA&&S<=z;){const iA=d[eA],fA=p[z]=D?Bt(p[z]):Me(p[z]);if(Dt(iA,fA))h(iA,fA,m,null,I,_,k,K,D);else break;eA--,z--}if(S>eA){if(S<=z){const iA=z+1,fA=iAz)for(;S<=eA;)sA(d[S],I,_,!0),S++;else{const iA=S,fA=S,vA=new Map;for(S=fA;S<=z;S++){const pe=p[S]=D?Bt(p[S]):Me(p[S]);pe.key!=null&&vA.set(pe.key,S)}let LA,WA=0;const xe=z-fA+1;let zt=!1,_a=0;const yr=new Array(xe);for(S=0;S=xe){sA(pe,I,_,!0);continue}let Oe;if(pe.key!=null)Oe=vA.get(pe.key);else for(LA=fA;LA<=z;LA++)if(yr[LA-fA]===0&&Dt(pe,p[LA])){Oe=LA;break}Oe===void 0?sA(pe,I,_,!0):(yr[Oe-fA]=S+1,Oe>=_a?_a=Oe:zt=!0,h(pe,p[Oe],m,null,I,_,k,K,D),WA++)}const Da=zt?$d(yr):cr;for(LA=Da.length-1,S=xe-1;S>=0;S--){const pe=fA+S,Oe=p[pe],Oa=pe+1{const{el:_,type:k,transition:K,children:D,shapeFlag:S}=d;if(S&6){nA(d.component.subTree,p,m,x);return}if(S&128){d.suspense.move(p,m,x);return}if(S&64){k.move(d,p,m,Y);return}if(k===re){r(_,p,m);for(let eA=0;eAK.enter(_),I);else{const{leave:eA,delayLeave:z,afterLeave:iA}=K,fA=()=>r(_,p,m),vA=()=>{eA(_,()=>{fA(),iA&&iA()})};z?z(_,fA,vA):vA()}else r(_,p,m)},sA=(d,p,m,x=!1,I=!1)=>{const{type:_,props:k,ref:K,children:D,dynamicChildren:S,shapeFlag:X,patchFlag:eA,dirs:z}=d;if(K!=null&&lo(K,null,m,d,!0),X&256){p.ctx.deactivate(d);return}const iA=X&1&&z,fA=!ss(d);let vA;if(fA&&(vA=k&&k.onVnodeBeforeUnmount)&&Re(vA,p,d),X&6)JA(d.component,m,x);else{if(X&128){d.suspense.unmount(m,x);return}iA&&It(d,null,p,"beforeUnmount"),X&64?d.type.remove(d,p,m,I,Y,x):S&&(_!==re||eA>0&&eA&64)?UA(S,p,m,!1,!0):(_===re&&eA&384||!I&&X&16)&&UA(D,p,m),x&&QA(d)}(fA&&(vA=k&&k.onVnodeUnmounted)||iA)&&fe(()=>{vA&&Re(vA,p,d),iA&&It(d,null,p,"unmounted")},m)},QA=d=>{const{type:p,el:m,anchor:x,transition:I}=d;if(p===re){yA(m,x);return}if(p===is){y(d);return}const _=()=>{n(m),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(d.shapeFlag&1&&I&&!I.persisted){const{leave:k,delayLeave:K}=I,D=()=>k(m,_);K?K(d.el,_,D):D()}else _()},yA=(d,p)=>{let m;for(;d!==p;)m=f(d),n(d),d=m;n(p)},JA=(d,p,m)=>{const{bum:x,scope:I,update:_,subTree:k,um:K}=d;x&&rs(x),I.stop(),_&&(_.active=!1,sA(k,d,p,m)),K&&fe(K,p),fe(()=>{d.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},UA=(d,p,m,x=!1,I=!1,_=0)=>{for(let k=_;kd.shapeFlag&6?H(d.component.subTree):d.shapeFlag&128?d.suspense.next():f(d.anchor||d.el);let V=!1;const R=(d,p,m)=>{d==null?p._vnode&&sA(p._vnode,null,null,!0):h(p._vnode||null,d,p,null,null,null,m),V||(V=!0,Ja(),Ru(),V=!1),p._vnode=d},Y={p:h,um:sA,m:nA,r:QA,mt:aA,mc:v,pc:lA,pbc:O,n:H,o:A};let hA,xA;return e&&([hA,xA]=e(Y)),{render:R,hydrate:hA,createApp:Dd(R,hA)}}function Fi({type:A,props:e},t){return t==="svg"&&A==="foreignObject"||t==="mathml"&&A==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:t}function xt({effect:A,update:e},t){A.allowRecurse=e.allowRecurse=t}function Xd(A,e){return(!A||A&&!A.pendingBranch)&&e&&!e.persisted}function ga(A,e,t=!1){const r=A.children,n=e.children;if(AA(r)&&AA(n))for(let s=0;s>1,A[t[o]]0&&(e[r]=t[s-1]),t[s]=r)}}for(s=t.length,i=t[s-1];s-- >0;)t[s]=i,i=e[i];return t}function nf(A){const e=A.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:nf(e)}const Jd=A=>A.__isTeleport,Jr=A=>A&&(A.disabled||A.disabled===""),sl=A=>typeof SVGElement<"u"&&A instanceof SVGElement,il=A=>typeof MathMLElement=="function"&&A instanceof MathMLElement,co=(A,e)=>{const t=A&&A.to;return RA(t)?e?e(t):null:t},Wd={name:"Teleport",__isTeleport:!0,process(A,e,t,r,n,s,i,o,a,c){const{mc:l,pc:u,pbc:f,o:{insert:B,querySelector:g,createText:h,createComment:U}}=c,w=Jr(e.props);let{shapeFlag:C,children:F,dynamicChildren:y}=e;if(A==null){const E=e.el=h(""),Q=e.anchor=h("");B(E,t,r),B(Q,t,r);const L=e.target=co(e.props,g),v=e.targetAnchor=h("");L&&(B(v,L),i==="svg"||sl(L)?i="svg":(i==="mathml"||il(L))&&(i="mathml"));const b=(O,j)=>{C&16&&l(F,O,j,n,s,i,o,a)};w?b(t,Q):L&&b(L,v)}else{e.el=A.el;const E=e.anchor=A.anchor,Q=e.target=A.target,L=e.targetAnchor=A.targetAnchor,v=Jr(A.props),b=v?t:Q,O=v?E:L;if(i==="svg"||sl(Q)?i="svg":(i==="mathml"||il(Q))&&(i="mathml"),y?(f(A.dynamicChildren,y,b,n,s,i,o),ga(A,e,!0)):a||u(A,e,b,O,n,s,i,o,!1),w)v?e.props&&A.props&&e.props.to!==A.props.to&&(e.props.to=A.props.to):In(e,t,E,c,1);else if((e.props&&e.props.to)!==(A.props&&A.props.to)){const j=e.target=co(e.props,g);j&&In(e,j,null,c,0)}else v&&In(e,Q,L,c,1)}sf(e)},remove(A,e,t,r,{um:n,o:{remove:s}},i){const{shapeFlag:o,children:a,anchor:c,targetAnchor:l,target:u,props:f}=A;if(u&&s(l),i&&s(c),o&16){const B=i||!Jr(f);for(let g=0;g0?Se||cr:null,Zd(),on>0&&Se&&Se.push(A),A}function Xe(A,e,t,r,n,s){return of($(A,e,t,r,n,s,!0))}function hr(A,e,t,r,n){return of(uA(A,e,t,r,n,!0))}function uo(A){return A?A.__v_isVNode===!0:!1}function Dt(A,e){return A.type===e.type&&A.key===e.key}const js="__vInternal",af=({key:A})=>A??null,os=({ref:A,ref_key:e,ref_for:t})=>(typeof A=="number"&&(A=""+A),A!=null?RA(A)||kA(A)||oA(A)?{i:se,r:A,k:e,f:!!t}:A:null);function $(A,e=null,t=null,r=0,n=null,s=A===re?0:1,i=!1,o=!1){const a={__v_isVNode:!0,__v_skip:!0,type:A,props:e,key:e&&af(e),ref:e&&os(e),scopeId:$s,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:se};return o?(da(a,t),s&128&&A.normalize(a)):t&&(a.shapeFlag|=RA(t)?8:16),on>0&&!i&&Se&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&Se.push(a),a}const uA=zd;function zd(A,e=null,t=null,r=0,n=null,s=!1){if((!A||A===ad)&&(A=Ke),uo(A)){const o=et(A,e,!0);return t&&da(o,t),on>0&&!s&&Se&&(o.shapeFlag&6?Se[Se.indexOf(A)]=o:Se.push(o)),o.patchFlag|=-2,o}if(ch(A)&&(A=A.__vccOpts),e){e=qd(e);let{class:o,style:a}=e;o&&!RA(o)&&(e.class=Ze(o)),EA(a)&&(Iu(a)&&!AA(a)&&(a=$A({},a)),e.style=Ms(a))}const i=RA(A)?1:cd(A)?128:Jd(A)?64:EA(A)?4:oA(A)?2:0;return $(A,e,t,r,n,i,s,!0)}function qd(A){return A?Iu(A)||js in A?$A({},A):A:null}function et(A,e,t=!1){const{props:r,ref:n,patchFlag:s,children:i}=A,o=e?eh(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:A.type,props:o,key:o&&af(o),ref:e&&e.ref?t&&n?AA(n)?n.concat(os(e)):[n,os(e)]:os(e):n,scopeId:A.scopeId,slotScopeIds:A.slotScopeIds,children:i,target:A.target,targetAnchor:A.targetAnchor,staticCount:A.staticCount,shapeFlag:A.shapeFlag,patchFlag:e&&A.type!==re?s===-1?16:s|16:s,dynamicProps:A.dynamicProps,dynamicChildren:A.dynamicChildren,appContext:A.appContext,dirs:A.dirs,transition:A.transition,component:A.component,suspense:A.suspense,ssContent:A.ssContent&&et(A.ssContent),ssFallback:A.ssFallback&&et(A.ssFallback),el:A.el,anchor:A.anchor,ctx:A.ctx,ce:A.ce}}function Zs(A=" ",e=0){return uA(Ys,null,A,e)}function Ah(A,e){const t=uA(is,null,A);return t.staticCount=e,t}function lf(A="",e=!1){return e?(ie(),hr(Ke,null,A)):uA(Ke,null,A)}function Me(A){return A==null||typeof A=="boolean"?uA(Ke):AA(A)?uA(re,null,A.slice()):typeof A=="object"?Bt(A):uA(Ys,null,String(A))}function Bt(A){return A.el===null&&A.patchFlag!==-1||A.memo?A:et(A)}function da(A,e){let t=0;const{shapeFlag:r}=A;if(e==null)e=null;else if(AA(e))t=16;else if(typeof e=="object")if(r&65){const n=e.default;n&&(n._c&&(n._d=!1),da(A,n()),n._c&&(n._d=!0));return}else{t=32;const n=e._;!n&&!(js in e)?e._ctx=se:n===3&&se&&(se.slots._===1?e._=1:(e._=2,A.patchFlag|=1024))}else oA(e)?(e={default:e,_ctx:se},t=32):(e=String(e),r&64?(t=16,e=[Zs(e)]):t=8);A.children=e,A.shapeFlag|=t}function eh(...A){const e={};for(let t=0;tjA||se;let Cs,fo;{const A=lu(),e=(t,r)=>{let n;return(n=A[t])||(n=A[t]=[]),n.push(r),s=>{n.length>1?n.forEach(i=>i(s)):n[0](s)}};Cs=e("__VUE_INSTANCE_SETTERS__",t=>jA=t),fo=e("__VUE_SSR_SETTERS__",t=>zs=t)}const hn=A=>{const e=jA;return Cs(A),A.scope.on(),()=>{A.scope.off(),Cs(e)}},al=()=>{jA&&jA.scope.off(),Cs(null)};function cf(A){return A.vnode.shapeFlag&4}let zs=!1;function sh(A,e=!1){e&&fo(e);const{props:t,children:r}=A.vnode,n=cf(A);Rd(A,t,n,e),Nd(A,r);const s=n?ih(A,e):void 0;return e&&fo(!1),s}function ih(A,e){const t=A.type;A.accessCache=Object.create(null),A.proxy=Gs(new Proxy(A.ctx,Id));const{setup:r}=t;if(r){const n=A.setupContext=r.length>1?ah(A):null,s=hn(A);Wt();const i=vt(r,A,0,[A.props,n]);if(Yt(),s(),iu(i)){if(i.then(al,al),e)return i.then(o=>{ll(A,o,e)}).catch(o=>{Vs(o,A,0)});A.asyncDep=i}else ll(A,i,e)}else uf(A,e)}function ll(A,e,t){oA(e)?A.type.__ssrInlineRender?A.ssrRender=e:A.render=e:EA(e)&&(A.setupState=Ku(e)),uf(A,t)}let cl;function uf(A,e,t){const r=A.type;if(!A.render){if(!e&&cl&&!r.render){const n=r.template||fa(A).template;if(n){const{isCustomElement:s,compilerOptions:i}=A.appContext.config,{delimiters:o,compilerOptions:a}=r,c=$A($A({isCustomElement:s,delimiters:o},i),a);r.render=cl(n,c)}}A.render=r.render||ye}{const n=hn(A);Wt();try{xd(A)}finally{Yt(),n()}}}function oh(A){return A.attrsProxy||(A.attrsProxy=new Proxy(A.attrs,{get(e,t){return de(A,"get","$attrs"),e[t]}}))}function ah(A){const e=t=>{A.exposed=t||{}};return{get attrs(){return oh(A)},slots:A.slots,emit:A.emit,expose:e}}function qs(A){if(A.exposed)return A.exposeProxy||(A.exposeProxy=new Proxy(Ku(Gs(A.exposed)),{get(e,t){if(t in e)return e[t];if(t in $r)return $r[t](A)},has(e,t){return t in e||t in $r}}))}function lh(A,e=!0){return oA(A)?A.displayName||A.name:A.name||e&&A.__name}function ch(A){return oA(A)&&"__vccOpts"in A}const J=(A,e)=>Vg(A,e,zs);function NA(A,e,t){const r=arguments.length;return r===2?EA(e)&&!AA(e)?uo(e)?uA(A,null,[e]):uA(A,e):uA(A,null,e):(r>3?t=Array.prototype.slice.call(arguments,2):r===3&&uo(t)&&(t=[t]),uA(A,e,t))}const uh="3.4.18";/** * @vue/runtime-dom v3.4.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -18,14 +18,14 @@ * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let df;const Ai=A=>df=A,hf=Symbol();function go(A){return A&&typeof A=="object"&&Object.prototype.toString.call(A)==="[object Object]"&&typeof A.toJSON!="function"}var Yr;(function(A){A.direct="direct",A.patchObject="patch object",A.patchFunction="patch function"})(Yr||(Yr={}));function Xh(){const A=gu(!0),e=A.run(()=>q({}));let t=[],r=[];const n=Gs({install(s){Ai(n),n._a=s,s.provide(hf,n),s.config.globalProperties.$pinia=n,r.forEach(i=>t.push(i)),r=[]},use(s){return!this._a&&!Vh?r.push(s):t.push(s),this},_p:t,_a:null,_e:A,_s:new Map,state:e});return n}const pf=()=>{};function yl(A,e,t,r=pf){A.push(e);const n=()=>{const s=A.indexOf(e);s>-1&&(A.splice(s,1),r())};return!t&&du()&&vg(n),n}function qt(A,...e){A.slice().forEach(t=>{t(...e)})}const $h=A=>A();function ho(A,e){A instanceof Map&&e instanceof Map&&e.forEach((t,r)=>A.set(r,t)),A instanceof Set&&e instanceof Set&&e.forEach(A.add,A);for(const t in e){if(!e.hasOwnProperty(t))continue;const r=e[t],n=A[t];go(n)&&go(r)&&A.hasOwnProperty(t)&&!kA(r)&&!ze(r)?A[t]=ho(n,r):A[t]=r}return A}const Jh=Symbol();function Wh(A){return!go(A)||!A.hasOwnProperty(Jh)}const{assign:at}=Object;function Yh(A){return!!(kA(A)&&A.effect)}function jh(A,e,t,r){const{state:n,actions:s,getters:i}=e,o=t.state.value[A];let a;function c(){o||(t.state.value[A]=n?n():{});const l=Jg(t.state.value[A]);return at(l,s,Object.keys(i||{}).reduce((u,f)=>(u[f]=Gs(J(()=>{Ai(t);const B=t._s.get(A);return i[f].call(B,B)})),u),{}))}return a=wf(A,c,e,t,r,!0),a}function wf(A,e,t={},r,n,s){let i;const o=at({actions:{}},t),a={deep:!0};let c,l,u=[],f=[],B;const g=r.state.value[A];!s&&!g&&(r.state.value[A]={}),q({});let h;function U(v){let b;c=l=!1,typeof v=="function"?(v(r.state.value[A]),b={type:Yr.patchFunction,storeId:A,events:B}):(ho(r.state.value[A],v),b={type:Yr.patchObject,payload:v,storeId:A,events:B});const O=h=Symbol();Te().then(()=>{h===O&&(c=!0)}),l=!0,qt(u,b,r.state.value[A])}const w=s?function(){const{state:b}=t,O=b?b():{};this.$patch(j=>{at(j,O)})}:pf;function C(){i.stop(),u=[],f=[],r._s.delete(A)}function F(v,b){return function(){Ai(r);const O=Array.from(arguments),j=[],T=[];function P(W){j.push(W)}function aA(W){T.push(W)}qt(f,{args:O,name:v,store:E,after:P,onError:aA});let gA;try{gA=b.apply(this&&this.$id===A?this:E,O)}catch(W){throw qt(T,W),W}return gA instanceof Promise?gA.then(W=>(qt(j,W),W)).catch(W=>(qt(T,W),Promise.reject(W))):(qt(j,gA),gA)}}const y={_p:r,$id:A,$onAction:yl.bind(null,f),$patch:U,$reset:w,$subscribe(v,b={}){const O=yl(u,v,b.detached,()=>j()),j=i.run(()=>ie(()=>r.state.value[A],T=>{(b.flush==="sync"?l:c)&&v({storeId:A,type:Yr.direct,events:B},T)},at({},a,b)));return O},$dispose:C},E=Ur(y);r._s.set(A,E);const L=(r._a&&r._a.runWithContext||$h)(()=>r._e.run(()=>(i=gu()).run(e)));for(const v in L){const b=L[v];if(kA(b)&&!Yh(b)||ze(b))s||(g&&Wh(b)&&(kA(b)?b.value=g[v]:ho(b,g[v])),r.state.value[A][v]=b);else if(typeof b=="function"){const O=F(v,b);L[v]=O,o.actions[v]=b}}return at(E,L),at(rA(E),L),Object.defineProperty(E,"$state",{get:()=>r.state.value[A],set:v=>{U(b=>{at(b,v)})}}),r._p.forEach(v=>{at(E,i.run(()=>v({store:E,app:r._a,pinia:r,options:o})))}),g&&s&&t.hydrate&&t.hydrate(E.$state,g),c=!0,l=!0,E}function Zh(A,e,t){let r,n;const s=typeof e=="function";typeof A=="string"?(r=A,n=s?t:e):(n=A,r=A.id);function i(o,a){const c=Od();return o=o||(c?KA(hf,null):null),o&&Ai(o),o=df,o._s.has(r)||(s?wf(r,e,n,o):jh(r,n,o)),o._s.get(r)}return i.$id=r,i}function zh(A){{A=rA(A);const e={};for(const t in A){const r=A[t];(kA(r)||ze(r))&&(e[t]=jg(A,t))}return e}}/*! + */let df;const Ai=A=>df=A,hf=Symbol();function go(A){return A&&typeof A=="object"&&Object.prototype.toString.call(A)==="[object Object]"&&typeof A.toJSON!="function"}var Yr;(function(A){A.direct="direct",A.patchObject="patch object",A.patchFunction="patch function"})(Yr||(Yr={}));function Xh(){const A=gu(!0),e=A.run(()=>q({}));let t=[],r=[];const n=Gs({install(s){Ai(n),n._a=s,s.provide(hf,n),s.config.globalProperties.$pinia=n,r.forEach(i=>t.push(i)),r=[]},use(s){return!this._a&&!Vh?r.push(s):t.push(s),this},_p:t,_a:null,_e:A,_s:new Map,state:e});return n}const pf=()=>{};function yl(A,e,t,r=pf){A.push(e);const n=()=>{const s=A.indexOf(e);s>-1&&(A.splice(s,1),r())};return!t&&du()&&vg(n),n}function qt(A,...e){A.slice().forEach(t=>{t(...e)})}const $h=A=>A();function ho(A,e){A instanceof Map&&e instanceof Map&&e.forEach((t,r)=>A.set(r,t)),A instanceof Set&&e instanceof Set&&e.forEach(A.add,A);for(const t in e){if(!e.hasOwnProperty(t))continue;const r=e[t],n=A[t];go(n)&&go(r)&&A.hasOwnProperty(t)&&!kA(r)&&!qe(r)?A[t]=ho(n,r):A[t]=r}return A}const Jh=Symbol();function Wh(A){return!go(A)||!A.hasOwnProperty(Jh)}const{assign:at}=Object;function Yh(A){return!!(kA(A)&&A.effect)}function jh(A,e,t,r){const{state:n,actions:s,getters:i}=e,o=t.state.value[A];let a;function c(){o||(t.state.value[A]=n?n():{});const l=Jg(t.state.value[A]);return at(l,s,Object.keys(i||{}).reduce((u,f)=>(u[f]=Gs(J(()=>{Ai(t);const B=t._s.get(A);return i[f].call(B,B)})),u),{}))}return a=wf(A,c,e,t,r,!0),a}function wf(A,e,t={},r,n,s){let i;const o=at({actions:{}},t),a={deep:!0};let c,l,u=[],f=[],B;const g=r.state.value[A];!s&&!g&&(r.state.value[A]={}),q({});let h;function U(v){let b;c=l=!1,typeof v=="function"?(v(r.state.value[A]),b={type:Yr.patchFunction,storeId:A,events:B}):(ho(r.state.value[A],v),b={type:Yr.patchObject,payload:v,storeId:A,events:B});const O=h=Symbol();Te().then(()=>{h===O&&(c=!0)}),l=!0,qt(u,b,r.state.value[A])}const w=s?function(){const{state:b}=t,O=b?b():{};this.$patch(j=>{at(j,O)})}:pf;function C(){i.stop(),u=[],f=[],r._s.delete(A)}function F(v,b){return function(){Ai(r);const O=Array.from(arguments),j=[],T=[];function P(W){j.push(W)}function aA(W){T.push(W)}qt(f,{args:O,name:v,store:E,after:P,onError:aA});let gA;try{gA=b.apply(this&&this.$id===A?this:E,O)}catch(W){throw qt(T,W),W}return gA instanceof Promise?gA.then(W=>(qt(j,W),W)).catch(W=>(qt(T,W),Promise.reject(W))):(qt(j,gA),gA)}}const y={_p:r,$id:A,$onAction:yl.bind(null,f),$patch:U,$reset:w,$subscribe(v,b={}){const O=yl(u,v,b.detached,()=>j()),j=i.run(()=>oe(()=>r.state.value[A],T=>{(b.flush==="sync"?l:c)&&v({storeId:A,type:Yr.direct,events:B},T)},at({},a,b)));return O},$dispose:C},E=Ur(y);r._s.set(A,E);const L=(r._a&&r._a.runWithContext||$h)(()=>r._e.run(()=>(i=gu()).run(e)));for(const v in L){const b=L[v];if(kA(b)&&!Yh(b)||qe(b))s||(g&&Wh(b)&&(kA(b)?b.value=g[v]:ho(b,g[v])),r.state.value[A][v]=b);else if(typeof b=="function"){const O=F(v,b);L[v]=O,o.actions[v]=b}}return at(E,L),at(rA(E),L),Object.defineProperty(E,"$state",{get:()=>r.state.value[A],set:v=>{U(b=>{at(b,v)})}}),r._p.forEach(v=>{at(E,i.run(()=>v({store:E,app:r._a,pinia:r,options:o})))}),g&&s&&t.hydrate&&t.hydrate(E.$state,g),c=!0,l=!0,E}function Zh(A,e,t){let r,n;const s=typeof e=="function";typeof A=="string"?(r=A,n=s?t:e):(n=A,r=A.id);function i(o,a){const c=Od();return o=o||(c?KA(hf,null):null),o&&Ai(o),o=df,o._s.has(r)||(s?wf(r,e,n,o):jh(r,n,o)),o._s.get(r)}return i.$id=r,i}function zh(A){{A=rA(A);const e={};for(const t in A){const r=A[t];(kA(r)||qe(r))&&(e[t]=jg(A,t))}return e}}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const ir=typeof window<"u";function qh(A){return A.__esModule||A[Symbol.toStringTag]==="Module"}const CA=Object.assign;function yi(A,e){const t={};for(const r in e){const n=e[r];t[r]=_e(n)?n.map(A):A(n)}return t}const jr=()=>{},_e=Array.isArray,Ap=/\/$/,ep=A=>A.replace(Ap,"");function bi(A,e,t="/"){let r,n={},s="",i="";const o=e.indexOf("#");let a=e.indexOf("?");return o=0&&(a=-1),a>-1&&(r=e.slice(0,a),s=e.slice(a+1,o>-1?o:e.length),n=A(s)),o>-1&&(r=r||e.slice(0,o),i=e.slice(o,e.length)),r=sp(r??e,t),{fullPath:r+(s&&"?")+s+i,path:r,query:n,hash:i}}function tp(A,e){const t=e.query?A(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function bl(A,e){return!e||!A.toLowerCase().startsWith(e.toLowerCase())?A:A.slice(e.length)||"/"}function rp(A,e,t){const r=e.matched.length-1,n=t.matched.length-1;return r>-1&&r===n&&pr(e.matched[r],t.matched[n])&&Qf(e.params,t.params)&&A(e.query)===A(t.query)&&e.hash===t.hash}function pr(A,e){return(A.aliasOf||A)===(e.aliasOf||e)}function Qf(A,e){if(Object.keys(A).length!==Object.keys(e).length)return!1;for(const t in A)if(!np(A[t],e[t]))return!1;return!0}function np(A,e){return _e(A)?Hl(A,e):_e(e)?Hl(e,A):A===e}function Hl(A,e){return _e(e)?A.length===e.length&&A.every((t,r)=>t===e[r]):A.length===1&&A[0]===e}function sp(A,e){if(A.startsWith("/"))return A;if(!A)return e;const t=e.split("/"),r=A.split("/"),n=r[r.length-1];(n===".."||n===".")&&r.push("");let s=t.length-1,i,o;for(i=0;i1&&s--;else break;return t.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var cn;(function(A){A.pop="pop",A.push="push"})(cn||(cn={}));var Zr;(function(A){A.back="back",A.forward="forward",A.unknown=""})(Zr||(Zr={}));function ip(A){if(!A)if(ir){const e=document.querySelector("base");A=e&&e.getAttribute("href")||"/",A=A.replace(/^\w+:\/\/[^\/]+/,"")}else A="/";return A[0]!=="/"&&A[0]!=="#"&&(A="/"+A),ep(A)}const op=/^[^#]+#/;function ap(A,e){return A.replace(op,"#")+e}function lp(A,e){const t=document.documentElement.getBoundingClientRect(),r=A.getBoundingClientRect();return{behavior:e.behavior,left:r.left-t.left-(e.left||0),top:r.top-t.top-(e.top||0)}}const ei=()=>({left:window.pageXOffset,top:window.pageYOffset});function cp(A){let e;if("el"in A){const t=A.el,r=typeof t=="string"&&t.startsWith("#"),n=typeof t=="string"?r?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!n)return;e=lp(n,A)}else e=A;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Il(A,e){return(history.state?history.state.position-e:-1)+A}const po=new Map;function up(A,e){po.set(A,e)}function fp(A){const e=po.get(A);return po.delete(A),e}let Bp=()=>location.protocol+"//"+location.host;function Cf(A,e){const{pathname:t,search:r,hash:n}=e,s=A.indexOf("#");if(s>-1){let o=n.includes(A.slice(s))?A.slice(s).length:1,a=n.slice(o);return a[0]!=="/"&&(a="/"+a),bl(a,"")}return bl(t,A)+r+n}function gp(A,e,t,r){let n=[],s=[],i=null;const o=({state:f})=>{const B=Cf(A,location),g=t.value,h=e.value;let U=0;if(f){if(t.value=B,e.value=f,i&&i===g){i=null;return}U=h?f.position-h.position:0}else r(B);n.forEach(w=>{w(t.value,g,{delta:U,type:cn.pop,direction:U?U>0?Zr.forward:Zr.back:Zr.unknown})})};function a(){i=t.value}function c(f){n.push(f);const B=()=>{const g=n.indexOf(f);g>-1&&n.splice(g,1)};return s.push(B),B}function l(){const{history:f}=window;f.state&&f.replaceState(CA({},f.state,{scroll:ei()}),"")}function u(){for(const f of s)f();s=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:a,listen:c,destroy:u}}function xl(A,e,t,r=!1,n=!1){return{back:A,current:e,forward:t,replaced:r,position:window.history.length,scroll:n?ei():null}}function dp(A){const{history:e,location:t}=window,r={value:Cf(A,t)},n={value:e.state};n.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(a,c,l){const u=A.indexOf("#"),f=u>-1?(t.host&&document.querySelector("base")?A:A.slice(u))+a:Bp()+A+a;try{e[l?"replaceState":"pushState"](c,"",f),n.value=c}catch(B){console.error(B),t[l?"replace":"assign"](f)}}function i(a,c){const l=CA({},e.state,xl(n.value.back,a,n.value.forward,!0),c,{position:n.value.position});s(a,l,!0),r.value=a}function o(a,c){const l=CA({},n.value,e.state,{forward:a,scroll:ei()});s(l.current,l,!0);const u=CA({},xl(r.value,a,null),{position:l.position+1},c);s(a,u,!1),r.value=a}return{location:r,state:n,push:o,replace:i}}function hp(A){A=ip(A);const e=dp(A),t=gp(A,e.state,e.location,e.replace);function r(s,i=!0){i||t.pauseListeners(),history.go(s)}const n=CA({location:"",base:A,go:r,createHref:ap.bind(null,A)},e,t);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>e.state.value}),n}function pp(A){return typeof A=="string"||A&&typeof A=="object"}function Ff(A){return typeof A=="string"||typeof A=="symbol"}const ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Uf=Symbol("");var Ll;(function(A){A[A.aborted=4]="aborted",A[A.cancelled=8]="cancelled",A[A.duplicated=16]="duplicated"})(Ll||(Ll={}));function wr(A,e){return CA(new Error,{type:A,[Uf]:!0},e)}function Je(A,e){return A instanceof Error&&Uf in A&&(e==null||!!(A.type&e))}const Sl="[^/]+?",wp={sensitive:!1,strict:!1,start:!0,end:!0},Qp=/[.+*?^${}()[\]/\\]/g;function Cp(A,e){const t=CA({},wp,e),r=[];let n=t.start?"^":"";const s=[];for(const c of A){const l=c.length?[]:[90];t.strict&&!c.length&&(n+="/");for(let u=0;ue.length?e.length===1&&e[0]===80?1:-1:0}function Up(A,e){let t=0;const r=A.score,n=e.score;for(;t0&&e[e.length-1]<0}const vp={type:0,value:""},mp=/[a-zA-Z0-9_]/;function Ep(A){if(!A)return[[]];if(A==="/")return[[vp]];if(!A.startsWith("/"))throw new Error(`Invalid path "${A}"`);function e(B){throw new Error(`ERR (${t})/"${c}": ${B}`)}let t=0,r=t;const n=[];let s;function i(){s&&n.push(s),s=[]}let o=0,a,c="",l="";function u(){c&&(t===0?s.push({type:0,value:c}):t===1||t===2||t===3?(s.length>1&&(a==="*"||a==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:l,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;o{i(C)}:jr}function i(l){if(Ff(l)){const u=r.get(l);u&&(r.delete(l),t.splice(t.indexOf(u),1),u.children.forEach(i),u.alias.forEach(i))}else{const u=t.indexOf(l);u>-1&&(t.splice(u,1),l.record.name&&r.delete(l.record.name),l.children.forEach(i),l.alias.forEach(i))}}function o(){return t}function a(l){let u=0;for(;u=0&&(l.record.path!==t[u].record.path||!vf(l,t[u]));)u++;t.splice(u,0,l),l.record.name&&!_l(l)&&r.set(l.record.name,l)}function c(l,u){let f,B={},g,h;if("name"in l&&l.name){if(f=r.get(l.name),!f)throw wr(1,{location:l});h=f.record.name,B=CA(Kl(u.params,f.keys.filter(C=>!C.optional).map(C=>C.name)),l.params&&Kl(l.params,f.keys.map(C=>C.name))),g=f.stringify(B)}else if("path"in l)g=l.path,f=t.find(C=>C.re.test(g)),f&&(B=f.parse(g),h=f.record.name);else{if(f=u.name?r.get(u.name):t.find(C=>C.re.test(u.path)),!f)throw wr(1,{location:l,currentLocation:u});h=f.record.name,B=CA({},u.params,l.params),g=f.stringify(B)}const U=[];let w=f;for(;w;)U.unshift(w.record),w=w.parent;return{name:h,path:g,params:B,matched:U,meta:xp(U)}}return A.forEach(l=>s(l)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:o,getRecordMatcher:n}}function Kl(A,e){const t={};for(const r of e)r in A&&(t[r]=A[r]);return t}function Hp(A){return{path:A.path,redirect:A.redirect,name:A.name,meta:A.meta||{},aliasOf:void 0,beforeEnter:A.beforeEnter,props:Ip(A),children:A.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in A?A.components||null:A.component&&{default:A.component}}}function Ip(A){const e={},t=A.props||!1;if("component"in A)e.default=t;else for(const r in A.components)e[r]=typeof t=="object"?t[r]:t;return e}function _l(A){for(;A;){if(A.record.aliasOf)return!0;A=A.parent}return!1}function xp(A){return A.reduce((e,t)=>CA(e,t.meta),{})}function Dl(A,e){const t={};for(const r in A)t[r]=r in e?e[r]:A[r];return t}function vf(A,e){return e.children.some(t=>t===A||vf(A,t))}const mf=/#/g,Lp=/&/g,Sp=/\//g,Tp=/=/g,Kp=/\?/g,Ef=/\+/g,_p=/%5B/g,Dp=/%5D/g,yf=/%5E/g,Op=/%60/g,bf=/%7B/g,Rp=/%7C/g,Hf=/%7D/g,kp=/%20/g;function wa(A){return encodeURI(""+A).replace(Rp,"|").replace(_p,"[").replace(Dp,"]")}function Mp(A){return wa(A).replace(bf,"{").replace(Hf,"}").replace(yf,"^")}function wo(A){return wa(A).replace(Ef,"%2B").replace(kp,"+").replace(mf,"%23").replace(Lp,"%26").replace(Op,"`").replace(bf,"{").replace(Hf,"}").replace(yf,"^")}function Np(A){return wo(A).replace(Tp,"%3D")}function Pp(A){return wa(A).replace(mf,"%23").replace(Kp,"%3F")}function Gp(A){return A==null?"":Pp(A).replace(Sp,"%2F")}function Fs(A){try{return decodeURIComponent(""+A)}catch{}return""+A}function Vp(A){const e={};if(A===""||A==="?")return e;const r=(A[0]==="?"?A.slice(1):A).split("&");for(let n=0;ns&&wo(s)):[r&&wo(r)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function Xp(A){const e={};for(const t in A){const r=A[t];r!==void 0&&(e[t]=_e(r)?r.map(n=>n==null?null:""+n):r==null?r:""+r)}return e}const $p=Symbol(""),Rl=Symbol(""),Qa=Symbol(""),If=Symbol(""),Qo=Symbol("");function Ir(){let A=[];function e(r){return A.push(r),()=>{const n=A.indexOf(r);n>-1&&A.splice(n,1)}}function t(){A=[]}return{add:e,list:()=>A.slice(),reset:t}}function dt(A,e,t,r,n){const s=r&&(r.enterCallbacks[n]=r.enterCallbacks[n]||[]);return()=>new Promise((i,o)=>{const a=u=>{u===!1?o(wr(4,{from:t,to:e})):u instanceof Error?o(u):pp(u)?o(wr(2,{from:e,to:u})):(s&&r.enterCallbacks[n]===s&&typeof u=="function"&&s.push(u),i())},c=A.call(r&&r.instances[n],e,t,a);let l=Promise.resolve(c);A.length<3&&(l=l.then(a)),l.catch(u=>o(u))})}function Hi(A,e,t,r){const n=[];for(const s of A)for(const i in s.components){let o=s.components[i];if(!(e!=="beforeRouteEnter"&&!s.instances[i]))if(Jp(o)){const c=(o.__vccOpts||o)[e];c&&n.push(dt(c,t,r,s,i))}else{let a=o();n.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const l=qh(c)?c.default:c;s.components[i]=l;const f=(l.__vccOpts||l)[e];return f&&dt(f,t,r,s,i)()}))}}return n}function Jp(A){return typeof A=="object"||"displayName"in A||"props"in A||"__vccOpts"in A}function kl(A){const e=KA(Qa),t=KA(If),r=J(()=>e.resolve(bA(A.to))),n=J(()=>{const{matched:a}=r.value,{length:c}=a,l=a[c-1],u=t.matched;if(!l||!u.length)return-1;const f=u.findIndex(pr.bind(null,l));if(f>-1)return f;const B=Ml(a[c-2]);return c>1&&Ml(l)===B&&u[u.length-1].path!==B?u.findIndex(pr.bind(null,a[c-2])):f}),s=J(()=>n.value>-1&&Zp(t.params,r.value.params)),i=J(()=>n.value>-1&&n.value===t.matched.length-1&&Qf(t.params,r.value.params));function o(a={}){return jp(a)?e[bA(A.replace)?"replace":"push"](bA(A.to)).catch(jr):Promise.resolve()}return{route:r,href:J(()=>r.value.href),isActive:s,isExactActive:i,navigate:o}}const Wp=_A({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:kl,setup(A,{slots:e}){const t=Ur(kl(A)),{options:r}=KA(Qa),n=J(()=>({[Nl(A.activeClass,r.linkActiveClass,"router-link-active")]:t.isActive,[Nl(A.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&e.default(t);return A.custom?s:NA("a",{"aria-current":t.isExactActive?A.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:n.value},s)}}}),Yp=Wp;function jp(A){if(!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)&&!A.defaultPrevented&&!(A.button!==void 0&&A.button!==0)){if(A.currentTarget&&A.currentTarget.getAttribute){const e=A.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return A.preventDefault&&A.preventDefault(),!0}}function Zp(A,e){for(const t in e){const r=e[t],n=A[t];if(typeof r=="string"){if(r!==n)return!1}else if(!_e(n)||n.length!==r.length||r.some((s,i)=>s!==n[i]))return!1}return!0}function Ml(A){return A?A.aliasOf?A.aliasOf.path:A.path:""}const Nl=(A,e,t)=>A??e??t,zp=_A({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(A,{attrs:e,slots:t}){const r=KA(Qo),n=J(()=>A.route||r.value),s=KA(Rl,0),i=J(()=>{let c=bA(s);const{matched:l}=n.value;let u;for(;(u=l[c])&&!u.components;)c++;return c}),o=J(()=>n.value.matched[i.value]);ue(Rl,J(()=>i.value+1)),ue($p,o),ue(Qo,n);const a=q();return ie(()=>[a.value,o.value,A.name],([c,l,u],[f,B,g])=>{l&&(l.instances[u]=c,B&&B!==l&&c&&c===f&&(l.leaveGuards.size||(l.leaveGuards=B.leaveGuards),l.updateGuards.size||(l.updateGuards=B.updateGuards))),c&&l&&(!B||!pr(l,B)||!f)&&(l.enterCallbacks[u]||[]).forEach(h=>h(c))},{flush:"post"}),()=>{const c=n.value,l=A.name,u=o.value,f=u&&u.components[l];if(!f)return Pl(t.default,{Component:f,route:c});const B=u.props[l],g=B?B===!0?c.params:typeof B=="function"?B(c):B:null,U=NA(f,CA({},g,e,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(u.instances[l]=null)},ref:a}));return Pl(t.default,{Component:U,route:c})||U}}});function Pl(A,e){if(!A)return null;const t=A(e);return t.length===1?t[0]:t}const xf=zp;function qp(A){const e=bp(A.routes,A),t=A.parseQuery||Vp,r=A.stringifyQuery||Ol,n=A.history,s=Ir(),i=Ir(),o=Ir(),a=Su(ot);let c=ot;ir&&A.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=yi.bind(null,H=>""+H),u=yi.bind(null,Gp),f=yi.bind(null,Fs);function B(H,V){let R,Y;return Ff(H)?(R=e.getRecordMatcher(H),Y=V):Y=H,e.addRoute(Y,R)}function g(H){const V=e.getRecordMatcher(H);V&&e.removeRoute(V)}function h(){return e.getRoutes().map(H=>H.record)}function U(H){return!!e.getRecordMatcher(H)}function w(H,V){if(V=CA({},V||a.value),typeof H=="string"){const p=bi(t,H,V.path),m=e.resolve({path:p.path},V),x=n.createHref(p.fullPath);return CA(p,m,{params:f(m.params),hash:Fs(p.hash),redirectedFrom:void 0,href:x})}let R;if("path"in H)R=CA({},H,{path:bi(t,H.path,V.path).path});else{const p=CA({},H.params);for(const m in p)p[m]==null&&delete p[m];R=CA({},H,{params:u(p)}),V.params=u(V.params)}const Y=e.resolve(R,V),hA=H.hash||"";Y.params=l(f(Y.params));const xA=tp(r,CA({},H,{hash:Mp(hA),path:Y.path})),d=n.createHref(xA);return CA({fullPath:xA,hash:hA,query:r===Ol?Xp(H.query):H.query||{}},Y,{redirectedFrom:void 0,href:d})}function C(H){return typeof H=="string"?bi(t,H,a.value.path):CA({},H)}function F(H,V){if(c!==H)return wr(8,{from:V,to:H})}function y(H){return L(H)}function E(H){return y(CA(C(H),{replace:!0}))}function Q(H){const V=H.matched[H.matched.length-1];if(V&&V.redirect){const{redirect:R}=V;let Y=typeof R=="function"?R(H):R;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=C(Y):{path:Y},Y.params={}),CA({query:H.query,hash:H.hash,params:"path"in Y?{}:H.params},Y)}}function L(H,V){const R=c=w(H),Y=a.value,hA=H.state,xA=H.force,d=H.replace===!0,p=Q(R);if(p)return L(CA(C(p),{state:typeof p=="object"?CA({},hA,p.state):hA,force:xA,replace:d}),V||R);const m=R;m.redirectedFrom=V;let x;return!xA&&rp(r,Y,R)&&(x=wr(16,{to:m,from:Y}),nA(Y,Y,!0,!1)),(x?Promise.resolve(x):O(m,Y)).catch(I=>Je(I)?Je(I,2)?I:MA(I):lA(I,m,Y)).then(I=>{if(I){if(Je(I,2))return L(CA({replace:d},C(I.to),{state:typeof I.to=="object"?CA({},hA,I.to.state):hA,force:xA}),V||m)}else I=T(m,Y,!0,d,hA);return j(m,Y,I),I})}function v(H,V){const R=F(H,V);return R?Promise.reject(R):Promise.resolve()}function b(H){const V=yA.values().next().value;return V&&typeof V.runWithContext=="function"?V.runWithContext(H):H()}function O(H,V){let R;const[Y,hA,xA]=Aw(H,V);R=Hi(Y.reverse(),"beforeRouteLeave",H,V);for(const p of Y)p.leaveGuards.forEach(m=>{R.push(dt(m,H,V))});const d=v.bind(null,H,V);return R.push(d),UA(R).then(()=>{R=[];for(const p of s.list())R.push(dt(p,H,V));return R.push(d),UA(R)}).then(()=>{R=Hi(hA,"beforeRouteUpdate",H,V);for(const p of hA)p.updateGuards.forEach(m=>{R.push(dt(m,H,V))});return R.push(d),UA(R)}).then(()=>{R=[];for(const p of xA)if(p.beforeEnter)if(_e(p.beforeEnter))for(const m of p.beforeEnter)R.push(dt(m,H,V));else R.push(dt(p.beforeEnter,H,V));return R.push(d),UA(R)}).then(()=>(H.matched.forEach(p=>p.enterCallbacks={}),R=Hi(xA,"beforeRouteEnter",H,V),R.push(d),UA(R))).then(()=>{R=[];for(const p of i.list())R.push(dt(p,H,V));return R.push(d),UA(R)}).catch(p=>Je(p,8)?p:Promise.reject(p))}function j(H,V,R){o.list().forEach(Y=>b(()=>Y(H,V,R)))}function T(H,V,R,Y,hA){const xA=F(H,V);if(xA)return xA;const d=V===ot,p=ir?history.state:{};R&&(Y||d?n.replace(H.fullPath,CA({scroll:d&&p&&p.scroll},hA)):n.push(H.fullPath,hA)),a.value=H,nA(H,V,R,d),MA()}let P;function aA(){P||(P=n.listen((H,V,R)=>{if(!JA.listening)return;const Y=w(H),hA=Q(Y);if(hA){L(CA(hA,{replace:!0}),Y).catch(jr);return}c=Y;const xA=a.value;ir&&up(Il(xA.fullPath,R.delta),ei()),O(Y,xA).catch(d=>Je(d,12)?d:Je(d,2)?(L(d.to,Y).then(p=>{Je(p,20)&&!R.delta&&R.type===cn.pop&&n.go(-1,!1)}).catch(jr),Promise.reject()):(R.delta&&n.go(-R.delta,!1),lA(d,Y,xA))).then(d=>{d=d||T(Y,xA,!1),d&&(R.delta&&!Je(d,8)?n.go(-R.delta,!1):R.type===cn.pop&&Je(d,20)&&n.go(-1,!1)),j(Y,xA,d)}).catch(jr)}))}let gA=Ir(),W=Ir(),tA;function lA(H,V,R){MA(H);const Y=W.list();return Y.length?Y.forEach(hA=>hA(H,V,R)):console.error(H),Promise.reject(H)}function TA(){return tA&&a.value!==ot?Promise.resolve():new Promise((H,V)=>{gA.add([H,V])})}function MA(H){return tA||(tA=!H,aA(),gA.list().forEach(([V,R])=>H?R(H):V()),gA.reset()),H}function nA(H,V,R,Y){const{scrollBehavior:hA}=A;if(!ir||!hA)return Promise.resolve();const xA=!R&&fp(Il(H.fullPath,0))||(Y||!R)&&history.state&&history.state.scroll||null;return Te().then(()=>hA(H,V,xA)).then(d=>d&&cp(d)).catch(d=>lA(d,H,V))}const sA=H=>n.go(H);let QA;const yA=new Set,JA={currentRoute:a,listening:!0,addRoute:B,removeRoute:g,hasRoute:U,getRoutes:h,resolve:w,options:A,push:y,replace:E,go:sA,back:()=>sA(-1),forward:()=>sA(1),beforeEach:s.add,beforeResolve:i.add,afterEach:o.add,onError:W.add,isReady:TA,install(H){const V=this;H.component("RouterLink",Yp),H.component("RouterView",xf),H.config.globalProperties.$router=V,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>bA(a)}),ir&&!QA&&a.value===ot&&(QA=!0,y(n.location).catch(hA=>{}));const R={};for(const hA in ot)Object.defineProperty(R,hA,{get:()=>a.value[hA],enumerable:!0});H.provide(Qa,V),H.provide(If,bu(R)),H.provide(Qo,a);const Y=H.unmount;yA.add(H),H.unmount=function(){yA.delete(H),yA.size<1&&(c=ot,P&&P(),P=null,a.value=ot,QA=!1,tA=!1),Y()}}};function UA(H){return H.reduce((V,R)=>V.then(()=>b(R)),Promise.resolve())}return JA}function Aw(A,e){const t=[],r=[],n=[],s=Math.max(e.matched.length,A.matched.length);for(let i=0;ipr(c,o))?r.push(o):t.push(o));const a=A.matched[i];a&&(e.matched.find(c=>pr(c,a))||n.push(a))}return[t,r,n]}const ew="/assets/logo-gES3P5SW.png",ti=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},tw={},rw={class:"top-0 left-0 flex flex-col items-center w-screen"},nw={class:"flex items-center justify-between w-full px-6 py-2"},sw=$("img",{src:ew,alt:"玉桃文飨轩",width:"50",height:"50"},null,-1),iw=$("h1",{class:"text-xl font-bold rainbow-text"},"玉桃文飨轩",-1),ow={class:"flex flex-row items-center justify-center space-x-6"},aw=$("svg",{viewBox:"0 0 16 16",fill:"#131313",class:"w-8 h-8"},[$("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})],-1),lw=[aw];function cw(A,e){const t=od("RouterLink");return ce(),At("header",rw,[$("nav",nw,[uA(t,{class:"inline-flex flex-row items-center space-x-2 link",onClick:e[0]||(e[0]=r=>A.$reortGaEvent("recommand","footer")),to:"/"},{default:ge(()=>[sw,iw]),_:1}),$("div",ow,[uA(t,{to:"/about",class:"text-lg"},{default:ge(()=>[Zs("关于")]),_:1}),$("a",{target:"_blank",rel:"noreferrer",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:"https://github.com/nicejade/markdown2png",onClick:e[1]||(e[1]=r=>A.$reortGaEvent("github-repository","header"))},lw)])])])}const uw=ti(tw,[["render",cw]]),fw=_A({__name:"App",setup(A){return(e,t)=>(ce(),At(re,null,[uA(uw),uA(bA(xf))],64))}}),Bw="modulepreload",gw=function(A){return"/"+A},Gl={},Lf=function(e,t,r){let n=Promise.resolve();if(t&&t.length>0){const s=document.getElementsByTagName("link");n=Promise.all(t.map(i=>{if(i=gw(i),i in Gl)return;Gl[i]=!0;const o=i.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!r)for(let u=s.length-1;u>=0;u--){const f=s[u];if(f.href===i&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const l=document.createElement("link");if(l.rel=o?"stylesheet":Bw,o||(l.as="script",l.crossOrigin=""),l.href=i,document.head.appendChild(l),o)return new Promise((u,f)=>{l.addEventListener("load",u),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})}))}return n.then(()=>e()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})};function Ca(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let jt=Ca();function Sf(A){jt=A}const Tf=/[&<>"']/,dw=new RegExp(Tf.source,"g"),Kf=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,hw=new RegExp(Kf.source,"g"),pw={"&":"&","<":"<",">":">",'"':""","'":"'"},Vl=A=>pw[A];function Ce(A,e){if(e){if(Tf.test(A))return A.replace(dw,Vl)}else if(Kf.test(A))return A.replace(hw,Vl);return A}const ww=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Qw(A){return A.replace(ww,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const Cw=/(^|[^\[])\^/g;function wA(A,e){A=typeof A=="string"?A:A.source,e=e||"";const t={replace:(r,n)=>(n=typeof n=="object"&&"source"in n?n.source:n,n=n.replace(Cw,"$1"),A=A.replace(r,n),t),getRegex:()=>new RegExp(A,e)};return t}function Xl(A){try{A=encodeURI(A).replace(/%25/g,"%")}catch{return null}return A}const Us={exec:()=>null};function $l(A,e){const t=A.replace(/\|/g,(s,i,o)=>{let a=!1,c=i;for(;--c>=0&&o[c]==="\\";)a=!a;return a?"|":" |"}),r=t.split(/ \|/);let n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length{},_e=Array.isArray,Ap=/\/$/,ep=A=>A.replace(Ap,"");function bi(A,e,t="/"){let r,n={},s="",i="";const o=e.indexOf("#");let a=e.indexOf("?");return o=0&&(a=-1),a>-1&&(r=e.slice(0,a),s=e.slice(a+1,o>-1?o:e.length),n=A(s)),o>-1&&(r=r||e.slice(0,o),i=e.slice(o,e.length)),r=sp(r??e,t),{fullPath:r+(s&&"?")+s+i,path:r,query:n,hash:i}}function tp(A,e){const t=e.query?A(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function bl(A,e){return!e||!A.toLowerCase().startsWith(e.toLowerCase())?A:A.slice(e.length)||"/"}function rp(A,e,t){const r=e.matched.length-1,n=t.matched.length-1;return r>-1&&r===n&&pr(e.matched[r],t.matched[n])&&Qf(e.params,t.params)&&A(e.query)===A(t.query)&&e.hash===t.hash}function pr(A,e){return(A.aliasOf||A)===(e.aliasOf||e)}function Qf(A,e){if(Object.keys(A).length!==Object.keys(e).length)return!1;for(const t in A)if(!np(A[t],e[t]))return!1;return!0}function np(A,e){return _e(A)?Hl(A,e):_e(e)?Hl(e,A):A===e}function Hl(A,e){return _e(e)?A.length===e.length&&A.every((t,r)=>t===e[r]):A.length===1&&A[0]===e}function sp(A,e){if(A.startsWith("/"))return A;if(!A)return e;const t=e.split("/"),r=A.split("/"),n=r[r.length-1];(n===".."||n===".")&&r.push("");let s=t.length-1,i,o;for(i=0;i1&&s--;else break;return t.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var cn;(function(A){A.pop="pop",A.push="push"})(cn||(cn={}));var Zr;(function(A){A.back="back",A.forward="forward",A.unknown=""})(Zr||(Zr={}));function ip(A){if(!A)if(ir){const e=document.querySelector("base");A=e&&e.getAttribute("href")||"/",A=A.replace(/^\w+:\/\/[^\/]+/,"")}else A="/";return A[0]!=="/"&&A[0]!=="#"&&(A="/"+A),ep(A)}const op=/^[^#]+#/;function ap(A,e){return A.replace(op,"#")+e}function lp(A,e){const t=document.documentElement.getBoundingClientRect(),r=A.getBoundingClientRect();return{behavior:e.behavior,left:r.left-t.left-(e.left||0),top:r.top-t.top-(e.top||0)}}const ei=()=>({left:window.pageXOffset,top:window.pageYOffset});function cp(A){let e;if("el"in A){const t=A.el,r=typeof t=="string"&&t.startsWith("#"),n=typeof t=="string"?r?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!n)return;e=lp(n,A)}else e=A;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Il(A,e){return(history.state?history.state.position-e:-1)+A}const po=new Map;function up(A,e){po.set(A,e)}function fp(A){const e=po.get(A);return po.delete(A),e}let Bp=()=>location.protocol+"//"+location.host;function Cf(A,e){const{pathname:t,search:r,hash:n}=e,s=A.indexOf("#");if(s>-1){let o=n.includes(A.slice(s))?A.slice(s).length:1,a=n.slice(o);return a[0]!=="/"&&(a="/"+a),bl(a,"")}return bl(t,A)+r+n}function gp(A,e,t,r){let n=[],s=[],i=null;const o=({state:f})=>{const B=Cf(A,location),g=t.value,h=e.value;let U=0;if(f){if(t.value=B,e.value=f,i&&i===g){i=null;return}U=h?f.position-h.position:0}else r(B);n.forEach(w=>{w(t.value,g,{delta:U,type:cn.pop,direction:U?U>0?Zr.forward:Zr.back:Zr.unknown})})};function a(){i=t.value}function c(f){n.push(f);const B=()=>{const g=n.indexOf(f);g>-1&&n.splice(g,1)};return s.push(B),B}function l(){const{history:f}=window;f.state&&f.replaceState(CA({},f.state,{scroll:ei()}),"")}function u(){for(const f of s)f();s=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:a,listen:c,destroy:u}}function xl(A,e,t,r=!1,n=!1){return{back:A,current:e,forward:t,replaced:r,position:window.history.length,scroll:n?ei():null}}function dp(A){const{history:e,location:t}=window,r={value:Cf(A,t)},n={value:e.state};n.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(a,c,l){const u=A.indexOf("#"),f=u>-1?(t.host&&document.querySelector("base")?A:A.slice(u))+a:Bp()+A+a;try{e[l?"replaceState":"pushState"](c,"",f),n.value=c}catch(B){console.error(B),t[l?"replace":"assign"](f)}}function i(a,c){const l=CA({},e.state,xl(n.value.back,a,n.value.forward,!0),c,{position:n.value.position});s(a,l,!0),r.value=a}function o(a,c){const l=CA({},n.value,e.state,{forward:a,scroll:ei()});s(l.current,l,!0);const u=CA({},xl(r.value,a,null),{position:l.position+1},c);s(a,u,!1),r.value=a}return{location:r,state:n,push:o,replace:i}}function hp(A){A=ip(A);const e=dp(A),t=gp(A,e.state,e.location,e.replace);function r(s,i=!0){i||t.pauseListeners(),history.go(s)}const n=CA({location:"",base:A,go:r,createHref:ap.bind(null,A)},e,t);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>e.state.value}),n}function pp(A){return typeof A=="string"||A&&typeof A=="object"}function Ff(A){return typeof A=="string"||typeof A=="symbol"}const ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Uf=Symbol("");var Ll;(function(A){A[A.aborted=4]="aborted",A[A.cancelled=8]="cancelled",A[A.duplicated=16]="duplicated"})(Ll||(Ll={}));function wr(A,e){return CA(new Error,{type:A,[Uf]:!0},e)}function We(A,e){return A instanceof Error&&Uf in A&&(e==null||!!(A.type&e))}const Sl="[^/]+?",wp={sensitive:!1,strict:!1,start:!0,end:!0},Qp=/[.+*?^${}()[\]/\\]/g;function Cp(A,e){const t=CA({},wp,e),r=[];let n=t.start?"^":"";const s=[];for(const c of A){const l=c.length?[]:[90];t.strict&&!c.length&&(n+="/");for(let u=0;ue.length?e.length===1&&e[0]===80?1:-1:0}function Up(A,e){let t=0;const r=A.score,n=e.score;for(;t0&&e[e.length-1]<0}const vp={type:0,value:""},mp=/[a-zA-Z0-9_]/;function Ep(A){if(!A)return[[]];if(A==="/")return[[vp]];if(!A.startsWith("/"))throw new Error(`Invalid path "${A}"`);function e(B){throw new Error(`ERR (${t})/"${c}": ${B}`)}let t=0,r=t;const n=[];let s;function i(){s&&n.push(s),s=[]}let o=0,a,c="",l="";function u(){c&&(t===0?s.push({type:0,value:c}):t===1||t===2||t===3?(s.length>1&&(a==="*"||a==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:l,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;o{i(C)}:jr}function i(l){if(Ff(l)){const u=r.get(l);u&&(r.delete(l),t.splice(t.indexOf(u),1),u.children.forEach(i),u.alias.forEach(i))}else{const u=t.indexOf(l);u>-1&&(t.splice(u,1),l.record.name&&r.delete(l.record.name),l.children.forEach(i),l.alias.forEach(i))}}function o(){return t}function a(l){let u=0;for(;u=0&&(l.record.path!==t[u].record.path||!vf(l,t[u]));)u++;t.splice(u,0,l),l.record.name&&!_l(l)&&r.set(l.record.name,l)}function c(l,u){let f,B={},g,h;if("name"in l&&l.name){if(f=r.get(l.name),!f)throw wr(1,{location:l});h=f.record.name,B=CA(Kl(u.params,f.keys.filter(C=>!C.optional).map(C=>C.name)),l.params&&Kl(l.params,f.keys.map(C=>C.name))),g=f.stringify(B)}else if("path"in l)g=l.path,f=t.find(C=>C.re.test(g)),f&&(B=f.parse(g),h=f.record.name);else{if(f=u.name?r.get(u.name):t.find(C=>C.re.test(u.path)),!f)throw wr(1,{location:l,currentLocation:u});h=f.record.name,B=CA({},u.params,l.params),g=f.stringify(B)}const U=[];let w=f;for(;w;)U.unshift(w.record),w=w.parent;return{name:h,path:g,params:B,matched:U,meta:xp(U)}}return A.forEach(l=>s(l)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:o,getRecordMatcher:n}}function Kl(A,e){const t={};for(const r of e)r in A&&(t[r]=A[r]);return t}function Hp(A){return{path:A.path,redirect:A.redirect,name:A.name,meta:A.meta||{},aliasOf:void 0,beforeEnter:A.beforeEnter,props:Ip(A),children:A.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in A?A.components||null:A.component&&{default:A.component}}}function Ip(A){const e={},t=A.props||!1;if("component"in A)e.default=t;else for(const r in A.components)e[r]=typeof t=="object"?t[r]:t;return e}function _l(A){for(;A;){if(A.record.aliasOf)return!0;A=A.parent}return!1}function xp(A){return A.reduce((e,t)=>CA(e,t.meta),{})}function Dl(A,e){const t={};for(const r in A)t[r]=r in e?e[r]:A[r];return t}function vf(A,e){return e.children.some(t=>t===A||vf(A,t))}const mf=/#/g,Lp=/&/g,Sp=/\//g,Tp=/=/g,Kp=/\?/g,Ef=/\+/g,_p=/%5B/g,Dp=/%5D/g,yf=/%5E/g,Op=/%60/g,bf=/%7B/g,Rp=/%7C/g,Hf=/%7D/g,kp=/%20/g;function wa(A){return encodeURI(""+A).replace(Rp,"|").replace(_p,"[").replace(Dp,"]")}function Mp(A){return wa(A).replace(bf,"{").replace(Hf,"}").replace(yf,"^")}function wo(A){return wa(A).replace(Ef,"%2B").replace(kp,"+").replace(mf,"%23").replace(Lp,"%26").replace(Op,"`").replace(bf,"{").replace(Hf,"}").replace(yf,"^")}function Np(A){return wo(A).replace(Tp,"%3D")}function Pp(A){return wa(A).replace(mf,"%23").replace(Kp,"%3F")}function Gp(A){return A==null?"":Pp(A).replace(Sp,"%2F")}function Fs(A){try{return decodeURIComponent(""+A)}catch{}return""+A}function Vp(A){const e={};if(A===""||A==="?")return e;const r=(A[0]==="?"?A.slice(1):A).split("&");for(let n=0;ns&&wo(s)):[r&&wo(r)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function Xp(A){const e={};for(const t in A){const r=A[t];r!==void 0&&(e[t]=_e(r)?r.map(n=>n==null?null:""+n):r==null?r:""+r)}return e}const $p=Symbol(""),Rl=Symbol(""),Qa=Symbol(""),If=Symbol(""),Qo=Symbol("");function Ir(){let A=[];function e(r){return A.push(r),()=>{const n=A.indexOf(r);n>-1&&A.splice(n,1)}}function t(){A=[]}return{add:e,list:()=>A.slice(),reset:t}}function dt(A,e,t,r,n){const s=r&&(r.enterCallbacks[n]=r.enterCallbacks[n]||[]);return()=>new Promise((i,o)=>{const a=u=>{u===!1?o(wr(4,{from:t,to:e})):u instanceof Error?o(u):pp(u)?o(wr(2,{from:e,to:u})):(s&&r.enterCallbacks[n]===s&&typeof u=="function"&&s.push(u),i())},c=A.call(r&&r.instances[n],e,t,a);let l=Promise.resolve(c);A.length<3&&(l=l.then(a)),l.catch(u=>o(u))})}function Hi(A,e,t,r){const n=[];for(const s of A)for(const i in s.components){let o=s.components[i];if(!(e!=="beforeRouteEnter"&&!s.instances[i]))if(Jp(o)){const c=(o.__vccOpts||o)[e];c&&n.push(dt(c,t,r,s,i))}else{let a=o();n.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const l=qh(c)?c.default:c;s.components[i]=l;const f=(l.__vccOpts||l)[e];return f&&dt(f,t,r,s,i)()}))}}return n}function Jp(A){return typeof A=="object"||"displayName"in A||"props"in A||"__vccOpts"in A}function kl(A){const e=KA(Qa),t=KA(If),r=J(()=>e.resolve(bA(A.to))),n=J(()=>{const{matched:a}=r.value,{length:c}=a,l=a[c-1],u=t.matched;if(!l||!u.length)return-1;const f=u.findIndex(pr.bind(null,l));if(f>-1)return f;const B=Ml(a[c-2]);return c>1&&Ml(l)===B&&u[u.length-1].path!==B?u.findIndex(pr.bind(null,a[c-2])):f}),s=J(()=>n.value>-1&&Zp(t.params,r.value.params)),i=J(()=>n.value>-1&&n.value===t.matched.length-1&&Qf(t.params,r.value.params));function o(a={}){return jp(a)?e[bA(A.replace)?"replace":"push"](bA(A.to)).catch(jr):Promise.resolve()}return{route:r,href:J(()=>r.value.href),isActive:s,isExactActive:i,navigate:o}}const Wp=_A({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:kl,setup(A,{slots:e}){const t=Ur(kl(A)),{options:r}=KA(Qa),n=J(()=>({[Nl(A.activeClass,r.linkActiveClass,"router-link-active")]:t.isActive,[Nl(A.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&e.default(t);return A.custom?s:NA("a",{"aria-current":t.isExactActive?A.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:n.value},s)}}}),Yp=Wp;function jp(A){if(!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)&&!A.defaultPrevented&&!(A.button!==void 0&&A.button!==0)){if(A.currentTarget&&A.currentTarget.getAttribute){const e=A.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return A.preventDefault&&A.preventDefault(),!0}}function Zp(A,e){for(const t in e){const r=e[t],n=A[t];if(typeof r=="string"){if(r!==n)return!1}else if(!_e(n)||n.length!==r.length||r.some((s,i)=>s!==n[i]))return!1}return!0}function Ml(A){return A?A.aliasOf?A.aliasOf.path:A.path:""}const Nl=(A,e,t)=>A??e??t,zp=_A({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(A,{attrs:e,slots:t}){const r=KA(Qo),n=J(()=>A.route||r.value),s=KA(Rl,0),i=J(()=>{let c=bA(s);const{matched:l}=n.value;let u;for(;(u=l[c])&&!u.components;)c++;return c}),o=J(()=>n.value.matched[i.value]);ue(Rl,J(()=>i.value+1)),ue($p,o),ue(Qo,n);const a=q();return oe(()=>[a.value,o.value,A.name],([c,l,u],[f,B,g])=>{l&&(l.instances[u]=c,B&&B!==l&&c&&c===f&&(l.leaveGuards.size||(l.leaveGuards=B.leaveGuards),l.updateGuards.size||(l.updateGuards=B.updateGuards))),c&&l&&(!B||!pr(l,B)||!f)&&(l.enterCallbacks[u]||[]).forEach(h=>h(c))},{flush:"post"}),()=>{const c=n.value,l=A.name,u=o.value,f=u&&u.components[l];if(!f)return Pl(t.default,{Component:f,route:c});const B=u.props[l],g=B?B===!0?c.params:typeof B=="function"?B(c):B:null,U=NA(f,CA({},g,e,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(u.instances[l]=null)},ref:a}));return Pl(t.default,{Component:U,route:c})||U}}});function Pl(A,e){if(!A)return null;const t=A(e);return t.length===1?t[0]:t}const xf=zp;function qp(A){const e=bp(A.routes,A),t=A.parseQuery||Vp,r=A.stringifyQuery||Ol,n=A.history,s=Ir(),i=Ir(),o=Ir(),a=Su(ot);let c=ot;ir&&A.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=yi.bind(null,H=>""+H),u=yi.bind(null,Gp),f=yi.bind(null,Fs);function B(H,V){let R,Y;return Ff(H)?(R=e.getRecordMatcher(H),Y=V):Y=H,e.addRoute(Y,R)}function g(H){const V=e.getRecordMatcher(H);V&&e.removeRoute(V)}function h(){return e.getRoutes().map(H=>H.record)}function U(H){return!!e.getRecordMatcher(H)}function w(H,V){if(V=CA({},V||a.value),typeof H=="string"){const p=bi(t,H,V.path),m=e.resolve({path:p.path},V),x=n.createHref(p.fullPath);return CA(p,m,{params:f(m.params),hash:Fs(p.hash),redirectedFrom:void 0,href:x})}let R;if("path"in H)R=CA({},H,{path:bi(t,H.path,V.path).path});else{const p=CA({},H.params);for(const m in p)p[m]==null&&delete p[m];R=CA({},H,{params:u(p)}),V.params=u(V.params)}const Y=e.resolve(R,V),hA=H.hash||"";Y.params=l(f(Y.params));const xA=tp(r,CA({},H,{hash:Mp(hA),path:Y.path})),d=n.createHref(xA);return CA({fullPath:xA,hash:hA,query:r===Ol?Xp(H.query):H.query||{}},Y,{redirectedFrom:void 0,href:d})}function C(H){return typeof H=="string"?bi(t,H,a.value.path):CA({},H)}function F(H,V){if(c!==H)return wr(8,{from:V,to:H})}function y(H){return L(H)}function E(H){return y(CA(C(H),{replace:!0}))}function Q(H){const V=H.matched[H.matched.length-1];if(V&&V.redirect){const{redirect:R}=V;let Y=typeof R=="function"?R(H):R;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=C(Y):{path:Y},Y.params={}),CA({query:H.query,hash:H.hash,params:"path"in Y?{}:H.params},Y)}}function L(H,V){const R=c=w(H),Y=a.value,hA=H.state,xA=H.force,d=H.replace===!0,p=Q(R);if(p)return L(CA(C(p),{state:typeof p=="object"?CA({},hA,p.state):hA,force:xA,replace:d}),V||R);const m=R;m.redirectedFrom=V;let x;return!xA&&rp(r,Y,R)&&(x=wr(16,{to:m,from:Y}),nA(Y,Y,!0,!1)),(x?Promise.resolve(x):O(m,Y)).catch(I=>We(I)?We(I,2)?I:MA(I):lA(I,m,Y)).then(I=>{if(I){if(We(I,2))return L(CA({replace:d},C(I.to),{state:typeof I.to=="object"?CA({},hA,I.to.state):hA,force:xA}),V||m)}else I=T(m,Y,!0,d,hA);return j(m,Y,I),I})}function v(H,V){const R=F(H,V);return R?Promise.reject(R):Promise.resolve()}function b(H){const V=yA.values().next().value;return V&&typeof V.runWithContext=="function"?V.runWithContext(H):H()}function O(H,V){let R;const[Y,hA,xA]=Aw(H,V);R=Hi(Y.reverse(),"beforeRouteLeave",H,V);for(const p of Y)p.leaveGuards.forEach(m=>{R.push(dt(m,H,V))});const d=v.bind(null,H,V);return R.push(d),UA(R).then(()=>{R=[];for(const p of s.list())R.push(dt(p,H,V));return R.push(d),UA(R)}).then(()=>{R=Hi(hA,"beforeRouteUpdate",H,V);for(const p of hA)p.updateGuards.forEach(m=>{R.push(dt(m,H,V))});return R.push(d),UA(R)}).then(()=>{R=[];for(const p of xA)if(p.beforeEnter)if(_e(p.beforeEnter))for(const m of p.beforeEnter)R.push(dt(m,H,V));else R.push(dt(p.beforeEnter,H,V));return R.push(d),UA(R)}).then(()=>(H.matched.forEach(p=>p.enterCallbacks={}),R=Hi(xA,"beforeRouteEnter",H,V),R.push(d),UA(R))).then(()=>{R=[];for(const p of i.list())R.push(dt(p,H,V));return R.push(d),UA(R)}).catch(p=>We(p,8)?p:Promise.reject(p))}function j(H,V,R){o.list().forEach(Y=>b(()=>Y(H,V,R)))}function T(H,V,R,Y,hA){const xA=F(H,V);if(xA)return xA;const d=V===ot,p=ir?history.state:{};R&&(Y||d?n.replace(H.fullPath,CA({scroll:d&&p&&p.scroll},hA)):n.push(H.fullPath,hA)),a.value=H,nA(H,V,R,d),MA()}let P;function aA(){P||(P=n.listen((H,V,R)=>{if(!JA.listening)return;const Y=w(H),hA=Q(Y);if(hA){L(CA(hA,{replace:!0}),Y).catch(jr);return}c=Y;const xA=a.value;ir&&up(Il(xA.fullPath,R.delta),ei()),O(Y,xA).catch(d=>We(d,12)?d:We(d,2)?(L(d.to,Y).then(p=>{We(p,20)&&!R.delta&&R.type===cn.pop&&n.go(-1,!1)}).catch(jr),Promise.reject()):(R.delta&&n.go(-R.delta,!1),lA(d,Y,xA))).then(d=>{d=d||T(Y,xA,!1),d&&(R.delta&&!We(d,8)?n.go(-R.delta,!1):R.type===cn.pop&&We(d,20)&&n.go(-1,!1)),j(Y,xA,d)}).catch(jr)}))}let gA=Ir(),W=Ir(),tA;function lA(H,V,R){MA(H);const Y=W.list();return Y.length?Y.forEach(hA=>hA(H,V,R)):console.error(H),Promise.reject(H)}function TA(){return tA&&a.value!==ot?Promise.resolve():new Promise((H,V)=>{gA.add([H,V])})}function MA(H){return tA||(tA=!H,aA(),gA.list().forEach(([V,R])=>H?R(H):V()),gA.reset()),H}function nA(H,V,R,Y){const{scrollBehavior:hA}=A;if(!ir||!hA)return Promise.resolve();const xA=!R&&fp(Il(H.fullPath,0))||(Y||!R)&&history.state&&history.state.scroll||null;return Te().then(()=>hA(H,V,xA)).then(d=>d&&cp(d)).catch(d=>lA(d,H,V))}const sA=H=>n.go(H);let QA;const yA=new Set,JA={currentRoute:a,listening:!0,addRoute:B,removeRoute:g,hasRoute:U,getRoutes:h,resolve:w,options:A,push:y,replace:E,go:sA,back:()=>sA(-1),forward:()=>sA(1),beforeEach:s.add,beforeResolve:i.add,afterEach:o.add,onError:W.add,isReady:TA,install(H){const V=this;H.component("RouterLink",Yp),H.component("RouterView",xf),H.config.globalProperties.$router=V,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>bA(a)}),ir&&!QA&&a.value===ot&&(QA=!0,y(n.location).catch(hA=>{}));const R={};for(const hA in ot)Object.defineProperty(R,hA,{get:()=>a.value[hA],enumerable:!0});H.provide(Qa,V),H.provide(If,bu(R)),H.provide(Qo,a);const Y=H.unmount;yA.add(H),H.unmount=function(){yA.delete(H),yA.size<1&&(c=ot,P&&P(),P=null,a.value=ot,QA=!1,tA=!1),Y()}}};function UA(H){return H.reduce((V,R)=>V.then(()=>b(R)),Promise.resolve())}return JA}function Aw(A,e){const t=[],r=[],n=[],s=Math.max(e.matched.length,A.matched.length);for(let i=0;ipr(c,o))?r.push(o):t.push(o));const a=A.matched[i];a&&(e.matched.find(c=>pr(c,a))||n.push(a))}return[t,r,n]}const ew="/assets/logo-gES3P5SW.png",ti=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},tw={},rw={class:"top-0 left-0 flex flex-col items-center w-screen"},nw={class:"flex items-center justify-between w-full px-6 py-2"},sw=$("img",{src:ew,alt:"玉桃文飨轩",width:"50",height:"50"},null,-1),iw=$("h1",{class:"text-xl font-bold rainbow-text"},"玉桃文飨轩",-1),ow={class:"flex flex-row items-center justify-center space-x-6"},aw={class:"social-link",target:"_blank",rel:"noopener",href:"https://x.com/MarshalXuan",title:"轩帅(MarshalXuan) @ X.com"},lw={"aria-hidden":"true",class:"w-6 h-6",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",style:{"--sl-icon-size":"1em"}},cw=$("path",{d:"M 18.242188 2.25 L 21.554688 2.25 L 14.324219 10.507812 L 22.828125 21.75 L 16.171875 21.75 L 10.953125 14.933594 L 4.992188 21.75 L 1.679688 21.75 L 9.40625 12.914062 L 1.257812 2.25 L 8.082031 2.25 L 12.792969 8.480469 Z M 17.082031 19.773438 L 18.914062 19.773438 L 7.082031 4.125 L 5.113281 4.125 Z M 17.082031 19.773438 "},null,-1),uw=[cw],fw=$("svg",{viewBox:"0 0 16 16",fill:"#131313",class:"w-6 h-6"},[$("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})],-1),Bw=[fw];function gw(A,e){const t=od("RouterLink");return ie(),Xe("header",rw,[$("nav",nw,[uA(t,{class:"inline-flex flex-row items-center space-x-2 link",onClick:e[0]||(e[0]=r=>A.$reortGaEvent("recommand","footer")),to:"/"},{default:ge(()=>[sw,iw]),_:1}),$("div",ow,[uA(t,{to:"/about",class:"text-lg"},{default:ge(()=>[Zs("关于")]),_:1}),$("a",aw,[(ie(),Xe("svg",lw,uw))]),$("a",{target:"_blank",rel:"noreferrer",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:"https://github.com/nicejade/markdown2png",onClick:e[1]||(e[1]=r=>A.$reortGaEvent("github-repository","header"))},Bw)])])])}const dw=ti(tw,[["render",gw]]),hw=_A({__name:"App",setup(A){return(e,t)=>(ie(),Xe(re,null,[uA(dw),uA(bA(xf))],64))}}),pw="modulepreload",ww=function(A){return"/"+A},Gl={},Lf=function(e,t,r){let n=Promise.resolve();if(t&&t.length>0){const s=document.getElementsByTagName("link");n=Promise.all(t.map(i=>{if(i=ww(i),i in Gl)return;Gl[i]=!0;const o=i.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!r)for(let u=s.length-1;u>=0;u--){const f=s[u];if(f.href===i&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const l=document.createElement("link");if(l.rel=o?"stylesheet":pw,o||(l.as="script",l.crossOrigin=""),l.href=i,document.head.appendChild(l),o)return new Promise((u,f)=>{l.addEventListener("load",u),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})}))}return n.then(()=>e()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})};function Ca(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let jt=Ca();function Sf(A){jt=A}const Tf=/[&<>"']/,Qw=new RegExp(Tf.source,"g"),Kf=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Cw=new RegExp(Kf.source,"g"),Fw={"&":"&","<":"<",">":">",'"':""","'":"'"},Vl=A=>Fw[A];function Ce(A,e){if(e){if(Tf.test(A))return A.replace(Qw,Vl)}else if(Kf.test(A))return A.replace(Cw,Vl);return A}const Uw=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function vw(A){return A.replace(Uw,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const mw=/(^|[^\[])\^/g;function wA(A,e){A=typeof A=="string"?A:A.source,e=e||"";const t={replace:(r,n)=>(n=typeof n=="object"&&"source"in n?n.source:n,n=n.replace(mw,"$1"),A=A.replace(r,n),t),getRegex:()=>new RegExp(A,e)};return t}function Xl(A){try{A=encodeURI(A).replace(/%25/g,"%")}catch{return null}return A}const Us={exec:()=>null};function $l(A,e){const t=A.replace(/\|/g,(s,i,o)=>{let a=!1,c=i;for(;--c>=0&&o[c]==="\\";)a=!a;return a?"|":" |"}),r=t.split(/ \|/);let n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length{const s=n.match(/^\s+/);if(s===null)return n;const[i]=s;return i.length>=r.length?n.slice(r.length):n}).join(` `)}class vs{options;rules;lexer;constructor(e){this.options=e||jt}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:xn(r,` -`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const r=t[0],n=Uw(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let r=t[2].trim();if(/#$/.test(r)){const n=xn(r,"#");(this.options.pedantic||!n||/ $/.test(n))&&(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const r=xn(t[0].replace(/^ *>[ \t]?/gm,""),` +`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const r=t[0],n=yw(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let r=t[2].trim();if(/#$/.test(r)){const n=xn(r,"#");(this.options.pedantic||!n||/ $/.test(n))&&(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const r=xn(t[0].replace(/^ *>[ \t]?/gm,""),` `),n=this.lexer.state.top;this.lexer.state.top=!0;const s=this.lexer.blockTokens(r);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:s,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim();const n=r.length>1,s={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");const i=new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`);let o="",a="",c=!1;for(;e;){let l=!1;if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;o=t[0],e=e.substring(o.length);let u=t[2].split(` `,1)[0].replace(/^\t+/,w=>" ".repeat(3*w.length)),f=e.split(` `,1)[0],B=0;this.options.pedantic?(B=2,a=u.trimStart()):(B=t[2].search(/[^ ]/),B=B>4?1:B,a=u.slice(B),B+=t[1].length);let g=!1;if(!u&&/^ *$/.test(f)&&(o+=f+` @@ -35,7 +35,7 @@ `+f}!g&&!f.trim()&&(g=!0),o+=E+` `,e=e.substring(E.length+1),u=f.slice(B)}}s.loose||(c?s.loose=!0:/\n *\n *$/.test(o)&&(c=!0));let h=null,U;this.options.gfm&&(h=/^\[[ xX]\] /.exec(a),h&&(U=h[0]!=="[ ] ",a=a.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:o,task:!!h,checked:U,loose:!1,text:a,tokens:[]}),s.raw+=o}s.items[s.items.length-1].raw=o.trimEnd(),s.items[s.items.length-1].text=a.trimEnd(),s.raw=s.raw.trimEnd();for(let l=0;lB.type==="space"),f=u.length>0&&u.some(B=>/\n.*\n/.test(B.raw));s.loose=f}if(s.loose)for(let l=0;l$/,"$1").replace(this.rules.inline._escapes,"$1"):"",s=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:r,raw:t[0],href:n,title:s}}}table(e){const t=this.rules.block.table.exec(e);if(t){if(!/[:|]/.test(t[2]))return;const r={type:"table",raw:t[0],header:$l(t[1]).map(n=>({text:n,tokens:[]})),align:t[2].replace(/^\||\| *$/g,"").split("|"),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(` `):[]};if(r.header.length===r.align.length){let n=r.align.length,s,i,o,a;for(s=0;s({text:c,tokens:[]}));for(n=r.header.length,i=0;i/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const r=t[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;const i=xn(r.slice(0,-1),"\\");if((r.length-i.length)%2===0)return}else{const i=Fw(t[2],"()");if(i>-1){const a=(t[0].indexOf("!")===0?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,a).trim(),t[3]=""}}let n=t[2],s="";if(this.options.pedantic){const i=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);i&&(n=i[1],s=i[3])}else s=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^$/.test(r)?n=n.slice(1):n=n.slice(1,-1)),Jl(t,{href:n&&n.replace(this.rules.inline._escapes,"$1"),title:s&&s.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let n=(r[2]||r[1]).replace(/\s+/g," ");if(n=t[n.toLowerCase()],!n){const s=r[0].charAt(0);return{type:"text",raw:s,text:s}}return Jl(r,n,r[0],this.lexer)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrong.lDelim.exec(e);if(!n||n[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(n[1]||n[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const i=[...n[0]].length-1;let o,a,c=i,l=0;const u=n[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+i);(n=u.exec(t))!=null;){if(o=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!o)continue;if(a=[...o].length,n[3]||n[4]){c+=a;continue}else if((n[5]||n[6])&&i%3&&!((i+a)%3)){l+=a;continue}if(c-=a,c>0)continue;a=Math.min(a,a+c+l);const f=[...n[0]][0].length,B=e.slice(0,i+n.index+f+a);if(Math.min(i,a)%2){const h=B.slice(1,-1);return{type:"em",raw:B,text:h,tokens:this.lexer.inlineTokens(h)}}const g=B.slice(2,-2);return{type:"strong",raw:B,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let r=t[2].replace(/\n/g," ");const n=/[^ ]/.test(r),s=/^ /.test(r)&&/ $/.test(r);return n&&s&&(r=r.substring(1,r.length-1)),r=Ce(r,!0),{type:"codespan",raw:t[0],text:r}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let r,n;return t[2]==="@"?(r=Ce(t[1]),n="mailto:"+r):(r=Ce(t[1]),n=r),{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let r,n;if(t[2]==="@")r=Ce(t[0]),n="mailto:"+r;else{let s;do s=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0];while(s!==t[0]);r=Ce(t[0]),t[1]==="www."?n="http://"+t[0]:n=t[0]}return{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let r;return this.lexer.state.inRawBlock?r=t[0]:r=Ce(t[0]),{type:"text",raw:t[0],text:r}}}}const Z={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Us,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};Z._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;Z._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;Z.def=wA(Z.def).replace("label",Z._label).replace("title",Z._title).getRegex();Z.bullet=/(?:[*+-]|\d{1,9}[.)])/;Z.listItemStart=wA(/^( *)(bull) */).replace("bull",Z.bullet).getRegex();Z.list=wA(Z.list).replace(/bull/g,Z.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Z.def.source+")").getRegex();Z._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";Z._comment=/|$)/;Z.html=wA(Z.html,"i").replace("comment",Z._comment).replace("tag",Z._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();Z.lheading=wA(Z.lheading).replace(/bull/g,Z.bullet).getRegex();Z.paragraph=wA(Z._paragraph).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex();Z.blockquote=wA(Z.blockquote).replace("paragraph",Z.paragraph).getRegex();Z.normal={...Z};Z.gfm={...Z.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};Z.gfm.table=wA(Z.gfm.table).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex();Z.gfm.paragraph=wA(Z._paragraph).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Z.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex();Z.pedantic={...Z.normal,html:wA(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Z._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Us,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:wA(Z.normal._paragraph).replace("hr",Z.hr).replace("heading",` *#{1,6} *[^ +`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:r,tokens:this.lexer.inline(r)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Ce(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const r=t[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;const i=xn(r.slice(0,-1),"\\");if((r.length-i.length)%2===0)return}else{const i=Ew(t[2],"()");if(i>-1){const a=(t[0].indexOf("!")===0?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,a).trim(),t[3]=""}}let n=t[2],s="";if(this.options.pedantic){const i=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);i&&(n=i[1],s=i[3])}else s=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^$/.test(r)?n=n.slice(1):n=n.slice(1,-1)),Jl(t,{href:n&&n.replace(this.rules.inline._escapes,"$1"),title:s&&s.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let n=(r[2]||r[1]).replace(/\s+/g," ");if(n=t[n.toLowerCase()],!n){const s=r[0].charAt(0);return{type:"text",raw:s,text:s}}return Jl(r,n,r[0],this.lexer)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrong.lDelim.exec(e);if(!n||n[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(n[1]||n[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const i=[...n[0]].length-1;let o,a,c=i,l=0;const u=n[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+i);(n=u.exec(t))!=null;){if(o=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!o)continue;if(a=[...o].length,n[3]||n[4]){c+=a;continue}else if((n[5]||n[6])&&i%3&&!((i+a)%3)){l+=a;continue}if(c-=a,c>0)continue;a=Math.min(a,a+c+l);const f=[...n[0]][0].length,B=e.slice(0,i+n.index+f+a);if(Math.min(i,a)%2){const h=B.slice(1,-1);return{type:"em",raw:B,text:h,tokens:this.lexer.inlineTokens(h)}}const g=B.slice(2,-2);return{type:"strong",raw:B,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let r=t[2].replace(/\n/g," ");const n=/[^ ]/.test(r),s=/^ /.test(r)&&/ $/.test(r);return n&&s&&(r=r.substring(1,r.length-1)),r=Ce(r,!0),{type:"codespan",raw:t[0],text:r}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let r,n;return t[2]==="@"?(r=Ce(t[1]),n="mailto:"+r):(r=Ce(t[1]),n=r),{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let r,n;if(t[2]==="@")r=Ce(t[0]),n="mailto:"+r;else{let s;do s=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0];while(s!==t[0]);r=Ce(t[0]),t[1]==="www."?n="http://"+t[0]:n=t[0]}return{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let r;return this.lexer.state.inRawBlock?r=t[0]:r=Ce(t[0]),{type:"text",raw:t[0],text:r}}}}const Z={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Us,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};Z._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;Z._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;Z.def=wA(Z.def).replace("label",Z._label).replace("title",Z._title).getRegex();Z.bullet=/(?:[*+-]|\d{1,9}[.)])/;Z.listItemStart=wA(/^( *)(bull) */).replace("bull",Z.bullet).getRegex();Z.list=wA(Z.list).replace(/bull/g,Z.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Z.def.source+")").getRegex();Z._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";Z._comment=/|$)/;Z.html=wA(Z.html,"i").replace("comment",Z._comment).replace("tag",Z._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();Z.lheading=wA(Z.lheading).replace(/bull/g,Z.bullet).getRegex();Z.paragraph=wA(Z._paragraph).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex();Z.blockquote=wA(Z.blockquote).replace("paragraph",Z.paragraph).getRegex();Z.normal={...Z};Z.gfm={...Z.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};Z.gfm.table=wA(Z.gfm.table).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex();Z.gfm.paragraph=wA(Z._paragraph).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Z.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex();Z.pedantic={...Z.normal,html:wA(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Z._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Us,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:wA(Z.normal._paragraph).replace("hr",Z.hr).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",Z.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const N={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Us,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Us,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~";N.punctuation=wA(N.punctuation,"u").replace(/punctuation/g,N._punctuation).getRegex();N.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;N.anyPunctuation=/\\[punct]/g;N._escapes=/\\([punct])/g;N._comment=wA(Z._comment).replace("(?:-->|$)","-->").getRegex();N.emStrong.lDelim=wA(N.emStrong.lDelim,"u").replace(/punct/g,N._punctuation).getRegex();N.emStrong.rDelimAst=wA(N.emStrong.rDelimAst,"gu").replace(/punct/g,N._punctuation).getRegex();N.emStrong.rDelimUnd=wA(N.emStrong.rDelimUnd,"gu").replace(/punct/g,N._punctuation).getRegex();N.anyPunctuation=wA(N.anyPunctuation,"gu").replace(/punct/g,N._punctuation).getRegex();N._escapes=wA(N._escapes,"gu").replace(/punct/g,N._punctuation).getRegex();N._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;N._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;N.autolink=wA(N.autolink).replace("scheme",N._scheme).replace("email",N._email).getRegex();N._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;N.tag=wA(N.tag).replace("comment",N._comment).replace("attribute",N._attribute).getRegex();N._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;N._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;N._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;N.link=wA(N.link).replace("label",N._label).replace("href",N._href).replace("title",N._title).getRegex();N.reflink=wA(N.reflink).replace("label",N._label).replace("ref",Z._label).getRegex();N.nolink=wA(N.nolink).replace("ref",Z._label).getRegex();N.reflinkSearch=wA(N.reflinkSearch,"g").replace("reflink",N.reflink).replace("nolink",N.nolink).getRegex();N.normal={...N};N.pedantic={...N.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:wA(/^!?\[(label)\]\((.*?)\)/).replace("label",N._label).getRegex(),reflink:wA(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",N._label).getRegex()};N.gfm={...N.normal,escape:wA(N.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\a+" ".repeat(c.length));let r,n,s,i;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(o=>(r=o.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))){if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length),r.raw.length===1&&t.length>0?t[t.length-1].raw+=` `:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length),n=t[t.length-1],n&&(n.type==="paragraph"||n.type==="text")?(n.raw+=` @@ -64,9 +64,9 @@ ${e} `}tablerow(e){return` ${e} `}tablecell(e,t){const r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+` -`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return"
"}del(e){return`${e}`}link(e,t,r){const n=Xl(e);if(n===null)return r;e=n;let s='
",s}image(e,t,r){const n=Xl(e);if(n===null)return r;e=n;let s=`${r}0&&f.tokens[0].type==="paragraph"?(f.tokens[0].text=U+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&f.tokens[0].tokens[0].type==="text"&&(f.tokens[0].tokens[0].text=U+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:U+" "}):h+=U+" "}h+=this.parse(f.tokens,c),l+=this.renderer.listitem(h,g,!!B)}r+=this.renderer.list(l,o,a);continue}case"html":{const i=s;r+=this.renderer.html(i.text,i.block);continue}case"paragraph":{const i=s;r+=this.renderer.paragraph(this.parseInline(i.tokens));continue}case"text":{let i=s,o=i.tokens?this.parseInline(i.tokens):i.text;for(;n+1{r=r.concat(this.walkTokens(o[a],t))}):o.tokens&&(r=r.concat(this.walkTokens(o.tokens,t)))}}return r}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(r=>{const n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){const i=t.renderers[s.name];i?t.renderers[s.name]=function(...o){let a=s.renderer.apply(this,o);return a===!1&&(a=i.apply(this,o)),a}:t.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const i=t[s.level];i?i.unshift(s.tokenizer):t[s.level]=[s.tokenizer],s.start&&(s.level==="block"?t.startBlock?t.startBlock.push(s.start):t.startBlock=[s.start]:s.level==="inline"&&(t.startInline?t.startInline.push(s.start):t.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(t.childTokens[s.name]=s.childTokens)}),n.extensions=t),r.renderer){const s=this.defaults.renderer||new ms(this.defaults);for(const i in r.renderer){const o=r.renderer[i],a=i,c=s[a];s[a]=(...l)=>{let u=o.apply(s,l);return u===!1&&(u=c.apply(s,l)),u||""}}n.renderer=s}if(r.tokenizer){const s=this.defaults.tokenizer||new vs(this.defaults);for(const i in r.tokenizer){const o=r.tokenizer[i],a=i,c=s[a];s[a]=(...l)=>{let u=o.apply(s,l);return u===!1&&(u=c.apply(s,l)),u}}n.tokenizer=s}if(r.hooks){const s=this.defaults.hooks||new as;for(const i in r.hooks){const o=r.hooks[i],a=i,c=s[a];as.passThroughHooks.has(i)?s[a]=l=>{if(this.defaults.async)return Promise.resolve(o.call(s,l)).then(f=>c.call(s,f));const u=o.call(s,l);return c.call(s,u)}:s[a]=(...l)=>{let u=o.apply(s,l);return u===!1&&(u=c.apply(s,l)),u}}n.hooks=s}if(r.walkTokens){const s=this.defaults.walkTokens,i=r.walkTokens;n.walkTokens=function(o){let a=[];return a.push(i.call(this,o)),s&&(a=a.concat(s.call(this,o))),a}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Pe.lex(e,t??this.defaults)}parser(e,t){return Ge.parse(e,t??this.defaults)}#A(e,t){return(r,n)=>{const s={...n},i={...this.defaults,...s};this.defaults.async===!0&&s.async===!1&&(i.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),i.async=!0);const o=this.#e(!!i.silent,!!i.async);if(typeof r>"u"||r===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(i.hooks&&(i.hooks.options=i),i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(r):r).then(a=>e(a,i)).then(a=>i.walkTokens?Promise.all(this.walkTokens(a,i.walkTokens)).then(()=>a):a).then(a=>t(a,i)).then(a=>i.hooks?i.hooks.postprocess(a):a).catch(o);try{i.hooks&&(r=i.hooks.preprocess(r));const a=e(r,i);i.walkTokens&&this.walkTokens(a,i.walkTokens);let c=t(a,i);return i.hooks&&(c=i.hooks.postprocess(c)),c}catch(a){return o(a)}}}#e(e,t){return r=>{if(r.message+=` -Please report this to https://github.com/markedjs/marked.`,e){const n="

An error occurred:

"+Ce(r.message+"",!0)+"
";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}}const Jt=new vw;function FA(A,e){return Jt.parse(A,e)}FA.options=FA.setOptions=function(A){return Jt.setOptions(A),FA.defaults=Jt.defaults,Sf(FA.defaults),FA};FA.getDefaults=Ca;FA.defaults=jt;FA.use=function(...A){return Jt.use(...A),FA.defaults=Jt.defaults,Sf(FA.defaults),FA};FA.walkTokens=function(A,e){return Jt.walkTokens(A,e)};FA.parseInline=Jt.parseInline;FA.Parser=Ge;FA.parser=Ge.parse;FA.Renderer=ms;FA.TextRenderer=Fa;FA.Lexer=Pe;FA.lexer=Pe.lex;FA.Tokenizer=vs;FA.Hooks=as;FA.parse=FA;FA.options;FA.setOptions;FA.use;FA.walkTokens;FA.parseInline;const mw=FA;Ge.parse;Pe.lex;/*! +`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return"
"}del(e){return`${e}`}link(e,t,r){const n=Xl(e);if(n===null)return r;e=n;let s='
",s}image(e,t,r){const n=Xl(e);if(n===null)return r;e=n;let s=`${r}0&&f.tokens[0].type==="paragraph"?(f.tokens[0].text=U+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&f.tokens[0].tokens[0].type==="text"&&(f.tokens[0].tokens[0].text=U+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:U+" "}):h+=U+" "}h+=this.parse(f.tokens,c),l+=this.renderer.listitem(h,g,!!B)}r+=this.renderer.list(l,o,a);continue}case"html":{const i=s;r+=this.renderer.html(i.text,i.block);continue}case"paragraph":{const i=s;r+=this.renderer.paragraph(this.parseInline(i.tokens));continue}case"text":{let i=s,o=i.tokens?this.parseInline(i.tokens):i.text;for(;n+1{r=r.concat(this.walkTokens(o[a],t))}):o.tokens&&(r=r.concat(this.walkTokens(o.tokens,t)))}}return r}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(r=>{const n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){const i=t.renderers[s.name];i?t.renderers[s.name]=function(...o){let a=s.renderer.apply(this,o);return a===!1&&(a=i.apply(this,o)),a}:t.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const i=t[s.level];i?i.unshift(s.tokenizer):t[s.level]=[s.tokenizer],s.start&&(s.level==="block"?t.startBlock?t.startBlock.push(s.start):t.startBlock=[s.start]:s.level==="inline"&&(t.startInline?t.startInline.push(s.start):t.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(t.childTokens[s.name]=s.childTokens)}),n.extensions=t),r.renderer){const s=this.defaults.renderer||new ms(this.defaults);for(const i in r.renderer){const o=r.renderer[i],a=i,c=s[a];s[a]=(...l)=>{let u=o.apply(s,l);return u===!1&&(u=c.apply(s,l)),u||""}}n.renderer=s}if(r.tokenizer){const s=this.defaults.tokenizer||new vs(this.defaults);for(const i in r.tokenizer){const o=r.tokenizer[i],a=i,c=s[a];s[a]=(...l)=>{let u=o.apply(s,l);return u===!1&&(u=c.apply(s,l)),u}}n.tokenizer=s}if(r.hooks){const s=this.defaults.hooks||new as;for(const i in r.hooks){const o=r.hooks[i],a=i,c=s[a];as.passThroughHooks.has(i)?s[a]=l=>{if(this.defaults.async)return Promise.resolve(o.call(s,l)).then(f=>c.call(s,f));const u=o.call(s,l);return c.call(s,u)}:s[a]=(...l)=>{let u=o.apply(s,l);return u===!1&&(u=c.apply(s,l)),u}}n.hooks=s}if(r.walkTokens){const s=this.defaults.walkTokens,i=r.walkTokens;n.walkTokens=function(o){let a=[];return a.push(i.call(this,o)),s&&(a=a.concat(s.call(this,o))),a}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Pe.lex(e,t??this.defaults)}parser(e,t){return Ge.parse(e,t??this.defaults)}#A(e,t){return(r,n)=>{const s={...n},i={...this.defaults,...s};this.defaults.async===!0&&s.async===!1&&(i.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),i.async=!0);const o=this.#e(!!i.silent,!!i.async);if(typeof r>"u"||r===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(i.hooks&&(i.hooks.options=i),i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(r):r).then(a=>e(a,i)).then(a=>i.walkTokens?Promise.all(this.walkTokens(a,i.walkTokens)).then(()=>a):a).then(a=>t(a,i)).then(a=>i.hooks?i.hooks.postprocess(a):a).catch(o);try{i.hooks&&(r=i.hooks.preprocess(r));const a=e(r,i);i.walkTokens&&this.walkTokens(a,i.walkTokens);let c=t(a,i);return i.hooks&&(c=i.hooks.postprocess(c)),c}catch(a){return o(a)}}}#e(e,t){return r=>{if(r.message+=` +Please report this to https://github.com/markedjs/marked.`,e){const n="

An error occurred:

"+Ce(r.message+"",!0)+"
";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}}const Jt=new bw;function FA(A,e){return Jt.parse(A,e)}FA.options=FA.setOptions=function(A){return Jt.setOptions(A),FA.defaults=Jt.defaults,Sf(FA.defaults),FA};FA.getDefaults=Ca;FA.defaults=jt;FA.use=function(...A){return Jt.use(...A),FA.defaults=Jt.defaults,Sf(FA.defaults),FA};FA.walkTokens=function(A,e){return Jt.walkTokens(A,e)};FA.parseInline=Jt.parseInline;FA.Parser=Ge;FA.parser=Ge.parse;FA.Renderer=ms;FA.TextRenderer=Fa;FA.Lexer=Pe;FA.lexer=Pe.lex;FA.Tokenizer=vs;FA.Hooks=as;FA.parse=FA;FA.options;FA.setOptions;FA.use;FA.walkTokens;FA.parseInline;const Hw=FA;Ge.parse;Pe.lex;/*! * html2canvas 1.4.1 * Copyright (c) 2022 Niklas von Hertzen * Released under MIT License @@ -83,23 +83,23 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var Co=function(A,e){return Co=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Co(A,e)};function De(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Co(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Fo=function(){return Fo=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&s[s.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]=55296&&n<=56319&&t>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},Wl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",yw=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Sn=0;Sn"u"?[]:new Uint8Array(256);for(var Tn=0;Tn>4,l[n++]=(i&15)<<4|o>>2,l[n++]=(o&3)<<6|a&63;return c},Hw=function(A){for(var e=A.length,t=[],r=0;r>Vt,Lw=1<>Vt,Tw=_f+Sw,Kw=Tw,_w=32,Dw=Kw+_w,Ow=65536>>Ua,Rw=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Vt],t=(t<>Vt)],t=(t<>Ua),t=this.index[t],t+=e>>Vt&kw,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Kn=0;Knzl?(n.push(!0),o-=zl):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(s)!==-1)return r.push(i),t.push(mo);if(o===$w||o===Uo){if(i===0)return r.push(i),t.push(Ot);var a=t[i-1];return AQ.indexOf(a)===-1?(r.push(r[i-1]),t.push(a)):(r.push(i),t.push(Ot))}if(r.push(i),o===Zw)return t.push(e==="strict"?Eo:un);if(o===kf||o===jw)return t.push(Ot);if(o===zw)return s>=131072&&s<=196605||s>=196608&&s<=262141?t.push(un):t.push(Ot);t.push(o)}),[r,t,n]},Ti=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var s=t;s<=r.length;){s++;var i=r[s];if(i===e)return!0;if(i!==wt)break}if(n===wt)for(var s=t;s>0;){s--;var o=r[s];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var a=t;a<=r.length;){a++;var i=r[a];if(i===e)return!0;if(i!==wt)break}if(o!==wt)break}return!1},sc=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===wt)t--;else return r}return 0},rQ=function(A,e,t,r,n){if(t[r]===0)return BA;var s=r-1;if(Array.isArray(n)&&n[s]===!0)return BA;var i=s-1,o=s+1,a=e[s],c=i>=0?e[i]:0,l=e[o];if(a===Df&&l===Of)return BA;if(Lo.indexOf(a)!==-1)return Mf;if(Lo.indexOf(l)!==-1||Nf.indexOf(l)!==-1)return BA;if(sc(s,e)===Rf)return Rn;if(xo.get(A[s])===Uo||(a===Dn||a===On)&&xo.get(A[o])===Uo||a===ql||l===ql||a===Ac||[wt,vo,Rr].indexOf(a)===-1&&l===Ac||[_n,xr,Yw,Ar,er].indexOf(l)!==-1||sc(s,e)===Lr||Ti(Li,Lr,s,e)||Ti([_n,xr],Eo,s,e)||Ti(ec,ec,s,e))return BA;if(a===wt)return Rn;if(a===Li||l===Li)return BA;if(l===mo||a===mo)return Rn;if([vo,Rr,Eo].indexOf(l)!==-1||a===Ww||c===Ho&&eQ.indexOf(a)!==-1||a===er&&l===Ho||l===tc||We.indexOf(l)!==-1&&a===we||We.indexOf(a)!==-1&&l===we||a===Mr&&[un,Dn,On].indexOf(l)!==-1||[un,Dn,On].indexOf(a)!==-1&&l===kr||We.indexOf(a)!==-1&&rc.indexOf(l)!==-1||rc.indexOf(a)!==-1&&We.indexOf(l)!==-1||[Mr,kr].indexOf(a)!==-1&&(l===we||[Lr,Rr].indexOf(l)!==-1&&e[o+1]===we)||[Lr,Rr].indexOf(a)!==-1&&l===we||a===we&&[we,er,Ar].indexOf(l)!==-1)return BA;if([we,er,Ar,_n,xr].indexOf(l)!==-1)for(var u=s;u>=0;){var f=e[u];if(f===we)return BA;if([er,Ar].indexOf(f)!==-1)u--;else break}if([Mr,kr].indexOf(l)!==-1)for(var u=[_n,xr].indexOf(a)!==-1?i:s;u>=0;){var f=e[u];if(f===we)return BA;if([er,Ar].indexOf(f)!==-1)u--;else break}if(Io===a&&[Io,ls,yo,bo].indexOf(l)!==-1||[ls,yo].indexOf(a)!==-1&&[ls,cs].indexOf(l)!==-1||[cs,bo].indexOf(a)!==-1&&l===cs||nc.indexOf(a)!==-1&&[tc,kr].indexOf(l)!==-1||nc.indexOf(l)!==-1&&a===Mr||We.indexOf(a)!==-1&&We.indexOf(l)!==-1||a===Ar&&We.indexOf(l)!==-1||We.concat(we).indexOf(a)!==-1&&l===Lr&&qw.indexOf(A[o])===-1||We.concat(we).indexOf(l)!==-1&&a===xr)return BA;if(a===Si&&l===Si){for(var B=t[s],g=1;B>0&&(B--,e[B]===Si);)g++;if(g%2!==0)return BA}return a===Dn&&l===On?BA:Rn},nQ=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=tQ(A,e.lineBreak),r=t[0],n=t[1],s=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[we,Ot,kf].indexOf(o)!==-1?un:o}));var i=e.wordBreak==="keep-all"?s.map(function(o,a){return o&&A[a]>=19968&&A[a]<=40959}):void 0;return[r,n,i]},sQ=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===Mf,this.start=r,this.end=n}return A.prototype.slice=function(){return OA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),iQ=function(A,e){var t=ni(A),r=nQ(t,e),n=r[0],s=r[1],i=r[2],o=t.length,a=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var l=BA;c=Pf&&A<=57},MQ=function(A){return A>=55296&&A<=57343},tr=function(A){return te(A)||A>=Xf&&A<=Jf||A>=Gf&&A<=_Q},NQ=function(A){return A>=Gf&&A<=OQ},PQ=function(A){return A>=Xf&&A<=kQ},GQ=function(A){return NQ(A)||PQ(A)},VQ=function(A){return A>=EQ},Gn=function(A){return A===Es||A===lQ||A===cQ},ys=function(A){return GQ(A)||VQ(A)||A===gQ},cc=function(A){return ys(A)||te(A)||A===Be},XQ=function(A){return A>=IQ&&A<=xQ||A===LQ||A>=SQ&&A<=TQ||A===KQ},ht=function(A,e){return A!==zr?!1:e!==Es},Vn=function(A,e,t){return A===Be?ys(e)||ht(e,t):ys(A)?!0:!!(A===zr&&ht(A,e))},_i=function(A,e,t){return A===Mt||A===Be?te(e)?!0:e===fn&&te(t):te(A===fn?e:A)},$Q=function(A){var e=0,t=1;(A[e]===Mt||A[e]===Be)&&(A[e]===Be&&(t=-1),e++);for(var r=[];te(A[e]);)r.push(A[e++]);var n=r.length?parseInt(OA.apply(void 0,r),10):0;A[e]===fn&&e++;for(var s=[];te(A[e]);)s.push(A[e++]);var i=s.length,o=i?parseInt(OA.apply(void 0,s),10):0;(A[e]===$f||A[e]===Vf)&&e++;var a=1;(A[e]===Mt||A[e]===Be)&&(A[e]===Be&&(a=-1),e++);for(var c=[];te(A[e]);)c.push(A[e++]);var l=c.length?parseInt(OA.apply(void 0,c),10):0;return t*(n+o*Math.pow(10,-i))*Math.pow(10,a*l)},JQ={type:2},WQ={type:3},YQ={type:4},jQ={type:13},ZQ={type:8},zQ={type:21},qQ={type:9},AC={type:10},eC={type:11},tC={type:12},rC={type:14},Xn={type:23},nC={type:1},sC={type:25},iC={type:24},oC={type:26},aC={type:27},lC={type:28},cC={type:29},uC={type:31},So={type:32},Wf=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(ni(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==So;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case kn:return this.consumeStringToken(kn);case uQ:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(cc(t)||ht(r,n)){var s=Vn(t,r,n)?aQ:oQ,i=this.consumeName();return{type:5,value:i,flags:s}}break;case fQ:if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),jQ;break;case Mn:return this.consumeStringToken(Mn);case Nn:return JQ;case Tr:return WQ;case Ki:if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),rC;break;case Mt:if(_i(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case yQ:return YQ;case Be:var o=e,a=this.peekCodePoint(0),c=this.peekCodePoint(1);if(_i(o,a,c))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Vn(o,a,c))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===Be&&c===pQ)return this.consumeCodePoint(),this.consumeCodePoint(),iC;break;case fn:if(_i(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case oc:if(this.peekCodePoint(0)===Ki)for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(l===Ki&&(l=this.consumeCodePoint(),l===oc))return this.consumeToken();if(l===ke)return this.consumeToken()}break;case bQ:return oC;case HQ:return aC;case hQ:if(this.peekCodePoint(0)===dQ&&this.peekCodePoint(1)===Be&&this.peekCodePoint(2)===Be)return this.consumeCodePoint(),this.consumeCodePoint(),sC;break;case wQ:var u=this.peekCodePoint(0),f=this.peekCodePoint(1),B=this.peekCodePoint(2);if(Vn(u,f,B)){var i=this.consumeName();return{type:7,value:i}}break;case QQ:return lC;case zr:if(ht(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case CQ:return cC;case FQ:if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),ZQ;break;case UQ:return eC;case vQ:return tC;case DQ:case RQ:var g=this.peekCodePoint(0),h=this.peekCodePoint(1);return g===Mt&&(tr(h)||h===Pn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case ac:if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),qQ;if(this.peekCodePoint(0)===ac)return this.consumeCodePoint(),zQ;break;case mQ:if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),AC;break;case ke:return So}return Gn(e)?(this.consumeWhiteSpace(),uC):te(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):ys(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:OA(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();tr(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===Pn&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(OA.apply(void 0,e.map(function(a){return a===Pn?Pf:a})),16),s=parseInt(OA.apply(void 0,e.map(function(a){return a===Pn?Jf:a})),16);return{type:30,start:n,end:s}}var i=parseInt(OA.apply(void 0,e),16);if(this.peekCodePoint(0)===Be&&tr(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];tr(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var s=parseInt(OA.apply(void 0,o),16);return{type:30,start:i,end:s}}else return{type:30,start:i,end:i}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Nn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Nn?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ke)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Mn||t===kn){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ke||this.peekCodePoint(0)===Tr)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Xn)}for(;;){var n=this.consumeCodePoint();if(n===ke||n===Tr)return{type:22,value:OA.apply(void 0,e)};if(Gn(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ke||this.peekCodePoint(0)===Tr?(this.consumeCodePoint(),{type:22,value:OA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Xn);if(n===kn||n===Mn||n===Nn||XQ(n))return this.consumeBadUrlRemnants(),Xn;if(n===zr)if(ht(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Xn;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Gn(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Tr||e===ke)return;ht(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=OA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===ke||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===Es)return this._value.splice(0,r),nC;if(n===zr){var s=this._value[r+1];s!==ke&&s!==void 0&&(s===Es?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):ht(n,s)&&(t+=this.consumeStringSlice(r),t+=OA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=pn,r=this.peekCodePoint(0);for((r===Mt||r===Be)&&e.push(this.consumeCodePoint());te(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===fn&&te(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=ic;te(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((r===$f||r===Vf)&&((n===Mt||n===Be)&&te(s)||te(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=ic;te(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[$Q(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),s=this.peekCodePoint(1),i=this.peekCodePoint(2);if(Vn(n,s,i)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===BQ?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(tr(e)){for(var t=OA(e);tr(this.peekCodePoint(0))&&t.length<6;)t+=OA(this.consumeCodePoint());Gn(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||MQ(r)||r>1114111?lc:r}return e===ke?lc:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(cc(t))e+=OA(t);else if(ht(t,this.peekCodePoint(0)))e+=OA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),Yf=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new Wf;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||BC(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?So:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),wn=function(A){return A.type===15},vr=function(A){return A.type===17},mA=function(A){return A.type===20},fC=function(A){return A.type===0},To=function(A,e){return mA(A)&&A.value===e},jf=function(A){return A.type!==31},Qr=function(A){return A.type!==31&&A.type!==4},Xe=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},BC=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},Ht=function(A){return A.type===17||A.type===15},PA=function(A){return A.type===16||Ht(A)},Zf=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Ae={type:17,number:0,flags:pn},va={type:16,number:50,flags:pn},Qt={type:16,number:100,flags:pn},Nr=function(A,e,t){var r=A[0],n=A[1];return[HA(r,e),HA(typeof n<"u"?n:r,t)]},HA=function(A,e){if(A.type===16)return A.number/100*e;if(wn(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},zf="deg",qf="grad",AB="rad",eB="turn",si={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case zf:return Math.PI*e.number/180;case qf:return Math.PI/200*e.number;case AB:return e.number;case eB:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},tB=function(A){return A.type===15&&(A.unit===zf||A.unit===qf||A.unit===AB||A.unit===eB)},rB=function(A){var e=A.filter(mA).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ae,Ae];case"to top":case"bottom":return be(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ae,Qt];case"to right":case"left":return be(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Qt,Qt];case"to bottom":case"top":return be(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Qt,Ae];case"to left":case"right":return be(270)}return 0},be=function(A){return Math.PI*A/180},mt={name:"color",parse:function(A,e){if(e.type===18){var t=gC[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),s=e.value.substring(2,3);return Ct(parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),s=e.value.substring(2,3),i=e.value.substring(3,4);return Ct(parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16),parseInt(i+i,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),s=e.value.substring(4,6);return Ct(parseInt(r,16),parseInt(n,16),parseInt(s,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),s=e.value.substring(4,6),i=e.value.substring(6,8);return Ct(parseInt(r,16),parseInt(n,16),parseInt(s,16),parseInt(i,16)/255)}}if(e.type===20){var o=qe[e.value.toUpperCase()];if(typeof o<"u")return o}return qe.TRANSPARENT}},Et=function(A){return(255&A)===0},YA=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},Ct=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},uc=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},fc=function(A,e){var t=e.filter(Qr);if(t.length===3){var r=t.map(uc),n=r[0],s=r[1],i=r[2];return Ct(n,s,i,1)}if(t.length===4){var o=t.map(uc),n=o[0],s=o[1],i=o[2],a=o[3];return Ct(n,s,i,a)}return 0};function Di(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var Bc=function(A,e){var t=e.filter(Qr),r=t[0],n=t[1],s=t[2],i=t[3],o=(r.type===17?be(r.number):si.parse(A,r))/(Math.PI*2),a=PA(n)?n.number/100:0,c=PA(s)?s.number/100:0,l=typeof i<"u"&&PA(i)?HA(i,1):1;if(a===0)return Ct(c*255,c*255,c*255,1);var u=c<=.5?c*(a+1):c+a-c*a,f=c*2-u,B=Di(f,u,o+1/3),g=Di(f,u,o),h=Di(f,u,o-1/3);return Ct(B*255,g*255,h*255,l)},gC={hsl:Bc,hsla:Bc,rgb:fc,rgba:fc},qr=function(A,e){return mt.parse(A,Yf.create(e).parseComponentValue())},qe={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},dC={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(mA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},hC={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ii=function(A,e){var t=mt.parse(A,e[0]),r=e[1];return r&&PA(r)?{color:t,stop:r}:{color:t,stop:null}},gc=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=Ae),r.stop===null&&(r.stop=Qt);for(var n=[],s=0,i=0;is?n.push(a):n.push(s),s=a}else n.push(null)}for(var c=null,i=0;ii.optimumDistance)?{optimumCorner:o,optimumDistance:l}:i},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},QC=function(A,e,t,r,n){var s=0,i=0;switch(A.size){case 0:A.shape===0?s=i=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(s=Math.min(Math.abs(e),Math.abs(e-r)),i=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)s=i=Math.min(Le(e,t),Le(e,t-n),Le(e-r,t),Le(e-r,t-n));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),a=dc(r,n,e,t,!0),c=a[0],l=a[1];s=Le(c-e,(l-t)/o),i=o*s}break;case 1:A.shape===0?s=i=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(s=Math.max(Math.abs(e),Math.abs(e-r)),i=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)s=i=Math.max(Le(e,t),Le(e,t-n),Le(e-r,t),Le(e-r,t-n));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),u=dc(r,n,e,t,!1),c=u[0],l=u[1];s=Le(c-e,(l-t)/o),i=o*s}break}return Array.isArray(A.size)&&(s=HA(A.size[0],r),i=A.size.length===2?HA(A.size[1],n):s),[s,i]},CC=function(A,e){var t=be(180),r=[];return Xe(e).forEach(function(n,s){if(s===0){var i=n[0];if(i.type===20&&i.value==="to"){t=rB(n);return}else if(tB(i)){t=si.parse(A,i);return}}var o=ii(A,n);r.push(o)}),{angle:t,stops:r,type:1}},$n=function(A,e){var t=be(180),r=[];return Xe(e).forEach(function(n,s){if(s===0){var i=n[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){t=rB(n);return}else if(tB(i)){t=(si.parse(A,i)+be(270))%be(360);return}}var o=ii(A,n);r.push(o)}),{angle:t,stops:r,type:1}},FC=function(A,e){var t=be(180),r=[],n=1,s=0,i=3,o=[];return Xe(e).forEach(function(a,c){var l=a[0];if(c===0){if(mA(l)&&l.value==="linear"){n=1;return}else if(mA(l)&&l.value==="radial"){n=2;return}}if(l.type===18){if(l.name==="from"){var u=mt.parse(A,l.values[0]);r.push({stop:Ae,color:u})}else if(l.name==="to"){var u=mt.parse(A,l.values[0]);r.push({stop:Qt,color:u})}else if(l.name==="color-stop"){var f=l.values.filter(Qr);if(f.length===2){var u=mt.parse(A,f[1]),B=f[0];vr(B)&&r.push({stop:{type:16,number:B.number*100,flags:B.flags},color:u})}}}}),n===1?{angle:(t+be(180))%be(360),stops:r,type:n}:{size:i,shape:s,stops:r,position:o,type:n}},nB="closest-side",sB="farthest-side",iB="closest-corner",oB="farthest-corner",aB="circle",lB="ellipse",cB="cover",uB="contain",UC=function(A,e){var t=0,r=3,n=[],s=[];return Xe(e).forEach(function(i,o){var a=!0;if(o===0){var c=!1;a=i.reduce(function(u,f){if(c)if(mA(f))switch(f.value){case"center":return s.push(va),u;case"top":case"left":return s.push(Ae),u;case"right":case"bottom":return s.push(Qt),u}else(PA(f)||Ht(f))&&s.push(f);else if(mA(f))switch(f.value){case aB:return t=0,!1;case lB:return t=1,!1;case"at":return c=!0,!1;case nB:return r=0,!1;case cB:case sB:return r=1,!1;case uB:case iB:return r=2,!1;case oB:return r=3,!1}else if(Ht(f)||PA(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return u},a)}if(a){var l=ii(A,i);n.push(l)}}),{size:r,shape:t,stops:n,position:s,type:2}},Jn=function(A,e){var t=0,r=3,n=[],s=[];return Xe(e).forEach(function(i,o){var a=!0;if(o===0?a=i.reduce(function(l,u){if(mA(u))switch(u.value){case"center":return s.push(va),!1;case"top":case"left":return s.push(Ae),!1;case"right":case"bottom":return s.push(Qt),!1}else if(PA(u)||Ht(u))return s.push(u),!1;return l},a):o===1&&(a=i.reduce(function(l,u){if(mA(u))switch(u.value){case aB:return t=0,!1;case lB:return t=1,!1;case uB:case nB:return r=0,!1;case sB:return r=1,!1;case iB:return r=2,!1;case cB:case oB:return r=3,!1}else if(Ht(u)||PA(u))return Array.isArray(r)||(r=[]),r.push(u),!1;return l},a)),a){var c=ii(A,i);n.push(c)}}),{size:r,shape:t,stops:n,position:s,type:2}},vC=function(A){return A.type===1},mC=function(A){return A.type===2},ma={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=fB[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function EC(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!fB[A.name])}var fB={"linear-gradient":CC,"-moz-linear-gradient":$n,"-ms-linear-gradient":$n,"-o-linear-gradient":$n,"-webkit-linear-gradient":$n,"radial-gradient":UC,"-moz-radial-gradient":Jn,"-ms-radial-gradient":Jn,"-o-radial-gradient":Jn,"-webkit-radial-gradient":Jn,"-webkit-gradient":FC},yC={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return Qr(r)&&EC(r)}).map(function(r){return ma.parse(A,r)})}},bC={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(mA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},HC={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Xe(e).map(function(t){return t.filter(PA)}).map(Zf)}},IC={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Xe(e).map(function(t){return t.filter(mA).map(function(r){return r.value}).join(" ")}).map(xC)}},xC=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},gr;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(gr||(gr={}));var LC={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Xe(e).map(function(t){return t.filter(SC)})}},SC=function(A){return mA(A)||PA(A)},oi=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},TC=oi("top"),KC=oi("right"),_C=oi("bottom"),DC=oi("left"),ai=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Zf(t.filter(PA))}}},OC=ai("top-left"),RC=ai("top-right"),kC=ai("bottom-right"),MC=ai("bottom-left"),li=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},NC=li("top"),PC=li("right"),GC=li("bottom"),VC=li("left"),ci=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return wn(t)?t.number:0}}},XC=ci("top"),$C=ci("right"),JC=ci("bottom"),WC=ci("left"),YC={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},jC={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},ZC={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(mA).reduce(function(t,r){return t|zC(r.value)},0)}},zC=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},qC={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},A0={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},bs;(function(A){A.NORMAL="normal",A.STRICT="strict"})(bs||(bs={}));var e0={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return bs.STRICT;case"normal":default:return bs.NORMAL}}},t0={name:"line-height",initialValue:"normal",prefix:!1,type:4},hc=function(A,e){return mA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:PA(A)?HA(A,e):e},r0={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:ma.parse(A,e)}},n0={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Ko={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},ui=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},s0=ui("top"),i0=ui("right"),o0=ui("bottom"),a0=ui("left"),l0={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(mA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},c0={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},fi=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},u0=fi("top"),f0=fi("right"),B0=fi("bottom"),g0=fi("left"),d0={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},h0={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},p0={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&To(e[0],"none")?[]:Xe(e).map(function(t){for(var r={color:qe.TRANSPARENT,offsetX:Ae,offsetY:Ae,blur:Ae},n=0,s=0;s"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},C0=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},F0=function(A){var e=A.filter(function(a){return a.type===17}).map(function(a){return a.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],s=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var i=e[12],o=e[13];return e[14],e[15],e.length===16?[t,r,n,s,i,o]:null},U0={matrix:C0,matrix3d:F0},pc={type:16,number:50,flags:pn},v0=[pc,pc],m0={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(PA);return t.length!==2?v0:[t[0],t[1]]}},E0={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},An;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(An||(An={}));var y0={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return An.BREAK_ALL;case"keep-all":return An.KEEP_ALL;case"normal":default:return An.NORMAL}}},b0={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(vr(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},BB={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},H0={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return vr(e)?e.number:1}},I0={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},x0={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(mA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},L0={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},S0={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},T0={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(vr(e))return e.number;if(mA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},K0={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(mA).map(function(t){return t.value})}},_0={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},XA=function(A,e){return(A&e)!==0},D0={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},O0={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(jf),s=0;s1?1:0],this.overflowWrap=G(e,c0,t.overflowWrap),this.paddingTop=G(e,u0,t.paddingTop),this.paddingRight=G(e,f0,t.paddingRight),this.paddingBottom=G(e,B0,t.paddingBottom),this.paddingLeft=G(e,g0,t.paddingLeft),this.paintOrder=G(e,P0,t.paintOrder),this.position=G(e,h0,t.position),this.textAlign=G(e,d0,t.textAlign),this.textDecorationColor=G(e,I0,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=G(e,x0,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=G(e,p0,t.textShadow),this.textTransform=G(e,w0,t.textTransform),this.transform=G(e,Q0,t.transform),this.transformOrigin=G(e,m0,t.transformOrigin),this.visibility=G(e,E0,t.visibility),this.webkitTextStrokeColor=G(e,G0,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=G(e,V0,t.webkitTextStrokeWidth),this.wordBreak=G(e,y0,t.wordBreak),this.zIndex=G(e,b0,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return Et(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return XA(this.display,4)||XA(this.display,33554432)||XA(this.display,268435456)||XA(this.display,536870912)||XA(this.display,67108864)||XA(this.display,134217728)},A}(),$0=function(){function A(e,t){this.content=G(e,D0,t.content),this.quotes=G(e,M0,t.quotes)}return A}(),Qc=function(){function A(e,t){this.counterIncrement=G(e,O0,t.counterIncrement),this.counterReset=G(e,R0,t.counterReset)}return A}(),G=function(A,e,t){var r=new Wf,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var s=new Yf(r.read());switch(e.type){case 2:var i=s.parseComponentValue();return e.parse(A,mA(i)?i.value:e.initialValue);case 0:return e.parse(A,s.parseComponentValue());case 1:return e.parse(A,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(e.format){case"angle":return si.parse(A,s.parseComponentValue());case"color":return mt.parse(A,s.parseComponentValue());case"image":return ma.parse(A,s.parseComponentValue());case"length":var o=s.parseComponentValue();return Ht(o)?o:Ae;case"length-percentage":var a=s.parseComponentValue();return PA(a)?a:Ae;case"time":return BB.parse(A,s.parseComponentValue())}break}},J0="data-html2canvas-debug",W0=function(A){var e=A.getAttribute(J0);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},_o=function(A,e){var t=W0(A);return t===1||e===t},$e=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,_o(t,3))debugger;this.styles=new X0(e,window.getComputedStyle(t,null)),Ro(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=ri(this.context,t),_o(t,4)&&(this.flags|=16)}return A}(),Y0="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACA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ToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAI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ADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCAC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AAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Cc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pr=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Wn=0;Wn>4,l[n++]=(i&15)<<4|o>>2,l[n++]=(o&3)<<6|a&63;return c},Z0=function(A){for(var e=A.length,t=[],r=0;r>Xt,AF=1<>Xt,tF=gB+eF,rF=tF,nF=32,sF=rF+nF,iF=65536>>Ea,oF=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Xt],t=(t<>Xt)],t=(t<>Ea),t=this.index[t],t+=e>>Xt&aF,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Yn=0;Yn=55296&&n<=56319&&t>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},pF=cF(Y0),me="×",Vi="÷",wF=function(A){return pF.get(A)},QF=function(A,e,t){var r=t-2,n=e[r],s=e[t-1],i=e[t];if(s===ki&&i===Mi)return me;if(s===ki||s===Mi||s===vc||i===ki||i===Mi||i===vc)return Vi;if(s===Ec&&[Ec,Ni,yc,bc].indexOf(i)!==-1||(s===yc||s===Ni)&&(i===Ni||i===Pi)||(s===bc||s===Pi)&&i===Pi||i===Hc||i===mc||i===gF||s===BF)return me;if(s===Hc&&i===Ic){for(;n===mc;)n=e[--r];if(n===Ic)return me}if(s===Gi&&i===Gi){for(var o=0;n===Gi;)o++,n=e[--r];if(o%2===0)return me}return Vi},CF=function(A){var e=dF(A),t=e.length,r=0,n=0,s=e.map(wF);return{next:function(){if(r>=t)return{done:!0,value:null};for(var i=me;ri.x||l.y>i.y;return i=l,c===0?!0:u});return A.body.removeChild(e),o},mF=function(){return typeof new Image().crossOrigin<"u"},EF=function(){return typeof new XMLHttpRequest().responseType=="string"},yF=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},xc=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},bF=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,s=e.toDataURL();n.src=s;var i=Do(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),Lc(i).then(function(o){r.drawImage(o,0,0);var a=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var c=A.createElement("div");return c.style.backgroundImage="url("+s+")",c.style.height=t+"px",xc(a)?Lc(Do(t,t,0,0,c)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),xc(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},Do=function(A,e,t,r,n){var s="http://www.w3.org/2000/svg",i=document.createElementNS(s,"svg"),o=document.createElementNS(s,"foreignObject");return i.setAttributeNS(null,"width",A.toString()),i.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(o),o.appendChild(n),i},Lc=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},zA={get SUPPORT_RANGE_BOUNDS(){var A=UF(document);return Object.defineProperty(zA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=zA.SUPPORT_RANGE_BOUNDS&&vF(document);return Object.defineProperty(zA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=yF(document);return Object.defineProperty(zA,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?bF(document):Promise.resolve(!1);return Object.defineProperty(zA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=mF();return Object.defineProperty(zA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=EF();return Object.defineProperty(zA,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(zA,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(zA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},en=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),HF=function(A,e,t,r){var n=LF(e,t),s=[],i=0;return n.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(zA.SUPPORT_RANGE_BOUNDS){var a=Sc(r,i,o.length).getClientRects();if(a.length>1){var c=ya(o),l=0;c.forEach(function(f){s.push(new en(f,tt.fromDOMRectList(A,Sc(r,l+i,f.length).getClientRects()))),l+=f.length})}else s.push(new en(o,tt.fromDOMRectList(A,a)))}else{var u=r.splitText(o.length);s.push(new en(o,IF(A,r))),r=u}else zA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));i+=o.length}),s},IF=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var s=ri(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),s}}return tt.EMPTY},Sc=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},ya=function(A){if(zA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return FF(A)},xF=function(A,e){if(zA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return TF(A,e)},LF=function(A,e){return e.letterSpacing!==0?ya(A):xF(A,e)},SF=[32,160,4961,65792,65793,4153,4241],TF=function(A,e){for(var t=iQ(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,s=function(){if(n.value){var i=n.value.slice(),o=ni(i),a="";o.forEach(function(c){SF.indexOf(c)===-1?a+=OA(c):(a.length&&r.push(a),r.push(OA(c)),a="")}),a.length&&r.push(a)}};!(n=t.next()).done;)s();return r},KF=function(){function A(e,t,r){this.text=_F(t.data,r.textTransform),this.textBounds=HF(e,this.text,r,t)}return A}(),_F=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(DF,OF);case 2:return A.toUpperCase();default:return A}},DF=/(^|\s|:|-|\(|\))([a-z])/g,OF=function(A,e,t){return A.length>0?e+t.toUpperCase():A},dB=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}($e),hB=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}($e),pB=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this,s=new XMLSerializer,i=ri(t,r);return r.setAttribute("width",i.width+"px"),r.setAttribute("height",i.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}($e),wB=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}($e),Oo=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}($e),RF=[{type:15,flags:0,unit:"px",number:3}],kF=[{type:16,flags:0,number:50}],MF=function(A){return A.width>A.height?new tt(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new KF(A,n,t.styles));else if(lr(n))if(HB(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return us(A,o,t,r)});else{var i=UB(A,n);i.styles.isVisible()&&(VF(n,i,r)?i.flags|=4:XF(i.styles)&&(i.flags|=2),GF.indexOf(n.tagName)!==-1&&(i.flags|=8),t.elements.push(i),n.slot,n.shadowRoot?us(A,n.shadowRoot,i,r):!xs(n)&&!EB(n)&&!Ls(n)&&us(A,n,i,r))}},UB=function(A,e){return ko(e)?new dB(A,e):yB(e)?new hB(A,e):EB(e)?new pB(A,e):$F(e)?new wB(A,e):JF(e)?new Oo(A,e):WF(e)?new ba(A,e):Ls(e)?new QB(A,e):xs(e)?new CB(A,e):bB(e)?new FB(A,e):new $e(A,e)},vB=function(A,e){var t=UB(A,e);return t.flags|=4,us(A,e,t,t),t},VF=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Ha(A)&&t.styles.isTransparent()},XF=function(A){return A.isPositioned()||A.isFloating()},mB=function(A){return A.nodeType===Node.TEXT_NODE},lr=function(A){return A.nodeType===Node.ELEMENT_NODE},Ro=function(A){return lr(A)&&typeof A.style<"u"&&!fs(A)},fs=function(A){return typeof A.className=="object"},$F=function(A){return A.tagName==="LI"},JF=function(A){return A.tagName==="OL"},WF=function(A){return A.tagName==="INPUT"},YF=function(A){return A.tagName==="HTML"},EB=function(A){return A.tagName==="svg"},Ha=function(A){return A.tagName==="BODY"},yB=function(A){return A.tagName==="CANVAS"},Kc=function(A){return A.tagName==="VIDEO"},ko=function(A){return A.tagName==="IMG"},bB=function(A){return A.tagName==="IFRAME"},_c=function(A){return A.tagName==="STYLE"},jF=function(A){return A.tagName==="SCRIPT"},xs=function(A){return A.tagName==="TEXTAREA"},Ls=function(A){return A.tagName==="SELECT"},HB=function(A){return A.tagName==="SLOT"},Dc=function(A){return A.tagName.indexOf("-")>0},ZF=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,s=!0;r!==null&&r.forEach(function(o){var a=t.counters[o.counter];a&&o.increment!==0&&(s=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=o.increment)});var i=[];return s&&n.forEach(function(o){var a=t.counters[o.counter];i.push(o.counter),a||(a=t.counters[o.counter]=[]),a.push(o.reset)}),i},A}(),Oc={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Rc={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},zF={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},qF={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},rr=function(A,e,t,r,n,s){return At?Bn(A,n,s.length>0):r.integers.reduce(function(i,o,a){for(;A>=o;)A-=o,i+=r.values[a];return i},"")+s},IB=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},DA=function(A,e,t,r,n){var s=t-e+1;return(A<0?"-":"")+(IB(Math.abs(A),s,r,function(i){return OA(Math.floor(i%s)+e)})+n)},Tt=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return IB(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},or=1,lt=2,ct=4,Gr=8,Ye=function(A,e,t,r,n,s){if(A<-9999||A>9999)return Bn(A,4,n.length>0);var i=Math.abs(A),o=n;if(i===0)return e[0]+o;for(var a=0;i>0&&a<=4;a++){var c=i%10;c===0&&XA(s,or)&&o!==""?o=e[c]+o:c>1||c===1&&a===0||c===1&&a===1&&XA(s,lt)||c===1&&a===1&&XA(s,ct)&&A>100||c===1&&a>1&&XA(s,Gr)?o=e[c]+(a>0?t[a-1]:"")+o:c===1&&a>0&&(o=t[a-1]+o),i=Math.floor(i/10)}return(A<0?r:"")+o},kc="十百千萬",Mc="拾佰仟萬",Nc="マイナス",Xi="마이너스",Bn=function(A,e,t){var r=t?". ":"",n=t?"、":"",s=t?", ":"",i=t?" ":"";switch(e){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var o=DA(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Tt(A,"〇一二三四五六七八九",n);case 6:return rr(A,1,3999,Oc,3,r).toLowerCase();case 7:return rr(A,1,3999,Oc,3,r);case 8:return DA(A,945,969,!1,r);case 9:return DA(A,97,122,!1,r);case 10:return DA(A,65,90,!1,r);case 11:return DA(A,1632,1641,!0,r);case 12:case 49:return rr(A,1,9999,Rc,3,r);case 35:return rr(A,1,9999,Rc,3,r).toLowerCase();case 13:return DA(A,2534,2543,!0,r);case 14:case 30:return DA(A,6112,6121,!0,r);case 15:return Tt(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Tt(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Ye(A,"零一二三四五六七八九",kc,"負",n,lt|ct|Gr);case 47:return Ye(A,"零壹貳參肆伍陸柒捌玖",Mc,"負",n,or|lt|ct|Gr);case 42:return Ye(A,"零一二三四五六七八九",kc,"负",n,lt|ct|Gr);case 41:return Ye(A,"零壹贰叁肆伍陆柒捌玖",Mc,"负",n,or|lt|ct|Gr);case 26:return Ye(A,"〇一二三四五六七八九","十百千万",Nc,n,0);case 25:return Ye(A,"零壱弐参四伍六七八九","拾百千万",Nc,n,or|lt|ct);case 31:return Ye(A,"영일이삼사오육칠팔구","십백천만",Xi,s,or|lt|ct);case 33:return Ye(A,"零一二三四五六七八九","十百千萬",Xi,s,0);case 32:return Ye(A,"零壹貳參四五六七八九","拾百千",Xi,s,or|lt|ct);case 18:return DA(A,2406,2415,!0,r);case 20:return rr(A,1,19999,qF,3,r);case 21:return DA(A,2790,2799,!0,r);case 22:return DA(A,2662,2671,!0,r);case 22:return rr(A,1,10999,zF,3,r);case 23:return Tt(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Tt(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return DA(A,3302,3311,!0,r);case 28:return Tt(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Tt(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return DA(A,3792,3801,!0,r);case 37:return DA(A,6160,6169,!0,r);case 38:return DA(A,4160,4169,!0,r);case 39:return DA(A,2918,2927,!0,r);case 40:return DA(A,1776,1785,!0,r);case 43:return DA(A,3046,3055,!0,r);case 44:return DA(A,3174,3183,!0,r);case 45:return DA(A,3664,3673,!0,r);case 46:return DA(A,3872,3881,!0,r);case 3:default:return DA(A,48,57,!0,r)}},xB="data-html2canvas-ignore",Pc=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new ZF,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=AU(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var s=e.defaultView.pageXOffset,i=e.defaultView.pageYOffset,o=n.contentWindow,a=o.document,c=rU(n).then(function(){return ae(r,void 0,void 0,function(){var l,u;return ee(this,function(f){switch(f.label){case 0:return this.scrolledElements.forEach(oU),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),l=this.options.onclone,u=this.clonedReferenceElement,typeof u>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:f.sent(),f.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,tU(a)]:[3,4];case 3:f.sent(),f.label=4;case 4:return typeof l=="function"?[2,Promise.resolve().then(function(){return l(a,u)}).then(function(){return n})]:[2,n]}})})});return a.open(),a.write(sU(document.doctype)+""),iU(this.referenceElement.ownerDocument,s,i),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),c},A.prototype.createElementClone=function(e){if(_o(e,2))debugger;if(yB(e))return this.createCanvasClone(e);if(Kc(e))return this.createVideoClone(e);if(_c(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return ko(t)&&(ko(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Dc(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return $i(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(s,i){return i&&typeof i.cssText=="string"?s+i.cssText:s},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),s.name!=="SecurityError")throw s}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var s=e.getContext("2d"),i=n.getContext("2d");if(i)if(!this.options.allowTaint&&s)i.putImageData(s.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var a=o.getContextAttributes();(a==null?void 0:a.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!lr(t)||!jF(t)&&!t.hasAttribute(xB)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!lr(t)||!_c(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,s=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;s;s=s.nextSibling)if(lr(s)&&HB(s)&&typeof s.assignedNodes=="function"){var i=s.assignedNodes();i.length&&i.forEach(function(o){return n.appendChildNode(t,o,r)})}else this.appendChildNode(t,s,r)},A.prototype.cloneNode=function(e,t){if(mB(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&lr(e)&&(Ro(e)||fs(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var s=r.getComputedStyle(e),i=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&Ro(n)&&(this.clonedReferenceElement=n),Ha(n)&&cU(n);var a=this.counters.parse(new Qc(this.context,s)),c=this.resolvePseudoContent(e,n,i,tn.BEFORE);Dc(e)&&(t=!0),Kc(e)||this.cloneChildNodes(e,n,t),c&&n.insertBefore(c,n.firstChild);var l=this.resolvePseudoContent(e,n,o,tn.AFTER);return l&&n.appendChild(l),this.counters.pop(a),(s&&(this.options.copyStyles||fs(e))&&!bB(e)||t)&&$i(s,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(xs(e)||Ls(e))&&(xs(n)||Ls(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var s=this;if(r){var i=r.content,o=t.ownerDocument;if(!(!o||!i||i==="none"||i==="-moz-alt-content"||r.display==="none")){this.counters.parse(new Qc(this.context,r));var a=new $0(this.context,r),c=o.createElement("html2canvaspseudoelement");$i(r,c),a.content.forEach(function(u){if(u.type===0)c.appendChild(o.createTextNode(u.value));else if(u.type===22){var f=o.createElement("img");f.src=u.value,f.style.opacity="1",c.appendChild(f)}else if(u.type===18){if(u.name==="attr"){var B=u.values.filter(mA);B.length&&c.appendChild(o.createTextNode(e.getAttribute(B[0].value)||""))}else if(u.name==="counter"){var g=u.values.filter(Qr),h=g[0],U=g[1];if(h&&mA(h)){var w=s.counters.getCounterValue(h.value),C=U&&mA(U)?Ko.parse(s.context,U.value):3;c.appendChild(o.createTextNode(Bn(w,C,!1)))}}else if(u.name==="counters"){var F=u.values.filter(Qr),h=F[0],y=F[1],U=F[2];if(h&&mA(h)){var E=s.counters.getCounterValues(h.value),Q=U&&mA(U)?Ko.parse(s.context,U.value):3,L=y&&y.type===0?y.value:"",v=E.map(function(j){return Bn(j,Q,!1)}).join(L);c.appendChild(o.createTextNode(v))}}}else if(u.type===20)switch(u.value){case"open-quote":c.appendChild(o.createTextNode(wc(a.quotes,s.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(wc(a.quotes,--s.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(u.value))}}),c.className=Mo+" "+No;var l=n===tn.BEFORE?" "+Mo:" "+No;return fs(t)?t.className.baseValue+=l:t.className+=l,c}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),tn;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(tn||(tn={}));var AU=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(xB,"true"),A.body.appendChild(t),t},eU=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},tU=function(A){return Promise.all([].slice.call(A.images,0).map(eU))},rU=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var s=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(s),e(A))},50)}})},nU=["all","d","content"],$i=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);nU.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},sU=function(A){var e="";return A&&(e+=""),e},iU=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},oU=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},aU=":before",lU=":after",Mo="___html2canvas___pseudoelement_before",No="___html2canvas___pseudoelement_after",Gc=`{ +***************************************************************************** */var Co=function(A,e){return Co=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Co(A,e)};function De(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Co(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Fo=function(){return Fo=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&s[s.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]=55296&&n<=56319&&t>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},Wl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xw=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Sn=0;Sn"u"?[]:new Uint8Array(256);for(var Tn=0;Tn>4,l[n++]=(i&15)<<4|o>>2,l[n++]=(o&3)<<6|a&63;return c},Sw=function(A){for(var e=A.length,t=[],r=0;r>Vt,_w=1<>Vt,Ow=_f+Dw,Rw=Ow,kw=32,Mw=Rw+kw,Nw=65536>>Ua,Pw=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Vt],t=(t<>Vt)],t=(t<>Ua),t=this.index[t],t+=e>>Vt&Gw,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Kn=0;Knzl?(n.push(!0),o-=zl):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(s)!==-1)return r.push(i),t.push(mo);if(o===jw||o===Uo){if(i===0)return r.push(i),t.push(Ot);var a=t[i-1];return nQ.indexOf(a)===-1?(r.push(r[i-1]),t.push(a)):(r.push(i),t.push(Ot))}if(r.push(i),o===eQ)return t.push(e==="strict"?Eo:un);if(o===kf||o===AQ)return t.push(Ot);if(o===tQ)return s>=131072&&s<=196605||s>=196608&&s<=262141?t.push(un):t.push(Ot);t.push(o)}),[r,t,n]},Ti=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var s=t;s<=r.length;){s++;var i=r[s];if(i===e)return!0;if(i!==wt)break}if(n===wt)for(var s=t;s>0;){s--;var o=r[s];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var a=t;a<=r.length;){a++;var i=r[a];if(i===e)return!0;if(i!==wt)break}if(o!==wt)break}return!1},sc=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===wt)t--;else return r}return 0},oQ=function(A,e,t,r,n){if(t[r]===0)return BA;var s=r-1;if(Array.isArray(n)&&n[s]===!0)return BA;var i=s-1,o=s+1,a=e[s],c=i>=0?e[i]:0,l=e[o];if(a===Df&&l===Of)return BA;if(Lo.indexOf(a)!==-1)return Mf;if(Lo.indexOf(l)!==-1||Nf.indexOf(l)!==-1)return BA;if(sc(s,e)===Rf)return Rn;if(xo.get(A[s])===Uo||(a===Dn||a===On)&&xo.get(A[o])===Uo||a===ql||l===ql||a===Ac||[wt,vo,Rr].indexOf(a)===-1&&l===Ac||[_n,xr,qw,Ar,er].indexOf(l)!==-1||sc(s,e)===Lr||Ti(Li,Lr,s,e)||Ti([_n,xr],Eo,s,e)||Ti(ec,ec,s,e))return BA;if(a===wt)return Rn;if(a===Li||l===Li)return BA;if(l===mo||a===mo)return Rn;if([vo,Rr,Eo].indexOf(l)!==-1||a===zw||c===Ho&&sQ.indexOf(a)!==-1||a===er&&l===Ho||l===tc||Ye.indexOf(l)!==-1&&a===we||Ye.indexOf(a)!==-1&&l===we||a===Mr&&[un,Dn,On].indexOf(l)!==-1||[un,Dn,On].indexOf(a)!==-1&&l===kr||Ye.indexOf(a)!==-1&&rc.indexOf(l)!==-1||rc.indexOf(a)!==-1&&Ye.indexOf(l)!==-1||[Mr,kr].indexOf(a)!==-1&&(l===we||[Lr,Rr].indexOf(l)!==-1&&e[o+1]===we)||[Lr,Rr].indexOf(a)!==-1&&l===we||a===we&&[we,er,Ar].indexOf(l)!==-1)return BA;if([we,er,Ar,_n,xr].indexOf(l)!==-1)for(var u=s;u>=0;){var f=e[u];if(f===we)return BA;if([er,Ar].indexOf(f)!==-1)u--;else break}if([Mr,kr].indexOf(l)!==-1)for(var u=[_n,xr].indexOf(a)!==-1?i:s;u>=0;){var f=e[u];if(f===we)return BA;if([er,Ar].indexOf(f)!==-1)u--;else break}if(Io===a&&[Io,ls,yo,bo].indexOf(l)!==-1||[ls,yo].indexOf(a)!==-1&&[ls,cs].indexOf(l)!==-1||[cs,bo].indexOf(a)!==-1&&l===cs||nc.indexOf(a)!==-1&&[tc,kr].indexOf(l)!==-1||nc.indexOf(l)!==-1&&a===Mr||Ye.indexOf(a)!==-1&&Ye.indexOf(l)!==-1||a===Ar&&Ye.indexOf(l)!==-1||Ye.concat(we).indexOf(a)!==-1&&l===Lr&&rQ.indexOf(A[o])===-1||Ye.concat(we).indexOf(l)!==-1&&a===xr)return BA;if(a===Si&&l===Si){for(var B=t[s],g=1;B>0&&(B--,e[B]===Si);)g++;if(g%2!==0)return BA}return a===Dn&&l===On?BA:Rn},aQ=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=iQ(A,e.lineBreak),r=t[0],n=t[1],s=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[we,Ot,kf].indexOf(o)!==-1?un:o}));var i=e.wordBreak==="keep-all"?s.map(function(o,a){return o&&A[a]>=19968&&A[a]<=40959}):void 0;return[r,n,i]},lQ=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===Mf,this.start=r,this.end=n}return A.prototype.slice=function(){return OA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),cQ=function(A,e){var t=ni(A),r=aQ(t,e),n=r[0],s=r[1],i=r[2],o=t.length,a=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var l=BA;c=Pf&&A<=57},VQ=function(A){return A>=55296&&A<=57343},tr=function(A){return te(A)||A>=Xf&&A<=Jf||A>=Gf&&A<=kQ},XQ=function(A){return A>=Gf&&A<=NQ},$Q=function(A){return A>=Xf&&A<=GQ},JQ=function(A){return XQ(A)||$Q(A)},WQ=function(A){return A>=IQ},Gn=function(A){return A===Es||A===BQ||A===gQ},ys=function(A){return JQ(A)||WQ(A)||A===wQ},cc=function(A){return ys(A)||te(A)||A===Be},YQ=function(A){return A>=TQ&&A<=KQ||A===_Q||A>=DQ&&A<=OQ||A===RQ},ht=function(A,e){return A!==zr?!1:e!==Es},Vn=function(A,e,t){return A===Be?ys(e)||ht(e,t):ys(A)?!0:!!(A===zr&&ht(A,e))},_i=function(A,e,t){return A===Mt||A===Be?te(e)?!0:e===fn&&te(t):te(A===fn?e:A)},jQ=function(A){var e=0,t=1;(A[e]===Mt||A[e]===Be)&&(A[e]===Be&&(t=-1),e++);for(var r=[];te(A[e]);)r.push(A[e++]);var n=r.length?parseInt(OA.apply(void 0,r),10):0;A[e]===fn&&e++;for(var s=[];te(A[e]);)s.push(A[e++]);var i=s.length,o=i?parseInt(OA.apply(void 0,s),10):0;(A[e]===$f||A[e]===Vf)&&e++;var a=1;(A[e]===Mt||A[e]===Be)&&(A[e]===Be&&(a=-1),e++);for(var c=[];te(A[e]);)c.push(A[e++]);var l=c.length?parseInt(OA.apply(void 0,c),10):0;return t*(n+o*Math.pow(10,-i))*Math.pow(10,a*l)},ZQ={type:2},zQ={type:3},qQ={type:4},AC={type:13},eC={type:8},tC={type:21},rC={type:9},nC={type:10},sC={type:11},iC={type:12},oC={type:14},Xn={type:23},aC={type:1},lC={type:25},cC={type:24},uC={type:26},fC={type:27},BC={type:28},gC={type:29},dC={type:31},So={type:32},Wf=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(ni(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==So;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case kn:return this.consumeStringToken(kn);case dQ:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(cc(t)||ht(r,n)){var s=Vn(t,r,n)?fQ:uQ,i=this.consumeName();return{type:5,value:i,flags:s}}break;case hQ:if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),AC;break;case Mn:return this.consumeStringToken(Mn);case Nn:return ZQ;case Tr:return zQ;case Ki:if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),oC;break;case Mt:if(_i(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case xQ:return qQ;case Be:var o=e,a=this.peekCodePoint(0),c=this.peekCodePoint(1);if(_i(o,a,c))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Vn(o,a,c))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===Be&&c===FQ)return this.consumeCodePoint(),this.consumeCodePoint(),cC;break;case fn:if(_i(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case oc:if(this.peekCodePoint(0)===Ki)for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(l===Ki&&(l=this.consumeCodePoint(),l===oc))return this.consumeToken();if(l===ke)return this.consumeToken()}break;case LQ:return uC;case SQ:return fC;case CQ:if(this.peekCodePoint(0)===QQ&&this.peekCodePoint(1)===Be&&this.peekCodePoint(2)===Be)return this.consumeCodePoint(),this.consumeCodePoint(),lC;break;case UQ:var u=this.peekCodePoint(0),f=this.peekCodePoint(1),B=this.peekCodePoint(2);if(Vn(u,f,B)){var i=this.consumeName();return{type:7,value:i}}break;case vQ:return BC;case zr:if(ht(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case mQ:return gC;case EQ:if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),eC;break;case yQ:return sC;case bQ:return iC;case MQ:case PQ:var g=this.peekCodePoint(0),h=this.peekCodePoint(1);return g===Mt&&(tr(h)||h===Pn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case ac:if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),rC;if(this.peekCodePoint(0)===ac)return this.consumeCodePoint(),tC;break;case HQ:if(this.peekCodePoint(0)===Sr)return this.consumeCodePoint(),nC;break;case ke:return So}return Gn(e)?(this.consumeWhiteSpace(),dC):te(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):ys(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:OA(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();tr(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===Pn&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(OA.apply(void 0,e.map(function(a){return a===Pn?Pf:a})),16),s=parseInt(OA.apply(void 0,e.map(function(a){return a===Pn?Jf:a})),16);return{type:30,start:n,end:s}}var i=parseInt(OA.apply(void 0,e),16);if(this.peekCodePoint(0)===Be&&tr(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];tr(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var s=parseInt(OA.apply(void 0,o),16);return{type:30,start:i,end:s}}else return{type:30,start:i,end:i}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Nn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Nn?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ke)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Mn||t===kn){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ke||this.peekCodePoint(0)===Tr)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Xn)}for(;;){var n=this.consumeCodePoint();if(n===ke||n===Tr)return{type:22,value:OA.apply(void 0,e)};if(Gn(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ke||this.peekCodePoint(0)===Tr?(this.consumeCodePoint(),{type:22,value:OA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Xn);if(n===kn||n===Mn||n===Nn||YQ(n))return this.consumeBadUrlRemnants(),Xn;if(n===zr)if(ht(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Xn;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Gn(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Tr||e===ke)return;ht(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=OA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===ke||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===Es)return this._value.splice(0,r),aC;if(n===zr){var s=this._value[r+1];s!==ke&&s!==void 0&&(s===Es?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):ht(n,s)&&(t+=this.consumeStringSlice(r),t+=OA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=pn,r=this.peekCodePoint(0);for((r===Mt||r===Be)&&e.push(this.consumeCodePoint());te(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===fn&&te(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=ic;te(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((r===$f||r===Vf)&&((n===Mt||n===Be)&&te(s)||te(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=ic;te(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[jQ(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),s=this.peekCodePoint(1),i=this.peekCodePoint(2);if(Vn(n,s,i)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===pQ?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(tr(e)){for(var t=OA(e);tr(this.peekCodePoint(0))&&t.length<6;)t+=OA(this.consumeCodePoint());Gn(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||VQ(r)||r>1114111?lc:r}return e===ke?lc:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(cc(t))e+=OA(t);else if(ht(t,this.peekCodePoint(0)))e+=OA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),Yf=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new Wf;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||pC(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?So:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),wn=function(A){return A.type===15},vr=function(A){return A.type===17},mA=function(A){return A.type===20},hC=function(A){return A.type===0},To=function(A,e){return mA(A)&&A.value===e},jf=function(A){return A.type!==31},Qr=function(A){return A.type!==31&&A.type!==4},$e=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},pC=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},Ht=function(A){return A.type===17||A.type===15},PA=function(A){return A.type===16||Ht(A)},Zf=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Ae={type:17,number:0,flags:pn},va={type:16,number:50,flags:pn},Qt={type:16,number:100,flags:pn},Nr=function(A,e,t){var r=A[0],n=A[1];return[HA(r,e),HA(typeof n<"u"?n:r,t)]},HA=function(A,e){if(A.type===16)return A.number/100*e;if(wn(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},zf="deg",qf="grad",AB="rad",eB="turn",si={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case zf:return Math.PI*e.number/180;case qf:return Math.PI/200*e.number;case AB:return e.number;case eB:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},tB=function(A){return A.type===15&&(A.unit===zf||A.unit===qf||A.unit===AB||A.unit===eB)},rB=function(A){var e=A.filter(mA).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ae,Ae];case"to top":case"bottom":return be(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ae,Qt];case"to right":case"left":return be(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Qt,Qt];case"to bottom":case"top":return be(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Qt,Ae];case"to left":case"right":return be(270)}return 0},be=function(A){return Math.PI*A/180},mt={name:"color",parse:function(A,e){if(e.type===18){var t=wC[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),s=e.value.substring(2,3);return Ct(parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),s=e.value.substring(2,3),i=e.value.substring(3,4);return Ct(parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16),parseInt(i+i,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),s=e.value.substring(4,6);return Ct(parseInt(r,16),parseInt(n,16),parseInt(s,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),s=e.value.substring(4,6),i=e.value.substring(6,8);return Ct(parseInt(r,16),parseInt(n,16),parseInt(s,16),parseInt(i,16)/255)}}if(e.type===20){var o=At[e.value.toUpperCase()];if(typeof o<"u")return o}return At.TRANSPARENT}},Et=function(A){return(255&A)===0},YA=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},Ct=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},uc=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},fc=function(A,e){var t=e.filter(Qr);if(t.length===3){var r=t.map(uc),n=r[0],s=r[1],i=r[2];return Ct(n,s,i,1)}if(t.length===4){var o=t.map(uc),n=o[0],s=o[1],i=o[2],a=o[3];return Ct(n,s,i,a)}return 0};function Di(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var Bc=function(A,e){var t=e.filter(Qr),r=t[0],n=t[1],s=t[2],i=t[3],o=(r.type===17?be(r.number):si.parse(A,r))/(Math.PI*2),a=PA(n)?n.number/100:0,c=PA(s)?s.number/100:0,l=typeof i<"u"&&PA(i)?HA(i,1):1;if(a===0)return Ct(c*255,c*255,c*255,1);var u=c<=.5?c*(a+1):c+a-c*a,f=c*2-u,B=Di(f,u,o+1/3),g=Di(f,u,o),h=Di(f,u,o-1/3);return Ct(B*255,g*255,h*255,l)},wC={hsl:Bc,hsla:Bc,rgb:fc,rgba:fc},qr=function(A,e){return mt.parse(A,Yf.create(e).parseComponentValue())},At={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},QC={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(mA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},CC={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ii=function(A,e){var t=mt.parse(A,e[0]),r=e[1];return r&&PA(r)?{color:t,stop:r}:{color:t,stop:null}},gc=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=Ae),r.stop===null&&(r.stop=Qt);for(var n=[],s=0,i=0;is?n.push(a):n.push(s),s=a}else n.push(null)}for(var c=null,i=0;ii.optimumDistance)?{optimumCorner:o,optimumDistance:l}:i},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},vC=function(A,e,t,r,n){var s=0,i=0;switch(A.size){case 0:A.shape===0?s=i=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(s=Math.min(Math.abs(e),Math.abs(e-r)),i=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)s=i=Math.min(Le(e,t),Le(e,t-n),Le(e-r,t),Le(e-r,t-n));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),a=dc(r,n,e,t,!0),c=a[0],l=a[1];s=Le(c-e,(l-t)/o),i=o*s}break;case 1:A.shape===0?s=i=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(s=Math.max(Math.abs(e),Math.abs(e-r)),i=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)s=i=Math.max(Le(e,t),Le(e,t-n),Le(e-r,t),Le(e-r,t-n));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),u=dc(r,n,e,t,!1),c=u[0],l=u[1];s=Le(c-e,(l-t)/o),i=o*s}break}return Array.isArray(A.size)&&(s=HA(A.size[0],r),i=A.size.length===2?HA(A.size[1],n):s),[s,i]},mC=function(A,e){var t=be(180),r=[];return $e(e).forEach(function(n,s){if(s===0){var i=n[0];if(i.type===20&&i.value==="to"){t=rB(n);return}else if(tB(i)){t=si.parse(A,i);return}}var o=ii(A,n);r.push(o)}),{angle:t,stops:r,type:1}},$n=function(A,e){var t=be(180),r=[];return $e(e).forEach(function(n,s){if(s===0){var i=n[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){t=rB(n);return}else if(tB(i)){t=(si.parse(A,i)+be(270))%be(360);return}}var o=ii(A,n);r.push(o)}),{angle:t,stops:r,type:1}},EC=function(A,e){var t=be(180),r=[],n=1,s=0,i=3,o=[];return $e(e).forEach(function(a,c){var l=a[0];if(c===0){if(mA(l)&&l.value==="linear"){n=1;return}else if(mA(l)&&l.value==="radial"){n=2;return}}if(l.type===18){if(l.name==="from"){var u=mt.parse(A,l.values[0]);r.push({stop:Ae,color:u})}else if(l.name==="to"){var u=mt.parse(A,l.values[0]);r.push({stop:Qt,color:u})}else if(l.name==="color-stop"){var f=l.values.filter(Qr);if(f.length===2){var u=mt.parse(A,f[1]),B=f[0];vr(B)&&r.push({stop:{type:16,number:B.number*100,flags:B.flags},color:u})}}}}),n===1?{angle:(t+be(180))%be(360),stops:r,type:n}:{size:i,shape:s,stops:r,position:o,type:n}},nB="closest-side",sB="farthest-side",iB="closest-corner",oB="farthest-corner",aB="circle",lB="ellipse",cB="cover",uB="contain",yC=function(A,e){var t=0,r=3,n=[],s=[];return $e(e).forEach(function(i,o){var a=!0;if(o===0){var c=!1;a=i.reduce(function(u,f){if(c)if(mA(f))switch(f.value){case"center":return s.push(va),u;case"top":case"left":return s.push(Ae),u;case"right":case"bottom":return s.push(Qt),u}else(PA(f)||Ht(f))&&s.push(f);else if(mA(f))switch(f.value){case aB:return t=0,!1;case lB:return t=1,!1;case"at":return c=!0,!1;case nB:return r=0,!1;case cB:case sB:return r=1,!1;case uB:case iB:return r=2,!1;case oB:return r=3,!1}else if(Ht(f)||PA(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return u},a)}if(a){var l=ii(A,i);n.push(l)}}),{size:r,shape:t,stops:n,position:s,type:2}},Jn=function(A,e){var t=0,r=3,n=[],s=[];return $e(e).forEach(function(i,o){var a=!0;if(o===0?a=i.reduce(function(l,u){if(mA(u))switch(u.value){case"center":return s.push(va),!1;case"top":case"left":return s.push(Ae),!1;case"right":case"bottom":return s.push(Qt),!1}else if(PA(u)||Ht(u))return s.push(u),!1;return l},a):o===1&&(a=i.reduce(function(l,u){if(mA(u))switch(u.value){case aB:return t=0,!1;case lB:return t=1,!1;case uB:case nB:return r=0,!1;case sB:return r=1,!1;case iB:return r=2,!1;case cB:case oB:return r=3,!1}else if(Ht(u)||PA(u))return Array.isArray(r)||(r=[]),r.push(u),!1;return l},a)),a){var c=ii(A,i);n.push(c)}}),{size:r,shape:t,stops:n,position:s,type:2}},bC=function(A){return A.type===1},HC=function(A){return A.type===2},ma={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=fB[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function IC(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!fB[A.name])}var fB={"linear-gradient":mC,"-moz-linear-gradient":$n,"-ms-linear-gradient":$n,"-o-linear-gradient":$n,"-webkit-linear-gradient":$n,"radial-gradient":yC,"-moz-radial-gradient":Jn,"-ms-radial-gradient":Jn,"-o-radial-gradient":Jn,"-webkit-radial-gradient":Jn,"-webkit-gradient":EC},xC={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return Qr(r)&&IC(r)}).map(function(r){return ma.parse(A,r)})}},LC={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(mA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},SC={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return $e(e).map(function(t){return t.filter(PA)}).map(Zf)}},TC={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return $e(e).map(function(t){return t.filter(mA).map(function(r){return r.value}).join(" ")}).map(KC)}},KC=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},gr;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(gr||(gr={}));var _C={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return $e(e).map(function(t){return t.filter(DC)})}},DC=function(A){return mA(A)||PA(A)},oi=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},OC=oi("top"),RC=oi("right"),kC=oi("bottom"),MC=oi("left"),ai=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Zf(t.filter(PA))}}},NC=ai("top-left"),PC=ai("top-right"),GC=ai("bottom-right"),VC=ai("bottom-left"),li=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},XC=li("top"),$C=li("right"),JC=li("bottom"),WC=li("left"),ci=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return wn(t)?t.number:0}}},YC=ci("top"),jC=ci("right"),ZC=ci("bottom"),zC=ci("left"),qC={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},A0={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},e0={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(mA).reduce(function(t,r){return t|t0(r.value)},0)}},t0=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},r0={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},n0={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},bs;(function(A){A.NORMAL="normal",A.STRICT="strict"})(bs||(bs={}));var s0={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return bs.STRICT;case"normal":default:return bs.NORMAL}}},i0={name:"line-height",initialValue:"normal",prefix:!1,type:4},hc=function(A,e){return mA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:PA(A)?HA(A,e):e},o0={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:ma.parse(A,e)}},a0={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Ko={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},ui=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},l0=ui("top"),c0=ui("right"),u0=ui("bottom"),f0=ui("left"),B0={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(mA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},g0={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},fi=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},d0=fi("top"),h0=fi("right"),p0=fi("bottom"),w0=fi("left"),Q0={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},C0={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},F0={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&To(e[0],"none")?[]:$e(e).map(function(t){for(var r={color:At.TRANSPARENT,offsetX:Ae,offsetY:Ae,blur:Ae},n=0,s=0;s"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},m0=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},E0=function(A){var e=A.filter(function(a){return a.type===17}).map(function(a){return a.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],s=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var i=e[12],o=e[13];return e[14],e[15],e.length===16?[t,r,n,s,i,o]:null},y0={matrix:m0,matrix3d:E0},pc={type:16,number:50,flags:pn},b0=[pc,pc],H0={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(PA);return t.length!==2?b0:[t[0],t[1]]}},I0={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},An;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(An||(An={}));var x0={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return An.BREAK_ALL;case"keep-all":return An.KEEP_ALL;case"normal":default:return An.NORMAL}}},L0={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(vr(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},BB={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},S0={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return vr(e)?e.number:1}},T0={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},K0={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(mA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},_0={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},D0={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},O0={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(vr(e))return e.number;if(mA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},R0={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(mA).map(function(t){return t.value})}},k0={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},XA=function(A,e){return(A&e)!==0},M0={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},N0={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(jf),s=0;s1?1:0],this.overflowWrap=G(e,g0,t.overflowWrap),this.paddingTop=G(e,d0,t.paddingTop),this.paddingRight=G(e,h0,t.paddingRight),this.paddingBottom=G(e,p0,t.paddingBottom),this.paddingLeft=G(e,w0,t.paddingLeft),this.paintOrder=G(e,$0,t.paintOrder),this.position=G(e,C0,t.position),this.textAlign=G(e,Q0,t.textAlign),this.textDecorationColor=G(e,T0,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=G(e,K0,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=G(e,F0,t.textShadow),this.textTransform=G(e,U0,t.textTransform),this.transform=G(e,v0,t.transform),this.transformOrigin=G(e,H0,t.transformOrigin),this.visibility=G(e,I0,t.visibility),this.webkitTextStrokeColor=G(e,J0,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=G(e,W0,t.webkitTextStrokeWidth),this.wordBreak=G(e,x0,t.wordBreak),this.zIndex=G(e,L0,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return Et(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return XA(this.display,4)||XA(this.display,33554432)||XA(this.display,268435456)||XA(this.display,536870912)||XA(this.display,67108864)||XA(this.display,134217728)},A}(),j0=function(){function A(e,t){this.content=G(e,M0,t.content),this.quotes=G(e,V0,t.quotes)}return A}(),Qc=function(){function A(e,t){this.counterIncrement=G(e,N0,t.counterIncrement),this.counterReset=G(e,P0,t.counterReset)}return A}(),G=function(A,e,t){var r=new Wf,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var s=new Yf(r.read());switch(e.type){case 2:var i=s.parseComponentValue();return e.parse(A,mA(i)?i.value:e.initialValue);case 0:return e.parse(A,s.parseComponentValue());case 1:return e.parse(A,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(e.format){case"angle":return si.parse(A,s.parseComponentValue());case"color":return mt.parse(A,s.parseComponentValue());case"image":return ma.parse(A,s.parseComponentValue());case"length":var o=s.parseComponentValue();return Ht(o)?o:Ae;case"length-percentage":var a=s.parseComponentValue();return PA(a)?a:Ae;case"time":return BB.parse(A,s.parseComponentValue())}break}},Z0="data-html2canvas-debug",z0=function(A){var e=A.getAttribute(Z0);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},_o=function(A,e){var t=z0(A);return t===1||e===t},Je=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,_o(t,3))debugger;this.styles=new Y0(e,window.getComputedStyle(t,null)),Ro(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=ri(this.context,t),_o(t,4)&&(this.flags|=16)}return A}(),q0="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BT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IAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgAC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AAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Cc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pr=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Wn=0;Wn>4,l[n++]=(i&15)<<4|o>>2,l[n++]=(o&3)<<6|a&63;return c},eF=function(A){for(var e=A.length,t=[],r=0;r>Xt,nF=1<>Xt,iF=gB+sF,oF=iF,aF=32,lF=oF+aF,cF=65536>>Ea,uF=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Xt],t=(t<>Xt)],t=(t<>Ea),t=this.index[t],t+=e>>Xt&fF,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Yn=0;Yn=55296&&n<=56319&&t>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},FF=gF(q0),me="×",Vi="÷",UF=function(A){return FF.get(A)},vF=function(A,e,t){var r=t-2,n=e[r],s=e[t-1],i=e[t];if(s===ki&&i===Mi)return me;if(s===ki||s===Mi||s===vc||i===ki||i===Mi||i===vc)return Vi;if(s===Ec&&[Ec,Ni,yc,bc].indexOf(i)!==-1||(s===yc||s===Ni)&&(i===Ni||i===Pi)||(s===bc||s===Pi)&&i===Pi||i===Hc||i===mc||i===wF||s===pF)return me;if(s===Hc&&i===Ic){for(;n===mc;)n=e[--r];if(n===Ic)return me}if(s===Gi&&i===Gi){for(var o=0;n===Gi;)o++,n=e[--r];if(o%2===0)return me}return Vi},mF=function(A){var e=QF(A),t=e.length,r=0,n=0,s=e.map(UF);return{next:function(){if(r>=t)return{done:!0,value:null};for(var i=me;ri.x||l.y>i.y;return i=l,c===0?!0:u});return A.body.removeChild(e),o},HF=function(){return typeof new Image().crossOrigin<"u"},IF=function(){return typeof new XMLHttpRequest().responseType=="string"},xF=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},xc=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},LF=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,s=e.toDataURL();n.src=s;var i=Do(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),Lc(i).then(function(o){r.drawImage(o,0,0);var a=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var c=A.createElement("div");return c.style.backgroundImage="url("+s+")",c.style.height=t+"px",xc(a)?Lc(Do(t,t,0,0,c)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),xc(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},Do=function(A,e,t,r,n){var s="http://www.w3.org/2000/svg",i=document.createElementNS(s,"svg"),o=document.createElementNS(s,"foreignObject");return i.setAttributeNS(null,"width",A.toString()),i.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(o),o.appendChild(n),i},Lc=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},zA={get SUPPORT_RANGE_BOUNDS(){var A=yF(document);return Object.defineProperty(zA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=zA.SUPPORT_RANGE_BOUNDS&&bF(document);return Object.defineProperty(zA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=xF(document);return Object.defineProperty(zA,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?LF(document):Promise.resolve(!1);return Object.defineProperty(zA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=HF();return Object.defineProperty(zA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=IF();return Object.defineProperty(zA,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(zA,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(zA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},en=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),SF=function(A,e,t,r){var n=_F(e,t),s=[],i=0;return n.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(zA.SUPPORT_RANGE_BOUNDS){var a=Sc(r,i,o.length).getClientRects();if(a.length>1){var c=ya(o),l=0;c.forEach(function(f){s.push(new en(f,tt.fromDOMRectList(A,Sc(r,l+i,f.length).getClientRects()))),l+=f.length})}else s.push(new en(o,tt.fromDOMRectList(A,a)))}else{var u=r.splitText(o.length);s.push(new en(o,TF(A,r))),r=u}else zA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));i+=o.length}),s},TF=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var s=ri(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),s}}return tt.EMPTY},Sc=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},ya=function(A){if(zA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return EF(A)},KF=function(A,e){if(zA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return OF(A,e)},_F=function(A,e){return e.letterSpacing!==0?ya(A):KF(A,e)},DF=[32,160,4961,65792,65793,4153,4241],OF=function(A,e){for(var t=cQ(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,s=function(){if(n.value){var i=n.value.slice(),o=ni(i),a="";o.forEach(function(c){DF.indexOf(c)===-1?a+=OA(c):(a.length&&r.push(a),r.push(OA(c)),a="")}),a.length&&r.push(a)}};!(n=t.next()).done;)s();return r},RF=function(){function A(e,t,r){this.text=kF(t.data,r.textTransform),this.textBounds=SF(e,this.text,r,t)}return A}(),kF=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(MF,NF);case 2:return A.toUpperCase();default:return A}},MF=/(^|\s|:|-|\(|\))([a-z])/g,NF=function(A,e,t){return A.length>0?e+t.toUpperCase():A},dB=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(Je),hB=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(Je),pB=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this,s=new XMLSerializer,i=ri(t,r);return r.setAttribute("width",i.width+"px"),r.setAttribute("height",i.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(Je),wB=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(Je),Oo=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(Je),PF=[{type:15,flags:0,unit:"px",number:3}],GF=[{type:16,flags:0,number:50}],VF=function(A){return A.width>A.height?new tt(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new RF(A,n,t.styles));else if(lr(n))if(HB(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return us(A,o,t,r)});else{var i=UB(A,n);i.styles.isVisible()&&(WF(n,i,r)?i.flags|=4:YF(i.styles)&&(i.flags|=2),JF.indexOf(n.tagName)!==-1&&(i.flags|=8),t.elements.push(i),n.slot,n.shadowRoot?us(A,n.shadowRoot,i,r):!xs(n)&&!EB(n)&&!Ls(n)&&us(A,n,i,r))}},UB=function(A,e){return ko(e)?new dB(A,e):yB(e)?new hB(A,e):EB(e)?new pB(A,e):jF(e)?new wB(A,e):ZF(e)?new Oo(A,e):zF(e)?new ba(A,e):Ls(e)?new QB(A,e):xs(e)?new CB(A,e):bB(e)?new FB(A,e):new Je(A,e)},vB=function(A,e){var t=UB(A,e);return t.flags|=4,us(A,e,t,t),t},WF=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Ha(A)&&t.styles.isTransparent()},YF=function(A){return A.isPositioned()||A.isFloating()},mB=function(A){return A.nodeType===Node.TEXT_NODE},lr=function(A){return A.nodeType===Node.ELEMENT_NODE},Ro=function(A){return lr(A)&&typeof A.style<"u"&&!fs(A)},fs=function(A){return typeof A.className=="object"},jF=function(A){return A.tagName==="LI"},ZF=function(A){return A.tagName==="OL"},zF=function(A){return A.tagName==="INPUT"},qF=function(A){return A.tagName==="HTML"},EB=function(A){return A.tagName==="svg"},Ha=function(A){return A.tagName==="BODY"},yB=function(A){return A.tagName==="CANVAS"},Kc=function(A){return A.tagName==="VIDEO"},ko=function(A){return A.tagName==="IMG"},bB=function(A){return A.tagName==="IFRAME"},_c=function(A){return A.tagName==="STYLE"},AU=function(A){return A.tagName==="SCRIPT"},xs=function(A){return A.tagName==="TEXTAREA"},Ls=function(A){return A.tagName==="SELECT"},HB=function(A){return A.tagName==="SLOT"},Dc=function(A){return A.tagName.indexOf("-")>0},eU=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,s=!0;r!==null&&r.forEach(function(o){var a=t.counters[o.counter];a&&o.increment!==0&&(s=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=o.increment)});var i=[];return s&&n.forEach(function(o){var a=t.counters[o.counter];i.push(o.counter),a||(a=t.counters[o.counter]=[]),a.push(o.reset)}),i},A}(),Oc={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Rc={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},tU={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},rU={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},rr=function(A,e,t,r,n,s){return At?Bn(A,n,s.length>0):r.integers.reduce(function(i,o,a){for(;A>=o;)A-=o,i+=r.values[a];return i},"")+s},IB=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},DA=function(A,e,t,r,n){var s=t-e+1;return(A<0?"-":"")+(IB(Math.abs(A),s,r,function(i){return OA(Math.floor(i%s)+e)})+n)},Tt=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return IB(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},or=1,lt=2,ct=4,Gr=8,je=function(A,e,t,r,n,s){if(A<-9999||A>9999)return Bn(A,4,n.length>0);var i=Math.abs(A),o=n;if(i===0)return e[0]+o;for(var a=0;i>0&&a<=4;a++){var c=i%10;c===0&&XA(s,or)&&o!==""?o=e[c]+o:c>1||c===1&&a===0||c===1&&a===1&&XA(s,lt)||c===1&&a===1&&XA(s,ct)&&A>100||c===1&&a>1&&XA(s,Gr)?o=e[c]+(a>0?t[a-1]:"")+o:c===1&&a>0&&(o=t[a-1]+o),i=Math.floor(i/10)}return(A<0?r:"")+o},kc="十百千萬",Mc="拾佰仟萬",Nc="マイナス",Xi="마이너스",Bn=function(A,e,t){var r=t?". ":"",n=t?"、":"",s=t?", ":"",i=t?" ":"";switch(e){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var o=DA(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Tt(A,"〇一二三四五六七八九",n);case 6:return rr(A,1,3999,Oc,3,r).toLowerCase();case 7:return rr(A,1,3999,Oc,3,r);case 8:return DA(A,945,969,!1,r);case 9:return DA(A,97,122,!1,r);case 10:return DA(A,65,90,!1,r);case 11:return DA(A,1632,1641,!0,r);case 12:case 49:return rr(A,1,9999,Rc,3,r);case 35:return rr(A,1,9999,Rc,3,r).toLowerCase();case 13:return DA(A,2534,2543,!0,r);case 14:case 30:return DA(A,6112,6121,!0,r);case 15:return Tt(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Tt(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return je(A,"零一二三四五六七八九",kc,"負",n,lt|ct|Gr);case 47:return je(A,"零壹貳參肆伍陸柒捌玖",Mc,"負",n,or|lt|ct|Gr);case 42:return je(A,"零一二三四五六七八九",kc,"负",n,lt|ct|Gr);case 41:return je(A,"零壹贰叁肆伍陆柒捌玖",Mc,"负",n,or|lt|ct|Gr);case 26:return je(A,"〇一二三四五六七八九","十百千万",Nc,n,0);case 25:return je(A,"零壱弐参四伍六七八九","拾百千万",Nc,n,or|lt|ct);case 31:return je(A,"영일이삼사오육칠팔구","십백천만",Xi,s,or|lt|ct);case 33:return je(A,"零一二三四五六七八九","十百千萬",Xi,s,0);case 32:return je(A,"零壹貳參四五六七八九","拾百千",Xi,s,or|lt|ct);case 18:return DA(A,2406,2415,!0,r);case 20:return rr(A,1,19999,rU,3,r);case 21:return DA(A,2790,2799,!0,r);case 22:return DA(A,2662,2671,!0,r);case 22:return rr(A,1,10999,tU,3,r);case 23:return Tt(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Tt(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return DA(A,3302,3311,!0,r);case 28:return Tt(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Tt(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return DA(A,3792,3801,!0,r);case 37:return DA(A,6160,6169,!0,r);case 38:return DA(A,4160,4169,!0,r);case 39:return DA(A,2918,2927,!0,r);case 40:return DA(A,1776,1785,!0,r);case 43:return DA(A,3046,3055,!0,r);case 44:return DA(A,3174,3183,!0,r);case 45:return DA(A,3664,3673,!0,r);case 46:return DA(A,3872,3881,!0,r);case 3:default:return DA(A,48,57,!0,r)}},xB="data-html2canvas-ignore",Pc=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new eU,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=nU(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var s=e.defaultView.pageXOffset,i=e.defaultView.pageYOffset,o=n.contentWindow,a=o.document,c=oU(n).then(function(){return le(r,void 0,void 0,function(){var l,u;return ee(this,function(f){switch(f.label){case 0:return this.scrolledElements.forEach(uU),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),l=this.options.onclone,u=this.clonedReferenceElement,typeof u>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:f.sent(),f.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,iU(a)]:[3,4];case 3:f.sent(),f.label=4;case 4:return typeof l=="function"?[2,Promise.resolve().then(function(){return l(a,u)}).then(function(){return n})]:[2,n]}})})});return a.open(),a.write(lU(document.doctype)+""),cU(this.referenceElement.ownerDocument,s,i),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),c},A.prototype.createElementClone=function(e){if(_o(e,2))debugger;if(yB(e))return this.createCanvasClone(e);if(Kc(e))return this.createVideoClone(e);if(_c(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return ko(t)&&(ko(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Dc(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return $i(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(s,i){return i&&typeof i.cssText=="string"?s+i.cssText:s},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),s.name!=="SecurityError")throw s}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var s=e.getContext("2d"),i=n.getContext("2d");if(i)if(!this.options.allowTaint&&s)i.putImageData(s.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var a=o.getContextAttributes();(a==null?void 0:a.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!lr(t)||!AU(t)&&!t.hasAttribute(xB)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!lr(t)||!_c(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,s=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;s;s=s.nextSibling)if(lr(s)&&HB(s)&&typeof s.assignedNodes=="function"){var i=s.assignedNodes();i.length&&i.forEach(function(o){return n.appendChildNode(t,o,r)})}else this.appendChildNode(t,s,r)},A.prototype.cloneNode=function(e,t){if(mB(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&lr(e)&&(Ro(e)||fs(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var s=r.getComputedStyle(e),i=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&Ro(n)&&(this.clonedReferenceElement=n),Ha(n)&&gU(n);var a=this.counters.parse(new Qc(this.context,s)),c=this.resolvePseudoContent(e,n,i,tn.BEFORE);Dc(e)&&(t=!0),Kc(e)||this.cloneChildNodes(e,n,t),c&&n.insertBefore(c,n.firstChild);var l=this.resolvePseudoContent(e,n,o,tn.AFTER);return l&&n.appendChild(l),this.counters.pop(a),(s&&(this.options.copyStyles||fs(e))&&!bB(e)||t)&&$i(s,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(xs(e)||Ls(e))&&(xs(n)||Ls(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var s=this;if(r){var i=r.content,o=t.ownerDocument;if(!(!o||!i||i==="none"||i==="-moz-alt-content"||r.display==="none")){this.counters.parse(new Qc(this.context,r));var a=new j0(this.context,r),c=o.createElement("html2canvaspseudoelement");$i(r,c),a.content.forEach(function(u){if(u.type===0)c.appendChild(o.createTextNode(u.value));else if(u.type===22){var f=o.createElement("img");f.src=u.value,f.style.opacity="1",c.appendChild(f)}else if(u.type===18){if(u.name==="attr"){var B=u.values.filter(mA);B.length&&c.appendChild(o.createTextNode(e.getAttribute(B[0].value)||""))}else if(u.name==="counter"){var g=u.values.filter(Qr),h=g[0],U=g[1];if(h&&mA(h)){var w=s.counters.getCounterValue(h.value),C=U&&mA(U)?Ko.parse(s.context,U.value):3;c.appendChild(o.createTextNode(Bn(w,C,!1)))}}else if(u.name==="counters"){var F=u.values.filter(Qr),h=F[0],y=F[1],U=F[2];if(h&&mA(h)){var E=s.counters.getCounterValues(h.value),Q=U&&mA(U)?Ko.parse(s.context,U.value):3,L=y&&y.type===0?y.value:"",v=E.map(function(j){return Bn(j,Q,!1)}).join(L);c.appendChild(o.createTextNode(v))}}}else if(u.type===20)switch(u.value){case"open-quote":c.appendChild(o.createTextNode(wc(a.quotes,s.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(wc(a.quotes,--s.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(u.value))}}),c.className=Mo+" "+No;var l=n===tn.BEFORE?" "+Mo:" "+No;return fs(t)?t.className.baseValue+=l:t.className+=l,c}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),tn;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(tn||(tn={}));var nU=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(xB,"true"),A.body.appendChild(t),t},sU=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},iU=function(A){return Promise.all([].slice.call(A.images,0).map(sU))},oU=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var s=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(s),e(A))},50)}})},aU=["all","d","content"],$i=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);aU.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},lU=function(A){var e="";return A&&(e+=""),e},cU=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},uU=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},fU=":before",BU=":after",Mo="___html2canvas___pseudoelement_before",No="___html2canvas___pseudoelement_after",Gc=`{ content: "" !important; display: none !important; -}`,cU=function(A){uU(A,"."+Mo+aU+Gc+` - .`+No+lU+Gc)},uU=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},LB=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),fU=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(Wi(e)||hU(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return ae(this,void 0,void 0,function(){var t,r,n,s,i=this;return ee(this,function(o){switch(o.label){case 0:return t=LB.isSameOrigin(e),r=!Ji(e)&&this._options.useCORS===!0&&zA.SUPPORT_CORS_IMAGES&&!t,n=!Ji(e)&&!t&&!Wi(e)&&typeof this._options.proxy=="string"&&zA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!Ji(e)&&!Wi(e)&&!n&&!r?[2]:(s=e,n?[4,this.proxy(s)]:[3,2]);case 1:s=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(a,c){var l=new Image;l.onload=function(){return a(l)},l.onerror=c,(pU(s)||r)&&(l.crossOrigin="anonymous"),l.src=s,l.complete===!0&&setTimeout(function(){return a(l)},500),i._options.imageTimeout>0&&setTimeout(function(){return c("Timed out ("+i._options.imageTimeout+"ms) loading image")},i._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(s,i){var o=zA.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(a.status===200)if(o==="text")s(a.response);else{var u=new FileReader;u.addEventListener("load",function(){return s(u.result)},!1),u.addEventListener("error",function(f){return i(f)},!1),u.readAsDataURL(a.response)}else i("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=i;var c=r.indexOf("?")>-1?"&":"?";if(a.open("GET",""+r+c+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),t._options.imageTimeout){var l=t._options.imageTimeout;a.timeout=l,a.ontimeout=function(){return i("Timed out ("+l+"ms) proxying "+n)}}a.send()})},A}(),BU=/^data:image\/svg\+xml/i,gU=/^data:image\/.*;base64,/i,dU=/^data:image\/.*/i,hU=function(A){return zA.SUPPORT_SVG_DRAWING||!wU(A)},Ji=function(A){return dU.test(A)},pU=function(A){return gU.test(A)},Wi=function(A){return A.substr(0,4)==="blob"},wU=function(A){return A.substr(-3).toLowerCase()==="svg"||BU.test(A)},M=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),nr=function(A,e,t){return new M(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},jn=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=nr(this.start,this.startControl,e),n=nr(this.startControl,this.endControl,e),s=nr(this.endControl,this.end,e),i=nr(r,n,e),o=nr(n,s,e),a=nr(i,o,e);return t?new A(this.start,r,i,a):new A(a,o,s,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Ee=function(A){return A.type===1},QU=function(){function A(e){var t=e.styles,r=e.bounds,n=Nr(t.borderTopLeftRadius,r.width,r.height),s=n[0],i=n[1],o=Nr(t.borderTopRightRadius,r.width,r.height),a=o[0],c=o[1],l=Nr(t.borderBottomRightRadius,r.width,r.height),u=l[0],f=l[1],B=Nr(t.borderBottomLeftRadius,r.width,r.height),g=B[0],h=B[1],U=[];U.push((s+a)/r.width),U.push((g+u)/r.width),U.push((i+h)/r.height),U.push((c+f)/r.height);var w=Math.max.apply(Math,U);w>1&&(s/=w,i/=w,a/=w,c/=w,u/=w,f/=w,g/=w,h/=w);var C=r.width-a,F=r.height-f,y=r.width-u,E=r.height-h,Q=t.borderTopWidth,L=t.borderRightWidth,v=t.borderBottomWidth,b=t.borderLeftWidth,O=HA(t.paddingTop,e.bounds.width),j=HA(t.paddingRight,e.bounds.width),T=HA(t.paddingBottom,e.bounds.width),P=HA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||i>0?SA(r.left+b/3,r.top+Q/3,s-b/3,i-Q/3,pA.TOP_LEFT):new M(r.left+b/3,r.top+Q/3),this.topRightBorderDoubleOuterBox=s>0||i>0?SA(r.left+C,r.top+Q/3,a-L/3,c-Q/3,pA.TOP_RIGHT):new M(r.left+r.width-L/3,r.top+Q/3),this.bottomRightBorderDoubleOuterBox=u>0||f>0?SA(r.left+y,r.top+F,u-L/3,f-v/3,pA.BOTTOM_RIGHT):new M(r.left+r.width-L/3,r.top+r.height-v/3),this.bottomLeftBorderDoubleOuterBox=g>0||h>0?SA(r.left+b/3,r.top+E,g-b/3,h-v/3,pA.BOTTOM_LEFT):new M(r.left+b/3,r.top+r.height-v/3),this.topLeftBorderDoubleInnerBox=s>0||i>0?SA(r.left+b*2/3,r.top+Q*2/3,s-b*2/3,i-Q*2/3,pA.TOP_LEFT):new M(r.left+b*2/3,r.top+Q*2/3),this.topRightBorderDoubleInnerBox=s>0||i>0?SA(r.left+C,r.top+Q*2/3,a-L*2/3,c-Q*2/3,pA.TOP_RIGHT):new M(r.left+r.width-L*2/3,r.top+Q*2/3),this.bottomRightBorderDoubleInnerBox=u>0||f>0?SA(r.left+y,r.top+F,u-L*2/3,f-v*2/3,pA.BOTTOM_RIGHT):new M(r.left+r.width-L*2/3,r.top+r.height-v*2/3),this.bottomLeftBorderDoubleInnerBox=g>0||h>0?SA(r.left+b*2/3,r.top+E,g-b*2/3,h-v*2/3,pA.BOTTOM_LEFT):new M(r.left+b*2/3,r.top+r.height-v*2/3),this.topLeftBorderStroke=s>0||i>0?SA(r.left+b/2,r.top+Q/2,s-b/2,i-Q/2,pA.TOP_LEFT):new M(r.left+b/2,r.top+Q/2),this.topRightBorderStroke=s>0||i>0?SA(r.left+C,r.top+Q/2,a-L/2,c-Q/2,pA.TOP_RIGHT):new M(r.left+r.width-L/2,r.top+Q/2),this.bottomRightBorderStroke=u>0||f>0?SA(r.left+y,r.top+F,u-L/2,f-v/2,pA.BOTTOM_RIGHT):new M(r.left+r.width-L/2,r.top+r.height-v/2),this.bottomLeftBorderStroke=g>0||h>0?SA(r.left+b/2,r.top+E,g-b/2,h-v/2,pA.BOTTOM_LEFT):new M(r.left+b/2,r.top+r.height-v/2),this.topLeftBorderBox=s>0||i>0?SA(r.left,r.top,s,i,pA.TOP_LEFT):new M(r.left,r.top),this.topRightBorderBox=a>0||c>0?SA(r.left+C,r.top,a,c,pA.TOP_RIGHT):new M(r.left+r.width,r.top),this.bottomRightBorderBox=u>0||f>0?SA(r.left+y,r.top+F,u,f,pA.BOTTOM_RIGHT):new M(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=g>0||h>0?SA(r.left,r.top+E,g,h,pA.BOTTOM_LEFT):new M(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||i>0?SA(r.left+b,r.top+Q,Math.max(0,s-b),Math.max(0,i-Q),pA.TOP_LEFT):new M(r.left+b,r.top+Q),this.topRightPaddingBox=a>0||c>0?SA(r.left+Math.min(C,r.width-L),r.top+Q,C>r.width+L?0:Math.max(0,a-L),Math.max(0,c-Q),pA.TOP_RIGHT):new M(r.left+r.width-L,r.top+Q),this.bottomRightPaddingBox=u>0||f>0?SA(r.left+Math.min(y,r.width-b),r.top+Math.min(F,r.height-v),Math.max(0,u-L),Math.max(0,f-v),pA.BOTTOM_RIGHT):new M(r.left+r.width-L,r.top+r.height-v),this.bottomLeftPaddingBox=g>0||h>0?SA(r.left+b,r.top+Math.min(E,r.height-v),Math.max(0,g-b),Math.max(0,h-v),pA.BOTTOM_LEFT):new M(r.left+b,r.top+r.height-v),this.topLeftContentBox=s>0||i>0?SA(r.left+b+P,r.top+Q+O,Math.max(0,s-(b+P)),Math.max(0,i-(Q+O)),pA.TOP_LEFT):new M(r.left+b+P,r.top+Q+O),this.topRightContentBox=a>0||c>0?SA(r.left+Math.min(C,r.width+b+P),r.top+Q+O,C>r.width+b+P?0:a-b+P,c-(Q+O),pA.TOP_RIGHT):new M(r.left+r.width-(L+j),r.top+Q+O),this.bottomRightContentBox=u>0||f>0?SA(r.left+Math.min(y,r.width-(b+P)),r.top+Math.min(F,r.height+Q+O),Math.max(0,u-(L+j)),f-(v+T),pA.BOTTOM_RIGHT):new M(r.left+r.width-(L+j),r.top+r.height-(v+T)),this.bottomLeftContentBox=g>0||h>0?SA(r.left+b+P,r.top+E,Math.max(0,g-(b+P)),h-(v+T),pA.BOTTOM_LEFT):new M(r.left+b+P,r.top+r.height-(v+T))}return A}(),pA;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(pA||(pA={}));var SA=function(A,e,t,r,n){var s=4*((Math.sqrt(2)-1)/3),i=t*s,o=r*s,a=A+t,c=e+r;switch(n){case pA.TOP_LEFT:return new jn(new M(A,c),new M(A,c-o),new M(a-i,e),new M(a,e));case pA.TOP_RIGHT:return new jn(new M(A,e),new M(A+i,e),new M(a,c-o),new M(a,c));case pA.BOTTOM_RIGHT:return new jn(new M(a,e),new M(a,e+o),new M(A+i,c),new M(A,c));case pA.BOTTOM_LEFT:default:return new jn(new M(a,c),new M(a-i,c),new M(A,e+o),new M(A,e))}},Ss=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},CU=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Ts=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},FU=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),Zn=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),UU=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),vU=function(A){return A.type===0},SB=function(A){return A.type===1},mU=function(A){return A.type===2},Vc=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},EU=function(A,e,t,r,n){return A.map(function(s,i){switch(i){case 0:return s.add(e,t);case 1:return s.add(e+r,t);case 2:return s.add(e+r,t+n);case 3:return s.add(e,t+n)}return s})},TB=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),KB=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new QU(this.container),this.container.styles.opacity<1&&this.effects.push(new UU(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,s=this.container.styles.transform;this.effects.push(new FU(r,n,s))}if(this.container.styles.overflowX!==0){var i=Ss(this.curves),o=Ts(this.curves);Vc(i,o)?this.effects.push(new Zn(i,6)):(this.effects.push(new Zn(i,2)),this.effects.push(new Zn(o,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var s=r.effects.filter(function(a){return!SB(a)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,s),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var i=Ss(r.curves),o=Ts(r.curves);Vc(i,o)||n.unshift(new Zn(o,6))}}else n.unshift.apply(n,s);r=r.parent}return n.filter(function(a){return XA(a.target,e)})},A}(),Po=function(A,e,t,r){A.container.elements.forEach(function(n){var s=XA(n.flags,4),i=XA(n.flags,2),o=new KB(n,A);XA(n.styles.display,2048)&&r.push(o);var a=XA(n.flags,8)?[]:r;if(s||i){var c=s||n.styles.isPositioned()?t:e,l=new TB(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var u=n.styles.zIndex.order;if(u<0){var f=0;c.negativeZIndex.some(function(g,h){return u>g.element.container.styles.zIndex.order?(f=h,!1):f>0}),c.negativeZIndex.splice(f,0,l)}else if(u>0){var B=0;c.positiveZIndex.some(function(g,h){return u>=g.element.container.styles.zIndex.order?(B=h+1,!1):B>0}),c.positiveZIndex.splice(B,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else n.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);Po(o,l,s?l:t,a)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Po(o,e,t,a);XA(n.flags,8)&&_B(n,a)})},_B=function(A,e){for(var t=A instanceof Oo?A.start:1,r=A instanceof Oo?A.reversed:!1,n=0;n"u"?A[0]:t},TU=function(A,e,t,r,n){var s=e[0],i=e[1],o=t[0],a=t[1];switch(A){case 2:return[new M(Math.round(r.left),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(a+r.top+i)),new M(Math.round(r.left),Math.round(a+r.top+i))];case 3:return[new M(Math.round(r.left+s),Math.round(r.top)),new M(Math.round(r.left+s+o),Math.round(r.top)),new M(Math.round(r.left+s+o),Math.round(r.height+r.top)),new M(Math.round(r.left+s),Math.round(r.height+r.top))];case 1:return[new M(Math.round(r.left+s),Math.round(r.top+i)),new M(Math.round(r.left+s+o),Math.round(r.top+i)),new M(Math.round(r.left+s+o),Math.round(r.top+i+a)),new M(Math.round(r.left+s),Math.round(r.top+i+a))];default:return[new M(Math.round(n.left),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.height+n.top)),new M(Math.round(n.left),Math.round(n.height+n.top))]}},KU="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",$c="Hidden Text",_U=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),s=this._document.createElement("span"),i=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",i.appendChild(r),n.src=KU,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",s.style.fontFamily=e,s.style.fontSize=t,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode($c)),r.appendChild(s),r.appendChild(n);var o=n.offsetTop-s.offsetTop+2;r.removeChild(s),r.appendChild(this._document.createTextNode($c)),r.style.lineHeight="normal",n.style.verticalAlign="super";var a=n.offsetTop-r.offsetTop+2;return i.removeChild(r),{baseline:o,middle:a}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),OB=function(){function A(e,t){this.context=e,this.options=t}return A}(),DU=1e4,OU=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new _U(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),mU(t)&&(this.ctx.globalAlpha=t.opacity),vU(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),SB(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return ae(this,void 0,void 0,function(){var r;return ee(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return ae(this,void 0,void 0,function(){return ee(this,function(r){switch(r.label){case 0:if(XA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var s=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var i=ya(t.text);i.reduce(function(o,a){return s.ctx.fillText(a,o,t.bounds.top+n),o+s.ctx.measureText(a).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(i){return i==="normal"||i==="small-caps"}).join(""),n=PU(t.fontFamily).join(", "),s=wn(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,s,n].join(" "),n,s]},e.prototype.renderTextNode=function(t,r){return ae(this,void 0,void 0,function(){var n,s,i,o,a,c,l,u,f=this;return ee(this,function(B){return n=this.createFontStyle(r),s=n[0],i=n[1],o=n[2],this.ctx.font=s,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(i,o),c=a.baseline,l=a.middle,u=r.paintOrder,t.textBounds.forEach(function(g){u.forEach(function(h){switch(h){case 0:f.ctx.fillStyle=YA(r.color),f.renderTextWithLetterSpacing(g,r.letterSpacing,c);var U=r.textShadow;U.length&&g.text.trim().length&&(U.slice(0).reverse().forEach(function(w){f.ctx.shadowColor=YA(w.color),f.ctx.shadowOffsetX=w.offsetX.number*f.options.scale,f.ctx.shadowOffsetY=w.offsetY.number*f.options.scale,f.ctx.shadowBlur=w.blur.number,f.renderTextWithLetterSpacing(g,r.letterSpacing,c)}),f.ctx.shadowColor="",f.ctx.shadowOffsetX=0,f.ctx.shadowOffsetY=0,f.ctx.shadowBlur=0),r.textDecorationLine.length&&(f.ctx.fillStyle=YA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(w){switch(w){case 1:f.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top+c),g.bounds.width,1);break;case 2:f.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top),g.bounds.width,1);break;case 3:f.ctx.fillRect(g.bounds.left,Math.ceil(g.bounds.top+l),g.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&g.text.trim().length&&(f.ctx.strokeStyle=YA(r.webkitTextStrokeColor),f.ctx.lineWidth=r.webkitTextStrokeWidth,f.ctx.lineJoin=window.chrome?"miter":"round",f.ctx.strokeText(g.text,g.bounds.left,g.bounds.top+c)),f.ctx.strokeStyle="",f.ctx.lineWidth=0,f.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var s=Ks(t),i=Ts(r);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,s.left,s.top,s.width,s.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return ae(this,void 0,void 0,function(){var r,n,s,i,o,a,C,C,c,l,u,f,y,B,g,E,h,U,w,C,F,y,E;return ee(this,function(Q){switch(Q.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,s=r.styles,i=0,o=r.textNodes,Q.label=1;case 1:return i0&&aA>0&&(v=s.ctx.createPattern(E,"repeat"),s.renderRepeat(O,v,W,tA))):mC(l)&&(b=Yi(t,r,[null,null,null]),O=b[0],j=b[1],T=b[2],P=b[3],aA=b[4],gA=l.position.length===0?[va]:l.position,W=HA(gA[0],P),tA=HA(gA[gA.length-1],aA),lA=QC(l,W,tA,P,aA),TA=lA[0],MA=lA[1],TA>0&&MA>0&&(nA=s.ctx.createRadialGradient(j+W,T+tA,0,j+W,T+tA,TA),gc(l.stops,TA*2).forEach(function(H){return nA.addColorStop(H.stop,YA(H.color))}),s.path(O),s.ctx.fillStyle=nA,TA!==MA?(sA=t.bounds.left+.5*t.bounds.width,QA=t.bounds.top+.5*t.bounds.height,yA=MA/TA,JA=1/yA,s.ctx.save(),s.ctx.translate(sA,QA),s.ctx.transform(1,0,0,yA,0,0),s.ctx.translate(-sA,-QA),s.ctx.fillRect(j,JA*(T-QA)+QA,P,aA*JA),s.ctx.restore()):s.ctx.fill())),UA.label=6;case 6:return r--,[2]}})},s=this,i=0,o=t.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return i0?l.style!==2?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return f.sent(),[3,11];case 5:return l.style!==3?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,o,t.curves,3)];case 6:return f.sent(),[3,11];case 7:return l.style!==4?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,o,t.curves)];case 8:return f.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,o,t.curves)];case 10:f.sent(),f.label=11;case 11:o++,f.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,s,i){return ae(this,void 0,void 0,function(){var o,a,c,l,u,f,B,g,h,U,w,C,F,y,E,Q,E,Q;return ee(this,function(L){return this.ctx.save(),o=IU(s,n),a=Xc(s,n),i===2&&(this.path(a),this.ctx.clip()),Ee(a[0])?(c=a[0].start.x,l=a[0].start.y):(c=a[0].x,l=a[0].y),Ee(a[1])?(u=a[1].end.x,f=a[1].end.y):(u=a[1].x,f=a[1].y),n===0||n===2?B=Math.abs(c-u):B=Math.abs(l-f),this.ctx.beginPath(),i===3?this.formatPath(o):this.formatPath(a.slice(0,2)),g=r<3?r*3:r*2,h=r<3?r*2:r,i===3&&(g=r,h=r),U=!0,B<=g*2?U=!1:B<=g*2+h?(w=B/(2*g+h),g*=w,h*=w):(C=Math.floor((B+h)/(g+h)),F=(B-C*g)/(C-1),y=(B-(C+1)*g)/C,h=y<=0||Math.abs(h-F)(Nu("data-v-cbf54d34"),A=A(),Pu(),A),ZU={class:"switch"},zU=jU(()=>$("div",{class:"slider round"},null,-1));function qU(A,e,t,r,n,s){return ce(),At("label",ZU,[Xu($("input",{class:"checkbox",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=i=>n.toggle=i)},null,512),[[Oh,n.toggle]]),zU])}const Av=ti(YU,[["render",qU],["__scopeId","data-v-cbf54d34"]]);function ev(A,e,t){let r=q(t==null?void 0:t.value),n=J(()=>A.value!==void 0);return[J(()=>n.value?A.value:r.value),function(s){return n.value||(r.value=s),e==null?void 0:e(s)}]}let tv=Symbol("headlessui.useid"),rv=0;function Zt(){return KA(tv,()=>`${++rv}`)()}function cA(A){var e;if(A==null||A.value==null)return null;let t=(e=A.value.$el)!=null?e:A.value;return t instanceof Node?t:null}function ZA(A,e,...t){if(A in e){let n=e[A];return typeof n=="function"?n(...t):n}let r=new Error(`Tried to handle "${A}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(n=>`"${n}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ZA),r}var nv=Object.defineProperty,sv=(A,e,t)=>e in A?nv(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t,Jc=(A,e,t)=>(sv(A,typeof e!="symbol"?e+"":e,t),t);let iv=class{constructor(){Jc(this,"current",this.detect()),Jc(this,"currentId",0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},Qn=new iv;function mr(A){if(Qn.isServer)return null;if(A instanceof Node)return A.ownerDocument;if(A!=null&&A.hasOwnProperty("value")){let e=cA(A);if(e)return e.ownerDocument}return document}let Vo=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(A=>`${A}:not([tabindex='-1'])`).join(",");var pt=(A=>(A[A.First=1]="First",A[A.Previous=2]="Previous",A[A.Next=4]="Next",A[A.Last=8]="Last",A[A.WrapAround=16]="WrapAround",A[A.NoScroll=32]="NoScroll",A))(pt||{}),RB=(A=>(A[A.Error=0]="Error",A[A.Overflow=1]="Overflow",A[A.Success=2]="Success",A[A.Underflow=3]="Underflow",A))(RB||{}),ov=(A=>(A[A.Previous=-1]="Previous",A[A.Next=1]="Next",A))(ov||{});function av(A=document.body){return A==null?[]:Array.from(A.querySelectorAll(Vo)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var Ia=(A=>(A[A.Strict=0]="Strict",A[A.Loose=1]="Loose",A))(Ia||{});function kB(A,e=0){var t;return A===((t=mr(A))==null?void 0:t.body)?!1:ZA(e,{0(){return A.matches(Vo)},1(){let r=A;for(;r!==null;){if(r.matches(Vo))return!0;r=r.parentElement}return!1}})}var lv=(A=>(A[A.Keyboard=0]="Keyboard",A[A.Mouse=1]="Mouse",A))(lv||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",A=>{A.metaKey||A.altKey||A.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",A=>{A.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:A.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function $t(A){A==null||A.focus({preventScroll:!0})}let cv=["textarea","input"].join(",");function uv(A){var e,t;return(t=(e=A==null?void 0:A.matches)==null?void 0:e.call(A,cv))!=null?t:!1}function MB(A,e=t=>t){return A.slice().sort((t,r)=>{let n=e(t),s=e(r);if(n===null||s===null)return 0;let i=n.compareDocumentPosition(s);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Bs(A,e,{sorted:t=!0,relativeTo:r=null,skipElements:n=[]}={}){var s;let i=(s=Array.isArray(A)?A.length>0?A[0].ownerDocument:document:A==null?void 0:A.ownerDocument)!=null?s:document,o=Array.isArray(A)?t?MB(A):A:av(A);n.length>0&&o.length>1&&(o=o.filter(g=>!n.includes(g))),r=r??i.activeElement;let a=(()=>{if(e&5)return 1;if(e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(e&1)return 0;if(e&2)return Math.max(0,o.indexOf(r))-1;if(e&4)return Math.max(0,o.indexOf(r))+1;if(e&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=e&32?{preventScroll:!0}:{},u=0,f=o.length,B;do{if(u>=f||u+f<=0)return 0;let g=c+u;if(e&16)g=(g+f)%f;else{if(g<0)return 3;if(g>=f)return 1}B=o[g],B==null||B.focus(l),u+=a}while(B!==i.activeElement);return e&6&&uv(B)&&B.select(),2}function NB(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function fv(){return/Android/gi.test(window.navigator.userAgent)}function Bv(){return NB()||fv()}function As(A,e,t){Qn.isServer||Fe(r=>{document.addEventListener(A,e,t),r(()=>document.removeEventListener(A,e,t))})}function PB(A,e,t){Qn.isServer||Fe(r=>{window.addEventListener(A,e,t),r(()=>window.removeEventListener(A,e,t))})}function GB(A,e,t=J(()=>!0)){function r(s,i){if(!t.value||s.defaultPrevented)return;let o=i(s);if(o===null||!o.getRootNode().contains(o))return;let a=function c(l){return typeof l=="function"?c(l()):Array.isArray(l)||l instanceof Set?l:[l]}(A);for(let c of a){if(c===null)continue;let l=c instanceof HTMLElement?c:cA(c);if(l!=null&&l.contains(o)||s.composed&&s.composedPath().includes(l))return}return!kB(o,Ia.Loose)&&o.tabIndex!==-1&&s.preventDefault(),e(s,o)}let n=q(null);As("pointerdown",s=>{var i,o;t.value&&(n.value=((o=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:o[0])||s.target)},!0),As("mousedown",s=>{var i,o;t.value&&(n.value=((o=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:o[0])||s.target)},!0),As("click",s=>{Bv()||n.value&&(r(s,()=>n.value),n.value=null)},!0),As("touchend",s=>r(s,()=>s.target instanceof HTMLElement?s.target:null),!0),PB("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Wc(A,e){if(A)return A;let t=e??"button";if(typeof t=="string"&&t.toLowerCase()==="button")return"button"}function gv(A,e){let t=q(Wc(A.value.type,A.value.as));return GA(()=>{t.value=Wc(A.value.type,A.value.as)}),Fe(()=>{var r;t.value||cA(e)&&cA(e)instanceof HTMLButtonElement&&!((r=cA(e))!=null&&r.hasAttribute("type"))&&(t.value="button")}),t}function Yc(A){return[A.screenX,A.screenY]}function dv(){let A=q([-1,-1]);return{wasMoved(e){let t=Yc(e);return A.value[0]===t[0]&&A.value[1]===t[1]?!1:(A.value=t,!0)},update(e){A.value=Yc(e)}}}var Cr=(A=>(A[A.None=0]="None",A[A.RenderStrategy=1]="RenderStrategy",A[A.Static=2]="Static",A))(Cr||{}),Ft=(A=>(A[A.Unmount=0]="Unmount",A[A.Hidden=1]="Hidden",A))(Ft||{});function he({visible:A=!0,features:e=0,ourProps:t,theirProps:r,...n}){var s;let i=XB(r,t),o=Object.assign(n,{props:i});if(A||e&2&&i.static)return ji(o);if(e&1){let a=(s=i.unmount)==null||s?0:1;return ZA(a,{0(){return null},1(){return ji({...n,props:{...i,hidden:!0,style:{display:"none"}}})}})}return ji(o)}function ji({props:A,attrs:e,slots:t,slot:r,name:n}){var s,i;let{as:o,...a}=xa(A,["unmount","static"]),c=(s=t.default)==null?void 0:s.call(t,r),l={};if(r){let u=!1,f=[];for(let[B,g]of Object.entries(r))typeof g=="boolean"&&(u=!0),g===!0&&f.push(B);u&&(l["data-headlessui-state"]=f.join(" "))}if(o==="template"){if(c=VB(c??[]),Object.keys(a).length>0||Object.keys(e).length>0){let[u,...f]=c??[];if(!pv(u)||f.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${n} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(a).concat(Object.keys(e)).map(h=>h.trim()).filter((h,U,w)=>w.indexOf(h)===U).sort((h,U)=>h.localeCompare(U)).map(h=>` - ${h}`).join(` +}`,gU=function(A){dU(A,"."+Mo+fU+Gc+` + .`+No+BU+Gc)},dU=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},LB=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),hU=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(Wi(e)||CU(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return le(this,void 0,void 0,function(){var t,r,n,s,i=this;return ee(this,function(o){switch(o.label){case 0:return t=LB.isSameOrigin(e),r=!Ji(e)&&this._options.useCORS===!0&&zA.SUPPORT_CORS_IMAGES&&!t,n=!Ji(e)&&!t&&!Wi(e)&&typeof this._options.proxy=="string"&&zA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!Ji(e)&&!Wi(e)&&!n&&!r?[2]:(s=e,n?[4,this.proxy(s)]:[3,2]);case 1:s=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(a,c){var l=new Image;l.onload=function(){return a(l)},l.onerror=c,(FU(s)||r)&&(l.crossOrigin="anonymous"),l.src=s,l.complete===!0&&setTimeout(function(){return a(l)},500),i._options.imageTimeout>0&&setTimeout(function(){return c("Timed out ("+i._options.imageTimeout+"ms) loading image")},i._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(s,i){var o=zA.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(a.status===200)if(o==="text")s(a.response);else{var u=new FileReader;u.addEventListener("load",function(){return s(u.result)},!1),u.addEventListener("error",function(f){return i(f)},!1),u.readAsDataURL(a.response)}else i("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=i;var c=r.indexOf("?")>-1?"&":"?";if(a.open("GET",""+r+c+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),t._options.imageTimeout){var l=t._options.imageTimeout;a.timeout=l,a.ontimeout=function(){return i("Timed out ("+l+"ms) proxying "+n)}}a.send()})},A}(),pU=/^data:image\/svg\+xml/i,wU=/^data:image\/.*;base64,/i,QU=/^data:image\/.*/i,CU=function(A){return zA.SUPPORT_SVG_DRAWING||!UU(A)},Ji=function(A){return QU.test(A)},FU=function(A){return wU.test(A)},Wi=function(A){return A.substr(0,4)==="blob"},UU=function(A){return A.substr(-3).toLowerCase()==="svg"||pU.test(A)},M=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),nr=function(A,e,t){return new M(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},jn=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=nr(this.start,this.startControl,e),n=nr(this.startControl,this.endControl,e),s=nr(this.endControl,this.end,e),i=nr(r,n,e),o=nr(n,s,e),a=nr(i,o,e);return t?new A(this.start,r,i,a):new A(a,o,s,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Ee=function(A){return A.type===1},vU=function(){function A(e){var t=e.styles,r=e.bounds,n=Nr(t.borderTopLeftRadius,r.width,r.height),s=n[0],i=n[1],o=Nr(t.borderTopRightRadius,r.width,r.height),a=o[0],c=o[1],l=Nr(t.borderBottomRightRadius,r.width,r.height),u=l[0],f=l[1],B=Nr(t.borderBottomLeftRadius,r.width,r.height),g=B[0],h=B[1],U=[];U.push((s+a)/r.width),U.push((g+u)/r.width),U.push((i+h)/r.height),U.push((c+f)/r.height);var w=Math.max.apply(Math,U);w>1&&(s/=w,i/=w,a/=w,c/=w,u/=w,f/=w,g/=w,h/=w);var C=r.width-a,F=r.height-f,y=r.width-u,E=r.height-h,Q=t.borderTopWidth,L=t.borderRightWidth,v=t.borderBottomWidth,b=t.borderLeftWidth,O=HA(t.paddingTop,e.bounds.width),j=HA(t.paddingRight,e.bounds.width),T=HA(t.paddingBottom,e.bounds.width),P=HA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||i>0?SA(r.left+b/3,r.top+Q/3,s-b/3,i-Q/3,pA.TOP_LEFT):new M(r.left+b/3,r.top+Q/3),this.topRightBorderDoubleOuterBox=s>0||i>0?SA(r.left+C,r.top+Q/3,a-L/3,c-Q/3,pA.TOP_RIGHT):new M(r.left+r.width-L/3,r.top+Q/3),this.bottomRightBorderDoubleOuterBox=u>0||f>0?SA(r.left+y,r.top+F,u-L/3,f-v/3,pA.BOTTOM_RIGHT):new M(r.left+r.width-L/3,r.top+r.height-v/3),this.bottomLeftBorderDoubleOuterBox=g>0||h>0?SA(r.left+b/3,r.top+E,g-b/3,h-v/3,pA.BOTTOM_LEFT):new M(r.left+b/3,r.top+r.height-v/3),this.topLeftBorderDoubleInnerBox=s>0||i>0?SA(r.left+b*2/3,r.top+Q*2/3,s-b*2/3,i-Q*2/3,pA.TOP_LEFT):new M(r.left+b*2/3,r.top+Q*2/3),this.topRightBorderDoubleInnerBox=s>0||i>0?SA(r.left+C,r.top+Q*2/3,a-L*2/3,c-Q*2/3,pA.TOP_RIGHT):new M(r.left+r.width-L*2/3,r.top+Q*2/3),this.bottomRightBorderDoubleInnerBox=u>0||f>0?SA(r.left+y,r.top+F,u-L*2/3,f-v*2/3,pA.BOTTOM_RIGHT):new M(r.left+r.width-L*2/3,r.top+r.height-v*2/3),this.bottomLeftBorderDoubleInnerBox=g>0||h>0?SA(r.left+b*2/3,r.top+E,g-b*2/3,h-v*2/3,pA.BOTTOM_LEFT):new M(r.left+b*2/3,r.top+r.height-v*2/3),this.topLeftBorderStroke=s>0||i>0?SA(r.left+b/2,r.top+Q/2,s-b/2,i-Q/2,pA.TOP_LEFT):new M(r.left+b/2,r.top+Q/2),this.topRightBorderStroke=s>0||i>0?SA(r.left+C,r.top+Q/2,a-L/2,c-Q/2,pA.TOP_RIGHT):new M(r.left+r.width-L/2,r.top+Q/2),this.bottomRightBorderStroke=u>0||f>0?SA(r.left+y,r.top+F,u-L/2,f-v/2,pA.BOTTOM_RIGHT):new M(r.left+r.width-L/2,r.top+r.height-v/2),this.bottomLeftBorderStroke=g>0||h>0?SA(r.left+b/2,r.top+E,g-b/2,h-v/2,pA.BOTTOM_LEFT):new M(r.left+b/2,r.top+r.height-v/2),this.topLeftBorderBox=s>0||i>0?SA(r.left,r.top,s,i,pA.TOP_LEFT):new M(r.left,r.top),this.topRightBorderBox=a>0||c>0?SA(r.left+C,r.top,a,c,pA.TOP_RIGHT):new M(r.left+r.width,r.top),this.bottomRightBorderBox=u>0||f>0?SA(r.left+y,r.top+F,u,f,pA.BOTTOM_RIGHT):new M(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=g>0||h>0?SA(r.left,r.top+E,g,h,pA.BOTTOM_LEFT):new M(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||i>0?SA(r.left+b,r.top+Q,Math.max(0,s-b),Math.max(0,i-Q),pA.TOP_LEFT):new M(r.left+b,r.top+Q),this.topRightPaddingBox=a>0||c>0?SA(r.left+Math.min(C,r.width-L),r.top+Q,C>r.width+L?0:Math.max(0,a-L),Math.max(0,c-Q),pA.TOP_RIGHT):new M(r.left+r.width-L,r.top+Q),this.bottomRightPaddingBox=u>0||f>0?SA(r.left+Math.min(y,r.width-b),r.top+Math.min(F,r.height-v),Math.max(0,u-L),Math.max(0,f-v),pA.BOTTOM_RIGHT):new M(r.left+r.width-L,r.top+r.height-v),this.bottomLeftPaddingBox=g>0||h>0?SA(r.left+b,r.top+Math.min(E,r.height-v),Math.max(0,g-b),Math.max(0,h-v),pA.BOTTOM_LEFT):new M(r.left+b,r.top+r.height-v),this.topLeftContentBox=s>0||i>0?SA(r.left+b+P,r.top+Q+O,Math.max(0,s-(b+P)),Math.max(0,i-(Q+O)),pA.TOP_LEFT):new M(r.left+b+P,r.top+Q+O),this.topRightContentBox=a>0||c>0?SA(r.left+Math.min(C,r.width+b+P),r.top+Q+O,C>r.width+b+P?0:a-b+P,c-(Q+O),pA.TOP_RIGHT):new M(r.left+r.width-(L+j),r.top+Q+O),this.bottomRightContentBox=u>0||f>0?SA(r.left+Math.min(y,r.width-(b+P)),r.top+Math.min(F,r.height+Q+O),Math.max(0,u-(L+j)),f-(v+T),pA.BOTTOM_RIGHT):new M(r.left+r.width-(L+j),r.top+r.height-(v+T)),this.bottomLeftContentBox=g>0||h>0?SA(r.left+b+P,r.top+E,Math.max(0,g-(b+P)),h-(v+T),pA.BOTTOM_LEFT):new M(r.left+b+P,r.top+r.height-(v+T))}return A}(),pA;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(pA||(pA={}));var SA=function(A,e,t,r,n){var s=4*((Math.sqrt(2)-1)/3),i=t*s,o=r*s,a=A+t,c=e+r;switch(n){case pA.TOP_LEFT:return new jn(new M(A,c),new M(A,c-o),new M(a-i,e),new M(a,e));case pA.TOP_RIGHT:return new jn(new M(A,e),new M(A+i,e),new M(a,c-o),new M(a,c));case pA.BOTTOM_RIGHT:return new jn(new M(a,e),new M(a,e+o),new M(A+i,c),new M(A,c));case pA.BOTTOM_LEFT:default:return new jn(new M(a,c),new M(a-i,c),new M(A,e+o),new M(A,e))}},Ss=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},mU=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Ts=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},EU=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),Zn=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),yU=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),bU=function(A){return A.type===0},SB=function(A){return A.type===1},HU=function(A){return A.type===2},Vc=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},IU=function(A,e,t,r,n){return A.map(function(s,i){switch(i){case 0:return s.add(e,t);case 1:return s.add(e+r,t);case 2:return s.add(e+r,t+n);case 3:return s.add(e,t+n)}return s})},TB=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),KB=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new vU(this.container),this.container.styles.opacity<1&&this.effects.push(new yU(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,s=this.container.styles.transform;this.effects.push(new EU(r,n,s))}if(this.container.styles.overflowX!==0){var i=Ss(this.curves),o=Ts(this.curves);Vc(i,o)?this.effects.push(new Zn(i,6)):(this.effects.push(new Zn(i,2)),this.effects.push(new Zn(o,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var s=r.effects.filter(function(a){return!SB(a)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,s),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var i=Ss(r.curves),o=Ts(r.curves);Vc(i,o)||n.unshift(new Zn(o,6))}}else n.unshift.apply(n,s);r=r.parent}return n.filter(function(a){return XA(a.target,e)})},A}(),Po=function(A,e,t,r){A.container.elements.forEach(function(n){var s=XA(n.flags,4),i=XA(n.flags,2),o=new KB(n,A);XA(n.styles.display,2048)&&r.push(o);var a=XA(n.flags,8)?[]:r;if(s||i){var c=s||n.styles.isPositioned()?t:e,l=new TB(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var u=n.styles.zIndex.order;if(u<0){var f=0;c.negativeZIndex.some(function(g,h){return u>g.element.container.styles.zIndex.order?(f=h,!1):f>0}),c.negativeZIndex.splice(f,0,l)}else if(u>0){var B=0;c.positiveZIndex.some(function(g,h){return u>=g.element.container.styles.zIndex.order?(B=h+1,!1):B>0}),c.positiveZIndex.splice(B,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else n.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);Po(o,l,s?l:t,a)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Po(o,e,t,a);XA(n.flags,8)&&_B(n,a)})},_B=function(A,e){for(var t=A instanceof Oo?A.start:1,r=A instanceof Oo?A.reversed:!1,n=0;n"u"?A[0]:t},OU=function(A,e,t,r,n){var s=e[0],i=e[1],o=t[0],a=t[1];switch(A){case 2:return[new M(Math.round(r.left),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(a+r.top+i)),new M(Math.round(r.left),Math.round(a+r.top+i))];case 3:return[new M(Math.round(r.left+s),Math.round(r.top)),new M(Math.round(r.left+s+o),Math.round(r.top)),new M(Math.round(r.left+s+o),Math.round(r.height+r.top)),new M(Math.round(r.left+s),Math.round(r.height+r.top))];case 1:return[new M(Math.round(r.left+s),Math.round(r.top+i)),new M(Math.round(r.left+s+o),Math.round(r.top+i)),new M(Math.round(r.left+s+o),Math.round(r.top+i+a)),new M(Math.round(r.left+s),Math.round(r.top+i+a))];default:return[new M(Math.round(n.left),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.height+n.top)),new M(Math.round(n.left),Math.round(n.height+n.top))]}},RU="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",$c="Hidden Text",kU=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),s=this._document.createElement("span"),i=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",i.appendChild(r),n.src=RU,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",s.style.fontFamily=e,s.style.fontSize=t,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode($c)),r.appendChild(s),r.appendChild(n);var o=n.offsetTop-s.offsetTop+2;r.removeChild(s),r.appendChild(this._document.createTextNode($c)),r.style.lineHeight="normal",n.style.verticalAlign="super";var a=n.offsetTop-r.offsetTop+2;return i.removeChild(r),{baseline:o,middle:a}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),OB=function(){function A(e,t){this.context=e,this.options=t}return A}(),MU=1e4,NU=function(A){De(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new kU(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),HU(t)&&(this.ctx.globalAlpha=t.opacity),bU(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),SB(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return le(this,void 0,void 0,function(){var r;return ee(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return le(this,void 0,void 0,function(){return ee(this,function(r){switch(r.label){case 0:if(XA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var s=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var i=ya(t.text);i.reduce(function(o,a){return s.ctx.fillText(a,o,t.bounds.top+n),o+s.ctx.measureText(a).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(i){return i==="normal"||i==="small-caps"}).join(""),n=$U(t.fontFamily).join(", "),s=wn(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,s,n].join(" "),n,s]},e.prototype.renderTextNode=function(t,r){return le(this,void 0,void 0,function(){var n,s,i,o,a,c,l,u,f=this;return ee(this,function(B){return n=this.createFontStyle(r),s=n[0],i=n[1],o=n[2],this.ctx.font=s,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(i,o),c=a.baseline,l=a.middle,u=r.paintOrder,t.textBounds.forEach(function(g){u.forEach(function(h){switch(h){case 0:f.ctx.fillStyle=YA(r.color),f.renderTextWithLetterSpacing(g,r.letterSpacing,c);var U=r.textShadow;U.length&&g.text.trim().length&&(U.slice(0).reverse().forEach(function(w){f.ctx.shadowColor=YA(w.color),f.ctx.shadowOffsetX=w.offsetX.number*f.options.scale,f.ctx.shadowOffsetY=w.offsetY.number*f.options.scale,f.ctx.shadowBlur=w.blur.number,f.renderTextWithLetterSpacing(g,r.letterSpacing,c)}),f.ctx.shadowColor="",f.ctx.shadowOffsetX=0,f.ctx.shadowOffsetY=0,f.ctx.shadowBlur=0),r.textDecorationLine.length&&(f.ctx.fillStyle=YA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(w){switch(w){case 1:f.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top+c),g.bounds.width,1);break;case 2:f.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top),g.bounds.width,1);break;case 3:f.ctx.fillRect(g.bounds.left,Math.ceil(g.bounds.top+l),g.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&g.text.trim().length&&(f.ctx.strokeStyle=YA(r.webkitTextStrokeColor),f.ctx.lineWidth=r.webkitTextStrokeWidth,f.ctx.lineJoin=window.chrome?"miter":"round",f.ctx.strokeText(g.text,g.bounds.left,g.bounds.top+c)),f.ctx.strokeStyle="",f.ctx.lineWidth=0,f.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var s=Ks(t),i=Ts(r);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,s.left,s.top,s.width,s.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return le(this,void 0,void 0,function(){var r,n,s,i,o,a,C,C,c,l,u,f,y,B,g,E,h,U,w,C,F,y,E;return ee(this,function(Q){switch(Q.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,s=r.styles,i=0,o=r.textNodes,Q.label=1;case 1:return i0&&aA>0&&(v=s.ctx.createPattern(E,"repeat"),s.renderRepeat(O,v,W,tA))):HC(l)&&(b=Yi(t,r,[null,null,null]),O=b[0],j=b[1],T=b[2],P=b[3],aA=b[4],gA=l.position.length===0?[va]:l.position,W=HA(gA[0],P),tA=HA(gA[gA.length-1],aA),lA=vC(l,W,tA,P,aA),TA=lA[0],MA=lA[1],TA>0&&MA>0&&(nA=s.ctx.createRadialGradient(j+W,T+tA,0,j+W,T+tA,TA),gc(l.stops,TA*2).forEach(function(H){return nA.addColorStop(H.stop,YA(H.color))}),s.path(O),s.ctx.fillStyle=nA,TA!==MA?(sA=t.bounds.left+.5*t.bounds.width,QA=t.bounds.top+.5*t.bounds.height,yA=MA/TA,JA=1/yA,s.ctx.save(),s.ctx.translate(sA,QA),s.ctx.transform(1,0,0,yA,0,0),s.ctx.translate(-sA,-QA),s.ctx.fillRect(j,JA*(T-QA)+QA,P,aA*JA),s.ctx.restore()):s.ctx.fill())),UA.label=6;case 6:return r--,[2]}})},s=this,i=0,o=t.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return i0?l.style!==2?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return f.sent(),[3,11];case 5:return l.style!==3?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,o,t.curves,3)];case 6:return f.sent(),[3,11];case 7:return l.style!==4?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,o,t.curves)];case 8:return f.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,o,t.curves)];case 10:f.sent(),f.label=11;case 11:o++,f.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,s,i){return le(this,void 0,void 0,function(){var o,a,c,l,u,f,B,g,h,U,w,C,F,y,E,Q,E,Q;return ee(this,function(L){return this.ctx.save(),o=TU(s,n),a=Xc(s,n),i===2&&(this.path(a),this.ctx.clip()),Ee(a[0])?(c=a[0].start.x,l=a[0].start.y):(c=a[0].x,l=a[0].y),Ee(a[1])?(u=a[1].end.x,f=a[1].end.y):(u=a[1].x,f=a[1].y),n===0||n===2?B=Math.abs(c-u):B=Math.abs(l-f),this.ctx.beginPath(),i===3?this.formatPath(o):this.formatPath(a.slice(0,2)),g=r<3?r*3:r*2,h=r<3?r*2:r,i===3&&(g=r,h=r),U=!0,B<=g*2?U=!1:B<=g*2+h?(w=B/(2*g+h),g*=w,h*=w):(C=Math.floor((B+h)/(g+h)),F=(B-C*g)/(C-1),y=(B-(C+1)*g)/C,h=y<=0||Math.abs(h-F)(Nu("data-v-cbf54d34"),A=A(),Pu(),A),ev={class:"switch"},tv=Av(()=>$("div",{class:"slider round"},null,-1));function rv(A,e,t,r,n,s){return ie(),Xe("label",ev,[Xu($("input",{class:"checkbox",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=i=>n.toggle=i)},null,512),[[Oh,n.toggle]]),tv])}const nv=ti(qU,[["render",rv],["__scopeId","data-v-cbf54d34"]]);function sv(A,e,t){let r=q(t==null?void 0:t.value),n=J(()=>A.value!==void 0);return[J(()=>n.value?A.value:r.value),function(s){return n.value||(r.value=s),e==null?void 0:e(s)}]}let iv=Symbol("headlessui.useid"),ov=0;function Zt(){return KA(iv,()=>`${++ov}`)()}function cA(A){var e;if(A==null||A.value==null)return null;let t=(e=A.value.$el)!=null?e:A.value;return t instanceof Node?t:null}function ZA(A,e,...t){if(A in e){let n=e[A];return typeof n=="function"?n(...t):n}let r=new Error(`Tried to handle "${A}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(n=>`"${n}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ZA),r}var av=Object.defineProperty,lv=(A,e,t)=>e in A?av(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t,Jc=(A,e,t)=>(lv(A,typeof e!="symbol"?e+"":e,t),t);let cv=class{constructor(){Jc(this,"current",this.detect()),Jc(this,"currentId",0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},Qn=new cv;function mr(A){if(Qn.isServer)return null;if(A instanceof Node)return A.ownerDocument;if(A!=null&&A.hasOwnProperty("value")){let e=cA(A);if(e)return e.ownerDocument}return document}let Vo=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(A=>`${A}:not([tabindex='-1'])`).join(",");var pt=(A=>(A[A.First=1]="First",A[A.Previous=2]="Previous",A[A.Next=4]="Next",A[A.Last=8]="Last",A[A.WrapAround=16]="WrapAround",A[A.NoScroll=32]="NoScroll",A))(pt||{}),RB=(A=>(A[A.Error=0]="Error",A[A.Overflow=1]="Overflow",A[A.Success=2]="Success",A[A.Underflow=3]="Underflow",A))(RB||{}),uv=(A=>(A[A.Previous=-1]="Previous",A[A.Next=1]="Next",A))(uv||{});function fv(A=document.body){return A==null?[]:Array.from(A.querySelectorAll(Vo)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var Ia=(A=>(A[A.Strict=0]="Strict",A[A.Loose=1]="Loose",A))(Ia||{});function kB(A,e=0){var t;return A===((t=mr(A))==null?void 0:t.body)?!1:ZA(e,{0(){return A.matches(Vo)},1(){let r=A;for(;r!==null;){if(r.matches(Vo))return!0;r=r.parentElement}return!1}})}var Bv=(A=>(A[A.Keyboard=0]="Keyboard",A[A.Mouse=1]="Mouse",A))(Bv||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",A=>{A.metaKey||A.altKey||A.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",A=>{A.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:A.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function $t(A){A==null||A.focus({preventScroll:!0})}let gv=["textarea","input"].join(",");function dv(A){var e,t;return(t=(e=A==null?void 0:A.matches)==null?void 0:e.call(A,gv))!=null?t:!1}function MB(A,e=t=>t){return A.slice().sort((t,r)=>{let n=e(t),s=e(r);if(n===null||s===null)return 0;let i=n.compareDocumentPosition(s);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Bs(A,e,{sorted:t=!0,relativeTo:r=null,skipElements:n=[]}={}){var s;let i=(s=Array.isArray(A)?A.length>0?A[0].ownerDocument:document:A==null?void 0:A.ownerDocument)!=null?s:document,o=Array.isArray(A)?t?MB(A):A:fv(A);n.length>0&&o.length>1&&(o=o.filter(g=>!n.includes(g))),r=r??i.activeElement;let a=(()=>{if(e&5)return 1;if(e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(e&1)return 0;if(e&2)return Math.max(0,o.indexOf(r))-1;if(e&4)return Math.max(0,o.indexOf(r))+1;if(e&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=e&32?{preventScroll:!0}:{},u=0,f=o.length,B;do{if(u>=f||u+f<=0)return 0;let g=c+u;if(e&16)g=(g+f)%f;else{if(g<0)return 3;if(g>=f)return 1}B=o[g],B==null||B.focus(l),u+=a}while(B!==i.activeElement);return e&6&&dv(B)&&B.select(),2}function NB(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function hv(){return/Android/gi.test(window.navigator.userAgent)}function pv(){return NB()||hv()}function As(A,e,t){Qn.isServer||Fe(r=>{document.addEventListener(A,e,t),r(()=>document.removeEventListener(A,e,t))})}function PB(A,e,t){Qn.isServer||Fe(r=>{window.addEventListener(A,e,t),r(()=>window.removeEventListener(A,e,t))})}function GB(A,e,t=J(()=>!0)){function r(s,i){if(!t.value||s.defaultPrevented)return;let o=i(s);if(o===null||!o.getRootNode().contains(o))return;let a=function c(l){return typeof l=="function"?c(l()):Array.isArray(l)||l instanceof Set?l:[l]}(A);for(let c of a){if(c===null)continue;let l=c instanceof HTMLElement?c:cA(c);if(l!=null&&l.contains(o)||s.composed&&s.composedPath().includes(l))return}return!kB(o,Ia.Loose)&&o.tabIndex!==-1&&s.preventDefault(),e(s,o)}let n=q(null);As("pointerdown",s=>{var i,o;t.value&&(n.value=((o=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:o[0])||s.target)},!0),As("mousedown",s=>{var i,o;t.value&&(n.value=((o=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:o[0])||s.target)},!0),As("click",s=>{pv()||n.value&&(r(s,()=>n.value),n.value=null)},!0),As("touchend",s=>r(s,()=>s.target instanceof HTMLElement?s.target:null),!0),PB("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Wc(A,e){if(A)return A;let t=e??"button";if(typeof t=="string"&&t.toLowerCase()==="button")return"button"}function wv(A,e){let t=q(Wc(A.value.type,A.value.as));return GA(()=>{t.value=Wc(A.value.type,A.value.as)}),Fe(()=>{var r;t.value||cA(e)&&cA(e)instanceof HTMLButtonElement&&!((r=cA(e))!=null&&r.hasAttribute("type"))&&(t.value="button")}),t}function Yc(A){return[A.screenX,A.screenY]}function Qv(){let A=q([-1,-1]);return{wasMoved(e){let t=Yc(e);return A.value[0]===t[0]&&A.value[1]===t[1]?!1:(A.value=t,!0)},update(e){A.value=Yc(e)}}}var Cr=(A=>(A[A.None=0]="None",A[A.RenderStrategy=1]="RenderStrategy",A[A.Static=2]="Static",A))(Cr||{}),Ft=(A=>(A[A.Unmount=0]="Unmount",A[A.Hidden=1]="Hidden",A))(Ft||{});function he({visible:A=!0,features:e=0,ourProps:t,theirProps:r,...n}){var s;let i=XB(r,t),o=Object.assign(n,{props:i});if(A||e&2&&i.static)return ji(o);if(e&1){let a=(s=i.unmount)==null||s?0:1;return ZA(a,{0(){return null},1(){return ji({...n,props:{...i,hidden:!0,style:{display:"none"}}})}})}return ji(o)}function ji({props:A,attrs:e,slots:t,slot:r,name:n}){var s,i;let{as:o,...a}=xa(A,["unmount","static"]),c=(s=t.default)==null?void 0:s.call(t,r),l={};if(r){let u=!1,f=[];for(let[B,g]of Object.entries(r))typeof g=="boolean"&&(u=!0),g===!0&&f.push(B);u&&(l["data-headlessui-state"]=f.join(" "))}if(o==="template"){if(c=VB(c??[]),Object.keys(a).length>0||Object.keys(e).length>0){let[u,...f]=c??[];if(!Fv(u)||f.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${n} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(a).concat(Object.keys(e)).map(h=>h.trim()).filter((h,U,w)=>w.indexOf(h)===U).sort((h,U)=>h.localeCompare(U)).map(h=>` - ${h}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(h=>` - ${h}`).join(` `)].join(` -`));let B=XB((i=u.props)!=null?i:{},a,l),g=et(u,B,!0);for(let h in B)h.startsWith("on")&&(g.props||(g.props={}),g.props[h]=B[h]);return g}return Array.isArray(c)&&c.length===1?c[0]:c}return NA(o,Object.assign({},a,l),{default:()=>c})}function VB(A){return A.flatMap(e=>e.type===re?VB(e.children):[e])}function XB(...A){if(A.length===0)return{};if(A.length===1)return A[0];let e={},t={};for(let r of A)for(let n in r)n.startsWith("on")&&typeof r[n]=="function"?(t[n]!=null||(t[n]=[]),t[n].push(r[n])):e[n]=r[n];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(t).map(r=>[r,void 0])));for(let r in t)Object.assign(e,{[r](n,...s){let i=t[r];for(let o of i){if(n instanceof Event&&n.defaultPrevented)return;o(n,...s)}}});return e}function hv(A){let e=Object.assign({},A);for(let t in e)e[t]===void 0&&delete e[t];return e}function xa(A,e=[]){let t=Object.assign({},A);for(let r of e)r in t&&delete t[r];return t}function pv(A){return A==null?!1:typeof A.type=="string"||typeof A.type=="object"||typeof A.type=="function"}var gn=(A=>(A[A.None=1]="None",A[A.Focusable=2]="Focusable",A[A.Hidden=4]="Hidden",A))(gn||{});let _s=_A({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(A,{slots:e,attrs:t}){return()=>{var r;let{features:n,...s}=A,i={"aria-hidden":(n&2)===2?!0:(r=s["aria-hidden"])!=null?r:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return he({ourProps:i,theirProps:s,slot:{},attrs:t,slots:e,name:"Hidden"})}}}),$B=Symbol("Context");var qA=(A=>(A[A.Open=1]="Open",A[A.Closed=2]="Closed",A[A.Closing=4]="Closing",A[A.Opening=8]="Opening",A))(qA||{});function wv(){return Bi()!==null}function Bi(){return KA($B,null)}function JB(A){ue($B,A)}var VA=(A=>(A.Space=" ",A.Enter="Enter",A.Escape="Escape",A.Backspace="Backspace",A.Delete="Delete",A.ArrowLeft="ArrowLeft",A.ArrowUp="ArrowUp",A.ArrowRight="ArrowRight",A.ArrowDown="ArrowDown",A.Home="Home",A.End="End",A.PageUp="PageUp",A.PageDown="PageDown",A.Tab="Tab",A))(VA||{});function Qv(A){function e(){document.readyState!=="loading"&&(A(),document.removeEventListener("DOMContentLoaded",e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",e),e())}let Rt=[];Qv(()=>{function A(e){e.target instanceof HTMLElement&&e.target!==document.body&&Rt[0]!==e.target&&(Rt.unshift(e.target),Rt=Rt.filter(t=>t!=null&&t.isConnected),Rt.splice(10))}window.addEventListener("click",A,{capture:!0}),window.addEventListener("mousedown",A,{capture:!0}),window.addEventListener("focus",A,{capture:!0}),document.body.addEventListener("click",A,{capture:!0}),document.body.addEventListener("mousedown",A,{capture:!0}),document.body.addEventListener("focus",A,{capture:!0})});function Cv(A){throw new Error("Unexpected object: "+A)}var le=(A=>(A[A.First=0]="First",A[A.Previous=1]="Previous",A[A.Next=2]="Next",A[A.Last=3]="Last",A[A.Specific=4]="Specific",A[A.Nothing=5]="Nothing",A))(le||{});function Fv(A,e){let t=e.resolveItems();if(t.length<=0)return null;let r=e.resolveActiveIndex(),n=r??-1;switch(A.focus){case 0:{for(let s=0;s=0;--s)if(!e.resolveDisabled(t[s],s,t))return s;return r}case 2:{for(let s=n+1;s=0;--s)if(!e.resolveDisabled(t[s],s,t))return s;return r}case 4:{for(let s=0;ssetTimeout(()=>{throw e}))}function Cn(){let A=[],e={addEventListener(t,r,n,s){return t.addEventListener(r,n,s),e.add(()=>t.removeEventListener(r,n,s))},requestAnimationFrame(...t){let r=requestAnimationFrame(...t);e.add(()=>cancelAnimationFrame(r))},nextFrame(...t){e.requestAnimationFrame(()=>{e.requestAnimationFrame(...t)})},setTimeout(...t){let r=setTimeout(...t);e.add(()=>clearTimeout(r))},microTask(...t){let r={current:!0};return La(()=>{r.current&&t[0]()}),e.add(()=>{r.current=!1})},style(t,r,n){let s=t.style.getPropertyValue(r);return Object.assign(t.style,{[r]:n}),this.add(()=>{Object.assign(t.style,{[r]:s})})},group(t){let r=Cn();return t(r),this.add(()=>r.dispose())},add(t){return A.push(t),()=>{let r=A.indexOf(t);if(r>=0)for(let n of A.splice(r,1))n()}},dispose(){for(let t of A.splice(0))t()}};return e}function WB(A={},e=null,t=[]){for(let[r,n]of Object.entries(A))jB(t,YB(e,r),n);return t}function YB(A,e){return A?A+"["+e+"]":e}function jB(A,e,t){if(Array.isArray(t))for(let[r,n]of t.entries())jB(A,YB(e,r.toString()),n);else t instanceof Date?A.push([e,t.toISOString()]):typeof t=="boolean"?A.push([e,t?"1":"0"]):typeof t=="string"?A.push([e,t]):typeof t=="number"?A.push([e,`${t}`]):t==null?A.push([e,""]):WB(t,e,A)}function ZB(A,e,t,r){Qn.isServer||Fe(n=>{A=A??window,A.addEventListener(e,t,r),n(()=>A.removeEventListener(e,t,r))})}var Vr=(A=>(A[A.Forwards=0]="Forwards",A[A.Backwards=1]="Backwards",A))(Vr||{});function Uv(){let A=q(0);return PB("keydown",e=>{e.key==="Tab"&&(A.value=e.shiftKey?1:0)}),A}function zB(A){if(!A)return new Set;if(typeof A=="function")return new Set(A());let e=new Set;for(let t of A.value){let r=cA(t);r instanceof HTMLElement&&e.add(r)}return e}var qB=(A=>(A[A.None=1]="None",A[A.InitialFocus=2]="InitialFocus",A[A.TabLock=4]="TabLock",A[A.FocusLock=8]="FocusLock",A[A.RestoreFocus=16]="RestoreFocus",A[A.All=30]="All",A))(qB||{});let Kr=Object.assign(_A({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:q(new Set)}},inheritAttrs:!1,setup(A,{attrs:e,slots:t,expose:r}){let n=q(null);r({el:n,$el:n});let s=J(()=>mr(n)),i=q(!1);GA(()=>i.value=!0),Ue(()=>i.value=!1),mv({ownerDocument:s},J(()=>i.value&&!!(A.features&16)));let o=Ev({ownerDocument:s,container:n,initialFocus:J(()=>A.initialFocus)},J(()=>i.value&&!!(A.features&2)));yv({ownerDocument:s,container:n,containers:A.containers,previousActiveElement:o},J(()=>i.value&&!!(A.features&8)));let a=Uv();function c(B){let g=cA(n);g&&(h=>h())(()=>{ZA(a.value,{[Vr.Forwards]:()=>{Bs(g,pt.First,{skipElements:[B.relatedTarget]})},[Vr.Backwards]:()=>{Bs(g,pt.Last,{skipElements:[B.relatedTarget]})}})})}let l=q(!1);function u(B){B.key==="Tab"&&(l.value=!0,requestAnimationFrame(()=>{l.value=!1}))}function f(B){if(!i.value)return;let g=zB(A.containers);cA(n)instanceof HTMLElement&&g.add(cA(n));let h=B.relatedTarget;h instanceof HTMLElement&&h.dataset.headlessuiFocusGuard!=="true"&&(Ag(g,h)||(l.value?Bs(cA(n),ZA(a.value,{[Vr.Forwards]:()=>pt.Next,[Vr.Backwards]:()=>pt.Previous})|pt.WrapAround,{relativeTo:B.target}):B.target instanceof HTMLElement&&$t(B.target)))}return()=>{let B={},g={ref:n,onKeydown:u,onFocusout:f},{features:h,initialFocus:U,containers:w,...C}=A;return NA(re,[!!(h&4)&&NA(_s,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:gn.Focusable}),he({ourProps:g,theirProps:{...e,...C},slot:B,attrs:e,slots:t,name:"FocusTrap"}),!!(h&4)&&NA(_s,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:gn.Focusable})])}}}),{features:qB});function vv(A){let e=q(Rt.slice());return ie([A],([t],[r])=>{r===!0&&t===!1?La(()=>{e.value.splice(0)}):r===!1&&t===!0&&(e.value=Rt.slice())},{flush:"post"}),()=>{var t;return(t=e.value.find(r=>r!=null&&r.isConnected))!=null?t:null}}function mv({ownerDocument:A},e){let t=vv(e);GA(()=>{Fe(()=>{var r,n;e.value||((r=A.value)==null?void 0:r.activeElement)===((n=A.value)==null?void 0:n.body)&&$t(t())},{flush:"post"})}),Ue(()=>{e.value&&$t(t())})}function Ev({ownerDocument:A,container:e,initialFocus:t},r){let n=q(null),s=q(!1);return GA(()=>s.value=!0),Ue(()=>s.value=!1),GA(()=>{ie([e,t,r],(i,o)=>{if(i.every((c,l)=>(o==null?void 0:o[l])===c)||!r.value)return;let a=cA(e);a&&La(()=>{var c,l;if(!s.value)return;let u=cA(t),f=(c=A.value)==null?void 0:c.activeElement;if(u){if(u===f){n.value=f;return}}else if(a.contains(f)){n.value=f;return}u?$t(u):Bs(a,pt.First|pt.NoScroll)===RB.Error&&console.warn("There are no focusable elements inside the "),n.value=(l=A.value)==null?void 0:l.activeElement})},{immediate:!0,flush:"post"})}),n}function yv({ownerDocument:A,container:e,containers:t,previousActiveElement:r},n){var s;ZB((s=A.value)==null?void 0:s.defaultView,"focus",i=>{if(!n.value)return;let o=zB(t);cA(e)instanceof HTMLElement&&o.add(cA(e));let a=r.value;if(!a)return;let c=i.target;c&&c instanceof HTMLElement?Ag(o,c)?(r.value=c,$t(c)):(i.preventDefault(),i.stopPropagation(),$t(a)):$t(r.value)},!0)}function Ag(A,e){for(let t of A)if(t.contains(e))return!0;return!1}function bv(A){let e=Su(A.getSnapshot());return Ue(A.subscribe(()=>{e.value=A.getSnapshot()})),e}function Hv(A,e){let t=A(),r=new Set;return{getSnapshot(){return t},subscribe(n){return r.add(n),()=>r.delete(n)},dispatch(n,...s){let i=e[n].call(t,...s);i&&(t=i,r.forEach(o=>o()))}}}function Iv(){let A;return{before({doc:e}){var t;let r=e.documentElement;A=((t=e.defaultView)!=null?t:window).innerWidth-r.clientWidth},after({doc:e,d:t}){let r=e.documentElement,n=r.clientWidth-r.offsetWidth,s=A-n;t.style(r,"paddingRight",`${s}px`)}}}function xv(){return NB()?{before({doc:A,d:e,meta:t}){function r(n){return t.containers.flatMap(s=>s()).some(s=>s.contains(n))}e.microTask(()=>{var n;if(window.getComputedStyle(A.documentElement).scrollBehavior!=="auto"){let o=Cn();o.style(A.documentElement,"scrollBehavior","auto"),e.add(()=>e.microTask(()=>o.dispose()))}let s=(n=window.scrollY)!=null?n:window.pageYOffset,i=null;e.addEventListener(A,"click",o=>{if(o.target instanceof HTMLElement)try{let a=o.target.closest("a");if(!a)return;let{hash:c}=new URL(a.href),l=A.querySelector(c);l&&!r(l)&&(i=l)}catch{}},!0),e.addEventListener(A,"touchstart",o=>{if(o.target instanceof HTMLElement)if(r(o.target)){let a=o.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;e.style(a,"overscrollBehavior","contain")}else e.style(o.target,"touchAction","none")}),e.addEventListener(A,"touchmove",o=>{if(o.target instanceof HTMLElement)if(r(o.target)){let a=o.target;for(;a.parentElement&&a.dataset.headlessuiPortal!==""&&!(a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth);)a=a.parentElement;a.dataset.headlessuiPortal===""&&o.preventDefault()}else o.preventDefault()},{passive:!1}),e.add(()=>{var o;let a=(o=window.scrollY)!=null?o:window.pageYOffset;s!==a&&window.scrollTo(0,s),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{}}function Lv(){return{before({doc:A,d:e}){e.style(A.documentElement,"overflow","hidden")}}}function Sv(A){let e={};for(let t of A)Object.assign(e,t(e));return e}let Nt=Hv(()=>new Map,{PUSH(A,e){var t;let r=(t=this.get(A))!=null?t:{doc:A,count:0,d:Cn(),meta:new Set};return r.count++,r.meta.add(e),this.set(A,r),this},POP(A,e){let t=this.get(A);return t&&(t.count--,t.meta.delete(e)),this},SCROLL_PREVENT({doc:A,d:e,meta:t}){let r={doc:A,d:e,meta:Sv(t)},n=[xv(),Iv(),Lv()];n.forEach(({before:s})=>s==null?void 0:s(r)),n.forEach(({after:s})=>s==null?void 0:s(r))},SCROLL_ALLOW({d:A}){A.dispose()},TEARDOWN({doc:A}){this.delete(A)}});Nt.subscribe(()=>{let A=Nt.getSnapshot(),e=new Map;for(let[t]of A)e.set(t,t.documentElement.style.overflow);for(let t of A.values()){let r=e.get(t.doc)==="hidden",n=t.count!==0;(n&&!r||!n&&r)&&Nt.dispatch(t.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",t),t.count===0&&Nt.dispatch("TEARDOWN",t)}});function Tv(A,e,t){let r=bv(Nt),n=J(()=>{let s=A.value?r.value.get(A.value):void 0;return s?s.count>0:!1});return ie([A,e],([s,i],[o],a)=>{if(!s||!i)return;Nt.dispatch("PUSH",s,t);let c=!1;a(()=>{c||(Nt.dispatch("POP",o??s,t),c=!0)})},{immediate:!0}),n}let Zi=new Map,_r=new Map;function jc(A,e=q(!0)){Fe(t=>{var r;if(!e.value)return;let n=cA(A);if(!n)return;t(function(){var i;if(!n)return;let o=(i=_r.get(n))!=null?i:1;if(o===1?_r.delete(n):_r.set(n,o-1),o!==1)return;let a=Zi.get(n);a&&(a["aria-hidden"]===null?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",a["aria-hidden"]),n.inert=a.inert,Zi.delete(n))});let s=(r=_r.get(n))!=null?r:0;_r.set(n,s+1),s===0&&(Zi.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0)})}function Kv({defaultContainers:A=[],portals:e,mainTreeNodeRef:t}={}){let r=q(null),n=mr(r);function s(){var i,o,a;let c=[];for(let l of A)l!==null&&(l instanceof HTMLElement?c.push(l):"value"in l&&l.value instanceof HTMLElement&&c.push(l.value));if(e!=null&&e.value)for(let l of e.value)c.push(l);for(let l of(i=n==null?void 0:n.querySelectorAll("html > *, body > *"))!=null?i:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(l.contains(cA(r))||l.contains((a=(o=cA(r))==null?void 0:o.getRootNode())==null?void 0:a.host)||c.some(u=>l.contains(u))||c.push(l));return c}return{resolveContainers:s,contains(i){return s().some(o=>o.contains(i))},mainTreeNodeRef:r,MainTreeNode(){return t!=null?null:NA(_s,{features:gn.Hidden,ref:r})}}}let eg=Symbol("ForcePortalRootContext");function _v(){return KA(eg,!1)}let Zc=_A({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(A,{slots:e,attrs:t}){return ue(eg,A.force),()=>{let{force:r,...n}=A;return he({theirProps:n,ourProps:{},slot:{},slots:e,attrs:t,name:"ForcePortalRoot"})}}}),tg=Symbol("StackContext");var Xo=(A=>(A[A.Add=0]="Add",A[A.Remove=1]="Remove",A))(Xo||{});function Dv(){return KA(tg,()=>{})}function Ov({type:A,enabled:e,element:t,onUpdate:r}){let n=Dv();function s(...i){r==null||r(...i),n(...i)}GA(()=>{ie(e,(i,o)=>{i?s(0,A,t):o===!0&&s(1,A,t)},{immediate:!0,flush:"sync"})}),Ue(()=>{e.value&&s(1,A,t)}),ue(tg,s)}let Rv=Symbol("DescriptionContext");function kv({slot:A=q({}),name:e="Description",props:t={}}={}){let r=q([]);function n(s){return r.value.push(s),()=>{let i=r.value.indexOf(s);i!==-1&&r.value.splice(i,1)}}return ue(Rv,{register:n,slot:A,name:e,props:t}),J(()=>r.value.length>0?r.value.join(" "):void 0)}function Mv(A){let e=mr(A);if(!e){if(A===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${A}`)}let t=e.getElementById("headlessui-portal-root");if(t)return t;let r=e.createElement("div");return r.setAttribute("id","headlessui-portal-root"),e.body.appendChild(r)}let Nv=_A({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(A,{slots:e,attrs:t}){let r=q(null),n=J(()=>mr(r)),s=_v(),i=KA(rg,null),o=q(s===!0||i==null?Mv(r.value):i.resolveTarget()),a=q(!1);GA(()=>{a.value=!0}),Fe(()=>{s||i!=null&&(o.value=i.resolveTarget())});let c=KA($o,null),l=!1,u=ha();return ie(r,()=>{if(l||!c)return;let f=cA(r);f&&(Ue(c.register(f),u),l=!0)}),Ue(()=>{var f,B;let g=(f=n.value)==null?void 0:f.getElementById("headlessui-portal-root");g&&o.value===g&&o.value.children.length<=0&&((B=o.value.parentElement)==null||B.removeChild(o.value))}),()=>{if(!a.value||o.value===null)return null;let f={ref:r,"data-headlessui-portal":""};return NA(jd,{to:o.value},he({ourProps:f,theirProps:A,slot:{},attrs:t,slots:e,name:"Portal"}))}}}),$o=Symbol("PortalParentContext");function Pv(){let A=KA($o,null),e=q([]);function t(s){return e.value.push(s),A&&A.register(s),()=>r(s)}function r(s){let i=e.value.indexOf(s);i!==-1&&e.value.splice(i,1),A&&A.unregister(s)}let n={register:t,unregister:r,portals:e};return[e,_A({name:"PortalWrapper",setup(s,{slots:i}){return ue($o,n),()=>{var o;return(o=i.default)==null?void 0:o.call(i)}}})]}let rg=Symbol("PortalGroupContext"),Gv=_A({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(A,{attrs:e,slots:t}){let r=Ur({resolveTarget(){return A.target}});return ue(rg,r),()=>{let{target:n,...s}=A;return he({theirProps:s,ourProps:{},slot:{},attrs:e,slots:t,name:"PortalGroup"})}}});var Vv=(A=>(A[A.Open=0]="Open",A[A.Closed=1]="Closed",A))(Vv||{});let Jo=Symbol("DialogContext");function Sa(A){let e=KA(Jo,null);if(e===null){let t=new Error(`<${A} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Sa),t}return e}let es="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Xv=_A({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:es},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:A=>!0},setup(A,{emit:e,attrs:t,slots:r,expose:n}){var s,i;let o=(s=A.id)!=null?s:`headlessui-dialog-${Zt()}`,a=q(!1);GA(()=>{a.value=!0});let c=!1,l=J(()=>A.role==="dialog"||A.role==="alertdialog"?A.role:(c||(c=!0,console.warn(`Invalid role [${l}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),u=q(0),f=Bi(),B=J(()=>A.open===es&&f!==null?(f.value&qA.Open)===qA.Open:A.open),g=q(null),h=J(()=>mr(g));if(n({el:g,$el:g}),!(A.open!==es||f!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof B.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${B.value===es?void 0:A.open}`);let U=J(()=>a.value&&B.value?0:1),w=J(()=>U.value===0),C=J(()=>u.value>1),F=KA(Jo,null)!==null,[y,E]=Pv(),{resolveContainers:Q,mainTreeNodeRef:L,MainTreeNode:v}=Kv({portals:y,defaultContainers:[J(()=>{var nA;return(nA=tA.panelRef.value)!=null?nA:g.value})]}),b=J(()=>C.value?"parent":"leaf"),O=J(()=>f!==null?(f.value&qA.Closing)===qA.Closing:!1),j=J(()=>F||O.value?!1:w.value),T=J(()=>{var nA,sA,QA;return(QA=Array.from((sA=(nA=h.value)==null?void 0:nA.querySelectorAll("body > *"))!=null?sA:[]).find(yA=>yA.id==="headlessui-portal-root"?!1:yA.contains(cA(L))&&yA instanceof HTMLElement))!=null?QA:null});jc(T,j);let P=J(()=>C.value?!0:w.value),aA=J(()=>{var nA,sA,QA;return(QA=Array.from((sA=(nA=h.value)==null?void 0:nA.querySelectorAll("[data-headlessui-portal]"))!=null?sA:[]).find(yA=>yA.contains(cA(L))&&yA instanceof HTMLElement))!=null?QA:null});jc(aA,P),Ov({type:"Dialog",enabled:J(()=>U.value===0),element:g,onUpdate:(nA,sA)=>{if(sA==="Dialog")return ZA(nA,{[Xo.Add]:()=>u.value+=1,[Xo.Remove]:()=>u.value-=1})}});let gA=kv({name:"DialogDescription",slot:J(()=>({open:B.value}))}),W=q(null),tA={titleId:W,panelRef:q(null),dialogState:U,setTitleId(nA){W.value!==nA&&(W.value=nA)},close(){e("close",!1)}};ue(Jo,tA);let lA=J(()=>!(!w.value||C.value));GB(Q,(nA,sA)=>{tA.close(),Te(()=>sA==null?void 0:sA.focus())},lA);let TA=J(()=>!(C.value||U.value!==0));ZB((i=h.value)==null?void 0:i.defaultView,"keydown",nA=>{TA.value&&(nA.defaultPrevented||nA.key===VA.Escape&&(nA.preventDefault(),nA.stopPropagation(),tA.close()))});let MA=J(()=>!(O.value||U.value!==0||F));return Tv(h,MA,nA=>{var sA;return{containers:[...(sA=nA.containers)!=null?sA:[],Q]}}),Fe(nA=>{if(U.value!==0)return;let sA=cA(g);if(!sA)return;let QA=new ResizeObserver(yA=>{for(let JA of yA){let UA=JA.target.getBoundingClientRect();UA.x===0&&UA.y===0&&UA.width===0&&UA.height===0&&tA.close()}});QA.observe(sA),nA(()=>QA.disconnect())}),()=>{let{open:nA,initialFocus:sA,...QA}=A,yA={...t,ref:g,id:o,role:l.value,"aria-modal":U.value===0?!0:void 0,"aria-labelledby":W.value,"aria-describedby":gA.value},JA={open:U.value===0};return NA(Zc,{force:!0},()=>[NA(Nv,()=>NA(Gv,{target:g.value},()=>NA(Zc,{force:!1},()=>NA(Kr,{initialFocus:sA,containers:Q,features:w.value?ZA(b.value,{parent:Kr.features.RestoreFocus,leaf:Kr.features.All&~Kr.features.FocusLock}):Kr.features.None},()=>NA(E,{},()=>he({ourProps:yA,theirProps:{...QA,...t},slot:JA,attrs:t,slots:r,visible:U.value===0,features:Cr.RenderStrategy|Cr.Static,name:"Dialog"})))))),NA(v)])}}}),$v=_A({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-dialog-panel-${Zt()}`,i=Sa("DialogPanel");r({el:i.panelRef,$el:i.panelRef});function o(a){a.stopPropagation()}return()=>{let{...a}=A,c={id:s,ref:i.panelRef,onClick:o};return he({ourProps:c,theirProps:a,slot:{open:i.dialogState.value===0},attrs:e,slots:t,name:"DialogPanel"})}}}),Jv=_A({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t}){var r;let n=(r=A.id)!=null?r:`headlessui-dialog-title-${Zt()}`,s=Sa("DialogTitle");return GA(()=>{s.setTitleId(n),Ue(()=>s.setTitleId(null))}),()=>{let{...i}=A;return he({ourProps:{id:n},theirProps:i,slot:{open:s.dialogState.value===0},attrs:e,slots:t,name:"DialogTitle"})}}}),zc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function qc(A){var e,t;let r=(e=A.innerText)!=null?e:"",n=A.cloneNode(!0);if(!(n instanceof HTMLElement))return r;let s=!1;for(let o of n.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))o.remove(),s=!0;let i=s?(t=n.innerText)!=null?t:"":r;return zc.test(i)&&(i=i.replace(zc,"")),i}function Wv(A){let e=A.getAttribute("aria-label");if(typeof e=="string")return e.trim();let t=A.getAttribute("aria-labelledby");if(t){let r=t.split(" ").map(n=>{let s=document.getElementById(n);if(s){let i=s.getAttribute("aria-label");return typeof i=="string"?i.trim():qc(s).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return qc(A).trim()}function Yv(A){let e=q(""),t=q("");return()=>{let r=cA(A);if(!r)return"";let n=r.innerText;if(e.value===n)return t.value;let s=Wv(r).trim().toLowerCase();return e.value=n,t.value=s,s}}function jv(A,e){return A===e}var Zv=(A=>(A[A.Open=0]="Open",A[A.Closed=1]="Closed",A))(Zv||{}),zv=(A=>(A[A.Single=0]="Single",A[A.Multi=1]="Multi",A))(zv||{}),qv=(A=>(A[A.Pointer=0]="Pointer",A[A.Other=1]="Other",A))(qv||{});function Am(A){requestAnimationFrame(()=>requestAnimationFrame(A))}let ng=Symbol("ListboxContext");function gi(A){let e=KA(ng,null);if(e===null){let t=new Error(`<${A} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,gi),t}return e}let em=_A({name:"Listbox",emits:{"update:modelValue":A=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>jv},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(A,{slots:e,attrs:t,emit:r}){let n=q(1),s=q(null),i=q(null),o=q(null),a=q([]),c=q(""),l=q(null),u=q(1);function f(F=y=>y){let y=l.value!==null?a.value[l.value]:null,E=MB(F(a.value.slice()),L=>cA(L.dataRef.domRef)),Q=y?E.indexOf(y):null;return Q===-1&&(Q=null),{options:E,activeOptionIndex:Q}}let B=J(()=>A.multiple?1:0),[g,h]=ev(J(()=>A.modelValue),F=>r("update:modelValue",F),J(()=>A.defaultValue)),U=J(()=>g.value===void 0?ZA(B.value,{1:[],0:void 0}):g.value),w={listboxState:n,value:U,mode:B,compare(F,y){if(typeof A.by=="string"){let E=A.by;return(F==null?void 0:F[E])===(y==null?void 0:y[E])}return A.by(F,y)},orientation:J(()=>A.horizontal?"horizontal":"vertical"),labelRef:s,buttonRef:i,optionsRef:o,disabled:J(()=>A.disabled),options:a,searchQuery:c,activeOptionIndex:l,activationTrigger:u,closeListbox(){A.disabled||n.value!==1&&(n.value=1,l.value=null)},openListbox(){A.disabled||n.value!==0&&(n.value=0)},goToOption(F,y,E){if(A.disabled||n.value===1)return;let Q=f(),L=Fv(F===le.Specific?{focus:le.Specific,id:y}:{focus:F},{resolveItems:()=>Q.options,resolveActiveIndex:()=>Q.activeOptionIndex,resolveId:v=>v.id,resolveDisabled:v=>v.dataRef.disabled});c.value="",l.value=L,u.value=E??1,a.value=Q.options},search(F){if(A.disabled||n.value===1)return;let y=c.value!==""?0:1;c.value+=F.toLowerCase();let E=(l.value!==null?a.value.slice(l.value+y).concat(a.value.slice(0,l.value+y)):a.value).find(L=>L.dataRef.textValue.startsWith(c.value)&&!L.dataRef.disabled),Q=E?a.value.indexOf(E):-1;Q===-1||Q===l.value||(l.value=Q,u.value=1)},clearSearch(){A.disabled||n.value!==1&&c.value!==""&&(c.value="")},registerOption(F,y){let E=f(Q=>[...Q,{id:F,dataRef:y}]);a.value=E.options,l.value=E.activeOptionIndex},unregisterOption(F){let y=f(E=>{let Q=E.findIndex(L=>L.id===F);return Q!==-1&&E.splice(Q,1),E});a.value=y.options,l.value=y.activeOptionIndex,u.value=1},theirOnChange(F){A.disabled||h(F)},select(F){A.disabled||h(ZA(B.value,{0:()=>F,1:()=>{let y=rA(w.value.value).slice(),E=rA(F),Q=y.findIndex(L=>w.compare(E,rA(L)));return Q===-1?y.push(E):y.splice(Q,1),y}}))}};GB([i,o],(F,y)=>{var E;w.closeListbox(),kB(y,Ia.Loose)||(F.preventDefault(),(E=cA(i))==null||E.focus())},J(()=>n.value===0)),ue(ng,w),JB(J(()=>ZA(n.value,{0:qA.Open,1:qA.Closed})));let C=J(()=>{var F;return(F=cA(i))==null?void 0:F.closest("form")});return GA(()=>{ie([C],()=>{if(!C.value||A.defaultValue===void 0)return;function F(){w.theirOnChange(A.defaultValue)}return C.value.addEventListener("reset",F),()=>{var y;(y=C.value)==null||y.removeEventListener("reset",F)}},{immediate:!0})}),()=>{let{name:F,modelValue:y,disabled:E,form:Q,...L}=A,v={open:n.value===0,disabled:E,value:U.value};return NA(re,[...F!=null&&U.value!=null?WB({[F]:U.value}).map(([b,O])=>NA(_s,hv({features:gn.Hidden,key:b,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:Q,name:b,value:O}))):[],he({ourProps:{},theirProps:{...t,...xa(L,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:v,slots:e,attrs:t,name:"Listbox"})])}}}),tm=_A({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-button-${Zt()}`,i=gi("ListboxButton");r({el:i.buttonRef,$el:i.buttonRef});function o(u){switch(u.key){case VA.Space:case VA.Enter:case VA.ArrowDown:u.preventDefault(),i.openListbox(),Te(()=>{var f;(f=cA(i.optionsRef))==null||f.focus({preventScroll:!0}),i.value.value||i.goToOption(le.First)});break;case VA.ArrowUp:u.preventDefault(),i.openListbox(),Te(()=>{var f;(f=cA(i.optionsRef))==null||f.focus({preventScroll:!0}),i.value.value||i.goToOption(le.Last)});break}}function a(u){switch(u.key){case VA.Space:u.preventDefault();break}}function c(u){i.disabled.value||(i.listboxState.value===0?(i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})})):(u.preventDefault(),i.openListbox(),Am(()=>{var f;return(f=cA(i.optionsRef))==null?void 0:f.focus({preventScroll:!0})})))}let l=gv(J(()=>({as:A.as,type:e.type})),i.buttonRef);return()=>{var u,f;let B={open:i.listboxState.value===0,disabled:i.disabled.value,value:i.value.value},{...g}=A,h={ref:i.buttonRef,id:s,type:l.value,"aria-haspopup":"listbox","aria-controls":(u=cA(i.optionsRef))==null?void 0:u.id,"aria-expanded":i.listboxState.value===0,"aria-labelledby":i.labelRef.value?[(f=cA(i.labelRef))==null?void 0:f.id,s].join(" "):void 0,disabled:i.disabled.value===!0?!0:void 0,onKeydown:o,onKeyup:a,onClick:c};return he({ourProps:h,theirProps:g,slot:B,attrs:e,slots:t,name:"ListboxButton"})}}}),rm=_A({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-options-${Zt()}`,i=gi("ListboxOptions"),o=q(null);r({el:i.optionsRef,$el:i.optionsRef});function a(u){switch(o.value&&clearTimeout(o.value),u.key){case VA.Space:if(i.searchQuery.value!=="")return u.preventDefault(),u.stopPropagation(),i.search(u.key);case VA.Enter:if(u.preventDefault(),u.stopPropagation(),i.activeOptionIndex.value!==null){let f=i.options.value[i.activeOptionIndex.value];i.select(f.dataRef.value)}i.mode.value===0&&(i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})}));break;case ZA(i.orientation.value,{vertical:VA.ArrowDown,horizontal:VA.ArrowRight}):return u.preventDefault(),u.stopPropagation(),i.goToOption(le.Next);case ZA(i.orientation.value,{vertical:VA.ArrowUp,horizontal:VA.ArrowLeft}):return u.preventDefault(),u.stopPropagation(),i.goToOption(le.Previous);case VA.Home:case VA.PageUp:return u.preventDefault(),u.stopPropagation(),i.goToOption(le.First);case VA.End:case VA.PageDown:return u.preventDefault(),u.stopPropagation(),i.goToOption(le.Last);case VA.Escape:u.preventDefault(),u.stopPropagation(),i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})});break;case VA.Tab:u.preventDefault(),u.stopPropagation();break;default:u.key.length===1&&(i.search(u.key),o.value=setTimeout(()=>i.clearSearch(),350));break}}let c=Bi(),l=J(()=>c!==null?(c.value&qA.Open)===qA.Open:i.listboxState.value===0);return()=>{var u,f;let B={open:i.listboxState.value===0},{...g}=A,h={"aria-activedescendant":i.activeOptionIndex.value===null||(u=i.options.value[i.activeOptionIndex.value])==null?void 0:u.id,"aria-multiselectable":i.mode.value===1?!0:void 0,"aria-labelledby":(f=cA(i.buttonRef))==null?void 0:f.id,"aria-orientation":i.orientation.value,id:s,onKeydown:a,role:"listbox",tabIndex:0,ref:i.optionsRef};return he({ourProps:h,theirProps:g,slot:B,attrs:e,slots:t,features:Cr.RenderStrategy|Cr.Static,visible:l.value,name:"ListboxOptions"})}}}),nm=_A({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(A,{slots:e,attrs:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-option-${Zt()}`,i=gi("ListboxOption"),o=q(null);r({el:o,$el:o});let a=J(()=>i.activeOptionIndex.value!==null?i.options.value[i.activeOptionIndex.value].id===s:!1),c=J(()=>ZA(i.mode.value,{0:()=>i.compare(rA(i.value.value),rA(A.value)),1:()=>rA(i.value.value).some(F=>i.compare(rA(F),rA(A.value)))})),l=J(()=>ZA(i.mode.value,{1:()=>{var F;let y=rA(i.value.value);return((F=i.options.value.find(E=>y.some(Q=>i.compare(rA(Q),rA(E.dataRef.value)))))==null?void 0:F.id)===s},0:()=>c.value})),u=Yv(o),f=J(()=>({disabled:A.disabled,value:A.value,get textValue(){return u()},domRef:o}));GA(()=>i.registerOption(s,f)),Ue(()=>i.unregisterOption(s)),GA(()=>{ie([i.listboxState,c],()=>{i.listboxState.value===0&&c.value&&ZA(i.mode.value,{1:()=>{l.value&&i.goToOption(le.Specific,s)},0:()=>{i.goToOption(le.Specific,s)}})},{immediate:!0})}),Fe(()=>{i.listboxState.value===0&&a.value&&i.activationTrigger.value!==0&&Te(()=>{var F,y;return(y=(F=cA(o))==null?void 0:F.scrollIntoView)==null?void 0:y.call(F,{block:"nearest"})})});function B(F){if(A.disabled)return F.preventDefault();i.select(A.value),i.mode.value===0&&(i.closeListbox(),Te(()=>{var y;return(y=cA(i.buttonRef))==null?void 0:y.focus({preventScroll:!0})}))}function g(){if(A.disabled)return i.goToOption(le.Nothing);i.goToOption(le.Specific,s)}let h=dv();function U(F){h.update(F)}function w(F){h.wasMoved(F)&&(A.disabled||a.value||i.goToOption(le.Specific,s,0))}function C(F){h.wasMoved(F)&&(A.disabled||a.value&&i.goToOption(le.Nothing))}return()=>{let{disabled:F}=A,y={active:a.value,selected:c.value,disabled:F},{value:E,disabled:Q,...L}=A,v={id:s,ref:o,role:"option",tabIndex:F===!0?void 0:-1,"aria-disabled":F===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:B,onFocus:g,onPointerenter:U,onMouseenter:U,onPointermove:w,onMousemove:w,onPointerleave:C,onMouseleave:C};return he({ourProps:v,theirProps:L,slot:y,attrs:t,slots:e,name:"ListboxOption"})}}});function sm(A){let e={called:!1};return(...t)=>{if(!e.called)return e.called=!0,A(...t)}}function zi(A,...e){A&&e.length>0&&A.classList.add(...e)}function ts(A,...e){A&&e.length>0&&A.classList.remove(...e)}var Wo=(A=>(A.Finished="finished",A.Cancelled="cancelled",A))(Wo||{});function im(A,e){let t=Cn();if(!A)return t.dispose;let{transitionDuration:r,transitionDelay:n}=getComputedStyle(A),[s,i]=[r,n].map(o=>{let[a=0]=o.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,l)=>l-c);return a});return s!==0?t.setTimeout(()=>e("finished"),s+i):e("finished"),t.add(()=>e("cancelled")),t.dispose}function Au(A,e,t,r,n,s){let i=Cn(),o=s!==void 0?sm(s):()=>{};return ts(A,...n),zi(A,...e,...t),i.nextFrame(()=>{ts(A,...t),zi(A,...r),i.add(im(A,a=>(ts(A,...r,...e),zi(A,...n),o(a))))}),i.add(()=>ts(A,...e,...t,...r,...n)),i.add(()=>o("cancelled")),i.dispose}function Kt(A=""){return A.split(/\s+/).filter(e=>e.length>1)}let Ta=Symbol("TransitionContext");var om=(A=>(A.Visible="visible",A.Hidden="hidden",A))(om||{});function am(){return KA(Ta,null)!==null}function lm(){let A=KA(Ta,null);if(A===null)throw new Error("A is used but it is missing a parent .");return A}function cm(){let A=KA(Ka,null);if(A===null)throw new Error("A is used but it is missing a parent .");return A}let Ka=Symbol("NestingContext");function di(A){return"children"in A?di(A.children):A.value.filter(({state:e})=>e==="visible").length>0}function sg(A){let e=q([]),t=q(!1);GA(()=>t.value=!0),Ue(()=>t.value=!1);function r(s,i=Ft.Hidden){let o=e.value.findIndex(({id:a})=>a===s);o!==-1&&(ZA(i,{[Ft.Unmount](){e.value.splice(o,1)},[Ft.Hidden](){e.value[o].state="hidden"}}),!di(e)&&t.value&&(A==null||A()))}function n(s){let i=e.value.find(({id:o})=>o===s);return i?i.state!=="visible"&&(i.state="visible"):e.value.push({id:s,state:"visible"}),()=>r(s,Ft.Unmount)}return{children:e,register:n,unregister:r}}let ig=Cr.RenderStrategy,Yo=_A({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(A,{emit:e,attrs:t,slots:r,expose:n}){let s=q(0);function i(){s.value|=qA.Opening,e("beforeEnter")}function o(){s.value&=~qA.Opening,e("afterEnter")}function a(){s.value|=qA.Closing,e("beforeLeave")}function c(){s.value&=~qA.Closing,e("afterLeave")}if(!am()&&wv())return()=>NA(og,{...A,onBeforeEnter:i,onAfterEnter:o,onBeforeLeave:a,onAfterLeave:c},r);let l=q(null),u=J(()=>A.unmount?Ft.Unmount:Ft.Hidden);n({el:l,$el:l});let{show:f,appear:B}=lm(),{register:g,unregister:h}=cm(),U=q(f.value?"visible":"hidden"),w={value:!0},C=Zt(),F={value:!1},y=sg(()=>{!F.value&&U.value!=="hidden"&&(U.value="hidden",h(C),c())});GA(()=>{let P=g(C);Ue(P)}),Fe(()=>{if(u.value===Ft.Hidden&&C){if(f.value&&U.value!=="visible"){U.value="visible";return}ZA(U.value,{hidden:()=>h(C),visible:()=>g(C)})}});let E=Kt(A.enter),Q=Kt(A.enterFrom),L=Kt(A.enterTo),v=Kt(A.entered),b=Kt(A.leave),O=Kt(A.leaveFrom),j=Kt(A.leaveTo);GA(()=>{Fe(()=>{if(U.value==="visible"){let P=cA(l);if(P instanceof Comment&&P.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function T(P){let aA=w.value&&!B.value,gA=cA(l);!gA||!(gA instanceof HTMLElement)||aA||(F.value=!0,f.value&&i(),f.value||a(),P(f.value?Au(gA,E,Q,L,v,W=>{F.value=!1,W===Wo.Finished&&o()}):Au(gA,b,O,j,v,W=>{F.value=!1,W===Wo.Finished&&(di(y)||(U.value="hidden",h(C),c()))})))}return GA(()=>{ie([f],(P,aA,gA)=>{T(gA),w.value=!1},{immediate:!0})}),ue(Ka,y),JB(J(()=>ZA(U.value,{visible:qA.Open,hidden:qA.Closed})|s.value)),()=>{let{appear:P,show:aA,enter:gA,enterFrom:W,enterTo:tA,entered:lA,leave:TA,leaveFrom:MA,leaveTo:nA,...sA}=A,QA={ref:l},yA={...sA,...B.value&&f.value&&Qn.isServer?{class:je([t.class,sA.class,...E,...Q])}:{}};return he({theirProps:yA,ourProps:QA,slot:{},slots:r,attrs:t,features:ig,visible:U.value==="visible",name:"TransitionChild"})}}}),um=Yo,og=_A({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(A,{emit:e,attrs:t,slots:r}){let n=Bi(),s=J(()=>A.show===null&&n!==null?(n.value&qA.Open)===qA.Open:A.show);Fe(()=>{if(![!0,!1].includes(s.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let i=q(s.value?"visible":"hidden"),o=sg(()=>{i.value="hidden"}),a=q(!0),c={show:s,appear:J(()=>A.appear||!a.value)};return GA(()=>{Fe(()=>{a.value=!1,s.value?i.value="visible":di(o)||(i.value="hidden")})}),ue(Ka,o),ue(Ta,c),()=>{let l=xa(A,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),u={unmount:A.unmount};return he({ourProps:{...u,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[NA(um,{onBeforeEnter:()=>e("beforeEnter"),onAfterEnter:()=>e("afterEnter"),onBeforeLeave:()=>e("beforeLeave"),onAfterLeave:()=>e("afterLeave"),...t,...u,...l},r.default)]},attrs:{},features:ig,visible:i.value==="visible",name:"Transition"})}}});function fm(A,e){return ce(),hr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[uA("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})])}function Bm(A,e){return ce(),hr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[uA("path",{"fill-rule":"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z","clip-rule":"evenodd"})])}const gm={class:"block truncate"},dm={class:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},hm={key:0,class:"absolute inset-y-0 left-0 flex items-center pl-3 text-amber-500"},jo=_A({__name:"HeadlessSelect",props:{className:{default:""},sourceArr:{},defaultId:{}},emits:["selected"],setup(A,{emit:e}){const t=A,r=t.sourceArr.findIndex(i=>i.id===t.defaultId),n=q(t.sourceArr[r]),s=e;return ie(n,(i,o)=>{s("selected",i)}),(i,o)=>(ce(),hr(bA(em),{modelValue:n.value,"onUpdate:modelValue":o[0]||(o[0]=a=>n.value=a)},{default:ge(()=>[$("div",{class:je(["relative",t.className])},[uA(bA(tm),{class:"relative w-full h-10 pl-3 pr-10 text-left bg-white border border-solid rounded-lg cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-900 focus:outline-none focus-visible:border-indigo-500 focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-orange-300 sm:text-sm"},{default:ge(()=>[$("span",gm,ds(n.value.name),1),$("span",dm,[uA(bA(Bm),{class:"w-5 h-5 text-gray-400","aria-hidden":"true"})])]),_:1}),uA(pa,{"leave-active-class":"transition duration-100 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:ge(()=>[uA(bA(rm),{style:{"z-index":"100"},class:"absolute w-full py-1 mt-1 overflow-auto text-base bg-white rounded-md shadow-lg max-h-60 ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:ge(()=>[(ce(!0),At(re,null,Hd(i.sourceArr,a=>(ce(),hr(bA(nm),{key:`${a.id}`,value:a,as:"template"},{default:ge(({active:c,selected:l})=>[$("li",{class:je([c?"bg-amber-100 text-amber-900":"text-gray-900","relative cursor-pointer select-none py-2 pl-10 pr-4"])},[$("span",{class:je([l?"font-medium":"font-normal","block truncate"])},ds(a.name),3),l?(ce(),At("span",hm,[uA(bA(fm),{class:"w-5 h-5","aria-hidden":"true"})])):lf("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})],2)]),_:1},8,["modelValue"]))}}),pm="/assets/zero-CC4bBb9q.gif",wm={class:"z-0 my-4 text-center text-gray-400"},Qm={class:"flex flex-row flex-wrap items-center justify-center mt-2 mb-2 text-sm friends"},Cm=["href"],Fm=["href"],Um=["href"],vm=["href"],mm=["href"],Em={class:"flex flex-row flex-wrap items-center justify-center w-full text-sm"},ym={class:"mx-3 text-gray-400"},bm=["href"],Hm=$("br",{class:"show-on-mobile"},null,-1),Im=["href"],xm=$("img",{class:"zero",src:pm,alt:"深圳市市场监督管理局企业主体身份公示"},null,-1),Lm=_A({__name:"FooterNav",setup(A){const e=q(`Copyright © ${new Date().getFullYear()}`),t=r=>`${r}?ref=nicelinks.site`;return(r,n)=>(ce(),At("footer",wm,[$("div",Qm,[$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://www.jeffjade.com/"),onClick:n[0]||(n[0]=s=>r.$reortGaEvent("www-jeffjade-com","footer"))},"晚晴幽草轩",8,Cm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://quickapp.lovejade.cn/"),onClick:n[1]||(n[1]=s=>r.$reortGaEvent("quickapp-lovejade","footer"))},"静轩之别苑",8,Fm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://fine.niceshare.site/"),onClick:n[2]||(n[2]=s=>r.$reortGaEvent("fine-niceshare-site","footer"))},"缘知随心庭",8,Um),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://forum.lovejade.cn/"),onClick:n[3]||(n[3]=s=>r.$reortGaEvent("forum-lovejade","footer"))},"悠然宜想亭",8,vm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://wechat.jeffjade.com/"),onClick:n[4]||(n[4]=s=>r.$reortGaEvent("wechat-jeffjade-com","footer"))},"公众号排版",8,mm)]),$("div",Em,[$("span",ym,ds(e.value),1),$("a",{target:"_blank",class:"text-gray-400 cursor-pointer hover:text-amber-500",onClick:n[5]||(n[5]=s=>r.$reortGaEvent("jeffjade","footer")),rel:"external noopener",href:t("https://www.jeffjade.com")},"晚晴幽草轩",8,bm),Zs("出品"),Hm,$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",rel:"external noopener",onClick:n[6]||(n[6]=s=>r.$reortGaEvent("beian","footer")),href:t("https://beian.miit.gov.cn/")},"粤ICP备17099767号",8,Im),xm])]))}}),Sm={},Tm={class:"mx-auto w-full h-32 my-4 max-w-[450px] border border-gray-200 flex flex-row items-center bg-white rounded-md shadow-md z-0"},Km=Ah('

逍遥自在轩

基于 Astro, Starlight, Svelte, Markdown, MDX,TailwindCSS, TypeScript 所构建的个人主页,快速、易用、易于访问、高度可定制。

',2),_m=[Km];function Dm(A,e){return ce(),At("div",Tm,[$("a",{class:"flex flex-row items-center justify-between w-full h-full px-4 py-4",href:"https://niceshare.site/?ref=share.lovejade.cn",onClick:e[0]||(e[0]=t=>A.$reortGaEvent("recommand","footer")),target:"_blank"},_m)])}const Om=ti(Sm,[["render",Dm]]),Rm=$("div",{class:"fixed inset-0 bg-black bg-opacity-25"},null,-1),km={class:"fixed inset-0 overflow-y-auto"},Mm={class:"flex items-center justify-center min-h-full p-4 text-center"},Nm={class:"flex items-center justify-start flex-auto px-2 py-2 m-4 rounded-md shadow-inner bg-slate-50"},Pm={class:"flex flex-col flex-wrap items-center justify-center h-20 mx-2"},Gm=$("p",{class:"pb-2 font-medium text-gray-400"},"FILTERS",-1),Vm=$("canvas",{id:"preview-area",class:"m-auto my-2"},null,-1),Xm=_A({__name:"PreviewDialog",props:{visble:Boolean},emits:["change"],setup(A,{emit:e}){const t=A;let r=null;const n=e,s=q(t.visble),i=[{name:"Golden",id:"golden"},{name:"Seagreen",id:"seagreen"},{name:"Islands",id:"islands"},{name:"Twenties",id:"twenties"},{name:"Radio",id:"radio"},{name:"Bluechrome",id:"bluechrome"},{name:"Obsidian",id:"obsidian"},{name:"Vintage",id:"vintage"},{name:"Pastel Pink",id:"pastel pink"}];ie(()=>t.visble,B=>{s.value=B,B&&Lf(()=>import("./photon_rs-C04jA1Ux.js"),__vite__mapDeps([])).then(g=>{r=g,c(i[0].id)})});function o(){s.value=!1,n("change",!1)}function a(){return new Promise((B,g)=>{const h=document.getElementById("container");Go(h).then(U=>{const w=U.toDataURL("image/png"),C=new Image;C.src=w,C.onload=()=>{B(C)}})})}const c=async B=>{const g=await a(),h={width:g.width,height:g.height},{canvas:U,ctx:w,image:C}=l(g,h);r.filter(C,B),r.putImageData(U,w,C)};function l(B,g){const h=document.getElementById("preview-area"),U=h.getContext("2d");h.width=g.width/2,h.height=g.height/2,U.drawImage(B,0,0,g.width/2,g.height/2);const w=r.open_image(h,U);return{canvas:h,ctx:U,image:w}}function u(B){c(B.id)}const f=async B=>{const g=await a(),h={width:g.width,height:g.height},{canvas:U,ctx:w,image:C}=l(g,h);r[B](C),r.putImageData(U,w,C)};return(B,g)=>(ce(),hr(bA(og),{appear:"",show:s.value,as:"template"},{default:ge(()=>[uA(bA(Xv),{as:"div",onClose:o,class:"relative z-10"},{default:ge(()=>[uA(bA(Yo),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100","leave-to":"opacity-0"},{default:ge(()=>[Rm]),_:1}),$("div",km,[$("div",Mm,[uA(bA(Yo),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:ge(()=>[uA(bA($v),{class:"w-full max-w-4xl p-6 overflow-hidden text-left align-middle transition-all transform bg-white shadow-xl rounded-2xl"},{default:ge(()=>[uA(bA(Jv),{as:"h3",class:"text-lg font-medium leading-6 text-gray-900"},{default:ge(()=>[Zs(" 效果预览 ")]),_:1}),$("div",Nm,[$("div",Pm,[Gm,uA(jo,{className:"w-36",sourceArr:i,defaultId:i[0].id,onSelected:u},null,8,["defaultId"])]),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[0]||(g[0]=h=>f("emboss"))}," EMBOSS "),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[1]||(g[1]=h=>f("grayscale"))}," GRAYSCALE "),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[2]||(g[2]=h=>f("colorize"))}," COLORIZE ")]),Vm]),_:1})]),_:1})])])]),_:1})]),_:1},8,["show"]))}}),eu="current-content",tu="is-with-date",ru="current-theme",nu="current-size",Zo=[{name:"元气",id:"vitality"},{name:"便签",id:"note"},{name:"古风",id:"antiquity"},{name:"经典",id:"classic"},{name:"暗黑",id:"dark"},{name:"纸屑",id:"bbburst"},{name:"渐变",id:"gradient"},{name:"公务",id:"official"},{name:"芒黄",id:"yellow"}],su=[{name:"电脑端",id:"laptop",style:"width: 50rem; padding: 3rem;"},{name:"移动端",id:"mobile",style:"width: 20rem; padding: 1rem;"},{name:"平板端",id:"tablet",style:"width: 37.5rem; padding: 2rem;"},{name:"超级屏",id:"desktop",style:"width: 60rem; padding: 3rem;"}],$m=`[玉桃文飨轩](https://share.lovejade.cn/),简单好用的在线文本工具;支持将 Markdown、rich text、word 等格式内容,快速转化为 png、pdf、html、PPT 等文件,并支持一键下载、社交分享、自定义设置等功能。 +`));let B=XB((i=u.props)!=null?i:{},a,l),g=et(u,B,!0);for(let h in B)h.startsWith("on")&&(g.props||(g.props={}),g.props[h]=B[h]);return g}return Array.isArray(c)&&c.length===1?c[0]:c}return NA(o,Object.assign({},a,l),{default:()=>c})}function VB(A){return A.flatMap(e=>e.type===re?VB(e.children):[e])}function XB(...A){if(A.length===0)return{};if(A.length===1)return A[0];let e={},t={};for(let r of A)for(let n in r)n.startsWith("on")&&typeof r[n]=="function"?(t[n]!=null||(t[n]=[]),t[n].push(r[n])):e[n]=r[n];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(t).map(r=>[r,void 0])));for(let r in t)Object.assign(e,{[r](n,...s){let i=t[r];for(let o of i){if(n instanceof Event&&n.defaultPrevented)return;o(n,...s)}}});return e}function Cv(A){let e=Object.assign({},A);for(let t in e)e[t]===void 0&&delete e[t];return e}function xa(A,e=[]){let t=Object.assign({},A);for(let r of e)r in t&&delete t[r];return t}function Fv(A){return A==null?!1:typeof A.type=="string"||typeof A.type=="object"||typeof A.type=="function"}var gn=(A=>(A[A.None=1]="None",A[A.Focusable=2]="Focusable",A[A.Hidden=4]="Hidden",A))(gn||{});let _s=_A({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(A,{slots:e,attrs:t}){return()=>{var r;let{features:n,...s}=A,i={"aria-hidden":(n&2)===2?!0:(r=s["aria-hidden"])!=null?r:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return he({ourProps:i,theirProps:s,slot:{},attrs:t,slots:e,name:"Hidden"})}}}),$B=Symbol("Context");var qA=(A=>(A[A.Open=1]="Open",A[A.Closed=2]="Closed",A[A.Closing=4]="Closing",A[A.Opening=8]="Opening",A))(qA||{});function Uv(){return Bi()!==null}function Bi(){return KA($B,null)}function JB(A){ue($B,A)}var VA=(A=>(A.Space=" ",A.Enter="Enter",A.Escape="Escape",A.Backspace="Backspace",A.Delete="Delete",A.ArrowLeft="ArrowLeft",A.ArrowUp="ArrowUp",A.ArrowRight="ArrowRight",A.ArrowDown="ArrowDown",A.Home="Home",A.End="End",A.PageUp="PageUp",A.PageDown="PageDown",A.Tab="Tab",A))(VA||{});function vv(A){function e(){document.readyState!=="loading"&&(A(),document.removeEventListener("DOMContentLoaded",e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",e),e())}let Rt=[];vv(()=>{function A(e){e.target instanceof HTMLElement&&e.target!==document.body&&Rt[0]!==e.target&&(Rt.unshift(e.target),Rt=Rt.filter(t=>t!=null&&t.isConnected),Rt.splice(10))}window.addEventListener("click",A,{capture:!0}),window.addEventListener("mousedown",A,{capture:!0}),window.addEventListener("focus",A,{capture:!0}),document.body.addEventListener("click",A,{capture:!0}),document.body.addEventListener("mousedown",A,{capture:!0}),document.body.addEventListener("focus",A,{capture:!0})});function mv(A){throw new Error("Unexpected object: "+A)}var ce=(A=>(A[A.First=0]="First",A[A.Previous=1]="Previous",A[A.Next=2]="Next",A[A.Last=3]="Last",A[A.Specific=4]="Specific",A[A.Nothing=5]="Nothing",A))(ce||{});function Ev(A,e){let t=e.resolveItems();if(t.length<=0)return null;let r=e.resolveActiveIndex(),n=r??-1;switch(A.focus){case 0:{for(let s=0;s=0;--s)if(!e.resolveDisabled(t[s],s,t))return s;return r}case 2:{for(let s=n+1;s=0;--s)if(!e.resolveDisabled(t[s],s,t))return s;return r}case 4:{for(let s=0;ssetTimeout(()=>{throw e}))}function Cn(){let A=[],e={addEventListener(t,r,n,s){return t.addEventListener(r,n,s),e.add(()=>t.removeEventListener(r,n,s))},requestAnimationFrame(...t){let r=requestAnimationFrame(...t);e.add(()=>cancelAnimationFrame(r))},nextFrame(...t){e.requestAnimationFrame(()=>{e.requestAnimationFrame(...t)})},setTimeout(...t){let r=setTimeout(...t);e.add(()=>clearTimeout(r))},microTask(...t){let r={current:!0};return La(()=>{r.current&&t[0]()}),e.add(()=>{r.current=!1})},style(t,r,n){let s=t.style.getPropertyValue(r);return Object.assign(t.style,{[r]:n}),this.add(()=>{Object.assign(t.style,{[r]:s})})},group(t){let r=Cn();return t(r),this.add(()=>r.dispose())},add(t){return A.push(t),()=>{let r=A.indexOf(t);if(r>=0)for(let n of A.splice(r,1))n()}},dispose(){for(let t of A.splice(0))t()}};return e}function WB(A={},e=null,t=[]){for(let[r,n]of Object.entries(A))jB(t,YB(e,r),n);return t}function YB(A,e){return A?A+"["+e+"]":e}function jB(A,e,t){if(Array.isArray(t))for(let[r,n]of t.entries())jB(A,YB(e,r.toString()),n);else t instanceof Date?A.push([e,t.toISOString()]):typeof t=="boolean"?A.push([e,t?"1":"0"]):typeof t=="string"?A.push([e,t]):typeof t=="number"?A.push([e,`${t}`]):t==null?A.push([e,""]):WB(t,e,A)}function ZB(A,e,t,r){Qn.isServer||Fe(n=>{A=A??window,A.addEventListener(e,t,r),n(()=>A.removeEventListener(e,t,r))})}var Vr=(A=>(A[A.Forwards=0]="Forwards",A[A.Backwards=1]="Backwards",A))(Vr||{});function yv(){let A=q(0);return PB("keydown",e=>{e.key==="Tab"&&(A.value=e.shiftKey?1:0)}),A}function zB(A){if(!A)return new Set;if(typeof A=="function")return new Set(A());let e=new Set;for(let t of A.value){let r=cA(t);r instanceof HTMLElement&&e.add(r)}return e}var qB=(A=>(A[A.None=1]="None",A[A.InitialFocus=2]="InitialFocus",A[A.TabLock=4]="TabLock",A[A.FocusLock=8]="FocusLock",A[A.RestoreFocus=16]="RestoreFocus",A[A.All=30]="All",A))(qB||{});let Kr=Object.assign(_A({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:q(new Set)}},inheritAttrs:!1,setup(A,{attrs:e,slots:t,expose:r}){let n=q(null);r({el:n,$el:n});let s=J(()=>mr(n)),i=q(!1);GA(()=>i.value=!0),Ue(()=>i.value=!1),Hv({ownerDocument:s},J(()=>i.value&&!!(A.features&16)));let o=Iv({ownerDocument:s,container:n,initialFocus:J(()=>A.initialFocus)},J(()=>i.value&&!!(A.features&2)));xv({ownerDocument:s,container:n,containers:A.containers,previousActiveElement:o},J(()=>i.value&&!!(A.features&8)));let a=yv();function c(B){let g=cA(n);g&&(h=>h())(()=>{ZA(a.value,{[Vr.Forwards]:()=>{Bs(g,pt.First,{skipElements:[B.relatedTarget]})},[Vr.Backwards]:()=>{Bs(g,pt.Last,{skipElements:[B.relatedTarget]})}})})}let l=q(!1);function u(B){B.key==="Tab"&&(l.value=!0,requestAnimationFrame(()=>{l.value=!1}))}function f(B){if(!i.value)return;let g=zB(A.containers);cA(n)instanceof HTMLElement&&g.add(cA(n));let h=B.relatedTarget;h instanceof HTMLElement&&h.dataset.headlessuiFocusGuard!=="true"&&(Ag(g,h)||(l.value?Bs(cA(n),ZA(a.value,{[Vr.Forwards]:()=>pt.Next,[Vr.Backwards]:()=>pt.Previous})|pt.WrapAround,{relativeTo:B.target}):B.target instanceof HTMLElement&&$t(B.target)))}return()=>{let B={},g={ref:n,onKeydown:u,onFocusout:f},{features:h,initialFocus:U,containers:w,...C}=A;return NA(re,[!!(h&4)&&NA(_s,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:gn.Focusable}),he({ourProps:g,theirProps:{...e,...C},slot:B,attrs:e,slots:t,name:"FocusTrap"}),!!(h&4)&&NA(_s,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:gn.Focusable})])}}}),{features:qB});function bv(A){let e=q(Rt.slice());return oe([A],([t],[r])=>{r===!0&&t===!1?La(()=>{e.value.splice(0)}):r===!1&&t===!0&&(e.value=Rt.slice())},{flush:"post"}),()=>{var t;return(t=e.value.find(r=>r!=null&&r.isConnected))!=null?t:null}}function Hv({ownerDocument:A},e){let t=bv(e);GA(()=>{Fe(()=>{var r,n;e.value||((r=A.value)==null?void 0:r.activeElement)===((n=A.value)==null?void 0:n.body)&&$t(t())},{flush:"post"})}),Ue(()=>{e.value&&$t(t())})}function Iv({ownerDocument:A,container:e,initialFocus:t},r){let n=q(null),s=q(!1);return GA(()=>s.value=!0),Ue(()=>s.value=!1),GA(()=>{oe([e,t,r],(i,o)=>{if(i.every((c,l)=>(o==null?void 0:o[l])===c)||!r.value)return;let a=cA(e);a&&La(()=>{var c,l;if(!s.value)return;let u=cA(t),f=(c=A.value)==null?void 0:c.activeElement;if(u){if(u===f){n.value=f;return}}else if(a.contains(f)){n.value=f;return}u?$t(u):Bs(a,pt.First|pt.NoScroll)===RB.Error&&console.warn("There are no focusable elements inside the "),n.value=(l=A.value)==null?void 0:l.activeElement})},{immediate:!0,flush:"post"})}),n}function xv({ownerDocument:A,container:e,containers:t,previousActiveElement:r},n){var s;ZB((s=A.value)==null?void 0:s.defaultView,"focus",i=>{if(!n.value)return;let o=zB(t);cA(e)instanceof HTMLElement&&o.add(cA(e));let a=r.value;if(!a)return;let c=i.target;c&&c instanceof HTMLElement?Ag(o,c)?(r.value=c,$t(c)):(i.preventDefault(),i.stopPropagation(),$t(a)):$t(r.value)},!0)}function Ag(A,e){for(let t of A)if(t.contains(e))return!0;return!1}function Lv(A){let e=Su(A.getSnapshot());return Ue(A.subscribe(()=>{e.value=A.getSnapshot()})),e}function Sv(A,e){let t=A(),r=new Set;return{getSnapshot(){return t},subscribe(n){return r.add(n),()=>r.delete(n)},dispatch(n,...s){let i=e[n].call(t,...s);i&&(t=i,r.forEach(o=>o()))}}}function Tv(){let A;return{before({doc:e}){var t;let r=e.documentElement;A=((t=e.defaultView)!=null?t:window).innerWidth-r.clientWidth},after({doc:e,d:t}){let r=e.documentElement,n=r.clientWidth-r.offsetWidth,s=A-n;t.style(r,"paddingRight",`${s}px`)}}}function Kv(){return NB()?{before({doc:A,d:e,meta:t}){function r(n){return t.containers.flatMap(s=>s()).some(s=>s.contains(n))}e.microTask(()=>{var n;if(window.getComputedStyle(A.documentElement).scrollBehavior!=="auto"){let o=Cn();o.style(A.documentElement,"scrollBehavior","auto"),e.add(()=>e.microTask(()=>o.dispose()))}let s=(n=window.scrollY)!=null?n:window.pageYOffset,i=null;e.addEventListener(A,"click",o=>{if(o.target instanceof HTMLElement)try{let a=o.target.closest("a");if(!a)return;let{hash:c}=new URL(a.href),l=A.querySelector(c);l&&!r(l)&&(i=l)}catch{}},!0),e.addEventListener(A,"touchstart",o=>{if(o.target instanceof HTMLElement)if(r(o.target)){let a=o.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;e.style(a,"overscrollBehavior","contain")}else e.style(o.target,"touchAction","none")}),e.addEventListener(A,"touchmove",o=>{if(o.target instanceof HTMLElement)if(r(o.target)){let a=o.target;for(;a.parentElement&&a.dataset.headlessuiPortal!==""&&!(a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth);)a=a.parentElement;a.dataset.headlessuiPortal===""&&o.preventDefault()}else o.preventDefault()},{passive:!1}),e.add(()=>{var o;let a=(o=window.scrollY)!=null?o:window.pageYOffset;s!==a&&window.scrollTo(0,s),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{}}function _v(){return{before({doc:A,d:e}){e.style(A.documentElement,"overflow","hidden")}}}function Dv(A){let e={};for(let t of A)Object.assign(e,t(e));return e}let Nt=Sv(()=>new Map,{PUSH(A,e){var t;let r=(t=this.get(A))!=null?t:{doc:A,count:0,d:Cn(),meta:new Set};return r.count++,r.meta.add(e),this.set(A,r),this},POP(A,e){let t=this.get(A);return t&&(t.count--,t.meta.delete(e)),this},SCROLL_PREVENT({doc:A,d:e,meta:t}){let r={doc:A,d:e,meta:Dv(t)},n=[Kv(),Tv(),_v()];n.forEach(({before:s})=>s==null?void 0:s(r)),n.forEach(({after:s})=>s==null?void 0:s(r))},SCROLL_ALLOW({d:A}){A.dispose()},TEARDOWN({doc:A}){this.delete(A)}});Nt.subscribe(()=>{let A=Nt.getSnapshot(),e=new Map;for(let[t]of A)e.set(t,t.documentElement.style.overflow);for(let t of A.values()){let r=e.get(t.doc)==="hidden",n=t.count!==0;(n&&!r||!n&&r)&&Nt.dispatch(t.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",t),t.count===0&&Nt.dispatch("TEARDOWN",t)}});function Ov(A,e,t){let r=Lv(Nt),n=J(()=>{let s=A.value?r.value.get(A.value):void 0;return s?s.count>0:!1});return oe([A,e],([s,i],[o],a)=>{if(!s||!i)return;Nt.dispatch("PUSH",s,t);let c=!1;a(()=>{c||(Nt.dispatch("POP",o??s,t),c=!0)})},{immediate:!0}),n}let Zi=new Map,_r=new Map;function jc(A,e=q(!0)){Fe(t=>{var r;if(!e.value)return;let n=cA(A);if(!n)return;t(function(){var i;if(!n)return;let o=(i=_r.get(n))!=null?i:1;if(o===1?_r.delete(n):_r.set(n,o-1),o!==1)return;let a=Zi.get(n);a&&(a["aria-hidden"]===null?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",a["aria-hidden"]),n.inert=a.inert,Zi.delete(n))});let s=(r=_r.get(n))!=null?r:0;_r.set(n,s+1),s===0&&(Zi.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0)})}function Rv({defaultContainers:A=[],portals:e,mainTreeNodeRef:t}={}){let r=q(null),n=mr(r);function s(){var i,o,a;let c=[];for(let l of A)l!==null&&(l instanceof HTMLElement?c.push(l):"value"in l&&l.value instanceof HTMLElement&&c.push(l.value));if(e!=null&&e.value)for(let l of e.value)c.push(l);for(let l of(i=n==null?void 0:n.querySelectorAll("html > *, body > *"))!=null?i:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(l.contains(cA(r))||l.contains((a=(o=cA(r))==null?void 0:o.getRootNode())==null?void 0:a.host)||c.some(u=>l.contains(u))||c.push(l));return c}return{resolveContainers:s,contains(i){return s().some(o=>o.contains(i))},mainTreeNodeRef:r,MainTreeNode(){return t!=null?null:NA(_s,{features:gn.Hidden,ref:r})}}}let eg=Symbol("ForcePortalRootContext");function kv(){return KA(eg,!1)}let Zc=_A({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(A,{slots:e,attrs:t}){return ue(eg,A.force),()=>{let{force:r,...n}=A;return he({theirProps:n,ourProps:{},slot:{},slots:e,attrs:t,name:"ForcePortalRoot"})}}}),tg=Symbol("StackContext");var Xo=(A=>(A[A.Add=0]="Add",A[A.Remove=1]="Remove",A))(Xo||{});function Mv(){return KA(tg,()=>{})}function Nv({type:A,enabled:e,element:t,onUpdate:r}){let n=Mv();function s(...i){r==null||r(...i),n(...i)}GA(()=>{oe(e,(i,o)=>{i?s(0,A,t):o===!0&&s(1,A,t)},{immediate:!0,flush:"sync"})}),Ue(()=>{e.value&&s(1,A,t)}),ue(tg,s)}let Pv=Symbol("DescriptionContext");function Gv({slot:A=q({}),name:e="Description",props:t={}}={}){let r=q([]);function n(s){return r.value.push(s),()=>{let i=r.value.indexOf(s);i!==-1&&r.value.splice(i,1)}}return ue(Pv,{register:n,slot:A,name:e,props:t}),J(()=>r.value.length>0?r.value.join(" "):void 0)}function Vv(A){let e=mr(A);if(!e){if(A===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${A}`)}let t=e.getElementById("headlessui-portal-root");if(t)return t;let r=e.createElement("div");return r.setAttribute("id","headlessui-portal-root"),e.body.appendChild(r)}let Xv=_A({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(A,{slots:e,attrs:t}){let r=q(null),n=J(()=>mr(r)),s=kv(),i=KA(rg,null),o=q(s===!0||i==null?Vv(r.value):i.resolveTarget()),a=q(!1);GA(()=>{a.value=!0}),Fe(()=>{s||i!=null&&(o.value=i.resolveTarget())});let c=KA($o,null),l=!1,u=ha();return oe(r,()=>{if(l||!c)return;let f=cA(r);f&&(Ue(c.register(f),u),l=!0)}),Ue(()=>{var f,B;let g=(f=n.value)==null?void 0:f.getElementById("headlessui-portal-root");g&&o.value===g&&o.value.children.length<=0&&((B=o.value.parentElement)==null||B.removeChild(o.value))}),()=>{if(!a.value||o.value===null)return null;let f={ref:r,"data-headlessui-portal":""};return NA(jd,{to:o.value},he({ourProps:f,theirProps:A,slot:{},attrs:t,slots:e,name:"Portal"}))}}}),$o=Symbol("PortalParentContext");function $v(){let A=KA($o,null),e=q([]);function t(s){return e.value.push(s),A&&A.register(s),()=>r(s)}function r(s){let i=e.value.indexOf(s);i!==-1&&e.value.splice(i,1),A&&A.unregister(s)}let n={register:t,unregister:r,portals:e};return[e,_A({name:"PortalWrapper",setup(s,{slots:i}){return ue($o,n),()=>{var o;return(o=i.default)==null?void 0:o.call(i)}}})]}let rg=Symbol("PortalGroupContext"),Jv=_A({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(A,{attrs:e,slots:t}){let r=Ur({resolveTarget(){return A.target}});return ue(rg,r),()=>{let{target:n,...s}=A;return he({theirProps:s,ourProps:{},slot:{},attrs:e,slots:t,name:"PortalGroup"})}}});var Wv=(A=>(A[A.Open=0]="Open",A[A.Closed=1]="Closed",A))(Wv||{});let Jo=Symbol("DialogContext");function Sa(A){let e=KA(Jo,null);if(e===null){let t=new Error(`<${A} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Sa),t}return e}let es="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Yv=_A({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:es},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:A=>!0},setup(A,{emit:e,attrs:t,slots:r,expose:n}){var s,i;let o=(s=A.id)!=null?s:`headlessui-dialog-${Zt()}`,a=q(!1);GA(()=>{a.value=!0});let c=!1,l=J(()=>A.role==="dialog"||A.role==="alertdialog"?A.role:(c||(c=!0,console.warn(`Invalid role [${l}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),u=q(0),f=Bi(),B=J(()=>A.open===es&&f!==null?(f.value&qA.Open)===qA.Open:A.open),g=q(null),h=J(()=>mr(g));if(n({el:g,$el:g}),!(A.open!==es||f!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof B.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${B.value===es?void 0:A.open}`);let U=J(()=>a.value&&B.value?0:1),w=J(()=>U.value===0),C=J(()=>u.value>1),F=KA(Jo,null)!==null,[y,E]=$v(),{resolveContainers:Q,mainTreeNodeRef:L,MainTreeNode:v}=Rv({portals:y,defaultContainers:[J(()=>{var nA;return(nA=tA.panelRef.value)!=null?nA:g.value})]}),b=J(()=>C.value?"parent":"leaf"),O=J(()=>f!==null?(f.value&qA.Closing)===qA.Closing:!1),j=J(()=>F||O.value?!1:w.value),T=J(()=>{var nA,sA,QA;return(QA=Array.from((sA=(nA=h.value)==null?void 0:nA.querySelectorAll("body > *"))!=null?sA:[]).find(yA=>yA.id==="headlessui-portal-root"?!1:yA.contains(cA(L))&&yA instanceof HTMLElement))!=null?QA:null});jc(T,j);let P=J(()=>C.value?!0:w.value),aA=J(()=>{var nA,sA,QA;return(QA=Array.from((sA=(nA=h.value)==null?void 0:nA.querySelectorAll("[data-headlessui-portal]"))!=null?sA:[]).find(yA=>yA.contains(cA(L))&&yA instanceof HTMLElement))!=null?QA:null});jc(aA,P),Nv({type:"Dialog",enabled:J(()=>U.value===0),element:g,onUpdate:(nA,sA)=>{if(sA==="Dialog")return ZA(nA,{[Xo.Add]:()=>u.value+=1,[Xo.Remove]:()=>u.value-=1})}});let gA=Gv({name:"DialogDescription",slot:J(()=>({open:B.value}))}),W=q(null),tA={titleId:W,panelRef:q(null),dialogState:U,setTitleId(nA){W.value!==nA&&(W.value=nA)},close(){e("close",!1)}};ue(Jo,tA);let lA=J(()=>!(!w.value||C.value));GB(Q,(nA,sA)=>{tA.close(),Te(()=>sA==null?void 0:sA.focus())},lA);let TA=J(()=>!(C.value||U.value!==0));ZB((i=h.value)==null?void 0:i.defaultView,"keydown",nA=>{TA.value&&(nA.defaultPrevented||nA.key===VA.Escape&&(nA.preventDefault(),nA.stopPropagation(),tA.close()))});let MA=J(()=>!(O.value||U.value!==0||F));return Ov(h,MA,nA=>{var sA;return{containers:[...(sA=nA.containers)!=null?sA:[],Q]}}),Fe(nA=>{if(U.value!==0)return;let sA=cA(g);if(!sA)return;let QA=new ResizeObserver(yA=>{for(let JA of yA){let UA=JA.target.getBoundingClientRect();UA.x===0&&UA.y===0&&UA.width===0&&UA.height===0&&tA.close()}});QA.observe(sA),nA(()=>QA.disconnect())}),()=>{let{open:nA,initialFocus:sA,...QA}=A,yA={...t,ref:g,id:o,role:l.value,"aria-modal":U.value===0?!0:void 0,"aria-labelledby":W.value,"aria-describedby":gA.value},JA={open:U.value===0};return NA(Zc,{force:!0},()=>[NA(Xv,()=>NA(Jv,{target:g.value},()=>NA(Zc,{force:!1},()=>NA(Kr,{initialFocus:sA,containers:Q,features:w.value?ZA(b.value,{parent:Kr.features.RestoreFocus,leaf:Kr.features.All&~Kr.features.FocusLock}):Kr.features.None},()=>NA(E,{},()=>he({ourProps:yA,theirProps:{...QA,...t},slot:JA,attrs:t,slots:r,visible:U.value===0,features:Cr.RenderStrategy|Cr.Static,name:"Dialog"})))))),NA(v)])}}}),jv=_A({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-dialog-panel-${Zt()}`,i=Sa("DialogPanel");r({el:i.panelRef,$el:i.panelRef});function o(a){a.stopPropagation()}return()=>{let{...a}=A,c={id:s,ref:i.panelRef,onClick:o};return he({ourProps:c,theirProps:a,slot:{open:i.dialogState.value===0},attrs:e,slots:t,name:"DialogPanel"})}}}),Zv=_A({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t}){var r;let n=(r=A.id)!=null?r:`headlessui-dialog-title-${Zt()}`,s=Sa("DialogTitle");return GA(()=>{s.setTitleId(n),Ue(()=>s.setTitleId(null))}),()=>{let{...i}=A;return he({ourProps:{id:n},theirProps:i,slot:{open:s.dialogState.value===0},attrs:e,slots:t,name:"DialogTitle"})}}}),zc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function qc(A){var e,t;let r=(e=A.innerText)!=null?e:"",n=A.cloneNode(!0);if(!(n instanceof HTMLElement))return r;let s=!1;for(let o of n.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))o.remove(),s=!0;let i=s?(t=n.innerText)!=null?t:"":r;return zc.test(i)&&(i=i.replace(zc,"")),i}function zv(A){let e=A.getAttribute("aria-label");if(typeof e=="string")return e.trim();let t=A.getAttribute("aria-labelledby");if(t){let r=t.split(" ").map(n=>{let s=document.getElementById(n);if(s){let i=s.getAttribute("aria-label");return typeof i=="string"?i.trim():qc(s).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return qc(A).trim()}function qv(A){let e=q(""),t=q("");return()=>{let r=cA(A);if(!r)return"";let n=r.innerText;if(e.value===n)return t.value;let s=zv(r).trim().toLowerCase();return e.value=n,t.value=s,s}}function Am(A,e){return A===e}var em=(A=>(A[A.Open=0]="Open",A[A.Closed=1]="Closed",A))(em||{}),tm=(A=>(A[A.Single=0]="Single",A[A.Multi=1]="Multi",A))(tm||{}),rm=(A=>(A[A.Pointer=0]="Pointer",A[A.Other=1]="Other",A))(rm||{});function nm(A){requestAnimationFrame(()=>requestAnimationFrame(A))}let ng=Symbol("ListboxContext");function gi(A){let e=KA(ng,null);if(e===null){let t=new Error(`<${A} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,gi),t}return e}let sm=_A({name:"Listbox",emits:{"update:modelValue":A=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Am},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(A,{slots:e,attrs:t,emit:r}){let n=q(1),s=q(null),i=q(null),o=q(null),a=q([]),c=q(""),l=q(null),u=q(1);function f(F=y=>y){let y=l.value!==null?a.value[l.value]:null,E=MB(F(a.value.slice()),L=>cA(L.dataRef.domRef)),Q=y?E.indexOf(y):null;return Q===-1&&(Q=null),{options:E,activeOptionIndex:Q}}let B=J(()=>A.multiple?1:0),[g,h]=sv(J(()=>A.modelValue),F=>r("update:modelValue",F),J(()=>A.defaultValue)),U=J(()=>g.value===void 0?ZA(B.value,{1:[],0:void 0}):g.value),w={listboxState:n,value:U,mode:B,compare(F,y){if(typeof A.by=="string"){let E=A.by;return(F==null?void 0:F[E])===(y==null?void 0:y[E])}return A.by(F,y)},orientation:J(()=>A.horizontal?"horizontal":"vertical"),labelRef:s,buttonRef:i,optionsRef:o,disabled:J(()=>A.disabled),options:a,searchQuery:c,activeOptionIndex:l,activationTrigger:u,closeListbox(){A.disabled||n.value!==1&&(n.value=1,l.value=null)},openListbox(){A.disabled||n.value!==0&&(n.value=0)},goToOption(F,y,E){if(A.disabled||n.value===1)return;let Q=f(),L=Ev(F===ce.Specific?{focus:ce.Specific,id:y}:{focus:F},{resolveItems:()=>Q.options,resolveActiveIndex:()=>Q.activeOptionIndex,resolveId:v=>v.id,resolveDisabled:v=>v.dataRef.disabled});c.value="",l.value=L,u.value=E??1,a.value=Q.options},search(F){if(A.disabled||n.value===1)return;let y=c.value!==""?0:1;c.value+=F.toLowerCase();let E=(l.value!==null?a.value.slice(l.value+y).concat(a.value.slice(0,l.value+y)):a.value).find(L=>L.dataRef.textValue.startsWith(c.value)&&!L.dataRef.disabled),Q=E?a.value.indexOf(E):-1;Q===-1||Q===l.value||(l.value=Q,u.value=1)},clearSearch(){A.disabled||n.value!==1&&c.value!==""&&(c.value="")},registerOption(F,y){let E=f(Q=>[...Q,{id:F,dataRef:y}]);a.value=E.options,l.value=E.activeOptionIndex},unregisterOption(F){let y=f(E=>{let Q=E.findIndex(L=>L.id===F);return Q!==-1&&E.splice(Q,1),E});a.value=y.options,l.value=y.activeOptionIndex,u.value=1},theirOnChange(F){A.disabled||h(F)},select(F){A.disabled||h(ZA(B.value,{0:()=>F,1:()=>{let y=rA(w.value.value).slice(),E=rA(F),Q=y.findIndex(L=>w.compare(E,rA(L)));return Q===-1?y.push(E):y.splice(Q,1),y}}))}};GB([i,o],(F,y)=>{var E;w.closeListbox(),kB(y,Ia.Loose)||(F.preventDefault(),(E=cA(i))==null||E.focus())},J(()=>n.value===0)),ue(ng,w),JB(J(()=>ZA(n.value,{0:qA.Open,1:qA.Closed})));let C=J(()=>{var F;return(F=cA(i))==null?void 0:F.closest("form")});return GA(()=>{oe([C],()=>{if(!C.value||A.defaultValue===void 0)return;function F(){w.theirOnChange(A.defaultValue)}return C.value.addEventListener("reset",F),()=>{var y;(y=C.value)==null||y.removeEventListener("reset",F)}},{immediate:!0})}),()=>{let{name:F,modelValue:y,disabled:E,form:Q,...L}=A,v={open:n.value===0,disabled:E,value:U.value};return NA(re,[...F!=null&&U.value!=null?WB({[F]:U.value}).map(([b,O])=>NA(_s,Cv({features:gn.Hidden,key:b,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:Q,name:b,value:O}))):[],he({ourProps:{},theirProps:{...t,...xa(L,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:v,slots:e,attrs:t,name:"Listbox"})])}}}),im=_A({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-button-${Zt()}`,i=gi("ListboxButton");r({el:i.buttonRef,$el:i.buttonRef});function o(u){switch(u.key){case VA.Space:case VA.Enter:case VA.ArrowDown:u.preventDefault(),i.openListbox(),Te(()=>{var f;(f=cA(i.optionsRef))==null||f.focus({preventScroll:!0}),i.value.value||i.goToOption(ce.First)});break;case VA.ArrowUp:u.preventDefault(),i.openListbox(),Te(()=>{var f;(f=cA(i.optionsRef))==null||f.focus({preventScroll:!0}),i.value.value||i.goToOption(ce.Last)});break}}function a(u){switch(u.key){case VA.Space:u.preventDefault();break}}function c(u){i.disabled.value||(i.listboxState.value===0?(i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})})):(u.preventDefault(),i.openListbox(),nm(()=>{var f;return(f=cA(i.optionsRef))==null?void 0:f.focus({preventScroll:!0})})))}let l=wv(J(()=>({as:A.as,type:e.type})),i.buttonRef);return()=>{var u,f;let B={open:i.listboxState.value===0,disabled:i.disabled.value,value:i.value.value},{...g}=A,h={ref:i.buttonRef,id:s,type:l.value,"aria-haspopup":"listbox","aria-controls":(u=cA(i.optionsRef))==null?void 0:u.id,"aria-expanded":i.listboxState.value===0,"aria-labelledby":i.labelRef.value?[(f=cA(i.labelRef))==null?void 0:f.id,s].join(" "):void 0,disabled:i.disabled.value===!0?!0:void 0,onKeydown:o,onKeyup:a,onClick:c};return he({ourProps:h,theirProps:g,slot:B,attrs:e,slots:t,name:"ListboxButton"})}}}),om=_A({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(A,{attrs:e,slots:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-options-${Zt()}`,i=gi("ListboxOptions"),o=q(null);r({el:i.optionsRef,$el:i.optionsRef});function a(u){switch(o.value&&clearTimeout(o.value),u.key){case VA.Space:if(i.searchQuery.value!=="")return u.preventDefault(),u.stopPropagation(),i.search(u.key);case VA.Enter:if(u.preventDefault(),u.stopPropagation(),i.activeOptionIndex.value!==null){let f=i.options.value[i.activeOptionIndex.value];i.select(f.dataRef.value)}i.mode.value===0&&(i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})}));break;case ZA(i.orientation.value,{vertical:VA.ArrowDown,horizontal:VA.ArrowRight}):return u.preventDefault(),u.stopPropagation(),i.goToOption(ce.Next);case ZA(i.orientation.value,{vertical:VA.ArrowUp,horizontal:VA.ArrowLeft}):return u.preventDefault(),u.stopPropagation(),i.goToOption(ce.Previous);case VA.Home:case VA.PageUp:return u.preventDefault(),u.stopPropagation(),i.goToOption(ce.First);case VA.End:case VA.PageDown:return u.preventDefault(),u.stopPropagation(),i.goToOption(ce.Last);case VA.Escape:u.preventDefault(),u.stopPropagation(),i.closeListbox(),Te(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})});break;case VA.Tab:u.preventDefault(),u.stopPropagation();break;default:u.key.length===1&&(i.search(u.key),o.value=setTimeout(()=>i.clearSearch(),350));break}}let c=Bi(),l=J(()=>c!==null?(c.value&qA.Open)===qA.Open:i.listboxState.value===0);return()=>{var u,f;let B={open:i.listboxState.value===0},{...g}=A,h={"aria-activedescendant":i.activeOptionIndex.value===null||(u=i.options.value[i.activeOptionIndex.value])==null?void 0:u.id,"aria-multiselectable":i.mode.value===1?!0:void 0,"aria-labelledby":(f=cA(i.buttonRef))==null?void 0:f.id,"aria-orientation":i.orientation.value,id:s,onKeydown:a,role:"listbox",tabIndex:0,ref:i.optionsRef};return he({ourProps:h,theirProps:g,slot:B,attrs:e,slots:t,features:Cr.RenderStrategy|Cr.Static,visible:l.value,name:"ListboxOptions"})}}}),am=_A({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(A,{slots:e,attrs:t,expose:r}){var n;let s=(n=A.id)!=null?n:`headlessui-listbox-option-${Zt()}`,i=gi("ListboxOption"),o=q(null);r({el:o,$el:o});let a=J(()=>i.activeOptionIndex.value!==null?i.options.value[i.activeOptionIndex.value].id===s:!1),c=J(()=>ZA(i.mode.value,{0:()=>i.compare(rA(i.value.value),rA(A.value)),1:()=>rA(i.value.value).some(F=>i.compare(rA(F),rA(A.value)))})),l=J(()=>ZA(i.mode.value,{1:()=>{var F;let y=rA(i.value.value);return((F=i.options.value.find(E=>y.some(Q=>i.compare(rA(Q),rA(E.dataRef.value)))))==null?void 0:F.id)===s},0:()=>c.value})),u=qv(o),f=J(()=>({disabled:A.disabled,value:A.value,get textValue(){return u()},domRef:o}));GA(()=>i.registerOption(s,f)),Ue(()=>i.unregisterOption(s)),GA(()=>{oe([i.listboxState,c],()=>{i.listboxState.value===0&&c.value&&ZA(i.mode.value,{1:()=>{l.value&&i.goToOption(ce.Specific,s)},0:()=>{i.goToOption(ce.Specific,s)}})},{immediate:!0})}),Fe(()=>{i.listboxState.value===0&&a.value&&i.activationTrigger.value!==0&&Te(()=>{var F,y;return(y=(F=cA(o))==null?void 0:F.scrollIntoView)==null?void 0:y.call(F,{block:"nearest"})})});function B(F){if(A.disabled)return F.preventDefault();i.select(A.value),i.mode.value===0&&(i.closeListbox(),Te(()=>{var y;return(y=cA(i.buttonRef))==null?void 0:y.focus({preventScroll:!0})}))}function g(){if(A.disabled)return i.goToOption(ce.Nothing);i.goToOption(ce.Specific,s)}let h=Qv();function U(F){h.update(F)}function w(F){h.wasMoved(F)&&(A.disabled||a.value||i.goToOption(ce.Specific,s,0))}function C(F){h.wasMoved(F)&&(A.disabled||a.value&&i.goToOption(ce.Nothing))}return()=>{let{disabled:F}=A,y={active:a.value,selected:c.value,disabled:F},{value:E,disabled:Q,...L}=A,v={id:s,ref:o,role:"option",tabIndex:F===!0?void 0:-1,"aria-disabled":F===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:B,onFocus:g,onPointerenter:U,onMouseenter:U,onPointermove:w,onMousemove:w,onPointerleave:C,onMouseleave:C};return he({ourProps:v,theirProps:L,slot:y,attrs:t,slots:e,name:"ListboxOption"})}}});function lm(A){let e={called:!1};return(...t)=>{if(!e.called)return e.called=!0,A(...t)}}function zi(A,...e){A&&e.length>0&&A.classList.add(...e)}function ts(A,...e){A&&e.length>0&&A.classList.remove(...e)}var Wo=(A=>(A.Finished="finished",A.Cancelled="cancelled",A))(Wo||{});function cm(A,e){let t=Cn();if(!A)return t.dispose;let{transitionDuration:r,transitionDelay:n}=getComputedStyle(A),[s,i]=[r,n].map(o=>{let[a=0]=o.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,l)=>l-c);return a});return s!==0?t.setTimeout(()=>e("finished"),s+i):e("finished"),t.add(()=>e("cancelled")),t.dispose}function Au(A,e,t,r,n,s){let i=Cn(),o=s!==void 0?lm(s):()=>{};return ts(A,...n),zi(A,...e,...t),i.nextFrame(()=>{ts(A,...t),zi(A,...r),i.add(cm(A,a=>(ts(A,...r,...e),zi(A,...n),o(a))))}),i.add(()=>ts(A,...e,...t,...r,...n)),i.add(()=>o("cancelled")),i.dispose}function Kt(A=""){return A.split(/\s+/).filter(e=>e.length>1)}let Ta=Symbol("TransitionContext");var um=(A=>(A.Visible="visible",A.Hidden="hidden",A))(um||{});function fm(){return KA(Ta,null)!==null}function Bm(){let A=KA(Ta,null);if(A===null)throw new Error("A is used but it is missing a parent .");return A}function gm(){let A=KA(Ka,null);if(A===null)throw new Error("A is used but it is missing a parent .");return A}let Ka=Symbol("NestingContext");function di(A){return"children"in A?di(A.children):A.value.filter(({state:e})=>e==="visible").length>0}function sg(A){let e=q([]),t=q(!1);GA(()=>t.value=!0),Ue(()=>t.value=!1);function r(s,i=Ft.Hidden){let o=e.value.findIndex(({id:a})=>a===s);o!==-1&&(ZA(i,{[Ft.Unmount](){e.value.splice(o,1)},[Ft.Hidden](){e.value[o].state="hidden"}}),!di(e)&&t.value&&(A==null||A()))}function n(s){let i=e.value.find(({id:o})=>o===s);return i?i.state!=="visible"&&(i.state="visible"):e.value.push({id:s,state:"visible"}),()=>r(s,Ft.Unmount)}return{children:e,register:n,unregister:r}}let ig=Cr.RenderStrategy,Yo=_A({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(A,{emit:e,attrs:t,slots:r,expose:n}){let s=q(0);function i(){s.value|=qA.Opening,e("beforeEnter")}function o(){s.value&=~qA.Opening,e("afterEnter")}function a(){s.value|=qA.Closing,e("beforeLeave")}function c(){s.value&=~qA.Closing,e("afterLeave")}if(!fm()&&Uv())return()=>NA(og,{...A,onBeforeEnter:i,onAfterEnter:o,onBeforeLeave:a,onAfterLeave:c},r);let l=q(null),u=J(()=>A.unmount?Ft.Unmount:Ft.Hidden);n({el:l,$el:l});let{show:f,appear:B}=Bm(),{register:g,unregister:h}=gm(),U=q(f.value?"visible":"hidden"),w={value:!0},C=Zt(),F={value:!1},y=sg(()=>{!F.value&&U.value!=="hidden"&&(U.value="hidden",h(C),c())});GA(()=>{let P=g(C);Ue(P)}),Fe(()=>{if(u.value===Ft.Hidden&&C){if(f.value&&U.value!=="visible"){U.value="visible";return}ZA(U.value,{hidden:()=>h(C),visible:()=>g(C)})}});let E=Kt(A.enter),Q=Kt(A.enterFrom),L=Kt(A.enterTo),v=Kt(A.entered),b=Kt(A.leave),O=Kt(A.leaveFrom),j=Kt(A.leaveTo);GA(()=>{Fe(()=>{if(U.value==="visible"){let P=cA(l);if(P instanceof Comment&&P.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function T(P){let aA=w.value&&!B.value,gA=cA(l);!gA||!(gA instanceof HTMLElement)||aA||(F.value=!0,f.value&&i(),f.value||a(),P(f.value?Au(gA,E,Q,L,v,W=>{F.value=!1,W===Wo.Finished&&o()}):Au(gA,b,O,j,v,W=>{F.value=!1,W===Wo.Finished&&(di(y)||(U.value="hidden",h(C),c()))})))}return GA(()=>{oe([f],(P,aA,gA)=>{T(gA),w.value=!1},{immediate:!0})}),ue(Ka,y),JB(J(()=>ZA(U.value,{visible:qA.Open,hidden:qA.Closed})|s.value)),()=>{let{appear:P,show:aA,enter:gA,enterFrom:W,enterTo:tA,entered:lA,leave:TA,leaveFrom:MA,leaveTo:nA,...sA}=A,QA={ref:l},yA={...sA,...B.value&&f.value&&Qn.isServer?{class:Ze([t.class,sA.class,...E,...Q])}:{}};return he({theirProps:yA,ourProps:QA,slot:{},slots:r,attrs:t,features:ig,visible:U.value==="visible",name:"TransitionChild"})}}}),dm=Yo,og=_A({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(A,{emit:e,attrs:t,slots:r}){let n=Bi(),s=J(()=>A.show===null&&n!==null?(n.value&qA.Open)===qA.Open:A.show);Fe(()=>{if(![!0,!1].includes(s.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let i=q(s.value?"visible":"hidden"),o=sg(()=>{i.value="hidden"}),a=q(!0),c={show:s,appear:J(()=>A.appear||!a.value)};return GA(()=>{Fe(()=>{a.value=!1,s.value?i.value="visible":di(o)||(i.value="hidden")})}),ue(Ka,o),ue(Ta,c),()=>{let l=xa(A,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),u={unmount:A.unmount};return he({ourProps:{...u,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[NA(dm,{onBeforeEnter:()=>e("beforeEnter"),onAfterEnter:()=>e("afterEnter"),onBeforeLeave:()=>e("beforeLeave"),onAfterLeave:()=>e("afterLeave"),...t,...u,...l},r.default)]},attrs:{},features:ig,visible:i.value==="visible",name:"Transition"})}}});function hm(A,e){return ie(),hr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[uA("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})])}function pm(A,e){return ie(),hr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[uA("path",{"fill-rule":"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z","clip-rule":"evenodd"})])}const wm={class:"block truncate"},Qm={class:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},Cm={key:0,class:"absolute inset-y-0 left-0 flex items-center pl-3 text-amber-500"},jo=_A({__name:"HeadlessSelect",props:{className:{default:""},sourceArr:{},defaultId:{}},emits:["selected"],setup(A,{emit:e}){const t=A,r=t.sourceArr.findIndex(i=>i.id===t.defaultId),n=q(t.sourceArr[r]),s=e;return oe(n,(i,o)=>{s("selected",i)}),(i,o)=>(ie(),hr(bA(sm),{modelValue:n.value,"onUpdate:modelValue":o[0]||(o[0]=a=>n.value=a)},{default:ge(()=>[$("div",{class:Ze(["relative",t.className])},[uA(bA(im),{class:"relative w-full h-10 pl-3 pr-10 text-left bg-white border border-solid rounded-lg cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-900 focus:outline-none focus-visible:border-indigo-500 focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-orange-300 sm:text-sm"},{default:ge(()=>[$("span",wm,ds(n.value.name),1),$("span",Qm,[uA(bA(pm),{class:"w-5 h-5 text-gray-400","aria-hidden":"true"})])]),_:1}),uA(pa,{"leave-active-class":"transition duration-100 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:ge(()=>[uA(bA(om),{style:{"z-index":"100"},class:"absolute w-full py-1 mt-1 overflow-auto text-base bg-white rounded-md shadow-lg max-h-60 ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:ge(()=>[(ie(!0),Xe(re,null,Hd(i.sourceArr,a=>(ie(),hr(bA(am),{key:`${a.id}`,value:a,as:"template"},{default:ge(({active:c,selected:l})=>[$("li",{class:Ze([c?"bg-amber-100 text-amber-900":"text-gray-900","relative cursor-pointer select-none py-2 pl-10 pr-4"])},[$("span",{class:Ze([l?"font-medium":"font-normal","block truncate"])},ds(a.name),3),l?(ie(),Xe("span",Cm,[uA(bA(hm),{class:"w-5 h-5","aria-hidden":"true"})])):lf("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})],2)]),_:1},8,["modelValue"]))}}),Fm="/assets/zero-CC4bBb9q.gif",Um={class:"z-0 my-4 text-center text-gray-400"},vm={class:"flex flex-row flex-wrap items-center justify-center mt-2 mb-2 text-sm friends"},mm=["href"],Em=["href"],ym=["href"],bm=["href"],Hm=["href"],Im={class:"flex flex-row flex-wrap items-center justify-center w-full text-sm"},xm={class:"mx-3 text-gray-400"},Lm=["href"],Sm=$("br",{class:"show-on-mobile"},null,-1),Tm=["href"],Km=$("img",{class:"zero",src:Fm,alt:"深圳市市场监督管理局企业主体身份公示"},null,-1),_m=_A({__name:"FooterNav",setup(A){const e=q(`Copyright © ${new Date().getFullYear()}`),t=r=>`${r}?ref=nicelinks.site`;return(r,n)=>(ie(),Xe("footer",Um,[$("div",vm,[$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://www.jeffjade.com/"),onClick:n[0]||(n[0]=s=>r.$reortGaEvent("www-jeffjade-com","footer"))},"晚晴幽草轩",8,mm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://quickapp.lovejade.cn/"),onClick:n[1]||(n[1]=s=>r.$reortGaEvent("quickapp-lovejade","footer"))},"静轩之别苑",8,Em),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://fine.niceshare.site/"),onClick:n[2]||(n[2]=s=>r.$reortGaEvent("fine-niceshare-site","footer"))},"缘知随心庭",8,ym),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://forum.lovejade.cn/"),onClick:n[3]||(n[3]=s=>r.$reortGaEvent("forum-lovejade","footer"))},"悠然宜想亭",8,bm),$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",href:t("https://wechat.jeffjade.com/"),onClick:n[4]||(n[4]=s=>r.$reortGaEvent("wechat-jeffjade-com","footer"))},"公众号排版",8,Hm)]),$("div",Im,[$("span",xm,ds(e.value),1),$("a",{target:"_blank",class:"text-gray-400 cursor-pointer hover:text-amber-500",onClick:n[5]||(n[5]=s=>r.$reortGaEvent("jeffjade","footer")),rel:"external noopener",href:t("https://www.jeffjade.com")},"晚晴幽草轩",8,Lm),Zs("出品"),Sm,$("a",{target:"_blank",class:"mx-3 text-gray-400 cursor-pointer hover:text-amber-500",rel:"external noopener",onClick:n[6]||(n[6]=s=>r.$reortGaEvent("beian","footer")),href:t("https://beian.miit.gov.cn/")},"粤ICP备17099767号",8,Tm),Km])]))}}),Dm={},Om={class:"mx-auto w-full h-32 my-4 max-w-[450px] border border-gray-200 flex flex-row items-center bg-white rounded-md shadow-md z-0"},Rm=Ah('

逍遥自在轩

基于 Astro, Starlight, Svelte, Markdown, MDX,TailwindCSS, TypeScript 所构建的个人主页,快速、易用、易于访问、高度可定制。

',2),km=[Rm];function Mm(A,e){return ie(),Xe("div",Om,[$("a",{class:"flex flex-row items-center justify-between w-full h-full px-4 py-4",href:"https://niceshare.site/?ref=share.lovejade.cn",onClick:e[0]||(e[0]=t=>A.$reortGaEvent("recommand","footer")),target:"_blank"},km)])}const Nm=ti(Dm,[["render",Mm]]),Pm=$("div",{class:"fixed inset-0 bg-black bg-opacity-25"},null,-1),Gm={class:"fixed inset-0 overflow-y-auto"},Vm={class:"flex items-center justify-center min-h-full p-4 text-center"},Xm={class:"flex items-center justify-start flex-auto px-2 py-2 m-4 rounded-md shadow-inner bg-slate-50"},$m={class:"flex flex-col flex-wrap items-center justify-center h-20 mx-2"},Jm=$("p",{class:"pb-2 font-medium text-gray-400"},"FILTERS",-1),Wm=$("canvas",{id:"preview-area",class:"m-auto my-2"},null,-1),Ym=_A({__name:"PreviewDialog",props:{visble:Boolean},emits:["change"],setup(A,{emit:e}){const t=A;let r=null;const n=e,s=q(t.visble),i=[{name:"Golden",id:"golden"},{name:"Seagreen",id:"seagreen"},{name:"Islands",id:"islands"},{name:"Twenties",id:"twenties"},{name:"Radio",id:"radio"},{name:"Bluechrome",id:"bluechrome"},{name:"Obsidian",id:"obsidian"},{name:"Vintage",id:"vintage"},{name:"Pastel Pink",id:"pastel pink"}];oe(()=>t.visble,B=>{s.value=B,B&&Lf(()=>import("./photon_rs-C04jA1Ux.js"),__vite__mapDeps([])).then(g=>{r=g,c(i[0].id)})});function o(){s.value=!1,n("change",!1)}function a(){return new Promise((B,g)=>{const h=document.getElementById("container");Go(h).then(U=>{const w=U.toDataURL("image/png"),C=new Image;C.src=w,C.onload=()=>{B(C)}})})}const c=async B=>{const g=await a(),h={width:g.width,height:g.height},{canvas:U,ctx:w,image:C}=l(g,h);r.filter(C,B),r.putImageData(U,w,C)};function l(B,g){const h=document.getElementById("preview-area"),U=h.getContext("2d");h.width=g.width/2,h.height=g.height/2,U.drawImage(B,0,0,g.width/2,g.height/2);const w=r.open_image(h,U);return{canvas:h,ctx:U,image:w}}function u(B){c(B.id)}const f=async B=>{const g=await a(),h={width:g.width,height:g.height},{canvas:U,ctx:w,image:C}=l(g,h);r[B](C),r.putImageData(U,w,C)};return(B,g)=>(ie(),hr(bA(og),{appear:"",show:s.value,as:"template"},{default:ge(()=>[uA(bA(Yv),{as:"div",onClose:o,class:"relative z-10"},{default:ge(()=>[uA(bA(Yo),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100","leave-to":"opacity-0"},{default:ge(()=>[Pm]),_:1}),$("div",Gm,[$("div",Vm,[uA(bA(Yo),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:ge(()=>[uA(bA(jv),{class:"w-full max-w-4xl p-6 overflow-hidden text-left align-middle transition-all transform bg-white shadow-xl rounded-2xl"},{default:ge(()=>[uA(bA(Zv),{as:"h3",class:"text-lg font-medium leading-6 text-gray-900"},{default:ge(()=>[Zs(" 效果预览 ")]),_:1}),$("div",Xm,[$("div",$m,[Jm,uA(jo,{className:"w-36",sourceArr:i,defaultId:i[0].id,onSelected:u},null,8,["defaultId"])]),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[0]||(g[0]=h=>f("emboss"))}," EMBOSS "),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[1]||(g[1]=h=>f("grayscale"))}," GRAYSCALE "),$("button",{class:"block h-12 p-2 m-2 border border-gray-300 rounded-md w-36 hover:bg-gray-50",onClick:g[2]||(g[2]=h=>f("colorize"))}," COLORIZE ")]),Wm]),_:1})]),_:1})])])]),_:1})]),_:1},8,["show"]))}}),eu="current-content",tu="is-with-date",ru="current-theme",nu="current-size",Zo=[{name:"元气",id:"vitality"},{name:"便签",id:"note"},{name:"古风",id:"antiquity"},{name:"经典",id:"classic"},{name:"暗黑",id:"dark"},{name:"纸屑",id:"bbburst"},{name:"渐变",id:"gradient"},{name:"公务",id:"official"},{name:"芒黄",id:"yellow"}],su=[{name:"电脑端",id:"laptop",style:"width: 50rem; padding: 3rem;"},{name:"移动端",id:"mobile",style:"width: 20rem; padding: 1rem;"},{name:"平板端",id:"tablet",style:"width: 37.5rem; padding: 2rem;"},{name:"超级屏",id:"desktop",style:"width: 60rem; padding: 3rem;"}],jm=`[玉桃文飨轩](https://share.lovejade.cn/),简单好用的在线文本工具;支持将 Markdown、rich text、word 等格式内容,快速转化为 png、pdf、html、PPT 等文件,并支持一键下载、社交分享、自定义设置等功能。 ## 如何使用? 在 Foucs 状态,输入您的内容(支持 \`Markdown\` 格式);在 Blur 状态,查看预览效果;点击「保存图片」,即可将内容生成图片并下载至本地。 -`,Jm=Zh({id:"content",state:()=>{const A=window.innerWidth>=960?"laptop":"mobile";return{isWithDate:!!localStorage.getItem(tu),content:localStorage.getItem(eu)||$m,currentTheme:localStorage.getItem(ru)||Zo[0].id,currentSize:localStorage.getItem(nu)||A}},getters:{},actions:{updateContent(A){!A||A==="undefined"||(this.content=A,localStorage.setItem(eu,A))},updateWithDate(A){this.isWithDate=A,localStorage.setItem(tu,A?"1":"")},updateCurrentTheme(A){this.currentTheme=A,localStorage.setItem(ru,A)},updateCurrentSize(A){this.currentSize=A,localStorage.setItem(nu,A)}}}),Wm=A=>new Promise(e=>setTimeout(e,A||1e3)),Ym=A=>{const e="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678";let t="";const r=new Array(A);return Array.from(r).map(()=>t+=e[Math.floor(Math.random()*e.length)]),t},jm=()=>{const A=new Date,e=A.getFullYear().toString().replace("20",""),t=A.getMonth().toString().padStart(2,"0"),r=A.getDate().toString().padStart(2,"0"),n=Ym(4);return[e,t,r,n].join("-")};function Zm(A){const e=document.createElement("a");e.href=A.toDataURL("image/png"),e.download=jm()+".png",e.click()}function zm(A){A.toBlob(e=>{const t=new ClipboardItem({"image/png":e});navigator.clipboard.write([t]).then(()=>{console.log("Image copied to clipboard")}).catch(r=>{console.error("Could not copy image to clipboard: ",r)})},"image/png")}function qm(){const A=new Date,e=A.getFullYear(),t=`${A.getMonth()+1}`,r=`${A.getDate()}`;return[e,t.padStart(2,0),r.padStart(2,0)].join("-")}const Er=A=>(Nu("data-v-f3ff4a14"),A=A(),Pu(),A),AE={key:0,class:"bg"},eE={class:"flex flex-col items-center w-full px-4 py-4 mx-auto my-4 bg-white rounded-md shadow-lg operate-area"},tE={class:"flex flex-wrap justify-between w-full space-x-6 item-center"},rE={class:"flex justify-between flex-auto mobile-adjust"},nE={class:"flex flex-col items-center justify-between h-20"},sE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"选择主题",-1)),iE={class:"flex flex-col items-center justify-between h-20 select-zize"},oE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"选择尺寸",-1)),aE={class:"flex flex-col items-center justify-between w-24 h-20"},lE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"日期",-1)),cE={id:"toast-success",class:"fixed flex items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow top-10",role:"alert"},uE=Er(()=>$("div",{class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg"},[$("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[$("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z"})])],-1)),fE={class:"text-sm font-normal ms-3"},BE=Er(()=>$("span",{class:"sr-only"},"Close",-1)),gE=Er(()=>$("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[$("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)),dE=[BE,gE],hE=_A({__name:"Home",setup(A){const e=Jm();let{currentSize:t,currentTheme:r}=zh(e);const n=q(null);let s=q(!1),i=q(null);const{proxy:o}=ha();ie(i,async()=>{await Wm(5e3),i.value=null}),GA(()=>{u(),l(),B()});const a=J(()=>su.filter(v=>v.id===t.value)[0]),c=J(()=>Zo.filter(v=>v.id===r.value)[0]);function l(){if(!n.value)return;let v=document.getElementById("date-time");if(v)return v.remove();e.isWithDate&&n.value.innerHTML&&(v=`

`,n.value.innerHTML+=v)}function u(){n.value.innerHTML=mw(e.content,{breaks:!0})}function f(){n.value.innerText=e.content}function B(){const v=document.querySelector("#editor");v==null||v.addEventListener("paste",b=>{let j=(b.clipboardData||(b==null?void 0:b.dataTransfer)).getData("text/plain");j=j.replaceAll(` -`,"
");const T=window.getSelection();if(!(T!=null&&T.rangeCount))return!1;T.deleteFromDocument(),document.execCommand("insertHTML",!1,j),b.preventDefault()})}function g(v){e.updateWithDate(v),l()}function h(v){e.updateCurrentTheme(v.id),o.$reortGaEvent("item","main")}function U(v){e.updateCurrentSize(v.id),o.$reortGaEvent("size","main")}function w(){f(),o.$reortGaEvent("focus","main")}function C(){e.updateContent(n.value.innerText),u(),l(),o.$reortGaEvent("blur","main")}function F(){o.$reortGaEvent("save-img","main");const v=document.getElementById("container");Go(v).then(b=>{Zm(b),i.value="已成功为你保存图片"})}function y(){i.value=null}function E(){s.value=!0}function Q(){o.$reortGaEvent("save-img","main");const v=document.getElementById("container");Go(v).then(b=>{zm(b),i.value="已复制图片至您的剪切板"})}function L(v){s.value=v}return(v,b)=>(ce(),At(re,null,[$("div",{id:"container",ref:"container",class:je(["container my-4",`${c.value.id}-box`]),style:Ms(a.value.style)},[c.value.id==="official"?(ce(),At("div",AE)):lf("",!0),$("div",{class:je(["content",c.value.id])},[$("div",{id:"editor",ref_key:"editor",ref:n,onBlur:C,onFocus:w,class:"editor markdown",contenteditable:"true"},null,544)],2)],6),$("div",eE,[$("div",tE,[$("div",rE,[$("div",nE,[sE,uA(jo,{className:"w-24",sourceArr:bA(Zo),defaultId:bA(r),onSelected:h},null,8,["sourceArr","defaultId"])]),$("div",iE,[oE,uA(jo,{className:"w-28",sourceArr:bA(su),defaultId:bA(t),onSelected:U},null,8,["sourceArr","defaultId"])]),$("div",aE,[lE,uA(Av,{state:bA(e).isWithDate,onCheck:g,class:"block"},null,8,["state"])])])]),$("div",{class:"flex flex-row items-center w-full px-4 py-4 space-x-6 md:space-x-0 md:space-y-6 md:flex-col justify-evenly",role:"group"},[$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:E}," 预览图片 "),$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:Q}," 复制图片 "),$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:F}," 保存图片 ")]),Xu($("div",cE,[uE,$("div",fE,ds(bA(i)),1),$("button",{type:"button",onClick:y,class:"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8","data-dismiss-target":"#toast-success","aria-label":"Close"},dE)],512),[[Fh,bA(i)]])]),uA(Xm,{visble:bA(s),onChange:L},null,8,["visble"]),uA(Om),uA(Lm)],64))}}),pE=ti(hE,[["__scopeId","data-v-f3ff4a14"]]),wE=qp({history:hp("/"),routes:[{path:"/",name:"home",component:pE},{path:"/about",name:"about",component:()=>Lf(()=>import("./About-BFpPUs8q.js"),__vite__mapDeps([0,1]))}]}),Fn=Nh(fw);Fn.use(Xh());Fn.use(wE);Fn.config.globalProperties.$reortGaEvent=(A,e,t)=>{(window.gtag||(()=>{}))("event",A,{event_category:e,event_label:t||A})};Fn.config.errorHandler=(A,e,t)=>{console.error(A,e,t)};Fn.mount("#app");export{$ as a,At as c,_A as d,ce as o,mw as p,bA as u}; +`,Zm=Zh({id:"content",state:()=>{const A=window.innerWidth>=960?"laptop":"mobile";return{isWithDate:!!localStorage.getItem(tu),content:localStorage.getItem(eu)||jm,currentTheme:localStorage.getItem(ru)||Zo[0].id,currentSize:localStorage.getItem(nu)||A}},getters:{},actions:{updateContent(A){!A||A==="undefined"||(this.content=A,localStorage.setItem(eu,A))},updateWithDate(A){this.isWithDate=A,localStorage.setItem(tu,A?"1":"")},updateCurrentTheme(A){this.currentTheme=A,localStorage.setItem(ru,A)},updateCurrentSize(A){this.currentSize=A,localStorage.setItem(nu,A)}}}),zm=A=>new Promise(e=>setTimeout(e,A||1e3)),qm=A=>{const e="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678";let t="";const r=new Array(A);return Array.from(r).map(()=>t+=e[Math.floor(Math.random()*e.length)]),t},AE=()=>{const A=new Date,e=A.getFullYear().toString().replace("20",""),t=A.getMonth().toString().padStart(2,"0"),r=A.getDate().toString().padStart(2,"0"),n=qm(4);return[e,t,r,n].join("-")};function eE(A){const e=document.createElement("a");e.href=A.toDataURL("image/png"),e.download=AE()+".png",e.click()}function tE(A){A.toBlob(e=>{const t=new ClipboardItem({"image/png":e});navigator.clipboard.write([t]).then(()=>{console.log("Image copied to clipboard")}).catch(r=>{console.error("Could not copy image to clipboard: ",r)})},"image/png")}function rE(){const A=new Date,e=A.getFullYear(),t=`${A.getMonth()+1}`,r=`${A.getDate()}`;return[e,t.padStart(2,0),r.padStart(2,0)].join("-")}const Er=A=>(Nu("data-v-f3ff4a14"),A=A(),Pu(),A),nE={key:0,class:"bg"},sE={class:"flex flex-col items-center w-full px-4 py-4 mx-auto my-4 bg-white rounded-md shadow-lg operate-area"},iE={class:"flex flex-wrap justify-between w-full space-x-6 item-center"},oE={class:"flex justify-between flex-auto mobile-adjust"},aE={class:"flex flex-col items-center justify-between h-20"},lE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"选择主题",-1)),cE={class:"flex flex-col items-center justify-between h-20 select-zize"},uE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"选择尺寸",-1)),fE={class:"flex flex-col items-center justify-between w-24 h-20"},BE=Er(()=>$("p",{class:"pb-2 font-medium text-gray-400"},"日期",-1)),gE={id:"toast-success",class:"fixed flex items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow top-10",role:"alert"},dE=Er(()=>$("div",{class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg"},[$("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[$("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z"})])],-1)),hE={class:"text-sm font-normal ms-3"},pE=Er(()=>$("span",{class:"sr-only"},"Close",-1)),wE=Er(()=>$("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[$("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)),QE=[pE,wE],CE=_A({__name:"Home",setup(A){const e=Zm();let{currentSize:t,currentTheme:r}=zh(e);const n=q(null);let s=q(!1),i=q(null);const{proxy:o}=ha();oe(i,async()=>{await zm(5e3),i.value=null}),GA(()=>{u(),l(),B()});const a=J(()=>su.filter(v=>v.id===t.value)[0]),c=J(()=>Zo.filter(v=>v.id===r.value)[0]);function l(){if(!n.value)return;let v=document.getElementById("date-time");if(v)return v.remove();e.isWithDate&&n.value.innerHTML&&(v=`

`,n.value.innerHTML+=v)}function u(){n.value.innerHTML=Hw(e.content,{breaks:!0})}function f(){n.value.innerText=e.content}function B(){const v=document.querySelector("#editor");v==null||v.addEventListener("paste",b=>{let j=(b.clipboardData||(b==null?void 0:b.dataTransfer)).getData("text/plain");j=j.replaceAll(` +`,"
");const T=window.getSelection();if(!(T!=null&&T.rangeCount))return!1;T.deleteFromDocument(),document.execCommand("insertHTML",!1,j),b.preventDefault()})}function g(v){e.updateWithDate(v),l()}function h(v){e.updateCurrentTheme(v.id),o.$reortGaEvent("item","main")}function U(v){e.updateCurrentSize(v.id),o.$reortGaEvent("size","main")}function w(){f(),o.$reortGaEvent("focus","main")}function C(){e.updateContent(n.value.innerText),u(),l(),o.$reortGaEvent("blur","main")}function F(){o.$reortGaEvent("save-img","main");const v=document.getElementById("container");Go(v).then(b=>{eE(b),i.value="已成功为你保存图片"})}function y(){i.value=null}function E(){s.value=!0}function Q(){o.$reortGaEvent("save-img","main");const v=document.getElementById("container");Go(v).then(b=>{tE(b),i.value="已复制图片至您的剪切板"})}function L(v){s.value=v}return(v,b)=>(ie(),Xe(re,null,[$("div",{id:"container",ref:"container",class:Ze(["container my-4",`${c.value.id}-box`]),style:Ms(a.value.style)},[c.value.id==="official"?(ie(),Xe("div",nE)):lf("",!0),$("div",{class:Ze(["content",c.value.id])},[$("div",{id:"editor",ref_key:"editor",ref:n,onBlur:C,onFocus:w,class:"editor markdown",contenteditable:"true"},null,544)],2)],6),$("div",sE,[$("div",iE,[$("div",oE,[$("div",aE,[lE,uA(jo,{className:"w-24",sourceArr:bA(Zo),defaultId:bA(r),onSelected:h},null,8,["sourceArr","defaultId"])]),$("div",cE,[uE,uA(jo,{className:"w-28",sourceArr:bA(su),defaultId:bA(t),onSelected:U},null,8,["sourceArr","defaultId"])]),$("div",fE,[BE,uA(nv,{state:bA(e).isWithDate,onCheck:g,class:"block"},null,8,["state"])])])]),$("div",{class:"flex flex-row items-center w-full px-4 py-4 space-x-6 md:space-x-0 md:space-y-6 md:flex-col justify-evenly",role:"group"},[$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:E}," 预览图片 "),$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:Q}," 复制图片 "),$("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 border border-gray-300 rounded-md md:w-full",onClick:F}," 保存图片 ")]),Xu($("div",gE,[dE,$("div",hE,ds(bA(i)),1),$("button",{type:"button",onClick:y,class:"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8","data-dismiss-target":"#toast-success","aria-label":"Close"},QE)],512),[[Fh,bA(i)]])]),uA(Ym,{visble:bA(s),onChange:L},null,8,["visble"]),uA(Nm),uA(_m)],64))}}),FE=ti(CE,[["__scopeId","data-v-f3ff4a14"]]),UE=qp({history:hp("/"),routes:[{path:"/",name:"home",component:FE},{path:"/about",name:"about",component:()=>Lf(()=>import("./About-GB6F-gNe.js"),__vite__mapDeps([0,1]))}]}),Fn=Nh(hw);Fn.use(Xh());Fn.use(UE);Fn.config.globalProperties.$reortGaEvent=(A,e,t)=>{(window.gtag||(()=>{}))("event",A,{event_category:e,event_label:t||A})};Fn.config.errorHandler=(A,e,t)=>{console.error(A,e,t)};Fn.mount("#app");export{$ as a,Xe as c,_A as d,ie as o,Hw as p,bA as u}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/About-BFpPUs8q.js","assets/About-CxK8kti1.css"] + __vite__mapDeps.viteFileDeps = ["assets/About-GB6F-gNe.js","assets/About-CxK8kti1.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/index.html b/index.html index fc4c0d0..431cba6 100644 --- a/index.html +++ b/index.html @@ -51,8 +51,8 @@ async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" > - - + +