diff --git a/assets/About-GB6F-gNe.js b/assets/About-CiiY6ksi.js similarity index 65% rename from assets/About-GB6F-gNe.js rename to assets/About-CiiY6ksi.js index 0a068dd..8a11991 100644 --- a/assets/About-GB6F-gNe.js +++ b/assets/About-CiiY6ksi.js @@ -1,5 +1,5 @@ -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 构建。 +import{d as t,p as a,c as o,a as s,u as c,o as n}from"./index-BBRPxv93.js";const d=` +[玉桃文飨轩🍑](https://share.lovejade.cn/?utm_source=about) ,简单好用的在线文本工具;支持将 [Markdown](https://site.lovejade.cn/tags/Markdown)、Rich Text 等格式内容,快速转化为 png、pdf、html 等文件,并支持自定义设置、一键下载等功能。基于 [Vue3](https://site.lovejade.cn/post/5b1a221c0526c920d6dfaada) 、 [Vite](https://site.lovejade.cn/post/6010e1b10c71de1fb957b64e) 、 [Pinia](https://site.lovejade.cn/post/631813c3c0922e0e572bde81) 、 [TailwindCSS](https://site.lovejade.cn/post/5fd20cb4c06d6302c1907ec7) 、 [TypeScript](https://site.lovejade.cn/post/6278fdeaac00ce3f9b11a8ef) 构建。 ## 诞生初衷 @@ -22,4 +22,4 @@ import{d as a,p as o,c as n,a as s,u as r,o as c}from"./index-COOP5uyC.js";const 早在 [关于“悠然宜想亭”的由来,以及未来](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}; +2023 年 11 月 27 日补录于〔深圳福田〕`,p={id:"about",class:"my-4 w-full max-w-xl"},r=["innerHTML"],m=t({__name:"About",setup(i){let e=a(d,{breaks:!0});return(l,u)=>(n(),o("div",p,[s("div",{class:"markdown",innerHTML:c(e)},null,8,r)]))}});export{m as default}; diff --git a/assets/index-5R3ghjsG.css b/assets/index-B5LsU0kK.css similarity index 90% rename from assets/index-5R3ghjsG.css rename to assets/index-B5LsU0kK.css index fde6d81..019b652 100644 --- a/assets/index-5R3ghjsG.css +++ b/assets/index-B5LsU0kK.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-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))}} +.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-d0a050b2]{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-d0a050b2]{position:relative;width:100%;height:100%;flex:1 1 0%}.container .content .editor[data-v-d0a050b2]{min-height:12rem;padding:1rem;border:none;outline:none}.container .content .editor[data-v-d0a050b2]:hover,.container .content .editor[data-v-d0a050b2]:active{border:none;outline:none}.antiquity-box[data-v-d0a050b2]{background:#e9e7d9 url(/assets/classical-CKkpVjWW.png) repeat 0 0}.antiquity-box .antiquity[data-v-d0a050b2]{position:relative!important;border:3px solid #c02c38;padding:1rem}.classic-box[data-v-d0a050b2],.classic-box .classic[data-v-d0a050b2]{background-color:#f2f2f2}.note-box[data-v-d0a050b2]{background-color:#fffcf5}.note-box .note[data-v-d0a050b2]{border:1px solid #e8e5dc}.note-box .note[data-v-d0a050b2]:before{position:absolute;content:"";inset:3px;border:1px solid #e8e5dc;z-index:0}.dark-box[data-v-d0a050b2]{background-image:linear-gradient(to right,#434343,#000)}.dark-box .dark[data-v-d0a050b2]{background-color:transparent}.dark-box .dark .editor[data-v-d0a050b2]{color:#f2f2f2;background-color:transparent}.bbburst-box[data-v-d0a050b2]{background:url(/assets/bbburst-Dkl5Ltx1.svg);background-size:100%}.bbburst-box .bbburst[data-v-d0a050b2]{background-color:transparent}.bbburst-box .bbburst .editor[data-v-d0a050b2]{background-color:#fffc;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.vitality-box[data-v-d0a050b2]{background:linear-gradient(225deg,#9cccfc 0,#e6cefd 99.54%)}.vitality-box .vitality[data-v-d0a050b2]{background-color:#f2f2f2;border-radius:1rem}.gradient-box[data-v-d0a050b2]{background-image:linear-gradient(to top,#a8edea,#fed6e3)}.gradient-box .gradient[data-v-d0a050b2],.gradient-box .gradient .editor[data-v-d0a050b2]{background-color:transparent}.official-box[data-v-d0a050b2]{position:relative}.official-box[data-v-d0a050b2]:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#04629d 0,#037dcc 49.48%,#0289e0)}.official-box .bg[data-v-d0a050b2]{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-d0a050b2]{color:#f2f2f2;background-color:transparent}.yellow-box[data-v-d0a050b2]{background-image:radial-gradient(circle farthest-side,#fceabb,#f8b500)}.yellow-box .yellow .editor[data-v-d0a050b2]{color:#000;background-color:transparent}.operate-area[data-v-d0a050b2]{width:40rem}.operate-area .mobile-w-full[data-v-d0a050b2]{width:auto}@media (max-width: 960px){.container[data-v-d0a050b2]{width:100%!important}#app .operate-area[data-v-d0a050b2]{width:100%}#app .operate-area .mobile-adjust[data-v-d0a050b2]{padding:0;margin-bottom:1rem}#app .operate-area .mobile-w-full[data-v-d0a050b2]{width:100%;margin-left:0}#app .operate-area .mobile-w-full+.mobile-w-full[data-v-d0a050b2]{margin-top:1rem}#app .operate-area .select-zize[data-v-d0a050b2]{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-BBRPxv93.js b/assets/index-BBRPxv93.js new file mode 100644 index 0000000..432561b --- /dev/null +++ b/assets/index-BBRPxv93.js @@ -0,0 +1,106 @@ +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function t(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerPolicy&&(s.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?s.credentials="include":n.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(n){if(n.ep)return;n.ep=!0;const s=t(n);fetch(n.href,s)}})();/** +* @vue/shared v3.4.18 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ia(A,e){const t=new Set(A.split(","));return e?r=>t.has(r.toLowerCase()):r=>t.has(r)}const IA={},Br=[],He=()=>{},Tg=()=>!1,Ns=A=>A.charCodeAt(0)===111&&A.charCodeAt(1)===110&&(A.charCodeAt(2)>122||A.charCodeAt(2)<97),oa=A=>A.startsWith("onUpdate:"),XA=Object.assign,aa=(A,e)=>{const t=A.indexOf(e);t>-1&&A.splice(t,1)},Kg=Object.prototype.hasOwnProperty,hA=(A,e)=>Kg.call(A,e),q=Array.isArray,gr=A=>pn(A)==="[object Map]",Vs=A=>pn(A)==="[object Set]",Wa=A=>pn(A)==="[object Date]",oA=A=>typeof A=="function",OA=A=>typeof A=="string",It=A=>typeof A=="symbol",EA=A=>A!==null&&typeof A=="object",vu=A=>(EA(A)||oA(A))&&oA(A.then)&&oA(A.catch),Eu=Object.prototype.toString,pn=A=>Eu.call(A),_g=A=>pn(A).slice(8,-1),yu=A=>pn(A)==="[object Object]",la=A=>OA(A)&&A!=="NaN"&&A[0]!=="-"&&""+parseInt(A,10)===A,Wr=ia(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gs=A=>{const e=Object.create(null);return t=>e[t]||(e[t]=A(t))},Dg=/-(\w)/g,Xe=Gs(A=>A.replace(Dg,(e,t)=>t?t.toUpperCase():"")),Rg=/\B([A-Z])/g,vr=Gs(A=>A.replace(Rg,"-$1").toLowerCase()),$s=Gs(A=>A.charAt(0).toUpperCase()+A.slice(1)),mi=Gs(A=>A?`on${$s(A)}`:""),xt=(A,e)=>!Object.is(A,e),os=(A,e)=>{for(let t=0;t{Object.defineProperty(A,e,{configurable:!0,enumerable:!1,value:t})},Og=A=>{const e=parseFloat(A);return isNaN(e)?A:e},kg=A=>{const e=OA(A)?Number(A):NaN;return isNaN(e)?A:e};let Ya;const bu=()=>Ya||(Ya=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xs(A){if(q(A)){const e={};for(let t=0;t{if(t){const r=t.split(Pg);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function qe(A){let e="";if(OA(A))e=A;else if(q(A))for(let t=0;tJs(t,e))}const Qs=A=>OA(A)?A:A==null?"":q(A)||EA(A)&&(A.toString===Eu||!oA(A.toString))?JSON.stringify(A,xu,2):String(A),xu=(A,e)=>e&&e.__v_isRef?xu(A,e.value):gr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[r,n],s)=>(t[vi(r,s)+" =>"]=n,t),{})}:Vs(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>vi(t))}:It(e)?vi(e):EA(e)&&!q(e)&&!yu(e)?String(e):e,vi=(A,e="")=>{var t;return It(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 Fe;class Lu{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Fe,!e&&Fe&&(this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Fe;try{return Fe=this,e()}finally{Fe=t}}}on(){Fe=this}off(){Fe=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),zt()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Et,t=$t;try{return Et=!0,$t=this,this._runnings++,ja(this),this.fn()}finally{Za(this),this._runnings--,$t=t,Et=e}}stop(){var e;this.active&&(ja(this),Za(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function Yg(A){return A.value}function ja(A){A._trackId++,A._depsLength=0}function Za(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},Cs=new WeakMap,Xt=Symbol(""),lo=Symbol("");function de(A,e,t){if(Et&&$t){let r=Cs.get(A);r||Cs.set(A,r=new Map);let n=r.get(t);n||r.set(t,n=Ou(()=>r.delete(t))),Du($t,n)}}function At(A,e,t,r,n,s){const i=Cs.get(A);if(!i)return;let o=[];if(e==="clear")o=[...i.values()];else if(t==="length"&&q(A)){const a=Number(r);i.forEach((c,l)=>{(l==="length"||!It(l)&&l>=a)&&o.push(c)})}else switch(t!==void 0&&o.push(i.get(t)),e){case"add":q(A)?la(t)&&o.push(i.get("length")):(o.push(i.get(Xt)),gr(A)&&o.push(i.get(lo)));break;case"delete":q(A)||(o.push(i.get(Xt)),gr(A)&&o.push(i.get(lo)));break;case"set":gr(A)&&o.push(i.get(Xt));break}ua();for(const a of o)a&&Ru(a,4);fa()}function jg(A,e){var t;return(t=Cs.get(A))==null?void 0:t.get(e)}const Zg=ia("__proto__,__v_isRef,__isVue"),ku=new Set(Object.getOwnPropertyNames(Symbol).filter(A=>A!=="arguments"&&A!=="caller").map(A=>Symbol[A]).filter(It)),za=zg();function zg(){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){Zt(),ua();const r=rA(this)[e].apply(this,t);return fa(),zt(),r}}),A}function qg(A){const e=rA(this);return de(e,"has",A),e.hasOwnProperty(A)}class Mu{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?fh:Gu:s?Vu:Nu).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const i=q(e);if(!n){if(i&&hA(za,t))return Reflect.get(za,t,r);if(t==="hasOwnProperty")return qg}const o=Reflect.get(e,t,r);return(It(t)?ku.has(t):Zg(t))||(n||de(e,"get",t),s)?o:kA(o)?i&&la(t)?o:o.value:EA(o)?n?Xu(o):Er(o):o}}class Pu extends Mu{constructor(e=!1){super(!1,e)}set(e,t,r,n){let s=e[t];if(!this._shallow){const a=pr(s);if(!Fs(r)&&!pr(r)&&(s=rA(s),r=rA(r)),!q(e)&&kA(s)&&!kA(r))return a?!1:(s.value=r,!0)}const i=q(e)&&la(t)?Number(t)A,Ws=A=>Reflect.getPrototypeOf(A);function En(A,e,t=!1,r=!1){A=A.__v_raw;const n=rA(A),s=rA(e);t||(xt(e,s)&&de(n,"get",e),de(n,"get",s));const{has:i}=Ws(n),o=r?Ba:t?da:on;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 yn(A,e=!1){const t=this.__v_raw,r=rA(t),n=rA(A);return e||(xt(A,n)&&de(r,"has",A),de(r,"has",n)),A===n?t.has(A):t.has(A)||t.has(n)}function bn(A,e=!1){return A=A.__v_raw,!e&&de(rA(A),"iterate",Xt),Reflect.get(A,"size",A)}function qa(A){A=rA(A);const e=rA(this);return Ws(e).has.call(e,A)||(e.add(A),At(e,"add",A,A)),this}function Al(A,e){e=rA(e);const t=rA(this),{has:r,get:n}=Ws(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?xt(e,i)&&At(t,"set",A,e):At(t,"add",A,e),this}function el(A){const e=rA(this),{has:t,get:r}=Ws(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&&At(e,"delete",A,void 0),s}function tl(){const A=rA(this),e=A.size!==0,t=A.clear();return e&&At(A,"clear",void 0,void 0),t}function Hn(A,e){return function(r,n){const s=this,i=s.__v_raw,o=rA(i),a=e?Ba:A?da:on;return!A&&de(o,"iterate",Xt),i.forEach((c,l)=>r.call(n,a(c),a(l),s))}}function In(A,e,t){return function(...r){const n=this.__v_raw,s=rA(n),i=gr(s),o=A==="entries"||A===Symbol.iterator&&i,a=A==="keys"&&i,c=n[A](...r),l=t?Ba:e?da:on;return!e&&de(s,"iterate",a?lo:Xt),{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 ot(A){return function(...e){return A==="delete"?!1:A==="clear"?void 0:this}}function nh(){const A={get(s){return En(this,s)},get size(){return bn(this)},has:yn,add:qa,set:Al,delete:el,clear:tl,forEach:Hn(!1,!1)},e={get(s){return En(this,s,!1,!0)},get size(){return bn(this)},has:yn,add:qa,set:Al,delete:el,clear:tl,forEach:Hn(!1,!0)},t={get(s){return En(this,s,!0)},get size(){return bn(this,!0)},has(s){return yn.call(this,s,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:Hn(!0,!1)},r={get(s){return En(this,s,!0,!0)},get size(){return bn(this,!0)},has(s){return yn.call(this,s,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:Hn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{A[s]=In(s,!1,!1),t[s]=In(s,!0,!1),e[s]=In(s,!1,!0),r[s]=In(s,!0,!0)}),[A,t,e,r]}const[sh,ih,oh,ah]=nh();function ga(A,e){const t=e?A?ah:oh:A?ih:sh;return(r,n,s)=>n==="__v_isReactive"?!A:n==="__v_isReadonly"?A:n==="__v_raw"?r:Reflect.get(hA(t,n)&&n in r?t:r,n,s)}const lh={get:ga(!1,!1)},ch={get:ga(!1,!0)},uh={get:ga(!0,!1)},Nu=new WeakMap,Vu=new WeakMap,Gu=new WeakMap,fh=new WeakMap;function Bh(A){switch(A){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gh(A){return A.__v_skip||!Object.isExtensible(A)?0:Bh(_g(A))}function Er(A){return pr(A)?A:ha(A,!1,eh,lh,Nu)}function $u(A){return ha(A,!1,rh,ch,Vu)}function Xu(A){return ha(A,!0,th,uh,Gu)}function ha(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=gh(A);if(i===0)return A;const o=new Proxy(A,i===2?r:t);return n.set(A,o),o}function et(A){return pr(A)?et(A.__v_raw):!!(A&&A.__v_isReactive)}function pr(A){return!!(A&&A.__v_isReadonly)}function Fs(A){return!!(A&&A.__v_isShallow)}function Ju(A){return et(A)||pr(A)}function rA(A){const e=A&&A.__v_raw;return e?rA(e):A}function Ys(A){return Object.isExtensible(A)&&ps(A,"__v_skip",!0),A}const on=A=>EA(A)?Er(A):A,da=A=>EA(A)?Xu(A):A;class Wu{constructor(e,t,r,n){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ca(()=>e(this._value),()=>as(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)&&xt(e._value,e._value=e.effect.run())&&as(e,4),Yu(e),e.effect._dirtyLevel>=2&&as(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function hh(A,e,t=!1){let r,n;const s=oA(A);return s?(r=A,n=He):(r=A.get,n=A.set),new Wu(r,n,s||!n,t)}function Yu(A){var e;Et&&$t&&(A=rA(A),Du($t,(e=A.dep)!=null?e:A.dep=Ou(()=>A.dep=void 0,A instanceof Wu?A:void 0)))}function as(A,e=4,t){A=rA(A);const r=A.dep;r&&Ru(r,e)}function kA(A){return!!(A&&A.__v_isRef===!0)}function z(A){return Zu(A,!1)}function ju(A){return Zu(A,!0)}function Zu(A,e){return kA(A)?A:new dh(A,e)}class dh{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:on(e)}get value(){return Yu(this),this._value}set value(e){const t=this.__v_isShallow||Fs(e)||pr(e);e=t?e:rA(e),xt(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:on(e),as(this,4))}}function bA(A){return kA(A)?A.value:A}const wh={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 zu(A){return et(A)?A:new Proxy(A,wh)}function ph(A){const e=q(A)?new Array(A.length):{};for(const t in A)e[t]=qu(A,t);return e}class Qh{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 jg(rA(this._object),this._key)}}class Ch{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Fh(A,e,t){return kA(A)?A:oA(A)?new Ch(A):EA(A)&&arguments.length>1?qu(A,e,t):z(A)}function qu(A,e,t){const r=A[e];return kA(r)?r:new Qh(A,e,t)}/** +* @vue/runtime-core v3.4.18 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function yt(A,e,t,r){let n;try{n=r?A(...r):A()}catch(s){js(s,e,t)}return n}function Le(A,e,t,r){if(oA(A)){const s=yt(A,e,t,r);return s&&vu(s)&&s.catch(i=>{js(i,e,t)}),s}const n=[];for(let s=0;s>>1,n=ne[r],s=ln(n);sVe&&ne.splice(e,1)}function Eh(A){q(A)?hr.push(...A):(!gt||!gt.includes(A,A.allowRecurse?Ot+1:Ot))&&hr.push(A),ef()}function rl(A,e,t=an?Ve+1:0){for(;tln(t)-ln(r));if(hr.length=0,gt){gt.push(...e);return}for(gt=e,Ot=0;OtA.id==null?1/0:A.id,yh=(A,e)=>{const t=ln(A)-ln(e);if(t===0){if(A.pre&&!e.pre)return-1;if(e.pre&&!A.pre)return 1}return t};function rf(A){co=!1,an=!0,ne.sort(yh);try{for(Ve=0;VeOA(B)?B.trim():B)),u&&(n=t.map(Og))}let o,a=r[o=mi(e)]||r[o=mi(Xe(e))];!a&&s&&(a=r[o=mi(vr(e))]),a&&Le(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,Le(c,A,6,n)}}function nf(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=nf(c,e,!0);l&&(o=!0,XA(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):(q(s)?s.forEach(a=>i[a]=null):XA(i,s),EA(A)&&r.set(A,i),i)}function Zs(A,e){return!A||!Ns(e)?!1:(e=e.slice(2).replace(/Once$/,""),hA(A,e[0].toLowerCase()+e.slice(1))||hA(A,vr(e))||hA(A,e))}let se=null,zs=null;function Us(A){const e=se;return se=A,zs=A&&A.type.__scopeId||null,e}function sf(A){zs=A}function of(){zs=null}function ge(A,e=se,t){if(!e||A._n)return A;const r=(...n)=>{r._d&&wl(-1);const s=Us(e);let i;try{i=A(...n)}finally{Us(s),r._d&&wl(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ei(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:d}=A;let U,p;const C=Us(A);try{if(t.shapeFlag&4){const y=n||r,E=y;U=Ne(l.call(E,y,u,s,B,f,g)),p=a}else{const y=e;U=Ne(y.length>1?y(s,{attrs:a,slots:o,emit:c}):y(s,null)),p=e.props?a:Hh(a)}}catch(y){Zr.length=0,js(y,A,1),U=uA(De)}let F=U;if(p&&d!==!1){const y=Object.keys(p),{shapeFlag:E}=F;y.length&&E&7&&(i&&y.some(oa)&&(p=Ih(p,i)),F=nt(F,p))}return t.dirs&&(F=nt(F),F.dirs=F.dirs?F.dirs.concat(t.dirs):t.dirs),t.transition&&(F.transition=t.transition),U=F,Us(C),U}const Hh=A=>{let e;for(const t in A)(t==="class"||t==="style"||Ns(t))&&((e||(e={}))[t]=A[t]);return e},Ih=(A,e)=>{const t={};for(const r in A)(!oa(r)||!(r.slice(9)in e))&&(t[r]=A[r]);return t};function xh(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?nl(r,i,c):!!i;if(a&8){const l=e.dynamicProps;for(let u=0;uA.__isSuspense;function Dh(A,e){e&&e.pendingBranch?q(A)?e.effects.push(...A):e.effects.push(A):Eh(A)}const Rh=Symbol.for("v-scx"),Oh=()=>KA(Rh);function me(A,e){return Qa(A,null,e)}const xn={};function oe(A,e,t){return Qa(A,e,t)}function Qa(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:Nt(Q,r===!1?1:void 0);let l,u=!1,f=!1;if(kA(A)?(l=()=>A.value,u=Fs(A)):et(A)?(l=()=>c(A),u=!0):q(A)?(f=!0,u=A.some(Q=>et(Q)||Fs(Q)),l=()=>A.map(Q=>{if(kA(Q))return Q.value;if(et(Q))return c(Q);if(oA(Q))return yt(Q,a,2)})):oA(A)?e?l=()=>yt(A,a,2):l=()=>(B&&B(),Le(A,a,3,[g])):l=He,e&&r){const Q=l;l=()=>Nt(Q())}let B,g=Q=>{B=F.onStop=()=>{yt(Q,a,4),B=F.onStop=void 0}},d;if(ni)if(g=He,e?t&&Le(e,a,3,[l(),f?[]:void 0,g]):l(),n==="sync"){const Q=Oh();d=Q.__watcherHandles||(Q.__watcherHandles=[])}else return He;let U=f?new Array(A.length).fill(xn):xn;const p=()=>{if(!(!F.active||!F.dirty))if(e){const Q=F.run();(r||u||(f?Q.some((L,b)=>xt(L,U[b])):xt(Q,U)))&&(B&&B(),Le(e,a,3,[Q,U===xn?void 0:f&&U[0]===xn?[]:U,g]),U=Q)}else F.run()};p.allowRecurse=!!e;let C;n==="sync"?C=p:n==="post"?C=()=>fe(p,a&&a.suspense):(p.pre=!0,a&&(p.id=a.uid),C=()=>pa(p));const F=new ca(l,He,C),y=Tu(),E=()=>{F.stop(),y&&aa(y.effects,F)};return e?t?p():U=F.run():n==="post"?fe(F.run.bind(F),a&&a.suspense):F.run(),d&&d.push(E),E}function kh(A,e,t){const r=this.proxy,n=OA(A)?A.includes(".")?lf(r,A):()=>r[A]:A.bind(r,r);let s;oA(e)?s=e:(s=e.handler,t=e);const i=Qn(this),o=Qa(n,s.bind(r),t);return i(),o}function lf(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))Nt(A.value,e,t,r);else if(q(A))for(let n=0;n{Nt(n,e,t,r)});else if(yu(A))for(const n in A)Nt(A[n],e,t,r);return A}function cf(A,e){if(se===null)return A;const t=si(se)||se.proxy,r=A.dirs||(A.dirs=[]);for(let n=0;n{A.isMounted=!0}),hf(()=>{A.isUnmounting=!0}),A}const Ee=[Function,Array],uf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},Ph={name:"BaseTransition",props:uf,setup(A,{slots:e}){const t=va(),r=Mh();let n;return()=>{const s=e.default&&Bf(e.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const d of s)if(d.type!==De){i=d;break}}const o=rA(A),{mode:a}=o;if(r.isLeaving)return yi(i);const c=il(i);if(!c)return yi(i);const l=uo(c,o,r,t);fo(c,l);const u=t.subTree,f=u&&il(u);let B=!1;const{getTransitionKey:g}=c.type;if(g){const d=g();n===void 0?n=d:d!==n&&(n=d,B=!0)}if(f&&f.type!==De&&(!kt(c,f)||B)){const d=uo(f,o,r,t);if(fo(f,d),a==="out-in")return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,t.update.active!==!1&&(t.effect.dirty=!0,t.update())},yi(i);a==="in-out"&&c.type!==De&&(d.delayLeave=(U,p,C)=>{const F=ff(r,f);F[String(f.key)]=f,U[ht]=()=>{p(),U[ht]=void 0,delete l.delayedLeave},l.delayedLeave=C})}return i}}},Nh=Ph;function ff(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 uo(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:d,onAppear:U,onAfterAppear:p,onAppearCancelled:C}=e,F=String(A.key),y=ff(t,A),E=(b,v)=>{b&&Le(b,r,9,v)},Q=(b,v)=>{const T=v[1];E(b,v),q(b)?b.every(AA=>AA.length<=1)&&T():b.length<=1&&T()},L={mode:s,persisted:i,beforeEnter(b){let v=o;if(!t.isMounted)if(n)v=d||o;else return;b[ht]&&b[ht](!0);const T=y[F];T&&kt(A,T)&&T.el[ht]&&T.el[ht](),E(v,[b])},enter(b){let v=a,T=c,AA=l;if(!t.isMounted)if(n)v=U||a,T=p||c,AA=C||l;else return;let K=!1;const O=b[Ln]=aA=>{K||(K=!0,aA?E(AA,[b]):E(T,[b]),L.delayedLeave&&L.delayedLeave(),b[Ln]=void 0)};v?Q(v,[b,O]):O()},leave(b,v){const T=String(A.key);if(b[Ln]&&b[Ln](!0),t.isUnmounting)return v();E(u,[b]);let AA=!1;const K=b[ht]=O=>{AA||(AA=!0,v(),O?E(g,[b]):E(B,[b]),b[ht]=void 0,y[T]===A&&delete y[T])};y[T]=A,f?Q(f,[b,K]):K()},clone(b){return uo(b,e,t,r)}};return L}function yi(A){if(qs(A))return A=nt(A),A.children=null,A}function il(A){return qs(A)?A.children?A.children[0]:void 0:A}function fo(A,e){A.shapeFlag&6&&A.component?fo(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 Bf(A,e=!1,t){let r=[],n=0;for(let s=0;s1)for(let s=0;s!!A.type.__asyncLoader,qs=A=>A.type.__isKeepAlive;function Vh(A,e){gf(A,"a",e)}function Gh(A,e){gf(A,"da",e)}function gf(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(Ai(e,r,t),t){let n=t.parent;for(;n&&n.parent;)qs(n.parent.vnode)&&$h(r,e,t,n),n=n.parent}}function $h(A,e,t,r){const n=Ai(e,A,r,!0);ve(()=>{aa(r[e],n)},t)}function Ai(A,e,t=jA,r=!1){if(t){const n=t[A]||(t[A]=[]),s=e.__weh||(e.__weh=(...i)=>{if(t.isUnmounted)return;Zt();const o=Qn(t),a=Le(e,t,A,i);return o(),zt(),a});return r?n.unshift(s):n.push(s),s}}const it=A=>(e,t=jA)=>(!ni||A==="sp")&&Ai(A,(...r)=>e(...r),t),Xh=it("bm"),VA=it("m"),Jh=it("bu"),Wh=it("u"),hf=it("bum"),ve=it("um"),Yh=it("sp"),jh=it("rtg"),Zh=it("rtc");function zh(A,e=jA){Ai("ec",A,e)}function qh(A,e,t,r){let n;const s=t&&t[r];if(q(A)||OA(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?Hf(A)?si(A)||A.proxy:Bo(A.parent):null,Yr=XA(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=>Bo(A.parent),$root:A=>Bo(A.root),$emit:A=>A.emit,$options:A=>Ca(A),$forceUpdate:A=>A.f||(A.f=()=>{A.effect.dirty=!0,pa(A.update)}),$nextTick:A=>A.n||(A.n=_e.bind(A.proxy)),$watch:A=>kh.bind(A)}),bi=(A,e)=>A!==IA&&!A.__isScriptSetup&&hA(A,e),Ad={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(bi(r,e))return i[e]=1,r[e];if(n!==IA&&hA(n,e))return i[e]=2,n[e];if((c=A.propsOptions[0])&&hA(c,e))return i[e]=3,s[e];if(t!==IA&&hA(t,e))return i[e]=4,t[e];go&&(i[e]=0)}}const l=Yr[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&&hA(t,e))return i[e]=4,t[e];if(f=a.config.globalProperties,hA(f,e))return f[e]},set({_:A},e,t){const{data:r,setupState:n,ctx:s}=A;return bi(n,e)?(n[e]=t,!0):r!==IA&&hA(r,e)?(r[e]=t,!0):hA(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&&hA(A,i)||bi(e,i)||(o=s[0])&&hA(o,i)||hA(r,i)||hA(Yr,i)||hA(n.config.globalProperties,i)},defineProperty(A,e,t){return t.get!=null?A._.accessCache[e]=0:hA(t,"value")&&this.set(A,e,t.value,null),Reflect.defineProperty(A,e,t)}};function ol(A){return q(A)?A.reduce((e,t)=>(e[t]=null,e),{}):A}let go=!0;function ed(A){const e=Ca(A),t=A.proxy,r=A.ctx;go=!1,e.beforeCreate&&al(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:d,deactivated:U,beforeDestroy:p,beforeUnmount:C,destroyed:F,unmounted:y,render:E,renderTracked:Q,renderTriggered:L,errorCaptured:b,serverPrefetch:v,expose:T,inheritAttrs:AA,components:K,directives:O,filters:aA}=e;if(c&&td(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=Er(tA))}if(go=!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):He,MA=!oA(lA)&&oA(lA.set)?lA.set.bind(t):He,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)df(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&&al(l,A,"c");function W(tA,lA){q(lA)?lA.forEach(TA=>tA(TA.bind(t))):lA&&tA(lA.bind(t))}if(W(Xh,u),W(VA,f),W(Jh,B),W(Wh,g),W(Vh,d),W(Gh,U),W(zh,b),W(Zh,Q),W(jh,L),W(hf,C),W(ve,y),W(Yh,v),q(T))if(T.length){const tA=A.exposed||(A.exposed={});T.forEach(lA=>{Object.defineProperty(tA,lA,{get:()=>t[lA],set:TA=>t[lA]=TA})})}else A.exposed||(A.exposed={});E&&A.render===He&&(A.render=E),AA!=null&&(A.inheritAttrs=AA),K&&(A.components=K),O&&(A.directives=O)}function td(A,e,t=He){q(A)&&(A=ho(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 al(A,e,t){Le(q(A)?A.map(r=>r.bind(e.proxy)):A.bind(e.proxy),e,t)}function df(A,e,t,r){const n=r.includes(".")?lf(t,r):()=>t[r];if(OA(A)){const s=e[A];oA(s)&&oe(n,s)}else if(oA(A))oe(n,A.bind(t));else if(EA(A))if(q(A))A.forEach(s=>df(s,e,t,r));else{const s=oA(A.handler)?A.handler.bind(t):e[A.handler];oA(s)&&oe(n,s,A)}}function Ca(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=>ms(a,c,i,!0)),ms(a,e,i)),EA(e)&&s.set(e,a),a}function ms(A,e,t,r=!1){const{mixins:n,extends:s}=e;s&&ms(A,s,t,!0),n&&n.forEach(i=>ms(A,i,t,!0));for(const i in e)if(!(r&&i==="expose")){const o=rd[i]||t&&t[i];A[i]=o?o(A[i],e[i]):e[i]}return A}const rd={data:ll,props:cl,emits:cl,methods:kr,computed:kr,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:kr,directives:kr,watch:sd,provide:ll,inject:nd};function ll(A,e){return e?A?function(){return XA(oA(A)?A.call(this,this):A,oA(e)?e.call(this,this):e)}:e:A}function nd(A,e){return kr(ho(A),ho(e))}function ho(A){if(q(A)){const e={};for(let t=0;t1)return t&&oA(e)?e.call(r&&r.proxy):e}}function ad(){return!!(jA||se||dr)}function ld(A,e,t,r=!1){const n={},s={};ps(s,ti,1),A.propsDefaults=Object.create(null),pf(A,e,n,s);for(const i in A.propsOptions[0])i in n||(n[i]=void 0);t?A.props=r?n:$u(n):A.type.props?A.props=n:A.props=s,A.attrs=s}function cd(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]=Qf(u,e,!0);XA(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,Br),Br;if(q(s))for(let l=0;l-1,B[1]=d<0||g-1||hA(B,"default"))&&o.push(u)}}}const c=[i,o];return EA(A)&&r.set(A,c),c}function ul(A){return A[0]!=="$"&&!Wr(A)}function fl(A){const e=A&&A.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:A===null?"null":""}function Bl(A,e){return fl(A)===fl(e)}function gl(A,e){return q(e)?e.findIndex(t=>Bl(t,A)):oA(e)&&Bl(e,A)?0:-1}const Cf=A=>A[0]==="_"||A==="$stable",Fa=A=>q(A)?A.map(Ne):[Ne(A)],ud=(A,e,t)=>{if(e._n)return e;const r=ge((...n)=>Fa(e(...n)),t);return r._c=!1,r},Ff=(A,e,t)=>{const r=A._ctx;for(const n in A){if(Cf(n))continue;const s=A[n];if(oA(s))e[n]=ud(n,s,r);else if(s!=null){const i=Fa(s);e[n]=()=>i}}},Uf=(A,e)=>{const t=Fa(e);A.slots.default=()=>t},fd=(A,e)=>{if(A.vnode.shapeFlag&32){const t=e._;t?(A.slots=rA(e),ps(e,"_",t)):Ff(e,A.slots={})}else A.slots={},e&&Uf(A,e);ps(A.slots,ti,1)},Bd=(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:(XA(n,e),!t&&o===1&&delete n._):(s=!e.$stable,Ff(e,n)),i=e}else e&&(Uf(A,e),i={default:1});if(s)for(const o in n)!Cf(o)&&i[o]==null&&delete n[o]};function po(A,e,t,r,n=!1){if(q(A)){A.forEach((f,B)=>po(f,e&&(q(e)?e[B]:e),t,r,n));return}if(ls(r)&&!n)return;const s=r.shapeFlag&4?si(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&&(OA(c)?(l[c]=null,hA(u,c)&&(u[c]=null)):kA(c)&&(c.value=null)),oA(a))yt(a,o,12,[i,l]);else{const f=OA(a),B=kA(a);if(f||B){const g=()=>{if(A.f){const d=f?hA(u,a)?u[a]:l[a]:a.value;n?q(d)&&aa(d,s):q(d)?d.includes(s)||d.push(s):f?(l[a]=[s],hA(u,a)&&(u[a]=l[a])):(a.value=[s],A.k&&(l[A.k]=a.value))}else f?(l[a]=i,hA(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=Dh;function gd(A){return hd(A)}function hd(A,e){const t=bu();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=He,insertStaticContent:g}=A,d=(h,w,m,x=null,I=null,D=null,M=void 0,_=null,R=!!w.dynamicChildren)=>{if(h===w)return;h&&!kt(h,w)&&(x=H(h),sA(h,I,D,!0),h=null),w.patchFlag===-2&&(R=!1,w.dynamicChildren=null);const{type:S,ref:$,shapeFlag:eA}=w;switch(S){case ei:U(h,w,m,x);break;case De:p(h,w,m,x);break;case cs:h==null&&C(w,m,x,M);break;case re:K(h,w,m,x,I,D,M,_,R);break;default:eA&1?E(h,w,m,x,I,D,M,_,R):eA&6?O(h,w,m,x,I,D,M,_,R):(eA&64||eA&128)&&S.process(h,w,m,x,I,D,M,_,R,Y)}$!=null&&I&&po($,h&&h.ref,D,w||h,!w)},U=(h,w,m,x)=>{if(h==null)r(w.el=o(w.children),m,x);else{const I=w.el=h.el;w.children!==h.children&&c(I,w.children)}},p=(h,w,m,x)=>{h==null?r(w.el=a(w.children||""),m,x):w.el=h.el},C=(h,w,m,x)=>{[h.el,h.anchor]=g(h.children,w,m,x,h.el,h.anchor)},F=({el:h,anchor:w},m,x)=>{let I;for(;h&&h!==w;)I=f(h),r(h,m,x),h=I;r(w,m,x)},y=({el:h,anchor:w})=>{let m;for(;h&&h!==w;)m=f(h),n(h),h=m;n(w)},E=(h,w,m,x,I,D,M,_,R)=>{w.type==="svg"?M="svg":w.type==="math"&&(M="mathml"),h==null?Q(w,m,x,I,D,M,_,R):v(h,w,I,D,M,_,R)},Q=(h,w,m,x,I,D,M,_)=>{let R,S;const{props:$,shapeFlag:eA,transition:Z,dirs:iA}=h;if(R=h.el=i(h.type,D,$&&$.is,$),eA&8?l(R,h.children):eA&16&&b(h.children,R,null,x,I,Hi(h,D),M,_),iA&&St(h,null,x,"created"),L(R,h,h.scopeId,M,x),$){for(const mA in $)mA!=="value"&&!Wr(mA)&&s(R,mA,null,$[mA],D,h.children,x,I,UA);"value"in $&&s(R,"value",null,$.value,D),(S=$.onVnodeBeforeMount)&&Me(S,x,h)}iA&&St(h,null,x,"beforeMount");const fA=dd(I,Z);fA&&Z.beforeEnter(R),r(R,w,m),((S=$&&$.onVnodeMounted)||fA||iA)&&fe(()=>{S&&Me(S,x,h),fA&&Z.enter(R),iA&&St(h,null,x,"mounted")},I)},L=(h,w,m,x,I)=>{if(m&&B(h,m),x)for(let D=0;D{for(let S=R;S{const _=w.el=h.el;let{patchFlag:R,dynamicChildren:S,dirs:$}=w;R|=h.patchFlag&16;const eA=h.props||IA,Z=w.props||IA;let iA;if(m&&Tt(m,!1),(iA=Z.onVnodeBeforeUpdate)&&Me(iA,m,w,h),$&&St(w,h,m,"beforeUpdate"),m&&Tt(m,!0),S?T(h.dynamicChildren,S,_,m,x,Hi(w,I),D):M||lA(h,w,_,null,m,x,Hi(w,I),D,!1),R>0){if(R&16)AA(_,w,eA,Z,m,x,I);else if(R&2&&eA.class!==Z.class&&s(_,"class",null,Z.class,I),R&4&&s(_,"style",eA.style,Z.style,I),R&8){const fA=w.dynamicProps;for(let mA=0;mA{iA&&Me(iA,m,w,h),$&&St(w,h,m,"updated")},x)},T=(h,w,m,x,I,D,M)=>{for(let _=0;_{if(m!==x){if(m!==IA)for(const _ in m)!Wr(_)&&!(_ in x)&&s(h,_,m[_],null,M,w.children,I,D,UA);for(const _ in x){if(Wr(_))continue;const R=x[_],S=m[_];R!==S&&_!=="value"&&s(h,_,S,R,M,w.children,I,D,UA)}"value"in x&&s(h,"value",m.value,x.value,M)}},K=(h,w,m,x,I,D,M,_,R)=>{const S=w.el=h?h.el:o(""),$=w.anchor=h?h.anchor:o("");let{patchFlag:eA,dynamicChildren:Z,slotScopeIds:iA}=w;iA&&(_=_?_.concat(iA):iA),h==null?(r(S,m,x),r($,m,x),b(w.children||[],m,$,I,D,M,_,R)):eA>0&&eA&64&&Z&&h.dynamicChildren?(T(h.dynamicChildren,Z,m,I,D,M,_),(w.key!=null||I&&w===I.subTree)&&Ua(h,w,!0)):lA(h,w,m,$,I,D,M,_,R)},O=(h,w,m,x,I,D,M,_,R)=>{w.slotScopeIds=_,h==null?w.shapeFlag&512?I.ctx.activate(w,m,x,M,R):aA(w,m,x,I,D,M,R):gA(h,w,R)},aA=(h,w,m,x,I,D,M)=>{const _=h.component=Id(h,x,I);if(qs(h)&&(_.ctx.renderer=Y),xd(_),_.asyncDep){if(I&&I.registerDep(_,W),!h.el){const R=_.subTree=uA(De);p(null,R,w,m)}}else W(_,h,w,m,I,D,M)},gA=(h,w,m)=>{const x=w.component=h.component;if(xh(h,w,m))if(x.asyncDep&&!x.asyncResolved){tA(x,w,m);return}else x.next=w,vh(x.update),x.effect.dirty=!0,x.update();else w.el=h.el,x.vnode=w},W=(h,w,m,x,I,D,M)=>{const _=()=>{if(h.isMounted){let{next:$,bu:eA,u:Z,parent:iA,vnode:fA}=h;{const er=mf(h);if(er){$&&($.el=fA.el,tA(h,$,M)),er.asyncDep.then(()=>{h.isUnmounted||_()});return}}let mA=$,LA;Tt(h,!1),$?($.el=fA.el,tA(h,$,M)):$=fA,eA&&os(eA),(LA=$.props&&$.props.onVnodeBeforeUpdate)&&Me(LA,iA,$,fA),Tt(h,!0);const WA=Ei(h),Se=h.subTree;h.subTree=WA,d(Se,WA,u(Se.el),H(Se),h,I,D),$.el=WA.el,mA===null&&Lh(h,WA.el),Z&&fe(Z,I),(LA=$.props&&$.props.onVnodeUpdated)&&fe(()=>Me(LA,iA,$,fA),I)}else{let $;const{el:eA,props:Z}=w,{bm:iA,m:fA,parent:mA}=h,LA=ls(w);if(Tt(h,!1),iA&&os(iA),!LA&&($=Z&&Z.onVnodeBeforeMount)&&Me($,mA,w),Tt(h,!0),eA&&xA){const WA=()=>{h.subTree=Ei(h),xA(eA,h.subTree,h,I,null)};LA?w.type.__asyncLoader().then(()=>!h.isUnmounted&&WA()):WA()}else{const WA=h.subTree=Ei(h);d(null,WA,m,x,h,I,D),w.el=WA.el}if(fA&&fe(fA,I),!LA&&($=Z&&Z.onVnodeMounted)){const WA=w;fe(()=>Me($,mA,WA),I)}(w.shapeFlag&256||mA&&ls(mA.vnode)&&mA.vnode.shapeFlag&256)&&h.a&&fe(h.a,I),h.isMounted=!0,w=m=x=null}},R=h.effect=new ca(_,He,()=>pa(S),h.scope),S=h.update=()=>{R.dirty&&R.run()};S.id=h.uid,Tt(h,!0),S()},tA=(h,w,m)=>{w.component=h;const x=h.vnode.props;h.vnode=w,h.next=null,cd(h,w.props,x,m),Bd(h,w.children,m),Zt(),rl(h),zt()},lA=(h,w,m,x,I,D,M,_,R=!1)=>{const S=h&&h.children,$=h?h.shapeFlag:0,eA=w.children,{patchFlag:Z,shapeFlag:iA}=w;if(Z>0){if(Z&128){MA(S,eA,m,x,I,D,M,_,R);return}else if(Z&256){TA(S,eA,m,x,I,D,M,_,R);return}}iA&8?($&16&&UA(S,I,D),eA!==S&&l(m,eA)):$&16?iA&16?MA(S,eA,m,x,I,D,M,_,R):UA(S,I,D,!0):($&8&&l(m,""),iA&16&&b(eA,m,x,I,D,M,_,R))},TA=(h,w,m,x,I,D,M,_,R)=>{h=h||Br,w=w||Br;const S=h.length,$=w.length,eA=Math.min(S,$);let Z;for(Z=0;Z$?UA(h,I,D,!0,!1,eA):b(w,m,x,I,D,M,_,R,eA)},MA=(h,w,m,x,I,D,M,_,R)=>{let S=0;const $=w.length;let eA=h.length-1,Z=$-1;for(;S<=eA&&S<=Z;){const iA=h[S],fA=w[S]=R?dt(w[S]):Ne(w[S]);if(kt(iA,fA))d(iA,fA,m,null,I,D,M,_,R);else break;S++}for(;S<=eA&&S<=Z;){const iA=h[eA],fA=w[Z]=R?dt(w[Z]):Ne(w[Z]);if(kt(iA,fA))d(iA,fA,m,null,I,D,M,_,R);else break;eA--,Z--}if(S>eA){if(S<=Z){const iA=Z+1,fA=iA<$?w[iA].el:x;for(;S<=Z;)d(null,w[S]=R?dt(w[S]):Ne(w[S]),m,fA,I,D,M,_,R),S++}}else if(S>Z)for(;S<=eA;)sA(h[S],I,D,!0),S++;else{const iA=S,fA=S,mA=new Map;for(S=fA;S<=Z;S++){const pe=w[S]=R?dt(w[S]):Ne(w[S]);pe.key!=null&&mA.set(pe.key,S)}let LA,WA=0;const Se=Z-fA+1;let er=!1,$a=0;const Ir=new Array(Se);for(S=0;S=Se){sA(pe,I,D,!0);continue}let ke;if(pe.key!=null)ke=mA.get(pe.key);else for(LA=fA;LA<=Z;LA++)if(Ir[LA-fA]===0&&kt(pe,w[LA])){ke=LA;break}ke===void 0?sA(pe,I,D,!0):(Ir[ke-fA]=S+1,ke>=$a?$a=ke:er=!0,d(pe,w[ke],m,null,I,D,M,_,R),WA++)}const Xa=er?wd(Ir):Br;for(LA=Xa.length-1,S=Se-1;S>=0;S--){const pe=fA+S,ke=w[pe],Ja=pe+1<$?w[pe+1].el:x;Ir[S]===0?d(null,ke,m,Ja,I,D,M,_,R):er&&(LA<0||S!==Xa[LA]?nA(ke,m,Ja,2):LA--)}}},nA=(h,w,m,x,I=null)=>{const{el:D,type:M,transition:_,children:R,shapeFlag:S}=h;if(S&6){nA(h.component.subTree,w,m,x);return}if(S&128){h.suspense.move(w,m,x);return}if(S&64){M.move(h,w,m,Y);return}if(M===re){r(D,w,m);for(let eA=0;eA_.enter(D),I);else{const{leave:eA,delayLeave:Z,afterLeave:iA}=_,fA=()=>r(D,w,m),mA=()=>{eA(D,()=>{fA(),iA&&iA()})};Z?Z(D,fA,mA):mA()}else r(D,w,m)},sA=(h,w,m,x=!1,I=!1)=>{const{type:D,props:M,ref:_,children:R,dynamicChildren:S,shapeFlag:$,patchFlag:eA,dirs:Z}=h;if(_!=null&&po(_,null,m,h,!0),$&256){w.ctx.deactivate(h);return}const iA=$&1&&Z,fA=!ls(h);let mA;if(fA&&(mA=M&&M.onVnodeBeforeUnmount)&&Me(mA,w,h),$&6)JA(h.component,m,x);else{if($&128){h.suspense.unmount(m,x);return}iA&&St(h,null,w,"beforeUnmount"),$&64?h.type.remove(h,w,m,I,Y,x):S&&(D!==re||eA>0&&eA&64)?UA(S,w,m,!1,!0):(D===re&&eA&384||!I&&$&16)&&UA(R,w,m),x&&QA(h)}(fA&&(mA=M&&M.onVnodeUnmounted)||iA)&&fe(()=>{mA&&Me(mA,w,h),iA&&St(h,null,w,"unmounted")},m)},QA=h=>{const{type:w,el:m,anchor:x,transition:I}=h;if(w===re){yA(m,x);return}if(w===cs){y(h);return}const D=()=>{n(m),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(h.shapeFlag&1&&I&&!I.persisted){const{leave:M,delayLeave:_}=I,R=()=>M(m,D);_?_(h.el,D,R):R()}else D()},yA=(h,w)=>{let m;for(;h!==w;)m=f(h),n(h),h=m;n(w)},JA=(h,w,m)=>{const{bum:x,scope:I,update:D,subTree:M,um:_}=h;x&&os(x),I.stop(),D&&(D.active=!1,sA(M,h,w,m)),_&&fe(_,w),fe(()=>{h.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},UA=(h,w,m,x=!1,I=!1,D=0)=>{for(let M=D;Mh.shapeFlag&6?H(h.component.subTree):h.shapeFlag&128?h.suspense.next():f(h.anchor||h.el);let G=!1;const k=(h,w,m)=>{h==null?w._vnode&&sA(w._vnode,null,null,!0):d(w._vnode||null,h,w,null,null,null,m),G||(G=!0,rl(),tf(),G=!1),w._vnode=h},Y={p:d,um:sA,m:nA,r:QA,mt:aA,mc:b,pc:lA,pbc:T,n:H,o:A};let dA,xA;return e&&([dA,xA]=e(Y)),{render:k,hydrate:dA,createApp:od(k,dA)}}function Hi({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 Tt({effect:A,update:e},t){A.allowRecurse=e.allowRecurse=t}function dd(A,e){return(!A||A&&!A.pendingBranch)&&e&&!e.persisted}function Ua(A,e,t=!1){const r=A.children,n=e.children;if(q(r)&&q(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 mf(A){const e=A.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:mf(e)}const pd=A=>A.__isTeleport,jr=A=>A&&(A.disabled||A.disabled===""),hl=A=>typeof SVGElement<"u"&&A instanceof SVGElement,dl=A=>typeof MathMLElement=="function"&&A instanceof MathMLElement,Qo=(A,e)=>{const t=A&&A.to;return OA(t)?e?e(t):null:t},Qd={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:d,createComment:U}}=c,p=jr(e.props);let{shapeFlag:C,children:F,dynamicChildren:y}=e;if(A==null){const E=e.el=d(""),Q=e.anchor=d("");B(E,t,r),B(Q,t,r);const L=e.target=Qo(e.props,g),b=e.targetAnchor=d("");L&&(B(b,L),i==="svg"||hl(L)?i="svg":(i==="mathml"||dl(L))&&(i="mathml"));const v=(T,AA)=>{C&16&&l(F,T,AA,n,s,i,o,a)};p?v(t,Q):L&&v(L,b)}else{e.el=A.el;const E=e.anchor=A.anchor,Q=e.target=A.target,L=e.targetAnchor=A.targetAnchor,b=jr(A.props),v=b?t:Q,T=b?E:L;if(i==="svg"||hl(Q)?i="svg":(i==="mathml"||dl(Q))&&(i="mathml"),y?(f(A.dynamicChildren,y,v,n,s,i,o),Ua(A,e,!0)):a||u(A,e,v,T,n,s,i,o,!1),p)b?e.props&&A.props&&e.props.to!==A.props.to&&(e.props.to=A.props.to):Sn(e,t,E,c,1);else if((e.props&&e.props.to)!==(A.props&&A.props.to)){const AA=e.target=Qo(e.props,g);AA&&Sn(e,AA,null,c,0)}else b&&Sn(e,Q,L,c,1)}vf(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?Ke||Br:null,Ud(),cn>0&&Ke&&Ke.push(A),A}function Je(A,e,t,r,n,s){return Ef(X(A,e,t,r,n,s,!0))}function Qr(A,e,t,r,n){return Ef(uA(A,e,t,r,n,!0))}function Co(A){return A?A.__v_isVNode===!0:!1}function kt(A,e){return A.type===e.type&&A.key===e.key}const ti="__vInternal",yf=({key:A})=>A??null,us=({ref:A,ref_key:e,ref_for:t})=>(typeof A=="number"&&(A=""+A),A!=null?OA(A)||kA(A)||oA(A)?{i:se,r:A,k:e,f:!!t}:A:null);function X(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&&yf(e),ref:e&&us(e),scopeId:zs,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?(ma(a,t),s&128&&A.normalize(a)):t&&(a.shapeFlag|=OA(t)?8:16),cn>0&&!i&&Ke&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&Ke.push(a),a}const uA=md;function md(A,e=null,t=null,r=0,n=null,s=!1){if((!A||A===Th)&&(A=De),Co(A)){const o=nt(A,e,!0);return t&&ma(o,t),cn>0&&!s&&Ke&&(o.shapeFlag&6?Ke[Ke.indexOf(A)]=o:Ke.push(o)),o.patchFlag|=-2,o}if(_d(A)&&(A=A.__vccOpts),e){e=vd(e);let{class:o,style:a}=e;o&&!OA(o)&&(e.class=qe(o)),EA(a)&&(Ju(a)&&!q(a)&&(a=XA({},a)),e.style=Xs(a))}const i=OA(A)?1:_h(A)?128:pd(A)?64:EA(A)?4:oA(A)?2:0;return X(A,e,t,r,n,i,s,!0)}function vd(A){return A?Ju(A)||ti in A?XA({},A):A:null}function nt(A,e,t=!1){const{props:r,ref:n,patchFlag:s,children:i}=A,o=e?yd(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:A.type,props:o,key:o&&yf(o),ref:e&&e.ref?t&&n?q(n)?n.concat(us(e)):[n,us(e)]:us(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&&nt(A.ssContent),ssFallback:A.ssFallback&&nt(A.ssFallback),el:A.el,anchor:A.anchor,ctx:A.ctx,ce:A.ce}}function ri(A=" ",e=0){return uA(ei,null,A,e)}function Ed(A,e){const t=uA(cs,null,A);return t.staticCount=e,t}function bf(A="",e=!1){return e?(ie(),Qr(De,null,A)):uA(De,null,A)}function Ne(A){return A==null||typeof A=="boolean"?uA(De):q(A)?uA(re,null,A.slice()):typeof A=="object"?dt(A):uA(ei,null,String(A))}function dt(A){return A.el===null&&A.patchFlag!==-1||A.memo?A:nt(A)}function ma(A,e){let t=0;const{shapeFlag:r}=A;if(e==null)e=null;else if(q(e))t=16;else if(typeof e=="object")if(r&65){const n=e.default;n&&(n._c&&(n._d=!1),ma(A,n()),n._c&&(n._d=!0));return}else{t=32;const n=e._;!n&&!(ti 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=[ri(e)]):t=8);A.children=e,A.shapeFlag|=t}function yd(...A){const e={};for(let t=0;tjA||se;let vs,Fo;{const A=bu(),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)}};vs=e("__VUE_INSTANCE_SETTERS__",t=>jA=t),Fo=e("__VUE_SSR_SETTERS__",t=>ni=t)}const Qn=A=>{const e=jA;return vs(A),A.scope.on(),()=>{A.scope.off(),vs(e)}},pl=()=>{jA&&jA.scope.off(),vs(null)};function Hf(A){return A.vnode.shapeFlag&4}let ni=!1;function xd(A,e=!1){e&&Fo(e);const{props:t,children:r}=A.vnode,n=Hf(A);ld(A,t,n,e),fd(A,r);const s=n?Ld(A,e):void 0;return e&&Fo(!1),s}function Ld(A,e){const t=A.type;A.accessCache=Object.create(null),A.proxy=Ys(new Proxy(A.ctx,Ad));const{setup:r}=t;if(r){const n=A.setupContext=r.length>1?Td(A):null,s=Qn(A);Zt();const i=yt(r,A,0,[A.props,n]);if(zt(),s(),vu(i)){if(i.then(pl,pl),e)return i.then(o=>{Ql(A,o,e)}).catch(o=>{js(o,A,0)});A.asyncDep=i}else Ql(A,i,e)}else If(A,e)}function Ql(A,e,t){oA(e)?A.type.__ssrInlineRender?A.ssrRender=e:A.render=e:EA(e)&&(A.setupState=zu(e)),If(A,t)}let Cl;function If(A,e,t){const r=A.type;if(!A.render){if(!e&&Cl&&!r.render){const n=r.template||Ca(A).template;if(n){const{isCustomElement:s,compilerOptions:i}=A.appContext.config,{delimiters:o,compilerOptions:a}=r,c=XA(XA({isCustomElement:s,delimiters:o},i),a);r.render=Cl(n,c)}}A.render=r.render||He}{const n=Qn(A);Zt();try{ed(A)}finally{zt(),n()}}}function Sd(A){return A.attrsProxy||(A.attrsProxy=new Proxy(A.attrs,{get(e,t){return de(A,"get","$attrs"),e[t]}}))}function Td(A){const e=t=>{A.exposed=t||{}};return{get attrs(){return Sd(A)},slots:A.slots,emit:A.emit,expose:e}}function si(A){if(A.exposed)return A.exposeProxy||(A.exposeProxy=new Proxy(zu(Ys(A.exposed)),{get(e,t){if(t in e)return e[t];if(t in Yr)return Yr[t](A)},has(e,t){return t in e||t in Yr}}))}function Kd(A,e=!0){return oA(A)?A.displayName||A.name:A.name||e&&A.__name}function _d(A){return oA(A)&&"__vccOpts"in A}const J=(A,e)=>hh(A,e,ni);function PA(A,e,t){const r=arguments.length;return r===2?EA(e)&&!q(e)?Co(e)?uA(A,null,[e]):uA(A,e):uA(A,null,e):(r>3?t=Array.prototype.slice.call(arguments,2):r===3&&Co(t)&&(t=[t]),uA(A,e,t))}const Dd="3.4.18";/** +* @vue/runtime-dom v3.4.18 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Rd="http://www.w3.org/2000/svg",Od="http://www.w3.org/1998/Math/MathML",wt=typeof document<"u"?document:null,Fl=wt&&wt.createElement("template"),kd={insert:(A,e,t)=>{e.insertBefore(A,t||null)},remove:A=>{const e=A.parentNode;e&&e.removeChild(A)},createElement:(A,e,t,r)=>{const n=e==="svg"?wt.createElementNS(Rd,A):e==="mathml"?wt.createElementNS(Od,A):wt.createElement(A,t?{is:t}:void 0);return A==="select"&&r&&r.multiple!=null&&n.setAttribute("multiple",r.multiple),n},createText:A=>wt.createTextNode(A),createComment:A=>wt.createComment(A),setText:(A,e)=>{A.nodeValue=e},setElementText:(A,e)=>{A.textContent=e},parentNode:A=>A.parentNode,nextSibling:A=>A.nextSibling,querySelector:A=>wt.querySelector(A),setScopeId(A,e){A.setAttribute(e,"")},insertStaticContent(A,e,t,r,n,s){const i=t?t.previousSibling:e.lastChild;if(n&&(n===s||n.nextSibling))for(;e.insertBefore(n.cloneNode(!0),t),!(n===s||!(n=n.nextSibling)););else{Fl.innerHTML=r==="svg"?`${A}`:r==="mathml"?`${A}`:A;const o=Fl.content;if(r==="svg"||r==="mathml"){const a=o.firstChild;for(;a.firstChild;)o.appendChild(a.firstChild);o.removeChild(a)}e.insertBefore(o,t)}return[i?i.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},at="transition",xr="animation",un=Symbol("_vtc"),Ea=(A,{slots:e})=>PA(Nh,Md(A),e);Ea.displayName="Transition";const xf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ea.props=XA({},uf,xf);const Kt=(A,e=[])=>{q(A)?A.forEach(t=>t(...e)):A&&A(...e)},Ul=A=>A?q(A)?A.some(e=>e.length>1):A.length>1:!1;function Md(A){const e={};for(const K in A)K in xf||(e[K]=A[K]);if(A.css===!1)return e;const{name:t="v",type:r,duration:n,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:o=`${t}-enter-to`,appearFromClass:a=s,appearActiveClass:c=i,appearToClass:l=o,leaveFromClass:u=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:B=`${t}-leave-to`}=A,g=Pd(n),d=g&&g[0],U=g&&g[1],{onBeforeEnter:p,onEnter:C,onEnterCancelled:F,onLeave:y,onLeaveCancelled:E,onBeforeAppear:Q=p,onAppear:L=C,onAppearCancelled:b=F}=e,v=(K,O,aA)=>{_t(K,O?l:o),_t(K,O?c:i),aA&&aA()},T=(K,O)=>{K._isLeaving=!1,_t(K,u),_t(K,B),_t(K,f),O&&O()},AA=K=>(O,aA)=>{const gA=K?L:C,W=()=>v(O,K,aA);Kt(gA,[O,W]),ml(()=>{_t(O,K?a:s),lt(O,K?l:o),Ul(gA)||vl(O,r,d,W)})};return XA(e,{onBeforeEnter(K){Kt(p,[K]),lt(K,s),lt(K,i)},onBeforeAppear(K){Kt(Q,[K]),lt(K,a),lt(K,c)},onEnter:AA(!1),onAppear:AA(!0),onLeave(K,O){K._isLeaving=!0;const aA=()=>T(K,O);lt(K,u),Gd(),lt(K,f),ml(()=>{K._isLeaving&&(_t(K,u),lt(K,B),Ul(y)||vl(K,r,U,aA))}),Kt(y,[K,aA])},onEnterCancelled(K){v(K,!1),Kt(F,[K])},onAppearCancelled(K){v(K,!0),Kt(b,[K])},onLeaveCancelled(K){T(K),Kt(E,[K])}})}function Pd(A){if(A==null)return null;if(EA(A))return[Ii(A.enter),Ii(A.leave)];{const e=Ii(A);return[e,e]}}function Ii(A){return kg(A)}function lt(A,e){e.split(/\s+/).forEach(t=>t&&A.classList.add(t)),(A[un]||(A[un]=new Set)).add(e)}function _t(A,e){e.split(/\s+/).forEach(r=>r&&A.classList.remove(r));const t=A[un];t&&(t.delete(e),t.size||(A[un]=void 0))}function ml(A){requestAnimationFrame(()=>{requestAnimationFrame(A)})}let Nd=0;function vl(A,e,t,r){const n=A._endId=++Nd,s=()=>{n===A._endId&&r()};if(t)return setTimeout(s,t);const{type:i,timeout:o,propCount:a}=Vd(A,e);if(!i)return r();const c=i+"end";let l=0;const u=()=>{A.removeEventListener(c,f),s()},f=B=>{B.target===A&&++l>=a&&u()};setTimeout(()=>{l(t[g]||"").split(", "),n=r(`${at}Delay`),s=r(`${at}Duration`),i=El(n,s),o=r(`${xr}Delay`),a=r(`${xr}Duration`),c=El(o,a);let l=null,u=0,f=0;e===at?i>0&&(l=at,u=i,f=s.length):e===xr?c>0&&(l=xr,u=c,f=a.length):(u=Math.max(i,c),l=u>0?i>c?at:xr:null,f=l?l===at?s.length:a.length:0);const B=l===at&&/\b(transform|all)(,|$)/.test(r(`${at}Property`).toString());return{type:l,timeout:u,propCount:f,hasTransform:B}}function El(A,e){for(;A.lengthyl(t)+yl(A[r])))}function yl(A){return A==="auto"?0:Number(A.slice(0,-1).replace(",","."))*1e3}function Gd(){return document.body.offsetHeight}function $d(A,e,t){const r=A[un];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?A.removeAttribute("class"):t?A.setAttribute("class",e):A.className=e}const fn=Symbol("_vod"),Xd={beforeMount(A,{value:e},{transition:t}){A[fn]=A.style.display==="none"?"":A.style.display,t&&e?t.beforeEnter(A):Lr(A,e)},mounted(A,{value:e},{transition:t}){t&&e&&t.enter(A)},updated(A,{value:e,oldValue:t},{transition:r}){!e==!t&&A.style.display===A[fn]||(r?e?(r.beforeEnter(A),Lr(A,!0),r.enter(A)):r.leave(A,()=>{Lr(A,!1)}):Lr(A,e))},beforeUnmount(A,{value:e}){Lr(A,e)}};function Lr(A,e){A.style.display=e?A[fn]:"none"}const Jd=Symbol(""),Wd=/(^|;)\s*display\s*:/;function Yd(A,e,t){const r=A.style,n=OA(t),s=r.display;let i=!1;if(t&&!n){if(e&&!OA(e))for(const o in e)t[o]==null&&Uo(r,o,"");for(const o in t)o==="display"&&(i=!0),Uo(r,o,t[o])}else if(n){if(e!==t){const o=r[Jd];o&&(t+=";"+o),r.cssText=t,i=Wd.test(t)}}else e&&A.removeAttribute("style");fn in A&&(A[fn]=i?r.display:"",r.display=s)}const bl=/\s*!important$/;function Uo(A,e,t){if(q(t))t.forEach(r=>Uo(A,e,r));else if(t==null&&(t=""),e.startsWith("--"))A.setProperty(e,t);else{const r=jd(A,e);bl.test(t)?A.setProperty(vr(r),t.replace(bl,""),"important"):A[r]=t}}const Hl=["Webkit","Moz","ms"],xi={};function jd(A,e){const t=xi[e];if(t)return t;let r=Xe(e);if(r!=="filter"&&r in A)return xi[e]=r;r=$s(r);for(let n=0;nLi||(tw.then(()=>Li=0),Li=Date.now());function nw(A,e){const t=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=t.attached)return;Le(sw(r,t.value),e,5,[r])};return t.value=A,t.attached=rw(),t}function sw(A,e){if(q(e)){const t=A.stopImmediatePropagation;return A.stopImmediatePropagation=()=>{t.call(A),A._stopped=!0},e.map(r=>n=>!n._stopped&&r&&r(n))}else return e}const Sl=A=>A.charCodeAt(0)===111&&A.charCodeAt(1)===110&&A.charCodeAt(2)>96&&A.charCodeAt(2)<123,iw=(A,e,t,r,n,s,i,o,a)=>{const c=n==="svg";e==="class"?$d(A,r,c):e==="style"?Yd(A,t,r):Ns(e)?oa(e)||Aw(A,e,t,r,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):ow(A,e,r,c))?zd(A,e,r,s,i,o,a):(e==="true-value"?A._trueValue=r:e==="false-value"&&(A._falseValue=r),Zd(A,e,r,c))};function ow(A,e,t,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in A&&Sl(e)&&oA(t));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&A.tagName==="INPUT"||e==="type"&&A.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const n=A.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return Sl(e)&&OA(t)?!1:e in A}const Tl=A=>{const e=A.props["onUpdate:modelValue"]||!1;return q(e)?t=>os(e,t):e},Si=Symbol("_assign"),aw={deep:!0,created(A,e,t){A[Si]=Tl(t),Lf(A,"change",()=>{const r=A._modelValue,n=lw(A),s=A.checked,i=A[Si];if(q(r)){const o=Iu(r,n),a=o!==-1;if(s&&!a)i(r.concat(n));else if(!s&&a){const c=[...r];c.splice(o,1),i(c)}}else if(Vs(r)){const o=new Set(r);s?o.add(n):o.delete(n),i(o)}else i(Sf(A,s))})},mounted:Kl,beforeUpdate(A,e,t){A[Si]=Tl(t),Kl(A,e,t)}};function Kl(A,{value:e,oldValue:t},r){A._modelValue=e,q(e)?A.checked=Iu(e,r.props.value)>-1:Vs(e)?A.checked=e.has(r.props.value):e!==t&&(A.checked=Js(e,Sf(A,!0)))}function lw(A){return"_value"in A?A._value:A.value}function Sf(A,e){const t=e?"_trueValue":"_falseValue";return t in A?A[t]:e}const cw=XA({patchProp:iw},kd);let _l;function uw(){return _l||(_l=gd(cw))}const fw=(...A)=>{const e=uw().createApp(...A),{mount:t}=e;return e.mount=r=>{const n=gw(r);if(!n)return;const s=e._component;!oA(s)&&!s.render&&!s.template&&(s.template=n.innerHTML),n.innerHTML="";const i=t(n,!1,Bw(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),i},e};function Bw(A){if(A instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&A instanceof MathMLElement)return"mathml"}function gw(A){return OA(A)?document.querySelector(A):A}var hw=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Tf;const ii=A=>Tf=A,Kf=Symbol();function mo(A){return A&&typeof A=="object"&&Object.prototype.toString.call(A)==="[object Object]"&&typeof A.toJSON!="function"}var zr;(function(A){A.direct="direct",A.patchObject="patch object",A.patchFunction="patch function"})(zr||(zr={}));function dw(){const A=Su(!0),e=A.run(()=>z({}));let t=[],r=[];const n=Ys({install(s){ii(n),n._a=s,s.provide(Kf,n),s.config.globalProperties.$pinia=n,r.forEach(i=>t.push(i)),r=[]},use(s){return!this._a&&!hw?r.push(s):t.push(s),this},_p:t,_a:null,_e:A,_s:new Map,state:e});return n}const _f=()=>{};function Dl(A,e,t,r=_f){A.push(e);const n=()=>{const s=A.indexOf(e);s>-1&&(A.splice(s,1),r())};return!t&&Tu()&&Wg(n),n}function tr(A,...e){A.slice().forEach(t=>{t(...e)})}const ww=A=>A();function vo(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];mo(n)&&mo(r)&&A.hasOwnProperty(t)&&!kA(r)&&!et(r)?A[t]=vo(n,r):A[t]=r}return A}const pw=Symbol();function Qw(A){return!mo(A)||!A.hasOwnProperty(pw)}const{assign:ut}=Object;function Cw(A){return!!(kA(A)&&A.effect)}function Fw(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=ph(t.state.value[A]);return ut(l,s,Object.keys(i||{}).reduce((u,f)=>(u[f]=Ys(J(()=>{ii(t);const B=t._s.get(A);return i[f].call(B,B)})),u),{}))}return a=Df(A,c,e,t,r,!0),a}function Df(A,e,t={},r,n,s){let i;const o=ut({actions:{}},t),a={deep:!0};let c,l,u=[],f=[],B;const g=r.state.value[A];!s&&!g&&(r.state.value[A]={}),z({});let d;function U(b){let v;c=l=!1,typeof b=="function"?(b(r.state.value[A]),v={type:zr.patchFunction,storeId:A,events:B}):(vo(r.state.value[A],b),v={type:zr.patchObject,payload:b,storeId:A,events:B});const T=d=Symbol();_e().then(()=>{d===T&&(c=!0)}),l=!0,tr(u,v,r.state.value[A])}const p=s?function(){const{state:v}=t,T=v?v():{};this.$patch(AA=>{ut(AA,T)})}:_f;function C(){i.stop(),u=[],f=[],r._s.delete(A)}function F(b,v){return function(){ii(r);const T=Array.from(arguments),AA=[],K=[];function O(W){AA.push(W)}function aA(W){K.push(W)}tr(f,{args:T,name:b,store:E,after:O,onError:aA});let gA;try{gA=v.apply(this&&this.$id===A?this:E,T)}catch(W){throw tr(K,W),W}return gA instanceof Promise?gA.then(W=>(tr(AA,W),W)).catch(W=>(tr(K,W),Promise.reject(W))):(tr(AA,gA),gA)}}const y={_p:r,$id:A,$onAction:Dl.bind(null,f),$patch:U,$reset:p,$subscribe(b,v={}){const T=Dl(u,b,v.detached,()=>AA()),AA=i.run(()=>oe(()=>r.state.value[A],K=>{(v.flush==="sync"?l:c)&&b({storeId:A,type:zr.direct,events:B},K)},ut({},a,v)));return T},$dispose:C},E=Er(y);r._s.set(A,E);const L=(r._a&&r._a.runWithContext||ww)(()=>r._e.run(()=>(i=Su()).run(e)));for(const b in L){const v=L[b];if(kA(v)&&!Cw(v)||et(v))s||(g&&Qw(v)&&(kA(v)?v.value=g[b]:vo(v,g[b])),r.state.value[A][b]=v);else if(typeof v=="function"){const T=F(b,v);L[b]=T,o.actions[b]=v}}return ut(E,L),ut(rA(E),L),Object.defineProperty(E,"$state",{get:()=>r.state.value[A],set:b=>{U(v=>{ut(v,b)})}}),r._p.forEach(b=>{ut(E,i.run(()=>b({store:E,app:r._a,pinia:r,options:o})))}),g&&s&&t.hydrate&&t.hydrate(E.$state,g),c=!0,l=!0,E}function Uw(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=ad();return o=o||(c?KA(Kf,null):null),o&&ii(o),o=Tf,o._s.has(r)||(s?Df(r,e,n,o):Fw(r,n,o)),o._s.get(r)}return i.$id=r,i}function mw(A){{A=rA(A);const e={};for(const t in A){const r=A[t];(kA(r)||et(r))&&(e[t]=Fh(A,t))}return e}}/*! + * vue-router v4.2.5 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const lr=typeof window<"u";function vw(A){return A.__esModule||A[Symbol.toStringTag]==="Module"}const CA=Object.assign;function Ti(A,e){const t={};for(const r in e){const n=e[r];t[r]=Re(n)?n.map(A):A(n)}return t}const qr=()=>{},Re=Array.isArray,Ew=/\/$/,yw=A=>A.replace(Ew,"");function Ki(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=xw(r??e,t),{fullPath:r+(s&&"?")+s+i,path:r,query:n,hash:i}}function bw(A,e){const t=e.query?A(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Rl(A,e){return!e||!A.toLowerCase().startsWith(e.toLowerCase())?A:A.slice(e.length)||"/"}function Hw(A,e,t){const r=e.matched.length-1,n=t.matched.length-1;return r>-1&&r===n&&Cr(e.matched[r],t.matched[n])&&Rf(e.params,t.params)&&A(e.query)===A(t.query)&&e.hash===t.hash}function Cr(A,e){return(A.aliasOf||A)===(e.aliasOf||e)}function Rf(A,e){if(Object.keys(A).length!==Object.keys(e).length)return!1;for(const t in A)if(!Iw(A[t],e[t]))return!1;return!0}function Iw(A,e){return Re(A)?Ol(A,e):Re(e)?Ol(e,A):A===e}function Ol(A,e){return Re(e)?A.length===e.length&&A.every((t,r)=>t===e[r]):A.length===1&&A[0]===e}function xw(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 Bn;(function(A){A.pop="pop",A.push="push"})(Bn||(Bn={}));var An;(function(A){A.back="back",A.forward="forward",A.unknown=""})(An||(An={}));function Lw(A){if(!A)if(lr){const e=document.querySelector("base");A=e&&e.getAttribute("href")||"/",A=A.replace(/^\w+:\/\/[^\/]+/,"")}else A="/";return A[0]!=="/"&&A[0]!=="#"&&(A="/"+A),yw(A)}const Sw=/^[^#]+#/;function Tw(A,e){return A.replace(Sw,"#")+e}function Kw(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 oi=()=>({left:window.pageXOffset,top:window.pageYOffset});function _w(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=Kw(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 kl(A,e){return(history.state?history.state.position-e:-1)+A}const Eo=new Map;function Dw(A,e){Eo.set(A,e)}function Rw(A){const e=Eo.get(A);return Eo.delete(A),e}let Ow=()=>location.protocol+"//"+location.host;function Of(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),Rl(a,"")}return Rl(t,A)+r+n}function kw(A,e,t,r){let n=[],s=[],i=null;const o=({state:f})=>{const B=Of(A,location),g=t.value,d=e.value;let U=0;if(f){if(t.value=B,e.value=f,i&&i===g){i=null;return}U=d?f.position-d.position:0}else r(B);n.forEach(p=>{p(t.value,g,{delta:U,type:Bn.pop,direction:U?U>0?An.forward:An.back:An.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:oi()}),"")}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 Ml(A,e,t,r=!1,n=!1){return{back:A,current:e,forward:t,replaced:r,position:window.history.length,scroll:n?oi():null}}function Mw(A){const{history:e,location:t}=window,r={value:Of(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:Ow()+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,Ml(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:oi()});s(l.current,l,!0);const u=CA({},Ml(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 Pw(A){A=Lw(A);const e=Mw(A),t=kw(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:Tw.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 Nw(A){return typeof A=="string"||A&&typeof A=="object"}function kf(A){return typeof A=="string"||typeof A=="symbol"}const ct={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Mf=Symbol("");var Pl;(function(A){A[A.aborted=4]="aborted",A[A.cancelled=8]="cancelled",A[A.duplicated=16]="duplicated"})(Pl||(Pl={}));function Fr(A,e){return CA(new Error,{type:A,[Mf]:!0},e)}function je(A,e){return A instanceof Error&&Mf in A&&(e==null||!!(A.type&e))}const Nl="[^/]+?",Vw={sensitive:!1,strict:!1,start:!0,end:!0},Gw=/[.+*?^${}()[\]/\\]/g;function $w(A,e){const t=CA({},Vw,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 Jw(A,e){let t=0;const r=A.score,n=e.score;for(;t0&&e[e.length-1]<0}const Ww={type:0,value:""},Yw=/[a-zA-Z0-9_]/;function jw(A){if(!A)return[[]];if(A==="/")return[[Ww]];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)}:qr}function i(l){if(kf(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||!Pf(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,d;if("name"in l&&l.name){if(f=r.get(l.name),!f)throw Fr(1,{location:l});d=f.record.name,B=CA(Gl(u.params,f.keys.filter(C=>!C.optional).map(C=>C.name)),l.params&&Gl(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),d=f.record.name);else{if(f=u.name?r.get(u.name):t.find(C=>C.re.test(u.path)),!f)throw Fr(1,{location:l,currentLocation:u});d=f.record.name,B=CA({},u.params,l.params),g=f.stringify(B)}const U=[];let p=f;for(;p;)U.unshift(p.record),p=p.parent;return{name:d,path:g,params:B,matched:U,meta:ep(U)}}return A.forEach(l=>s(l)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:o,getRecordMatcher:n}}function Gl(A,e){const t={};for(const r of e)r in A&&(t[r]=A[r]);return t}function qw(A){return{path:A.path,redirect:A.redirect,name:A.name,meta:A.meta||{},aliasOf:void 0,beforeEnter:A.beforeEnter,props:Ap(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 Ap(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 ep(A){return A.reduce((e,t)=>CA(e,t.meta),{})}function Xl(A,e){const t={};for(const r in A)t[r]=r in e?e[r]:A[r];return t}function Pf(A,e){return e.children.some(t=>t===A||Pf(A,t))}const Nf=/#/g,tp=/&/g,rp=/\//g,np=/=/g,sp=/\?/g,Vf=/\+/g,ip=/%5B/g,op=/%5D/g,Gf=/%5E/g,ap=/%60/g,$f=/%7B/g,lp=/%7C/g,Xf=/%7D/g,cp=/%20/g;function ya(A){return encodeURI(""+A).replace(lp,"|").replace(ip,"[").replace(op,"]")}function up(A){return ya(A).replace($f,"{").replace(Xf,"}").replace(Gf,"^")}function yo(A){return ya(A).replace(Vf,"%2B").replace(cp,"+").replace(Nf,"%23").replace(tp,"%26").replace(ap,"`").replace($f,"{").replace(Xf,"}").replace(Gf,"^")}function fp(A){return yo(A).replace(np,"%3D")}function Bp(A){return ya(A).replace(Nf,"%23").replace(sp,"%3F")}function gp(A){return A==null?"":Bp(A).replace(rp,"%2F")}function Es(A){try{return decodeURIComponent(""+A)}catch{}return""+A}function hp(A){const e={};if(A===""||A==="?")return e;const r=(A[0]==="?"?A.slice(1):A).split("&");for(let n=0;ns&&yo(s)):[r&&yo(r)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function dp(A){const e={};for(const t in A){const r=A[t];r!==void 0&&(e[t]=Re(r)?r.map(n=>n==null?null:""+n):r==null?r:""+r)}return e}const wp=Symbol(""),Wl=Symbol(""),ba=Symbol(""),Jf=Symbol(""),bo=Symbol("");function Sr(){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 pt(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(Fr(4,{from:t,to:e})):u instanceof Error?o(u):Nw(u)?o(Fr(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 _i(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(pp(o)){const c=(o.__vccOpts||o)[e];c&&n.push(pt(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=vw(c)?c.default:c;s.components[i]=l;const f=(l.__vccOpts||l)[e];return f&&pt(f,t,r,s,i)()}))}}return n}function pp(A){return typeof A=="object"||"displayName"in A||"props"in A||"__vccOpts"in A}function Yl(A){const e=KA(ba),t=KA(Jf),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(Cr.bind(null,l));if(f>-1)return f;const B=jl(a[c-2]);return c>1&&jl(l)===B&&u[u.length-1].path!==B?u.findIndex(Cr.bind(null,a[c-2])):f}),s=J(()=>n.value>-1&&Up(t.params,r.value.params)),i=J(()=>n.value>-1&&n.value===t.matched.length-1&&Rf(t.params,r.value.params));function o(a={}){return Fp(a)?e[bA(A.replace)?"replace":"push"](bA(A.to)).catch(qr):Promise.resolve()}return{route:r,href:J(()=>r.value.href),isActive:s,isExactActive:i,navigate:o}}const Qp=_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:Yl,setup(A,{slots:e}){const t=Er(Yl(A)),{options:r}=KA(ba),n=J(()=>({[Zl(A.activeClass,r.linkActiveClass,"router-link-active")]:t.isActive,[Zl(A.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&e.default(t);return A.custom?s:PA("a",{"aria-current":t.isExactActive?A.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:n.value},s)}}}),Cp=Qp;function Fp(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 Up(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(!Re(n)||n.length!==r.length||r.some((s,i)=>s!==n[i]))return!1}return!0}function jl(A){return A?A.aliasOf?A.aliasOf.path:A.path:""}const Zl=(A,e,t)=>A??e??t,mp=_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(bo),n=J(()=>A.route||r.value),s=KA(Wl,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(Wl,J(()=>i.value+1)),ue(wp,o),ue(bo,n);const a=z();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||!Cr(l,B)||!f)&&(l.enterCallbacks[u]||[]).forEach(d=>d(c))},{flush:"post"}),()=>{const c=n.value,l=A.name,u=o.value,f=u&&u.components[l];if(!f)return zl(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=PA(f,CA({},g,e,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(u.instances[l]=null)},ref:a}));return zl(t.default,{Component:U,route:c})||U}}});function zl(A,e){if(!A)return null;const t=A(e);return t.length===1?t[0]:t}const Wf=mp;function vp(A){const e=zw(A.routes,A),t=A.parseQuery||hp,r=A.stringifyQuery||Jl,n=A.history,s=Sr(),i=Sr(),o=Sr(),a=ju(ct);let c=ct;lr&&A.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Ti.bind(null,H=>""+H),u=Ti.bind(null,gp),f=Ti.bind(null,Es);function B(H,G){let k,Y;return kf(H)?(k=e.getRecordMatcher(H),Y=G):Y=H,e.addRoute(Y,k)}function g(H){const G=e.getRecordMatcher(H);G&&e.removeRoute(G)}function d(){return e.getRoutes().map(H=>H.record)}function U(H){return!!e.getRecordMatcher(H)}function p(H,G){if(G=CA({},G||a.value),typeof H=="string"){const w=Ki(t,H,G.path),m=e.resolve({path:w.path},G),x=n.createHref(w.fullPath);return CA(w,m,{params:f(m.params),hash:Es(w.hash),redirectedFrom:void 0,href:x})}let k;if("path"in H)k=CA({},H,{path:Ki(t,H.path,G.path).path});else{const w=CA({},H.params);for(const m in w)w[m]==null&&delete w[m];k=CA({},H,{params:u(w)}),G.params=u(G.params)}const Y=e.resolve(k,G),dA=H.hash||"";Y.params=l(f(Y.params));const xA=bw(r,CA({},H,{hash:up(dA),path:Y.path})),h=n.createHref(xA);return CA({fullPath:xA,hash:dA,query:r===Jl?dp(H.query):H.query||{}},Y,{redirectedFrom:void 0,href:h})}function C(H){return typeof H=="string"?Ki(t,H,a.value.path):CA({},H)}function F(H,G){if(c!==H)return Fr(8,{from:G,to:H})}function y(H){return L(H)}function E(H){return y(CA(C(H),{replace:!0}))}function Q(H){const G=H.matched[H.matched.length-1];if(G&&G.redirect){const{redirect:k}=G;let Y=typeof k=="function"?k(H):k;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,G){const k=c=p(H),Y=a.value,dA=H.state,xA=H.force,h=H.replace===!0,w=Q(k);if(w)return L(CA(C(w),{state:typeof w=="object"?CA({},dA,w.state):dA,force:xA,replace:h}),G||k);const m=k;m.redirectedFrom=G;let x;return!xA&&Hw(r,Y,k)&&(x=Fr(16,{to:m,from:Y}),nA(Y,Y,!0,!1)),(x?Promise.resolve(x):T(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:h},C(I.to),{state:typeof I.to=="object"?CA({},dA,I.to.state):dA,force:xA}),G||m)}else I=K(m,Y,!0,h,dA);return AA(m,Y,I),I})}function b(H,G){const k=F(H,G);return k?Promise.reject(k):Promise.resolve()}function v(H){const G=yA.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(H):H()}function T(H,G){let k;const[Y,dA,xA]=Ep(H,G);k=_i(Y.reverse(),"beforeRouteLeave",H,G);for(const w of Y)w.leaveGuards.forEach(m=>{k.push(pt(m,H,G))});const h=b.bind(null,H,G);return k.push(h),UA(k).then(()=>{k=[];for(const w of s.list())k.push(pt(w,H,G));return k.push(h),UA(k)}).then(()=>{k=_i(dA,"beforeRouteUpdate",H,G);for(const w of dA)w.updateGuards.forEach(m=>{k.push(pt(m,H,G))});return k.push(h),UA(k)}).then(()=>{k=[];for(const w of xA)if(w.beforeEnter)if(Re(w.beforeEnter))for(const m of w.beforeEnter)k.push(pt(m,H,G));else k.push(pt(w.beforeEnter,H,G));return k.push(h),UA(k)}).then(()=>(H.matched.forEach(w=>w.enterCallbacks={}),k=_i(xA,"beforeRouteEnter",H,G),k.push(h),UA(k))).then(()=>{k=[];for(const w of i.list())k.push(pt(w,H,G));return k.push(h),UA(k)}).catch(w=>je(w,8)?w:Promise.reject(w))}function AA(H,G,k){o.list().forEach(Y=>v(()=>Y(H,G,k)))}function K(H,G,k,Y,dA){const xA=F(H,G);if(xA)return xA;const h=G===ct,w=lr?history.state:{};k&&(Y||h?n.replace(H.fullPath,CA({scroll:h&&w&&w.scroll},dA)):n.push(H.fullPath,dA)),a.value=H,nA(H,G,k,h),MA()}let O;function aA(){O||(O=n.listen((H,G,k)=>{if(!JA.listening)return;const Y=p(H),dA=Q(Y);if(dA){L(CA(dA,{replace:!0}),Y).catch(qr);return}c=Y;const xA=a.value;lr&&Dw(kl(xA.fullPath,k.delta),oi()),T(Y,xA).catch(h=>je(h,12)?h:je(h,2)?(L(h.to,Y).then(w=>{je(w,20)&&!k.delta&&k.type===Bn.pop&&n.go(-1,!1)}).catch(qr),Promise.reject()):(k.delta&&n.go(-k.delta,!1),lA(h,Y,xA))).then(h=>{h=h||K(Y,xA,!1),h&&(k.delta&&!je(h,8)?n.go(-k.delta,!1):k.type===Bn.pop&&je(h,20)&&n.go(-1,!1)),AA(Y,xA,h)}).catch(qr)}))}let gA=Sr(),W=Sr(),tA;function lA(H,G,k){MA(H);const Y=W.list();return Y.length?Y.forEach(dA=>dA(H,G,k)):console.error(H),Promise.reject(H)}function TA(){return tA&&a.value!==ct?Promise.resolve():new Promise((H,G)=>{gA.add([H,G])})}function MA(H){return tA||(tA=!H,aA(),gA.list().forEach(([G,k])=>H?k(H):G()),gA.reset()),H}function nA(H,G,k,Y){const{scrollBehavior:dA}=A;if(!lr||!dA)return Promise.resolve();const xA=!k&&Rw(kl(H.fullPath,0))||(Y||!k)&&history.state&&history.state.scroll||null;return _e().then(()=>dA(H,G,xA)).then(h=>h&&_w(h)).catch(h=>lA(h,H,G))}const sA=H=>n.go(H);let QA;const yA=new Set,JA={currentRoute:a,listening:!0,addRoute:B,removeRoute:g,hasRoute:U,getRoutes:d,resolve:p,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 G=this;H.component("RouterLink",Cp),H.component("RouterView",Wf),H.config.globalProperties.$router=G,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>bA(a)}),lr&&!QA&&a.value===ct&&(QA=!0,y(n.location).catch(dA=>{}));const k={};for(const dA in ct)Object.defineProperty(k,dA,{get:()=>a.value[dA],enumerable:!0});H.provide(ba,G),H.provide(Jf,$u(k)),H.provide(bo,a);const Y=H.unmount;yA.add(H),H.unmount=function(){yA.delete(H),yA.size<1&&(c=ct,O&&O(),O=null,a.value=ct,QA=!1,tA=!1),Y()}}};function UA(H){return H.reduce((G,k)=>G.then(()=>v(k)),Promise.resolve())}return JA}function Ep(A,e){const t=[],r=[],n=[],s=Math.max(e.matched.length,A.matched.length);for(let i=0;iCr(c,o))?r.push(o):t.push(o));const a=A.matched[i];a&&(e.matched.find(c=>Cr(c,a))||n.push(a))}return[t,r,n]}const yp="/assets/logo-gES3P5SW.png",ai=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},bp={},Hp={class:"top-0 left-0 flex flex-col items-center w-screen"},Ip={class:"flex items-center justify-between w-full px-6 py-2"},xp=X("img",{src:yp,alt:"玉桃文飨轩",width:"50",height:"50"},null,-1),Lp=X("h1",{class:"text-xl font-bold rainbow-text"},"玉桃文飨轩",-1),Sp={class:"flex flex-row items-center justify-center space-x-6"},Tp={class:"social-link",target:"_blank",rel:"noopener",href:"https://x.com/MarshalXuan",title:"轩帅(MarshalXuan) @ X.com"},Kp={"aria-hidden":"true",class:"w-6 h-6",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",style:{"--sl-icon-size":"1em"}},_p=X("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),Dp=[_p],Rp=X("svg",{viewBox:"0 0 16 16",fill:"#131313",class:"w-6 h-6"},[X("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),Op=[Rp];function kp(A,e){const t=Sh("RouterLink");return ie(),Je("header",Hp,[X("nav",Ip,[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(()=>[xp,Lp]),_:1}),X("div",Sp,[uA(t,{to:"/about",class:"text-lg"},{default:ge(()=>[ri("关于")]),_:1}),X("a",Tp,[(ie(),Je("svg",Kp,Dp))]),X("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"))},Op)])])])}const Mp=ai(bp,[["render",kp]]),Pp=_A({__name:"App",setup(A){return(e,t)=>(ie(),Je(re,null,[uA(Mp),uA(bA(Wf))],64))}}),Np="modulepreload",Vp=function(A){return"/"+A},ql={},Yf=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=Vp(i),i in ql)return;ql[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":Np,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 Ha(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let qt=Ha();function jf(A){qt=A}const Zf=/[&<>"']/,Gp=new RegExp(Zf.source,"g"),zf=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,$p=new RegExp(zf.source,"g"),Xp={"&":"&","<":"<",">":">",'"':""","'":"'"},Ac=A=>Xp[A];function Ue(A,e){if(e){if(Zf.test(A))return A.replace(Gp,Ac)}else if(zf.test(A))return A.replace($p,Ac);return A}const Jp=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Wp(A){return A.replace(Jp,(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 Yp=/(^|[^\[])\^/g;function pA(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(Yp,"$1"),A=A.replace(r,n),t),getRegex:()=>new RegExp(A,e)};return t}function ec(A){try{A=encodeURI(A).replace(/%25/g,"%")}catch{return null}return A}const ys={exec:()=>null};function tc(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 bs{options;rules;lexer;constructor(e){this.options=e||qt}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:Tn(r,` +`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const r=t[0],n=Zp(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=Tn(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=Tn(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+/,p=>" ".repeat(3*p.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+` +`,e=e.substring(f.length+1),l=!0),!l){const p=new RegExp(`^ {0,${Math.min(3,B-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),C=new RegExp(`^ {0,${Math.min(3,B-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),F=new RegExp(`^ {0,${Math.min(3,B-1)}}(?:\`\`\`|~~~)`),y=new RegExp(`^ {0,${Math.min(3,B-1)}}#`);for(;e;){const E=e.split(` +`,1)[0];if(f=E,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),F.test(f)||y.test(f)||p.test(f)||C.test(e))break;if(f.search(/[^ ]/)>=B||!f.trim())a+=` +`+f.slice(B);else{if(g||u.search(/[^ ]/)>=4||F.test(u)||y.test(u)||C.test(u))break;a+=` +`+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 d=null,U;this.options.gfm&&(d=/^\[[ xX]\] /.exec(a),d&&(U=d[0]!=="[ ] ",a=a.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:o,task:!!d,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:tc(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=Tn(r.slice(0,-1),"\\");if((r.length-i.length)%2===0)return}else{const i=jp(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)),rc(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 rc(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 d=B.slice(1,-1);return{type:"em",raw:B,text:d,tokens:this.lexer.inlineTokens(d)}}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=Ue(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=Ue(t[1]),n="mailto:"+r):(r=Ue(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=Ue(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=Ue(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=Ue(t[0]),{type:"text",raw:t[0],text:r}}}}const j={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:ys,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]+/};j._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;j._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;j.def=pA(j.def).replace("label",j._label).replace("title",j._title).getRegex();j.bullet=/(?:[*+-]|\d{1,9}[.)])/;j.listItemStart=pA(/^( *)(bull) */).replace("bull",j.bullet).getRegex();j.list=pA(j.list).replace(/bull/g,j.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+j.def.source+")").getRegex();j._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";j._comment=/|$)/;j.html=pA(j.html,"i").replace("comment",j._comment).replace("tag",j._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();j.lheading=pA(j.lheading).replace(/bull/g,j.bullet).getRegex();j.paragraph=pA(j._paragraph).replace("hr",j.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",j._tag).getRegex();j.blockquote=pA(j.blockquote).replace("paragraph",j.paragraph).getRegex();j.normal={...j};j.gfm={...j.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};j.gfm.table=pA(j.gfm.table).replace("hr",j.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",j._tag).getRegex();j.gfm.paragraph=pA(j._paragraph).replace("hr",j.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",j.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",j._tag).getRegex();j.pedantic={...j.normal,html:pA(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",j._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:ys,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:pA(j.normal._paragraph).replace("hr",j.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",j.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const N={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ys,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:ys,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~";N.punctuation=pA(N.punctuation,"u").replace(/punctuation/g,N._punctuation).getRegex();N.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;N.anyPunctuation=/\\[punct]/g;N._escapes=/\\([punct])/g;N._comment=pA(j._comment).replace("(?:-->|$)","-->").getRegex();N.emStrong.lDelim=pA(N.emStrong.lDelim,"u").replace(/punct/g,N._punctuation).getRegex();N.emStrong.rDelimAst=pA(N.emStrong.rDelimAst,"gu").replace(/punct/g,N._punctuation).getRegex();N.emStrong.rDelimUnd=pA(N.emStrong.rDelimUnd,"gu").replace(/punct/g,N._punctuation).getRegex();N.anyPunctuation=pA(N.anyPunctuation,"gu").replace(/punct/g,N._punctuation).getRegex();N._escapes=pA(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=pA(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=pA(N.tag).replace("comment",N._comment).replace("attribute",N._attribute).getRegex();N._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;N._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;N._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;N.link=pA(N.link).replace("label",N._label).replace("href",N._href).replace("title",N._title).getRegex();N.reflink=pA(N.reflink).replace("label",N._label).replace("ref",j._label).getRegex();N.nolink=pA(N.nolink).replace("ref",j._label).getRegex();N.reflinkSearch=pA(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:pA(/^!?\[(label)\]\((.*?)\)/).replace("label",N._label).getRegex(),reflink:pA(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",N._label).getRegex()};N.gfm={...N.normal,escape:pA(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+=` +`+r.raw,n.text+=` +`+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(r=this.tokenizer.fences(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length),n=t[t.length-1],n&&(n.type==="paragraph"||n.type==="text")?(n.raw+=` +`+r.raw,n.text+=` +`+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(s=e,this.options.extensions&&this.options.extensions.startBlock){let o=1/0;const a=e.slice(1);let c;this.options.extensions.startBlock.forEach(l=>{c=l.call({lexer:this},a),typeof c=="number"&&c>=0&&(o=Math.min(o,c))}),o<1/0&&o>=0&&(s=e.substring(0,o+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){n=t[t.length-1],i&&n.type==="paragraph"?(n.raw+=` +`+r.raw,n.text+=` +`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),i=s.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length),n=t[t.length-1],n&&n.type==="text"?(n.raw+=` +`+r.raw,n.text+=` +`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(e){const o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r,n,s,i=e,o,a,c;if(this.tokens.links){const l=Object.keys(this.tokens.links);if(l.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(i))!=null;)l.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.blockSkip.exec(i))!=null;)i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(i))!=null;)i=i.slice(0,o.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(c=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(l=>(r=l.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))){if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),n=t[t.length-1],n&&r.type==="text"&&n.type==="text"?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length),n=t[t.length-1],n&&r.type==="text"&&n.type==="text"?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(e,i,c)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(e)){e=e.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}if(s=e,this.options.extensions&&this.options.extensions.startInline){let l=1/0;const u=e.slice(1);let f;this.options.extensions.startInline.forEach(B=>{f=B.call({lexer:this},u),typeof f=="number"&&f>=0&&(l=Math.min(l,f))}),l<1/0&&l>=0&&(s=e.substring(0,l+1))}if(r=this.tokenizer.inlineText(s)){e=e.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(c=r.raw.slice(-1)),a=!0,n=t[t.length-1],n&&n.type==="text"?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){const l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return t}}class Hs{options;constructor(e){this.options=e||qt}code(e,t,r){var s;const n=(s=(t||"").match(/^\S*/))==null?void 0:s[0];return e=e.replace(/\n$/,"")+` +`,n?'
'+(r?e:Ue(e,!0))+`
+`:"
"+(r?e:Ue(e,!0))+`
+`}blockquote(e){return`
+${e}
+`}html(e,t){return e}heading(e,t,r){return`${e} +`}hr(){return`
+`}list(e,t,r){const n=t?"ol":"ul",s=t&&r!==1?' start="'+r+'"':"";return"<"+n+s+`> +`+e+" +`}listitem(e,t,r){return`
  • ${e}
  • +`}checkbox(e){return"'}paragraph(e){return`

    ${e}

    +`}table(e,t){return t&&(t=`${t}`),` + +`+e+` +`+t+`
    +`}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=ec(e);if(n===null)return r;e=n;let s='",s}image(e,t,r){const n=ec(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+" "}):d+=U+" "}d+=this.parse(f.tokens,c),l+=this.renderer.listitem(d,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 Hs(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 bs(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 fs;for(const i in r.hooks){const o=r.hooks[i],a=i,c=s[a];fs.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 Ge.lex(e,t??this.defaults)}parser(e,t){return $e.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:

    "+Ue(r.message+"",!0)+"
    ";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}}const jt=new zp;function FA(A,e){return jt.parse(A,e)}FA.options=FA.setOptions=function(A){return jt.setOptions(A),FA.defaults=jt.defaults,jf(FA.defaults),FA};FA.getDefaults=Ha;FA.defaults=qt;FA.use=function(...A){return jt.use(...A),FA.defaults=jt.defaults,jf(FA.defaults),FA};FA.walkTokens=function(A,e){return jt.walkTokens(A,e)};FA.parseInline=jt.parseInline;FA.Parser=$e;FA.parser=$e.parse;FA.Renderer=Hs;FA.TextRenderer=Ia;FA.Lexer=Ge;FA.lexer=Ge.lex;FA.Tokenizer=bs;FA.Hooks=fs;FA.parse=FA;FA.options;FA.setOptions;FA.use;FA.walkTokens;FA.parseInline;const qp=FA;$e.parse;Ge.lex;function AQ(A,e){if(A.match(/^[a-z]+:\/\//i))return A;if(A.match(/^\/\//))return window.location.protocol+A;if(A.match(/^[a-z]+:/i))return A;const t=document.implementation.createHTMLDocument(),r=t.createElement("base"),n=t.createElement("a");return t.head.appendChild(r),t.body.appendChild(n),e&&(r.href=e),n.href=A,n.href}const eQ=(()=>{let A=0;const e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(A+=1,`u${e()}${A}`)})();function tt(A){const e=[];for(let t=0,r=A.length;tQe||A.height>Qe)&&(A.width>Qe&&A.height>Qe?A.width>A.height?(A.height*=Qe/A.width,A.width=Qe):(A.width*=Qe/A.height,A.height=Qe):A.width>Qe?(A.height*=Qe/A.width,A.width=Qe):(A.width*=Qe/A.height,A.height=Qe))}function iQ(A,e={}){return A.toBlob?new Promise(t=>{A.toBlob(t,e.type?e.type:"image/png",e.quality?e.quality:1)}):new Promise(t=>{const r=window.atob(A.toDataURL(e.type?e.type:void 0,e.quality?e.quality:void 0).split(",")[1]),n=r.length,s=new Uint8Array(n);for(let i=0;i{const r=new Image;r.decode=()=>e(r),r.onload=()=>e(r),r.onerror=t,r.crossOrigin="anonymous",r.decoding="async",r.src=A})}async function oQ(A){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(A)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function aQ(A,e,t){const r="http://www.w3.org/2000/svg",n=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return n.setAttribute("width",`${e}`),n.setAttribute("height",`${t}`),n.setAttribute("viewBox",`0 0 ${e} ${t}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),n.appendChild(s),s.appendChild(A),oQ(n)}const he=(A,e)=>{if(A instanceof e)return!0;const t=Object.getPrototypeOf(A);return t===null?!1:t.constructor.name===e.name||he(t,e)};function lQ(A){const e=A.getPropertyValue("content");return`${A.cssText} content: '${e.replace(/'|"/g,"")}';`}function cQ(A){return tt(A).map(e=>{const t=A.getPropertyValue(e),r=A.getPropertyPriority(e);return`${e}: ${t}${r?" !important":""};`}).join(" ")}function uQ(A,e,t){const r=`.${A}:${e}`,n=t.cssText?lQ(t):cQ(t);return document.createTextNode(`${r}{${n}}`)}function nc(A,e,t){const r=window.getComputedStyle(A,t),n=r.getPropertyValue("content");if(n===""||n==="none")return;const s=eQ();try{e.className=`${e.className} ${s}`}catch{return}const i=document.createElement("style");i.appendChild(uQ(s,t,r)),e.appendChild(i)}function fQ(A,e){nc(A,e,":before"),nc(A,e,":after")}const sc="application/font-woff",ic="image/jpeg",BQ={woff:sc,woff2:sc,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:ic,jpeg:ic,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function gQ(A){const e=/\.([^./]*?)$/g.exec(A);return e?e[1]:""}function xa(A){const e=gQ(A).toLowerCase();return BQ[e]||""}function hQ(A){return A.split(/,/)[1]}function Ho(A){return A.search(/^(data:)/)!==-1}function AB(A,e){return`data:${e};base64,${A}`}async function eB(A,e,t){const r=await fetch(A,e);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const n=await r.blob();return new Promise((s,i)=>{const o=new FileReader;o.onerror=i,o.onloadend=()=>{try{s(t({res:r,result:o.result}))}catch(a){i(a)}},o.readAsDataURL(n)})}const Di={};function dQ(A,e,t){let r=A.replace(/\?.*/,"");return t&&(r=A),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),e?`[${e}]${r}`:r}async function La(A,e,t){const r=dQ(A,e,t.includeQueryParams);if(Di[r]!=null)return Di[r];t.cacheBust&&(A+=(/\?/.test(A)?"&":"?")+new Date().getTime());let n;try{const s=await eB(A,t.fetchRequestInit,({res:i,result:o})=>(e||(e=i.headers.get("Content-Type")||""),hQ(o)));n=AB(s,e)}catch(s){n=t.imagePlaceholder||"";let i=`Failed to fetch resource: ${A}`;s&&(i=typeof s=="string"?s:s.message),i&&console.warn(i)}return Di[r]=n,n}async function wQ(A){const e=A.toDataURL();return e==="data:,"?A.cloneNode(!1):xs(e)}async function pQ(A,e){if(A.currentSrc){const s=document.createElement("canvas"),i=s.getContext("2d");s.width=A.clientWidth,s.height=A.clientHeight,i==null||i.drawImage(A,0,0,s.width,s.height);const o=s.toDataURL();return xs(o)}const t=A.poster,r=xa(t),n=await La(t,r,e);return xs(n)}async function QQ(A){var e;try{if(!((e=A==null?void 0:A.contentDocument)===null||e===void 0)&&e.body)return await li(A.contentDocument.body,{},!0)}catch{}return A.cloneNode(!1)}async function CQ(A,e){return he(A,HTMLCanvasElement)?wQ(A):he(A,HTMLVideoElement)?pQ(A,e):he(A,HTMLIFrameElement)?QQ(A):A.cloneNode(!1)}const FQ=A=>A.tagName!=null&&A.tagName.toUpperCase()==="SLOT";async function UQ(A,e,t){var r,n;let s=[];return FQ(A)&&A.assignedNodes?s=tt(A.assignedNodes()):he(A,HTMLIFrameElement)&&(!((r=A.contentDocument)===null||r===void 0)&&r.body)?s=tt(A.contentDocument.body.childNodes):s=tt(((n=A.shadowRoot)!==null&&n!==void 0?n:A).childNodes),s.length===0||he(A,HTMLVideoElement)||await s.reduce((i,o)=>i.then(()=>li(o,t)).then(a=>{a&&e.appendChild(a)}),Promise.resolve()),e}function mQ(A,e){const t=e.style;if(!t)return;const r=window.getComputedStyle(A);r.cssText?(t.cssText=r.cssText,t.transformOrigin=r.transformOrigin):tt(r).forEach(n=>{let s=r.getPropertyValue(n);n==="font-size"&&s.endsWith("px")&&(s=`${Math.floor(parseFloat(s.substring(0,s.length-2)))-.1}px`),he(A,HTMLIFrameElement)&&n==="display"&&s==="inline"&&(s="block"),n==="d"&&e.getAttribute("d")&&(s=`path(${e.getAttribute("d")})`),t.setProperty(n,s,r.getPropertyPriority(n))})}function vQ(A,e){he(A,HTMLTextAreaElement)&&(e.innerHTML=A.value),he(A,HTMLInputElement)&&e.setAttribute("value",A.value)}function EQ(A,e){if(he(A,HTMLSelectElement)){const t=e,r=Array.from(t.children).find(n=>A.value===n.getAttribute("value"));r&&r.setAttribute("selected","")}}function yQ(A,e){return he(e,Element)&&(mQ(A,e),fQ(A,e),vQ(A,e),EQ(A,e)),e}async function bQ(A,e){const t=A.querySelectorAll?A.querySelectorAll("use"):[];if(t.length===0)return A;const r={};for(let s=0;sCQ(r,e)).then(r=>UQ(A,r,e)).then(r=>yQ(A,r)).then(r=>bQ(r,e))}const tB=/url\((['"]?)([^'"]+?)\1\)/g,HQ=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,IQ=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function xQ(A){const e=A.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function LQ(A){const e=[];return A.replace(tB,(t,r,n)=>(e.push(n),t)),e.filter(t=>!Ho(t))}async function SQ(A,e,t,r,n){try{const s=t?AQ(e,t):e,i=xa(e);let o;if(n){const a=await n(s);o=AB(a,i)}else o=await La(s,i,r);return A.replace(xQ(e),`$1${o}$3`)}catch{}return A}function TQ(A,{preferredFontFormat:e}){return e?A.replace(IQ,t=>{for(;;){const[r,,n]=HQ.exec(t)||[];if(!n)return"";if(n===e)return`src: ${r};`}}):A}function rB(A){return A.search(tB)!==-1}async function nB(A,e,t){if(!rB(A))return A;const r=TQ(A,t);return LQ(r).reduce((s,i)=>s.then(o=>SQ(o,i,e,t)),Promise.resolve(r))}async function Kn(A,e,t){var r;const n=(r=e.style)===null||r===void 0?void 0:r.getPropertyValue(A);if(n){const s=await nB(n,null,t);return e.style.setProperty(A,s,e.style.getPropertyPriority(A)),!0}return!1}async function KQ(A,e){await Kn("background",A,e)||await Kn("background-image",A,e),await Kn("mask",A,e)||await Kn("mask-image",A,e)}async function _Q(A,e){const t=he(A,HTMLImageElement);if(!(t&&!Ho(A.src))&&!(he(A,SVGImageElement)&&!Ho(A.href.baseVal)))return;const r=t?A.src:A.href.baseVal,n=await La(r,xa(r),e);await new Promise((s,i)=>{A.onload=s,A.onerror=i;const o=A;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),t?(A.srcset="",A.src=n):A.href.baseVal=n})}async function DQ(A,e){const r=tt(A.childNodes).map(n=>sB(n,e));await Promise.all(r).then(()=>A)}async function sB(A,e){he(A,Element)&&(await KQ(A,e),await _Q(A,e),await DQ(A,e))}function RQ(A,e){const{style:t}=A;e.backgroundColor&&(t.backgroundColor=e.backgroundColor),e.width&&(t.width=`${e.width}px`),e.height&&(t.height=`${e.height}px`);const r=e.style;return r!=null&&Object.keys(r).forEach(n=>{t[n]=r[n]}),A}const oc={};async function ac(A){let e=oc[A];if(e!=null)return e;const r=await(await fetch(A)).text();return e={url:A,cssText:r},oc[A]=e,e}async function lc(A,e){let t=A.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(t.match(/url\([^)]+\)/g)||[]).map(async i=>{let o=i.replace(r,"$1");return o.startsWith("https://")||(o=new URL(o,A.url).href),eB(o,e.fetchRequestInit,({result:a})=>(t=t.replace(i,`url(${a})`),[i,a]))});return Promise.all(s).then(()=>t)}function cc(A){if(A==null)return[];const e=[],t=/(\/\*[\s\S]*?\*\/)/gi;let r=A.replace(t,"");const n=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const a=n.exec(r);if(a===null)break;e.push(a[0])}r=r.replace(n,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(i,"gi");for(;;){let a=s.exec(r);if(a===null){if(a=o.exec(r),a===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;e.push(a[0])}return e}async function OQ(A,e){const t=[],r=[];return A.forEach(n=>{if("cssRules"in n)try{tt(n.cssRules||[]).forEach((s,i)=>{if(s.type===CSSRule.IMPORT_RULE){let o=i+1;const a=s.href,c=ac(a).then(l=>lc(l,e)).then(l=>cc(l).forEach(u=>{try{n.insertRule(u,u.startsWith("@import")?o+=1:n.cssRules.length)}catch(f){console.error("Error inserting rule from remote css",{rule:u,error:f})}})).catch(l=>{console.error("Error loading remote css",l.toString())});r.push(c)}})}catch(s){const i=A.find(o=>o.href==null)||document.styleSheets[0];n.href!=null&&r.push(ac(n.href).then(o=>lc(o,e)).then(o=>cc(o).forEach(a=>{i.insertRule(a,n.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(A.forEach(n=>{if("cssRules"in n)try{tt(n.cssRules||[]).forEach(s=>{t.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${n.href}`,s)}}),t))}function kQ(A){return A.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>rB(e.style.getPropertyValue("src")))}async function MQ(A,e){if(A.ownerDocument==null)throw new Error("Provided element is not within a Document");const t=tt(A.ownerDocument.styleSheets),r=await OQ(t,e);return kQ(r)}async function PQ(A,e){const t=await MQ(A,e);return(await Promise.all(t.map(n=>{const s=n.parentStyleSheet?n.parentStyleSheet.href:null;return nB(n.cssText,s,e)}))).join(` +`)}async function NQ(A,e){const t=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await PQ(A,e);if(t){const r=document.createElement("style"),n=document.createTextNode(t);r.appendChild(n),A.firstChild?A.insertBefore(r,A.firstChild):A.appendChild(r)}}async function VQ(A,e={}){const{width:t,height:r}=qf(A,e),n=await li(A,e,!0);return await NQ(n,e),await sB(n,e),RQ(n,e),await aQ(n,t,r)}async function GQ(A,e={}){const{width:t,height:r}=qf(A,e),n=await VQ(A,e),s=await xs(n),i=document.createElement("canvas"),o=i.getContext("2d"),a=e.pixelRatio||nQ(),c=e.canvasWidth||t,l=e.canvasHeight||r;return i.width=c*a,i.height=l*a,e.skipAutoScale||sQ(i),i.style.width=`${c}`,i.style.height=`${l}`,e.backgroundColor&&(o.fillStyle=e.backgroundColor,o.fillRect(0,0,i.width,i.height)),o.drawImage(s,0,0,i.width,i.height),i}async function uc(A,e={}){const t=await GQ(A,e);return await iQ(t)}const $Q={data(){return{toggle:!1}},emits:["check"],props:{state:{type:Boolean,required:!0,default:!1}},created(){this.toggle=this.state},watch:{toggle(A,e){A!==e&&this.$emit("check",A)}}},XQ=A=>(sf("data-v-cbf54d34"),A=A(),of(),A),JQ={class:"switch"},WQ=XQ(()=>X("div",{class:"slider round"},null,-1));function YQ(A,e,t,r,n,s){return ie(),Je("label",JQ,[cf(X("input",{class:"checkbox",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=i=>n.toggle=i)},null,512),[[aw,n.toggle]]),WQ])}const jQ=ai($Q,[["render",YQ],["__scopeId","data-v-cbf54d34"]]);function ZQ(A,e,t){let r=z(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 zQ=Symbol("headlessui.useid"),qQ=0;function Ar(){return KA(zQ,()=>`${++qQ}`)()}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 AC=Object.defineProperty,eC=(A,e,t)=>e in A?AC(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t,fc=(A,e,t)=>(eC(A,typeof e!="symbol"?e+"":e,t),t);let tC=class{constructor(){fc(this,"current",this.detect()),fc(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"}},Cn=new tC;function yr(A){if(Cn.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 Io=["[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 Ct=(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))(Ct||{}),iB=(A=>(A[A.Error=0]="Error",A[A.Overflow=1]="Overflow",A[A.Success=2]="Success",A[A.Underflow=3]="Underflow",A))(iB||{}),rC=(A=>(A[A.Previous=-1]="Previous",A[A.Next=1]="Next",A))(rC||{});function nC(A=document.body){return A==null?[]:Array.from(A.querySelectorAll(Io)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var Sa=(A=>(A[A.Strict=0]="Strict",A[A.Loose=1]="Loose",A))(Sa||{});function oB(A,e=0){var t;return A===((t=yr(A))==null?void 0:t.body)?!1:ZA(e,{0(){return A.matches(Io)},1(){let r=A;for(;r!==null;){if(r.matches(Io))return!0;r=r.parentElement}return!1}})}var sC=(A=>(A[A.Keyboard=0]="Keyboard",A[A.Mouse=1]="Mouse",A))(sC||{});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 Jt(A){A==null||A.focus({preventScroll:!0})}let iC=["textarea","input"].join(",");function oC(A){var e,t;return(t=(e=A==null?void 0:A.matches)==null?void 0:e.call(A,iC))!=null?t:!1}function aB(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?aB(A):A:nC(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&&oC(B)&&B.select(),2}function lB(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function aC(){return/Android/gi.test(window.navigator.userAgent)}function lC(){return lB()||aC()}function _n(A,e,t){Cn.isServer||me(r=>{document.addEventListener(A,e,t),r(()=>document.removeEventListener(A,e,t))})}function cB(A,e,t){Cn.isServer||me(r=>{window.addEventListener(A,e,t),r(()=>window.removeEventListener(A,e,t))})}function uB(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!oB(o,Sa.Loose)&&o.tabIndex!==-1&&s.preventDefault(),e(s,o)}let n=z(null);_n("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),_n("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),_n("click",s=>{lC()||n.value&&(r(s,()=>n.value),n.value=null)},!0),_n("touchend",s=>r(s,()=>s.target instanceof HTMLElement?s.target:null),!0),cB("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Bc(A,e){if(A)return A;let t=e??"button";if(typeof t=="string"&&t.toLowerCase()==="button")return"button"}function cC(A,e){let t=z(Bc(A.value.type,A.value.as));return VA(()=>{t.value=Bc(A.value.type,A.value.as)}),me(()=>{var r;t.value||cA(e)&&cA(e)instanceof HTMLButtonElement&&!((r=cA(e))!=null&&r.hasAttribute("type"))&&(t.value="button")}),t}function gc(A){return[A.screenX,A.screenY]}function uC(){let A=z([-1,-1]);return{wasMoved(e){let t=gc(e);return A.value[0]===t[0]&&A.value[1]===t[1]?!1:(A.value=t,!0)},update(e){A.value=gc(e)}}}var Ur=(A=>(A[A.None=0]="None",A[A.RenderStrategy=1]="RenderStrategy",A[A.Static=2]="Static",A))(Ur||{}),Ft=(A=>(A[A.Unmount=0]="Unmount",A[A.Hidden=1]="Hidden",A))(Ft||{});function we({visible:A=!0,features:e=0,ourProps:t,theirProps:r,...n}){var s;let i=BB(r,t),o=Object.assign(n,{props:i});if(A||e&2&&i.static)return Ri(o);if(e&1){let a=(s=i.unmount)==null||s?0:1;return ZA(a,{0(){return null},1(){return Ri({...n,props:{...i,hidden:!0,style:{display:"none"}}})}})}return Ri(o)}function Ri({props:A,attrs:e,slots:t,slot:r,name:n}){var s,i;let{as:o,...a}=Ta(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=fB(c??[]),Object.keys(a).length>0||Object.keys(e).length>0){let[u,...f]=c??[];if(!BC(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(d=>d.trim()).filter((d,U,p)=>p.indexOf(d)===U).sort((d,U)=>d.localeCompare(U)).map(d=>` - ${d}`).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(d=>` - ${d}`).join(` +`)].join(` +`));let B=BB((i=u.props)!=null?i:{},a,l),g=nt(u,B,!0);for(let d in B)d.startsWith("on")&&(g.props||(g.props={}),g.props[d]=B[d]);return g}return Array.isArray(c)&&c.length===1?c[0]:c}return PA(o,Object.assign({},a,l),{default:()=>c})}function fB(A){return A.flatMap(e=>e.type===re?fB(e.children):[e])}function BB(...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 fC(A){let e=Object.assign({},A);for(let t in e)e[t]===void 0&&delete e[t];return e}function Ta(A,e=[]){let t=Object.assign({},A);for(let r of e)r in t&&delete t[r];return t}function BC(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 Ls=_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 we({ourProps:i,theirProps:s,slot:{},attrs:t,slots:e,name:"Hidden"})}}}),gB=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 gC(){return ci()!==null}function ci(){return KA(gB,null)}function hB(A){ue(gB,A)}var GA=(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))(GA||{});function hC(A){function e(){document.readyState!=="loading"&&(A(),document.removeEventListener("DOMContentLoaded",e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",e),e())}let Mt=[];hC(()=>{function A(e){e.target instanceof HTMLElement&&e.target!==document.body&&Mt[0]!==e.target&&(Mt.unshift(e.target),Mt=Mt.filter(t=>t!=null&&t.isConnected),Mt.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 dC(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 wC(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 Fn(){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 Ka(()=>{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=Fn();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 dB(A={},e=null,t=[]){for(let[r,n]of Object.entries(A))pB(t,wB(e,r),n);return t}function wB(A,e){return A?A+"["+e+"]":e}function pB(A,e,t){if(Array.isArray(t))for(let[r,n]of t.entries())pB(A,wB(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,""]):dB(t,e,A)}function QB(A,e,t,r){Cn.isServer||me(n=>{A=A??window,A.addEventListener(e,t,r),n(()=>A.removeEventListener(e,t,r))})}var Mr=(A=>(A[A.Forwards=0]="Forwards",A[A.Backwards=1]="Backwards",A))(Mr||{});function pC(){let A=z(0);return cB("keydown",e=>{e.key==="Tab"&&(A.value=e.shiftKey?1:0)}),A}function CB(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 FB=(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))(FB||{});let Tr=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:z(new Set)}},inheritAttrs:!1,setup(A,{attrs:e,slots:t,expose:r}){let n=z(null);r({el:n,$el:n});let s=J(()=>yr(n)),i=z(!1);VA(()=>i.value=!0),ve(()=>i.value=!1),CC({ownerDocument:s},J(()=>i.value&&!!(A.features&16)));let o=FC({ownerDocument:s,container:n,initialFocus:J(()=>A.initialFocus)},J(()=>i.value&&!!(A.features&2)));UC({ownerDocument:s,container:n,containers:A.containers,previousActiveElement:o},J(()=>i.value&&!!(A.features&8)));let a=pC();function c(B){let g=cA(n);g&&(d=>d())(()=>{ZA(a.value,{[Mr.Forwards]:()=>{Bs(g,Ct.First,{skipElements:[B.relatedTarget]})},[Mr.Backwards]:()=>{Bs(g,Ct.Last,{skipElements:[B.relatedTarget]})}})})}let l=z(!1);function u(B){B.key==="Tab"&&(l.value=!0,requestAnimationFrame(()=>{l.value=!1}))}function f(B){if(!i.value)return;let g=CB(A.containers);cA(n)instanceof HTMLElement&&g.add(cA(n));let d=B.relatedTarget;d instanceof HTMLElement&&d.dataset.headlessuiFocusGuard!=="true"&&(UB(g,d)||(l.value?Bs(cA(n),ZA(a.value,{[Mr.Forwards]:()=>Ct.Next,[Mr.Backwards]:()=>Ct.Previous})|Ct.WrapAround,{relativeTo:B.target}):B.target instanceof HTMLElement&&Jt(B.target)))}return()=>{let B={},g={ref:n,onKeydown:u,onFocusout:f},{features:d,initialFocus:U,containers:p,...C}=A;return PA(re,[!!(d&4)&&PA(Ls,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:gn.Focusable}),we({ourProps:g,theirProps:{...e,...C},slot:B,attrs:e,slots:t,name:"FocusTrap"}),!!(d&4)&&PA(Ls,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:gn.Focusable})])}}}),{features:FB});function QC(A){let e=z(Mt.slice());return oe([A],([t],[r])=>{r===!0&&t===!1?Ka(()=>{e.value.splice(0)}):r===!1&&t===!0&&(e.value=Mt.slice())},{flush:"post"}),()=>{var t;return(t=e.value.find(r=>r!=null&&r.isConnected))!=null?t:null}}function CC({ownerDocument:A},e){let t=QC(e);VA(()=>{me(()=>{var r,n;e.value||((r=A.value)==null?void 0:r.activeElement)===((n=A.value)==null?void 0:n.body)&&Jt(t())},{flush:"post"})}),ve(()=>{e.value&&Jt(t())})}function FC({ownerDocument:A,container:e,initialFocus:t},r){let n=z(null),s=z(!1);return VA(()=>s.value=!0),ve(()=>s.value=!1),VA(()=>{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&&Ka(()=>{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?Jt(u):Bs(a,Ct.First|Ct.NoScroll)===iB.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 UC({ownerDocument:A,container:e,containers:t,previousActiveElement:r},n){var s;QB((s=A.value)==null?void 0:s.defaultView,"focus",i=>{if(!n.value)return;let o=CB(t);cA(e)instanceof HTMLElement&&o.add(cA(e));let a=r.value;if(!a)return;let c=i.target;c&&c instanceof HTMLElement?UB(o,c)?(r.value=c,Jt(c)):(i.preventDefault(),i.stopPropagation(),Jt(a)):Jt(r.value)},!0)}function UB(A,e){for(let t of A)if(t.contains(e))return!0;return!1}function mC(A){let e=ju(A.getSnapshot());return ve(A.subscribe(()=>{e.value=A.getSnapshot()})),e}function vC(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 EC(){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 yC(){return lB()?{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=Fn();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 bC(){return{before({doc:A,d:e}){e.style(A.documentElement,"overflow","hidden")}}}function HC(A){let e={};for(let t of A)Object.assign(e,t(e));return e}let Vt=vC(()=>new Map,{PUSH(A,e){var t;let r=(t=this.get(A))!=null?t:{doc:A,count:0,d:Fn(),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:HC(t)},n=[yC(),EC(),bC()];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)}});Vt.subscribe(()=>{let A=Vt.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)&&Vt.dispatch(t.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",t),t.count===0&&Vt.dispatch("TEARDOWN",t)}});function IC(A,e,t){let r=mC(Vt),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;Vt.dispatch("PUSH",s,t);let c=!1;a(()=>{c||(Vt.dispatch("POP",o??s,t),c=!0)})},{immediate:!0}),n}let Oi=new Map,Kr=new Map;function hc(A,e=z(!0)){me(t=>{var r;if(!e.value)return;let n=cA(A);if(!n)return;t(function(){var i;if(!n)return;let o=(i=Kr.get(n))!=null?i:1;if(o===1?Kr.delete(n):Kr.set(n,o-1),o!==1)return;let a=Oi.get(n);a&&(a["aria-hidden"]===null?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",a["aria-hidden"]),n.inert=a.inert,Oi.delete(n))});let s=(r=Kr.get(n))!=null?r:0;Kr.set(n,s+1),s===0&&(Oi.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0)})}function xC({defaultContainers:A=[],portals:e,mainTreeNodeRef:t}={}){let r=z(null),n=yr(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:PA(Ls,{features:gn.Hidden,ref:r})}}}let mB=Symbol("ForcePortalRootContext");function LC(){return KA(mB,!1)}let dc=_A({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(A,{slots:e,attrs:t}){return ue(mB,A.force),()=>{let{force:r,...n}=A;return we({theirProps:n,ourProps:{},slot:{},slots:e,attrs:t,name:"ForcePortalRoot"})}}}),vB=Symbol("StackContext");var xo=(A=>(A[A.Add=0]="Add",A[A.Remove=1]="Remove",A))(xo||{});function SC(){return KA(vB,()=>{})}function TC({type:A,enabled:e,element:t,onUpdate:r}){let n=SC();function s(...i){r==null||r(...i),n(...i)}VA(()=>{oe(e,(i,o)=>{i?s(0,A,t):o===!0&&s(1,A,t)},{immediate:!0,flush:"sync"})}),ve(()=>{e.value&&s(1,A,t)}),ue(vB,s)}let KC=Symbol("DescriptionContext");function _C({slot:A=z({}),name:e="Description",props:t={}}={}){let r=z([]);function n(s){return r.value.push(s),()=>{let i=r.value.indexOf(s);i!==-1&&r.value.splice(i,1)}}return ue(KC,{register:n,slot:A,name:e,props:t}),J(()=>r.value.length>0?r.value.join(" "):void 0)}function DC(A){let e=yr(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 RC=_A({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(A,{slots:e,attrs:t}){let r=z(null),n=J(()=>yr(r)),s=LC(),i=KA(EB,null),o=z(s===!0||i==null?DC(r.value):i.resolveTarget()),a=z(!1);VA(()=>{a.value=!0}),me(()=>{s||i!=null&&(o.value=i.resolveTarget())});let c=KA(Lo,null),l=!1,u=va();return oe(r,()=>{if(l||!c)return;let f=cA(r);f&&(ve(c.register(f),u),l=!0)}),ve(()=>{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 PA(Fd,{to:o.value},we({ourProps:f,theirProps:A,slot:{},attrs:t,slots:e,name:"Portal"}))}}}),Lo=Symbol("PortalParentContext");function OC(){let A=KA(Lo,null),e=z([]);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(Lo,n),()=>{var o;return(o=i.default)==null?void 0:o.call(i)}}})]}let EB=Symbol("PortalGroupContext"),kC=_A({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(A,{attrs:e,slots:t}){let r=Er({resolveTarget(){return A.target}});return ue(EB,r),()=>{let{target:n,...s}=A;return we({theirProps:s,ourProps:{},slot:{},attrs:e,slots:t,name:"PortalGroup"})}}});var MC=(A=>(A[A.Open=0]="Open",A[A.Closed=1]="Closed",A))(MC||{});let So=Symbol("DialogContext");function _a(A){let e=KA(So,null);if(e===null){let t=new Error(`<${A} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,_a),t}return e}let Dn="DC8F892D-2EBD-447C-A4C8-A03058436FF4",PC=_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:Dn},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-${Ar()}`,a=z(!1);VA(()=>{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=z(0),f=ci(),B=J(()=>A.open===Dn&&f!==null?(f.value&qA.Open)===qA.Open:A.open),g=z(null),d=J(()=>yr(g));if(n({el:g,$el:g}),!(A.open!==Dn||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===Dn?void 0:A.open}`);let U=J(()=>a.value&&B.value?0:1),p=J(()=>U.value===0),C=J(()=>u.value>1),F=KA(So,null)!==null,[y,E]=OC(),{resolveContainers:Q,mainTreeNodeRef:L,MainTreeNode:b}=xC({portals:y,defaultContainers:[J(()=>{var nA;return(nA=tA.panelRef.value)!=null?nA:g.value})]}),v=J(()=>C.value?"parent":"leaf"),T=J(()=>f!==null?(f.value&qA.Closing)===qA.Closing:!1),AA=J(()=>F||T.value?!1:p.value),K=J(()=>{var nA,sA,QA;return(QA=Array.from((sA=(nA=d.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});hc(K,AA);let O=J(()=>C.value?!0:p.value),aA=J(()=>{var nA,sA,QA;return(QA=Array.from((sA=(nA=d.value)==null?void 0:nA.querySelectorAll("[data-headlessui-portal]"))!=null?sA:[]).find(yA=>yA.contains(cA(L))&&yA instanceof HTMLElement))!=null?QA:null});hc(aA,O),TC({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=_C({name:"DialogDescription",slot:J(()=>({open:B.value}))}),W=z(null),tA={titleId:W,panelRef:z(null),dialogState:U,setTitleId(nA){W.value!==nA&&(W.value=nA)},close(){e("close",!1)}};ue(So,tA);let lA=J(()=>!(!p.value||C.value));uB(Q,(nA,sA)=>{tA.close(),_e(()=>sA==null?void 0:sA.focus())},lA);let TA=J(()=>!(C.value||U.value!==0));QB((i=d.value)==null?void 0:i.defaultView,"keydown",nA=>{TA.value&&(nA.defaultPrevented||nA.key===GA.Escape&&(nA.preventDefault(),nA.stopPropagation(),tA.close()))});let MA=J(()=>!(T.value||U.value!==0||F));return IC(d,MA,nA=>{var sA;return{containers:[...(sA=nA.containers)!=null?sA:[],Q]}}),me(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 PA(dc,{force:!0},()=>[PA(RC,()=>PA(kC,{target:g.value},()=>PA(dc,{force:!1},()=>PA(Tr,{initialFocus:sA,containers:Q,features:p.value?ZA(v.value,{parent:Tr.features.RestoreFocus,leaf:Tr.features.All&~Tr.features.FocusLock}):Tr.features.None},()=>PA(E,{},()=>we({ourProps:yA,theirProps:{...QA,...t},slot:JA,attrs:t,slots:r,visible:U.value===0,features:Ur.RenderStrategy|Ur.Static,name:"Dialog"})))))),PA(b)])}}}),NC=_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-${Ar()}`,i=_a("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 we({ourProps:c,theirProps:a,slot:{open:i.dialogState.value===0},attrs:e,slots:t,name:"DialogPanel"})}}}),VC=_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-${Ar()}`,s=_a("DialogTitle");return VA(()=>{s.setTitleId(n),ve(()=>s.setTitleId(null))}),()=>{let{...i}=A;return we({ourProps:{id:n},theirProps:i,slot:{open:s.dialogState.value===0},attrs:e,slots:t,name:"DialogTitle"})}}}),wc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function pc(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 wc.test(i)&&(i=i.replace(wc,"")),i}function GC(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():pc(s).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return pc(A).trim()}function $C(A){let e=z(""),t=z("");return()=>{let r=cA(A);if(!r)return"";let n=r.innerText;if(e.value===n)return t.value;let s=GC(r).trim().toLowerCase();return e.value=n,t.value=s,s}}function XC(A,e){return A===e}var JC=(A=>(A[A.Open=0]="Open",A[A.Closed=1]="Closed",A))(JC||{}),WC=(A=>(A[A.Single=0]="Single",A[A.Multi=1]="Multi",A))(WC||{}),YC=(A=>(A[A.Pointer=0]="Pointer",A[A.Other=1]="Other",A))(YC||{});function jC(A){requestAnimationFrame(()=>requestAnimationFrame(A))}let yB=Symbol("ListboxContext");function ui(A){let e=KA(yB,null);if(e===null){let t=new Error(`<${A} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ui),t}return e}let ZC=_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:()=>XC},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=z(1),s=z(null),i=z(null),o=z(null),a=z([]),c=z(""),l=z(null),u=z(1);function f(F=y=>y){let y=l.value!==null?a.value[l.value]:null,E=aB(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,d]=ZQ(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),p={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=wC(F===ce.Specific?{focus:ce.Specific,id:y}:{focus:F},{resolveItems:()=>Q.options,resolveActiveIndex:()=>Q.activeOptionIndex,resolveId:b=>b.id,resolveDisabled:b=>b.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||d(F)},select(F){A.disabled||d(ZA(B.value,{0:()=>F,1:()=>{let y=rA(p.value.value).slice(),E=rA(F),Q=y.findIndex(L=>p.compare(E,rA(L)));return Q===-1?y.push(E):y.splice(Q,1),y}}))}};uB([i,o],(F,y)=>{var E;p.closeListbox(),oB(y,Sa.Loose)||(F.preventDefault(),(E=cA(i))==null||E.focus())},J(()=>n.value===0)),ue(yB,p),hB(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 VA(()=>{oe([C],()=>{if(!C.value||A.defaultValue===void 0)return;function F(){p.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,b={open:n.value===0,disabled:E,value:U.value};return PA(re,[...F!=null&&U.value!=null?dB({[F]:U.value}).map(([v,T])=>PA(Ls,fC({features:gn.Hidden,key:v,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:Q,name:v,value:T}))):[],we({ourProps:{},theirProps:{...t,...Ta(L,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:b,slots:e,attrs:t,name:"Listbox"})])}}}),zC=_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-${Ar()}`,i=ui("ListboxButton");r({el:i.buttonRef,$el:i.buttonRef});function o(u){switch(u.key){case GA.Space:case GA.Enter:case GA.ArrowDown:u.preventDefault(),i.openListbox(),_e(()=>{var f;(f=cA(i.optionsRef))==null||f.focus({preventScroll:!0}),i.value.value||i.goToOption(ce.First)});break;case GA.ArrowUp:u.preventDefault(),i.openListbox(),_e(()=>{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 GA.Space:u.preventDefault();break}}function c(u){i.disabled.value||(i.listboxState.value===0?(i.closeListbox(),_e(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})})):(u.preventDefault(),i.openListbox(),jC(()=>{var f;return(f=cA(i.optionsRef))==null?void 0:f.focus({preventScroll:!0})})))}let l=cC(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,d={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 we({ourProps:d,theirProps:g,slot:B,attrs:e,slots:t,name:"ListboxButton"})}}}),qC=_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-${Ar()}`,i=ui("ListboxOptions"),o=z(null);r({el:i.optionsRef,$el:i.optionsRef});function a(u){switch(o.value&&clearTimeout(o.value),u.key){case GA.Space:if(i.searchQuery.value!=="")return u.preventDefault(),u.stopPropagation(),i.search(u.key);case GA.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(),_e(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})}));break;case ZA(i.orientation.value,{vertical:GA.ArrowDown,horizontal:GA.ArrowRight}):return u.preventDefault(),u.stopPropagation(),i.goToOption(ce.Next);case ZA(i.orientation.value,{vertical:GA.ArrowUp,horizontal:GA.ArrowLeft}):return u.preventDefault(),u.stopPropagation(),i.goToOption(ce.Previous);case GA.Home:case GA.PageUp:return u.preventDefault(),u.stopPropagation(),i.goToOption(ce.First);case GA.End:case GA.PageDown:return u.preventDefault(),u.stopPropagation(),i.goToOption(ce.Last);case GA.Escape:u.preventDefault(),u.stopPropagation(),i.closeListbox(),_e(()=>{var f;return(f=cA(i.buttonRef))==null?void 0:f.focus({preventScroll:!0})});break;case GA.Tab:u.preventDefault(),u.stopPropagation();break;default:u.key.length===1&&(i.search(u.key),o.value=setTimeout(()=>i.clearSearch(),350));break}}let c=ci(),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,d={"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 we({ourProps:d,theirProps:g,slot:B,attrs:e,slots:t,features:Ur.RenderStrategy|Ur.Static,visible:l.value,name:"ListboxOptions"})}}}),A0=_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-${Ar()}`,i=ui("ListboxOption"),o=z(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=$C(o),f=J(()=>({disabled:A.disabled,value:A.value,get textValue(){return u()},domRef:o}));VA(()=>i.registerOption(s,f)),ve(()=>i.unregisterOption(s)),VA(()=>{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})}),me(()=>{i.listboxState.value===0&&a.value&&i.activationTrigger.value!==0&&_e(()=>{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(),_e(()=>{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 d=uC();function U(F){d.update(F)}function p(F){d.wasMoved(F)&&(A.disabled||a.value||i.goToOption(ce.Specific,s,0))}function C(F){d.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,b={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:p,onMousemove:p,onPointerleave:C,onMouseleave:C};return we({ourProps:b,theirProps:L,slot:y,attrs:t,slots:e,name:"ListboxOption"})}}});function e0(A){let e={called:!1};return(...t)=>{if(!e.called)return e.called=!0,A(...t)}}function ki(A,...e){A&&e.length>0&&A.classList.add(...e)}function Rn(A,...e){A&&e.length>0&&A.classList.remove(...e)}var To=(A=>(A.Finished="finished",A.Cancelled="cancelled",A))(To||{});function t0(A,e){let t=Fn();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 Qc(A,e,t,r,n,s){let i=Fn(),o=s!==void 0?e0(s):()=>{};return Rn(A,...n),ki(A,...e,...t),i.nextFrame(()=>{Rn(A,...t),ki(A,...r),i.add(t0(A,a=>(Rn(A,...r,...e),ki(A,...n),o(a))))}),i.add(()=>Rn(A,...e,...t,...r,...n)),i.add(()=>o("cancelled")),i.dispose}function Dt(A=""){return A.split(/\s+/).filter(e=>e.length>1)}let Da=Symbol("TransitionContext");var r0=(A=>(A.Visible="visible",A.Hidden="hidden",A))(r0||{});function n0(){return KA(Da,null)!==null}function s0(){let A=KA(Da,null);if(A===null)throw new Error("A is used but it is missing a parent .");return A}function i0(){let A=KA(Ra,null);if(A===null)throw new Error("A is used but it is missing a parent .");return A}let Ra=Symbol("NestingContext");function fi(A){return"children"in A?fi(A.children):A.value.filter(({state:e})=>e==="visible").length>0}function bB(A){let e=z([]),t=z(!1);VA(()=>t.value=!0),ve(()=>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"}}),!fi(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 HB=Ur.RenderStrategy,Ko=_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=z(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(!n0()&&gC())return()=>PA(IB,{...A,onBeforeEnter:i,onAfterEnter:o,onBeforeLeave:a,onAfterLeave:c},r);let l=z(null),u=J(()=>A.unmount?Ft.Unmount:Ft.Hidden);n({el:l,$el:l});let{show:f,appear:B}=s0(),{register:g,unregister:d}=i0(),U=z(f.value?"visible":"hidden"),p={value:!0},C=Ar(),F={value:!1},y=bB(()=>{!F.value&&U.value!=="hidden"&&(U.value="hidden",d(C),c())});VA(()=>{let O=g(C);ve(O)}),me(()=>{if(u.value===Ft.Hidden&&C){if(f.value&&U.value!=="visible"){U.value="visible";return}ZA(U.value,{hidden:()=>d(C),visible:()=>g(C)})}});let E=Dt(A.enter),Q=Dt(A.enterFrom),L=Dt(A.enterTo),b=Dt(A.entered),v=Dt(A.leave),T=Dt(A.leaveFrom),AA=Dt(A.leaveTo);VA(()=>{me(()=>{if(U.value==="visible"){let O=cA(l);if(O instanceof Comment&&O.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function K(O){let aA=p.value&&!B.value,gA=cA(l);!gA||!(gA instanceof HTMLElement)||aA||(F.value=!0,f.value&&i(),f.value||a(),O(f.value?Qc(gA,E,Q,L,b,W=>{F.value=!1,W===To.Finished&&o()}):Qc(gA,v,T,AA,b,W=>{F.value=!1,W===To.Finished&&(fi(y)||(U.value="hidden",d(C),c()))})))}return VA(()=>{oe([f],(O,aA,gA)=>{K(gA),p.value=!1},{immediate:!0})}),ue(Ra,y),hB(J(()=>ZA(U.value,{visible:qA.Open,hidden:qA.Closed})|s.value)),()=>{let{appear:O,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&&Cn.isServer?{class:qe([t.class,sA.class,...E,...Q])}:{}};return we({theirProps:yA,ourProps:QA,slot:{},slots:r,attrs:t,features:HB,visible:U.value==="visible",name:"TransitionChild"})}}}),o0=Ko,IB=_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=ci(),s=J(()=>A.show===null&&n!==null?(n.value&qA.Open)===qA.Open:A.show);me(()=>{if(![!0,!1].includes(s.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let i=z(s.value?"visible":"hidden"),o=bB(()=>{i.value="hidden"}),a=z(!0),c={show:s,appear:J(()=>A.appear||!a.value)};return VA(()=>{me(()=>{a.value=!1,s.value?i.value="visible":fi(o)||(i.value="hidden")})}),ue(Ra,o),ue(Da,c),()=>{let l=Ta(A,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),u={unmount:A.unmount};return we({ourProps:{...u,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[PA(o0,{onBeforeEnter:()=>e("beforeEnter"),onAfterEnter:()=>e("afterEnter"),onBeforeLeave:()=>e("beforeLeave"),onAfterLeave:()=>e("afterLeave"),...t,...u,...l},r.default)]},attrs:{},features:HB,visible:i.value==="visible",name:"Transition"})}}});function a0(A,e){return ie(),Qr("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 l0(A,e){return ie(),Qr("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 c0={class:"block truncate"},u0={class:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},f0={key:0,class:"absolute inset-y-0 left-0 flex items-center pl-3 text-amber-500"},_o=_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=z(t.sourceArr[r]),s=e;return oe(n,(i,o)=>{s("selected",i)}),(i,o)=>(ie(),Qr(bA(ZC),{modelValue:n.value,"onUpdate:modelValue":o[0]||(o[0]=a=>n.value=a)},{default:ge(()=>[X("div",{class:qe(["relative",t.className])},[uA(bA(zC),{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(()=>[X("span",c0,Qs(n.value.name),1),X("span",u0,[uA(bA(l0),{class:"w-5 h-5 text-gray-400","aria-hidden":"true"})])]),_:1}),uA(Ea,{"leave-active-class":"transition duration-100 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:ge(()=>[uA(bA(qC),{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),Je(re,null,qh(i.sourceArr,a=>(ie(),Qr(bA(A0),{key:`${a.id}`,value:a,as:"template"},{default:ge(({active:c,selected:l})=>[X("li",{class:qe([c?"bg-amber-100 text-amber-900":"text-gray-900","relative cursor-pointer select-none py-2 pl-10 pr-4"])},[X("span",{class:qe([l?"font-medium":"font-normal","block truncate"])},Qs(a.name),3),l?(ie(),Je("span",f0,[uA(bA(a0),{class:"w-5 h-5","aria-hidden":"true"})])):bf("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})],2)]),_:1},8,["modelValue"]))}}),B0="/assets/zero-CC4bBb9q.gif",g0={class:"z-0 my-4 text-center text-gray-400"},h0={class:"flex flex-row flex-wrap items-center justify-center mt-2 mb-2 text-sm friends"},d0=["href"],w0=["href"],p0=["href"],Q0=["href"],C0=["href"],F0={class:"flex flex-row flex-wrap items-center justify-center w-full text-sm"},U0={class:"mx-3 text-gray-400"},m0=["href"],v0=X("br",{class:"show-on-mobile"},null,-1),E0=["href"],y0=X("img",{class:"zero",src:B0,alt:"深圳市市场监督管理局企业主体身份公示"},null,-1),b0=_A({__name:"FooterNav",setup(A){const e=z(`Copyright © ${new Date().getFullYear()}`),t=r=>`${r}?ref=nicelinks.site`;return(r,n)=>(ie(),Je("footer",g0,[X("div",h0,[X("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,d0),X("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,w0),X("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,p0),X("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,Q0),X("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,C0)]),X("div",F0,[X("span",U0,Qs(e.value),1),X("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,m0),ri("出品"),v0,X("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,E0),y0])]))}}),H0={},I0={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"},x0=Ed('

    逍遥自在轩

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

    ',2),L0=[x0];function S0(A,e){return ie(),Je("div",I0,[X("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"},L0)])}const T0=ai(H0,[["render",S0]]);/*! + * html2canvas 1.4.1 + * Copyright (c) 2022 Niklas von Hertzen + * Released under MIT License + *//*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +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 Do=function(A,e){return Do=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])},Do(A,e)};function Oe(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Do(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Ro=function(){return Ro=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},Cc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_0=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var kn=0;kn"u"?[]:new Uint8Array(256);for(var Mn=0;Mn>4,l[n++]=(i&15)<<4|o>>2,l[n++]=(o&3)<<6|a&63;return c},R0=function(A){for(var e=A.length,t=[],r=0;r>Wt,M0=1<>Wt,N0=xB+P0,V0=N0,G0=32,$0=V0+G0,X0=65536>>Oa,J0=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Wt],t=(t<>Wt)],t=(t<>Oa),t=this.index[t],t+=e>>Wt&W0,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Pn=0;Pnvc?(n.push(!0),o-=vc):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===eF||o===Oo){if(i===0)return r.push(i),t.push(Pt);var a=t[i-1];return lF.indexOf(a)===-1?(r.push(r[i-1]),t.push(a)):(r.push(i),t.push(Pt))}if(r.push(i),o===iF)return t.push(e==="strict"?Po:hn);if(o===KB||o===sF)return t.push(Pt);if(o===oF)return s>=131072&&s<=196605||s>=196608&&s<=262141?t.push(hn):t.push(Pt);t.push(o)}),[r,t,n]},Gi=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!==Ut)break}if(n===Ut)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!==Ut)break}if(o!==Ut)break}return!1},Lc=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===Ut)t--;else return r}return 0},fF=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===LB&&l===SB)return BA;if(Jo.indexOf(a)!==-1)return _B;if(Jo.indexOf(l)!==-1||DB.indexOf(l)!==-1)return BA;if(Lc(s,e)===TB)return $n;if(Xo.get(A[s])===Oo||(a===Vn||a===Gn)&&Xo.get(A[o])===Oo||a===Ec||l===Ec||a===yc||[Ut,ko,Nr].indexOf(a)===-1&&l===yc||[Nn,_r,nF,rr,nr].indexOf(l)!==-1||Lc(s,e)===Dr||Gi(Ni,Dr,s,e)||Gi([Nn,_r],Po,s,e)||Gi(bc,bc,s,e))return BA;if(a===Ut)return $n;if(a===Ni||l===Ni)return BA;if(l===Mo||a===Mo)return $n;if([ko,Nr,Po].indexOf(l)!==-1||a===rF||c===Go&&cF.indexOf(a)!==-1||a===nr&&l===Go||l===Hc||Ze.indexOf(l)!==-1&&a===Ce||Ze.indexOf(a)!==-1&&l===Ce||a===Gr&&[hn,Vn,Gn].indexOf(l)!==-1||[hn,Vn,Gn].indexOf(a)!==-1&&l===Vr||Ze.indexOf(a)!==-1&&Ic.indexOf(l)!==-1||Ic.indexOf(a)!==-1&&Ze.indexOf(l)!==-1||[Gr,Vr].indexOf(a)!==-1&&(l===Ce||[Dr,Nr].indexOf(l)!==-1&&e[o+1]===Ce)||[Dr,Nr].indexOf(a)!==-1&&l===Ce||a===Ce&&[Ce,nr,rr].indexOf(l)!==-1)return BA;if([Ce,nr,rr,Nn,_r].indexOf(l)!==-1)for(var u=s;u>=0;){var f=e[u];if(f===Ce)return BA;if([nr,rr].indexOf(f)!==-1)u--;else break}if([Gr,Vr].indexOf(l)!==-1)for(var u=[Nn,_r].indexOf(a)!==-1?i:s;u>=0;){var f=e[u];if(f===Ce)return BA;if([nr,rr].indexOf(f)!==-1)u--;else break}if($o===a&&[$o,gs,No,Vo].indexOf(l)!==-1||[gs,No].indexOf(a)!==-1&&[gs,hs].indexOf(l)!==-1||[hs,Vo].indexOf(a)!==-1&&l===hs||xc.indexOf(a)!==-1&&[Hc,Vr].indexOf(l)!==-1||xc.indexOf(l)!==-1&&a===Gr||Ze.indexOf(a)!==-1&&Ze.indexOf(l)!==-1||a===rr&&Ze.indexOf(l)!==-1||Ze.concat(Ce).indexOf(a)!==-1&&l===Dr&&aF.indexOf(A[o])===-1||Ze.concat(Ce).indexOf(l)!==-1&&a===_r)return BA;if(a===Vi&&l===Vi){for(var B=t[s],g=1;B>0&&(B--,e[B]===Vi);)g++;if(g%2!==0)return BA}return a===Vn&&l===Gn?BA:$n},BF=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=uF(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[Ce,Pt,KB].indexOf(o)!==-1?hn: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]},gF=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===_B,this.start=r,this.end=n}return A.prototype.slice=function(){return RA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),hF=function(A,e){var t=gi(A),r=BF(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=RB&&A<=57},YF=function(A){return A>=55296&&A<=57343},sr=function(A){return te(A)||A>=MB&&A<=NB||A>=OB&&A<=GF},jF=function(A){return A>=OB&&A<=XF},ZF=function(A){return A>=MB&&A<=WF},zF=function(A){return jF(A)||ZF(A)},qF=function(A){return A>=KF},jn=function(A){return A===Ss||A===pF||A===QF},Ts=function(A){return zF(A)||qF(A)||A===mF},Dc=function(A){return Ts(A)||te(A)||A===Be},AU=function(A){return A>=OF&&A<=kF||A===MF||A>=PF&&A<=NF||A===VF},Qt=function(A,e){return A!==en?!1:e!==Ss},Zn=function(A,e,t){return A===Be?Ts(e)||Qt(e,t):Ts(A)?!0:!!(A===en&&Qt(A,e))},Xi=function(A,e,t){return A===Gt||A===Be?te(e)?!0:e===dn&&te(t):te(A===dn?e:A)},eU=function(A){var e=0,t=1;(A[e]===Gt||A[e]===Be)&&(A[e]===Be&&(t=-1),e++);for(var r=[];te(A[e]);)r.push(A[e++]);var n=r.length?parseInt(RA.apply(void 0,r),10):0;A[e]===dn&&e++;for(var s=[];te(A[e]);)s.push(A[e++]);var i=s.length,o=i?parseInt(RA.apply(void 0,s),10):0;(A[e]===PB||A[e]===kB)&&e++;var a=1;(A[e]===Gt||A[e]===Be)&&(A[e]===Be&&(a=-1),e++);for(var c=[];te(A[e]);)c.push(A[e++]);var l=c.length?parseInt(RA.apply(void 0,c),10):0;return t*(n+o*Math.pow(10,-i))*Math.pow(10,a*l)},tU={type:2},rU={type:3},nU={type:4},sU={type:13},iU={type:8},oU={type:21},aU={type:9},lU={type:10},cU={type:11},uU={type:12},fU={type:14},zn={type:23},BU={type:1},gU={type:25},hU={type:24},dU={type:26},wU={type:27},pU={type:28},QU={type:29},CU={type:31},Wo={type:32},VB=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(gi(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Wo;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Xn:return this.consumeStringToken(Xn);case CF:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Dc(t)||Qt(r,n)){var s=Zn(t,r,n)?wF:dF,i=this.consumeName();return{type:5,value:i,flags:s}}break;case FF:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),sU;break;case Jn:return this.consumeStringToken(Jn);case Wn:return tU;case Or:return rU;case $i:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),fU;break;case Gt:if(Xi(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case _F:return nU;case Be:var o=e,a=this.peekCodePoint(0),c=this.peekCodePoint(1);if(Xi(o,a,c))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Zn(o,a,c))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===Be&&c===yF)return this.consumeCodePoint(),this.consumeCodePoint(),hU;break;case dn:if(Xi(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Tc:if(this.peekCodePoint(0)===$i)for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(l===$i&&(l=this.consumeCodePoint(),l===Tc))return this.consumeToken();if(l===Pe)return this.consumeToken()}break;case DF:return dU;case RF:return wU;case EF:if(this.peekCodePoint(0)===vF&&this.peekCodePoint(1)===Be&&this.peekCodePoint(2)===Be)return this.consumeCodePoint(),this.consumeCodePoint(),gU;break;case bF:var u=this.peekCodePoint(0),f=this.peekCodePoint(1),B=this.peekCodePoint(2);if(Zn(u,f,B)){var i=this.consumeName();return{type:7,value:i}}break;case HF:return pU;case en:if(Qt(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case IF:return QU;case xF:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),iU;break;case LF:return cU;case SF:return uU;case $F:case JF:var g=this.peekCodePoint(0),d=this.peekCodePoint(1);return g===Gt&&(sr(d)||d===Yn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Kc:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),aU;if(this.peekCodePoint(0)===Kc)return this.consumeCodePoint(),oU;break;case TF:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),lU;break;case Pe:return Wo}return jn(e)?(this.consumeWhiteSpace(),CU):te(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Ts(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:RA(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();sr(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===Yn&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(RA.apply(void 0,e.map(function(a){return a===Yn?RB:a})),16),s=parseInt(RA.apply(void 0,e.map(function(a){return a===Yn?NB:a})),16);return{type:30,start:n,end:s}}var i=parseInt(RA.apply(void 0,e),16);if(this.peekCodePoint(0)===Be&&sr(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];sr(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var s=parseInt(RA.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)===Wn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Wn?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Pe)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Jn||t===Xn){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Pe||this.peekCodePoint(0)===Or)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),zn)}for(;;){var n=this.consumeCodePoint();if(n===Pe||n===Or)return{type:22,value:RA.apply(void 0,e)};if(jn(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Pe||this.peekCodePoint(0)===Or?(this.consumeCodePoint(),{type:22,value:RA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),zn);if(n===Xn||n===Jn||n===Wn||AU(n))return this.consumeBadUrlRemnants(),zn;if(n===en)if(Qt(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),zn;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;jn(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Or||e===Pe)return;Qt(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+=RA.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===Pe||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===Ss)return this._value.splice(0,r),BU;if(n===en){var s=this._value[r+1];s!==Pe&&s!==void 0&&(s===Ss?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):Qt(n,s)&&(t+=this.consumeStringSlice(r),t+=RA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Un,r=this.peekCodePoint(0);for((r===Gt||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===dn&&te(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Sc;te(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((r===PB||r===kB)&&((n===Gt||n===Be)&&te(s)||te(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Sc;te(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[eU(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(Zn(n,s,i)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===UF?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(sr(e)){for(var t=RA(e);sr(this.peekCodePoint(0))&&t.length<6;)t+=RA(this.consumeCodePoint());jn(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||YF(r)||r>1114111?_c:r}return e===Pe?_c:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(Dc(t))e+=RA(t);else if(Qt(t,this.peekCodePoint(0)))e+=RA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),GB=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new VB;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||UU(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"?Wo:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),mn=function(A){return A.type===15},br=function(A){return A.type===17},vA=function(A){return A.type===20},FU=function(A){return A.type===0},Yo=function(A,e){return vA(A)&&A.value===e},$B=function(A){return A.type!==31},mr=function(A){return A.type!==31&&A.type!==4},We=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},UU=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},Lt=function(A){return A.type===17||A.type===15},NA=function(A){return A.type===16||Lt(A)},XB=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Ae={type:17,number:0,flags:Un},ka={type:16,number:50,flags:Un},mt={type:16,number:100,flags:Un},$r=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(mn(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},JB="deg",WB="grad",YB="rad",jB="turn",hi={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case JB:return Math.PI*e.number/180;case WB:return Math.PI/200*e.number;case YB:return e.number;case jB:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},ZB=function(A){return A.type===15&&(A.unit===JB||A.unit===WB||A.unit===YB||A.unit===jB)},zB=function(A){var e=A.filter(vA).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 Ie(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ae,mt];case"to right":case"left":return Ie(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[mt,mt];case"to bottom":case"top":return Ie(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[mt,Ae];case"to left":case"right":return Ie(270)}return 0},Ie=function(A){return Math.PI*A/180},bt={name:"color",parse:function(A,e){if(e.type===18){var t=mU[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 vt(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 vt(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 vt(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 vt(parseInt(r,16),parseInt(n,16),parseInt(s,16),parseInt(i,16)/255)}}if(e.type===20){var o=rt[e.value.toUpperCase()];if(typeof o<"u")return o}return rt.TRANSPARENT}},Ht=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+")"},vt=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},Rc=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},Oc=function(A,e){var t=e.filter(mr);if(t.length===3){var r=t.map(Rc),n=r[0],s=r[1],i=r[2];return vt(n,s,i,1)}if(t.length===4){var o=t.map(Rc),n=o[0],s=o[1],i=o[2],a=o[3];return vt(n,s,i,a)}return 0};function Ji(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 kc=function(A,e){var t=e.filter(mr),r=t[0],n=t[1],s=t[2],i=t[3],o=(r.type===17?Ie(r.number):hi.parse(A,r))/(Math.PI*2),a=NA(n)?n.number/100:0,c=NA(s)?s.number/100:0,l=typeof i<"u"&&NA(i)?HA(i,1):1;if(a===0)return vt(c*255,c*255,c*255,1);var u=c<=.5?c*(a+1):c+a-c*a,f=c*2-u,B=Ji(f,u,o+1/3),g=Ji(f,u,o),d=Ji(f,u,o-1/3);return vt(B*255,g*255,d*255,l)},mU={hsl:kc,hsla:kc,rgb:Oc,rgba:Oc},tn=function(A,e){return bt.parse(A,GB.create(e).parseComponentValue())},rt={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},vU={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(vA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},EU={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},di=function(A,e){var t=bt.parse(A,e[0]),r=e[1];return r&&NA(r)?{color:t,stop:r}:{color:t,stop:null}},Mc=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=Ae),r.stop===null&&(r.stop=mt);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},HU=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(Te(e,t),Te(e,t-n),Te(e-r,t),Te(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=Pc(r,n,e,t,!0),c=a[0],l=a[1];s=Te(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(Te(e,t),Te(e,t-n),Te(e-r,t),Te(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=Pc(r,n,e,t,!1),c=u[0],l=u[1];s=Te(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]},IU=function(A,e){var t=Ie(180),r=[];return We(e).forEach(function(n,s){if(s===0){var i=n[0];if(i.type===20&&i.value==="to"){t=zB(n);return}else if(ZB(i)){t=hi.parse(A,i);return}}var o=di(A,n);r.push(o)}),{angle:t,stops:r,type:1}},qn=function(A,e){var t=Ie(180),r=[];return We(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=zB(n);return}else if(ZB(i)){t=(hi.parse(A,i)+Ie(270))%Ie(360);return}}var o=di(A,n);r.push(o)}),{angle:t,stops:r,type:1}},xU=function(A,e){var t=Ie(180),r=[],n=1,s=0,i=3,o=[];return We(e).forEach(function(a,c){var l=a[0];if(c===0){if(vA(l)&&l.value==="linear"){n=1;return}else if(vA(l)&&l.value==="radial"){n=2;return}}if(l.type===18){if(l.name==="from"){var u=bt.parse(A,l.values[0]);r.push({stop:Ae,color:u})}else if(l.name==="to"){var u=bt.parse(A,l.values[0]);r.push({stop:mt,color:u})}else if(l.name==="color-stop"){var f=l.values.filter(mr);if(f.length===2){var u=bt.parse(A,f[1]),B=f[0];br(B)&&r.push({stop:{type:16,number:B.number*100,flags:B.flags},color:u})}}}}),n===1?{angle:(t+Ie(180))%Ie(360),stops:r,type:n}:{size:i,shape:s,stops:r,position:o,type:n}},qB="closest-side",Ag="farthest-side",eg="closest-corner",tg="farthest-corner",rg="circle",ng="ellipse",sg="cover",ig="contain",LU=function(A,e){var t=0,r=3,n=[],s=[];return We(e).forEach(function(i,o){var a=!0;if(o===0){var c=!1;a=i.reduce(function(u,f){if(c)if(vA(f))switch(f.value){case"center":return s.push(ka),u;case"top":case"left":return s.push(Ae),u;case"right":case"bottom":return s.push(mt),u}else(NA(f)||Lt(f))&&s.push(f);else if(vA(f))switch(f.value){case rg:return t=0,!1;case ng:return t=1,!1;case"at":return c=!0,!1;case qB:return r=0,!1;case sg:case Ag:return r=1,!1;case ig:case eg:return r=2,!1;case tg:return r=3,!1}else if(Lt(f)||NA(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return u},a)}if(a){var l=di(A,i);n.push(l)}}),{size:r,shape:t,stops:n,position:s,type:2}},As=function(A,e){var t=0,r=3,n=[],s=[];return We(e).forEach(function(i,o){var a=!0;if(o===0?a=i.reduce(function(l,u){if(vA(u))switch(u.value){case"center":return s.push(ka),!1;case"top":case"left":return s.push(Ae),!1;case"right":case"bottom":return s.push(mt),!1}else if(NA(u)||Lt(u))return s.push(u),!1;return l},a):o===1&&(a=i.reduce(function(l,u){if(vA(u))switch(u.value){case rg:return t=0,!1;case ng:return t=1,!1;case ig:case qB:return r=0,!1;case Ag:return r=1,!1;case eg:return r=2,!1;case sg:case tg:return r=3,!1}else if(Lt(u)||NA(u))return Array.isArray(r)||(r=[]),r.push(u),!1;return l},a)),a){var c=di(A,i);n.push(c)}}),{size:r,shape:t,stops:n,position:s,type:2}},SU=function(A){return A.type===1},TU=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=og[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 KU(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!og[A.name])}var og={"linear-gradient":IU,"-moz-linear-gradient":qn,"-ms-linear-gradient":qn,"-o-linear-gradient":qn,"-webkit-linear-gradient":qn,"radial-gradient":LU,"-moz-radial-gradient":As,"-ms-radial-gradient":As,"-o-radial-gradient":As,"-webkit-radial-gradient":As,"-webkit-gradient":xU},_U={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 mr(r)&&KU(r)}).map(function(r){return Ma.parse(A,r)})}},DU={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(vA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},RU={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return We(e).map(function(t){return t.filter(NA)}).map(XB)}},OU={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return We(e).map(function(t){return t.filter(vA).map(function(r){return r.value}).join(" ")}).map(kU)}},kU=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}},wr;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(wr||(wr={}));var MU={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return We(e).map(function(t){return t.filter(PU)})}},PU=function(A){return vA(A)||NA(A)},wi=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},NU=wi("top"),VU=wi("right"),GU=wi("bottom"),$U=wi("left"),pi=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return XB(t.filter(NA))}}},XU=pi("top-left"),JU=pi("top-right"),WU=pi("bottom-right"),YU=pi("bottom-left"),Qi=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}}},jU=Qi("top"),ZU=Qi("right"),zU=Qi("bottom"),qU=Qi("left"),Ci=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return mn(t)?t.number:0}}},Am=Ci("top"),em=Ci("right"),tm=Ci("bottom"),rm=Ci("left"),nm={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},sm={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},im={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(vA).reduce(function(t,r){return t|om(r.value)},0)}},om=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},am={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}},lm={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}},Ks;(function(A){A.NORMAL="normal",A.STRICT="strict"})(Ks||(Ks={}));var cm={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return Ks.STRICT;case"normal":default:return Ks.NORMAL}}},um={name:"line-height",initialValue:"normal",prefix:!1,type:4},Nc=function(A,e){return vA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:NA(A)?HA(A,e):e},fm={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)}},Bm={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}}},jo={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}}},Fi=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},gm=Fi("top"),hm=Fi("right"),dm=Fi("bottom"),wm=Fi("left"),pm={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(vA).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}})}},Qm={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"}}},Ui=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Cm=Ui("top"),Fm=Ui("right"),Um=Ui("bottom"),mm=Ui("left"),vm={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}}},Em={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}},ym={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Yo(e[0],"none")?[]:We(e).map(function(t){for(var r={color:rt.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}},Im=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},xm=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},Lm={matrix:Im,matrix3d:xm},Vc={type:16,number:50,flags:Un},Sm=[Vc,Vc],Tm={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(NA);return t.length!==2?Sm:[t[0],t[1]]}},Km={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}}},rn;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(rn||(rn={}));var _m={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return rn.BREAK_ALL;case"keep-all":return rn.KEEP_ALL;case"normal":default:return rn.NORMAL}}},Dm={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(br(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},ag={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")}},Rm={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return br(e)?e.number:1}},Om={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},km={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(vA).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})}},Mm={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+"'"})}},Pm={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Nm={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(br(e))return e.number;if(vA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},Vm={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(vA).map(function(t){return t.value})}},Gm={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"}}},$A=function(A,e){return(A&e)!==0},$m={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}},Xm={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($B),s=0;s1?1:0],this.overflowWrap=V(e,Qm,t.overflowWrap),this.paddingTop=V(e,Cm,t.paddingTop),this.paddingRight=V(e,Fm,t.paddingRight),this.paddingBottom=V(e,Um,t.paddingBottom),this.paddingLeft=V(e,mm,t.paddingLeft),this.paintOrder=V(e,Zm,t.paintOrder),this.position=V(e,Em,t.position),this.textAlign=V(e,vm,t.textAlign),this.textDecorationColor=V(e,Om,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=V(e,km,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=V(e,ym,t.textShadow),this.textTransform=V(e,bm,t.textTransform),this.transform=V(e,Hm,t.transform),this.transformOrigin=V(e,Tm,t.transformOrigin),this.visibility=V(e,Km,t.visibility),this.webkitTextStrokeColor=V(e,zm,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=V(e,qm,t.webkitTextStrokeWidth),this.wordBreak=V(e,_m,t.wordBreak),this.zIndex=V(e,Dm,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return Ht(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 $A(this.display,4)||$A(this.display,33554432)||$A(this.display,268435456)||$A(this.display,536870912)||$A(this.display,67108864)||$A(this.display,134217728)},A}(),ev=function(){function A(e,t){this.content=V(e,$m,t.content),this.quotes=V(e,Ym,t.quotes)}return A}(),$c=function(){function A(e,t){this.counterIncrement=V(e,Xm,t.counterIncrement),this.counterReset=V(e,Jm,t.counterReset)}return A}(),V=function(A,e,t){var r=new VB,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var s=new GB(r.read());switch(e.type){case 2:var i=s.parseComponentValue();return e.parse(A,vA(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 hi.parse(A,s.parseComponentValue());case"color":return bt.parse(A,s.parseComponentValue());case"image":return Ma.parse(A,s.parseComponentValue());case"length":var o=s.parseComponentValue();return Lt(o)?o:Ae;case"length-percentage":var a=s.parseComponentValue();return NA(a)?a:Ae;case"time":return ag.parse(A,s.parseComponentValue())}break}},tv="data-html2canvas-debug",rv=function(A){var e=A.getAttribute(tv);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Zo=function(A,e){var t=rv(A);return t===1||e===t},Ye=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Zo(t,3))debugger;this.styles=new Av(e,window.getComputedStyle(t,null)),Aa(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=Bi(this.context,t),Zo(t,4)&&(this.flags|=16)}return A}(),nv="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAC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5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACA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wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigW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ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Xc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xr=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var es=0;es>4,l[n++]=(i&15)<<4|o>>2,l[n++]=(o&3)<<6|a&63;return c},iv=function(A){for(var e=A.length,t=[],r=0;r>Yt,lv=1<>Yt,uv=lg+cv,fv=uv,Bv=32,gv=fv+Bv,hv=65536>>Pa,dv=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Yt],t=(t<>Yt)],t=(t<>Pa),t=this.index[t],t+=e>>Yt&wv,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var ts=0;ts=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},yv=Qv(nv),ye="×",eo="÷",bv=function(A){return yv.get(A)},Hv=function(A,e,t){var r=t-2,n=e[r],s=e[t-1],i=e[t];if(s===ji&&i===Zi)return ye;if(s===ji||s===Zi||s===Yc||i===ji||i===Zi||i===Yc)return eo;if(s===Zc&&[Zc,zi,zc,qc].indexOf(i)!==-1||(s===zc||s===zi)&&(i===zi||i===qi)||(s===qc||s===qi)&&i===qi||i===Au||i===jc||i===mv||s===Uv)return ye;if(s===Au&&i===eu){for(;n===jc;)n=e[--r];if(n===eu)return ye}if(s===Ao&&i===Ao){for(var o=0;n===Ao;)o++,n=e[--r];if(o%2===0)return ye}return eo},Iv=function(A){var e=vv(A),t=e.length,r=0,n=0,s=e.map(bv);return{next:function(){if(r>=t)return{done:!0,value:null};for(var i=ye;ri.x||l.y>i.y;return i=l,c===0?!0:u});return A.body.removeChild(e),o},Tv=function(){return typeof new Image().crossOrigin<"u"},Kv=function(){return typeof new XMLHttpRequest().responseType=="string"},_v=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},tu=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},Dv=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=zo(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),ru(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",tu(a)?ru(zo(t,t,0,0,c)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),tu(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},zo=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},ru=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=Lv(document);return Object.defineProperty(zA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=zA.SUPPORT_RANGE_BOUNDS&&Sv(document);return Object.defineProperty(zA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=_v(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"?Dv(document):Promise.resolve(!1);return Object.defineProperty(zA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=Tv();return Object.defineProperty(zA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Kv();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}},nn=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),Rv=function(A,e,t,r){var n=Mv(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=nu(r,i,o.length).getClientRects();if(a.length>1){var c=Na(o),l=0;c.forEach(function(f){s.push(new nn(f,st.fromDOMRectList(A,nu(r,l+i,f.length).getClientRects()))),l+=f.length})}else s.push(new nn(o,st.fromDOMRectList(A,a)))}else{var u=r.splitText(o.length);s.push(new nn(o,Ov(A,r))),r=u}else zA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));i+=o.length}),s},Ov=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=Bi(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),s}}return st.EMPTY},nu=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},Na=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 xv(A)},kv=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 Nv(A,e)},Mv=function(A,e){return e.letterSpacing!==0?Na(A):kv(A,e)},Pv=[32,160,4961,65792,65793,4153,4241],Nv=function(A,e){for(var t=hF(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=gi(i),a="";o.forEach(function(c){Pv.indexOf(c)===-1?a+=RA(c):(a.length&&r.push(a),r.push(RA(c)),a="")}),a.length&&r.push(a)}};!(n=t.next()).done;)s();return r},Vv=function(){function A(e,t,r){this.text=Gv(t.data,r.textTransform),this.textBounds=Rv(e,this.text,r,t)}return A}(),Gv=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace($v,Xv);case 2:return A.toUpperCase();default:return A}},$v=/(^|\s|:|-|\(|\))([a-z])/g,Xv=function(A,e,t){return A.length>0?e+t.toUpperCase():A},cg=function(A){Oe(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}(Ye),ug=function(A){Oe(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}(Ye),fg=function(A){Oe(e,A);function e(t,r){var n=A.call(this,t,r)||this,s=new XMLSerializer,i=Bi(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}(Ye),Bg=function(A){Oe(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(Ye),qo=function(A){Oe(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}(Ye),Jv=[{type:15,flags:0,unit:"px",number:3}],Wv=[{type:16,flags:0,number:50}],Yv=function(A){return A.width>A.height?new st(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new Vv(A,n,t.styles));else if(fr(n))if(mg(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return ds(A,o,t,r)});else{var i=wg(A,n);i.styles.isVisible()&&(qv(n,i,r)?i.flags|=4:AE(i.styles)&&(i.flags|=2),zv.indexOf(n.tagName)!==-1&&(i.flags|=8),t.elements.push(i),n.slot,n.shadowRoot?ds(A,n.shadowRoot,i,r):!Rs(n)&&!Cg(n)&&!Os(n)&&ds(A,n,i,r))}},wg=function(A,e){return ea(e)?new cg(A,e):Fg(e)?new ug(A,e):Cg(e)?new fg(A,e):eE(e)?new Bg(A,e):tE(e)?new qo(A,e):rE(e)?new Va(A,e):Os(e)?new gg(A,e):Rs(e)?new hg(A,e):Ug(e)?new dg(A,e):new Ye(A,e)},pg=function(A,e){var t=wg(A,e);return t.flags|=4,ds(A,e,t,t),t},qv=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Ga(A)&&t.styles.isTransparent()},AE=function(A){return A.isPositioned()||A.isFloating()},Qg=function(A){return A.nodeType===Node.TEXT_NODE},fr=function(A){return A.nodeType===Node.ELEMENT_NODE},Aa=function(A){return fr(A)&&typeof A.style<"u"&&!ws(A)},ws=function(A){return typeof A.className=="object"},eE=function(A){return A.tagName==="LI"},tE=function(A){return A.tagName==="OL"},rE=function(A){return A.tagName==="INPUT"},nE=function(A){return A.tagName==="HTML"},Cg=function(A){return A.tagName==="svg"},Ga=function(A){return A.tagName==="BODY"},Fg=function(A){return A.tagName==="CANVAS"},iu=function(A){return A.tagName==="VIDEO"},ea=function(A){return A.tagName==="IMG"},Ug=function(A){return A.tagName==="IFRAME"},ou=function(A){return A.tagName==="STYLE"},sE=function(A){return A.tagName==="SCRIPT"},Rs=function(A){return A.tagName==="TEXTAREA"},Os=function(A){return A.tagName==="SELECT"},mg=function(A){return A.tagName==="SLOT"},au=function(A){return A.tagName.indexOf("-")>0},iE=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}(),lu={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"]},cu={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},oE={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},aE={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ir=function(A,e,t,r,n,s){return At?wn(A,n,s.length>0):r.integers.reduce(function(i,o,a){for(;A>=o;)A-=o,i+=r.values[a];return i},"")+s},vg=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?"-":"")+(vg(Math.abs(A),s,r,function(i){return RA(Math.floor(i%s)+e)})+n)},Rt=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return vg(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},cr=1,ft=2,Bt=4,Jr=8,ze=function(A,e,t,r,n,s){if(A<-9999||A>9999)return wn(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&&$A(s,cr)&&o!==""?o=e[c]+o:c>1||c===1&&a===0||c===1&&a===1&&$A(s,ft)||c===1&&a===1&&$A(s,Bt)&&A>100||c===1&&a>1&&$A(s,Jr)?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},uu="十百千萬",fu="拾佰仟萬",Bu="マイナス",to="마이너스",wn=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 Rt(A,"〇一二三四五六七八九",n);case 6:return ir(A,1,3999,lu,3,r).toLowerCase();case 7:return ir(A,1,3999,lu,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 ir(A,1,9999,cu,3,r);case 35:return ir(A,1,9999,cu,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 Rt(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Rt(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return ze(A,"零一二三四五六七八九",uu,"負",n,ft|Bt|Jr);case 47:return ze(A,"零壹貳參肆伍陸柒捌玖",fu,"負",n,cr|ft|Bt|Jr);case 42:return ze(A,"零一二三四五六七八九",uu,"负",n,ft|Bt|Jr);case 41:return ze(A,"零壹贰叁肆伍陆柒捌玖",fu,"负",n,cr|ft|Bt|Jr);case 26:return ze(A,"〇一二三四五六七八九","十百千万",Bu,n,0);case 25:return ze(A,"零壱弐参四伍六七八九","拾百千万",Bu,n,cr|ft|Bt);case 31:return ze(A,"영일이삼사오육칠팔구","십백천만",to,s,cr|ft|Bt);case 33:return ze(A,"零一二三四五六七八九","十百千萬",to,s,0);case 32:return ze(A,"零壹貳參四五六七八九","拾百千",to,s,cr|ft|Bt);case 18:return DA(A,2406,2415,!0,r);case 20:return ir(A,1,19999,aE,3,r);case 21:return DA(A,2790,2799,!0,r);case 22:return DA(A,2662,2671,!0,r);case 22:return ir(A,1,10999,oE,3,r);case 23:return Rt(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Rt(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return DA(A,3302,3311,!0,r);case 28:return Rt(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Rt(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)}},Eg="data-html2canvas-ignore",gu=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new iE,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=lE(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=fE(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(dE),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,uE(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(gE(document.doctype)+""),hE(this.referenceElement.ownerDocument,s,i),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),c},A.prototype.createElementClone=function(e){if(Zo(e,2))debugger;if(Fg(e))return this.createCanvasClone(e);if(iu(e))return this.createVideoClone(e);if(ou(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return ea(t)&&(ea(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),au(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return ro(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){(!fr(t)||!sE(t)&&!t.hasAttribute(Eg)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!fr(t)||!ou(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(fr(s)&&mg(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(Qg(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&fr(e)&&(Aa(e)||ws(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&&Aa(n)&&(this.clonedReferenceElement=n),Ga(n)&&QE(n);var a=this.counters.parse(new $c(this.context,s)),c=this.resolvePseudoContent(e,n,i,sn.BEFORE);au(e)&&(t=!0),iu(e)||this.cloneChildNodes(e,n,t),c&&n.insertBefore(c,n.firstChild);var l=this.resolvePseudoContent(e,n,o,sn.AFTER);return l&&n.appendChild(l),this.counters.pop(a),(s&&(this.options.copyStyles||ws(e))&&!Ug(e)||t)&&ro(s,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(Rs(e)||Os(e))&&(Rs(n)||Os(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 $c(this.context,r));var a=new ev(this.context,r),c=o.createElement("html2canvaspseudoelement");ro(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(vA);B.length&&c.appendChild(o.createTextNode(e.getAttribute(B[0].value)||""))}else if(u.name==="counter"){var g=u.values.filter(mr),d=g[0],U=g[1];if(d&&vA(d)){var p=s.counters.getCounterValue(d.value),C=U&&vA(U)?jo.parse(s.context,U.value):3;c.appendChild(o.createTextNode(wn(p,C,!1)))}}else if(u.name==="counters"){var F=u.values.filter(mr),d=F[0],y=F[1],U=F[2];if(d&&vA(d)){var E=s.counters.getCounterValues(d.value),Q=U&&vA(U)?jo.parse(s.context,U.value):3,L=y&&y.type===0?y.value:"",b=E.map(function(AA){return wn(AA,Q,!1)}).join(L);c.appendChild(o.createTextNode(b))}}}else if(u.type===20)switch(u.value){case"open-quote":c.appendChild(o.createTextNode(Gc(a.quotes,s.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(Gc(a.quotes,--s.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(u.value))}}),c.className=ta+" "+ra;var l=n===sn.BEFORE?" "+ta:" "+ra;return ws(t)?t.className.baseValue+=l:t.className+=l,c}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),sn;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(sn||(sn={}));var lE=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(Eg,"true"),A.body.appendChild(t),t},cE=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},uE=function(A){return Promise.all([].slice.call(A.images,0).map(cE))},fE=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)}})},BE=["all","d","content"],ro=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);BE.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},gE=function(A){var e="";return A&&(e+=""),e},hE=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},dE=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},wE=":before",pE=":after",ta="___html2canvas___pseudoelement_before",ra="___html2canvas___pseudoelement_after",hu=`{ + content: "" !important; + display: none !important; +}`,QE=function(A){CE(A,"."+ta+wE+hu+` + .`+ra+pE+hu)},CE=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},yg=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}(),FE=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)||(so(e)||EE(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=yg.isSameOrigin(e),r=!no(e)&&this._options.useCORS===!0&&zA.SUPPORT_CORS_IMAGES&&!t,n=!no(e)&&!t&&!so(e)&&typeof this._options.proxy=="string"&&zA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!no(e)&&!so(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,(yE(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}(),UE=/^data:image\/svg\+xml/i,mE=/^data:image\/.*;base64,/i,vE=/^data:image\/.*/i,EE=function(A){return zA.SUPPORT_SVG_DRAWING||!bE(A)},no=function(A){return vE.test(A)},yE=function(A){return mE.test(A)},so=function(A){return A.substr(0,4)==="blob"},bE=function(A){return A.substr(-3).toLowerCase()==="svg"||UE.test(A)},P=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}(),or=function(A,e,t){return new P(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},rs=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=or(this.start,this.startControl,e),n=or(this.startControl,this.endControl,e),s=or(this.endControl,this.end,e),i=or(r,n,e),o=or(n,s,e),a=or(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}(),be=function(A){return A.type===1},HE=function(){function A(e){var t=e.styles,r=e.bounds,n=$r(t.borderTopLeftRadius,r.width,r.height),s=n[0],i=n[1],o=$r(t.borderTopRightRadius,r.width,r.height),a=o[0],c=o[1],l=$r(t.borderBottomRightRadius,r.width,r.height),u=l[0],f=l[1],B=$r(t.borderBottomLeftRadius,r.width,r.height),g=B[0],d=B[1],U=[];U.push((s+a)/r.width),U.push((g+u)/r.width),U.push((i+d)/r.height),U.push((c+f)/r.height);var p=Math.max.apply(Math,U);p>1&&(s/=p,i/=p,a/=p,c/=p,u/=p,f/=p,g/=p,d/=p);var C=r.width-a,F=r.height-f,y=r.width-u,E=r.height-d,Q=t.borderTopWidth,L=t.borderRightWidth,b=t.borderBottomWidth,v=t.borderLeftWidth,T=HA(t.paddingTop,e.bounds.width),AA=HA(t.paddingRight,e.bounds.width),K=HA(t.paddingBottom,e.bounds.width),O=HA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||i>0?SA(r.left+v/3,r.top+Q/3,s-v/3,i-Q/3,wA.TOP_LEFT):new P(r.left+v/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,wA.TOP_RIGHT):new P(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-b/3,wA.BOTTOM_RIGHT):new P(r.left+r.width-L/3,r.top+r.height-b/3),this.bottomLeftBorderDoubleOuterBox=g>0||d>0?SA(r.left+v/3,r.top+E,g-v/3,d-b/3,wA.BOTTOM_LEFT):new P(r.left+v/3,r.top+r.height-b/3),this.topLeftBorderDoubleInnerBox=s>0||i>0?SA(r.left+v*2/3,r.top+Q*2/3,s-v*2/3,i-Q*2/3,wA.TOP_LEFT):new P(r.left+v*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,wA.TOP_RIGHT):new P(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-b*2/3,wA.BOTTOM_RIGHT):new P(r.left+r.width-L*2/3,r.top+r.height-b*2/3),this.bottomLeftBorderDoubleInnerBox=g>0||d>0?SA(r.left+v*2/3,r.top+E,g-v*2/3,d-b*2/3,wA.BOTTOM_LEFT):new P(r.left+v*2/3,r.top+r.height-b*2/3),this.topLeftBorderStroke=s>0||i>0?SA(r.left+v/2,r.top+Q/2,s-v/2,i-Q/2,wA.TOP_LEFT):new P(r.left+v/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,wA.TOP_RIGHT):new P(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-b/2,wA.BOTTOM_RIGHT):new P(r.left+r.width-L/2,r.top+r.height-b/2),this.bottomLeftBorderStroke=g>0||d>0?SA(r.left+v/2,r.top+E,g-v/2,d-b/2,wA.BOTTOM_LEFT):new P(r.left+v/2,r.top+r.height-b/2),this.topLeftBorderBox=s>0||i>0?SA(r.left,r.top,s,i,wA.TOP_LEFT):new P(r.left,r.top),this.topRightBorderBox=a>0||c>0?SA(r.left+C,r.top,a,c,wA.TOP_RIGHT):new P(r.left+r.width,r.top),this.bottomRightBorderBox=u>0||f>0?SA(r.left+y,r.top+F,u,f,wA.BOTTOM_RIGHT):new P(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=g>0||d>0?SA(r.left,r.top+E,g,d,wA.BOTTOM_LEFT):new P(r.left,r.top+r.height),this.topLeftPaddingBox=s>0||i>0?SA(r.left+v,r.top+Q,Math.max(0,s-v),Math.max(0,i-Q),wA.TOP_LEFT):new P(r.left+v,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),wA.TOP_RIGHT):new P(r.left+r.width-L,r.top+Q),this.bottomRightPaddingBox=u>0||f>0?SA(r.left+Math.min(y,r.width-v),r.top+Math.min(F,r.height-b),Math.max(0,u-L),Math.max(0,f-b),wA.BOTTOM_RIGHT):new P(r.left+r.width-L,r.top+r.height-b),this.bottomLeftPaddingBox=g>0||d>0?SA(r.left+v,r.top+Math.min(E,r.height-b),Math.max(0,g-v),Math.max(0,d-b),wA.BOTTOM_LEFT):new P(r.left+v,r.top+r.height-b),this.topLeftContentBox=s>0||i>0?SA(r.left+v+O,r.top+Q+T,Math.max(0,s-(v+O)),Math.max(0,i-(Q+T)),wA.TOP_LEFT):new P(r.left+v+O,r.top+Q+T),this.topRightContentBox=a>0||c>0?SA(r.left+Math.min(C,r.width+v+O),r.top+Q+T,C>r.width+v+O?0:a-v+O,c-(Q+T),wA.TOP_RIGHT):new P(r.left+r.width-(L+AA),r.top+Q+T),this.bottomRightContentBox=u>0||f>0?SA(r.left+Math.min(y,r.width-(v+O)),r.top+Math.min(F,r.height+Q+T),Math.max(0,u-(L+AA)),f-(b+K),wA.BOTTOM_RIGHT):new P(r.left+r.width-(L+AA),r.top+r.height-(b+K)),this.bottomLeftContentBox=g>0||d>0?SA(r.left+v+O,r.top+E,Math.max(0,g-(v+O)),d-(b+K),wA.BOTTOM_LEFT):new P(r.left+v+O,r.top+r.height-(b+K))}return A}(),wA;(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"})(wA||(wA={}));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 wA.TOP_LEFT:return new rs(new P(A,c),new P(A,c-o),new P(a-i,e),new P(a,e));case wA.TOP_RIGHT:return new rs(new P(A,e),new P(A+i,e),new P(a,c-o),new P(a,c));case wA.BOTTOM_RIGHT:return new rs(new P(a,e),new P(a,e+o),new P(A+i,c),new P(A,c));case wA.BOTTOM_LEFT:default:return new rs(new P(a,c),new P(a-i,c),new P(A,e+o),new P(A,e))}},ks=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},IE=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Ms=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},xE=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),ns=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),LE=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),SE=function(A){return A.type===0},bg=function(A){return A.type===1},TE=function(A){return A.type===2},du=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},KE=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})},Hg=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),Ig=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new HE(this.container),this.container.styles.opacity<1&&this.effects.push(new LE(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 xE(r,n,s))}if(this.container.styles.overflowX!==0){var i=ks(this.curves),o=Ms(this.curves);du(i,o)?this.effects.push(new ns(i,6)):(this.effects.push(new ns(i,2)),this.effects.push(new ns(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!bg(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=ks(r.curves),o=Ms(r.curves);du(i,o)||n.unshift(new ns(o,6))}}else n.unshift.apply(n,s);r=r.parent}return n.filter(function(a){return $A(a.target,e)})},A}(),na=function(A,e,t,r){A.container.elements.forEach(function(n){var s=$A(n.flags,4),i=$A(n.flags,2),o=new Ig(n,A);$A(n.styles.display,2048)&&r.push(o);var a=$A(n.flags,8)?[]:r;if(s||i){var c=s||n.styles.isPositioned()?t:e,l=new Hg(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,d){return u>g.element.container.styles.zIndex.order?(f=d,!1):f>0}),c.negativeZIndex.splice(f,0,l)}else if(u>0){var B=0;c.positiveZIndex.some(function(g,d){return u>=g.element.container.styles.zIndex.order?(B=d+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);na(o,l,s?l:t,a)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),na(o,e,t,a);$A(n.flags,8)&&xg(n,a)})},xg=function(A,e){for(var t=A instanceof qo?A.start:1,r=A instanceof qo?A.reversed:!1,n=0;n"u"?A[0]:t},NE=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 P(Math.round(r.left),Math.round(r.top+i)),new P(Math.round(r.left+r.width),Math.round(r.top+i)),new P(Math.round(r.left+r.width),Math.round(a+r.top+i)),new P(Math.round(r.left),Math.round(a+r.top+i))];case 3:return[new P(Math.round(r.left+s),Math.round(r.top)),new P(Math.round(r.left+s+o),Math.round(r.top)),new P(Math.round(r.left+s+o),Math.round(r.height+r.top)),new P(Math.round(r.left+s),Math.round(r.height+r.top))];case 1:return[new P(Math.round(r.left+s),Math.round(r.top+i)),new P(Math.round(r.left+s+o),Math.round(r.top+i)),new P(Math.round(r.left+s+o),Math.round(r.top+i+a)),new P(Math.round(r.left+s),Math.round(r.top+i+a))];default:return[new P(Math.round(n.left),Math.round(n.top)),new P(Math.round(n.left+n.width),Math.round(n.top)),new P(Math.round(n.left+n.width),Math.round(n.height+n.top)),new P(Math.round(n.left),Math.round(n.height+n.top))]}},VE="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",pu="Hidden Text",GE=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=VE,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(pu)),r.appendChild(s),r.appendChild(n);var o=n.offsetTop-s.offsetTop+2;r.removeChild(s),r.appendChild(this._document.createTextNode(pu)),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}(),Sg=function(){function A(e,t){this.context=e,this.options=t}return A}(),$E=1e4,XE=function(A){Oe(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 GE(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(),TE(t)&&(this.ctx.globalAlpha=t.opacity),SE(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)),bg(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($A(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=Na(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=ZE(t.fontFamily).join(", "),s=mn(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(d){switch(d){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(p){f.ctx.shadowColor=YA(p.color),f.ctx.shadowOffsetX=p.offsetX.number*f.options.scale,f.ctx.shadowOffsetY=p.offsetY.number*f.options.scale,f.ctx.shadowBlur=p.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(p){switch(p){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=Ps(t),i=Ms(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,d,U,p,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&&(b=s.ctx.createPattern(E,"repeat"),s.renderRepeat(T,b,W,tA))):TU(l)&&(v=io(t,r,[null,null,null]),T=v[0],AA=v[1],K=v[2],O=v[3],aA=v[4],gA=l.position.length===0?[ka]:l.position,W=HA(gA[0],O),tA=HA(gA[gA.length-1],aA),lA=HU(l,W,tA,O,aA),TA=lA[0],MA=lA[1],TA>0&&MA>0&&(nA=s.ctx.createRadialGradient(AA+W,K+tA,0,AA+W,K+tA,TA),Mc(l.stops,TA*2).forEach(function(H){return nA.addColorStop(H.stop,YA(H.color))}),s.path(T),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(AA,JA*(K-QA)+QA,O,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,d,U,p,C,F,y,E,Q,E,Q;return ee(this,function(L){return this.ctx.save(),o=OE(s,n),a=wu(s,n),i===2&&(this.path(a),this.ctx.clip()),be(a[0])?(c=a[0].start.x,l=a[0].start.y):(c=a[0].x,l=a[0].y),be(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,d=r<3?r*2:r,i===3&&(g=r,d=r),U=!0,B<=g*2?U=!1:B<=g*2+d?(p=B/(2*g+d),g*=p,d*=p):(C=Math.floor((B+d)/(g+d)),F=(B-C*g)/(C-1),y=(B-(C+1)*g)/C,d=y<=0||Math.abs(d-F)t.visble,B=>{s.value=B,B&&Yf(()=>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 d=document.getElementById("container");ty(d).then(U=>{const p=U.toDataURL("image/png"),C=new Image;C.src=p,C.onload=()=>{B(C)}})})}const c=async B=>{const g=await a(),d={width:g.width,height:g.height},{canvas:U,ctx:p,image:C}=l(g,d);r.filter(C,B),r.putImageData(U,p,C)};function l(B,g){const d=document.getElementById("preview-area"),U=d.getContext("2d");d.width=g.width/2,d.height=g.height/2,U.drawImage(B,0,0,g.width/2,g.height/2);const p=r.open_image(d,U);return{canvas:d,ctx:U,image:p}}function u(B){c(B.id)}const f=async B=>{const g=await a(),d={width:g.width,height:g.height},{canvas:U,ctx:p,image:C}=l(g,d);r[B](C),r.putImageData(U,p,C)};return(B,g)=>(ie(),Qr(bA(IB),{appear:"",show:s.value,as:"template"},{default:ge(()=>[uA(bA(PC),{as:"div",onClose:o,class:"relative z-10"},{default:ge(()=>[uA(bA(Ko),{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(()=>[sy]),_:1}),X("div",iy,[X("div",oy,[uA(bA(Ko),{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(NC),{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(VC),{as:"h3",class:"text-lg font-medium leading-6 text-gray-900"},{default:ge(()=>[ri(" 效果预览 ")]),_:1}),X("div",ay,[X("div",ly,[cy,uA(_o,{className:"w-36",sourceArr:i,defaultId:i[0].id,onSelected:u},null,8,["defaultId"])]),X("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]=d=>f("emboss"))}," EMBOSS "),X("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]=d=>f("grayscale"))}," GRAYSCALE "),X("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]=d=>f("colorize"))}," COLORIZE ")]),uy]),_:1})]),_:1})])])]),_:1})]),_:1},8,["show"]))}}),Qu="current-content",Cu="is-with-date",Fu="current-theme",Uu="current-size",sa=[{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"}],mu=[{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;"}],By=`[玉桃文飨轩](https://share.lovejade.cn/),简单好用的在线文本工具;支持将 Markdown、rich text、word 等格式内容,快速转化为 png、pdf、html、PPT 等文件,并支持一键下载、社交分享、自定义设置等功能。 + +## 如何使用? + +在 Foucs 状态,输入您的内容(支持 \`Markdown\` 格式);在 Blur 状态,查看预览效果;点击「保存图片」,即可将内容生成图片并下载至本地。 +`,gy=Uw({id:"content",state:()=>{const A=window.innerWidth>=960?"laptop":"mobile";return{isWithDate:!!localStorage.getItem(Cu),content:localStorage.getItem(Qu)||By,currentTheme:localStorage.getItem(Fu)||sa[0].id,currentSize:localStorage.getItem(Uu)||A}},getters:{},actions:{updateContent(A){!A||A==="undefined"||(this.content=A,localStorage.setItem(Qu,A))},updateWithDate(A){this.isWithDate=A,localStorage.setItem(Cu,A?"1":"")},updateCurrentTheme(A){this.currentTheme=A,localStorage.setItem(Fu,A)},updateCurrentSize(A){this.currentSize=A,localStorage.setItem(Uu,A)}}}),hy=A=>new Promise(e=>setTimeout(e,A||1e3)),dy=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},wy=()=>{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=dy(4);return[e,t,r,n].join("-")};function py(A){const e=document.createElement("a");e.href=A.toDataURL("image/png"),e.download=wy()+".png",e.click()}function Qy(){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 Hr=A=>(sf("data-v-d0a050b2"),A=A(),of(),A),Cy={key:0,class:"bg"},Fy={class:"flex flex-col items-center px-4 py-4 mx-auto my-4 w-full bg-white rounded-md shadow-lg operate-area"},Uy={class:"flex flex-wrap justify-between space-x-6 w-full item-center"},my={class:"flex flex-auto justify-between mobile-adjust"},vy={class:"flex flex-col justify-between items-center h-20"},Ey=Hr(()=>X("p",{class:"pb-2 font-medium text-gray-400"},"选择主题",-1)),yy={class:"flex flex-col justify-between items-center h-20 select-zize"},by=Hr(()=>X("p",{class:"pb-2 font-medium text-gray-400"},"选择尺寸",-1)),Hy={class:"flex flex-col justify-between items-center w-24 h-20"},Iy=Hr(()=>X("p",{class:"pb-2 font-medium text-gray-400"},"日期",-1)),xy={id:"toast-success",class:"flex fixed top-10 items-center p-4 mb-4 w-full max-w-xs text-gray-500 bg-white rounded-lg shadow",role:"alert"},Ly=Hr(()=>X("div",{class:"inline-flex flex-shrink-0 justify-center items-center w-8 h-8 text-green-500 bg-green-100 rounded-lg"},[X("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[X("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)),Sy={class:"text-sm font-normal ms-3"},Ty=Hr(()=>X("span",{class:"sr-only"},"Close",-1)),Ky=Hr(()=>X("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[X("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)),_y=[Ty,Ky],Dy=_A({__name:"Home",setup(A){const e=gy();let{currentSize:t,currentTheme:r}=mw(e);const n=z(null);let s=z(!1),i=z(null);const{proxy:o}=va(),a={quality:1,pixelRatio:window.devicePixelRatio,skipAutoScale:!0,filter:v=>!v.classList||!v.classList.contains("exclude-from-image")};oe(i,async()=>{await hy(5e3),i.value=null}),VA(()=>{f(),u(),g()});const c=J(()=>mu.filter(v=>v.id===t.value)[0]),l=J(()=>sa.filter(v=>v.id===r.value)[0]);function u(){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 f(){n.value.innerHTML=qp(e.content,{breaks:!0})}function B(){n.value.innerText=e.content}function g(){const v=document.querySelector("#editor");v==null||v.addEventListener("paste",T=>{let K=(T.clipboardData||(T==null?void 0:T.dataTransfer)).getData("text/plain");K=K.replaceAll(` +`,"
    ");const O=window.getSelection();if(!(O!=null&&O.rangeCount))return!1;O.deleteFromDocument(),document.execCommand("insertHTML",!1,K),T.preventDefault()})}function d(v){e.updateWithDate(v),u()}function U(v){e.updateCurrentTheme(v.id),o.$reortGaEvent("item","main")}function p(v){e.updateCurrentSize(v.id),o.$reortGaEvent("size","main")}function C(){B(),o.$reortGaEvent("focus","main")}function F(){e.updateContent(n.value.innerText),f(),u(),o.$reortGaEvent("blur","main")}function y(){i.value=null}function E(){s.value=!0}function Q(){o.$reortGaEvent("save-img","main");const v=document.getElementById("container");uc(v,a).then(T=>{navigator.clipboard.write([new ClipboardItem({"image/png":T})]),i.value="已复制图片至您的剪切板"}).catch(T=>{console.error("复制图片失败:",T),i.value="复制图片失败,请重试"})}function L(v){s.value=v}function b(){o.$reortGaEvent("save-img","main");const v=document.getElementById("container");uc(v,a).then(T=>{py(T),i.value="已成功为你保存图片"}).catch(T=>{console.error("保存图片失败:",T),i.value="保存图片失败,请重试"})}return(v,T)=>(ie(),Je(re,null,[X("div",{id:"container",ref:"container",class:qe(["container my-4",`${l.value.id}-box`]),style:Xs(c.value.style)},[l.value.id==="official"?(ie(),Je("div",Cy)):bf("",!0),X("div",{class:qe(["content",l.value.id])},[X("div",{id:"editor",ref_key:"editor",ref:n,onBlur:F,onFocus:C,class:"editor markdown",contenteditable:"true"},null,544)],2)],6),X("div",Fy,[X("div",Uy,[X("div",my,[X("div",vy,[Ey,uA(_o,{className:"w-24",sourceArr:bA(sa),defaultId:bA(r),onSelected:U},null,8,["sourceArr","defaultId"])]),X("div",yy,[by,uA(_o,{className:"w-28",sourceArr:bA(mu),defaultId:bA(t),onSelected:p},null,8,["sourceArr","defaultId"])]),X("div",Hy,[Iy,uA(jQ,{state:bA(e).isWithDate,onCheck:d,class:"block"},null,8,["state"])])])]),X("div",{class:"flex flex-row justify-evenly items-center px-4 py-4 space-x-6 w-full md:space-x-0 md:space-y-6 md:flex-col",role:"group"},[X("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 rounded-md border border-gray-300 md:w-full",onClick:E}," 预览图片 "),X("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 rounded-md border border-gray-300 md:w-full",onClick:Q}," 复制图片 "),X("button",{class:"block px-4 py-2 text-lg font-bold text-gray-900 rounded-md border border-gray-300 md:w-full",onClick:b}," 保存图片 ")]),cf(X("div",xy,[Ly,X("div",Sy,Qs(bA(i)),1),X("button",{type:"button",onClick:y,class:"inline-flex justify-center items-center p-1.5 -mx-1.5 -my-1.5 w-8 h-8 text-gray-400 bg-white rounded-lg ms-auto hover:text-gray-900 focus:ring-2 focus:ring-gray-300 hover:bg-gray-100","data-dismiss-target":"#toast-success","aria-label":"Close"},_y)],512),[[Xd,bA(i)]])]),uA(fy,{visble:bA(s),onChange:L},null,8,["visble"]),uA(T0),uA(b0)],64))}}),Ry=ai(Dy,[["__scopeId","data-v-d0a050b2"]]),Oy=vp({history:Pw("/"),routes:[{path:"/",name:"home",component:Ry},{path:"/about",name:"about",component:()=>Yf(()=>import("./About-CiiY6ksi.js"),__vite__mapDeps([0,1]))}]}),vn=fw(Pp);vn.use(dw());vn.use(Oy);vn.config.globalProperties.$reortGaEvent=(A,e,t)=>{(window.gtag||(()=>{}))("event",A,{event_category:e,event_label:t||A})};vn.config.errorHandler=(A,e,t)=>{console.error(A,e,t)};vn.mount("#app");export{X as a,Je as c,_A as d,ie as o,qp as p,bA as u}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/About-CiiY6ksi.js","assets/About-CxK8kti1.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/index-COOP5uyC.js b/assets/index-COOP5uyC.js deleted file mode 100644 index e5a4459..0000000 --- a/assets/index-COOP5uyC.js +++ /dev/null @@ -1,105 +0,0 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function t(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerPolicy&&(s.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?s.credentials="include":n.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(n){if(n.ep)return;n.ep=!0;const s=t(n);fetch(n.href,s)}})();/** -* @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 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 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 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 -**/const fh="http://www.w3.org/2000/svg",Bh="http://www.w3.org/1998/Math/MathML",gt=typeof document<"u"?document:null,ul=gt&>.createElement("template"),gh={insert:(A,e,t)=>{e.insertBefore(A,t||null)},remove:A=>{const e=A.parentNode;e&&e.removeChild(A)},createElement:(A,e,t,r)=>{const n=e==="svg"?gt.createElementNS(fh,A):e==="mathml"?gt.createElementNS(Bh,A):gt.createElement(A,t?{is:t}:void 0);return A==="select"&&r&&r.multiple!=null&&n.setAttribute("multiple",r.multiple),n},createText:A=>gt.createTextNode(A),createComment:A=>gt.createComment(A),setText:(A,e)=>{A.nodeValue=e},setElementText:(A,e)=>{A.textContent=e},parentNode:A=>A.parentNode,nextSibling:A=>A.nextSibling,querySelector:A=>gt.querySelector(A),setScopeId(A,e){A.setAttribute(e,"")},insertStaticContent(A,e,t,r,n,s){const i=t?t.previousSibling:e.lastChild;if(n&&(n===s||n.nextSibling))for(;e.insertBefore(n.cloneNode(!0),t),!(n===s||!(n=n.nextSibling)););else{ul.innerHTML=r==="svg"?`${A}`:r==="mathml"?`${A}`:A;const o=ul.content;if(r==="svg"||r==="mathml"){const a=o.firstChild;for(;a.firstChild;)o.appendChild(a.firstChild);o.removeChild(a)}e.insertBefore(o,t)}return[i?i.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},st="transition",br="animation",an=Symbol("_vtc"),pa=(A,{slots:e})=>NA(pd,dh(A),e);pa.displayName="Transition";const ff={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};pa.props=$A({},$u,ff);const Lt=(A,e=[])=>{AA(A)?A.forEach(t=>t(...e)):A&&A(...e)},fl=A=>A?AA(A)?A.some(e=>e.length>1):A.length>1:!1;function dh(A){const e={};for(const T in A)T in ff||(e[T]=A[T]);if(A.css===!1)return e;const{name:t="v",type:r,duration:n,enterFromClass:s=`${t}-enter-from`,enterActiveClass:i=`${t}-enter-active`,enterToClass:o=`${t}-enter-to`,appearFromClass:a=s,appearActiveClass:c=i,appearToClass:l=o,leaveFromClass:u=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:B=`${t}-leave-to`}=A,g=hh(n),h=g&&g[0],U=g&&g[1],{onBeforeEnter:w,onEnter:C,onEnterCancelled:F,onLeave:y,onLeaveCancelled:E,onBeforeAppear:Q=w,onAppear:L=C,onAppearCancelled:v=F}=e,b=(T,P,aA)=>{St(T,P?l:o),St(T,P?c:i),aA&&aA()},O=(T,P)=>{T._isLeaving=!1,St(T,u),St(T,B),St(T,f),P&&P()},j=T=>(P,aA)=>{const gA=T?L:C,W=()=>b(P,T,aA);Lt(gA,[P,W]),Bl(()=>{St(P,T?a:s),it(P,T?l:o),fl(gA)||gl(P,r,h,W)})};return $A(e,{onBeforeEnter(T){Lt(w,[T]),it(T,s),it(T,i)},onBeforeAppear(T){Lt(Q,[T]),it(T,a),it(T,c)},onEnter:j(!1),onAppear:j(!0),onLeave(T,P){T._isLeaving=!0;const aA=()=>O(T,P);it(T,u),Qh(),it(T,f),Bl(()=>{T._isLeaving&&(St(T,u),it(T,B),fl(y)||gl(T,r,U,aA))}),Lt(y,[T,aA])},onEnterCancelled(T){b(T,!1),Lt(F,[T])},onAppearCancelled(T){b(T,!0),Lt(v,[T])},onLeaveCancelled(T){O(T),Lt(E,[T])}})}function hh(A){if(A==null)return null;if(EA(A))return[Ui(A.enter),Ui(A.leave)];{const e=Ui(A);return[e,e]}}function Ui(A){return gg(A)}function it(A,e){e.split(/\s+/).forEach(t=>t&&A.classList.add(t)),(A[an]||(A[an]=new Set)).add(e)}function St(A,e){e.split(/\s+/).forEach(r=>r&&A.classList.remove(r));const t=A[an];t&&(t.delete(e),t.size||(A[an]=void 0))}function Bl(A){requestAnimationFrame(()=>{requestAnimationFrame(A)})}let ph=0;function gl(A,e,t,r){const n=A._endId=++ph,s=()=>{n===A._endId&&r()};if(t)return setTimeout(s,t);const{type:i,timeout:o,propCount:a}=wh(A,e);if(!i)return r();const c=i+"end";let l=0;const u=()=>{A.removeEventListener(c,f),s()},f=B=>{B.target===A&&++l>=a&&u()};setTimeout(()=>{l(t[g]||"").split(", "),n=r(`${st}Delay`),s=r(`${st}Duration`),i=dl(n,s),o=r(`${br}Delay`),a=r(`${br}Duration`),c=dl(o,a);let l=null,u=0,f=0;e===st?i>0&&(l=st,u=i,f=s.length):e===br?c>0&&(l=br,u=c,f=a.length):(u=Math.max(i,c),l=u>0?i>c?st:br:null,f=l?l===st?s.length:a.length:0);const B=l===st&&/\b(transform|all)(,|$)/.test(r(`${st}Property`).toString());return{type:l,timeout:u,propCount:f,hasTransform:B}}function dl(A,e){for(;A.lengthhl(t)+hl(A[r])))}function hl(A){return A==="auto"?0:Number(A.slice(0,-1).replace(",","."))*1e3}function Qh(){return document.body.offsetHeight}function Ch(A,e,t){const r=A[an];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?A.removeAttribute("class"):t?A.setAttribute("class",e):A.className=e}const ln=Symbol("_vod"),Fh={beforeMount(A,{value:e},{transition:t}){A[ln]=A.style.display==="none"?"":A.style.display,t&&e?t.beforeEnter(A):Hr(A,e)},mounted(A,{value:e},{transition:t}){t&&e&&t.enter(A)},updated(A,{value:e,oldValue:t},{transition:r}){!e==!t&&A.style.display===A[ln]||(r?e?(r.beforeEnter(A),Hr(A,!0),r.enter(A)):r.leave(A,()=>{Hr(A,!1)}):Hr(A,e))},beforeUnmount(A,{value:e}){Hr(A,e)}};function Hr(A,e){A.style.display=e?A[ln]:"none"}const Uh=Symbol(""),vh=/(^|;)\s*display\s*:/;function mh(A,e,t){const r=A.style,n=RA(t),s=r.display;let i=!1;if(t&&!n){if(e&&!RA(e))for(const o in e)t[o]==null&&Bo(r,o,"");for(const o in t)o==="display"&&(i=!0),Bo(r,o,t[o])}else if(n){if(e!==t){const o=r[Uh];o&&(t+=";"+o),r.cssText=t,i=vh.test(t)}}else e&&A.removeAttribute("style");ln in A&&(A[ln]=i?r.display:"",r.display=s)}const pl=/\s*!important$/;function Bo(A,e,t){if(AA(t))t.forEach(r=>Bo(A,e,r));else if(t==null&&(t=""),e.startsWith("--"))A.setProperty(e,t);else{const r=Eh(A,e);pl.test(t)?A.setProperty(Fr(r),t.replace(pl,""),"important"):A[r]=t}}const wl=["Webkit","Moz","ms"],vi={};function Eh(A,e){const t=vi[e];if(t)return t;let r=Ve(e);if(r!=="filter"&&r in A)return vi[e]=r;r=ks(r);for(let n=0;nmi||(Lh.then(()=>mi=0),mi=Date.now());function Th(A,e){const t=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=t.attached)return;Ie(Kh(r,t.value),e,5,[r])};return t.value=A,t.attached=Sh(),t}function Kh(A,e){if(AA(e)){const t=A.stopImmediatePropagation;return A.stopImmediatePropagation=()=>{t.call(A),A._stopped=!0},e.map(r=>n=>!n._stopped&&r&&r(n))}else return e}const Ul=A=>A.charCodeAt(0)===111&&A.charCodeAt(1)===110&&A.charCodeAt(2)>96&&A.charCodeAt(2)<123,_h=(A,e,t,r,n,s,i,o,a)=>{const c=n==="svg";e==="class"?Ch(A,r,c):e==="style"?mh(A,t,r):Ds(e)?qo(e)||Ih(A,e,t,r,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Dh(A,e,r,c))?bh(A,e,r,s,i,o,a):(e==="true-value"?A._trueValue=r:e==="false-value"&&(A._falseValue=r),yh(A,e,r,c))};function Dh(A,e,t,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in A&&Ul(e)&&oA(t));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&A.tagName==="INPUT"||e==="type"&&A.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const n=A.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return Ul(e)&&RA(t)?!1:e in A}const vl=A=>{const e=A.props["onUpdate:modelValue"]||!1;return AA(e)?t=>rs(e,t):e},Ei=Symbol("_assign"),Oh={deep:!0,created(A,e,t){A[Ei]=vl(t),Bf(A,"change",()=>{const r=A._modelValue,n=Rh(A),s=A.checked,i=A[Ei];if(AA(r)){const o=uu(r,n),a=o!==-1;if(s&&!a)i(r.concat(n));else if(!s&&a){const c=[...r];c.splice(o,1),i(c)}}else if(Os(r)){const o=new Set(r);s?o.add(n):o.delete(n),i(o)}else i(gf(A,s))})},mounted:ml,beforeUpdate(A,e,t){A[Ei]=vl(t),ml(A,e,t)}};function ml(A,{value:e,oldValue:t},r){A._modelValue=e,AA(e)?A.checked=uu(e,r.props.value)>-1:Os(e)?A.checked=e.has(r.props.value):e!==t&&(A.checked=Ns(e,gf(A,!0)))}function Rh(A){return"_value"in A?A._value:A.value}function gf(A,e){const t=e?"_trueValue":"_falseValue";return t in A?A[t]:e}const kh=$A({patchProp:_h},gh);let El;function Mh(){return El||(El=Gd(kh))}const Nh=(...A)=>{const e=Mh().createApp(...A),{mount:t}=e;return e.mount=r=>{const n=Gh(r);if(!n)return;const s=e._component;!oA(s)&&!s.render&&!s.template&&(s.template=n.innerHTML),n.innerHTML="";const i=t(n,!1,Ph(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),i},e};function Ph(A){if(A instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&A instanceof MathMLElement)return"mathml"}function Gh(A){return RA(A)?document.querySelector(A):A}var Vh=!1;/*! - * 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)&&!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 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=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+` -`,e=e.substring(f.length+1),l=!0),!l){const w=new RegExp(`^ {0,${Math.min(3,B-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),C=new RegExp(`^ {0,${Math.min(3,B-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),F=new RegExp(`^ {0,${Math.min(3,B-1)}}(?:\`\`\`|~~~)`),y=new RegExp(`^ {0,${Math.min(3,B-1)}}#`);for(;e;){const E=e.split(` -`,1)[0];if(f=E,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),F.test(f)||y.test(f)||w.test(f)||C.test(e))break;if(f.search(/[^ ]/)>=B||!f.trim())a+=` -`+f.slice(B);else{if(g||u.search(/[^ ]/)>=4||F.test(u)||y.test(u)||C.test(u))break;a+=` -`+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=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+=` -`+r.raw,n.text+=` -`+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(r=this.tokenizer.fences(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length),n=t[t.length-1],n&&(n.type==="paragraph"||n.type==="text")?(n.raw+=` -`+r.raw,n.text+=` -`+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(s=e,this.options.extensions&&this.options.extensions.startBlock){let o=1/0;const a=e.slice(1);let c;this.options.extensions.startBlock.forEach(l=>{c=l.call({lexer:this},a),typeof c=="number"&&c>=0&&(o=Math.min(o,c))}),o<1/0&&o>=0&&(s=e.substring(0,o+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){n=t[t.length-1],i&&n.type==="paragraph"?(n.raw+=` -`+r.raw,n.text+=` -`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),i=s.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length),n=t[t.length-1],n&&n.type==="text"?(n.raw+=` -`+r.raw,n.text+=` -`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(e){const o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r,n,s,i=e,o,a,c;if(this.tokens.links){const l=Object.keys(this.tokens.links);if(l.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(i))!=null;)l.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.blockSkip.exec(i))!=null;)i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(i))!=null;)i=i.slice(0,o.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(c=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(l=>(r=l.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))){if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),n=t[t.length-1],n&&r.type==="text"&&n.type==="text"?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length),n=t[t.length-1],n&&r.type==="text"&&n.type==="text"?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(e,i,c)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(e)){e=e.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}if(s=e,this.options.extensions&&this.options.extensions.startInline){let l=1/0;const u=e.slice(1);let f;this.options.extensions.startInline.forEach(B=>{f=B.call({lexer:this},u),typeof f=="number"&&f>=0&&(l=Math.min(l,f))}),l<1/0&&l>=0&&(s=e.substring(0,l+1))}if(r=this.tokenizer.inlineText(s)){e=e.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(c=r.raw.slice(-1)),a=!0,n=t[t.length-1],n&&n.type==="text"?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){const l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return t}}class ms{options;constructor(e){this.options=e||jt}code(e,t,r){var s;const n=(s=(t||"").match(/^\S*/))==null?void 0:s[0];return e=e.replace(/\n$/,"")+` -`,n?'
    '+(r?e:Ce(e,!0))+`
    -`:"
    "+(r?e:Ce(e,!0))+`
    -`}blockquote(e){return`
    -${e}
    -`}html(e,t){return e}heading(e,t,r){return`${e} -`}hr(){return`
    -`}list(e,t,r){const n=t?"ol":"ul",s=t&&r!==1?' start="'+r+'"':"";return"<"+n+s+`> -`+e+" -`}listitem(e,t,r){return`
  • ${e}
  • -`}checkbox(e){return"'}paragraph(e){return`

    ${e}

    -`}table(e,t){return t&&(t=`${t}`),` - -`+e+` -`+t+`
    -`}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 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 - *//*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -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+/",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/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1B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AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAA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AA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",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; -}`,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 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 状态,查看预览效果;点击「保存图片」,即可将内容生成图片并下载至本地。 -`,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-GB6F-gNe.js","assets/About-CxK8kti1.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} diff --git a/index.html b/index.html index 431cba6..8d23736 100644 --- a/index.html +++ b/index.html @@ -51,8 +51,8 @@ async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" > - - + +