@roku-ui/vue 0.14.4 → 0.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1781,8 +1781,8 @@ function Fn() {
|
|
|
1781
1781
|
attributeFilter: ["data-scheme"]
|
|
1782
1782
|
}), e;
|
|
1783
1783
|
}
|
|
1784
|
-
const wt =
|
|
1785
|
-
color: "
|
|
1784
|
+
const wt = 9, Wn = 7, St = 7, Nn = 7, Ne = 3, Ln = 6, et = 5, sr = 6, _t = 3, jn = 4, kt = 0.25, Xn = 0.3, $t = 1, Gn = 2, Le = 7, Un = 5, pt = 4, ir = 5, Ct = 0.08, Yn = 0.15, Ee = _("#0067cc"), Ie = _("#5999A6"), ze = _("#F76C22"), Ve = _("#F95858"), xe = _("#121212"), qn = p(() => J({
|
|
1785
|
+
color: "surface",
|
|
1786
1786
|
type: "border",
|
|
1787
1787
|
index: { dark: St, light: _t }
|
|
1788
1788
|
}).value);
|
package/dist/index.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(k,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(k=typeof globalThis<"u"?globalThis:k||self,e(k["roku-ui"]={},k.Vue))})(this,function(k,e){"use strict";const Kt=e.defineComponent({__name:"AspectRatio",props:{ratio:{default:1},width:{},maxWidth:{},height:{},maxHeight:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle({"--ar-ratio":r.ratio,width:r.width,"max-width":r.maxWidth,height:r.height,"max-height":r.maxHeight}),class:"relative children:absolute children:top-0 before:block before:h-0 children:h-full children:w-full before:pb-[calc((1/var(--ar-ratio,1))*100%)] before:content-['']"},[e.renderSlot(r.$slots,"default")],4))}}),at=e.defineComponent({__name:"Avatar",props:{is:{default:"img"},src:{},size:{default:"md"},style:{},class:{}},setup(t){const r=t,n=e.computed(()=>{switch(r.size){case"sm":return"--size: 1.5rem;";case"md":return"--size: 2rem;";case"lg":return"--size: 3rem;";default:return typeof r.size=="number"||!Number.isNaN(Number(r.size))?`--size: ${r.size}rem;`:`--size: ${r.size};`}}),o=e.ref(!1),l=e.ref(null);function a(){o.value=!0}return e.onMounted(()=>{var i;(i=l.value)!=null&&i.complete&&a()}),(i,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[i.src?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.is),e.mergeProps({key:0,ref_key:"img",ref:l,style:[i.style,n.value],placeholder:"",src:i.src,class:["h-[var(--size)] w-[var(--size)] rounded-full object-cover",[{hidden:!o.value},r.class]]},i.$attrs,{onLoad:a}),null,16,["style","src","class"])):e.createCommentVNode("",!0),o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:"bg-surface-high h-[var(--size)] w-[var(--size)] animate-pulse border-transparent rounded-full object-cover",style:e.normalizeStyle([i.style,n.value])},null,4))],64))}});function G(t){return e.computed(()=>({style:Jt(t.rounded),class:"rounded-[var(--r-rounded)]"}))}function Jt(t){const r=/^-?(?:\d+(?:\.\d+)?|\.\d+)(?:px|em|rem|vh|vw|in|cm|mm|pt|pc|%)?$/;switch(t){case"none":return"--r-rounded: 0";case"sm":return"--r-rounded: 0.125rem";case"md":return"--r-rounded: 0.25rem";case"lg":return"--r-rounded: 0.5rem";case"full":return"--r-rounded: 9999px";default:return typeof t=="string"&&r.test(t)?`--r-rounded: ${t};`:typeof t=="number"||!Number.isNaN(Number(t))?`--r-rounded: ${t}rem;`:"rounded-[var(--r-rounded)]"}}function Be(t){"@babel/helpers - typeof";return Be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Be(t)}var Zt=/^\s+/,Qt=/\s+$/;function M(t,r){if(t=t||"",r=r||{},t instanceof M)return t;if(!(this instanceof M))return new M(t,r);var n=er(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||n.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}M.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var r=this.toRgb();return(r.r*299+r.g*587+r.b*114)/1e3},getLuminance:function(){var r=this.toRgb(),n,o,l,a,i,s;return n=r.r/255,o=r.g/255,l=r.b/255,n<=.03928?a=n/12.92:a=Math.pow((n+.055)/1.055,2.4),o<=.03928?i=o/12.92:i=Math.pow((o+.055)/1.055,2.4),l<=.03928?s=l/12.92:s=Math.pow((l+.055)/1.055,2.4),.2126*a+.7152*i+.0722*s},setAlpha:function(r){return this._a=ft(r),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var r=it(this._r,this._g,this._b);return{h:r.h*360,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=it(this._r,this._g,this._b),n=Math.round(r.h*360),o=Math.round(r.s*100),l=Math.round(r.v*100);return this._a==1?"hsv("+n+", "+o+"%, "+l+"%)":"hsva("+n+", "+o+"%, "+l+"%, "+this._roundA+")"},toHsl:function(){var r=st(this._r,this._g,this._b);return{h:r.h*360,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=st(this._r,this._g,this._b),n=Math.round(r.h*360),o=Math.round(r.s*100),l=Math.round(r.l*100);return this._a==1?"hsl("+n+", "+o+"%, "+l+"%)":"hsla("+n+", "+o+"%, "+l+"%, "+this._roundA+")"},toHex:function(r){return ct(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return or(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(R(this._r,255)*100)+"%",g:Math.round(R(this._g,255)*100)+"%",b:Math.round(R(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(R(this._r,255)*100)+"%, "+Math.round(R(this._g,255)*100)+"%, "+Math.round(R(this._b,255)*100)+"%)":"rgba("+Math.round(R(this._r,255)*100)+"%, "+Math.round(R(this._g,255)*100)+"%, "+Math.round(R(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:gr[ct(this._r,this._g,this._b,!0)]||!1},toFilter:function(r){var n="#"+ut(this._r,this._g,this._b,this._a),o=n,l=this._gradientType?"GradientType = 1, ":"";if(r){var a=M(r);o="#"+ut(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+l+"startColorstr="+n+",endColorstr="+o+")"},toString:function(r){var n=!!r;r=r||this._format;var o=!1,l=this._a<1&&this._a>=0,a=!n&&l&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");return a?r==="name"&&this._a===0?this.toName():this.toRgbString():(r==="rgb"&&(o=this.toRgbString()),r==="prgb"&&(o=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(o=this.toHexString()),r==="hex3"&&(o=this.toHexString(!0)),r==="hex4"&&(o=this.toHex8String(!0)),r==="hex8"&&(o=this.toHex8String()),r==="name"&&(o=this.toName()),r==="hsl"&&(o=this.toHslString()),r==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},clone:function(){return M(this.toString())},_applyModification:function(r,n){var o=r.apply(null,[this].concat([].slice.call(n)));return this._r=o._r,this._g=o._g,this._b=o._b,this.setAlpha(o._a),this},lighten:function(){return this._applyModification(ir,arguments)},brighten:function(){return this._applyModification(cr,arguments)},darken:function(){return this._applyModification(ur,arguments)},desaturate:function(){return this._applyModification(lr,arguments)},saturate:function(){return this._applyModification(ar,arguments)},greyscale:function(){return this._applyModification(sr,arguments)},spin:function(){return this._applyModification(dr,arguments)},_applyCombination:function(r,n){return r.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(mr,arguments)},complement:function(){return this._applyCombination(fr,arguments)},monochromatic:function(){return this._applyCombination(hr,arguments)},splitcomplement:function(){return this._applyCombination(pr,arguments)},triad:function(){return this._applyCombination(dt,[3])},tetrad:function(){return this._applyCombination(dt,[4])}},M.fromRatio=function(t,r){if(Be(t)=="object"){var n={};for(var o in t)t.hasOwnProperty(o)&&(o==="a"?n[o]=t[o]:n[o]=be(t[o]));t=n}return M(t,r)};function er(t){var r={r:0,g:0,b:0},n=1,o=null,l=null,a=null,i=!1,s=!1;return typeof t=="string"&&(t=Sr(t)),Be(t)=="object"&&(ee(t.r)&&ee(t.g)&&ee(t.b)?(r=tr(t.r,t.g,t.b),i=!0,s=String(t.r).substr(-1)==="%"?"prgb":"rgb"):ee(t.h)&&ee(t.s)&&ee(t.v)?(o=be(t.s),l=be(t.v),r=nr(t.h,o,l),i=!0,s="hsv"):ee(t.h)&&ee(t.s)&&ee(t.l)&&(o=be(t.s),a=be(t.l),r=rr(t.h,o,a),i=!0,s="hsl"),t.hasOwnProperty("a")&&(n=t.a)),n=ft(n),{ok:i,format:t.format||s,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:n}}function tr(t,r,n){return{r:R(t,255)*255,g:R(r,255)*255,b:R(n,255)*255}}function st(t,r,n){t=R(t,255),r=R(r,255),n=R(n,255);var o=Math.max(t,r,n),l=Math.min(t,r,n),a,i,s=(o+l)/2;if(o==l)a=i=0;else{var c=o-l;switch(i=s>.5?c/(2-o-l):c/(o+l),o){case t:a=(r-n)/c+(r<n?6:0);break;case r:a=(n-t)/c+2;break;case n:a=(t-r)/c+4;break}a/=6}return{h:a,s:i,l:s}}function rr(t,r,n){var o,l,a;t=R(t,360),r=R(r,100),n=R(n,100);function i(u,d,f){return f<0&&(f+=1),f>1&&(f-=1),f<1/6?u+(d-u)*6*f:f<1/2?d:f<2/3?u+(d-u)*(2/3-f)*6:u}if(r===0)o=l=a=n;else{var s=n<.5?n*(1+r):n+r-n*r,c=2*n-s;o=i(c,s,t+1/3),l=i(c,s,t),a=i(c,s,t-1/3)}return{r:o*255,g:l*255,b:a*255}}function it(t,r,n){t=R(t,255),r=R(r,255),n=R(n,255);var o=Math.max(t,r,n),l=Math.min(t,r,n),a,i,s=o,c=o-l;if(i=o===0?0:c/o,o==l)a=0;else{switch(o){case t:a=(r-n)/c+(r<n?6:0);break;case r:a=(n-t)/c+2;break;case n:a=(t-r)/c+4;break}a/=6}return{h:a,s:i,v:s}}function nr(t,r,n){t=R(t,360)*6,r=R(r,100),n=R(n,100);var o=Math.floor(t),l=t-o,a=n*(1-r),i=n*(1-l*r),s=n*(1-(1-l)*r),c=o%6,u=[n,i,a,a,s,n][c],d=[s,n,n,i,a,a][c],f=[a,a,s,n,n,i][c];return{r:u*255,g:d*255,b:f*255}}function ct(t,r,n,o){var l=[U(Math.round(t).toString(16)),U(Math.round(r).toString(16)),U(Math.round(n).toString(16))];return o&&l[0].charAt(0)==l[0].charAt(1)&&l[1].charAt(0)==l[1].charAt(1)&&l[2].charAt(0)==l[2].charAt(1)?l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0):l.join("")}function or(t,r,n,o,l){var a=[U(Math.round(t).toString(16)),U(Math.round(r).toString(16)),U(Math.round(n).toString(16)),U(pt(o))];return l&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function ut(t,r,n,o){var l=[U(pt(o)),U(Math.round(t).toString(16)),U(Math.round(r).toString(16)),U(Math.round(n).toString(16))];return l.join("")}M.equals=function(t,r){return!t||!r?!1:M(t).toRgbString()==M(r).toRgbString()},M.random=function(){return M.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function lr(t,r){r=r===0?0:r||10;var n=M(t).toHsl();return n.s-=r/100,n.s=Ee(n.s),M(n)}function ar(t,r){r=r===0?0:r||10;var n=M(t).toHsl();return n.s+=r/100,n.s=Ee(n.s),M(n)}function sr(t){return M(t).desaturate(100)}function ir(t,r){r=r===0?0:r||10;var n=M(t).toHsl();return n.l+=r/100,n.l=Ee(n.l),M(n)}function cr(t,r){r=r===0?0:r||10;var n=M(t).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(r/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(r/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(r/100)))),M(n)}function ur(t,r){r=r===0?0:r||10;var n=M(t).toHsl();return n.l-=r/100,n.l=Ee(n.l),M(n)}function dr(t,r){var n=M(t).toHsl(),o=(n.h+r)%360;return n.h=o<0?360+o:o,M(n)}function fr(t){var r=M(t).toHsl();return r.h=(r.h+180)%360,M(r)}function dt(t,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var n=M(t).toHsl(),o=[M(t)],l=360/r,a=1;a<r;a++)o.push(M({h:(n.h+a*l)%360,s:n.s,l:n.l}));return o}function pr(t){var r=M(t).toHsl(),n=r.h;return[M(t),M({h:(n+72)%360,s:r.s,l:r.l}),M({h:(n+216)%360,s:r.s,l:r.l})]}function mr(t,r,n){r=r||6,n=n||30;var o=M(t).toHsl(),l=360/n,a=[M(t)];for(o.h=(o.h-(l*r>>1)+720)%360;--r;)o.h=(o.h+l)%360,a.push(M(o));return a}function hr(t,r){r=r||6;for(var n=M(t).toHsv(),o=n.h,l=n.s,a=n.v,i=[],s=1/r;r--;)i.push(M({h:o,s:l,v:a})),a=(a+s)%1;return i}M.mix=function(t,r,n){n=n===0?0:n||50;var o=M(t).toRgb(),l=M(r).toRgb(),a=n/100,i={r:(l.r-o.r)*a+o.r,g:(l.g-o.g)*a+o.g,b:(l.b-o.b)*a+o.b,a:(l.a-o.a)*a+o.a};return M(i)},M.readability=function(t,r){var n=M(t),o=M(r);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)},M.isReadable=function(t,r,n){var o=M.readability(t,r),l,a;switch(a=!1,l=kr(n),l.level+l.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7;break}return a},M.mostReadable=function(t,r,n){var o=null,l=0,a,i,s,c;n=n||{},i=n.includeFallbackColors,s=n.level,c=n.size;for(var u=0;u<r.length;u++)a=M.readability(t,r[u]),a>l&&(l=a,o=M(r[u]));return M.isReadable(t,o,{level:s,size:c})||!i?o:(n.includeFallbackColors=!1,M.mostReadable(t,["#fff","#000"],n))};var De=M.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},gr=M.hexNames=yr(De);function yr(t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[t[n]]=n);return r}function ft(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function R(t,r){br(t)&&(t="100%");var n=wr(t);return t=Math.min(r,Math.max(0,parseFloat(t))),n&&(t=parseInt(t*r,10)/100),Math.abs(t-r)<1e-6?1:t%r/parseFloat(r)}function Ee(t){return Math.min(1,Math.max(0,t))}function L(t){return parseInt(t,16)}function br(t){return typeof t=="string"&&t.indexOf(".")!=-1&&parseFloat(t)===1}function wr(t){return typeof t=="string"&&t.indexOf("%")!=-1}function U(t){return t.length==1?"0"+t:""+t}function be(t){return t<=1&&(t=t*100+"%"),t}function pt(t){return Math.round(parseFloat(t)*255).toString(16)}function mt(t){return L(t)/255}var Y=function(){var t="[-\\+]?\\d+%?",r="[-\\+]?\\d*\\.\\d+%?",n="(?:"+r+")|(?:"+t+")",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",l="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+o),rgba:new RegExp("rgba"+l),hsl:new RegExp("hsl"+o),hsla:new RegExp("hsla"+l),hsv:new RegExp("hsv"+o),hsva:new RegExp("hsva"+l),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function ee(t){return!!Y.CSS_UNIT.exec(t)}function Sr(t){t=t.replace(Zt,"").replace(Qt,"").toLowerCase();var r=!1;if(De[t])t=De[t],r=!0;else if(t=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Y.rgb.exec(t))?{r:n[1],g:n[2],b:n[3]}:(n=Y.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Y.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=Y.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Y.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=Y.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Y.hex8.exec(t))?{r:L(n[1]),g:L(n[2]),b:L(n[3]),a:mt(n[4]),format:r?"name":"hex8"}:(n=Y.hex6.exec(t))?{r:L(n[1]),g:L(n[2]),b:L(n[3]),format:r?"name":"hex"}:(n=Y.hex4.exec(t))?{r:L(n[1]+""+n[1]),g:L(n[2]+""+n[2]),b:L(n[3]+""+n[3]),a:mt(n[4]+""+n[4]),format:r?"name":"hex8"}:(n=Y.hex3.exec(t))?{r:L(n[1]+""+n[1]),g:L(n[2]+""+n[2]),b:L(n[3]+""+n[3]),format:r?"name":"hex"}:!1}function kr(t){var r,n;return t=t||{level:"AA",size:"small"},r=(t.level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),r!=="AA"&&r!=="AAA"&&(r="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:r,size:n}}const Pe=e.ref([]);function ht(){return Pe}class vr{static show(r){r.hash=Math.random().toString(36),Pe.value=[r,...Pe.value]}}const Oe=Symbol("tabCurrent"),Fe=Symbol("direction"),xr=Symbol("tabValueList"),Le=Symbol("childrenElementMapSymbol");function Cr(t){const r=M(t).toHsl().l;return j.reduce((n,o)=>Math.abs(o-r)<Math.abs(n-r)?o:n)}function gt(t,r=j){const n=q(t,r);return{...n,colors:n.colors.map(o=>o.toHexString())}}function q(t,r=j){const n=M(t),o=Cr(n),l=r.findIndex(i=>i===o),a=r.map(i=>{const s=M({h:n.toHsl().h,s:n.toHsl().s,l:i}),c=0;return n.toHsl().h>=20&&n.toHsl().h<=200&&s.darken(2),s.saturate(c*100),s});return{baseColorIndex:l,colors:a.map(i=>i)}}function pe(t,r=j){return gt(t,r).colors}function _r(t,r){let n,o,l;const a=e.ref(!0),i=()=>{a.value=!0,l()};e.watch(t,i,{flush:"sync"});const s=typeof r=="function"?r:r.get,c=typeof r=="function"?void 0:r.set,u=e.customRef((d,f)=>(o=d,l=f,{get(){return a.value&&(n=s(n),a.value=!1),o(),n},set(p){c==null||c(p)}}));return Object.isExtensible(u)&&(u.trigger=i),u}function we(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function yt(){const t=new Set,r=l=>{t.delete(l)};return{on:l=>{t.add(l);const a=()=>r(l);return we(a),{off:a}},off:r,trigger:(...l)=>Promise.all(Array.from(t).map(a=>a(...l)))}}function P(t){return typeof t=="function"?t():e.unref(t)}const te=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Br=t=>t!=null,Er=Object.prototype.toString,Mr=t=>Er.call(t)==="[object Object]",K=()=>{},$r=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),zr=Ar();function Ar(){var t,r;return te&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((r=window==null?void 0:window.navigator)==null?void 0:r.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function We(t,r){function n(...o){return new Promise((l,a)=>{Promise.resolve(t(()=>r.apply(this,o),{fn:r,thisArg:this,args:o})).then(l).catch(a)})}return n}const bt=t=>t();function Vr(t,r={}){let n,o,l=K;const a=s=>{clearTimeout(s),l(),l=K};return s=>{const c=P(t),u=P(r.maxWait);return n&&a(n),c<=0||u!==void 0&&u<=0?(o&&(a(o),o=null),Promise.resolve(s())):new Promise((d,f)=>{l=r.rejectOnCancel?f:d,u&&!o&&(o=setTimeout(()=>{n&&a(n),o=null,d(s())},u)),n=setTimeout(()=>{o&&a(o),o=null,d(s())},c)})}}function Hr(...t){let r=0,n,o=!0,l=K,a,i,s,c,u;!e.isRef(t[0])&&typeof t[0]=="object"?{delay:i,trailing:s=!0,leading:c=!0,rejectOnCancel:u=!1}=t[0]:[i,s=!0,c=!0,u=!1]=t;const d=()=>{n&&(clearTimeout(n),n=void 0,l(),l=K)};return p=>{const m=P(i),g=Date.now()-r,h=()=>a=p();return d(),m<=0?(r=Date.now(),h()):(g>m&&(c||!o)?(r=Date.now(),h()):s&&(a=new Promise((S,v)=>{l=u?v:S,n=setTimeout(()=>{r=Date.now(),o=!0,S(h()),d()},Math.max(0,m-g))})),!c&&!n&&(n=setTimeout(()=>o=!0,m)),o=!1,a)}}function Tr(t=bt){const r=e.ref(!0);function n(){r.value=!1}function o(){r.value=!0}const l=(...a)=>{r.value&&t(...a)};return{isActive:e.readonly(r),pause:n,resume:o,eventFilter:l}}function Nr(t){return e.getCurrentInstance()}function wt(t,r=200,n={}){return We(Vr(r,n),t)}function Rr(t,r=200,n={}){const o=e.ref(t.value),l=wt(()=>{o.value=t.value},r,n);return e.watch(t,()=>l()),o}function Ir(t,r=200,n=!1,o=!0,l=!1){return We(Hr(r,n,o,l),t)}function Dr(t,r,n={}){const{eventFilter:o=bt,...l}=n;return e.watch(t,We(o,r),l)}function Pr(t,r,n={}){const{eventFilter:o,...l}=n,{eventFilter:a,pause:i,resume:s,isActive:c}=Tr(o);return{stop:Dr(t,r,{...l,eventFilter:a}),pause:i,resume:s,isActive:c}}function me(t,r=!0,n){Nr()?e.onMounted(t,n):r?t():e.nextTick(t)}const W=te?window:void 0,Or=te?window.document:void 0;function F(t){var r;const n=P(t);return(r=n==null?void 0:n.$el)!=null?r:n}function T(...t){let r,n,o,l;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,o,l]=t,r=W):[r,n,o,l]=t,!r)return K;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},s=(d,f,p,m)=>(d.addEventListener(f,p,m),()=>d.removeEventListener(f,p,m)),c=e.watch(()=>[F(r),P(l)],([d,f])=>{if(i(),!d)return;const p=Mr(f)?{...f}:f;a.push(...n.flatMap(m=>o.map(g=>s(d,m,g,p))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return we(u),u}let St=!1;function kt(t,r,n={}){const{window:o=W,ignore:l=[],capture:a=!0,detectIframe:i=!1}=n;if(!o)return K;zr&&!St&&(St=!0,Array.from(o.document.body.children).forEach(m=>m.addEventListener("click",K)),o.document.documentElement.addEventListener("click",K));let s=!0;const c=m=>P(l).some(g=>{if(typeof g=="string")return Array.from(o.document.querySelectorAll(g)).some(h=>h===m.target||m.composedPath().includes(h));{const h=F(g);return h&&(m.target===h||m.composedPath().includes(h))}}),u=m=>{const g=F(t);if(!(!g||g===m.target||m.composedPath().includes(g))){if(m.detail===0&&(s=!c(m)),!s){s=!0;return}r(m)}};let d=!1;const f=[T(o,"click",m=>{d||(d=!0,setTimeout(()=>{d=!1},0),u(m))},{passive:!0,capture:a}),T(o,"pointerdown",m=>{const g=F(t);s=!c(m)&&!!(g&&!m.composedPath().includes(g))},{passive:!0}),i&&T(o,"blur",m=>{setTimeout(()=>{var g;const h=F(t);((g=o.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(h!=null&&h.contains(o.document.activeElement))&&r(m)},0)})].filter(Boolean);return()=>f.forEach(m=>m())}function Fr(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function ae(...t){let r,n,o={};t.length===3?(r=t[0],n=t[1],o=t[2]):t.length===2?typeof t[1]=="object"?(r=!0,n=t[0],o=t[1]):(r=t[0],n=t[1]):(r=!0,n=t[0]);const{target:l=W,eventName:a="keydown",passive:i=!1,dedupe:s=!1}=o,c=Fr(r);return T(l,a,d=>{d.repeat&&P(s)||c(d)&&n(d)},i)}function Lr(){const t=e.ref(!1),r=e.getCurrentInstance();return r&&e.onMounted(()=>{t.value=!0},r),t}function je(t){const r=Lr();return e.computed(()=>(r.value,!!t()))}function Ge(t,r,n={}){const{window:o=W,...l}=n;let a;const i=je(()=>o&&"MutationObserver"in o),s=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>{const p=P(t),m=(Array.isArray(p)?p:[p]).map(F).filter(Br);return new Set(m)}),u=e.watch(()=>c.value,p=>{s(),i.value&&p.size&&(a=new MutationObserver(r),p.forEach(m=>a.observe(m,l)))},{immediate:!0,flush:"post"}),d=()=>a==null?void 0:a.takeRecords(),f=()=>{u(),s()};return we(f),{isSupported:i,stop:f,takeRecords:d}}function Wr(t,r={}){const{window:n=W}=r,o=je(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let l;const a=e.ref(!1),i=u=>{a.value=u.matches},s=()=>{l&&("removeEventListener"in l?l.removeEventListener("change",i):l.removeListener(i))},c=e.watchEffect(()=>{o.value&&(s(),l=n.matchMedia(P(t)),"addEventListener"in l?l.addEventListener("change",i):l.addListener(i),a.value=l.matches)});return we(()=>{c(),s(),l=void 0}),a}const Me=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},$e="__vueuse_ssr_handlers__",jr=Gr();function Gr(){return $e in Me||(Me[$e]=Me[$e]||{}),Me[$e]}function Xr(t,r){return jr[t]||r}function Ur(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const Yr={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},vt="vueuse-storage";function qr(t,r,n,o={}){var l;const{flush:a="pre",deep:i=!0,listenToStorageChanges:s=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:d,window:f=W,eventFilter:p,onError:m=w=>{console.error(w)},initOnMounted:g}=o,h=(d?e.shallowRef:e.ref)(r);if(!n)try{n=Xr("getDefaultStorage",()=>{var w;return(w=W)==null?void 0:w.localStorage})()}catch(w){m(w)}if(!n)return h;const S=P(r),v=Ur(S),y=(l=o.serializer)!=null?l:Yr[v],{pause:C,resume:E}=Pr(h,()=>_(h.value),{flush:a,deep:i,eventFilter:p});f&&s&&me(()=>{n instanceof Storage?T(f,"storage",B):T(f,vt,z),g&&B()}),g||B();function x(w,$){if(f){const V={key:t,oldValue:w,newValue:$,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",V):new CustomEvent(vt,{detail:V}))}}function _(w){try{const $=n.getItem(t);if(w==null)x($,null),n.removeItem(t);else{const V=y.write(w);$!==V&&(n.setItem(t,V),x($,V))}}catch($){m($)}}function b(w){const $=w?w.newValue:n.getItem(t);if($==null)return c&&S!=null&&n.setItem(t,y.write(S)),S;if(!w&&u){const V=y.read($);return typeof u=="function"?u(V,S):v==="object"&&!Array.isArray(V)?{...S,...V}:V}else return typeof $!="string"?$:y.read($)}function B(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){h.value=S;return}if(!(w&&w.key!==t)){C();try{(w==null?void 0:w.newValue)!==y.write(h.value)&&(h.value=b(w))}catch($){m($)}finally{w?e.nextTick(E):E()}}}}function z(w){B(w.detail)}return h}function Kr(t){const r=e.getCurrentInstance(),n=_r(()=>null,()=>r.proxy.$el);return e.onUpdated(n.trigger),e.onMounted(n.trigger),n}function Jr(t,r={}){var n,o;const l=e.ref(!1),a=e.shallowRef(null);let i=0,s=!0;if(te){const c=typeof r=="function"?{onDrop:r}:r,u=(n=c.multiple)!=null?n:!0,d=(o=c.preventDefaultForUnhandled)!=null?o:!1,f=h=>{var S,v;const y=Array.from((v=(S=h.dataTransfer)==null?void 0:S.files)!=null?v:[]);return y.length===0?null:u?y:[y[0]]},p=h=>{if(c.dataTypes){const S=e.unref(c.dataTypes);return typeof S=="function"?S(h):S?S.some(v=>h.includes(v)):!0}return!0},m=h=>{var S,v;const y=Array.from((v=(S=h.dataTransfer)==null?void 0:S.items)!=null?v:[]),C=y.filter(_=>_.kind==="file").map(_=>_.type),E=p(C),x=u||y.filter(_=>_.kind==="file").length<=1;return E&&x},g=(h,S)=>{var v,y,C,E;if(s=m(h),!s){d&&h.preventDefault(),h.dataTransfer&&(h.dataTransfer.dropEffect="none");return}h.preventDefault(),h.dataTransfer&&(h.dataTransfer.dropEffect="copy");const x=f(h);switch(S){case"enter":i+=1,l.value=!0,(v=c.onEnter)==null||v.call(c,null,h);break;case"over":(y=c.onOver)==null||y.call(c,null,h);break;case"leave":i-=1,i===0&&(l.value=!1),(C=c.onLeave)==null||C.call(c,null,h);break;case"drop":i=0,l.value=!1,s&&(a.value=x,(E=c.onDrop)==null||E.call(c,x,h));break}};T(t,"dragenter",h=>g(h,"enter")),T(t,"dragover",h=>g(h,"over")),T(t,"dragleave",h=>g(h,"leave")),T(t,"drop",h=>g(h,"drop"))}return{files:a,isOverDropZone:l}}function Xe(t,r,n={}){const{window:o=W,...l}=n;let a;const i=je(()=>o&&"ResizeObserver"in o),s=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>{const f=P(t);return Array.isArray(f)?f.map(p=>F(p)):[F(f)]}),u=e.watch(c,f=>{if(s(),i.value&&o){a=new ResizeObserver(r);for(const p of f)p&&a.observe(p,l)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return we(d),{isSupported:i,stop:d}}function re(t,r={}){const{reset:n=!0,windowResize:o=!0,windowScroll:l=!0,immediate:a=!0,updateTiming:i="sync"}=r,s=e.ref(0),c=e.ref(0),u=e.ref(0),d=e.ref(0),f=e.ref(0),p=e.ref(0),m=e.ref(0),g=e.ref(0);function h(){const v=F(t);if(!v){n&&(s.value=0,c.value=0,u.value=0,d.value=0,f.value=0,p.value=0,m.value=0,g.value=0);return}const y=v.getBoundingClientRect();s.value=y.height,c.value=y.bottom,u.value=y.left,d.value=y.right,f.value=y.top,p.value=y.width,m.value=y.x,g.value=y.y}function S(){i==="sync"?h():i==="next-frame"&&requestAnimationFrame(()=>h())}return Xe(t,S),e.watch(()=>F(t),v=>!v&&S()),Ge(t,S,{attributeFilter:["style","class"]}),l&&T("scroll",S,{capture:!0,passive:!0}),o&&T("resize",S,{passive:!0}),me(()=>{a&&S()}),{height:s,bottom:c,left:u,right:d,top:f,width:p,x:m,y:g,update:S}}function Se(t,r={}){const{delayEnter:n=0,delayLeave:o=0,window:l=W}=r,a=e.ref(!1);let i;const s=c=>{const u=c?n:o;i&&(clearTimeout(i),i=void 0),u?i=setTimeout(()=>a.value=c,u):a.value=c};return l&&(T(t,"mouseenter",()=>s(!0),{passive:!0}),T(t,"mouseleave",()=>s(!1),{passive:!0})),a}const Zr={multiple:!0,accept:"*",reset:!1,directory:!1};function Qr(t={}){const{document:r=Or}=t,n=e.ref(null),{on:o,trigger:l}=yt(),{on:a,trigger:i}=yt();let s;r&&(s=r.createElement("input"),s.type="file",s.onchange=d=>{const f=d.target;n.value=f.files,l(n.value)},s.oncancel=()=>{i()});const c=()=>{n.value=null,s&&s.value&&(s.value="",l(null))},u=d=>{if(!s)return;const f={...Zr,...t,...d};s.multiple=f.multiple,s.accept=f.accept,s.webkitdirectory=f.directory,$r(f,"capture")&&(s.capture=f.capture),f.reset&&c(),s.click()};return{files:e.readonly(n),open:u,reset:c,onCancel:a,onChange:o}}const xt=1;function en(t,r={}){const{throttle:n=0,idle:o=200,onStop:l=K,onScroll:a=K,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:c="auto",window:u=W,onError:d=b=>{console.error(b)}}=r,f=e.ref(0),p=e.ref(0),m=e.computed({get(){return f.value},set(b){h(b,void 0)}}),g=e.computed({get(){return p.value},set(b){h(void 0,b)}});function h(b,B){var z,w,$,V;if(!u)return;const H=P(t);if(!H)return;($=H instanceof Document?u.document.body:H)==null||$.scrollTo({top:(z=P(B))!=null?z:g.value,left:(w=P(b))!=null?w:m.value,behavior:P(c)});const I=((V=H==null?void 0:H.document)==null?void 0:V.documentElement)||(H==null?void 0:H.documentElement)||H;m!=null&&(f.value=I.scrollLeft),g!=null&&(p.value=I.scrollTop)}const S=e.ref(!1),v=e.reactive({left:!0,right:!1,top:!0,bottom:!1}),y=e.reactive({left:!1,right:!1,top:!1,bottom:!1}),C=b=>{S.value&&(S.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,l(b))},E=wt(C,n+o),x=b=>{var B;if(!u)return;const z=((B=b==null?void 0:b.document)==null?void 0:B.documentElement)||(b==null?void 0:b.documentElement)||F(b),{display:w,flexDirection:$}=getComputedStyle(z),V=z.scrollLeft;y.left=V<f.value,y.right=V>f.value;const H=Math.abs(V)<=(i.left||0),I=Math.abs(V)+z.clientWidth>=z.scrollWidth-(i.right||0)-xt;w==="flex"&&$==="row-reverse"?(v.left=I,v.right=H):(v.left=H,v.right=I),f.value=V;let N=z.scrollTop;b===u.document&&!N&&(N=u.document.body.scrollTop),y.top=N<p.value,y.bottom=N>p.value;const Q=Math.abs(N)<=(i.top||0),A=Math.abs(N)+z.clientHeight>=z.scrollHeight-(i.bottom||0)-xt;w==="flex"&&$==="column-reverse"?(v.top=A,v.bottom=Q):(v.top=Q,v.bottom=A),p.value=N},_=b=>{var B;if(!u)return;const z=(B=b.target.documentElement)!=null?B:b.target;x(z),S.value=!0,E(b),a(b)};return T(t,"scroll",n?Ir(_,n,!0,!1):_,s),me(()=>{try{const b=P(t);if(!b)return;x(b)}catch(b){d(b)}}),T(t,"scrollend",C,s),{x:m,y:g,isScrolling:S,arrivedState:v,directions:y,measure(){const b=P(t);u&&b&&x(b)}}}function Ct(t,r,n={}){const{window:o=W}=n;return qr(t,r,o==null?void 0:o.localStorage,n)}const tn={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function rn(t={}){const{reactive:r=!1,target:n=W,aliasMap:o=tn,passive:l=!0,onEventFired:a=K}=t,i=e.reactive(new Set),s={toJSON(){return{}},current:i},c=r?e.reactive(s):s,u=new Set,d=new Set;function f(h,S){h in c&&(r?c[h]=S:c[h].value=S)}function p(){i.clear();for(const h of d)f(h,!1)}function m(h,S){var v,y;const C=(v=h.key)==null?void 0:v.toLowerCase(),x=[(y=h.code)==null?void 0:y.toLowerCase(),C].filter(Boolean);C&&(S?i.add(C):i.delete(C));for(const _ of x)d.add(_),f(_,S);C==="meta"&&!S?(u.forEach(_=>{i.delete(_),f(_,!1)}),u.clear()):typeof h.getModifierState=="function"&&h.getModifierState("Meta")&&S&&[...i,...x].forEach(_=>u.add(_))}T(n,"keydown",h=>(m(h,!0),a(h)),{passive:l}),T(n,"keyup",h=>(m(h,!1),a(h)),{passive:l}),T("blur",p,{passive:!0}),T("focus",p,{passive:!0});const g=new Proxy(c,{get(h,S,v){if(typeof S!="string")return Reflect.get(h,S,v);if(S=S.toLowerCase(),S in o&&(S=o[S]),!(S in c))if(/[+_-]/.test(S)){const C=S.split(/[+_-]/g).map(E=>E.trim());c[S]=e.computed(()=>C.every(E=>P(g[E])))}else c[S]=e.ref(!1);const y=Reflect.get(h,S,v);return r?P(y):y}});return g}const nn={page:t=>[t.pageX,t.pageY],client:t=>[t.clientX,t.clientY],screen:t=>[t.screenX,t.screenY],movement:t=>t instanceof Touch?null:[t.movementX,t.movementY]};function ze(t={}){const{type:r="page",touch:n=!0,resetOnTouchEnds:o=!1,initialValue:l={x:0,y:0},window:a=W,target:i=a,scroll:s=!0,eventFilter:c}=t;let u=null;const d=e.ref(l.x),f=e.ref(l.y),p=e.ref(null),m=typeof r=="function"?r:nn[r],g=x=>{const _=m(x);u=x,_&&([d.value,f.value]=_,p.value="mouse")},h=x=>{if(x.touches.length>0){const _=m(x.touches[0]);_&&([d.value,f.value]=_,p.value="touch")}},S=()=>{if(!u||!a)return;const x=m(u);u instanceof MouseEvent&&x&&(d.value=x[0]+a.scrollX,f.value=x[1]+a.scrollY)},v=()=>{d.value=l.x,f.value=l.y},y=c?x=>c(()=>g(x),{}):x=>g(x),C=c?x=>c(()=>h(x),{}):x=>h(x),E=c?()=>c(()=>S(),{}):()=>S();if(i){const x={passive:!0};T(i,["mousemove","dragover"],y,x),n&&r!=="movement"&&(T(i,["touchstart","touchmove"],C,x),o&&T(i,"touchend",v,x)),s&&r==="page"&&T(a,"scroll",E,{passive:!0})}return{x:d,y:f,sourceType:p}}function _t(t=Kr()){const r=e.shallowRef(),n=()=>{const o=F(t);o&&(r.value=o.parentElement)};return me(n),e.watch(()=>P(t),n),r}function Bt(t){const r=e.ref(0),n=e.computed(()=>F(t)),o=()=>{n.value&&(r.value=n.value.scrollHeight)};return o(),me(o),Xe(()=>n.value,o),Ge(()=>n.value,o,{childList:!0,subtree:!0,attributes:!0}),r}function Et(t,r={}){const{initialWidth:n=Number.POSITIVE_INFINITY,listenOrientation:o=!0}=r,l=e.ref(n),a=e.computed(()=>F(t)),i=()=>{a.value&&(l.value=a.value.clientHeight)};if(i(),me(i),T("resize",i,{passive:!0}),Xe(()=>a.value,i),Ge(()=>a.value,i,{childList:!0,subtree:!0,attributes:!0}),o){const s=Wr("(orientation: portrait)");e.watch(s,()=>i())}return l}const j=[.98,.8,.7,.6,.43,.4,.36,.3,.2,.1,.01],se=[1,.99,.95,.9,.7,.5,.3,.2,.1,.075,.05];function on(){if(!te)return e.ref("dark");const t=e.ref(document.documentElement.dataset.scheme);return new MutationObserver(n=>{n.forEach(o=>{o.type==="attributes"&&o.attributeName==="data-scheme"&&(t.value=document.documentElement.dataset.scheme)})}).observe(document.documentElement,{attributes:!0,attributeFilter:["data-scheme"]}),t}function ln(){return e.inject("currentThemeScheme",null)}function Mt(){return e.inject("currentThemeData",e.ref(tt))}function an(){return e.inject("currentThemeName",e.ref("default"))}function $t(t,r,n={}){const o=j,l=se;return n.primary===void 0&&(n.primary=o),n.secondary===void 0&&(n.secondary=o),n.tertiary===void 0&&(n.tertiary=o),n.error===void 0&&(n.error=o),n.surface===void 0&&(n.surface=l),e.computed(()=>({name:t,colors:{primary:pe(e.unref(r.primary),n.primary),secondary:pe(e.unref(r.secondary),n.secondary),tertiary:pe(e.unref(r.tertiary),n.tertiary),error:pe(e.unref(r.error),n.error),surface:pe(e.unref(r.surface),n.surface)}}))}function sn(t,r=j){return e.computed(()=>{const n=e.unref(t);return typeof n=="string"?oe(n,r).value.map(o=>o.toHexString()):n})}function Ue(t){const r=e.ref(t);return{...{...Object.keys(r.value.colors).map(a=>{const i=a,s=r.value.colors[i];return sn(s,i==="surface"?se:j).value.reduce((d,f,p)=>{const m=M(f).toRgb();return d[`--r-color-${i}-${p}`]=`${m.r} ${m.g} ${m.b}`,d},{})}).reduce((a,i)=>({...a,...i}),{})},...{backgroundColor:"var(--r-surface-background-base-color)",color:"var(--r-surface-text-color)"}}}function Ae(t){const r=e.ref("");return e.onMounted(()=>{t.id?r.value=t.id:r.value=`switch-${Math.random().toString(36).slice(2)}-${Date.now().toString(36)}`}),r}const zt=Symbol("scheme");function At(){const t=Ct("scheme","light");return te&&new MutationObserver(()=>{t.value!==document.documentElement.dataset.scheme&&(t.value=document.documentElement.dataset.scheme)}).observe(document.documentElement,{attributes:!0,attributeFilter:["data-scheme"]}),t}const Ye=8,cn=7,qe=7,un=7,ke=3,dn=6,Ve=5,Vt=6,Ke=3,fn=4,Je=.25,pn=.3,Ze=1,mn=2,ve=7,hn=5,Qe=4,Ht=5,et=.08,gn=.15,ie=e.ref("#0067cc"),ce=e.ref("#5999A6"),ue=e.ref("#F76C22"),de=e.ref("#F95858"),Z=e.ref("#121212"),Tt=e.computed(()=>O({color:"default",type:"border",index:{dark:qe,light:Ke}}).value);function yn(t){return _e(t,"text",{dark:ke,light:ve})}const bn=e.computed(()=>q(e.unref(ie),j).colors),wn=e.computed(()=>q(e.unref(ce),j).colors),Sn=e.computed(()=>q(e.unref(ue),j).colors),kn=e.computed(()=>q(e.unref(de),j).colors),vn=e.computed(()=>q(e.unref(Z),se).colors),tt=$t("default",{primary:ie,secondary:ce,tertiary:ue,error:de,surface:Z});function xe(t,r){return e.computed(()=>{switch(e.unref(t)){case"filled":return ge(r).value;case"light":return It(r).value;default:return He().value}})}function xn(t){return e.computed(()=>{const r=e.unref(t);switch(r){case"surface":return M(e.unref(Z));case"primary":return M(e.unref(ie));case"secondary":return M(e.unref(ce));case"tertiary":return M(e.unref(ue));case"error":return M(e.unref(de));default:return M(r)}})}const rt=new Map;function oe(t,r=j){return e.computed(()=>{const o=xn(t).value.toHexString();if(rt.has(o))return rt.get(o);function l(){const a=q(o,r).colors;return rt.set(o,a),a}return l()})}function Nt(){return e.computed(()=>q(e.unref(Z),se).colors)}function He(){return e.computed(()=>{const t=O({color:"surface",type:"bg",index:{dark:8,light:1}}),r=O({color:"surface",type:"border",index:{dark:7,light:3}}),n=he(t,r);return n.value.class=[...n.value.class,"border"],n.value})}function nt(){return e.computed(()=>{const t=O({color:"surface",type:"bg",index:{dark:7,light:2}}),r=O({color:"surface",type:"border",index:{dark:6,light:4}});return he(t,r).value})}function he(...t){return e.computed(()=>({style:t.reduce((r,n)=>({...r,...n.value.style}),{}),class:t.reduce((r,n)=>[...r,...n.value.class],[])}))}function Rt(t){return e.computed(()=>{const r=O({color:t,type:"bg",index:{dark:5,light:4}}),n=O({color:"surface",type:"border",index:{dark:Ye,light:Ze}}),o=O({color:t,type:"text",index:0});return he(r,n,o).value})}function ge(t){return e.computed(()=>{const r=O({color:t,type:"bg",index:{dark:5,light:4}}),n=O({color:"surface",type:"border",index:{dark:5,light:4}}),o=O({color:t,type:"text",index:0});return he(r,n,o).value})}function It(t){return e.computed(()=>{const r=O({color:t,type:"bg",index:{dark:5,light:4},alpha:.15}),n=O({color:t,type:"text",index:{dark:2,light:5}});return he(r,n).value})}function Ce(t,r,n,o,l=1){switch(r){case"outline":return{style:{"--d-outline":t[n].clone().setAlpha(l).toHex8String(),"--l-outline":t[o].clone().setAlpha(l).toHex8String()},class:["dark:focus-visible:outline-[--d-outline]","focus-visible:outline-[--l-outline]"]};case"bg":return{style:{"--d-bg":t[n].clone().setAlpha(l).toHex8String(),"--l-bg":t[o].clone().setAlpha(l).toHex8String()},class:["dark:bg-[--d-bg]","bg-[--l-bg]"]};case"border":return{style:{"--d-border":t[n].clone().setAlpha(l).toHex8String(),"--l-border":t[o].clone().setAlpha(l).toHex8String()},class:["dark:border-[--d-border]","border-[--l-border]"]};case"text":return{style:{"--d-text":t[n].clone().setAlpha(l).toHex8String(),"--l-text":t[o].clone().setAlpha(l).toHex8String()},class:["dark:text-[--d-text]","text-[--l-text]"]};case"placeholder":return{style:{"--d-placeholder":t[n].clone().setAlpha(l).toHex8String(),"--l-placeholder":t[o].clone().setAlpha(l).toHex8String()},class:["dark:placeholder-[--d-placeholder]","placeholder-[--l-placeholder]"]};case"hover:bg":return{style:{"--d-bg-h":t[n].clone().setAlpha(l).toHexString(),"--l-bg-h":t[o].clone().setAlpha(l).toHexString()},class:["dark:hover:bg-[--d-bg-h]","hover:bg-[--l-bg-h]"]};case"hover:border":return{style:{"--d-border-h":t[n].clone().setAlpha(l).toHexString(),"--l-border-h":t[o].clone().setAlpha(l).toHexString()},class:["dark:hover:border-[--d-border-h]","hover:border-[--l-border-h]"]};case"hover:text":return{style:{"--d-text-h":t[n].clone().setAlpha(l).toHexString(),"--l-text-h":t[o].clone().setAlpha(l).toHexString()},class:["dark:hover:text-[--d-text-h]","hover:text-[--l-text-h]"]}}}function O(t){return t.color==="surface"?ye(t.type,t.index):_e(t.color,t.type,t.index,t.alpha)}function _e(t,r,n,o=1){return e.computed(()=>{const l=oe(t);return typeof n=="number"?Ce(e.unref(l),r,n,n,o):Ce(e.unref(l),r,n.dark,n.light,o)})}function ye(t,r,n=1){return e.computed(()=>{const{colors:o}=q(e.unref(Z),se);return typeof r=="number"?Ce(o,t,r,r,n):Ce(o,t,r.dark,r.light,n)})}function Te(t="default",r="primary"){return e.computed(()=>{const n=oe(r).value,o=q(e.unref(Z),se).colors;return{style:{default:()=>Cn(o),filled:()=>_n(n),light:()=>Bn(n),outline:()=>En(n),transparent:()=>Mn(n),subtle:()=>$n(n),contrast:()=>zn(n),white:()=>An(n)}[e.unref(t)](),class:"custom-colors"}})}function Cn(t){return{"--d-bg":t[Ye].toHexString(),"--d-bg-h":t[cn].toHexString(),"--d-border":t[un].toHexString(),"--l-bg":t[Ze].toHexString(),"--l-bg-h":t[mn].toHexString(),"--l-border":t[fn].toHexString()}}function _n(t){return{"--d-border":"transparent","--d-bg":t[Ve].toHexString(),"--d-bg-h":t[Vt].toHexString(),"--d-text":"white","--l-bg":t[Qe].toHexString(),"--l-bg-h":t[Ht].toHexString(),"--l-text":"white","--l-text-h":"white","--l-border":"transparent"}}function Bn(t){return{"--d-border":"transparent","--d-bg":t[Ve].clone().setAlpha(Je).toHex8String(),"--d-bg-h":t[Ve].clone().setAlpha(pn).toHex8String(),"--d-text":t[ke].toHexString(),"--d-text-h":t[ke].toHexString(),"--l-bg":t[Qe].clone().setAlpha(et).toHex8String(),"--l-bg-h":t[Qe].clone().setAlpha(gn).toHex8String(),"--l-text":t[ve].toHexString(),"--l-text-h":t[ve].toHexString(),"--l-border":"transparent"}}function En(t){return{"--d-bg":"transparent","--d-bg-h":t[Vt].clone().setAlpha(Je).toHex8String(),"--d-text":t[ke].toHexString(),"--d-text-h":t[ke].toHexString(),"--d-border":t[qe].toHexString(),"--l-bg":"transparent","--l-bg-h":t[Ht].clone().setAlpha(et).toHex8String(),"--l-text":t[ve].toHexString(),"--l-text-h":t[ve].toHexString(),"--l-border":t[Ke].toHexString()}}function Mn(t){return{"--d-text":t[3].toHexString(),"--d-text-h":t[3].toHexString(),"--l-text":t[5].toHexString(),"--l-text-h":t[5].toHexString(),"--d-bg":"transparent","--l-bg":"transparent","--d-border":"transparent","--l-border":"transparent"}}function $n(t){return{"--d-bg":"transparent","--d-bg-h":t[3].clone().setAlpha(Je).toHex8String(),"--d-text":t[2].toHexString(),"--d-text-h":t[2].toHexString(),"--d-border":"transparent","--l-bg":"transparent","--l-bg-h":t[3].clone().setAlpha(et).toHex8String(),"--l-text":t[5].toHexString(),"--l-text-h":t[5].toHexString(),"--l-border":"transparent"}}function zn(t){return{"--d-text":t[2].toHexString(),"--d-text-h":"white","--d-bg":"transparent","--d-bg-h":t[5].toHexString(),"--d-border":"transparent","--l-text":t[5].toHexString(),"--l-text-h":"white","--l-bg":"transparent","--l-bg-h":t[5].toHexString(),"--l-border":"transparent"}}function An(t){return{"--d-bg":"white","--d-bg-h":"white","--d-text":t[4].toHexString(),"--d-text-h":t[4].toHexString(),"--d-border":"transparent","--l-bg":"white","--l-bg-h":"white","--l-text":t[5].toHexString(),"--l-text-h":t[5].toHexString(),"--l-border":"transparent"}}function ot(t,r="default"){return e.computed(()=>{const n=oe(t).value,o=Nt().value;switch(e.unref(r)){case"default":return{"--d-bg":o[Ye].toHexString(),"--d-border-f":n[Ve].toHexString(),"--d-border":o[qe].toHexString(),"--d-placeholder":o[dn].toHexString(),"--d-text":"white","--l-bg":o[Ze].toHexString(),"--l-border-f":n[3].toHexString(),"--l-border":o[Ke].toHexString(),"--l-placeholder":o[hn].toHexString(),"--l-text":"black"};case"filled":return{"--d-bg":n[5].toHexString(),"--d-bg-h":n[6].toHexString(),"--d-border":"transparent","--l-bg":n[5].toHexString(),"--l-bg-h":n[6].toHexString(),"--l-border":"transparent"}}})}const Ne=e.defineComponent({__name:"Btn",props:{type:{default:"button"},size:{default:"md"},is:{default:"button"},icon:{type:Boolean,default:!1},pressEffect:{default:"translate"},variant:{},hoverVariant:{},color:{},rounded:{default:"md"},disabled:{type:Boolean,default:!1}},setup(t){const r=t,n=G(r),o=e.computed(()=>{switch(r.size){case"sm":return{normalContent:"min-w-16 h-6 px-2 py-1 text-xs",iconContent:"h-6 w-6 p-1"};case"lg":return{normalContent:"min-w-24 h-10 px-4 py-2 text-base",iconContent:"h-10 w-10 p-3"};case"md":default:return{normalContent:"min-w-20 h-8 px-3 py-1 text-sm",iconContent:"h-8 w-8 p-2"}}}),l=e.ref(null),a=Se(l),i=e.computed(()=>r.hoverVariant&&a.value?r.hoverVariant:r.variant??"default"),s=e.computed(()=>r.color??"primary"),c=Te(i,s);return(u,d)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.is),e.mergeProps({ref_key:"btn",ref:l,"data-size":u.size,type:u.type,class:["flex items-center justify-center gap-1 decoration-none",[e.unref(c).class,e.unref(n).class,u.icon?o.value.iconContent:o.value.normalContent,{"opacity-60 pointer-events-none select-none":u.disabled,"active:translate-y-0.25":u.pressEffect==="translate"}]],style:[e.unref(c).style,e.unref(n).style],disabled:u.disabled},u.$attrs),{default:e.withCtx(()=>[u.$slots.leftSection?e.renderSlot(u.$slots,"leftSection",{key:0}):e.createCommentVNode("",!0),e.renderSlot(u.$slots,"default"),u.$slots.rightSection?e.renderSlot(u.$slots,"rightSection",{key:1}):e.createCommentVNode("",!0)]),_:3},16,["data-size","type","style","class","disabled"]))}}),Vn=e.defineComponent({__name:"BtnGroup",props:e.mergeModels({selections:{},default:{},color:{default:"primary"},unselectable:{type:Boolean,default:void 0}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.computed(()=>r.unselectable===void 0?r.selections.length===1:r.unselectable);function o(d){return typeof d=="string"?d:d.label??d.value}function l(d){return typeof d=="string"?d:d.value}function a(d){return typeof d=="string"?void 0:d.icon}const i=e.useModel(t,"modelValue");function s(d){l(d)===i.value&&n.value?i.value=void 0:i.value=l(d)}const c=e.computed(()=>r.selections.length===1),u=e.computed(()=>c.value?null:"first-children:rounded-r-0 first-children:border-r-none last-children:rounded-l-0 last-children:border-l-none not-first-children:rounded-l-0 not-last-children:rounded-r-0");return(d,f)=>{const p=Ne;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["w-auto inline-flex container",[u.value]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.selections,(m,g)=>(e.openBlock(),e.createBlock(p,{key:l(m),model:i.value,variant:l(m)===i.value?"filled":void 0,color:r.color,class:e.normalizeClass({"border-x-none":g!==0&&g!==r.selections.length-1}),onClick:h=>s(m)},{default:e.withCtx(()=>[a(m)?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(a(m))},null,2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(o(m)),1)]),_:2},1032,["model","variant","color","class","onClick"]))),128))],2)}}}),Hn=(t,r)=>{const n=t.__vccOpts||t;for(const[o,l]of r)n[o]=l;return n},Tn={},Nn={class:"flex flex-col gap-4 container"};function Rn(t,r){return e.openBlock(),e.createElementBlock("div",Nn,[e.renderSlot(t.$slots,"default")])}const In=Hn(Tn,[["render",Rn]]),Dn=e.defineComponent({__name:"ChatMessage",props:{avatar:{},position:{default:"left"},color:{default:"primary"},variant:{default:"default"},withBorder:{type:Boolean,default:!1}},setup(t){const r=t,n=e.computed(()=>r.variant),o=e.computed(()=>r.color),l=xe(n,o);return(a,i)=>{const s=at;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex gap-2",[{"flex-row-reverse":a.position==="right","flex-row":a.position==="left"}]])},[a.$slots.avatar?e.renderSlot(a.$slots,"avatar",{key:0}):a.avatar?(e.openBlock(),e.createBlock(s,{key:1,src:a.avatar},null,8,["src"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col gap-1 rounded-xl p-2",[{"rounded-tr":a.position==="right","rounded-tl":a.position==="left",border:a.withBorder},e.unref(l).class]]),style:e.normalizeStyle([e.unref(l).style])},[e.renderSlot(a.$slots,"default")],6)],2)}}}),Pn={class:"w-full flex self-center gap-2 text-center"},On=e.defineComponent({__name:"ChatSystem",props:{position:{},color:{default:"default"},variant:{default:"default"},withBorder:{type:Boolean,default:!1}},setup(t){const r=t,n=e.computed(()=>r.variant),o=e.computed(()=>r.color),l=xe(n,o);return(a,i)=>(e.openBlock(),e.createElementBlock("div",Pn,[e.createElementVNode("div",{class:e.normalizeClass(["w-full rounded-xl px-3 py-2",[e.unref(l).class]]),style:e.normalizeStyle(e.unref(l).style)},[e.renderSlot(a.$slots,"default")],6)]))}}),Fn=e.defineComponent({__name:"Chip",props:{is:{default:"img"},src:{},size:{default:"md"},color:{default:"primary"},variant:{default:"default"},rounded:{default:"full"}},setup(t){const r=t,n=G(r),o=e.computed(()=>{switch(r.size){case"sm":return"px-3 py-0.5 text-xs";case"md":return"px-4 py-0.5 text-sm";case"lg":return"px-5 py-0.5 text-base";default:return""}}),l=e.computed(()=>r.variant),a=e.computed(()=>r.color),i=xe(l,a);return(s,c)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["inline-block h-fit inline-flex items-center gap-1",[e.unref(n).class,e.unref(i).class,o.value]]),style:e.normalizeStyle([e.unref(n).style,e.unref(i).style])},[s.$slots.leftSection?e.renderSlot(s.$slots,"leftSection",{key:0}):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"default"),s.$slots.rightSection?e.renderSlot(s.$slots,"rightSection",{key:1}):e.createCommentVNode("",!0)],6))}}),Dt=e.defineComponent({__name:"ColorSwatch",props:{color:{},is:{default:"div"},withBorder:{type:Boolean,default:!1}},setup(t){return(r,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.is),e.mergeProps({class:["h-6 w-6 border rounded-full",[{border:r.withBorder}]]},e.unref(Tt),{style:{backgroundColor:r.color}}),null,16,["class","style"]))}}),Ln=["id","alt"],Wn=["for"],jn={key:0},Gn=e.defineComponent({__name:"ColorInput",props:e.mergeModels({label:{},withBorder:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=e.useModel(t,"modelValue"),n=e.useAttrs(),o=Ae(n),l=e.ref(null);return(a,i)=>{const s=Dt;return e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("input",{id:e.unref(o),ref_key:"input",ref:l,"onUpdate:modelValue":i[0]||(i[0]=c=>r.value=c),alt:r.value,type:"color",class:"pointer-events-none absolute opacity-0"},null,8,Ln),[[e.vModelText,r.value]]),e.createElementVNode("label",{class:"flex items-center gap-2",for:e.unref(o)},[e.createVNode(s,{"with-border":a.withBorder,class:"cursor-pointer",color:r.value??"#222"},null,8,["with-border","color"]),a.label?(e.openBlock(),e.createElementBlock("span",jn,e.toDisplayString(a.label),1)):e.createCommentVNode("",!0)],8,Wn)])}}}),Pt=Symbol("rokuProvider");function Xn(){return e.inject(Pt,e.ref(null))}function Un(t){return e.provide(Pt,t)}const lt=e.defineComponent({__name:"FullscreenOverlay",props:e.mergeModels({persistent:{type:Boolean,default:!1},blur:{type:[String,Boolean],default:!1},wrapperClass:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.useModel(t,"modelValue"),o=e.ref(null);function l(c){r.persistent||c.target===o.value&&(n.value=!1)}const a=e.computed(()=>{switch(r.blur){case"sm":return"backdrop-blur-sm";case"md":case!0:return"backdrop-blur-md";case"lg":return"backdrop-blur-lg";default:return""}}),i=e.ref(0);e.watchEffect(()=>{n.value?(document.body.style.overflow="hidden",document.body.style.marginRight=`${i.value}px`):setTimeout(()=>{document.querySelector(".modal-wrapper.op100")||(document.body.style.overflow="",document.body.style.marginRight="")},300)}),typeof window<"u"&&new ResizeObserver(()=>{const u=window.innerWidth-document.body.clientWidth;u!==0&&(i.value=u)}).observe(document.body);const s=Xn();return(c,u)=>(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(s)??"body"},[e.createElementVNode("div",{ref_key:"wrapperRef",ref:o,class:e.normalizeClass(["modal-wrapper fixed left-0 top-0 z-100 h-full w-full bg-surface-10/10 transition-all duration-100 md:items-center",[a.value,c.wrapperClass,{"op0 pointer-events-none":!n.value,op100:n.value}]]),onClick:l},[e.renderSlot(c.$slots,"default")],2)],8,["to"]))}}),Yn={class:"flex justify-end p-4 md:px-6 md:py-4 md:pb-0"},qn={class:"h-full flex flex-col items-center justify-center px-4 md:px-6"},Kn=e.defineComponent({__name:"Drawer",props:e.mergeModels({persistent:{type:Boolean,default:!1},blur:{type:[String,Boolean],default:!1},position:{default:"left"}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.useModel(t,"modelValue");return(o,l)=>{const a=Ne,i=lt;return e.openBlock(),e.createBlock(i,{modelValue:n.value,"onUpdate:modelValue":l[1]||(l[1]=s=>n.value=s),blur:r.blur,persistent:r.persistent},{default:e.withCtx(()=>[e.createVNode(e.Transition,{"enter-from-class":o.position==="left"?"-translate-x-1/1":"translate-x-1/1","enter-to-class":(o.position==="left","translate-x-0"),"leave-from-class":(o.position==="left","translate-x-0"),"leave-to-class":o.position==="left"?"-translate-x-1/1":"translate-x-1/1","enter-active-class":"transition ease-out duration-300","leave-active-class":"transition ease-in duration-200"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["bg-surface-low fixed h-full w-full md:w-md",o.position==="left"?"left-0":"right-0"])},[e.createElementVNode("div",Yn,[e.createVNode(a,{icon:"",variant:"transparent",class:"text-surface-on hover:text-surface-on",onPointerup:l[0]||(l[0]=s=>n.value=!1)},{default:e.withCtx(()=>l[2]||(l[2]=[e.createElementVNode("i",{class:"i-fluent-dismiss-12-filled"},null,-1)])),_:1})]),e.createElementVNode("div",qn,[e.renderSlot(o.$slots,"default")])],2)):e.createCommentVNode("",!0)]),_:3},8,["enter-from-class","enter-to-class","leave-from-class","leave-to-class"])]),_:3},8,["modelValue","blur","persistent"])}}}),Jn=e.defineComponent({__name:"Dropzone",props:{dashed:{type:Boolean,default:!0},accept:{default:"*"}},emits:["drop"],setup(t,{emit:r}){const n=t,o=r,l=e.ref(),{onChange:a,open:i}=Qr({accept:n.accept});a(d=>{d?o("drop",Array.from(d)):o("drop",null)});const{isOverDropZone:s}=Jr(l,{onDrop:d=>{o("drop",d)}}),c=Te("default"),u=nt();return(d,f)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"dropZoneRef",ref:l,class:e.normalizeClass([[e.unref(c).class,e.unref(s)&&e.unref(u).class,{"bg-surface-low":!e.unref(s),"border-dashed":d.dashed}],"h-full w-full flex cursor-pointer items-center justify-center border rounded"]),style:e.normalizeStyle([e.unref(c).style,e.unref(s)&&e.unref(u).style]),onPointerup:f[0]||(f[0]=()=>e.unref(i)())},[e.renderSlot(d.$slots,"default")],38))}}),Zn=e.defineComponent({__name:"Image",props:{is:{default:"img"},src:{},style:{},class:{},width:{},maxWidth:{},height:{},maxHeight:{},rounded:{default:"none"}},setup(t){const r=t,n=e.ref(!1),o=e.ref(null);function l(){n.value=!0}e.onMounted(()=>{var i;(i=o.value)!=null&&i.complete&&l()});const a=G(r);return(i,s)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle({height:i.height,width:i.width,maxHeight:i.maxHeight,maxWidth:i.maxWidth})},[i.src?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.is),e.mergeProps({key:0,ref_key:"img",ref:o,style:[i.style,e.unref(a).style],src:i.src,class:["h-full w-full object-cover",[r.class,e.unref(a).class,{hidden:!n.value}]]},i.$attrs,{onLoad:l}),null,16,["style","src","class"])):e.createCommentVNode("",!0),n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["h-full w-full animate-pulse border-transparent object-cover",[r.class,e.unref(a).class]]),style:e.normalizeStyle([i.style,e.unref(a).style])},null,6))],4))}}),Qn={class:"relative"},eo=e.defineComponent({__name:"Indicator",props:{color:{default:"primary"},size:{default:"md"},position:{default:"top-right"},ping:{type:Boolean}},setup(t){const r=t,n=e.computed(()=>{switch(r.size){case"sm":return"w-2 h-2";case"md":return"w-3 h-3";case"lg":return"w-4 h-4";default:return typeof r.size=="number"||!Number.isNaN(Number(r.size))?`w-${r.size} h-${r.size}`:r.size}}),o=e.useSlots(),l=e.computed(()=>{if(!o.label)return"";switch(r.size){case"sm":return"text-sm children:px-1.5";case"lg":return"text-lg children:px-2.5";case"md":default:return"text-md children:px-2"}}),a=e.computed(()=>{switch(r.position){case"bottom-left":return"bottom-0 left-0 -translate-x-1/2 translate-y-1/2";case"bottom-right":return"bottom-0 right-0 translate-x-1/2 translate-y-1/2";case"top-left":return"top-0 left-0 -translate-x-1/2 -translate-y-1/2";case"top-right":default:return"top-0 right-0 translate-x-1/2 -translate-y-1/2"}}),i=e.computed(()=>r.color),s=Rt(i);return(c,u)=>(e.openBlock(),e.createElementBlock("div",Qn,[e.createElementVNode("div",{class:e.normalizeClass([[a.value,l.value],"absolute z-1"])},[r.ping?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["absolute box-content animate-ping border-2 border-transparent rounded-full",[{[n.value]:!c.$slots.label},e.unref(s).class]]),style:e.normalizeStyle([e.unref(s).style])},[c.$slots.label?e.renderSlot(c.$slots,"label",{key:0}):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["border-surface-low top-0 box-content border-2 rounded-full",[{[n.value]:!c.$slots.label},e.unref(s).class]]),style:e.normalizeStyle(e.unref(s).style)},[c.$slots.label?e.renderSlot(c.$slots,"label",{key:0}):e.createCommentVNode("",!0)],6)],2),e.renderSlot(c.$slots,"default")]))}}),to=e.defineComponent({__name:"Modal",props:e.mergeModels({persistent:{type:Boolean,default:!1},blur:{type:[String,Boolean],default:!1}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.useModel(t,"modelValue");return(o,l)=>{const a=lt;return e.openBlock(),e.createBlock(a,{modelValue:n.value,"onUpdate:modelValue":l[0]||(l[0]=i=>n.value=i),blur:r.blur,persistent:r.persistent,"wrapper-class":"flex items-end justify-center"},{default:e.withCtx(()=>[e.createVNode(e.Transition,{"enter-from-class":"translate-y-1/2","enter-to-class":"translate-y-0","leave-from-class":"translate-y-0","leave-to-class":"translate-y-1/2","enter-active-class":"transition ease-out duration-100","leave-active-class":"transition ease-in duration-100"},{default:e.withCtx(()=>[n.value?e.renderSlot(o.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),_:3})]),_:3},8,["modelValue","blur","persistent"])}}}),ro={key:0,class:"text-[var(--l-text)] leading-0 dark:text-[var(--d-text)]"},no={key:0,class:"h-container w-container i-tabler-loader-2 shrink-0 animate-spin"},oo={key:1},lo={class:"grow-1"},ao={key:1,class:"i-fluent-dismiss-12-filled"},Ot=e.defineComponent({__name:"Notification",props:{title:{},message:{},icon:{},loading:{type:Boolean},withBorder:{type:Boolean},closeable:{type:Boolean},rounded:{default:"md"},block:{type:Boolean,default:!1},color:{default:"primary"},size:{default:"md"}},emits:["close"],setup(t){const r=t,n=G(r),o=e.computed(()=>r.color),l=ge(o),a=He(),i=e.computed(()=>{switch(r.size){case"sm":return"min-h-10 p-1";case"lg":return"min-h-16 p-4";case"md":default:return"min-h-16 p-3"}});return(s,c)=>{const u=Ne;return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:["container-low relative min-w-80 w-full flex items-center gap-2 pl-4",[{"border-0":!s.withBorder},e.unref(n).class,i.value,{"max-w-100":!s.block,"w-full":s.block}]],style:[e.unref(n).style]},e.unref(a)),[s.icon?(e.openBlock(),e.createElementBlock("div",ro,[s.loading?(e.openBlock(),e.createElementBlock("i",no)):(e.openBlock(),e.createElementBlock("i",{key:1,class:e.normalizeClass(["h-container w-container shrink-0",s.icon])},null,2))])):(e.openBlock(),e.createElementBlock("div",oo,[e.createElementVNode("div",e.mergeProps({class:["absolute left-[0.25rem] top-[0.25rem] h-[calc(100%-0.5rem)] w-1 rounded-full bg-[var(--d-bg)] dark:bg-[var(--d-bg)]",[{"animate-pulse":s.loading}]]},e.unref(l)),null,16)])),e.createElementVNode("div",lo,[s.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-[var(--l-text)] dark:text-[var(--d-text)]",{"text-xs":s.size==="sm","text-sm":s.size==="md","text-base":s.size==="lg"}])},e.toDisplayString(s.title),3)):e.createCommentVNode("",!0),s.$slots.message?e.renderSlot(s.$slots,"message",{key:1}):s.message?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["text-surface-on-low op-50",{"text-xs":s.size==="sm","text-sm":s.size==="md"||s.size==="lg"}])},e.toDisplayString(s.message),3)):e.createCommentVNode("",!0)]),s.closeable?(e.openBlock(),e.createBlock(u,{key:2,icon:"",variant:"transparent",onClick:c[0]||(c[0]=d=>s.$emit("close"))},{default:e.withCtx(()=>[s.$slots.closeIcon?e.renderSlot(s.$slots,"close-icon",{key:0}):(e.openBlock(),e.createElementBlock("i",ao))]),_:3})):e.createCommentVNode("",!0)],16)}}}),so={class:"pointer-events-none fixed z-20 h-full w-full children:pointer-events-auto"},io=e.defineComponent({__name:"NotificationSystem",props:{position:{default:"top-right"},gap:{default:8},pt:{default:16},pl:{default:8},pr:{default:8},pb:{default:16}},setup(t){const r=t,n=ht(),o=e.ref([]),l=e.computed(()=>o.value.map(c=>c.getBoundingClientRect())),a=e.computed(()=>{let c=0,u=0,d=0,f=0,p=0,m=0;const g=[];for(let h=0;h<l.value.length;h++){const S=n.value[h];S&&(S.position||(S.position=r.position),S.position==="top-left"?(g.push(c),c+=l.value[h].height+r.gap):S.position==="top-right"?(g.push(u),u+=l.value[h].height+r.gap):S.position==="top"?(g.push(d),d+=l.value[h].height+r.gap):S.position==="bottom-left"?(g.push(f),f+=l.value[h].height+r.gap):S.position==="bottom-right"?(g.push(p),p+=l.value[h].height+r.gap):S.position==="bottom"&&(g.push(m),m+=l.value[h].height+r.gap))}return g});function i(c,u){if(u||(u=r.position),u==="top-left")return{top:`${c+r.pt}px`,left:`${r.pl}px`};if(u==="top-right")return{top:`${c+r.pt}px`,right:`${r.pr}px`};if(u==="top")return{top:`${c+r.pt}px`,left:"50%",transform:"translateX(-50%)"};if(u==="bottom-left")return{bottom:`${c+r.pb}px`,left:`${r.pl}px`};if(u==="bottom-right")return{bottom:`${c+r.pb}px`,right:`${r.pr}px`};if(u==="bottom")return{bottom:`${c+r.pb}px`,left:"50%",transform:"translateX(-50%)"}}const s=e.ref({});return e.watchEffect(()=>{n.value.forEach(c=>{if(c.durationMS&&c.durationMS>0){if(s.value[c.hash])return;s.value[c.hash]=setTimeout(()=>{n.value.splice(n.value.indexOf(c),1)},c.durationMS)}})}),(c,u)=>{const d=Ot;return e.openBlock(),e.createElementBlock("div",so,[e.createVNode(e.TransitionGroup,{"enter-from-class":"op0","enter-to-class":"op100","leave-from-class":"op100","leave-to-class":"op0"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n),(f,p)=>(e.openBlock(),e.createElementBlock("div",{key:f.hash,ref_for:!0,ref_key:"notificationRefs",ref:o,class:"absolute transition-top,bottom,opacity",style:e.normalizeStyle(i(a.value[p],f.position))},[e.createVNode(d,{"with-border":"",closeable:"",title:f.title,message:f.message,icon:f.icon,loading:f.loading,color:f.color,onClose:m=>e.unref(n).splice(e.unref(n).indexOf(f),1)},null,8,["title","message","icon","loading","color","onClose"])],4))),128))]),_:1})])}}}),co={class:"relative"},Ft=e.defineComponent({__name:"Overlay",props:{blur:{type:[Boolean,String],default:!1},rounded:{default:"none"},opacity:{default:30},color:{default:"black"}},setup(t){const r=t,n=e.computed(()=>{switch(r.blur){case"sm":return"backdrop-blur-sm";case"md":case!0:return"backdrop-blur-md";case"lg":return"backdrop-blur-lg";default:return""}}),o=G(r),l=e.ref(null),a=M(r.color).toRgb(),i=e.computed(()=>({backgroundColor:`rgba(${a.r}, ${a.g}, ${a.b}, ${r.opacity/100})`}));return(s,c)=>(e.openBlock(),e.createElementBlock("div",co,[e.renderSlot(s.$slots,"default"),e.createElementVNode("div",e.mergeProps(s.$attrs,{ref_key:"wrapperRef",ref:l,class:[[n.value,e.unref(o).class],"absolute left-0 top-0 h-full w-full overflow-hidden md:items-center"],style:[e.unref(o).style,i.value]}),[e.renderSlot(s.$slots,"content")],16)]))}}),Lt=e.defineComponent({__name:"Paper",props:{rounded:{default:"md"},loading:{type:Boolean,default:!1},is:{default:"div"},color:{default:"primary"},traceAnimate:{type:Boolean,default:!1},withBorder:{type:Boolean,default:!1},noPadding:{type:Boolean,default:!1}},setup(t){const r=t,n=e.computed(()=>r.color),o=e.computed(()=>r.loading),l=G(r),{x:a,y:i}=ze({type:"client"}),s=e.ref(null),{width:c,height:u,top:d,left:f}=re(s),p=e.computed(()=>Math.min(c.value,u.value)),m=e.computed(()=>!c.value||!u.value?[]:o.value?[{backgroundPosition:"0% 0%",offset:0},{backgroundPosition:"0% 100%",offset:.25},{backgroundPosition:"100% 100%",offset:.5},{backgroundPosition:"100% 0%",offset:.75}]:[]);let g;const h=e.computed(()=>oe(n.value).value[5]),S=e.computed(()=>{var y;return r.loading?(g?g.play():g=(y=s.value)==null?void 0:y.animate(m.value,{duration:1e3,iterations:Number.POSITIVE_INFINITY}),{"--main-color":h.value,"--gradient":`radial-gradient(circle at center, var(--main-color) ${p.value*.5}px, var(--border-color) ${p.value*.5}px)`,"--border-color":"var(--r-surface-border-color)","--bg":"var(--r-surface-background-color)",background:"linear-gradient(var(--bg), var(--bg)) padding-box, var(--gradient) border-box","border-color":"transparent","background-color":"var(--bg)","background-size":"200% 200%"}):(g&&g.pause(),{background:"var(--r-surface-background-color)"})}),v=e.computed(()=>{if(r.traceAnimate){const y=e.computed(()=>({x:f.value+c.value/2,y:d.value+u.value/2})),C=e.computed(()=>{if(a.value<f.value||a.value>f.value+c.value||i.value<d.value||i.value>d.value+u.value)return{x:a.value,y:i.value};const E=y.value.x,x=y.value.y;let _,b;const B=(i.value-x)/(a.value-E);return a.value<E?(_=f.value,b=x+B*(f.value-E)):(_=f.value+c.value,b=x+B*(_-E)),b<d.value?(b=d.value,_=E+(b-x)/B):b>d.value+u.value&&(b=d.value+u.value,_=E+(b-x)/B),{x:_,y:b}});return{"--main-color":h.value,"--border-color":"var(--r-surface-border-color)","--bg":"var(--r-surface-background-color)","--gradient":`radial-gradient(circle at ${C.value.x-f.value}px ${C.value.y-d.value}px, var(--main-color) ${p.value*.5}px, var(--border-color) ${p.value*.5}px)`,background:"linear-gradient(var(--bg), var(--bg)) padding-box, var(--gradient) border-box","background-size":"200% 200%","background-color":"var(--bg)"}}else return{}});return(y,C)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.is),e.mergeProps({ref_key:"paperRef",ref:s,class:["relative border",[{"p-4":!y.noPadding},e.unref(l).class]],style:[e.unref(l).style,S.value,v.value]},y.withBorder&&!y.traceAnimate&&!o.value?{class:"border-[var(--r-surface-border-color)]"}:{class:"border-transparent"}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"default")]),_:3},16,["class","style"]))}}),uo=["for"],fo={key:1},po=["id","placeholder","type"],Wt=e.defineComponent({__name:"TextField",props:e.mergeModels({onChange:{},color:{default:"primary"},error:{type:Boolean},disabled:{type:Boolean},rounded:{default:"md"},size:{default:"md"},password:{type:Boolean},placeholder:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t,{expose:r}){const n=t,o=e.useModel(t,"modelValue"),l=e.computed(()=>{switch(n.size){case"sm":return{base:"h-6 px-2 py-1 text-xs"};case"lg":return{base:"h-10 px-4 py-2 text-base"};case"md":default:return{base:"h-8 px-3 py-1 text-sm"}}}),a=e.computed(()=>{switch(n.size){case"sm":return"text-xs";case"lg":return"md-md";case"md":default:return"text-sm"}}),i=e.computed(()=>n.color),s=ot(i),c=e.computed(()=>n.disabled?"pointer-events-none select-none filter opacity-60":""),u=G(n),d=e.ref(null);r({el:d});const f=e.useAttrs(),p=Ae(f);return(m,g)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle([e.unref(s)])},[m.$slots.label||m.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:e.unref(p),class:e.normalizeClass(["mb-1 block",[a.value]])},[m.$slots.label?e.renderSlot(m.$slots,"label",{key:0}):(e.openBlock(),e.createElementBlock("span",fo,e.toDisplayString(m.label),1))],10,uo)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",e.mergeProps({id:e.unref(p)},m.$attrs,{ref_key:"input",ref:d,"onUpdate:modelValue":g[0]||(g[0]=h=>o.value=h),class:["w-full border px-2 py-1 outline-none custom-input-colors",[c.value,e.unref(u).class,l.value.base]],style:[e.unref(u).style],placeholder:m.placeholder,type:n.password?"password":"text"}),null,16,po),[[e.vModelDynamic,o.value]])],4))}}),mo={class:"flex gap-2"},ho=e.defineComponent({__name:"PinInput",props:{modelValue:{},length:{default:6},size:{},password:{type:Boolean}},setup(t){const r=t,n=e.ref([]);function o(s){s.preventDefault(),s.stopPropagation();const c=n.value.findIndex(d=>d.el===s.target),u=s.target.value??"";s.target.value="",Array.from(u).forEach((d,f)=>{c+f>=n.value.length||(n.value[c+f].el.value=d,c+f+1<n.value.length?(n.value[c+f+1].el.focus(),n.value[c+f+1].el.select()):n.value[c+f].el.blur())})}function l(s){s.preventDefault(),s.stopPropagation();const c=s.target.value!=="";s.target.value="";const u=n.value.findIndex(d=>d.el===s.target);u!==0&&(n.value[u-1].el.focus(),n.value[u-1].el.select(),c||(n.value[u-1].el.value=""))}function a(s){s.preventDefault(),s.stopPropagation();const c=n.value.findIndex(u=>u.el===s.target);c>0&&(n.value[c-1].el.focus(),n.value[c-1].el.select())}function i(s){s.preventDefault(),s.stopPropagation();const c=n.value.findIndex(u=>u.el===s.target);c<n.value.length-1&&(n.value[c+1].el.focus(),n.value[c+1].el.select())}return(s,c)=>(e.openBlock(),e.createElementBlock("div",mo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.length,u=>(e.openBlock(),e.createBlock(Wt,{ref_for:!0,ref_key:"inputs",ref:n,key:u,class:"w-8 text-center",style:{padding:"0"},password:r.password,onPointerup:c[0]||(c[0]=d=>d.target.select()),onInput:e.withModifiers(o,["stop","prevent"]),onKeydown:[e.withKeys(l,["backspace"]),e.withKeys(a,["arrow-left"]),e.withKeys(i,["arrow-right"])]},null,8,["password"]))),128))]))}}),go=e.defineComponent({__name:"Popover",props:e.mergeModels({trigger:{default:"click"},position:{default:"bottom"},zIndex:{default:1e4},offset:{default:4},overlay:{type:Boolean,default:!1}},{modelValue:{default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.ref(null),o=e.ref(null),l=re(n),a=re(o),i=e.computed(()=>{switch(r.position){case"top-start":return"top-0 left-0";case"top-end":return"top-0 right-0";case"bottom-end":return"top-100% right-0";case"bottom-start":return"top-100% left-0";case"bottom":return"top-100% left-50%";default:return"top-100%"}}),s=e.computed(()=>{switch(r.position){case"top-start":case"top-end":return{top:`${-a.height.value-r.offset}px`};case"top":return{top:`${-a.height.value-r.offset}px`,left:`${-a.width.value/2+l.width.value/2}px`};case"bottom-start":case"bottom-end":return{marginTop:`${r.offset}px`};case"bottom":return{top:`${l.height.value+r.offset}px`,left:`${-a.width.value/2+l.width.value/2}px`};case"left-start":return{left:`${-a.width.value-r.offset}px`,top:0};case"left-end":return{left:`${-a.width.value-r.offset}px`,top:`${-a.height.value+l.height.value}px`};case"left":return{left:`${-a.width.value-r.offset}px`,top:`${-a.height.value/2+l.height.value/2}px`};case"right-start":return{left:`${r.offset+l.width.value}px`,top:0};case"right-end":return{left:`${r.offset+l.width.value}px`,top:`${-a.height.value+l.height.value}px`};case"right":return{left:`${l.width.value+r.offset}px`,top:`${-a.height.value/2+l.height.value/2}px`};default:return{}}}),c=Se(n),u=e.useModel(t,"modelValue"),d=e.computed(()=>r.trigger==="hover"?c.value:u.value);function f(p){var m;!((m=n.value)!=null&&m.contains(p.target))||p.target===n.value||(u.value=!u.value)}return kt(o,p=>{var m;(m=n.value)!=null&&m.contains(p.target)?u.value=!0:u.value=!1}),(p,m)=>{const g=Ft;return e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:n,class:"relative"},[e.createElementVNode("div",{onPointerup:f},[e.renderSlot(p.$slots,"default")],32),d.value&&p.overlay?(e.openBlock(),e.createBlock(g,{key:0,opacity:0,class:"fixed inset-0 z-10",style:e.normalizeStyle({zIndex:p.zIndex}),onPointerup:m[0]||(m[0]=h=>u.value=!1)},null,8,["style"])):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"contentRef",ref:o,class:e.normalizeClass([i.value,"absolute children:w-max"]),style:e.normalizeStyle([s.value,{zIndex:p.zIndex}])},[e.renderSlot(p.$slots,"content")],6)):e.createCommentVNode("",!0)],512)}}}),yo=e.defineComponent({__name:"Progress",props:{value:{default:0},max:{default:100},min:{default:0},size:{default:"md"},color:{default:"primary"},rounded:{default:"full"},loading:{type:Boolean,default:!1}},setup(t){const r=t,n=e.computed(()=>{switch(r.size){case"sm":return"h-0.25";case"md":return"h-0.5";case"lg":return"h-1";default:return"h-0.5"}}),o=e.computed(()=>r.color),l=ge(o),a=ye("bg",{dark:7,light:3}),i=G(r);return(s,c)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:["relative w-full self-center overflow-hidden",[n.value,e.unref(i).class]],style:[e.unref(i).style]},e.unref(a)),[s.loading?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1,class:"loading-progress h-full"},e.unref(l)),null,16)):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,class:"h-full"},e.unref(l),{style:[{width:`${(Number(s.value)-Number(s.min))/(Number(s.max)-Number(s.min))*100}%`}]}),null,16))],16))}}),bo=["onMouseover","onPointerdown"],wo="#ffeb91",So="text-[var(--d-text)]",ko="text-surface-on-low",vo="text-[var(--d-text-h)]",xo="i-fluent-star-12-filled",Co="i-fluent-star-12-filled",_o=e.defineComponent({__name:"Rating",props:e.mergeModels({count:{},icons:{},color:{default:"#ffeb91"},highlightSelectedOnly:{type:Boolean},unselectable:{type:Boolean},size:{}},{modelValue:{default:0},modelModifiers:{}}),emits:e.mergeModels(["select"],["update:modelValue"]),setup(t,{emit:r}){const n=t,o=r,l=e.computed(()=>n.count??5),a=e.useModel(t,"modelValue"),i=e.computed(()=>n.highlightSelectedOnly??!1),s=e.computed(()=>n.unselectable??!1),c=e.ref(-1),u=e.computed(()=>d(n.icons,l.value,xo,Co));function d(y,C,E,x){function _(B){return typeof B=="string"?{active:B,normal:B}:B===void 0?{active:x,normal:E}:{active:B.active||x,normal:B.normal||E}}if(y===void 0)return Array.from({length:C},()=>({active:x,normal:E}));let b;if(typeof y=="string")b={active:y,normal:y};else if(Array.isArray(y)){const B=y.map(z=>_(z));return B.length===1?(b=B[0],Array.from({length:C},()=>({...b}))):B.slice(0,C).concat(Array.from({length:Math.max(0,C-B.length)},()=>({active:x,normal:E})))}else b={active:y.active||x,normal:y.normal||E};return Array.from({length:C},()=>({...b}))}function f(y){return i.value?c.value!==-1?c.value===y+1:a.value===y+1:c.value!==-1?c.value>y:a.value>=y+1}function p(y){const C=u.value[y].normal,E=u.value[y].active;return f(y)?[i.value?vo:So,E]:[ko,C]}const g=e.computed(()=>{if(typeof n.color=="string")return Array.from({length:l.value}).map(()=>n.color);const y=Array.from({length:l.value}).map(()=>wo);return n.color.forEach((C,E)=>{C&&(y[E]=C)}),y}).value.map(y=>xe("filled",y)),h=O({color:"surface",type:"text",index:{dark:6,light:4}});function S(y){a.value===y&&s.value?(o("select",0),a.value=0):(o("select",y+1),a.value=y+1)}const v=e.computed(()=>{switch(n.size){case"sm":return"text-xs";case"lg":return"text-lg";case"md":default:return"text-base"}});return(y,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex cursor-pointer",v.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(E,x)=>(e.openBlock(),e.createElementBlock("div",{key:x,class:"pr-1",onMouseover:_=>c.value=x+1,onMouseleave:C[0]||(C[0]=_=>c.value=-1),onPointerdown:_=>S(x)},[e.createElementVNode("i",e.mergeProps({ref_for:!0},f(x)?e.unref(g)[x].value:e.unref(h),{class:["active:translate-y-1px",[p(x)]]}),null,16)],40,bo))),128))],2))}}),Bo=e.defineComponent({__name:"RokuProvider",props:{is:{default:"div"},theme:{default:"default"},themes:{default:()=>({default:tt.value})}},setup(t){const r=t,n=At(),o=e.computed(()=>r.themes[r.theme]);e.watchEffect(()=>{Z.value=typeof o.value.colors.surface=="string"?o.value.colors.surface:Z.value,ie.value=typeof o.value.colors.primary=="string"?o.value.colors.primary:ie.value,ce.value=typeof o.value.colors.secondary=="string"?o.value.colors.secondary:ce.value,ue.value=typeof o.value.colors.tertiary=="string"?o.value.colors.tertiary:ue.value,de.value=typeof o.value.colors.error=="string"?o.value.colors.error:de.value});const l=e.ref(null),a=e.computed(()=>Ue({colors:{surface:Z.value,primary:ie.value,secondary:ce.value,tertiary:ue.value,error:de.value},name:o.value.name}));return e.provide(zt,n),e.provide("currentThemeData",e.computed(()=>o.value)),Un(l),(i,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.is),{ref_key:"wrapperRef",ref:l,style:e.normalizeStyle([a.value])},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["style"]))}}),Eo=["id"],Mo=["for"],$o=["for"],jt=e.defineComponent({inheritAttrs:!1,__name:"Switch",props:e.mergeModels({size:{default:"md"},animate:{type:Boolean,default:!0},options:{},label:{},id:{},rounded:{default:"full"},color:{default:"primary"},disabled:{type:Boolean},offIcon:{},onIcon:{},value:{type:Boolean},indicatorIcon:{},onIndicatorIcon:{},offIndicatorIcon:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.useModel(t,"modelValue");r.value&&(n.value=r.value);const o=e.ref(null),l=e.ref(!1),a=e.computed(()=>{switch(r.size){case"sm":return{icon:"text-xs mx-0.5",wrapper:"h-4 w-8",indicator:l.value?"h-3 w-4":"h-3 w-3",inactive:"left-[calc(0.125rem-1px)]",active:l.value?"left-[calc(0.875rem-1px)]":"left-[calc(1.125rem-1px)]"};case"lg":return{icon:"text-lg mx-2",wrapper:"h-8 w-16",indicator:l.value?"h-6 w-8":"h-6 w-6",inactive:"left-[calc(0.25rem-1px)]",active:l.value?"left-[calc(1.75rem-1px)]":"left-[calc(2.25rem-1px)]"};case"md":default:return{icon:"text-sm mx-1",wrapper:"h-6 w-12",indicator:l.value?"h-4 w-5":"h-4 w-4",inactive:"left-[calc(0.25rem-1px)]",active:l.value?"left-[calc(1.5rem-1px)]":"left-[calc(1.75rem-1px)]"}}}),i=e.computed(()=>r.animate?{indicator:"transition-all",progress:"transition-width"}:{indicator:"",progress:""}),s=Ae(r),c=ye("bg",{dark:7,light:3}),u=_e(r.color,"bg",5),d=_e(r.color,"text",5),f=e.computed(()=>({wrapper:n.value?[u.value.class]:[c.value.class],indicator:"bg-white shadow"})),p=e.computed(()=>({wrapper:n.value?u.value.style:c.value.style,indicator:n.value?{}:""})),m=G(r);return(g,h)=>(e.openBlock(),e.createElementBlock("div",{role:"switch",class:e.normalizeClass(["relative flex items-center gap-2",{"pointer-events-none filter-grayscale op-60":r.disabled}])},[e.withDirectives(e.createElementVNode("input",e.mergeProps({id:e.unref(s),"onUpdate:modelValue":h[0]||(h[0]=S=>n.value=S)},g.$attrs,{class:"hidden",type:"checkbox"}),null,16,Eo),[[e.vModelCheckbox,n.value]]),e.createElementVNode("label",{class:"leading-0 cursor-pointer!",for:e.unref(s)},[e.createElementVNode("div",{ref_key:"wrapper",ref:o,class:e.normalizeClass([[a.value.wrapper,...f.value.wrapper,e.unref(m).class],"relative inline-block"]),style:e.normalizeStyle([e.unref(m).style,p.value.wrapper]),onPointerdown:h[1]||(h[1]=S=>l.value=!0),onPointerup:h[2]||(h[2]=S=>l.value=!1),onPointerleave:h[3]||(h[3]=S=>l.value=!1),onPointerenter:h[4]||(h[4]=S=>S.buttons===1&&(l.value=!0))},[e.createElementVNode("div",{class:e.normalizeClass(["absolute top-50% -translate-y-50%",[a.value.indicator,f.value.indicator,i.value.indicator,n.value?a.value.active:a.value.inactive,e.unref(m).class]]),style:e.normalizeStyle([e.unref(m).style,p.value.indicator])},[r.indicatorIcon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["h-full w-full",[r.indicatorIcon,n.value?e.unref(d).class:"text-black"]]),style:e.normalizeStyle(e.unref(d).style)},null,6)):n.value&&r.onIndicatorIcon?(e.openBlock(),e.createElementBlock("i",{key:1,class:e.normalizeClass(["h-full w-full",[r.onIndicatorIcon,n.value?e.unref(d).class:"text-black"]]),style:e.normalizeStyle(e.unref(d).style)},null,6)):!n.value&&r.offIndicatorIcon?(e.openBlock(),e.createElementBlock("i",{key:2,class:e.normalizeClass(["h-full w-full",[r.offIndicatorIcon,n.value?e.unref(d).class:"text-black"]]),style:e.normalizeStyle(e.unref(d).style)},null,6)):e.createCommentVNode("",!0)],6),n.value?(e.openBlock(),e.createElementBlock("i",{key:"on",class:e.normalizeClass(["absolute top-1/2 -translate-y-50%",[a.value.icon,{[`left-0 text-${g.color}-on-container-low`]:n.value,[g.onIcon??""]:n.value&&g.onIcon,[g.offIcon??""]:!n.value&&g.offIcon}]])},null,2)):(e.openBlock(),e.createElementBlock("i",{key:"off",class:e.normalizeClass(["absolute top-1/2 -translate-y-50%",[a.value.icon,{"right-0":!n.value,[g.onIcon??""]:n.value&&g.onIcon,[g.offIcon??""]:!n.value&&g.offIcon}]])},null,2))],38)],8,Mo),g.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:e.unref(s)},e.toDisplayString(g.label),9,$o)):e.createCommentVNode("",!0)],2))}}),zo={class:"dark:hidden"},Ao={class:"light:hidden"},Vo=e.defineComponent({__name:"SchemeSwitch",setup(t){const r=e.ref(!1);e.watch([r],()=>{te&&(r.value===!0?(document.documentElement.setAttribute("data-scheme","dark"),localStorage.setItem("scheme","dark")):r.value===!1&&(document.documentElement.setAttribute("data-scheme","light"),localStorage.setItem("scheme","light")))});const n=e.ref(!0),o=e.ref(!1);return e.onMounted(()=>{te&&(r.value=localStorage.getItem("scheme")==="dark"),n.value=!1}),e.nextTick(()=>{o.value=!0}),(l,a)=>{const i=jt;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass({hidden:!n.value})},[e.createElementVNode("div",zo,[e.createVNode(i,{value:!1,"on-icon":"i-line-md-moon-twotone-alt-loop","off-icon":"i-line-md-sunny-outline-twotone-loop"})]),e.createElementVNode("div",Ao,[e.createVNode(i,{value:!0,color:"secondary","on-icon":"i-line-md-moon-twotone-alt-loop","off-icon":"i-line-md-sunny-outline-twotone-loop"})])],2),e.createElementVNode("div",{class:e.normalizeClass({hidden:n.value})},[e.createVNode(i,{modelValue:r.value,"onUpdate:modelValue":a[0]||(a[0]=s=>r.value=s),animate:o.value,color:"secondary","on-icon":"i-line-md-moon-twotone-alt-loop","off-icon":"i-line-md-sunny-outline-twotone-loop"},null,8,["modelValue","animate"])],2)],64)}}}),Ho=e.defineComponent({__name:"ScrollArea",props:{height:{},barWidth:{default:4},threshold:{default:100}},setup(t,{expose:r}){const n=t,o=_t(),l=re(o),a=e.ref(),i=re(()=>a.value),s=e.computed(()=>{if(n.height)return n.height;const w=o.value?Number.parseFloat(getComputedStyle(o.value).paddingTop)+Number.parseFloat(getComputedStyle(o.value).paddingBottom):0,$=o.value?Number.parseFloat(getComputedStyle(o.value).marginTop)+Number.parseFloat(getComputedStyle(o.value).marginBottom):0;return l.height.value-w-$}),c=e.ref(),u=Et(()=>c.value),{x:d,y:f}=en(()=>c.value),p=e.computed(()=>{var w;return(((w=c.value)==null?void 0:w.scrollHeight)??0)-(u.value??0)}),m=Bt(()=>c.value),g=e.computed(()=>f.value/p.value||0),h=e.computed(()=>c.value?u.value/m.value*u.value:0),S=e.computed(()=>u.value-h.value),v=e.computed(()=>{if(!c.value)return null;const w=g.value*S.value;return{x:d.value,y:f.value,barHeight:h.value,barTop:w}}),y=e.ref(!1),C=e.ref(0),E=e.ref(""),x=e.ref(0),_=ze({type:"client"});T(()=>a.value,"pointerdown",w=>{y.value=!0,C.value=w.clientY,x.value=f.value,E.value=document.body.style.userSelect,document.body.style.userSelect="none"}),T(()=>document,"pointermove",()=>{if(!y.value)return;if(n.threshold<i.left.value-_.x.value||_.x.value-i.right.value>n.threshold){f.value=x.value;return}const $=(_.y.value-C.value)/S.value;f.value=x.value+$*p.value}),T(()=>document,"pointerup",()=>{y.value=!1,document.body.style.userSelect=E.value}),r({$el:c});const b=Se(()=>a.value),B=ye("bg",{dark:5,light:6},.5),z=ye("bg",{dark:2,light:9},.5);return(w,$)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle([{height:`${s.value}px`},{overflow:"hidden","max-height":"fit-content",position:"relative"}])},[v.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:`${w.barWidth}px`}),class:"absolute right-0 z-999 h-full"},[e.withDirectives(e.createElementVNode("div",{ref_key:"scrollBarIndicatorRef",ref:a,class:e.normalizeClass([[e.unref(B).class],"absolute right-0 rounded-full"]),style:e.normalizeStyle([{right:"0px",width:`${w.barWidth}px`,top:`${v.value.barTop}px`,height:`${v.value.barHeight}px`},!e.unref(b)&&!y.value&&e.unref(B).style,(e.unref(b)||y.value)&&e.unref(z).style])},null,6),[[e.vShow,v.value.barHeight<e.unref(u)]])],4)):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"scrollDomRef",ref:c,style:e.normalizeStyle({paddingRight:`${w.barWidth}px`,scrollbarWidth:"none",height:"100%",overflowY:"scroll"})},[e.renderSlot(w.$slots,"default")],4)],4))}}),To={class:"w-full flex items-center"},No=["placeholder","readonly","value","aria-label"],Ro={key:0,class:"flex cursor-default items-center justify-between gap-2 rounded p-1 px-2"},Io=["onPointerdown","onMousemove"],Do={key:0},Po={key:0,class:"flex cursor-default items-center justify-between gap-2 rounded p-1 px-2"},Oo=e.defineComponent({__name:"Select",props:e.mergeModels({ariaLabel:{},options:{default(){return[]}},color:{default:"primary"},size:{default:"md"},noneText:{default:"No options"},notFoundText:{default:"Not found"},rounded:{default:"md"},placeholder:{default:""},searchable:{type:Boolean,default:!1},filter:{type:Function,default:(t,r)=>t.includes(r)}},{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["change","input"],["update:modelValue"]),setup(t,{emit:r}){const n=t,o=r,l=G(n),a=e.useModel(t,"modelValue"),i=e.ref(null),s=e.ref(null),c=e.ref(!1);kt(s,()=>{c.value=!1});const u=e.ref(-1),d=e.ref(-1);e.watchEffect(()=>{c.value||(d.value=-1)}),e.watch(a,()=>{o("change",a.value)});const f=e.computed(()=>a.value),p=e.computed(()=>h(f.value)),m=e.computed(()=>n.options.findIndex(A=>$(A,f.value))),g=e.ref(p.value);e.watch(p,()=>{g.value=p.value});function h(A){return A?typeof A=="string"||typeof A=="symbol"||typeof A=="number"?String(A):A.label?A.label:A.id:""}function S(A){if(A)return typeof A=="string"||typeof A=="symbol"||typeof A=="number"?A:A.id}function v(A){c.value=!0;const D=A.target;g.value=D.value,o("input",g.value)}const y=e.computed(()=>n.searchable&&g.value!==p.value?n.options.filter(A=>n.filter(h(A),g.value)):n.options);ae("ArrowDown",A=>{c.value&&(A.preventDefault(),d.value===-1&&u.value!==-1?d.value=u.value:d.value===-1&&u.value===-1&&m.value!==-1&&(d.value=m.value),d.value=(d.value+1)%n.options.length)}),ae("ArrowUp",A=>{c.value&&(A.preventDefault(),d.value===-1&&u.value!==-1?d.value=u.value:d.value===-1&&u.value===-1&&m.value!==-1&&(d.value=m.value),d.value=(d.value-1+n.options.length)%n.options.length)}),ae("Enter",()=>{c.value&&d.value!==-1&&(a.value=y.value[d.value],i.value.focus(),c.value=!1)});function C(A){if(i.value.focus(),!c.value){c.value=!0;return}a.value=A,c.value=!1}const E=e.computed(()=>n.color),x=ot(E,"default"),_=e.computed(()=>{switch(n.size){case"sm":return{wrapper:"h-6 w-full py-1 pl-1.5 pr-6 text-sm",dropdown:"text-sm children:py-1"};case"lg":return{wrapper:"h-10 w-full py-2 pl-3 pr-10 text-lg",dropdown:"text-lg children:py-2"};default:return{wrapper:"h-8 w-full py-1 pl-2 pr-8 text-base",dropdown:"text-base children:py-1"}}}),b=e.ref(null),{height:B}=re(b),{bottom:z}=re(i);e.watch([c],()=>{d.value=-1,u.value=-1});const w=e.computed(()=>c.value&&te?B.value===0?!1:document.documentElement.clientHeight-z.value>B.value:!1);function $(A,D){return D?typeof A=="string"||typeof A=="symbol"||typeof A=="number"?A===D:typeof D=="string"||typeof D=="symbol"||typeof D=="number"?!1:A.id===D.id:!1}const V=e.computed(()=>n.searchable?"cursor-text":"cursor-pointer"),H=He(),I=nt(),N=ge(E);function Q(A){u.value=A,d.value=-1}return(A,D)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:s,class:"relative",style:e.normalizeStyle(e.unref(x))},[e.createElementVNode("div",To,[e.createElementVNode("input",{ref_key:"inputRef",ref:i,class:e.normalizeClass([[_.value.wrapper,e.unref(l).class,V.value],"border outline-none outline-none focus-visible:outline-2 custom-input-colors"]),placeholder:A.placeholder,style:e.normalizeStyle([e.unref(l).style,e.unref(x)]),readonly:!A.searchable,value:g.value,"aria-label":A.ariaLabel,"aria-haspopup":"listbox",autocomplete:"off",onInput:v,onClick:D[0]||(D[0]=J=>c.value=!0)},null,46,No),D[2]||(D[2]=e.createElementVNode("i",{class:"i-fluent-chevron-down-12-filled pointer-events-none absolute right-2"},null,-1))]),c.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"dropdownRef",ref:b,class:e.normalizeClass(["absolute z-10 mt-2 w-full flex-col overflow-hidden border rounded p-1",[e.unref(H).class,_.value.dropdown,{"bottom-10":!w.value}]]),style:e.normalizeStyle([e.unref(H).style])},[A.options.length===0?(e.openBlock(),e.createElementBlock("div",Ro,[e.renderSlot(A.$slots,"none",{},()=>[e.createTextVNode(e.toDisplayString(A.noneText),1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(J,ne)=>(e.openBlock(),e.createElementBlock("div",{key:S(J),class:e.normalizeClass([[d.value===ne&&e.unref(N).class,u.value===ne&&d.value===-1&&e.unref(I).class],"flex cursor-pointer items-center justify-between gap-2 rounded p-1 px-2"]),style:e.normalizeStyle([d.value===ne&&e.unref(N).style,u.value===ne&&d.value===-1&&e.unref(I).style]),onPointerdown:Ie=>C(J),onMousemove:Ie=>Q(ne),onMouseleave:D[1]||(D[1]=Ie=>u.value=-1)},[e.renderSlot(A.$slots,"item",{data:J,selected:$(J,f.value)},()=>[e.createTextVNode(e.toDisplayString(h(J)),1)]),$(J,f.value)?(e.openBlock(),e.createElementBlock("div",Do,D[3]||(D[3]=[e.createElementVNode("i",{class:"i-fluent-checkmark-12-filled h-3 w-3"},null,-1)]))):e.createCommentVNode("",!0)],46,Io))),128)),A.searchable&&y.value.length===0?(e.openBlock(),e.createElementBlock("div",Po,[e.renderSlot(A.$slots,"not-found",{},()=>[e.createTextVNode(e.toDisplayString(A.notFoundText),1)])])):e.createCommentVNode("",!0)],64))],6)):e.createCommentVNode("",!0)],4))}}),Fo=e.defineComponent({__name:"SelectArea",props:{target:{},color:{default:"primary"}},emits:["selectStart","selectChange","selectEnd"],setup(t,{emit:r}){const n=t,o=r,l=e.computed(()=>n.color),a=oe(l),i=e.computed(()=>{const v=a.value[5].setAlpha(.5).toHex8String(),y=a.value[5].setAlpha(.1).toHex8String();return{"--border-color":v,"--fill-color":y}}),{shift:s,control:c}=rn(),u=_t(),d=e.computed(()=>n.target??u.value),f=ze(),p=e.ref({x:0,y:0}),m=e.ref({x:0,y:0}),g=e.ref(!1),h=re(d);T(d,"pointerdown",v=>{if(v.button!==0)return;const y=v.pageX-h.left.value,C=v.pageY-h.top.value;p.value={x:y,y:C},m.value={x:y,y:C},g.value=!0,o("selectStart",{target:v.target,shift:s.value,ctrl:c.value})},{capture:!0}),T(window,"pointerup",v=>{g.value=!1,o("selectEnd",{left:Math.min(p.value.x,m.value.x),top:Math.min(p.value.y,m.value.y),right:Math.max(p.value.x,m.value.x),bottom:Math.max(p.value.y,m.value.y)},{target:v.target,shift:s.value,ctrl:c.value})}),T(d,"pointermove",v=>{const y=v.pageX-h.left.value,C=v.pageY-h.top.value;g.value&&(m.value={x:y,y:C},o("selectChange",{left:Math.min(p.value.x,m.value.x),top:Math.min(p.value.y,m.value.y),right:Math.max(p.value.x,m.value.x),bottom:Math.max(p.value.y,m.value.y)},{target:v.target,shift:s.value,ctrl:c.value}))});const S=e.computed(()=>d.value?d.value.parentElement:null);return T(S,"scroll",v=>{g.value&&(m.value={x:f.x.value-h.left.value,y:f.y.value-h.top.value},o("selectChange",{left:Math.min(p.value.x,m.value.x),top:Math.min(p.value.y,m.value.y),right:Math.max(p.value.x,m.value.x),bottom:Math.max(p.value.y,m.value.y)},{target:v.target,shift:s.value,ctrl:c.value}))}),T(window,"dragend",()=>{g.value=!1}),(v,y)=>d.value?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:d.value},[g.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"absolute z-10000 h-1 border border border-[var(--border-color)] bg-[var(--fill-color)]",style:e.normalizeStyle([{left:`${Math.min(p.value.x,m.value.x)}px`,top:`${Math.min(p.value.y,m.value.y)}px`,width:`${Math.abs(p.value.x-m.value.x)}px`,height:`${Math.abs(p.value.y-m.value.y)}px`},i.value])},null,4)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)}}),Lo={class:"relative w-full"},Wo="dark:bg-white bg-[var(--i-bg)]",jo="dark:bg-[var(--i-bg)] bg-white",Go=e.defineComponent({__name:"Slider",props:e.mergeModels({size:{default:"md"},animate:{type:Boolean,default:!1},width:{},options:{},min:{default:0},max:{default:100},step:{default:1},tickNum:{},color:{default:"primary"},minWidth:{default:12}},{modelValue:{default:void 0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t;function n(_,b,B){const z=[];for(let w=_;w<=b;w+=B)z.push(w);return z[z.length-1]!==b&&z.push(b),z}function o(_,b){const B=[];if(_===0)return B;B.push(b[0]);const z=(b.length-1)/(_-1);for(let w=1;w<_-1;w++)B.push(b[Math.round(w*z)]);return B.push(b[b.length-1]),B}const l=e.computed(()=>r.options?r.options.length:r.tickNum??0),a=e.computed(()=>r.options===void 0?n(r.min,r.max,r.step):r.options),i=e.computed(()=>o(l.value,a.value)),s=e.useModel(t,"modelValue"),c=e.computed(()=>a.value.length??0),u=e.ref(a.value.includes(s.value)?a.value.indexOf(s.value):0);function d(_){let b=a.value.indexOf(_);if(b===-1)if(typeof _=="number"){let B=1/0;for(let z=0;z<a.value.length;z++){const w=Math.abs(a.value[z]-_);w<B&&(B=w,b=z)}}else b=0;return b}const f=e.computed(()=>r.color),p=oe(f.value),m=e.computed(()=>p.value[4]),g=ge(f);e.watchEffect(()=>{u.value<0||(s.value=a.value[u.value])}),e.watchEffect(()=>{u.value=d(s.value)});const h=e.ref(),S=e.ref(),v=e.ref(!1);function y(_){if(!v.value)return;if(!(_.buttons===1)){v.value=!1;return}_.preventDefault(),_.stopPropagation();const B=re(h),{clientX:z}=_,w=B.left.value,V=B.right.value-w,H=Math.round((z-w)/V*(c.value-1));if(H<0){u.value=0;return}if(H>c.value-1){u.value=c.value-1;return}u.value=H}e.watchEffect(()=>{u.value=d(s.value)});function C(_){_.preventDefault(),_.stopPropagation(),v.value=!0,y(_)}T(h,"pointerdown",C),e.onMounted(()=>{T(document,"pointermove",y),u.value=Math.max(0,d(s.value))});const E=e.computed(()=>{switch(r.size){case"sm":return{wrapper:"h-2",innerWrapper:"px-0.5 h-1",content:"h-1",tick:"h-0.5 w-0.5 -translate-x-0.25 -translate-y-0.25",indicator:"h-3 w-3 -translate-x-1.5 -translate-y-1.5",indicatorInner:"h-1.5 w-1.5 -translate-x-0.75 -translate-y-0.75",progress:"-mx-0.5"};case"lg":return{wrapper:"h-6",innerWrapper:"px-1.5 h-3",content:"h-3",tick:"h-1.5 w-1.5 -translate-x-0.75 -translate-y-0.75",indicator:"h-6 w-6 -translate-x-3 -translate-y-3",indicatorInner:"h-3 w-3 -translate-x-1.5 -translate-y-1.5",progress:"-mx-1.5"};case"md":default:return{wrapper:"h-4",innerWrapper:"px-1 h-2",content:"h-2",tick:"h-1 w-1 -translate-x-0.5 -translate-y-0.5",indicator:"h-4 w-4 -translate-x-2 -translate-y-2",indicatorInner:"h-2 w-2 -translate-x-1 -translate-y-1",progress:"-mx-1"}}}),x=e.computed(()=>r.animate?{indicator:"transition-left",progress:"transition-width"}:{indicator:"",progress:""});return(_,b)=>(e.openBlock(),e.createElementBlock("div",Lo,[e.createElementVNode("div",{ref_key:"wrapper",ref:h,type:"size",class:e.normalizeClass(["w-full flex cursor-pointer items-center",E.value.wrapper]),onTouchmove:b[0]||(b[0]=e.withModifiers(()=>{},["prevent"]))},[e.createElementVNode("div",{class:e.normalizeClass(["w-full rounded-full bg-surface-3 transition-background-color,border-color,color dark:bg-surface-7",E.value.innerWrapper])},[e.createElementVNode("div",{class:e.normalizeClass(["relative flex",E.value.content]),style:e.normalizeStyle({width:`${r.width}rem`,minWidth:`${r.minWidth}rem`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,B=>(e.openBlock(),e.createElementBlock("div",{key:B,style:e.normalizeStyle({left:`${d(B)/(c.value-1)*100}%`}),class:e.normalizeClass(["absolute top-50% rounded-full bg-surface-0",E.value.tick])},null,6))),128)),u.value!==-1?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"indicator",ref:S,class:e.normalizeClass(["absolute top-50% cursor-pointer rounded-full transition-background-color,border-color,color",[E.value.indicator,x.value.indicator,Wo]]),style:e.normalizeStyle([`--i-bg: ${m.value}`,{left:`${u.value/(c.value-1)*100}%`}])},[e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none absolute left-50% top-50% rounded-full",[E.value.indicatorInner,jo]])},null,2)],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none h-full rounded-full",[e.unref(g).class,E.value.progress,x.value.progress]]),style:e.normalizeStyle([e.unref(g).style,{width:`${u.value/(c.value-1)*100}%`}])},null,6)],6)],2)],34),i.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"text-surface-on-low relative mx-1 h-1em text-xs",style:e.normalizeStyle({width:`${r.width}rem`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(B,z)=>(e.openBlock(),e.createElementBlock("div",{key:z,style:e.normalizeStyle({left:`${d(B)/(c.value-1)*100}%`}),class:e.normalizeClass(["absolute w-auto flex rounded-full -translate-x-50%",E.value.tick])},e.toDisplayString(B),7))),128))],4)):e.createCommentVNode("",!0)]))}}),Xo={class:"h-full py-2"},Uo=e.defineComponent({__name:"TabItem",props:{value:{},color:{default:"primary"}},setup(t){const r=t,n=e.computed(()=>r.color),o=e.inject(Oe,e.ref("")),l=e.ref(null),a=e.computed(()=>o.value===r.value);function i(){o.value=r.value}const s=e.inject(Le,new Map);e.onMounted(()=>{s.set(r.value,l)});const c=e.inject(Fe,e.computed(()=>"horizontal")),u=e.computed(()=>{switch(c.value){case"vertical":return"flex-row-reverse rounded-tr-lg rounded-br-lg";case"horizontal":default:return"flex-col rounded-tr-lg rounded-tl-lg"}}),d=e.computed(()=>{switch(c.value){case"vertical":return"absolute inset-0 right-100% h-full w-2px";case"horizontal":default:return"absolute inset-0 top-100% h-2px w-full"}}),f=O({color:n.value,type:"bg",index:5}),p=O({color:n.value,type:"outline",index:5});return(m,g)=>(e.openBlock(),e.createElementBlock("button",e.mergeProps({ref_key:"tabRef",ref:l,type:"button",class:["rutline-none relative min-w-20 flex items-center justify-center outline-none focus-visible:outline-2 outline-offset-0!",[u.value]]},e.unref(p),{onClick:i}),[a.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(f).class,d.value]),style:e.normalizeStyle([e.unref(f).style])},null,6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([d.value])},null,2)),e.createElementVNode("div",Xo,[e.renderSlot(m.$slots,"default")])],16))}}),Yo=e.defineComponent({__name:"Tabs",props:e.mergeModels({defaultValue:{},direction:{default:"horizontal"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.useSlots(),o=e.computed(()=>{var f;const u=(f=n.default)==null?void 0:f.call(n);return(u==null?void 0:u.flatMap(p=>p.type===e.Fragment?p.children:p).filter(p=>{var m;return((m=p==null?void 0:p.props)==null?void 0:m.value)!==void 0}).map(p=>p.props.value))??[]}),l=e.useModel(t,"modelValue");!l.value&&o.value.length>0&&(l.value=o.value[0]);const a=e.ref(null);e.onMounted(()=>{r.defaultValue&&(l.value=r.defaultValue)}),e.provide(Oe,l);const i=e.computed(()=>r.direction);e.provide(Fe,i);const s=new Map;e.provide(Le,s),ae("ArrowLeft",u=>{var m;if(!((m=a.value)!=null&&m.contains(document.activeElement))||(u.preventDefault(),r.direction!=="horizontal"))return;const d=l.value?o.value.indexOf(l.value):0,f=d>0?o.value[d-1]:o.value[o.value.length-1];l.value=f;const p=s.get(f);if(p){const g=p.value;g&&g.focus()}}),ae("ArrowRight",u=>{var m;if(!((m=a.value)!=null&&m.contains(document.activeElement))||(u.preventDefault(),r.direction!=="horizontal"))return;const d=l.value?o.value.indexOf(l.value):0,f=d<o.value.length-1?l.value=o.value[d+1]:l.value=o.value[0];l.value=f;const p=s.get(f);if(p){const g=p.value;g&&g.focus()}}),ae("ArrowUp",u=>{var m;if(!((m=a.value)!=null&&m.contains(document.activeElement))||(u.preventDefault(),r.direction!=="vertical"))return;const d=l.value?o.value.indexOf(l.value):0,f=d>0?o.value[d-1]:o.value[o.value.length-1];l.value=f;const p=s.get(f);if(p){const g=p.value;g&&g.focus()}}),ae("ArrowDown",u=>{var m;if(!((m=a.value)!=null&&m.contains(document.activeElement))||(u.preventDefault(),r.direction!=="vertical"))return;const d=l.value?o.value.indexOf(l.value):0,f=d<o.value.length-1?o.value[d+1]:o.value[0];l.value=f;const p=s.get(f);if(p){const g=p.value;g&&g.focus()}});const c=e.computed(()=>{switch(r.direction){case"horizontal":return"flex-row";case"vertical":return"flex-col";default:return"flex-row"}});return(u,d)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tabRef",ref:a,class:e.normalizeClass(["flex",[c.value]])},[e.renderSlot(u.$slots,"default")],2))}}),qo=e.defineComponent({__name:"Tag",props:{color:{},variant:{default:"default"},rounded:{default:"md"},size:{},leftIcon:{},rightIcon:{}},setup(t){const r=t,n=e.computed(()=>{switch(r.size){case"sm":return"px-2 py-0.5 text-xs";case"lg":return"px-4 py-1 text-base";case"md":default:return"px-3 py-0.5 text-sm"}}),o=G(r),l=e.computed(()=>r.color??"primary"),a=e.computed(()=>r.variant),i=Te(a,l);return(s,c)=>(e.openBlock(),e.createElementBlock("span",{tabindex:-1,style:e.normalizeStyle([e.unref(i).style,e.unref(o).style]),class:e.normalizeClass([[e.unref(i).class,e.unref(o).class,n.value],"inline-block h-fit flex cursor-pointer gap-1 border"])},[r.leftIcon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass([r.leftIcon,"shrink-0"])},null,2)):s.$slots.leftIcon?e.renderSlot(s.$slots,"left-icon",{key:1}):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"default"),r.rightIcon?(e.openBlock(),e.createElementBlock("i",{key:2,class:e.normalizeClass([r.rightIcon,"h-container w-container shrink-0"])},null,2)):s.$slots.rightIcon?e.renderSlot(s.$slots,"right-icon",{key:3}):e.createCommentVNode("",!0)],6))}}),Ko=["data-scheme","data-theme"],Jo=e.defineComponent({__name:"ThemeProvider",props:{theme:{},scheme:{}},setup(t){const r=t,n=Mt(),o=e.computed(()=>Ue(r.theme?r.theme:n.value)),l=Ct("scheme","light"),a=e.computed(()=>r.scheme?r.scheme:l.value);return(i,s)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle([o.value]),"data-scheme":a.value,"data-theme":e.unref(n).name},[e.renderSlot(i.$slots,"default")],12,Ko))}}),Zo=e.defineComponent({__name:"Tooltip",props:{timeout:{default:1e3}},setup(t){const r=t,n=ze(),o=e.ref(null),l=Se(o),a=Rr(l,r.timeout),i=e.ref(0),s=e.ref(0),c=e.ref(null),u=Se(c);return e.watch(a,(d,f)=>{a.value&&d!==f&&(i.value=n.x.value,s.value=n.y.value)}),(d,f)=>{const p=Lt;return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{ref_key:"hoverableRef",ref:o},[e.renderSlot(d.$slots,"default")],512),i.value&&s.value&&(e.unref(a)||e.unref(u))?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:c,class:"absolute z-10",style:e.normalizeStyle({left:`${i.value+20}px`,top:`${s.value+20}px`})},[e.createVNode(p,{"with-border":""},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"content")]),_:3})],4)):e.createCommentVNode("",!0)])}}});function Gt(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function X(t){return typeof t=="function"?t():e.unref(t)}const Qo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const el=Object.prototype.toString,tl=t=>el.call(t)==="[object Object]",fe=()=>{};function Xt(t,r){function n(...o){return new Promise((l,a)=>{Promise.resolve(t(()=>r.apply(this,o),{fn:r,thisArg:this,args:o})).then(l).catch(a)})}return n}function rl(t,r={}){let n,o,l=fe;const a=i=>{clearTimeout(i),l(),l=fe};return i=>{const s=X(t),c=X(r.maxWait);return n&&a(n),s<=0||c!==void 0&&c<=0?(o&&(a(o),o=null),Promise.resolve(i())):new Promise((u,d)=>{l=r.rejectOnCancel?d:u,c&&!o&&(o=setTimeout(()=>{n&&a(n),o=null,u(i())},c)),n=setTimeout(()=>{o&&a(o),o=null,u(i())},s)})}}function nl(...t){let r=0,n,o=!0,l=fe,a,i,s,c,u;!e.isRef(t[0])&&typeof t[0]=="object"?{delay:i,trailing:s=!0,leading:c=!0,rejectOnCancel:u=!1}=t[0]:[i,s=!0,c=!0,u=!1]=t;const d=()=>{n&&(clearTimeout(n),n=void 0,l(),l=fe)};return f=>{const p=X(i),m=Date.now()-r,g=()=>a=f();return d(),p<=0?(r=Date.now(),g()):(m>p&&(c||!o)?(r=Date.now(),g()):s&&(a=new Promise((h,S)=>{l=u?S:h,n=setTimeout(()=>{r=Date.now(),o=!0,h(g()),d()},Math.max(0,p-m))})),!c&&!n&&(n=setTimeout(()=>o=!0,p)),o=!1,a)}}function ol(t){return e.getCurrentInstance()}function ll(t,r=200,n={}){return Xt(rl(r,n),t)}function al(t,r=200,n=!1,o=!0,l=!1){return Xt(nl(r,n,o,l),t)}function Ut(t,r=!0,n){ol()?e.onMounted(t,n):r?t():e.nextTick(t)}function le(t){var r;const n=X(t);return(r=n==null?void 0:n.$el)!=null?r:n}const Re=Qo?window:void 0;function Yt(...t){let r,n,o,l;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,o,l]=t,r=Re):[r,n,o,l]=t,!r)return fe;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},s=(d,f,p,m)=>(d.addEventListener(f,p,m),()=>d.removeEventListener(f,p,m)),c=e.watch(()=>[le(r),X(l)],([d,f])=>{if(i(),!d)return;const p=tl(f)?{...f}:f;a.push(...n.flatMap(m=>o.map(g=>s(d,m,g,p))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return Gt(u),u}function sl(){const t=e.ref(!1),r=e.getCurrentInstance();return r&&e.onMounted(()=>{t.value=!0},r),t}function il(t){const r=sl();return e.computed(()=>(r.value,!!t()))}function cl(t,r,n={}){const{window:o=Re,...l}=n;let a;const i=il(()=>o&&"ResizeObserver"in o),s=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>{const f=X(t);return Array.isArray(f)?f.map(p=>le(p)):[le(f)]}),u=e.watch(c,f=>{if(s(),i.value&&o){a=new ResizeObserver(r);for(const p of f)p&&a.observe(p,l)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return Gt(d),{isSupported:i,stop:d}}function ul(t,r={width:0,height:0},n={}){const{window:o=Re,box:l="content-box"}=n,a=e.computed(()=>{var f,p;return(p=(f=le(t))==null?void 0:f.namespaceURI)==null?void 0:p.includes("svg")}),i=e.ref(r.width),s=e.ref(r.height),{stop:c}=cl(t,([f])=>{const p=l==="border-box"?f.borderBoxSize:l==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&a.value){const m=le(t);if(m){const g=m.getBoundingClientRect();i.value=g.width,s.value=g.height}}else if(p){const m=Array.isArray(p)?p:[p];i.value=m.reduce((g,{inlineSize:h})=>g+h,0),s.value=m.reduce((g,{blockSize:h})=>g+h,0)}else i.value=f.contentRect.width,s.value=f.contentRect.height},n);Ut(()=>{const f=le(t);f&&(i.value="offsetWidth"in f?f.offsetWidth:r.width,s.value="offsetHeight"in f?f.offsetHeight:r.height)});const u=e.watch(()=>le(t),f=>{i.value=f?r.width:0,s.value=f?r.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}const qt=1;function dl(t,r={}){const{throttle:n=0,idle:o=200,onStop:l=fe,onScroll:a=fe,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:c="auto",window:u=Re,onError:d=b=>{console.error(b)}}=r,f=e.ref(0),p=e.ref(0),m=e.computed({get(){return f.value},set(b){h(b,void 0)}}),g=e.computed({get(){return p.value},set(b){h(void 0,b)}});function h(b,B){var z,w,$,V;if(!u)return;const H=X(t);if(!H)return;($=H instanceof Document?u.document.body:H)==null||$.scrollTo({top:(z=X(B))!=null?z:g.value,left:(w=X(b))!=null?w:m.value,behavior:X(c)});const I=((V=H==null?void 0:H.document)==null?void 0:V.documentElement)||(H==null?void 0:H.documentElement)||H;m!=null&&(f.value=I.scrollLeft),g!=null&&(p.value=I.scrollTop)}const S=e.ref(!1),v=e.reactive({left:!0,right:!1,top:!0,bottom:!1}),y=e.reactive({left:!1,right:!1,top:!1,bottom:!1}),C=b=>{S.value&&(S.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,l(b))},E=ll(C,n+o),x=b=>{var B;if(!u)return;const z=((B=b==null?void 0:b.document)==null?void 0:B.documentElement)||(b==null?void 0:b.documentElement)||le(b),{display:w,flexDirection:$}=getComputedStyle(z),V=z.scrollLeft;y.left=V<f.value,y.right=V>f.value;const H=Math.abs(V)<=(i.left||0),I=Math.abs(V)+z.clientWidth>=z.scrollWidth-(i.right||0)-qt;w==="flex"&&$==="row-reverse"?(v.left=I,v.right=H):(v.left=H,v.right=I),f.value=V;let N=z.scrollTop;b===u.document&&!N&&(N=u.document.body.scrollTop),y.top=N<p.value,y.bottom=N>p.value;const Q=Math.abs(N)<=(i.top||0),A=Math.abs(N)+z.clientHeight>=z.scrollHeight-(i.bottom||0)-qt;w==="flex"&&$==="column-reverse"?(v.top=A,v.bottom=Q):(v.top=Q,v.bottom=A),p.value=N},_=b=>{var B;if(!u)return;const z=(B=b.target.documentElement)!=null?B:b.target;x(z),S.value=!0,E(b),a(b)};return Yt(t,"scroll",n?al(_,n,!0,!1):_,s),Ut(()=>{try{const b=X(t);if(!b)return;x(b)}catch(b){d(b)}}),Yt(t,"scrollend",C,s),{x:m,y:g,isScrolling:S,arrivedState:v,directions:y,measure(){const b=X(t);u&&b&&x(b)}}}const fl=e.defineComponent({__name:"Waterfall",props:{gap:{},wrapperWidth:{},itemWidth:{},rowCount:{},paddingX:{}},setup(t,{expose:r}){const n=t,o=e.useSlots(),l=e.computed(()=>e.unref(n.gap)??16),a=e.computed(()=>e.unref(n.rowCount)??3),i=e.computed(()=>e.unref(n.paddingX)??0),s=e.ref();function c(C){return Array.isArray(C)}const u=e.ref([]),d=e.computed(()=>{const C=u.value;return Array.from(C).map(E=>ul(E))}),f=e.computed(()=>{var C,E;return n.itemWidth?e.unref(n.itemWidth)*a.value+l.value*(a.value-1)+i.value*2:n.wrapperWidth?e.unref(n.wrapperWidth):((E=(C=s.value)==null?void 0:C.parentElement)==null?void 0:E.clientWidth)??0}),p=e.computed(()=>n.itemWidth?e.unref(n.itemWidth):(f.value-i.value*2-l.value*(a.value-1))/a.value);function m(C,E,x,_){const b=e.unref(C),B=Array.from({length:e.unref(E)}).fill(0),z=[],w=Math.max(0,f.value-e.unref(_)*2-p.value*b.length-e.unref(x)*b.length)/2;for(let $=0;$<b.length;$++){const V=b[$],H=B.indexOf(Math.min(...B)),I=H*(p.value+e.unref(x))+e.unref(_)+w,N=B[H];z.push({x:I,y:N,width:V.width.value,height:V.height.value}),B[H]+=V.height.value+e.unref(x)}return z}const g=e.computed(()=>m(d,a,l,i)),h=e.computed(()=>c(g.value)?Math.max(...g.value.map(C=>C.y+C.height)):0),S=e.computed(()=>{var C;return((C=o.default)==null?void 0:C.call(o))??[]}),v=e.computed(()=>{const C=[];return S.value.forEach(E=>{c(E.children)?E.children.forEach(x=>{C.push(x)}):C.push(E)}),C});function y(C){if(!c(g.value))return{};const E=g.value[C];return E?{left:`${E.x??0}px`,top:`${E.y??0}px`,maxWidth:`${p.value}px`}:{}}return r({width:p}),(C,E)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapper",ref:s,style:e.normalizeStyle({position:"relative",overflowX:"clip",width:`${f.value}px`,height:`${h.value}px`,overflow:"scroll"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(x,_)=>(e.openBlock(),e.createElementBlock("div",{key:_,ref_for:!0,ref_key:"itemsRef",ref:u,style:e.normalizeStyle([y(_),{position:"absolute"}])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(x),{style:e.normalizeStyle({width:`${p.value}px`})},null,8,["style"]))],4))),128))],4))}}),pl=e.defineComponent({__name:"VirtualWaterfall",props:{gap:{},wrapperWidth:{},itemWidth:{},rowCount:{},paddingX:{},items:{},is:{},rangeExpand:{}},setup(t,{expose:r}){const n=t,o=e.computed(()=>e.unref(n.rangeExpand)??0),l=e.useSlots(),a=e.computed(()=>e.unref(n.gap)??16),i=e.computed(()=>e.unref(n.rowCount)??3),s=e.computed(()=>e.unref(n.paddingX)??0),c=e.ref(),u=e.computed(()=>c.value&&c.value.$el?c.value.$el:c.value);function d(w){return Array.isArray(w)}const f=e.computed(()=>{var w,$;return n.itemWidth?e.unref(n.itemWidth)*i.value+a.value*(i.value-1)+s.value*2:n.wrapperWidth?e.unref(n.wrapperWidth):(($=(w=u.value)==null?void 0:w.parentElement)==null?void 0:$.clientWidth)??0}),p=e.computed(()=>n.itemWidth?e.unref(n.itemWidth):(f.value-s.value*2-a.value*(i.value-1))/i.value),m=e.computed(()=>e.unref(n.items).map(w=>{const $=p.value/w.width;return{width:p.value,height:w.height*$}}));function g(w,$,V,H){const I=e.unref(w),N=Array.from({length:e.unref($)}).fill(0),Q=[],A=Math.max(0,f.value-e.unref(H)*2-p.value*I.length-e.unref(V)*I.length)/2;for(let D=0;D<I.length;D++){const J=I[D],ne=N.indexOf(Math.min(...N)),Ie=ne*(p.value+e.unref(V))+e.unref(H)+A,ml=N[ne];Q.push({x:Ie,y:ml,width:J.width,height:J.height}),N[ne]+=J.height+e.unref(V)}return Q}const h=e.computed(()=>g(m,i,a,s)),S=e.computed(()=>d(h.value)?Math.max(...h.value.map(w=>w.y+w.height)):0),v=e.computed(()=>{var w;return((w=l.default)==null?void 0:w.call(l))??[]});function y(w){if(!d(h.value))return{};const $=h.value[w];return $?{left:`${$.x??0}px`,top:`${$.y??0}px`,maxWidth:`${p.value}px`}:{}}const C=e.ref(!1),E=e.computed(()=>C.value?"smooth":"auto"),x=dl(u,{behavior:E}),_=e.computed(()=>{var w;return[x.y.value-o.value,x.y.value+(((w=u.value)==null?void 0:w.clientHeight)??0)+o.value]}),b=e.computed(()=>h.value.map(w=>{const $=w.y,V=w.y+w.height;return $>=_.value[0]&&$<=_.value[1]||V>=_.value[0]&&V<=_.value[1]||$<=_.value[0]&&V>=_.value[1]})),B=e.computed(()=>{const w=[];return v.value.forEach(($,V)=>{if(d($.children))$.children.forEach((H,I)=>{b.value[I]&&w.push([H,I])});else{if(!b.value[V])return;w.push([$,V])}}),w});r({scroll:x,scrollTo:(w,$=!1)=>{const V=C.value;C.value=$,x.y.value=w,C.value=V}});const z=e.computed(()=>n.is??"div");return(w,$)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(z.value),{ref_key:"wrapper",ref:c,style:{position:"relative"}},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({height:`${S.value}px`,width:`${f.value}px`,margin:"0 auto",position:"relative"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,([V,H])=>(e.openBlock(),e.createElementBlock("div",{key:V,style:e.normalizeStyle([y(H),{position:"absolute"}])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(V),{style:e.normalizeStyle({width:`${p.value}px`})},null,8,["style"]))],4))),128))],4)]),_:1},512))}});k.AspectRatio=Kt,k.Avatar=at,k.Btn=Ne,k.BtnGroup=Vn,k.COLOR_LIGHTNESS_MAP=j,k.ChatContainer=In,k.ChatMessage=Dn,k.ChatSystem=On,k.Chip=Fn,k.ColorInput=Gn,k.ColorSwatch=Dt,k.Drawer=Kn,k.Dropzone=Jn,k.FullscreenOverlay=lt,k.Image=Zn,k.Indicator=eo,k.Modal=to,k.Notification=Ot,k.NotificationSystem=io,k.Notifications=vr,k.Overlay=Ft,k.Paper=Lt,k.PinInput=ho,k.Popover=go,k.Progress=yo,k.Rating=_o,k.RokuProvider=Bo,k.SURFACE_LIGHTNESS_MAP=se,k.SchemeSwitch=Vo,k.ScrollArea=Ho,k.Select=Oo,k.SelectArea=Fo,k.Slider=Go,k.Switch=jt,k.TabItem=Uo,k.Tabs=Yo,k.Tag=qo,k.TextField=Wt,k.ThemeProvider=Jo,k.Tooltip=Zo,k.VirtualWaterfall=pl,k.Waterfall=fl,k.borderCS=Tt,k.childrenElementMapSymbol=Le,k.defaultTheme=tt,k.directionSymbol=Fe,k.errorColor=de,k.errorColors=kn,k.generateColors=pe,k.generateColorsMap=gt,k.generateColorsObjMap=q,k.getCSInner=Ce,k.primaryColor=ie,k.primaryColors=bn,k.schemeSymbol=zt,k.secondaryColor=ce,k.secondaryColors=wn,k.surfaceColor=Z,k.surfaceColors=vn,k.tabCurrentSymbol=Oe,k.tabValueListSymbol=xr,k.tertiaryColor=ue,k.tertiaryColors=Sn,k.useButtonCS=Te,k.useCS=O,k.useClientHeight=Et,k.useColorCS=_e,k.useColors=oe,k.useContainerCS=xe,k.useContainerDefaultCS=He,k.useContainerDefaultVariantCS=nt,k.useContainerFilledCS=ge,k.useContainerLightCS=It,k.useCurrentThemeData=Mt,k.useCurrentThemeName=an,k.useCurrentThemeScheme=ln,k.useId=Ae,k.useIndicatorFilledCS=Rt,k.useInputColorStyle=ot,k.useMergedCS=he,k.useNotifications=ht,k.useRootTheme=on,k.useRounded=G,k.useSchemeString=At,k.useScrollHeight=Bt,k.useSurfaceCS=ye,k.useSurfaceColors=Nt,k.useTextCS=yn,k.useThemeData=$t,k.useThemeStyles=Ue,Object.defineProperty(k,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(k,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(k=typeof globalThis<"u"?globalThis:k||self,e(k["roku-ui"]={},k.Vue))})(this,function(k,e){"use strict";const Kt=e.defineComponent({__name:"AspectRatio",props:{ratio:{default:1},width:{},maxWidth:{},height:{},maxHeight:{}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle({"--ar-ratio":r.ratio,width:r.width,"max-width":r.maxWidth,height:r.height,"max-height":r.maxHeight}),class:"relative children:absolute children:top-0 before:block before:h-0 children:h-full children:w-full before:pb-[calc((1/var(--ar-ratio,1))*100%)] before:content-['']"},[e.renderSlot(r.$slots,"default")],4))}}),at=e.defineComponent({__name:"Avatar",props:{is:{default:"img"},src:{},size:{default:"md"},style:{},class:{}},setup(t){const r=t,n=e.computed(()=>{switch(r.size){case"sm":return"--size: 1.5rem;";case"md":return"--size: 2rem;";case"lg":return"--size: 3rem;";default:return typeof r.size=="number"||!Number.isNaN(Number(r.size))?`--size: ${r.size}rem;`:`--size: ${r.size};`}}),o=e.ref(!1),l=e.ref(null);function a(){o.value=!0}return e.onMounted(()=>{var i;(i=l.value)!=null&&i.complete&&a()}),(i,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[i.src?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.is),e.mergeProps({key:0,ref_key:"img",ref:l,style:[i.style,n.value],placeholder:"",src:i.src,class:["h-[var(--size)] w-[var(--size)] rounded-full object-cover",[{hidden:!o.value},r.class]]},i.$attrs,{onLoad:a}),null,16,["style","src","class"])):e.createCommentVNode("",!0),o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:"bg-surface-high h-[var(--size)] w-[var(--size)] animate-pulse border-transparent rounded-full object-cover",style:e.normalizeStyle([i.style,n.value])},null,4))],64))}});function G(t){return e.computed(()=>({style:Jt(t.rounded),class:"rounded-[var(--r-rounded)]"}))}function Jt(t){const r=/^-?(?:\d+(?:\.\d+)?|\.\d+)(?:px|em|rem|vh|vw|in|cm|mm|pt|pc|%)?$/;switch(t){case"none":return"--r-rounded: 0";case"sm":return"--r-rounded: 0.125rem";case"md":return"--r-rounded: 0.25rem";case"lg":return"--r-rounded: 0.5rem";case"full":return"--r-rounded: 9999px";default:return typeof t=="string"&&r.test(t)?`--r-rounded: ${t};`:typeof t=="number"||!Number.isNaN(Number(t))?`--r-rounded: ${t}rem;`:"rounded-[var(--r-rounded)]"}}function Be(t){"@babel/helpers - typeof";return Be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Be(t)}var Zt=/^\s+/,Qt=/\s+$/;function M(t,r){if(t=t||"",r=r||{},t instanceof M)return t;if(!(this instanceof M))return new M(t,r);var n=er(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||n.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}M.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var r=this.toRgb();return(r.r*299+r.g*587+r.b*114)/1e3},getLuminance:function(){var r=this.toRgb(),n,o,l,a,i,s;return n=r.r/255,o=r.g/255,l=r.b/255,n<=.03928?a=n/12.92:a=Math.pow((n+.055)/1.055,2.4),o<=.03928?i=o/12.92:i=Math.pow((o+.055)/1.055,2.4),l<=.03928?s=l/12.92:s=Math.pow((l+.055)/1.055,2.4),.2126*a+.7152*i+.0722*s},setAlpha:function(r){return this._a=ft(r),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var r=it(this._r,this._g,this._b);return{h:r.h*360,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=it(this._r,this._g,this._b),n=Math.round(r.h*360),o=Math.round(r.s*100),l=Math.round(r.v*100);return this._a==1?"hsv("+n+", "+o+"%, "+l+"%)":"hsva("+n+", "+o+"%, "+l+"%, "+this._roundA+")"},toHsl:function(){var r=st(this._r,this._g,this._b);return{h:r.h*360,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=st(this._r,this._g,this._b),n=Math.round(r.h*360),o=Math.round(r.s*100),l=Math.round(r.l*100);return this._a==1?"hsl("+n+", "+o+"%, "+l+"%)":"hsla("+n+", "+o+"%, "+l+"%, "+this._roundA+")"},toHex:function(r){return ct(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return or(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(R(this._r,255)*100)+"%",g:Math.round(R(this._g,255)*100)+"%",b:Math.round(R(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(R(this._r,255)*100)+"%, "+Math.round(R(this._g,255)*100)+"%, "+Math.round(R(this._b,255)*100)+"%)":"rgba("+Math.round(R(this._r,255)*100)+"%, "+Math.round(R(this._g,255)*100)+"%, "+Math.round(R(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:gr[ct(this._r,this._g,this._b,!0)]||!1},toFilter:function(r){var n="#"+ut(this._r,this._g,this._b,this._a),o=n,l=this._gradientType?"GradientType = 1, ":"";if(r){var a=M(r);o="#"+ut(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+l+"startColorstr="+n+",endColorstr="+o+")"},toString:function(r){var n=!!r;r=r||this._format;var o=!1,l=this._a<1&&this._a>=0,a=!n&&l&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");return a?r==="name"&&this._a===0?this.toName():this.toRgbString():(r==="rgb"&&(o=this.toRgbString()),r==="prgb"&&(o=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(o=this.toHexString()),r==="hex3"&&(o=this.toHexString(!0)),r==="hex4"&&(o=this.toHex8String(!0)),r==="hex8"&&(o=this.toHex8String()),r==="name"&&(o=this.toName()),r==="hsl"&&(o=this.toHslString()),r==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},clone:function(){return M(this.toString())},_applyModification:function(r,n){var o=r.apply(null,[this].concat([].slice.call(n)));return this._r=o._r,this._g=o._g,this._b=o._b,this.setAlpha(o._a),this},lighten:function(){return this._applyModification(ir,arguments)},brighten:function(){return this._applyModification(cr,arguments)},darken:function(){return this._applyModification(ur,arguments)},desaturate:function(){return this._applyModification(lr,arguments)},saturate:function(){return this._applyModification(ar,arguments)},greyscale:function(){return this._applyModification(sr,arguments)},spin:function(){return this._applyModification(dr,arguments)},_applyCombination:function(r,n){return r.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(mr,arguments)},complement:function(){return this._applyCombination(fr,arguments)},monochromatic:function(){return this._applyCombination(hr,arguments)},splitcomplement:function(){return this._applyCombination(pr,arguments)},triad:function(){return this._applyCombination(dt,[3])},tetrad:function(){return this._applyCombination(dt,[4])}},M.fromRatio=function(t,r){if(Be(t)=="object"){var n={};for(var o in t)t.hasOwnProperty(o)&&(o==="a"?n[o]=t[o]:n[o]=be(t[o]));t=n}return M(t,r)};function er(t){var r={r:0,g:0,b:0},n=1,o=null,l=null,a=null,i=!1,s=!1;return typeof t=="string"&&(t=Sr(t)),Be(t)=="object"&&(ee(t.r)&&ee(t.g)&&ee(t.b)?(r=tr(t.r,t.g,t.b),i=!0,s=String(t.r).substr(-1)==="%"?"prgb":"rgb"):ee(t.h)&&ee(t.s)&&ee(t.v)?(o=be(t.s),l=be(t.v),r=nr(t.h,o,l),i=!0,s="hsv"):ee(t.h)&&ee(t.s)&&ee(t.l)&&(o=be(t.s),a=be(t.l),r=rr(t.h,o,a),i=!0,s="hsl"),t.hasOwnProperty("a")&&(n=t.a)),n=ft(n),{ok:i,format:t.format||s,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:n}}function tr(t,r,n){return{r:R(t,255)*255,g:R(r,255)*255,b:R(n,255)*255}}function st(t,r,n){t=R(t,255),r=R(r,255),n=R(n,255);var o=Math.max(t,r,n),l=Math.min(t,r,n),a,i,s=(o+l)/2;if(o==l)a=i=0;else{var c=o-l;switch(i=s>.5?c/(2-o-l):c/(o+l),o){case t:a=(r-n)/c+(r<n?6:0);break;case r:a=(n-t)/c+2;break;case n:a=(t-r)/c+4;break}a/=6}return{h:a,s:i,l:s}}function rr(t,r,n){var o,l,a;t=R(t,360),r=R(r,100),n=R(n,100);function i(u,d,f){return f<0&&(f+=1),f>1&&(f-=1),f<1/6?u+(d-u)*6*f:f<1/2?d:f<2/3?u+(d-u)*(2/3-f)*6:u}if(r===0)o=l=a=n;else{var s=n<.5?n*(1+r):n+r-n*r,c=2*n-s;o=i(c,s,t+1/3),l=i(c,s,t),a=i(c,s,t-1/3)}return{r:o*255,g:l*255,b:a*255}}function it(t,r,n){t=R(t,255),r=R(r,255),n=R(n,255);var o=Math.max(t,r,n),l=Math.min(t,r,n),a,i,s=o,c=o-l;if(i=o===0?0:c/o,o==l)a=0;else{switch(o){case t:a=(r-n)/c+(r<n?6:0);break;case r:a=(n-t)/c+2;break;case n:a=(t-r)/c+4;break}a/=6}return{h:a,s:i,v:s}}function nr(t,r,n){t=R(t,360)*6,r=R(r,100),n=R(n,100);var o=Math.floor(t),l=t-o,a=n*(1-r),i=n*(1-l*r),s=n*(1-(1-l)*r),c=o%6,u=[n,i,a,a,s,n][c],d=[s,n,n,i,a,a][c],f=[a,a,s,n,n,i][c];return{r:u*255,g:d*255,b:f*255}}function ct(t,r,n,o){var l=[U(Math.round(t).toString(16)),U(Math.round(r).toString(16)),U(Math.round(n).toString(16))];return o&&l[0].charAt(0)==l[0].charAt(1)&&l[1].charAt(0)==l[1].charAt(1)&&l[2].charAt(0)==l[2].charAt(1)?l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0):l.join("")}function or(t,r,n,o,l){var a=[U(Math.round(t).toString(16)),U(Math.round(r).toString(16)),U(Math.round(n).toString(16)),U(pt(o))];return l&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function ut(t,r,n,o){var l=[U(pt(o)),U(Math.round(t).toString(16)),U(Math.round(r).toString(16)),U(Math.round(n).toString(16))];return l.join("")}M.equals=function(t,r){return!t||!r?!1:M(t).toRgbString()==M(r).toRgbString()},M.random=function(){return M.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function lr(t,r){r=r===0?0:r||10;var n=M(t).toHsl();return n.s-=r/100,n.s=Ee(n.s),M(n)}function ar(t,r){r=r===0?0:r||10;var n=M(t).toHsl();return n.s+=r/100,n.s=Ee(n.s),M(n)}function sr(t){return M(t).desaturate(100)}function ir(t,r){r=r===0?0:r||10;var n=M(t).toHsl();return n.l+=r/100,n.l=Ee(n.l),M(n)}function cr(t,r){r=r===0?0:r||10;var n=M(t).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(r/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(r/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(r/100)))),M(n)}function ur(t,r){r=r===0?0:r||10;var n=M(t).toHsl();return n.l-=r/100,n.l=Ee(n.l),M(n)}function dr(t,r){var n=M(t).toHsl(),o=(n.h+r)%360;return n.h=o<0?360+o:o,M(n)}function fr(t){var r=M(t).toHsl();return r.h=(r.h+180)%360,M(r)}function dt(t,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var n=M(t).toHsl(),o=[M(t)],l=360/r,a=1;a<r;a++)o.push(M({h:(n.h+a*l)%360,s:n.s,l:n.l}));return o}function pr(t){var r=M(t).toHsl(),n=r.h;return[M(t),M({h:(n+72)%360,s:r.s,l:r.l}),M({h:(n+216)%360,s:r.s,l:r.l})]}function mr(t,r,n){r=r||6,n=n||30;var o=M(t).toHsl(),l=360/n,a=[M(t)];for(o.h=(o.h-(l*r>>1)+720)%360;--r;)o.h=(o.h+l)%360,a.push(M(o));return a}function hr(t,r){r=r||6;for(var n=M(t).toHsv(),o=n.h,l=n.s,a=n.v,i=[],s=1/r;r--;)i.push(M({h:o,s:l,v:a})),a=(a+s)%1;return i}M.mix=function(t,r,n){n=n===0?0:n||50;var o=M(t).toRgb(),l=M(r).toRgb(),a=n/100,i={r:(l.r-o.r)*a+o.r,g:(l.g-o.g)*a+o.g,b:(l.b-o.b)*a+o.b,a:(l.a-o.a)*a+o.a};return M(i)},M.readability=function(t,r){var n=M(t),o=M(r);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)},M.isReadable=function(t,r,n){var o=M.readability(t,r),l,a;switch(a=!1,l=kr(n),l.level+l.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7;break}return a},M.mostReadable=function(t,r,n){var o=null,l=0,a,i,s,c;n=n||{},i=n.includeFallbackColors,s=n.level,c=n.size;for(var u=0;u<r.length;u++)a=M.readability(t,r[u]),a>l&&(l=a,o=M(r[u]));return M.isReadable(t,o,{level:s,size:c})||!i?o:(n.includeFallbackColors=!1,M.mostReadable(t,["#fff","#000"],n))};var De=M.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},gr=M.hexNames=yr(De);function yr(t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[t[n]]=n);return r}function ft(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function R(t,r){br(t)&&(t="100%");var n=wr(t);return t=Math.min(r,Math.max(0,parseFloat(t))),n&&(t=parseInt(t*r,10)/100),Math.abs(t-r)<1e-6?1:t%r/parseFloat(r)}function Ee(t){return Math.min(1,Math.max(0,t))}function L(t){return parseInt(t,16)}function br(t){return typeof t=="string"&&t.indexOf(".")!=-1&&parseFloat(t)===1}function wr(t){return typeof t=="string"&&t.indexOf("%")!=-1}function U(t){return t.length==1?"0"+t:""+t}function be(t){return t<=1&&(t=t*100+"%"),t}function pt(t){return Math.round(parseFloat(t)*255).toString(16)}function mt(t){return L(t)/255}var Y=function(){var t="[-\\+]?\\d+%?",r="[-\\+]?\\d*\\.\\d+%?",n="(?:"+r+")|(?:"+t+")",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",l="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+o),rgba:new RegExp("rgba"+l),hsl:new RegExp("hsl"+o),hsla:new RegExp("hsla"+l),hsv:new RegExp("hsv"+o),hsva:new RegExp("hsva"+l),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function ee(t){return!!Y.CSS_UNIT.exec(t)}function Sr(t){t=t.replace(Zt,"").replace(Qt,"").toLowerCase();var r=!1;if(De[t])t=De[t],r=!0;else if(t=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Y.rgb.exec(t))?{r:n[1],g:n[2],b:n[3]}:(n=Y.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Y.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=Y.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Y.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=Y.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Y.hex8.exec(t))?{r:L(n[1]),g:L(n[2]),b:L(n[3]),a:mt(n[4]),format:r?"name":"hex8"}:(n=Y.hex6.exec(t))?{r:L(n[1]),g:L(n[2]),b:L(n[3]),format:r?"name":"hex"}:(n=Y.hex4.exec(t))?{r:L(n[1]+""+n[1]),g:L(n[2]+""+n[2]),b:L(n[3]+""+n[3]),a:mt(n[4]+""+n[4]),format:r?"name":"hex8"}:(n=Y.hex3.exec(t))?{r:L(n[1]+""+n[1]),g:L(n[2]+""+n[2]),b:L(n[3]+""+n[3]),format:r?"name":"hex"}:!1}function kr(t){var r,n;return t=t||{level:"AA",size:"small"},r=(t.level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),r!=="AA"&&r!=="AAA"&&(r="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:r,size:n}}const Pe=e.ref([]);function ht(){return Pe}class vr{static show(r){r.hash=Math.random().toString(36),Pe.value=[r,...Pe.value]}}const Oe=Symbol("tabCurrent"),Fe=Symbol("direction"),xr=Symbol("tabValueList"),Le=Symbol("childrenElementMapSymbol");function Cr(t){const r=M(t).toHsl().l;return j.reduce((n,o)=>Math.abs(o-r)<Math.abs(n-r)?o:n)}function gt(t,r=j){const n=q(t,r);return{...n,colors:n.colors.map(o=>o.toHexString())}}function q(t,r=j){const n=M(t),o=Cr(n),l=r.findIndex(i=>i===o),a=r.map(i=>{const s=M({h:n.toHsl().h,s:n.toHsl().s,l:i}),c=0;return n.toHsl().h>=20&&n.toHsl().h<=200&&s.darken(2),s.saturate(c*100),s});return{baseColorIndex:l,colors:a.map(i=>i)}}function pe(t,r=j){return gt(t,r).colors}function _r(t,r){let n,o,l;const a=e.ref(!0),i=()=>{a.value=!0,l()};e.watch(t,i,{flush:"sync"});const s=typeof r=="function"?r:r.get,c=typeof r=="function"?void 0:r.set,u=e.customRef((d,f)=>(o=d,l=f,{get(){return a.value&&(n=s(n),a.value=!1),o(),n},set(p){c==null||c(p)}}));return Object.isExtensible(u)&&(u.trigger=i),u}function we(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function yt(){const t=new Set,r=l=>{t.delete(l)};return{on:l=>{t.add(l);const a=()=>r(l);return we(a),{off:a}},off:r,trigger:(...l)=>Promise.all(Array.from(t).map(a=>a(...l)))}}function P(t){return typeof t=="function"?t():e.unref(t)}const te=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Br=t=>t!=null,Er=Object.prototype.toString,Mr=t=>Er.call(t)==="[object Object]",K=()=>{},$r=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),zr=Ar();function Ar(){var t,r;return te&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((r=window==null?void 0:window.navigator)==null?void 0:r.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function We(t,r){function n(...o){return new Promise((l,a)=>{Promise.resolve(t(()=>r.apply(this,o),{fn:r,thisArg:this,args:o})).then(l).catch(a)})}return n}const bt=t=>t();function Vr(t,r={}){let n,o,l=K;const a=s=>{clearTimeout(s),l(),l=K};return s=>{const c=P(t),u=P(r.maxWait);return n&&a(n),c<=0||u!==void 0&&u<=0?(o&&(a(o),o=null),Promise.resolve(s())):new Promise((d,f)=>{l=r.rejectOnCancel?f:d,u&&!o&&(o=setTimeout(()=>{n&&a(n),o=null,d(s())},u)),n=setTimeout(()=>{o&&a(o),o=null,d(s())},c)})}}function Hr(...t){let r=0,n,o=!0,l=K,a,i,s,c,u;!e.isRef(t[0])&&typeof t[0]=="object"?{delay:i,trailing:s=!0,leading:c=!0,rejectOnCancel:u=!1}=t[0]:[i,s=!0,c=!0,u=!1]=t;const d=()=>{n&&(clearTimeout(n),n=void 0,l(),l=K)};return p=>{const m=P(i),g=Date.now()-r,h=()=>a=p();return d(),m<=0?(r=Date.now(),h()):(g>m&&(c||!o)?(r=Date.now(),h()):s&&(a=new Promise((S,v)=>{l=u?v:S,n=setTimeout(()=>{r=Date.now(),o=!0,S(h()),d()},Math.max(0,m-g))})),!c&&!n&&(n=setTimeout(()=>o=!0,m)),o=!1,a)}}function Tr(t=bt){const r=e.ref(!0);function n(){r.value=!1}function o(){r.value=!0}const l=(...a)=>{r.value&&t(...a)};return{isActive:e.readonly(r),pause:n,resume:o,eventFilter:l}}function Nr(t){return e.getCurrentInstance()}function wt(t,r=200,n={}){return We(Vr(r,n),t)}function Rr(t,r=200,n={}){const o=e.ref(t.value),l=wt(()=>{o.value=t.value},r,n);return e.watch(t,()=>l()),o}function Ir(t,r=200,n=!1,o=!0,l=!1){return We(Hr(r,n,o,l),t)}function Dr(t,r,n={}){const{eventFilter:o=bt,...l}=n;return e.watch(t,We(o,r),l)}function Pr(t,r,n={}){const{eventFilter:o,...l}=n,{eventFilter:a,pause:i,resume:s,isActive:c}=Tr(o);return{stop:Dr(t,r,{...l,eventFilter:a}),pause:i,resume:s,isActive:c}}function me(t,r=!0,n){Nr()?e.onMounted(t,n):r?t():e.nextTick(t)}const W=te?window:void 0,Or=te?window.document:void 0;function F(t){var r;const n=P(t);return(r=n==null?void 0:n.$el)!=null?r:n}function T(...t){let r,n,o,l;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,o,l]=t,r=W):[r,n,o,l]=t,!r)return K;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},s=(d,f,p,m)=>(d.addEventListener(f,p,m),()=>d.removeEventListener(f,p,m)),c=e.watch(()=>[F(r),P(l)],([d,f])=>{if(i(),!d)return;const p=Mr(f)?{...f}:f;a.push(...n.flatMap(m=>o.map(g=>s(d,m,g,p))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return we(u),u}let St=!1;function kt(t,r,n={}){const{window:o=W,ignore:l=[],capture:a=!0,detectIframe:i=!1}=n;if(!o)return K;zr&&!St&&(St=!0,Array.from(o.document.body.children).forEach(m=>m.addEventListener("click",K)),o.document.documentElement.addEventListener("click",K));let s=!0;const c=m=>P(l).some(g=>{if(typeof g=="string")return Array.from(o.document.querySelectorAll(g)).some(h=>h===m.target||m.composedPath().includes(h));{const h=F(g);return h&&(m.target===h||m.composedPath().includes(h))}}),u=m=>{const g=F(t);if(!(!g||g===m.target||m.composedPath().includes(g))){if(m.detail===0&&(s=!c(m)),!s){s=!0;return}r(m)}};let d=!1;const f=[T(o,"click",m=>{d||(d=!0,setTimeout(()=>{d=!1},0),u(m))},{passive:!0,capture:a}),T(o,"pointerdown",m=>{const g=F(t);s=!c(m)&&!!(g&&!m.composedPath().includes(g))},{passive:!0}),i&&T(o,"blur",m=>{setTimeout(()=>{var g;const h=F(t);((g=o.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(h!=null&&h.contains(o.document.activeElement))&&r(m)},0)})].filter(Boolean);return()=>f.forEach(m=>m())}function Fr(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function ae(...t){let r,n,o={};t.length===3?(r=t[0],n=t[1],o=t[2]):t.length===2?typeof t[1]=="object"?(r=!0,n=t[0],o=t[1]):(r=t[0],n=t[1]):(r=!0,n=t[0]);const{target:l=W,eventName:a="keydown",passive:i=!1,dedupe:s=!1}=o,c=Fr(r);return T(l,a,d=>{d.repeat&&P(s)||c(d)&&n(d)},i)}function Lr(){const t=e.ref(!1),r=e.getCurrentInstance();return r&&e.onMounted(()=>{t.value=!0},r),t}function je(t){const r=Lr();return e.computed(()=>(r.value,!!t()))}function Ge(t,r,n={}){const{window:o=W,...l}=n;let a;const i=je(()=>o&&"MutationObserver"in o),s=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>{const p=P(t),m=(Array.isArray(p)?p:[p]).map(F).filter(Br);return new Set(m)}),u=e.watch(()=>c.value,p=>{s(),i.value&&p.size&&(a=new MutationObserver(r),p.forEach(m=>a.observe(m,l)))},{immediate:!0,flush:"post"}),d=()=>a==null?void 0:a.takeRecords(),f=()=>{u(),s()};return we(f),{isSupported:i,stop:f,takeRecords:d}}function Wr(t,r={}){const{window:n=W}=r,o=je(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let l;const a=e.ref(!1),i=u=>{a.value=u.matches},s=()=>{l&&("removeEventListener"in l?l.removeEventListener("change",i):l.removeListener(i))},c=e.watchEffect(()=>{o.value&&(s(),l=n.matchMedia(P(t)),"addEventListener"in l?l.addEventListener("change",i):l.addListener(i),a.value=l.matches)});return we(()=>{c(),s(),l=void 0}),a}const Me=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},$e="__vueuse_ssr_handlers__",jr=Gr();function Gr(){return $e in Me||(Me[$e]=Me[$e]||{}),Me[$e]}function Xr(t,r){return jr[t]||r}function Ur(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const Yr={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},vt="vueuse-storage";function qr(t,r,n,o={}){var l;const{flush:a="pre",deep:i=!0,listenToStorageChanges:s=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:d,window:f=W,eventFilter:p,onError:m=w=>{console.error(w)},initOnMounted:g}=o,h=(d?e.shallowRef:e.ref)(r);if(!n)try{n=Xr("getDefaultStorage",()=>{var w;return(w=W)==null?void 0:w.localStorage})()}catch(w){m(w)}if(!n)return h;const S=P(r),v=Ur(S),y=(l=o.serializer)!=null?l:Yr[v],{pause:C,resume:E}=Pr(h,()=>_(h.value),{flush:a,deep:i,eventFilter:p});f&&s&&me(()=>{n instanceof Storage?T(f,"storage",B):T(f,vt,z),g&&B()}),g||B();function x(w,$){if(f){const V={key:t,oldValue:w,newValue:$,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",V):new CustomEvent(vt,{detail:V}))}}function _(w){try{const $=n.getItem(t);if(w==null)x($,null),n.removeItem(t);else{const V=y.write(w);$!==V&&(n.setItem(t,V),x($,V))}}catch($){m($)}}function b(w){const $=w?w.newValue:n.getItem(t);if($==null)return c&&S!=null&&n.setItem(t,y.write(S)),S;if(!w&&u){const V=y.read($);return typeof u=="function"?u(V,S):v==="object"&&!Array.isArray(V)?{...S,...V}:V}else return typeof $!="string"?$:y.read($)}function B(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){h.value=S;return}if(!(w&&w.key!==t)){C();try{(w==null?void 0:w.newValue)!==y.write(h.value)&&(h.value=b(w))}catch($){m($)}finally{w?e.nextTick(E):E()}}}}function z(w){B(w.detail)}return h}function Kr(t){const r=e.getCurrentInstance(),n=_r(()=>null,()=>r.proxy.$el);return e.onUpdated(n.trigger),e.onMounted(n.trigger),n}function Jr(t,r={}){var n,o;const l=e.ref(!1),a=e.shallowRef(null);let i=0,s=!0;if(te){const c=typeof r=="function"?{onDrop:r}:r,u=(n=c.multiple)!=null?n:!0,d=(o=c.preventDefaultForUnhandled)!=null?o:!1,f=h=>{var S,v;const y=Array.from((v=(S=h.dataTransfer)==null?void 0:S.files)!=null?v:[]);return y.length===0?null:u?y:[y[0]]},p=h=>{if(c.dataTypes){const S=e.unref(c.dataTypes);return typeof S=="function"?S(h):S?S.some(v=>h.includes(v)):!0}return!0},m=h=>{var S,v;const y=Array.from((v=(S=h.dataTransfer)==null?void 0:S.items)!=null?v:[]),C=y.filter(_=>_.kind==="file").map(_=>_.type),E=p(C),x=u||y.filter(_=>_.kind==="file").length<=1;return E&&x},g=(h,S)=>{var v,y,C,E;if(s=m(h),!s){d&&h.preventDefault(),h.dataTransfer&&(h.dataTransfer.dropEffect="none");return}h.preventDefault(),h.dataTransfer&&(h.dataTransfer.dropEffect="copy");const x=f(h);switch(S){case"enter":i+=1,l.value=!0,(v=c.onEnter)==null||v.call(c,null,h);break;case"over":(y=c.onOver)==null||y.call(c,null,h);break;case"leave":i-=1,i===0&&(l.value=!1),(C=c.onLeave)==null||C.call(c,null,h);break;case"drop":i=0,l.value=!1,s&&(a.value=x,(E=c.onDrop)==null||E.call(c,x,h));break}};T(t,"dragenter",h=>g(h,"enter")),T(t,"dragover",h=>g(h,"over")),T(t,"dragleave",h=>g(h,"leave")),T(t,"drop",h=>g(h,"drop"))}return{files:a,isOverDropZone:l}}function Xe(t,r,n={}){const{window:o=W,...l}=n;let a;const i=je(()=>o&&"ResizeObserver"in o),s=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>{const f=P(t);return Array.isArray(f)?f.map(p=>F(p)):[F(f)]}),u=e.watch(c,f=>{if(s(),i.value&&o){a=new ResizeObserver(r);for(const p of f)p&&a.observe(p,l)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return we(d),{isSupported:i,stop:d}}function re(t,r={}){const{reset:n=!0,windowResize:o=!0,windowScroll:l=!0,immediate:a=!0,updateTiming:i="sync"}=r,s=e.ref(0),c=e.ref(0),u=e.ref(0),d=e.ref(0),f=e.ref(0),p=e.ref(0),m=e.ref(0),g=e.ref(0);function h(){const v=F(t);if(!v){n&&(s.value=0,c.value=0,u.value=0,d.value=0,f.value=0,p.value=0,m.value=0,g.value=0);return}const y=v.getBoundingClientRect();s.value=y.height,c.value=y.bottom,u.value=y.left,d.value=y.right,f.value=y.top,p.value=y.width,m.value=y.x,g.value=y.y}function S(){i==="sync"?h():i==="next-frame"&&requestAnimationFrame(()=>h())}return Xe(t,S),e.watch(()=>F(t),v=>!v&&S()),Ge(t,S,{attributeFilter:["style","class"]}),l&&T("scroll",S,{capture:!0,passive:!0}),o&&T("resize",S,{passive:!0}),me(()=>{a&&S()}),{height:s,bottom:c,left:u,right:d,top:f,width:p,x:m,y:g,update:S}}function Se(t,r={}){const{delayEnter:n=0,delayLeave:o=0,window:l=W}=r,a=e.ref(!1);let i;const s=c=>{const u=c?n:o;i&&(clearTimeout(i),i=void 0),u?i=setTimeout(()=>a.value=c,u):a.value=c};return l&&(T(t,"mouseenter",()=>s(!0),{passive:!0}),T(t,"mouseleave",()=>s(!1),{passive:!0})),a}const Zr={multiple:!0,accept:"*",reset:!1,directory:!1};function Qr(t={}){const{document:r=Or}=t,n=e.ref(null),{on:o,trigger:l}=yt(),{on:a,trigger:i}=yt();let s;r&&(s=r.createElement("input"),s.type="file",s.onchange=d=>{const f=d.target;n.value=f.files,l(n.value)},s.oncancel=()=>{i()});const c=()=>{n.value=null,s&&s.value&&(s.value="",l(null))},u=d=>{if(!s)return;const f={...Zr,...t,...d};s.multiple=f.multiple,s.accept=f.accept,s.webkitdirectory=f.directory,$r(f,"capture")&&(s.capture=f.capture),f.reset&&c(),s.click()};return{files:e.readonly(n),open:u,reset:c,onCancel:a,onChange:o}}const xt=1;function en(t,r={}){const{throttle:n=0,idle:o=200,onStop:l=K,onScroll:a=K,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:c="auto",window:u=W,onError:d=b=>{console.error(b)}}=r,f=e.ref(0),p=e.ref(0),m=e.computed({get(){return f.value},set(b){h(b,void 0)}}),g=e.computed({get(){return p.value},set(b){h(void 0,b)}});function h(b,B){var z,w,$,V;if(!u)return;const H=P(t);if(!H)return;($=H instanceof Document?u.document.body:H)==null||$.scrollTo({top:(z=P(B))!=null?z:g.value,left:(w=P(b))!=null?w:m.value,behavior:P(c)});const I=((V=H==null?void 0:H.document)==null?void 0:V.documentElement)||(H==null?void 0:H.documentElement)||H;m!=null&&(f.value=I.scrollLeft),g!=null&&(p.value=I.scrollTop)}const S=e.ref(!1),v=e.reactive({left:!0,right:!1,top:!0,bottom:!1}),y=e.reactive({left:!1,right:!1,top:!1,bottom:!1}),C=b=>{S.value&&(S.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,l(b))},E=wt(C,n+o),x=b=>{var B;if(!u)return;const z=((B=b==null?void 0:b.document)==null?void 0:B.documentElement)||(b==null?void 0:b.documentElement)||F(b),{display:w,flexDirection:$}=getComputedStyle(z),V=z.scrollLeft;y.left=V<f.value,y.right=V>f.value;const H=Math.abs(V)<=(i.left||0),I=Math.abs(V)+z.clientWidth>=z.scrollWidth-(i.right||0)-xt;w==="flex"&&$==="row-reverse"?(v.left=I,v.right=H):(v.left=H,v.right=I),f.value=V;let N=z.scrollTop;b===u.document&&!N&&(N=u.document.body.scrollTop),y.top=N<p.value,y.bottom=N>p.value;const Q=Math.abs(N)<=(i.top||0),A=Math.abs(N)+z.clientHeight>=z.scrollHeight-(i.bottom||0)-xt;w==="flex"&&$==="column-reverse"?(v.top=A,v.bottom=Q):(v.top=Q,v.bottom=A),p.value=N},_=b=>{var B;if(!u)return;const z=(B=b.target.documentElement)!=null?B:b.target;x(z),S.value=!0,E(b),a(b)};return T(t,"scroll",n?Ir(_,n,!0,!1):_,s),me(()=>{try{const b=P(t);if(!b)return;x(b)}catch(b){d(b)}}),T(t,"scrollend",C,s),{x:m,y:g,isScrolling:S,arrivedState:v,directions:y,measure(){const b=P(t);u&&b&&x(b)}}}function Ct(t,r,n={}){const{window:o=W}=n;return qr(t,r,o==null?void 0:o.localStorage,n)}const tn={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function rn(t={}){const{reactive:r=!1,target:n=W,aliasMap:o=tn,passive:l=!0,onEventFired:a=K}=t,i=e.reactive(new Set),s={toJSON(){return{}},current:i},c=r?e.reactive(s):s,u=new Set,d=new Set;function f(h,S){h in c&&(r?c[h]=S:c[h].value=S)}function p(){i.clear();for(const h of d)f(h,!1)}function m(h,S){var v,y;const C=(v=h.key)==null?void 0:v.toLowerCase(),x=[(y=h.code)==null?void 0:y.toLowerCase(),C].filter(Boolean);C&&(S?i.add(C):i.delete(C));for(const _ of x)d.add(_),f(_,S);C==="meta"&&!S?(u.forEach(_=>{i.delete(_),f(_,!1)}),u.clear()):typeof h.getModifierState=="function"&&h.getModifierState("Meta")&&S&&[...i,...x].forEach(_=>u.add(_))}T(n,"keydown",h=>(m(h,!0),a(h)),{passive:l}),T(n,"keyup",h=>(m(h,!1),a(h)),{passive:l}),T("blur",p,{passive:!0}),T("focus",p,{passive:!0});const g=new Proxy(c,{get(h,S,v){if(typeof S!="string")return Reflect.get(h,S,v);if(S=S.toLowerCase(),S in o&&(S=o[S]),!(S in c))if(/[+_-]/.test(S)){const C=S.split(/[+_-]/g).map(E=>E.trim());c[S]=e.computed(()=>C.every(E=>P(g[E])))}else c[S]=e.ref(!1);const y=Reflect.get(h,S,v);return r?P(y):y}});return g}const nn={page:t=>[t.pageX,t.pageY],client:t=>[t.clientX,t.clientY],screen:t=>[t.screenX,t.screenY],movement:t=>t instanceof Touch?null:[t.movementX,t.movementY]};function ze(t={}){const{type:r="page",touch:n=!0,resetOnTouchEnds:o=!1,initialValue:l={x:0,y:0},window:a=W,target:i=a,scroll:s=!0,eventFilter:c}=t;let u=null;const d=e.ref(l.x),f=e.ref(l.y),p=e.ref(null),m=typeof r=="function"?r:nn[r],g=x=>{const _=m(x);u=x,_&&([d.value,f.value]=_,p.value="mouse")},h=x=>{if(x.touches.length>0){const _=m(x.touches[0]);_&&([d.value,f.value]=_,p.value="touch")}},S=()=>{if(!u||!a)return;const x=m(u);u instanceof MouseEvent&&x&&(d.value=x[0]+a.scrollX,f.value=x[1]+a.scrollY)},v=()=>{d.value=l.x,f.value=l.y},y=c?x=>c(()=>g(x),{}):x=>g(x),C=c?x=>c(()=>h(x),{}):x=>h(x),E=c?()=>c(()=>S(),{}):()=>S();if(i){const x={passive:!0};T(i,["mousemove","dragover"],y,x),n&&r!=="movement"&&(T(i,["touchstart","touchmove"],C,x),o&&T(i,"touchend",v,x)),s&&r==="page"&&T(a,"scroll",E,{passive:!0})}return{x:d,y:f,sourceType:p}}function _t(t=Kr()){const r=e.shallowRef(),n=()=>{const o=F(t);o&&(r.value=o.parentElement)};return me(n),e.watch(()=>P(t),n),r}function Bt(t){const r=e.ref(0),n=e.computed(()=>F(t)),o=()=>{n.value&&(r.value=n.value.scrollHeight)};return o(),me(o),Xe(()=>n.value,o),Ge(()=>n.value,o,{childList:!0,subtree:!0,attributes:!0}),r}function Et(t,r={}){const{initialWidth:n=Number.POSITIVE_INFINITY,listenOrientation:o=!0}=r,l=e.ref(n),a=e.computed(()=>F(t)),i=()=>{a.value&&(l.value=a.value.clientHeight)};if(i(),me(i),T("resize",i,{passive:!0}),Xe(()=>a.value,i),Ge(()=>a.value,i,{childList:!0,subtree:!0,attributes:!0}),o){const s=Wr("(orientation: portrait)");e.watch(s,()=>i())}return l}const j=[.98,.8,.7,.6,.43,.4,.36,.3,.2,.1,.01],se=[1,.99,.95,.9,.7,.5,.3,.2,.1,.075,.05];function on(){if(!te)return e.ref("dark");const t=e.ref(document.documentElement.dataset.scheme);return new MutationObserver(n=>{n.forEach(o=>{o.type==="attributes"&&o.attributeName==="data-scheme"&&(t.value=document.documentElement.dataset.scheme)})}).observe(document.documentElement,{attributes:!0,attributeFilter:["data-scheme"]}),t}function ln(){return e.inject("currentThemeScheme",null)}function Mt(){return e.inject("currentThemeData",e.ref(tt))}function an(){return e.inject("currentThemeName",e.ref("default"))}function $t(t,r,n={}){const o=j,l=se;return n.primary===void 0&&(n.primary=o),n.secondary===void 0&&(n.secondary=o),n.tertiary===void 0&&(n.tertiary=o),n.error===void 0&&(n.error=o),n.surface===void 0&&(n.surface=l),e.computed(()=>({name:t,colors:{primary:pe(e.unref(r.primary),n.primary),secondary:pe(e.unref(r.secondary),n.secondary),tertiary:pe(e.unref(r.tertiary),n.tertiary),error:pe(e.unref(r.error),n.error),surface:pe(e.unref(r.surface),n.surface)}}))}function sn(t,r=j){return e.computed(()=>{const n=e.unref(t);return typeof n=="string"?oe(n,r).value.map(o=>o.toHexString()):n})}function Ue(t){const r=e.ref(t);return{...{...Object.keys(r.value.colors).map(a=>{const i=a,s=r.value.colors[i];return sn(s,i==="surface"?se:j).value.reduce((d,f,p)=>{const m=M(f).toRgb();return d[`--r-color-${i}-${p}`]=`${m.r} ${m.g} ${m.b}`,d},{})}).reduce((a,i)=>({...a,...i}),{})},...{backgroundColor:"var(--r-surface-background-base-color)",color:"var(--r-surface-text-color)"}}}function Ae(t){const r=e.ref("");return e.onMounted(()=>{t.id?r.value=t.id:r.value=`switch-${Math.random().toString(36).slice(2)}-${Date.now().toString(36)}`}),r}const zt=Symbol("scheme");function At(){const t=Ct("scheme","light");return te&&new MutationObserver(()=>{t.value!==document.documentElement.dataset.scheme&&(t.value=document.documentElement.dataset.scheme)}).observe(document.documentElement,{attributes:!0,attributeFilter:["data-scheme"]}),t}const Ye=9,cn=7,qe=7,un=7,ke=3,dn=6,Ve=5,Vt=6,Ke=3,fn=4,Je=.25,pn=.3,Ze=1,mn=2,ve=7,hn=5,Qe=4,Ht=5,et=.08,gn=.15,ie=e.ref("#0067cc"),ce=e.ref("#5999A6"),ue=e.ref("#F76C22"),de=e.ref("#F95858"),Z=e.ref("#121212"),Tt=e.computed(()=>O({color:"surface",type:"border",index:{dark:qe,light:Ke}}).value);function yn(t){return _e(t,"text",{dark:ke,light:ve})}const bn=e.computed(()=>q(e.unref(ie),j).colors),wn=e.computed(()=>q(e.unref(ce),j).colors),Sn=e.computed(()=>q(e.unref(ue),j).colors),kn=e.computed(()=>q(e.unref(de),j).colors),vn=e.computed(()=>q(e.unref(Z),se).colors),tt=$t("default",{primary:ie,secondary:ce,tertiary:ue,error:de,surface:Z});function xe(t,r){return e.computed(()=>{switch(e.unref(t)){case"filled":return ge(r).value;case"light":return It(r).value;default:return He().value}})}function xn(t){return e.computed(()=>{const r=e.unref(t);switch(r){case"surface":return M(e.unref(Z));case"primary":return M(e.unref(ie));case"secondary":return M(e.unref(ce));case"tertiary":return M(e.unref(ue));case"error":return M(e.unref(de));default:return M(r)}})}const rt=new Map;function oe(t,r=j){return e.computed(()=>{const o=xn(t).value.toHexString();if(rt.has(o))return rt.get(o);function l(){const a=q(o,r).colors;return rt.set(o,a),a}return l()})}function Nt(){return e.computed(()=>q(e.unref(Z),se).colors)}function He(){return e.computed(()=>{const t=O({color:"surface",type:"bg",index:{dark:8,light:1}}),r=O({color:"surface",type:"border",index:{dark:7,light:3}}),n=he(t,r);return n.value.class=[...n.value.class,"border"],n.value})}function nt(){return e.computed(()=>{const t=O({color:"surface",type:"bg",index:{dark:7,light:2}}),r=O({color:"surface",type:"border",index:{dark:6,light:4}});return he(t,r).value})}function he(...t){return e.computed(()=>({style:t.reduce((r,n)=>({...r,...n.value.style}),{}),class:t.reduce((r,n)=>[...r,...n.value.class],[])}))}function Rt(t){return e.computed(()=>{const r=O({color:t,type:"bg",index:{dark:5,light:4}}),n=O({color:"surface",type:"border",index:{dark:Ye,light:Ze}}),o=O({color:t,type:"text",index:0});return he(r,n,o).value})}function ge(t){return e.computed(()=>{const r=O({color:t,type:"bg",index:{dark:5,light:4}}),n=O({color:"surface",type:"border",index:{dark:5,light:4}}),o=O({color:t,type:"text",index:0});return he(r,n,o).value})}function It(t){return e.computed(()=>{const r=O({color:t,type:"bg",index:{dark:5,light:4},alpha:.15}),n=O({color:t,type:"text",index:{dark:2,light:5}});return he(r,n).value})}function Ce(t,r,n,o,l=1){switch(r){case"outline":return{style:{"--d-outline":t[n].clone().setAlpha(l).toHex8String(),"--l-outline":t[o].clone().setAlpha(l).toHex8String()},class:["dark:focus-visible:outline-[--d-outline]","focus-visible:outline-[--l-outline]"]};case"bg":return{style:{"--d-bg":t[n].clone().setAlpha(l).toHex8String(),"--l-bg":t[o].clone().setAlpha(l).toHex8String()},class:["dark:bg-[--d-bg]","bg-[--l-bg]"]};case"border":return{style:{"--d-border":t[n].clone().setAlpha(l).toHex8String(),"--l-border":t[o].clone().setAlpha(l).toHex8String()},class:["dark:border-[--d-border]","border-[--l-border]"]};case"text":return{style:{"--d-text":t[n].clone().setAlpha(l).toHex8String(),"--l-text":t[o].clone().setAlpha(l).toHex8String()},class:["dark:text-[--d-text]","text-[--l-text]"]};case"placeholder":return{style:{"--d-placeholder":t[n].clone().setAlpha(l).toHex8String(),"--l-placeholder":t[o].clone().setAlpha(l).toHex8String()},class:["dark:placeholder-[--d-placeholder]","placeholder-[--l-placeholder]"]};case"hover:bg":return{style:{"--d-bg-h":t[n].clone().setAlpha(l).toHexString(),"--l-bg-h":t[o].clone().setAlpha(l).toHexString()},class:["dark:hover:bg-[--d-bg-h]","hover:bg-[--l-bg-h]"]};case"hover:border":return{style:{"--d-border-h":t[n].clone().setAlpha(l).toHexString(),"--l-border-h":t[o].clone().setAlpha(l).toHexString()},class:["dark:hover:border-[--d-border-h]","hover:border-[--l-border-h]"]};case"hover:text":return{style:{"--d-text-h":t[n].clone().setAlpha(l).toHexString(),"--l-text-h":t[o].clone().setAlpha(l).toHexString()},class:["dark:hover:text-[--d-text-h]","hover:text-[--l-text-h]"]}}}function O(t){return t.color==="surface"?ye(t.type,t.index):_e(t.color,t.type,t.index,t.alpha)}function _e(t,r,n,o=1){return e.computed(()=>{const l=oe(t);return typeof n=="number"?Ce(e.unref(l),r,n,n,o):Ce(e.unref(l),r,n.dark,n.light,o)})}function ye(t,r,n=1){return e.computed(()=>{const{colors:o}=q(e.unref(Z),se);return typeof r=="number"?Ce(o,t,r,r,n):Ce(o,t,r.dark,r.light,n)})}function Te(t="default",r="primary"){return e.computed(()=>{const n=oe(r).value,o=q(e.unref(Z),se).colors;return{style:{default:()=>Cn(o),filled:()=>_n(n),light:()=>Bn(n),outline:()=>En(n),transparent:()=>Mn(n),subtle:()=>$n(n),contrast:()=>zn(n),white:()=>An(n)}[e.unref(t)](),class:"custom-colors"}})}function Cn(t){return{"--d-bg":t[Ye].toHexString(),"--d-bg-h":t[cn].toHexString(),"--d-border":t[un].toHexString(),"--l-bg":t[Ze].toHexString(),"--l-bg-h":t[mn].toHexString(),"--l-border":t[fn].toHexString()}}function _n(t){return{"--d-border":"transparent","--d-bg":t[Ve].toHexString(),"--d-bg-h":t[Vt].toHexString(),"--d-text":"white","--l-bg":t[Qe].toHexString(),"--l-bg-h":t[Ht].toHexString(),"--l-text":"white","--l-text-h":"white","--l-border":"transparent"}}function Bn(t){return{"--d-border":"transparent","--d-bg":t[Ve].clone().setAlpha(Je).toHex8String(),"--d-bg-h":t[Ve].clone().setAlpha(pn).toHex8String(),"--d-text":t[ke].toHexString(),"--d-text-h":t[ke].toHexString(),"--l-bg":t[Qe].clone().setAlpha(et).toHex8String(),"--l-bg-h":t[Qe].clone().setAlpha(gn).toHex8String(),"--l-text":t[ve].toHexString(),"--l-text-h":t[ve].toHexString(),"--l-border":"transparent"}}function En(t){return{"--d-bg":"transparent","--d-bg-h":t[Vt].clone().setAlpha(Je).toHex8String(),"--d-text":t[ke].toHexString(),"--d-text-h":t[ke].toHexString(),"--d-border":t[qe].toHexString(),"--l-bg":"transparent","--l-bg-h":t[Ht].clone().setAlpha(et).toHex8String(),"--l-text":t[ve].toHexString(),"--l-text-h":t[ve].toHexString(),"--l-border":t[Ke].toHexString()}}function Mn(t){return{"--d-text":t[3].toHexString(),"--d-text-h":t[3].toHexString(),"--l-text":t[5].toHexString(),"--l-text-h":t[5].toHexString(),"--d-bg":"transparent","--l-bg":"transparent","--d-border":"transparent","--l-border":"transparent"}}function $n(t){return{"--d-bg":"transparent","--d-bg-h":t[3].clone().setAlpha(Je).toHex8String(),"--d-text":t[2].toHexString(),"--d-text-h":t[2].toHexString(),"--d-border":"transparent","--l-bg":"transparent","--l-bg-h":t[3].clone().setAlpha(et).toHex8String(),"--l-text":t[5].toHexString(),"--l-text-h":t[5].toHexString(),"--l-border":"transparent"}}function zn(t){return{"--d-text":t[2].toHexString(),"--d-text-h":"white","--d-bg":"transparent","--d-bg-h":t[5].toHexString(),"--d-border":"transparent","--l-text":t[5].toHexString(),"--l-text-h":"white","--l-bg":"transparent","--l-bg-h":t[5].toHexString(),"--l-border":"transparent"}}function An(t){return{"--d-bg":"white","--d-bg-h":"white","--d-text":t[4].toHexString(),"--d-text-h":t[4].toHexString(),"--d-border":"transparent","--l-bg":"white","--l-bg-h":"white","--l-text":t[5].toHexString(),"--l-text-h":t[5].toHexString(),"--l-border":"transparent"}}function ot(t,r="default"){return e.computed(()=>{const n=oe(t).value,o=Nt().value;switch(e.unref(r)){case"default":return{"--d-bg":o[Ye].toHexString(),"--d-border-f":n[Ve].toHexString(),"--d-border":o[qe].toHexString(),"--d-placeholder":o[dn].toHexString(),"--d-text":"white","--l-bg":o[Ze].toHexString(),"--l-border-f":n[3].toHexString(),"--l-border":o[Ke].toHexString(),"--l-placeholder":o[hn].toHexString(),"--l-text":"black"};case"filled":return{"--d-bg":n[5].toHexString(),"--d-bg-h":n[6].toHexString(),"--d-border":"transparent","--l-bg":n[5].toHexString(),"--l-bg-h":n[6].toHexString(),"--l-border":"transparent"}}})}const Ne=e.defineComponent({__name:"Btn",props:{type:{default:"button"},size:{default:"md"},is:{default:"button"},icon:{type:Boolean,default:!1},pressEffect:{default:"translate"},variant:{},hoverVariant:{},color:{},rounded:{default:"md"},disabled:{type:Boolean,default:!1}},setup(t){const r=t,n=G(r),o=e.computed(()=>{switch(r.size){case"sm":return{normalContent:"min-w-16 h-6 px-2 py-1 text-xs",iconContent:"h-6 w-6 p-1"};case"lg":return{normalContent:"min-w-24 h-10 px-4 py-2 text-base",iconContent:"h-10 w-10 p-3"};case"md":default:return{normalContent:"min-w-20 h-8 px-3 py-1 text-sm",iconContent:"h-8 w-8 p-2"}}}),l=e.ref(null),a=Se(l),i=e.computed(()=>r.hoverVariant&&a.value?r.hoverVariant:r.variant??"default"),s=e.computed(()=>r.color??"primary"),c=Te(i,s);return(u,d)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.is),e.mergeProps({ref_key:"btn",ref:l,"data-size":u.size,type:u.type,class:["flex items-center justify-center gap-1 decoration-none",[e.unref(c).class,e.unref(n).class,u.icon?o.value.iconContent:o.value.normalContent,{"opacity-60 pointer-events-none select-none":u.disabled,"active:translate-y-0.25":u.pressEffect==="translate"}]],style:[e.unref(c).style,e.unref(n).style],disabled:u.disabled},u.$attrs),{default:e.withCtx(()=>[u.$slots.leftSection?e.renderSlot(u.$slots,"leftSection",{key:0}):e.createCommentVNode("",!0),e.renderSlot(u.$slots,"default"),u.$slots.rightSection?e.renderSlot(u.$slots,"rightSection",{key:1}):e.createCommentVNode("",!0)]),_:3},16,["data-size","type","style","class","disabled"]))}}),Vn=e.defineComponent({__name:"BtnGroup",props:e.mergeModels({selections:{},default:{},color:{default:"primary"},unselectable:{type:Boolean,default:void 0}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.computed(()=>r.unselectable===void 0?r.selections.length===1:r.unselectable);function o(d){return typeof d=="string"?d:d.label??d.value}function l(d){return typeof d=="string"?d:d.value}function a(d){return typeof d=="string"?void 0:d.icon}const i=e.useModel(t,"modelValue");function s(d){l(d)===i.value&&n.value?i.value=void 0:i.value=l(d)}const c=e.computed(()=>r.selections.length===1),u=e.computed(()=>c.value?null:"first-children:rounded-r-0 first-children:border-r-none last-children:rounded-l-0 last-children:border-l-none not-first-children:rounded-l-0 not-last-children:rounded-r-0");return(d,f)=>{const p=Ne;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["w-auto inline-flex container",[u.value]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.selections,(m,g)=>(e.openBlock(),e.createBlock(p,{key:l(m),model:i.value,variant:l(m)===i.value?"filled":void 0,color:r.color,class:e.normalizeClass({"border-x-none":g!==0&&g!==r.selections.length-1}),onClick:h=>s(m)},{default:e.withCtx(()=>[a(m)?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(a(m))},null,2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(o(m)),1)]),_:2},1032,["model","variant","color","class","onClick"]))),128))],2)}}}),Hn=(t,r)=>{const n=t.__vccOpts||t;for(const[o,l]of r)n[o]=l;return n},Tn={},Nn={class:"flex flex-col gap-4 container"};function Rn(t,r){return e.openBlock(),e.createElementBlock("div",Nn,[e.renderSlot(t.$slots,"default")])}const In=Hn(Tn,[["render",Rn]]),Dn=e.defineComponent({__name:"ChatMessage",props:{avatar:{},position:{default:"left"},color:{default:"primary"},variant:{default:"default"},withBorder:{type:Boolean,default:!1}},setup(t){const r=t,n=e.computed(()=>r.variant),o=e.computed(()=>r.color),l=xe(n,o);return(a,i)=>{const s=at;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex gap-2",[{"flex-row-reverse":a.position==="right","flex-row":a.position==="left"}]])},[a.$slots.avatar?e.renderSlot(a.$slots,"avatar",{key:0}):a.avatar?(e.openBlock(),e.createBlock(s,{key:1,src:a.avatar},null,8,["src"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col gap-1 rounded-xl p-2",[{"rounded-tr":a.position==="right","rounded-tl":a.position==="left",border:a.withBorder},e.unref(l).class]]),style:e.normalizeStyle([e.unref(l).style])},[e.renderSlot(a.$slots,"default")],6)],2)}}}),Pn={class:"w-full flex self-center gap-2 text-center"},On=e.defineComponent({__name:"ChatSystem",props:{position:{},color:{default:"default"},variant:{default:"default"},withBorder:{type:Boolean,default:!1}},setup(t){const r=t,n=e.computed(()=>r.variant),o=e.computed(()=>r.color),l=xe(n,o);return(a,i)=>(e.openBlock(),e.createElementBlock("div",Pn,[e.createElementVNode("div",{class:e.normalizeClass(["w-full rounded-xl px-3 py-2",[e.unref(l).class]]),style:e.normalizeStyle(e.unref(l).style)},[e.renderSlot(a.$slots,"default")],6)]))}}),Fn=e.defineComponent({__name:"Chip",props:{is:{default:"img"},src:{},size:{default:"md"},color:{default:"primary"},variant:{default:"default"},rounded:{default:"full"}},setup(t){const r=t,n=G(r),o=e.computed(()=>{switch(r.size){case"sm":return"px-3 py-0.5 text-xs";case"md":return"px-4 py-0.5 text-sm";case"lg":return"px-5 py-0.5 text-base";default:return""}}),l=e.computed(()=>r.variant),a=e.computed(()=>r.color),i=xe(l,a);return(s,c)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["inline-block h-fit inline-flex items-center gap-1",[e.unref(n).class,e.unref(i).class,o.value]]),style:e.normalizeStyle([e.unref(n).style,e.unref(i).style])},[s.$slots.leftSection?e.renderSlot(s.$slots,"leftSection",{key:0}):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"default"),s.$slots.rightSection?e.renderSlot(s.$slots,"rightSection",{key:1}):e.createCommentVNode("",!0)],6))}}),Dt=e.defineComponent({__name:"ColorSwatch",props:{color:{},is:{default:"div"},withBorder:{type:Boolean,default:!1}},setup(t){return(r,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.is),e.mergeProps({class:["h-6 w-6 border rounded-full",[{border:r.withBorder}]]},e.unref(Tt),{style:{backgroundColor:r.color}}),null,16,["class","style"]))}}),Ln=["id","alt"],Wn=["for"],jn={key:0},Gn=e.defineComponent({__name:"ColorInput",props:e.mergeModels({label:{},withBorder:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=e.useModel(t,"modelValue"),n=e.useAttrs(),o=Ae(n),l=e.ref(null);return(a,i)=>{const s=Dt;return e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("input",{id:e.unref(o),ref_key:"input",ref:l,"onUpdate:modelValue":i[0]||(i[0]=c=>r.value=c),alt:r.value,type:"color",class:"pointer-events-none absolute opacity-0"},null,8,Ln),[[e.vModelText,r.value]]),e.createElementVNode("label",{class:"flex items-center gap-2",for:e.unref(o)},[e.createVNode(s,{"with-border":a.withBorder,class:"cursor-pointer",color:r.value??"#222"},null,8,["with-border","color"]),a.label?(e.openBlock(),e.createElementBlock("span",jn,e.toDisplayString(a.label),1)):e.createCommentVNode("",!0)],8,Wn)])}}}),Pt=Symbol("rokuProvider");function Xn(){return e.inject(Pt,e.ref(null))}function Un(t){return e.provide(Pt,t)}const lt=e.defineComponent({__name:"FullscreenOverlay",props:e.mergeModels({persistent:{type:Boolean,default:!1},blur:{type:[String,Boolean],default:!1},wrapperClass:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.useModel(t,"modelValue"),o=e.ref(null);function l(c){r.persistent||c.target===o.value&&(n.value=!1)}const a=e.computed(()=>{switch(r.blur){case"sm":return"backdrop-blur-sm";case"md":case!0:return"backdrop-blur-md";case"lg":return"backdrop-blur-lg";default:return""}}),i=e.ref(0);e.watchEffect(()=>{n.value?(document.body.style.overflow="hidden",document.body.style.marginRight=`${i.value}px`):setTimeout(()=>{document.querySelector(".modal-wrapper.op100")||(document.body.style.overflow="",document.body.style.marginRight="")},300)}),typeof window<"u"&&new ResizeObserver(()=>{const u=window.innerWidth-document.body.clientWidth;u!==0&&(i.value=u)}).observe(document.body);const s=Xn();return(c,u)=>(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(s)??"body"},[e.createElementVNode("div",{ref_key:"wrapperRef",ref:o,class:e.normalizeClass(["modal-wrapper fixed left-0 top-0 z-100 h-full w-full bg-surface-10/10 transition-all duration-100 md:items-center",[a.value,c.wrapperClass,{"op0 pointer-events-none":!n.value,op100:n.value}]]),onClick:l},[e.renderSlot(c.$slots,"default")],2)],8,["to"]))}}),Yn={class:"flex justify-end p-4 md:px-6 md:py-4 md:pb-0"},qn={class:"h-full flex flex-col items-center justify-center px-4 md:px-6"},Kn=e.defineComponent({__name:"Drawer",props:e.mergeModels({persistent:{type:Boolean,default:!1},blur:{type:[String,Boolean],default:!1},position:{default:"left"}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.useModel(t,"modelValue");return(o,l)=>{const a=Ne,i=lt;return e.openBlock(),e.createBlock(i,{modelValue:n.value,"onUpdate:modelValue":l[1]||(l[1]=s=>n.value=s),blur:r.blur,persistent:r.persistent},{default:e.withCtx(()=>[e.createVNode(e.Transition,{"enter-from-class":o.position==="left"?"-translate-x-1/1":"translate-x-1/1","enter-to-class":(o.position==="left","translate-x-0"),"leave-from-class":(o.position==="left","translate-x-0"),"leave-to-class":o.position==="left"?"-translate-x-1/1":"translate-x-1/1","enter-active-class":"transition ease-out duration-300","leave-active-class":"transition ease-in duration-200"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["bg-surface-low fixed h-full w-full md:w-md",o.position==="left"?"left-0":"right-0"])},[e.createElementVNode("div",Yn,[e.createVNode(a,{icon:"",variant:"transparent",class:"text-surface-on hover:text-surface-on",onPointerup:l[0]||(l[0]=s=>n.value=!1)},{default:e.withCtx(()=>l[2]||(l[2]=[e.createElementVNode("i",{class:"i-fluent-dismiss-12-filled"},null,-1)])),_:1})]),e.createElementVNode("div",qn,[e.renderSlot(o.$slots,"default")])],2)):e.createCommentVNode("",!0)]),_:3},8,["enter-from-class","enter-to-class","leave-from-class","leave-to-class"])]),_:3},8,["modelValue","blur","persistent"])}}}),Jn=e.defineComponent({__name:"Dropzone",props:{dashed:{type:Boolean,default:!0},accept:{default:"*"}},emits:["drop"],setup(t,{emit:r}){const n=t,o=r,l=e.ref(),{onChange:a,open:i}=Qr({accept:n.accept});a(d=>{d?o("drop",Array.from(d)):o("drop",null)});const{isOverDropZone:s}=Jr(l,{onDrop:d=>{o("drop",d)}}),c=Te("default"),u=nt();return(d,f)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"dropZoneRef",ref:l,class:e.normalizeClass([[e.unref(c).class,e.unref(s)&&e.unref(u).class,{"bg-surface-low":!e.unref(s),"border-dashed":d.dashed}],"h-full w-full flex cursor-pointer items-center justify-center border rounded"]),style:e.normalizeStyle([e.unref(c).style,e.unref(s)&&e.unref(u).style]),onPointerup:f[0]||(f[0]=()=>e.unref(i)())},[e.renderSlot(d.$slots,"default")],38))}}),Zn=e.defineComponent({__name:"Image",props:{is:{default:"img"},src:{},style:{},class:{},width:{},maxWidth:{},height:{},maxHeight:{},rounded:{default:"none"}},setup(t){const r=t,n=e.ref(!1),o=e.ref(null);function l(){n.value=!0}e.onMounted(()=>{var i;(i=o.value)!=null&&i.complete&&l()});const a=G(r);return(i,s)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle({height:i.height,width:i.width,maxHeight:i.maxHeight,maxWidth:i.maxWidth})},[i.src?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.is),e.mergeProps({key:0,ref_key:"img",ref:o,style:[i.style,e.unref(a).style],src:i.src,class:["h-full w-full object-cover",[r.class,e.unref(a).class,{hidden:!n.value}]]},i.$attrs,{onLoad:l}),null,16,["style","src","class"])):e.createCommentVNode("",!0),n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["h-full w-full animate-pulse border-transparent object-cover",[r.class,e.unref(a).class]]),style:e.normalizeStyle([i.style,e.unref(a).style])},null,6))],4))}}),Qn={class:"relative"},eo=e.defineComponent({__name:"Indicator",props:{color:{default:"primary"},size:{default:"md"},position:{default:"top-right"},ping:{type:Boolean}},setup(t){const r=t,n=e.computed(()=>{switch(r.size){case"sm":return"w-2 h-2";case"md":return"w-3 h-3";case"lg":return"w-4 h-4";default:return typeof r.size=="number"||!Number.isNaN(Number(r.size))?`w-${r.size} h-${r.size}`:r.size}}),o=e.useSlots(),l=e.computed(()=>{if(!o.label)return"";switch(r.size){case"sm":return"text-sm children:px-1.5";case"lg":return"text-lg children:px-2.5";case"md":default:return"text-md children:px-2"}}),a=e.computed(()=>{switch(r.position){case"bottom-left":return"bottom-0 left-0 -translate-x-1/2 translate-y-1/2";case"bottom-right":return"bottom-0 right-0 translate-x-1/2 translate-y-1/2";case"top-left":return"top-0 left-0 -translate-x-1/2 -translate-y-1/2";case"top-right":default:return"top-0 right-0 translate-x-1/2 -translate-y-1/2"}}),i=e.computed(()=>r.color),s=Rt(i);return(c,u)=>(e.openBlock(),e.createElementBlock("div",Qn,[e.createElementVNode("div",{class:e.normalizeClass([[a.value,l.value],"absolute z-1"])},[r.ping?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["absolute box-content animate-ping border-2 border-transparent rounded-full",[{[n.value]:!c.$slots.label},e.unref(s).class]]),style:e.normalizeStyle([e.unref(s).style])},[c.$slots.label?e.renderSlot(c.$slots,"label",{key:0}):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["border-surface-low top-0 box-content border-2 rounded-full",[{[n.value]:!c.$slots.label},e.unref(s).class]]),style:e.normalizeStyle(e.unref(s).style)},[c.$slots.label?e.renderSlot(c.$slots,"label",{key:0}):e.createCommentVNode("",!0)],6)],2),e.renderSlot(c.$slots,"default")]))}}),to=e.defineComponent({__name:"Modal",props:e.mergeModels({persistent:{type:Boolean,default:!1},blur:{type:[String,Boolean],default:!1}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.useModel(t,"modelValue");return(o,l)=>{const a=lt;return e.openBlock(),e.createBlock(a,{modelValue:n.value,"onUpdate:modelValue":l[0]||(l[0]=i=>n.value=i),blur:r.blur,persistent:r.persistent,"wrapper-class":"flex items-end justify-center"},{default:e.withCtx(()=>[e.createVNode(e.Transition,{"enter-from-class":"translate-y-1/2","enter-to-class":"translate-y-0","leave-from-class":"translate-y-0","leave-to-class":"translate-y-1/2","enter-active-class":"transition ease-out duration-100","leave-active-class":"transition ease-in duration-100"},{default:e.withCtx(()=>[n.value?e.renderSlot(o.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),_:3})]),_:3},8,["modelValue","blur","persistent"])}}}),ro={key:0,class:"text-[var(--l-text)] leading-0 dark:text-[var(--d-text)]"},no={key:0,class:"h-container w-container i-tabler-loader-2 shrink-0 animate-spin"},oo={key:1},lo={class:"grow-1"},ao={key:1,class:"i-fluent-dismiss-12-filled"},Ot=e.defineComponent({__name:"Notification",props:{title:{},message:{},icon:{},loading:{type:Boolean},withBorder:{type:Boolean},closeable:{type:Boolean},rounded:{default:"md"},block:{type:Boolean,default:!1},color:{default:"primary"},size:{default:"md"}},emits:["close"],setup(t){const r=t,n=G(r),o=e.computed(()=>r.color),l=ge(o),a=He(),i=e.computed(()=>{switch(r.size){case"sm":return"min-h-10 p-1";case"lg":return"min-h-16 p-4";case"md":default:return"min-h-16 p-3"}});return(s,c)=>{const u=Ne;return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:["container-low relative min-w-80 w-full flex items-center gap-2 pl-4",[{"border-0":!s.withBorder},e.unref(n).class,i.value,{"max-w-100":!s.block,"w-full":s.block}]],style:[e.unref(n).style]},e.unref(a)),[s.icon?(e.openBlock(),e.createElementBlock("div",ro,[s.loading?(e.openBlock(),e.createElementBlock("i",no)):(e.openBlock(),e.createElementBlock("i",{key:1,class:e.normalizeClass(["h-container w-container shrink-0",s.icon])},null,2))])):(e.openBlock(),e.createElementBlock("div",oo,[e.createElementVNode("div",e.mergeProps({class:["absolute left-[0.25rem] top-[0.25rem] h-[calc(100%-0.5rem)] w-1 rounded-full bg-[var(--d-bg)] dark:bg-[var(--d-bg)]",[{"animate-pulse":s.loading}]]},e.unref(l)),null,16)])),e.createElementVNode("div",lo,[s.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-[var(--l-text)] dark:text-[var(--d-text)]",{"text-xs":s.size==="sm","text-sm":s.size==="md","text-base":s.size==="lg"}])},e.toDisplayString(s.title),3)):e.createCommentVNode("",!0),s.$slots.message?e.renderSlot(s.$slots,"message",{key:1}):s.message?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["text-surface-on-low op-50",{"text-xs":s.size==="sm","text-sm":s.size==="md"||s.size==="lg"}])},e.toDisplayString(s.message),3)):e.createCommentVNode("",!0)]),s.closeable?(e.openBlock(),e.createBlock(u,{key:2,icon:"",variant:"transparent",onClick:c[0]||(c[0]=d=>s.$emit("close"))},{default:e.withCtx(()=>[s.$slots.closeIcon?e.renderSlot(s.$slots,"close-icon",{key:0}):(e.openBlock(),e.createElementBlock("i",ao))]),_:3})):e.createCommentVNode("",!0)],16)}}}),so={class:"pointer-events-none fixed z-20 h-full w-full children:pointer-events-auto"},io=e.defineComponent({__name:"NotificationSystem",props:{position:{default:"top-right"},gap:{default:8},pt:{default:16},pl:{default:8},pr:{default:8},pb:{default:16}},setup(t){const r=t,n=ht(),o=e.ref([]),l=e.computed(()=>o.value.map(c=>c.getBoundingClientRect())),a=e.computed(()=>{let c=0,u=0,d=0,f=0,p=0,m=0;const g=[];for(let h=0;h<l.value.length;h++){const S=n.value[h];S&&(S.position||(S.position=r.position),S.position==="top-left"?(g.push(c),c+=l.value[h].height+r.gap):S.position==="top-right"?(g.push(u),u+=l.value[h].height+r.gap):S.position==="top"?(g.push(d),d+=l.value[h].height+r.gap):S.position==="bottom-left"?(g.push(f),f+=l.value[h].height+r.gap):S.position==="bottom-right"?(g.push(p),p+=l.value[h].height+r.gap):S.position==="bottom"&&(g.push(m),m+=l.value[h].height+r.gap))}return g});function i(c,u){if(u||(u=r.position),u==="top-left")return{top:`${c+r.pt}px`,left:`${r.pl}px`};if(u==="top-right")return{top:`${c+r.pt}px`,right:`${r.pr}px`};if(u==="top")return{top:`${c+r.pt}px`,left:"50%",transform:"translateX(-50%)"};if(u==="bottom-left")return{bottom:`${c+r.pb}px`,left:`${r.pl}px`};if(u==="bottom-right")return{bottom:`${c+r.pb}px`,right:`${r.pr}px`};if(u==="bottom")return{bottom:`${c+r.pb}px`,left:"50%",transform:"translateX(-50%)"}}const s=e.ref({});return e.watchEffect(()=>{n.value.forEach(c=>{if(c.durationMS&&c.durationMS>0){if(s.value[c.hash])return;s.value[c.hash]=setTimeout(()=>{n.value.splice(n.value.indexOf(c),1)},c.durationMS)}})}),(c,u)=>{const d=Ot;return e.openBlock(),e.createElementBlock("div",so,[e.createVNode(e.TransitionGroup,{"enter-from-class":"op0","enter-to-class":"op100","leave-from-class":"op100","leave-to-class":"op0"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n),(f,p)=>(e.openBlock(),e.createElementBlock("div",{key:f.hash,ref_for:!0,ref_key:"notificationRefs",ref:o,class:"absolute transition-top,bottom,opacity",style:e.normalizeStyle(i(a.value[p],f.position))},[e.createVNode(d,{"with-border":"",closeable:"",title:f.title,message:f.message,icon:f.icon,loading:f.loading,color:f.color,onClose:m=>e.unref(n).splice(e.unref(n).indexOf(f),1)},null,8,["title","message","icon","loading","color","onClose"])],4))),128))]),_:1})])}}}),co={class:"relative"},Ft=e.defineComponent({__name:"Overlay",props:{blur:{type:[Boolean,String],default:!1},rounded:{default:"none"},opacity:{default:30},color:{default:"black"}},setup(t){const r=t,n=e.computed(()=>{switch(r.blur){case"sm":return"backdrop-blur-sm";case"md":case!0:return"backdrop-blur-md";case"lg":return"backdrop-blur-lg";default:return""}}),o=G(r),l=e.ref(null),a=M(r.color).toRgb(),i=e.computed(()=>({backgroundColor:`rgba(${a.r}, ${a.g}, ${a.b}, ${r.opacity/100})`}));return(s,c)=>(e.openBlock(),e.createElementBlock("div",co,[e.renderSlot(s.$slots,"default"),e.createElementVNode("div",e.mergeProps(s.$attrs,{ref_key:"wrapperRef",ref:l,class:[[n.value,e.unref(o).class],"absolute left-0 top-0 h-full w-full overflow-hidden md:items-center"],style:[e.unref(o).style,i.value]}),[e.renderSlot(s.$slots,"content")],16)]))}}),Lt=e.defineComponent({__name:"Paper",props:{rounded:{default:"md"},loading:{type:Boolean,default:!1},is:{default:"div"},color:{default:"primary"},traceAnimate:{type:Boolean,default:!1},withBorder:{type:Boolean,default:!1},noPadding:{type:Boolean,default:!1}},setup(t){const r=t,n=e.computed(()=>r.color),o=e.computed(()=>r.loading),l=G(r),{x:a,y:i}=ze({type:"client"}),s=e.ref(null),{width:c,height:u,top:d,left:f}=re(s),p=e.computed(()=>Math.min(c.value,u.value)),m=e.computed(()=>!c.value||!u.value?[]:o.value?[{backgroundPosition:"0% 0%",offset:0},{backgroundPosition:"0% 100%",offset:.25},{backgroundPosition:"100% 100%",offset:.5},{backgroundPosition:"100% 0%",offset:.75}]:[]);let g;const h=e.computed(()=>oe(n.value).value[5]),S=e.computed(()=>{var y;return r.loading?(g?g.play():g=(y=s.value)==null?void 0:y.animate(m.value,{duration:1e3,iterations:Number.POSITIVE_INFINITY}),{"--main-color":h.value,"--gradient":`radial-gradient(circle at center, var(--main-color) ${p.value*.5}px, var(--border-color) ${p.value*.5}px)`,"--border-color":"var(--r-surface-border-color)","--bg":"var(--r-surface-background-color)",background:"linear-gradient(var(--bg), var(--bg)) padding-box, var(--gradient) border-box","border-color":"transparent","background-color":"var(--bg)","background-size":"200% 200%"}):(g&&g.pause(),{background:"var(--r-surface-background-color)"})}),v=e.computed(()=>{if(r.traceAnimate){const y=e.computed(()=>({x:f.value+c.value/2,y:d.value+u.value/2})),C=e.computed(()=>{if(a.value<f.value||a.value>f.value+c.value||i.value<d.value||i.value>d.value+u.value)return{x:a.value,y:i.value};const E=y.value.x,x=y.value.y;let _,b;const B=(i.value-x)/(a.value-E);return a.value<E?(_=f.value,b=x+B*(f.value-E)):(_=f.value+c.value,b=x+B*(_-E)),b<d.value?(b=d.value,_=E+(b-x)/B):b>d.value+u.value&&(b=d.value+u.value,_=E+(b-x)/B),{x:_,y:b}});return{"--main-color":h.value,"--border-color":"var(--r-surface-border-color)","--bg":"var(--r-surface-background-color)","--gradient":`radial-gradient(circle at ${C.value.x-f.value}px ${C.value.y-d.value}px, var(--main-color) ${p.value*.5}px, var(--border-color) ${p.value*.5}px)`,background:"linear-gradient(var(--bg), var(--bg)) padding-box, var(--gradient) border-box","background-size":"200% 200%","background-color":"var(--bg)"}}else return{}});return(y,C)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.is),e.mergeProps({ref_key:"paperRef",ref:s,class:["relative border",[{"p-4":!y.noPadding},e.unref(l).class]],style:[e.unref(l).style,S.value,v.value]},y.withBorder&&!y.traceAnimate&&!o.value?{class:"border-[var(--r-surface-border-color)]"}:{class:"border-transparent"}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"default")]),_:3},16,["class","style"]))}}),uo=["for"],fo={key:1},po=["id","placeholder","type"],Wt=e.defineComponent({__name:"TextField",props:e.mergeModels({onChange:{},color:{default:"primary"},error:{type:Boolean},disabled:{type:Boolean},rounded:{default:"md"},size:{default:"md"},password:{type:Boolean},placeholder:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t,{expose:r}){const n=t,o=e.useModel(t,"modelValue"),l=e.computed(()=>{switch(n.size){case"sm":return{base:"h-6 px-2 py-1 text-xs"};case"lg":return{base:"h-10 px-4 py-2 text-base"};case"md":default:return{base:"h-8 px-3 py-1 text-sm"}}}),a=e.computed(()=>{switch(n.size){case"sm":return"text-xs";case"lg":return"md-md";case"md":default:return"text-sm"}}),i=e.computed(()=>n.color),s=ot(i),c=e.computed(()=>n.disabled?"pointer-events-none select-none filter opacity-60":""),u=G(n),d=e.ref(null);r({el:d});const f=e.useAttrs(),p=Ae(f);return(m,g)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle([e.unref(s)])},[m.$slots.label||m.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:e.unref(p),class:e.normalizeClass(["mb-1 block",[a.value]])},[m.$slots.label?e.renderSlot(m.$slots,"label",{key:0}):(e.openBlock(),e.createElementBlock("span",fo,e.toDisplayString(m.label),1))],10,uo)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",e.mergeProps({id:e.unref(p)},m.$attrs,{ref_key:"input",ref:d,"onUpdate:modelValue":g[0]||(g[0]=h=>o.value=h),class:["w-full border px-2 py-1 outline-none custom-input-colors",[c.value,e.unref(u).class,l.value.base]],style:[e.unref(u).style],placeholder:m.placeholder,type:n.password?"password":"text"}),null,16,po),[[e.vModelDynamic,o.value]])],4))}}),mo={class:"flex gap-2"},ho=e.defineComponent({__name:"PinInput",props:{modelValue:{},length:{default:6},size:{},password:{type:Boolean}},setup(t){const r=t,n=e.ref([]);function o(s){s.preventDefault(),s.stopPropagation();const c=n.value.findIndex(d=>d.el===s.target),u=s.target.value??"";s.target.value="",Array.from(u).forEach((d,f)=>{c+f>=n.value.length||(n.value[c+f].el.value=d,c+f+1<n.value.length?(n.value[c+f+1].el.focus(),n.value[c+f+1].el.select()):n.value[c+f].el.blur())})}function l(s){s.preventDefault(),s.stopPropagation();const c=s.target.value!=="";s.target.value="";const u=n.value.findIndex(d=>d.el===s.target);u!==0&&(n.value[u-1].el.focus(),n.value[u-1].el.select(),c||(n.value[u-1].el.value=""))}function a(s){s.preventDefault(),s.stopPropagation();const c=n.value.findIndex(u=>u.el===s.target);c>0&&(n.value[c-1].el.focus(),n.value[c-1].el.select())}function i(s){s.preventDefault(),s.stopPropagation();const c=n.value.findIndex(u=>u.el===s.target);c<n.value.length-1&&(n.value[c+1].el.focus(),n.value[c+1].el.select())}return(s,c)=>(e.openBlock(),e.createElementBlock("div",mo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.length,u=>(e.openBlock(),e.createBlock(Wt,{ref_for:!0,ref_key:"inputs",ref:n,key:u,class:"w-8 text-center",style:{padding:"0"},password:r.password,onPointerup:c[0]||(c[0]=d=>d.target.select()),onInput:e.withModifiers(o,["stop","prevent"]),onKeydown:[e.withKeys(l,["backspace"]),e.withKeys(a,["arrow-left"]),e.withKeys(i,["arrow-right"])]},null,8,["password"]))),128))]))}}),go=e.defineComponent({__name:"Popover",props:e.mergeModels({trigger:{default:"click"},position:{default:"bottom"},zIndex:{default:1e4},offset:{default:4},overlay:{type:Boolean,default:!1}},{modelValue:{default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.ref(null),o=e.ref(null),l=re(n),a=re(o),i=e.computed(()=>{switch(r.position){case"top-start":return"top-0 left-0";case"top-end":return"top-0 right-0";case"bottom-end":return"top-100% right-0";case"bottom-start":return"top-100% left-0";case"bottom":return"top-100% left-50%";default:return"top-100%"}}),s=e.computed(()=>{switch(r.position){case"top-start":case"top-end":return{top:`${-a.height.value-r.offset}px`};case"top":return{top:`${-a.height.value-r.offset}px`,left:`${-a.width.value/2+l.width.value/2}px`};case"bottom-start":case"bottom-end":return{marginTop:`${r.offset}px`};case"bottom":return{top:`${l.height.value+r.offset}px`,left:`${-a.width.value/2+l.width.value/2}px`};case"left-start":return{left:`${-a.width.value-r.offset}px`,top:0};case"left-end":return{left:`${-a.width.value-r.offset}px`,top:`${-a.height.value+l.height.value}px`};case"left":return{left:`${-a.width.value-r.offset}px`,top:`${-a.height.value/2+l.height.value/2}px`};case"right-start":return{left:`${r.offset+l.width.value}px`,top:0};case"right-end":return{left:`${r.offset+l.width.value}px`,top:`${-a.height.value+l.height.value}px`};case"right":return{left:`${l.width.value+r.offset}px`,top:`${-a.height.value/2+l.height.value/2}px`};default:return{}}}),c=Se(n),u=e.useModel(t,"modelValue"),d=e.computed(()=>r.trigger==="hover"?c.value:u.value);function f(p){var m;!((m=n.value)!=null&&m.contains(p.target))||p.target===n.value||(u.value=!u.value)}return kt(o,p=>{var m;(m=n.value)!=null&&m.contains(p.target)?u.value=!0:u.value=!1}),(p,m)=>{const g=Ft;return e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:n,class:"relative"},[e.createElementVNode("div",{onPointerup:f},[e.renderSlot(p.$slots,"default")],32),d.value&&p.overlay?(e.openBlock(),e.createBlock(g,{key:0,opacity:0,class:"fixed inset-0 z-10",style:e.normalizeStyle({zIndex:p.zIndex}),onPointerup:m[0]||(m[0]=h=>u.value=!1)},null,8,["style"])):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"contentRef",ref:o,class:e.normalizeClass([i.value,"absolute children:w-max"]),style:e.normalizeStyle([s.value,{zIndex:p.zIndex}])},[e.renderSlot(p.$slots,"content")],6)):e.createCommentVNode("",!0)],512)}}}),yo=e.defineComponent({__name:"Progress",props:{value:{default:0},max:{default:100},min:{default:0},size:{default:"md"},color:{default:"primary"},rounded:{default:"full"},loading:{type:Boolean,default:!1}},setup(t){const r=t,n=e.computed(()=>{switch(r.size){case"sm":return"h-0.25";case"md":return"h-0.5";case"lg":return"h-1";default:return"h-0.5"}}),o=e.computed(()=>r.color),l=ge(o),a=ye("bg",{dark:7,light:3}),i=G(r);return(s,c)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:["relative w-full self-center overflow-hidden",[n.value,e.unref(i).class]],style:[e.unref(i).style]},e.unref(a)),[s.loading?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1,class:"loading-progress h-full"},e.unref(l)),null,16)):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,class:"h-full"},e.unref(l),{style:[{width:`${(Number(s.value)-Number(s.min))/(Number(s.max)-Number(s.min))*100}%`}]}),null,16))],16))}}),bo=["onMouseover","onPointerdown"],wo="#ffeb91",So="text-[var(--d-text)]",ko="text-surface-on-low",vo="text-[var(--d-text-h)]",xo="i-fluent-star-12-filled",Co="i-fluent-star-12-filled",_o=e.defineComponent({__name:"Rating",props:e.mergeModels({count:{},icons:{},color:{default:"#ffeb91"},highlightSelectedOnly:{type:Boolean},unselectable:{type:Boolean},size:{}},{modelValue:{default:0},modelModifiers:{}}),emits:e.mergeModels(["select"],["update:modelValue"]),setup(t,{emit:r}){const n=t,o=r,l=e.computed(()=>n.count??5),a=e.useModel(t,"modelValue"),i=e.computed(()=>n.highlightSelectedOnly??!1),s=e.computed(()=>n.unselectable??!1),c=e.ref(-1),u=e.computed(()=>d(n.icons,l.value,xo,Co));function d(y,C,E,x){function _(B){return typeof B=="string"?{active:B,normal:B}:B===void 0?{active:x,normal:E}:{active:B.active||x,normal:B.normal||E}}if(y===void 0)return Array.from({length:C},()=>({active:x,normal:E}));let b;if(typeof y=="string")b={active:y,normal:y};else if(Array.isArray(y)){const B=y.map(z=>_(z));return B.length===1?(b=B[0],Array.from({length:C},()=>({...b}))):B.slice(0,C).concat(Array.from({length:Math.max(0,C-B.length)},()=>({active:x,normal:E})))}else b={active:y.active||x,normal:y.normal||E};return Array.from({length:C},()=>({...b}))}function f(y){return i.value?c.value!==-1?c.value===y+1:a.value===y+1:c.value!==-1?c.value>y:a.value>=y+1}function p(y){const C=u.value[y].normal,E=u.value[y].active;return f(y)?[i.value?vo:So,E]:[ko,C]}const g=e.computed(()=>{if(typeof n.color=="string")return Array.from({length:l.value}).map(()=>n.color);const y=Array.from({length:l.value}).map(()=>wo);return n.color.forEach((C,E)=>{C&&(y[E]=C)}),y}).value.map(y=>xe("filled",y)),h=O({color:"surface",type:"text",index:{dark:6,light:4}});function S(y){a.value===y&&s.value?(o("select",0),a.value=0):(o("select",y+1),a.value=y+1)}const v=e.computed(()=>{switch(n.size){case"sm":return"text-xs";case"lg":return"text-lg";case"md":default:return"text-base"}});return(y,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex cursor-pointer",v.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(E,x)=>(e.openBlock(),e.createElementBlock("div",{key:x,class:"pr-1",onMouseover:_=>c.value=x+1,onMouseleave:C[0]||(C[0]=_=>c.value=-1),onPointerdown:_=>S(x)},[e.createElementVNode("i",e.mergeProps({ref_for:!0},f(x)?e.unref(g)[x].value:e.unref(h),{class:["active:translate-y-1px",[p(x)]]}),null,16)],40,bo))),128))],2))}}),Bo=e.defineComponent({__name:"RokuProvider",props:{is:{default:"div"},theme:{default:"default"},themes:{default:()=>({default:tt.value})}},setup(t){const r=t,n=At(),o=e.computed(()=>r.themes[r.theme]);e.watchEffect(()=>{Z.value=typeof o.value.colors.surface=="string"?o.value.colors.surface:Z.value,ie.value=typeof o.value.colors.primary=="string"?o.value.colors.primary:ie.value,ce.value=typeof o.value.colors.secondary=="string"?o.value.colors.secondary:ce.value,ue.value=typeof o.value.colors.tertiary=="string"?o.value.colors.tertiary:ue.value,de.value=typeof o.value.colors.error=="string"?o.value.colors.error:de.value});const l=e.ref(null),a=e.computed(()=>Ue({colors:{surface:Z.value,primary:ie.value,secondary:ce.value,tertiary:ue.value,error:de.value},name:o.value.name}));return e.provide(zt,n),e.provide("currentThemeData",e.computed(()=>o.value)),Un(l),(i,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.is),{ref_key:"wrapperRef",ref:l,style:e.normalizeStyle([a.value])},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["style"]))}}),Eo=["id"],Mo=["for"],$o=["for"],jt=e.defineComponent({inheritAttrs:!1,__name:"Switch",props:e.mergeModels({size:{default:"md"},animate:{type:Boolean,default:!0},options:{},label:{},id:{},rounded:{default:"full"},color:{default:"primary"},disabled:{type:Boolean},offIcon:{},onIcon:{},value:{type:Boolean},indicatorIcon:{},onIndicatorIcon:{},offIndicatorIcon:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.useModel(t,"modelValue");r.value&&(n.value=r.value);const o=e.ref(null),l=e.ref(!1),a=e.computed(()=>{switch(r.size){case"sm":return{icon:"text-xs mx-0.5",wrapper:"h-4 w-8",indicator:l.value?"h-3 w-4":"h-3 w-3",inactive:"left-[calc(0.125rem-1px)]",active:l.value?"left-[calc(0.875rem-1px)]":"left-[calc(1.125rem-1px)]"};case"lg":return{icon:"text-lg mx-2",wrapper:"h-8 w-16",indicator:l.value?"h-6 w-8":"h-6 w-6",inactive:"left-[calc(0.25rem-1px)]",active:l.value?"left-[calc(1.75rem-1px)]":"left-[calc(2.25rem-1px)]"};case"md":default:return{icon:"text-sm mx-1",wrapper:"h-6 w-12",indicator:l.value?"h-4 w-5":"h-4 w-4",inactive:"left-[calc(0.25rem-1px)]",active:l.value?"left-[calc(1.5rem-1px)]":"left-[calc(1.75rem-1px)]"}}}),i=e.computed(()=>r.animate?{indicator:"transition-all",progress:"transition-width"}:{indicator:"",progress:""}),s=Ae(r),c=ye("bg",{dark:7,light:3}),u=_e(r.color,"bg",5),d=_e(r.color,"text",5),f=e.computed(()=>({wrapper:n.value?[u.value.class]:[c.value.class],indicator:"bg-white shadow"})),p=e.computed(()=>({wrapper:n.value?u.value.style:c.value.style,indicator:n.value?{}:""})),m=G(r);return(g,h)=>(e.openBlock(),e.createElementBlock("div",{role:"switch",class:e.normalizeClass(["relative flex items-center gap-2",{"pointer-events-none filter-grayscale op-60":r.disabled}])},[e.withDirectives(e.createElementVNode("input",e.mergeProps({id:e.unref(s),"onUpdate:modelValue":h[0]||(h[0]=S=>n.value=S)},g.$attrs,{class:"hidden",type:"checkbox"}),null,16,Eo),[[e.vModelCheckbox,n.value]]),e.createElementVNode("label",{class:"leading-0 cursor-pointer!",for:e.unref(s)},[e.createElementVNode("div",{ref_key:"wrapper",ref:o,class:e.normalizeClass([[a.value.wrapper,...f.value.wrapper,e.unref(m).class],"relative inline-block"]),style:e.normalizeStyle([e.unref(m).style,p.value.wrapper]),onPointerdown:h[1]||(h[1]=S=>l.value=!0),onPointerup:h[2]||(h[2]=S=>l.value=!1),onPointerleave:h[3]||(h[3]=S=>l.value=!1),onPointerenter:h[4]||(h[4]=S=>S.buttons===1&&(l.value=!0))},[e.createElementVNode("div",{class:e.normalizeClass(["absolute top-50% -translate-y-50%",[a.value.indicator,f.value.indicator,i.value.indicator,n.value?a.value.active:a.value.inactive,e.unref(m).class]]),style:e.normalizeStyle([e.unref(m).style,p.value.indicator])},[r.indicatorIcon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["h-full w-full",[r.indicatorIcon,n.value?e.unref(d).class:"text-black"]]),style:e.normalizeStyle(e.unref(d).style)},null,6)):n.value&&r.onIndicatorIcon?(e.openBlock(),e.createElementBlock("i",{key:1,class:e.normalizeClass(["h-full w-full",[r.onIndicatorIcon,n.value?e.unref(d).class:"text-black"]]),style:e.normalizeStyle(e.unref(d).style)},null,6)):!n.value&&r.offIndicatorIcon?(e.openBlock(),e.createElementBlock("i",{key:2,class:e.normalizeClass(["h-full w-full",[r.offIndicatorIcon,n.value?e.unref(d).class:"text-black"]]),style:e.normalizeStyle(e.unref(d).style)},null,6)):e.createCommentVNode("",!0)],6),n.value?(e.openBlock(),e.createElementBlock("i",{key:"on",class:e.normalizeClass(["absolute top-1/2 -translate-y-50%",[a.value.icon,{[`left-0 text-${g.color}-on-container-low`]:n.value,[g.onIcon??""]:n.value&&g.onIcon,[g.offIcon??""]:!n.value&&g.offIcon}]])},null,2)):(e.openBlock(),e.createElementBlock("i",{key:"off",class:e.normalizeClass(["absolute top-1/2 -translate-y-50%",[a.value.icon,{"right-0":!n.value,[g.onIcon??""]:n.value&&g.onIcon,[g.offIcon??""]:!n.value&&g.offIcon}]])},null,2))],38)],8,Mo),g.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:e.unref(s)},e.toDisplayString(g.label),9,$o)):e.createCommentVNode("",!0)],2))}}),zo={class:"dark:hidden"},Ao={class:"light:hidden"},Vo=e.defineComponent({__name:"SchemeSwitch",setup(t){const r=e.ref(!1);e.watch([r],()=>{te&&(r.value===!0?(document.documentElement.setAttribute("data-scheme","dark"),localStorage.setItem("scheme","dark")):r.value===!1&&(document.documentElement.setAttribute("data-scheme","light"),localStorage.setItem("scheme","light")))});const n=e.ref(!0),o=e.ref(!1);return e.onMounted(()=>{te&&(r.value=localStorage.getItem("scheme")==="dark"),n.value=!1}),e.nextTick(()=>{o.value=!0}),(l,a)=>{const i=jt;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass({hidden:!n.value})},[e.createElementVNode("div",zo,[e.createVNode(i,{value:!1,"on-icon":"i-line-md-moon-twotone-alt-loop","off-icon":"i-line-md-sunny-outline-twotone-loop"})]),e.createElementVNode("div",Ao,[e.createVNode(i,{value:!0,color:"secondary","on-icon":"i-line-md-moon-twotone-alt-loop","off-icon":"i-line-md-sunny-outline-twotone-loop"})])],2),e.createElementVNode("div",{class:e.normalizeClass({hidden:n.value})},[e.createVNode(i,{modelValue:r.value,"onUpdate:modelValue":a[0]||(a[0]=s=>r.value=s),animate:o.value,color:"secondary","on-icon":"i-line-md-moon-twotone-alt-loop","off-icon":"i-line-md-sunny-outline-twotone-loop"},null,8,["modelValue","animate"])],2)],64)}}}),Ho=e.defineComponent({__name:"ScrollArea",props:{height:{},barWidth:{default:4},threshold:{default:100}},setup(t,{expose:r}){const n=t,o=_t(),l=re(o),a=e.ref(),i=re(()=>a.value),s=e.computed(()=>{if(n.height)return n.height;const w=o.value?Number.parseFloat(getComputedStyle(o.value).paddingTop)+Number.parseFloat(getComputedStyle(o.value).paddingBottom):0,$=o.value?Number.parseFloat(getComputedStyle(o.value).marginTop)+Number.parseFloat(getComputedStyle(o.value).marginBottom):0;return l.height.value-w-$}),c=e.ref(),u=Et(()=>c.value),{x:d,y:f}=en(()=>c.value),p=e.computed(()=>{var w;return(((w=c.value)==null?void 0:w.scrollHeight)??0)-(u.value??0)}),m=Bt(()=>c.value),g=e.computed(()=>f.value/p.value||0),h=e.computed(()=>c.value?u.value/m.value*u.value:0),S=e.computed(()=>u.value-h.value),v=e.computed(()=>{if(!c.value)return null;const w=g.value*S.value;return{x:d.value,y:f.value,barHeight:h.value,barTop:w}}),y=e.ref(!1),C=e.ref(0),E=e.ref(""),x=e.ref(0),_=ze({type:"client"});T(()=>a.value,"pointerdown",w=>{y.value=!0,C.value=w.clientY,x.value=f.value,E.value=document.body.style.userSelect,document.body.style.userSelect="none"}),T(()=>document,"pointermove",()=>{if(!y.value)return;if(n.threshold<i.left.value-_.x.value||_.x.value-i.right.value>n.threshold){f.value=x.value;return}const $=(_.y.value-C.value)/S.value;f.value=x.value+$*p.value}),T(()=>document,"pointerup",()=>{y.value=!1,document.body.style.userSelect=E.value}),r({$el:c});const b=Se(()=>a.value),B=ye("bg",{dark:5,light:6},.5),z=ye("bg",{dark:2,light:9},.5);return(w,$)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle([{height:`${s.value}px`},{overflow:"hidden","max-height":"fit-content",position:"relative"}])},[v.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:`${w.barWidth}px`}),class:"absolute right-0 z-999 h-full"},[e.withDirectives(e.createElementVNode("div",{ref_key:"scrollBarIndicatorRef",ref:a,class:e.normalizeClass([[e.unref(B).class],"absolute right-0 rounded-full"]),style:e.normalizeStyle([{right:"0px",width:`${w.barWidth}px`,top:`${v.value.barTop}px`,height:`${v.value.barHeight}px`},!e.unref(b)&&!y.value&&e.unref(B).style,(e.unref(b)||y.value)&&e.unref(z).style])},null,6),[[e.vShow,v.value.barHeight<e.unref(u)]])],4)):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"scrollDomRef",ref:c,style:e.normalizeStyle({paddingRight:`${w.barWidth}px`,scrollbarWidth:"none",height:"100%",overflowY:"scroll"})},[e.renderSlot(w.$slots,"default")],4)],4))}}),To={class:"w-full flex items-center"},No=["placeholder","readonly","value","aria-label"],Ro={key:0,class:"flex cursor-default items-center justify-between gap-2 rounded p-1 px-2"},Io=["onPointerdown","onMousemove"],Do={key:0},Po={key:0,class:"flex cursor-default items-center justify-between gap-2 rounded p-1 px-2"},Oo=e.defineComponent({__name:"Select",props:e.mergeModels({ariaLabel:{},options:{default(){return[]}},color:{default:"primary"},size:{default:"md"},noneText:{default:"No options"},notFoundText:{default:"Not found"},rounded:{default:"md"},placeholder:{default:""},searchable:{type:Boolean,default:!1},filter:{type:Function,default:(t,r)=>t.includes(r)}},{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["change","input"],["update:modelValue"]),setup(t,{emit:r}){const n=t,o=r,l=G(n),a=e.useModel(t,"modelValue"),i=e.ref(null),s=e.ref(null),c=e.ref(!1);kt(s,()=>{c.value=!1});const u=e.ref(-1),d=e.ref(-1);e.watchEffect(()=>{c.value||(d.value=-1)}),e.watch(a,()=>{o("change",a.value)});const f=e.computed(()=>a.value),p=e.computed(()=>h(f.value)),m=e.computed(()=>n.options.findIndex(A=>$(A,f.value))),g=e.ref(p.value);e.watch(p,()=>{g.value=p.value});function h(A){return A?typeof A=="string"||typeof A=="symbol"||typeof A=="number"?String(A):A.label?A.label:A.id:""}function S(A){if(A)return typeof A=="string"||typeof A=="symbol"||typeof A=="number"?A:A.id}function v(A){c.value=!0;const D=A.target;g.value=D.value,o("input",g.value)}const y=e.computed(()=>n.searchable&&g.value!==p.value?n.options.filter(A=>n.filter(h(A),g.value)):n.options);ae("ArrowDown",A=>{c.value&&(A.preventDefault(),d.value===-1&&u.value!==-1?d.value=u.value:d.value===-1&&u.value===-1&&m.value!==-1&&(d.value=m.value),d.value=(d.value+1)%n.options.length)}),ae("ArrowUp",A=>{c.value&&(A.preventDefault(),d.value===-1&&u.value!==-1?d.value=u.value:d.value===-1&&u.value===-1&&m.value!==-1&&(d.value=m.value),d.value=(d.value-1+n.options.length)%n.options.length)}),ae("Enter",()=>{c.value&&d.value!==-1&&(a.value=y.value[d.value],i.value.focus(),c.value=!1)});function C(A){if(i.value.focus(),!c.value){c.value=!0;return}a.value=A,c.value=!1}const E=e.computed(()=>n.color),x=ot(E,"default"),_=e.computed(()=>{switch(n.size){case"sm":return{wrapper:"h-6 w-full py-1 pl-1.5 pr-6 text-sm",dropdown:"text-sm children:py-1"};case"lg":return{wrapper:"h-10 w-full py-2 pl-3 pr-10 text-lg",dropdown:"text-lg children:py-2"};default:return{wrapper:"h-8 w-full py-1 pl-2 pr-8 text-base",dropdown:"text-base children:py-1"}}}),b=e.ref(null),{height:B}=re(b),{bottom:z}=re(i);e.watch([c],()=>{d.value=-1,u.value=-1});const w=e.computed(()=>c.value&&te?B.value===0?!1:document.documentElement.clientHeight-z.value>B.value:!1);function $(A,D){return D?typeof A=="string"||typeof A=="symbol"||typeof A=="number"?A===D:typeof D=="string"||typeof D=="symbol"||typeof D=="number"?!1:A.id===D.id:!1}const V=e.computed(()=>n.searchable?"cursor-text":"cursor-pointer"),H=He(),I=nt(),N=ge(E);function Q(A){u.value=A,d.value=-1}return(A,D)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:s,class:"relative",style:e.normalizeStyle(e.unref(x))},[e.createElementVNode("div",To,[e.createElementVNode("input",{ref_key:"inputRef",ref:i,class:e.normalizeClass([[_.value.wrapper,e.unref(l).class,V.value],"border outline-none outline-none focus-visible:outline-2 custom-input-colors"]),placeholder:A.placeholder,style:e.normalizeStyle([e.unref(l).style,e.unref(x)]),readonly:!A.searchable,value:g.value,"aria-label":A.ariaLabel,"aria-haspopup":"listbox",autocomplete:"off",onInput:v,onClick:D[0]||(D[0]=J=>c.value=!0)},null,46,No),D[2]||(D[2]=e.createElementVNode("i",{class:"i-fluent-chevron-down-12-filled pointer-events-none absolute right-2"},null,-1))]),c.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"dropdownRef",ref:b,class:e.normalizeClass(["absolute z-10 mt-2 w-full flex-col overflow-hidden border rounded p-1",[e.unref(H).class,_.value.dropdown,{"bottom-10":!w.value}]]),style:e.normalizeStyle([e.unref(H).style])},[A.options.length===0?(e.openBlock(),e.createElementBlock("div",Ro,[e.renderSlot(A.$slots,"none",{},()=>[e.createTextVNode(e.toDisplayString(A.noneText),1)])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(J,ne)=>(e.openBlock(),e.createElementBlock("div",{key:S(J),class:e.normalizeClass([[d.value===ne&&e.unref(N).class,u.value===ne&&d.value===-1&&e.unref(I).class],"flex cursor-pointer items-center justify-between gap-2 rounded p-1 px-2"]),style:e.normalizeStyle([d.value===ne&&e.unref(N).style,u.value===ne&&d.value===-1&&e.unref(I).style]),onPointerdown:Ie=>C(J),onMousemove:Ie=>Q(ne),onMouseleave:D[1]||(D[1]=Ie=>u.value=-1)},[e.renderSlot(A.$slots,"item",{data:J,selected:$(J,f.value)},()=>[e.createTextVNode(e.toDisplayString(h(J)),1)]),$(J,f.value)?(e.openBlock(),e.createElementBlock("div",Do,D[3]||(D[3]=[e.createElementVNode("i",{class:"i-fluent-checkmark-12-filled h-3 w-3"},null,-1)]))):e.createCommentVNode("",!0)],46,Io))),128)),A.searchable&&y.value.length===0?(e.openBlock(),e.createElementBlock("div",Po,[e.renderSlot(A.$slots,"not-found",{},()=>[e.createTextVNode(e.toDisplayString(A.notFoundText),1)])])):e.createCommentVNode("",!0)],64))],6)):e.createCommentVNode("",!0)],4))}}),Fo=e.defineComponent({__name:"SelectArea",props:{target:{},color:{default:"primary"}},emits:["selectStart","selectChange","selectEnd"],setup(t,{emit:r}){const n=t,o=r,l=e.computed(()=>n.color),a=oe(l),i=e.computed(()=>{const v=a.value[5].setAlpha(.5).toHex8String(),y=a.value[5].setAlpha(.1).toHex8String();return{"--border-color":v,"--fill-color":y}}),{shift:s,control:c}=rn(),u=_t(),d=e.computed(()=>n.target??u.value),f=ze(),p=e.ref({x:0,y:0}),m=e.ref({x:0,y:0}),g=e.ref(!1),h=re(d);T(d,"pointerdown",v=>{if(v.button!==0)return;const y=v.pageX-h.left.value,C=v.pageY-h.top.value;p.value={x:y,y:C},m.value={x:y,y:C},g.value=!0,o("selectStart",{target:v.target,shift:s.value,ctrl:c.value})},{capture:!0}),T(window,"pointerup",v=>{g.value=!1,o("selectEnd",{left:Math.min(p.value.x,m.value.x),top:Math.min(p.value.y,m.value.y),right:Math.max(p.value.x,m.value.x),bottom:Math.max(p.value.y,m.value.y)},{target:v.target,shift:s.value,ctrl:c.value})}),T(d,"pointermove",v=>{const y=v.pageX-h.left.value,C=v.pageY-h.top.value;g.value&&(m.value={x:y,y:C},o("selectChange",{left:Math.min(p.value.x,m.value.x),top:Math.min(p.value.y,m.value.y),right:Math.max(p.value.x,m.value.x),bottom:Math.max(p.value.y,m.value.y)},{target:v.target,shift:s.value,ctrl:c.value}))});const S=e.computed(()=>d.value?d.value.parentElement:null);return T(S,"scroll",v=>{g.value&&(m.value={x:f.x.value-h.left.value,y:f.y.value-h.top.value},o("selectChange",{left:Math.min(p.value.x,m.value.x),top:Math.min(p.value.y,m.value.y),right:Math.max(p.value.x,m.value.x),bottom:Math.max(p.value.y,m.value.y)},{target:v.target,shift:s.value,ctrl:c.value}))}),T(window,"dragend",()=>{g.value=!1}),(v,y)=>d.value?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:d.value},[g.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"absolute z-10000 h-1 border border border-[var(--border-color)] bg-[var(--fill-color)]",style:e.normalizeStyle([{left:`${Math.min(p.value.x,m.value.x)}px`,top:`${Math.min(p.value.y,m.value.y)}px`,width:`${Math.abs(p.value.x-m.value.x)}px`,height:`${Math.abs(p.value.y-m.value.y)}px`},i.value])},null,4)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)}}),Lo={class:"relative w-full"},Wo="dark:bg-white bg-[var(--i-bg)]",jo="dark:bg-[var(--i-bg)] bg-white",Go=e.defineComponent({__name:"Slider",props:e.mergeModels({size:{default:"md"},animate:{type:Boolean,default:!1},width:{},options:{},min:{default:0},max:{default:100},step:{default:1},tickNum:{},color:{default:"primary"},minWidth:{default:12}},{modelValue:{default:void 0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t;function n(_,b,B){const z=[];for(let w=_;w<=b;w+=B)z.push(w);return z[z.length-1]!==b&&z.push(b),z}function o(_,b){const B=[];if(_===0)return B;B.push(b[0]);const z=(b.length-1)/(_-1);for(let w=1;w<_-1;w++)B.push(b[Math.round(w*z)]);return B.push(b[b.length-1]),B}const l=e.computed(()=>r.options?r.options.length:r.tickNum??0),a=e.computed(()=>r.options===void 0?n(r.min,r.max,r.step):r.options),i=e.computed(()=>o(l.value,a.value)),s=e.useModel(t,"modelValue"),c=e.computed(()=>a.value.length??0),u=e.ref(a.value.includes(s.value)?a.value.indexOf(s.value):0);function d(_){let b=a.value.indexOf(_);if(b===-1)if(typeof _=="number"){let B=1/0;for(let z=0;z<a.value.length;z++){const w=Math.abs(a.value[z]-_);w<B&&(B=w,b=z)}}else b=0;return b}const f=e.computed(()=>r.color),p=oe(f.value),m=e.computed(()=>p.value[4]),g=ge(f);e.watchEffect(()=>{u.value<0||(s.value=a.value[u.value])}),e.watchEffect(()=>{u.value=d(s.value)});const h=e.ref(),S=e.ref(),v=e.ref(!1);function y(_){if(!v.value)return;if(!(_.buttons===1)){v.value=!1;return}_.preventDefault(),_.stopPropagation();const B=re(h),{clientX:z}=_,w=B.left.value,V=B.right.value-w,H=Math.round((z-w)/V*(c.value-1));if(H<0){u.value=0;return}if(H>c.value-1){u.value=c.value-1;return}u.value=H}e.watchEffect(()=>{u.value=d(s.value)});function C(_){_.preventDefault(),_.stopPropagation(),v.value=!0,y(_)}T(h,"pointerdown",C),e.onMounted(()=>{T(document,"pointermove",y),u.value=Math.max(0,d(s.value))});const E=e.computed(()=>{switch(r.size){case"sm":return{wrapper:"h-2",innerWrapper:"px-0.5 h-1",content:"h-1",tick:"h-0.5 w-0.5 -translate-x-0.25 -translate-y-0.25",indicator:"h-3 w-3 -translate-x-1.5 -translate-y-1.5",indicatorInner:"h-1.5 w-1.5 -translate-x-0.75 -translate-y-0.75",progress:"-mx-0.5"};case"lg":return{wrapper:"h-6",innerWrapper:"px-1.5 h-3",content:"h-3",tick:"h-1.5 w-1.5 -translate-x-0.75 -translate-y-0.75",indicator:"h-6 w-6 -translate-x-3 -translate-y-3",indicatorInner:"h-3 w-3 -translate-x-1.5 -translate-y-1.5",progress:"-mx-1.5"};case"md":default:return{wrapper:"h-4",innerWrapper:"px-1 h-2",content:"h-2",tick:"h-1 w-1 -translate-x-0.5 -translate-y-0.5",indicator:"h-4 w-4 -translate-x-2 -translate-y-2",indicatorInner:"h-2 w-2 -translate-x-1 -translate-y-1",progress:"-mx-1"}}}),x=e.computed(()=>r.animate?{indicator:"transition-left",progress:"transition-width"}:{indicator:"",progress:""});return(_,b)=>(e.openBlock(),e.createElementBlock("div",Lo,[e.createElementVNode("div",{ref_key:"wrapper",ref:h,type:"size",class:e.normalizeClass(["w-full flex cursor-pointer items-center",E.value.wrapper]),onTouchmove:b[0]||(b[0]=e.withModifiers(()=>{},["prevent"]))},[e.createElementVNode("div",{class:e.normalizeClass(["w-full rounded-full bg-surface-3 transition-background-color,border-color,color dark:bg-surface-7",E.value.innerWrapper])},[e.createElementVNode("div",{class:e.normalizeClass(["relative flex",E.value.content]),style:e.normalizeStyle({width:`${r.width}rem`,minWidth:`${r.minWidth}rem`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,B=>(e.openBlock(),e.createElementBlock("div",{key:B,style:e.normalizeStyle({left:`${d(B)/(c.value-1)*100}%`}),class:e.normalizeClass(["absolute top-50% rounded-full bg-surface-0",E.value.tick])},null,6))),128)),u.value!==-1?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"indicator",ref:S,class:e.normalizeClass(["absolute top-50% cursor-pointer rounded-full transition-background-color,border-color,color",[E.value.indicator,x.value.indicator,Wo]]),style:e.normalizeStyle([`--i-bg: ${m.value}`,{left:`${u.value/(c.value-1)*100}%`}])},[e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none absolute left-50% top-50% rounded-full",[E.value.indicatorInner,jo]])},null,2)],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none h-full rounded-full",[e.unref(g).class,E.value.progress,x.value.progress]]),style:e.normalizeStyle([e.unref(g).style,{width:`${u.value/(c.value-1)*100}%`}])},null,6)],6)],2)],34),i.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"text-surface-on-low relative mx-1 h-1em text-xs",style:e.normalizeStyle({width:`${r.width}rem`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(B,z)=>(e.openBlock(),e.createElementBlock("div",{key:z,style:e.normalizeStyle({left:`${d(B)/(c.value-1)*100}%`}),class:e.normalizeClass(["absolute w-auto flex rounded-full -translate-x-50%",E.value.tick])},e.toDisplayString(B),7))),128))],4)):e.createCommentVNode("",!0)]))}}),Xo={class:"h-full py-2"},Uo=e.defineComponent({__name:"TabItem",props:{value:{},color:{default:"primary"}},setup(t){const r=t,n=e.computed(()=>r.color),o=e.inject(Oe,e.ref("")),l=e.ref(null),a=e.computed(()=>o.value===r.value);function i(){o.value=r.value}const s=e.inject(Le,new Map);e.onMounted(()=>{s.set(r.value,l)});const c=e.inject(Fe,e.computed(()=>"horizontal")),u=e.computed(()=>{switch(c.value){case"vertical":return"flex-row-reverse rounded-tr-lg rounded-br-lg";case"horizontal":default:return"flex-col rounded-tr-lg rounded-tl-lg"}}),d=e.computed(()=>{switch(c.value){case"vertical":return"absolute inset-0 right-100% h-full w-2px";case"horizontal":default:return"absolute inset-0 top-100% h-2px w-full"}}),f=O({color:n.value,type:"bg",index:5}),p=O({color:n.value,type:"outline",index:5});return(m,g)=>(e.openBlock(),e.createElementBlock("button",e.mergeProps({ref_key:"tabRef",ref:l,type:"button",class:["rutline-none relative min-w-20 flex items-center justify-center outline-none focus-visible:outline-2 outline-offset-0!",[u.value]]},e.unref(p),{onClick:i}),[a.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(f).class,d.value]),style:e.normalizeStyle([e.unref(f).style])},null,6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([d.value])},null,2)),e.createElementVNode("div",Xo,[e.renderSlot(m.$slots,"default")])],16))}}),Yo=e.defineComponent({__name:"Tabs",props:e.mergeModels({defaultValue:{},direction:{default:"horizontal"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const r=t,n=e.useSlots(),o=e.computed(()=>{var f;const u=(f=n.default)==null?void 0:f.call(n);return(u==null?void 0:u.flatMap(p=>p.type===e.Fragment?p.children:p).filter(p=>{var m;return((m=p==null?void 0:p.props)==null?void 0:m.value)!==void 0}).map(p=>p.props.value))??[]}),l=e.useModel(t,"modelValue");!l.value&&o.value.length>0&&(l.value=o.value[0]);const a=e.ref(null);e.onMounted(()=>{r.defaultValue&&(l.value=r.defaultValue)}),e.provide(Oe,l);const i=e.computed(()=>r.direction);e.provide(Fe,i);const s=new Map;e.provide(Le,s),ae("ArrowLeft",u=>{var m;if(!((m=a.value)!=null&&m.contains(document.activeElement))||(u.preventDefault(),r.direction!=="horizontal"))return;const d=l.value?o.value.indexOf(l.value):0,f=d>0?o.value[d-1]:o.value[o.value.length-1];l.value=f;const p=s.get(f);if(p){const g=p.value;g&&g.focus()}}),ae("ArrowRight",u=>{var m;if(!((m=a.value)!=null&&m.contains(document.activeElement))||(u.preventDefault(),r.direction!=="horizontal"))return;const d=l.value?o.value.indexOf(l.value):0,f=d<o.value.length-1?l.value=o.value[d+1]:l.value=o.value[0];l.value=f;const p=s.get(f);if(p){const g=p.value;g&&g.focus()}}),ae("ArrowUp",u=>{var m;if(!((m=a.value)!=null&&m.contains(document.activeElement))||(u.preventDefault(),r.direction!=="vertical"))return;const d=l.value?o.value.indexOf(l.value):0,f=d>0?o.value[d-1]:o.value[o.value.length-1];l.value=f;const p=s.get(f);if(p){const g=p.value;g&&g.focus()}}),ae("ArrowDown",u=>{var m;if(!((m=a.value)!=null&&m.contains(document.activeElement))||(u.preventDefault(),r.direction!=="vertical"))return;const d=l.value?o.value.indexOf(l.value):0,f=d<o.value.length-1?o.value[d+1]:o.value[0];l.value=f;const p=s.get(f);if(p){const g=p.value;g&&g.focus()}});const c=e.computed(()=>{switch(r.direction){case"horizontal":return"flex-row";case"vertical":return"flex-col";default:return"flex-row"}});return(u,d)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tabRef",ref:a,class:e.normalizeClass(["flex",[c.value]])},[e.renderSlot(u.$slots,"default")],2))}}),qo=e.defineComponent({__name:"Tag",props:{color:{},variant:{default:"default"},rounded:{default:"md"},size:{},leftIcon:{},rightIcon:{}},setup(t){const r=t,n=e.computed(()=>{switch(r.size){case"sm":return"px-2 py-0.5 text-xs";case"lg":return"px-4 py-1 text-base";case"md":default:return"px-3 py-0.5 text-sm"}}),o=G(r),l=e.computed(()=>r.color??"primary"),a=e.computed(()=>r.variant),i=Te(a,l);return(s,c)=>(e.openBlock(),e.createElementBlock("span",{tabindex:-1,style:e.normalizeStyle([e.unref(i).style,e.unref(o).style]),class:e.normalizeClass([[e.unref(i).class,e.unref(o).class,n.value],"inline-block h-fit flex cursor-pointer gap-1 border"])},[r.leftIcon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass([r.leftIcon,"shrink-0"])},null,2)):s.$slots.leftIcon?e.renderSlot(s.$slots,"left-icon",{key:1}):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"default"),r.rightIcon?(e.openBlock(),e.createElementBlock("i",{key:2,class:e.normalizeClass([r.rightIcon,"h-container w-container shrink-0"])},null,2)):s.$slots.rightIcon?e.renderSlot(s.$slots,"right-icon",{key:3}):e.createCommentVNode("",!0)],6))}}),Ko=["data-scheme","data-theme"],Jo=e.defineComponent({__name:"ThemeProvider",props:{theme:{},scheme:{}},setup(t){const r=t,n=Mt(),o=e.computed(()=>Ue(r.theme?r.theme:n.value)),l=Ct("scheme","light"),a=e.computed(()=>r.scheme?r.scheme:l.value);return(i,s)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle([o.value]),"data-scheme":a.value,"data-theme":e.unref(n).name},[e.renderSlot(i.$slots,"default")],12,Ko))}}),Zo=e.defineComponent({__name:"Tooltip",props:{timeout:{default:1e3}},setup(t){const r=t,n=ze(),o=e.ref(null),l=Se(o),a=Rr(l,r.timeout),i=e.ref(0),s=e.ref(0),c=e.ref(null),u=Se(c);return e.watch(a,(d,f)=>{a.value&&d!==f&&(i.value=n.x.value,s.value=n.y.value)}),(d,f)=>{const p=Lt;return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{ref_key:"hoverableRef",ref:o},[e.renderSlot(d.$slots,"default")],512),i.value&&s.value&&(e.unref(a)||e.unref(u))?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:c,class:"absolute z-10",style:e.normalizeStyle({left:`${i.value+20}px`,top:`${s.value+20}px`})},[e.createVNode(p,{"with-border":""},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"content")]),_:3})],4)):e.createCommentVNode("",!0)])}}});function Gt(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function X(t){return typeof t=="function"?t():e.unref(t)}const Qo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const el=Object.prototype.toString,tl=t=>el.call(t)==="[object Object]",fe=()=>{};function Xt(t,r){function n(...o){return new Promise((l,a)=>{Promise.resolve(t(()=>r.apply(this,o),{fn:r,thisArg:this,args:o})).then(l).catch(a)})}return n}function rl(t,r={}){let n,o,l=fe;const a=i=>{clearTimeout(i),l(),l=fe};return i=>{const s=X(t),c=X(r.maxWait);return n&&a(n),s<=0||c!==void 0&&c<=0?(o&&(a(o),o=null),Promise.resolve(i())):new Promise((u,d)=>{l=r.rejectOnCancel?d:u,c&&!o&&(o=setTimeout(()=>{n&&a(n),o=null,u(i())},c)),n=setTimeout(()=>{o&&a(o),o=null,u(i())},s)})}}function nl(...t){let r=0,n,o=!0,l=fe,a,i,s,c,u;!e.isRef(t[0])&&typeof t[0]=="object"?{delay:i,trailing:s=!0,leading:c=!0,rejectOnCancel:u=!1}=t[0]:[i,s=!0,c=!0,u=!1]=t;const d=()=>{n&&(clearTimeout(n),n=void 0,l(),l=fe)};return f=>{const p=X(i),m=Date.now()-r,g=()=>a=f();return d(),p<=0?(r=Date.now(),g()):(m>p&&(c||!o)?(r=Date.now(),g()):s&&(a=new Promise((h,S)=>{l=u?S:h,n=setTimeout(()=>{r=Date.now(),o=!0,h(g()),d()},Math.max(0,p-m))})),!c&&!n&&(n=setTimeout(()=>o=!0,p)),o=!1,a)}}function ol(t){return e.getCurrentInstance()}function ll(t,r=200,n={}){return Xt(rl(r,n),t)}function al(t,r=200,n=!1,o=!0,l=!1){return Xt(nl(r,n,o,l),t)}function Ut(t,r=!0,n){ol()?e.onMounted(t,n):r?t():e.nextTick(t)}function le(t){var r;const n=X(t);return(r=n==null?void 0:n.$el)!=null?r:n}const Re=Qo?window:void 0;function Yt(...t){let r,n,o,l;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,o,l]=t,r=Re):[r,n,o,l]=t,!r)return fe;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},s=(d,f,p,m)=>(d.addEventListener(f,p,m),()=>d.removeEventListener(f,p,m)),c=e.watch(()=>[le(r),X(l)],([d,f])=>{if(i(),!d)return;const p=tl(f)?{...f}:f;a.push(...n.flatMap(m=>o.map(g=>s(d,m,g,p))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return Gt(u),u}function sl(){const t=e.ref(!1),r=e.getCurrentInstance();return r&&e.onMounted(()=>{t.value=!0},r),t}function il(t){const r=sl();return e.computed(()=>(r.value,!!t()))}function cl(t,r,n={}){const{window:o=Re,...l}=n;let a;const i=il(()=>o&&"ResizeObserver"in o),s=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>{const f=X(t);return Array.isArray(f)?f.map(p=>le(p)):[le(f)]}),u=e.watch(c,f=>{if(s(),i.value&&o){a=new ResizeObserver(r);for(const p of f)p&&a.observe(p,l)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return Gt(d),{isSupported:i,stop:d}}function ul(t,r={width:0,height:0},n={}){const{window:o=Re,box:l="content-box"}=n,a=e.computed(()=>{var f,p;return(p=(f=le(t))==null?void 0:f.namespaceURI)==null?void 0:p.includes("svg")}),i=e.ref(r.width),s=e.ref(r.height),{stop:c}=cl(t,([f])=>{const p=l==="border-box"?f.borderBoxSize:l==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&a.value){const m=le(t);if(m){const g=m.getBoundingClientRect();i.value=g.width,s.value=g.height}}else if(p){const m=Array.isArray(p)?p:[p];i.value=m.reduce((g,{inlineSize:h})=>g+h,0),s.value=m.reduce((g,{blockSize:h})=>g+h,0)}else i.value=f.contentRect.width,s.value=f.contentRect.height},n);Ut(()=>{const f=le(t);f&&(i.value="offsetWidth"in f?f.offsetWidth:r.width,s.value="offsetHeight"in f?f.offsetHeight:r.height)});const u=e.watch(()=>le(t),f=>{i.value=f?r.width:0,s.value=f?r.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}const qt=1;function dl(t,r={}){const{throttle:n=0,idle:o=200,onStop:l=fe,onScroll:a=fe,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:c="auto",window:u=Re,onError:d=b=>{console.error(b)}}=r,f=e.ref(0),p=e.ref(0),m=e.computed({get(){return f.value},set(b){h(b,void 0)}}),g=e.computed({get(){return p.value},set(b){h(void 0,b)}});function h(b,B){var z,w,$,V;if(!u)return;const H=X(t);if(!H)return;($=H instanceof Document?u.document.body:H)==null||$.scrollTo({top:(z=X(B))!=null?z:g.value,left:(w=X(b))!=null?w:m.value,behavior:X(c)});const I=((V=H==null?void 0:H.document)==null?void 0:V.documentElement)||(H==null?void 0:H.documentElement)||H;m!=null&&(f.value=I.scrollLeft),g!=null&&(p.value=I.scrollTop)}const S=e.ref(!1),v=e.reactive({left:!0,right:!1,top:!0,bottom:!1}),y=e.reactive({left:!1,right:!1,top:!1,bottom:!1}),C=b=>{S.value&&(S.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,l(b))},E=ll(C,n+o),x=b=>{var B;if(!u)return;const z=((B=b==null?void 0:b.document)==null?void 0:B.documentElement)||(b==null?void 0:b.documentElement)||le(b),{display:w,flexDirection:$}=getComputedStyle(z),V=z.scrollLeft;y.left=V<f.value,y.right=V>f.value;const H=Math.abs(V)<=(i.left||0),I=Math.abs(V)+z.clientWidth>=z.scrollWidth-(i.right||0)-qt;w==="flex"&&$==="row-reverse"?(v.left=I,v.right=H):(v.left=H,v.right=I),f.value=V;let N=z.scrollTop;b===u.document&&!N&&(N=u.document.body.scrollTop),y.top=N<p.value,y.bottom=N>p.value;const Q=Math.abs(N)<=(i.top||0),A=Math.abs(N)+z.clientHeight>=z.scrollHeight-(i.bottom||0)-qt;w==="flex"&&$==="column-reverse"?(v.top=A,v.bottom=Q):(v.top=Q,v.bottom=A),p.value=N},_=b=>{var B;if(!u)return;const z=(B=b.target.documentElement)!=null?B:b.target;x(z),S.value=!0,E(b),a(b)};return Yt(t,"scroll",n?al(_,n,!0,!1):_,s),Ut(()=>{try{const b=X(t);if(!b)return;x(b)}catch(b){d(b)}}),Yt(t,"scrollend",C,s),{x:m,y:g,isScrolling:S,arrivedState:v,directions:y,measure(){const b=X(t);u&&b&&x(b)}}}const fl=e.defineComponent({__name:"Waterfall",props:{gap:{},wrapperWidth:{},itemWidth:{},rowCount:{},paddingX:{}},setup(t,{expose:r}){const n=t,o=e.useSlots(),l=e.computed(()=>e.unref(n.gap)??16),a=e.computed(()=>e.unref(n.rowCount)??3),i=e.computed(()=>e.unref(n.paddingX)??0),s=e.ref();function c(C){return Array.isArray(C)}const u=e.ref([]),d=e.computed(()=>{const C=u.value;return Array.from(C).map(E=>ul(E))}),f=e.computed(()=>{var C,E;return n.itemWidth?e.unref(n.itemWidth)*a.value+l.value*(a.value-1)+i.value*2:n.wrapperWidth?e.unref(n.wrapperWidth):((E=(C=s.value)==null?void 0:C.parentElement)==null?void 0:E.clientWidth)??0}),p=e.computed(()=>n.itemWidth?e.unref(n.itemWidth):(f.value-i.value*2-l.value*(a.value-1))/a.value);function m(C,E,x,_){const b=e.unref(C),B=Array.from({length:e.unref(E)}).fill(0),z=[],w=Math.max(0,f.value-e.unref(_)*2-p.value*b.length-e.unref(x)*b.length)/2;for(let $=0;$<b.length;$++){const V=b[$],H=B.indexOf(Math.min(...B)),I=H*(p.value+e.unref(x))+e.unref(_)+w,N=B[H];z.push({x:I,y:N,width:V.width.value,height:V.height.value}),B[H]+=V.height.value+e.unref(x)}return z}const g=e.computed(()=>m(d,a,l,i)),h=e.computed(()=>c(g.value)?Math.max(...g.value.map(C=>C.y+C.height)):0),S=e.computed(()=>{var C;return((C=o.default)==null?void 0:C.call(o))??[]}),v=e.computed(()=>{const C=[];return S.value.forEach(E=>{c(E.children)?E.children.forEach(x=>{C.push(x)}):C.push(E)}),C});function y(C){if(!c(g.value))return{};const E=g.value[C];return E?{left:`${E.x??0}px`,top:`${E.y??0}px`,maxWidth:`${p.value}px`}:{}}return r({width:p}),(C,E)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapper",ref:s,style:e.normalizeStyle({position:"relative",overflowX:"clip",width:`${f.value}px`,height:`${h.value}px`,overflow:"scroll"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(x,_)=>(e.openBlock(),e.createElementBlock("div",{key:_,ref_for:!0,ref_key:"itemsRef",ref:u,style:e.normalizeStyle([y(_),{position:"absolute"}])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(x),{style:e.normalizeStyle({width:`${p.value}px`})},null,8,["style"]))],4))),128))],4))}}),pl=e.defineComponent({__name:"VirtualWaterfall",props:{gap:{},wrapperWidth:{},itemWidth:{},rowCount:{},paddingX:{},items:{},is:{},rangeExpand:{}},setup(t,{expose:r}){const n=t,o=e.computed(()=>e.unref(n.rangeExpand)??0),l=e.useSlots(),a=e.computed(()=>e.unref(n.gap)??16),i=e.computed(()=>e.unref(n.rowCount)??3),s=e.computed(()=>e.unref(n.paddingX)??0),c=e.ref(),u=e.computed(()=>c.value&&c.value.$el?c.value.$el:c.value);function d(w){return Array.isArray(w)}const f=e.computed(()=>{var w,$;return n.itemWidth?e.unref(n.itemWidth)*i.value+a.value*(i.value-1)+s.value*2:n.wrapperWidth?e.unref(n.wrapperWidth):(($=(w=u.value)==null?void 0:w.parentElement)==null?void 0:$.clientWidth)??0}),p=e.computed(()=>n.itemWidth?e.unref(n.itemWidth):(f.value-s.value*2-a.value*(i.value-1))/i.value),m=e.computed(()=>e.unref(n.items).map(w=>{const $=p.value/w.width;return{width:p.value,height:w.height*$}}));function g(w,$,V,H){const I=e.unref(w),N=Array.from({length:e.unref($)}).fill(0),Q=[],A=Math.max(0,f.value-e.unref(H)*2-p.value*I.length-e.unref(V)*I.length)/2;for(let D=0;D<I.length;D++){const J=I[D],ne=N.indexOf(Math.min(...N)),Ie=ne*(p.value+e.unref(V))+e.unref(H)+A,ml=N[ne];Q.push({x:Ie,y:ml,width:J.width,height:J.height}),N[ne]+=J.height+e.unref(V)}return Q}const h=e.computed(()=>g(m,i,a,s)),S=e.computed(()=>d(h.value)?Math.max(...h.value.map(w=>w.y+w.height)):0),v=e.computed(()=>{var w;return((w=l.default)==null?void 0:w.call(l))??[]});function y(w){if(!d(h.value))return{};const $=h.value[w];return $?{left:`${$.x??0}px`,top:`${$.y??0}px`,maxWidth:`${p.value}px`}:{}}const C=e.ref(!1),E=e.computed(()=>C.value?"smooth":"auto"),x=dl(u,{behavior:E}),_=e.computed(()=>{var w;return[x.y.value-o.value,x.y.value+(((w=u.value)==null?void 0:w.clientHeight)??0)+o.value]}),b=e.computed(()=>h.value.map(w=>{const $=w.y,V=w.y+w.height;return $>=_.value[0]&&$<=_.value[1]||V>=_.value[0]&&V<=_.value[1]||$<=_.value[0]&&V>=_.value[1]})),B=e.computed(()=>{const w=[];return v.value.forEach(($,V)=>{if(d($.children))$.children.forEach((H,I)=>{b.value[I]&&w.push([H,I])});else{if(!b.value[V])return;w.push([$,V])}}),w});r({scroll:x,scrollTo:(w,$=!1)=>{const V=C.value;C.value=$,x.y.value=w,C.value=V}});const z=e.computed(()=>n.is??"div");return(w,$)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(z.value),{ref_key:"wrapper",ref:c,style:{position:"relative"}},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({height:`${S.value}px`,width:`${f.value}px`,margin:"0 auto",position:"relative"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,([V,H])=>(e.openBlock(),e.createElementBlock("div",{key:V,style:e.normalizeStyle([y(H),{position:"absolute"}])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(V),{style:e.normalizeStyle({width:`${p.value}px`})},null,8,["style"]))],4))),128))],4)]),_:1},512))}});k.AspectRatio=Kt,k.Avatar=at,k.Btn=Ne,k.BtnGroup=Vn,k.COLOR_LIGHTNESS_MAP=j,k.ChatContainer=In,k.ChatMessage=Dn,k.ChatSystem=On,k.Chip=Fn,k.ColorInput=Gn,k.ColorSwatch=Dt,k.Drawer=Kn,k.Dropzone=Jn,k.FullscreenOverlay=lt,k.Image=Zn,k.Indicator=eo,k.Modal=to,k.Notification=Ot,k.NotificationSystem=io,k.Notifications=vr,k.Overlay=Ft,k.Paper=Lt,k.PinInput=ho,k.Popover=go,k.Progress=yo,k.Rating=_o,k.RokuProvider=Bo,k.SURFACE_LIGHTNESS_MAP=se,k.SchemeSwitch=Vo,k.ScrollArea=Ho,k.Select=Oo,k.SelectArea=Fo,k.Slider=Go,k.Switch=jt,k.TabItem=Uo,k.Tabs=Yo,k.Tag=qo,k.TextField=Wt,k.ThemeProvider=Jo,k.Tooltip=Zo,k.VirtualWaterfall=pl,k.Waterfall=fl,k.borderCS=Tt,k.childrenElementMapSymbol=Le,k.defaultTheme=tt,k.directionSymbol=Fe,k.errorColor=de,k.errorColors=kn,k.generateColors=pe,k.generateColorsMap=gt,k.generateColorsObjMap=q,k.getCSInner=Ce,k.primaryColor=ie,k.primaryColors=bn,k.schemeSymbol=zt,k.secondaryColor=ce,k.secondaryColors=wn,k.surfaceColor=Z,k.surfaceColors=vn,k.tabCurrentSymbol=Oe,k.tabValueListSymbol=xr,k.tertiaryColor=ue,k.tertiaryColors=Sn,k.useButtonCS=Te,k.useCS=O,k.useClientHeight=Et,k.useColorCS=_e,k.useColors=oe,k.useContainerCS=xe,k.useContainerDefaultCS=He,k.useContainerDefaultVariantCS=nt,k.useContainerFilledCS=ge,k.useContainerLightCS=It,k.useCurrentThemeData=Mt,k.useCurrentThemeName=an,k.useCurrentThemeScheme=ln,k.useId=Ae,k.useIndicatorFilledCS=Rt,k.useInputColorStyle=ot,k.useMergedCS=he,k.useNotifications=ht,k.useRootTheme=on,k.useRounded=G,k.useSchemeString=At,k.useScrollHeight=Bt,k.useSurfaceCS=ye,k.useSurfaceColors=Nt,k.useTextCS=yn,k.useThemeData=$t,k.useThemeStyles=Ue,Object.defineProperty(k,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root[data-scheme=dark]{color-scheme:dark}:root[data-scheme=light]{color-scheme:light}[data-scheme=light] [data-scheme=dark] *,[data-scheme=dark] *,[data-scheme=dark]{color-scheme:dark;--r-surface-background-base-color: rgb(var(--r-color-surface-10));--r-surface-background-color: rgb(var(--r-color-surface-8));--r-surface-background-variant-color: rgb(var(--r-color-surface-7));--r-surface-border-color: rgb(var(--r-color-surface-7));--r-surface-text-color: rgb(var(--r-color-surface-3))}[data-scheme=light] *,[data-scheme=light],*{color-scheme:light;--r-surface-background-base-color: rgb(var(--r-color-surface-0));--r-surface-background-color: rgb(var(--r-color-surface-1));--r-surface-background-variant-color: rgb(var(--r-color-surface-2));--r-surface-border-color: rgb(var(--r-color-surface-3));--r-surface-text-color: rgb(var(--r-color-surface-7))}:root{color-scheme:light dark}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.i-fluent-checkmark-12-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 12 12' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.765 3.205a.75.75 0 0 1 .03 1.06l-4.25 4.5a.75.75 0 0 1-1.075.015L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.705 1.704l3.72-3.939a.75.75 0 0 1 1.06-.03'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-fluent-chevron-down-12-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 12 12' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M2.22 4.47a.75.75 0 0 1 1.06 0L6 7.19l2.72-2.72a.75.75 0 0 1 1.06 1.06L6.53 8.78a.75.75 0 0 1-1.06 0L2.22 5.53a.75.75 0 0 1 0-1.06'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-fluent-dismiss-12-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 12 12' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m1.897 2.054l.073-.084a.75.75 0 0 1 .976-.073l.084.073L6 4.939l2.97-2.97a.75.75 0 1 1 1.06 1.061L7.061 6l2.97 2.97a.75.75 0 0 1 .072.976l-.073.084a.75.75 0 0 1-.976.073l-.084-.073L6 7.061l-2.97 2.97A.75.75 0 1 1 1.97 8.97L4.939 6l-2.97-2.97a.75.75 0 0 1-.072-.976l.073-.084z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-fluent-star-12-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 12 12' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.283 1.546a.8.8 0 0 1 1.435 0L7.83 3.798l2.486.361a.8.8 0 0 1 .443 1.365L8.96 7.277l.425 2.476a.8.8 0 0 1-1.16.844L6 9.427l-2.224 1.17a.8.8 0 0 1-1.16-.844l.424-2.476l-1.799-1.753a.8.8 0 0 1 .444-1.365l2.486-.36z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-line-md-moon-twotone-alt-loop{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-dasharray='4' stroke-dashoffset='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 4h1.5M13 4h-1.5M13 4v1.5M13 4v-1.5'%3E%3Canimate id='lineMdMoonTwotoneAltLoop0' fill='freeze' attributeName='stroke-dashoffset' begin='0.7s;lineMdMoonTwotoneAltLoop0.begin+6s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop0.begin+2s;lineMdMoonTwotoneAltLoop0.begin+4s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop0.begin+1.2s;lineMdMoonTwotoneAltLoop0.begin+3.2s;lineMdMoonTwotoneAltLoop0.begin+5.2s' dur='0.4s' values='0;4'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop0.begin+1.8s' to='M12 5h1.5M12 5h-1.5M12 5v1.5M12 5v-1.5'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop0.begin+3.8s' to='M12 4h1.5M12 4h-1.5M12 4v1.5M12 4v-1.5'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop0.begin+5.8s' to='M13 4h1.5M13 4h-1.5M13 4v1.5M13 4v-1.5'/%3E%3C/path%3E%3Cpath d='M19 11h1.5M19 11h-1.5M19 11v1.5M19 11v-1.5'%3E%3Canimate id='lineMdMoonTwotoneAltLoop1' fill='freeze' attributeName='stroke-dashoffset' begin='1.1s;lineMdMoonTwotoneAltLoop1.begin+6s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop1.begin+2s;lineMdMoonTwotoneAltLoop1.begin+4s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop1.begin+1.2s;lineMdMoonTwotoneAltLoop1.begin+3.2s;lineMdMoonTwotoneAltLoop1.begin+5.2s' dur='0.4s' values='0;4'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop1.begin+1.8s' to='M17 11h1.5M17 11h-1.5M17 11v1.5M17 11v-1.5'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop1.begin+3.8s' to='M18 12h1.5M18 12h-1.5M18 12v1.5M18 12v-1.5'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop1.begin+5.8s' to='M19 11h1.5M19 11h-1.5M19 11v1.5M19 11v-1.5'/%3E%3C/path%3E%3Cpath d='M19 4h1.5M19 4h-1.5M19 4v1.5M19 4v-1.5'%3E%3Canimate id='lineMdMoonTwotoneAltLoop2' fill='freeze' attributeName='stroke-dashoffset' begin='2s;lineMdMoonTwotoneAltLoop2.begin+6s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop2.begin+2s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop2.begin+1.2s;lineMdMoonTwotoneAltLoop2.begin+3.2s' dur='0.4s' values='0;4'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop2.begin+1.8s' to='M20 5h1.5M20 5h-1.5M20 5v1.5M20 5v-1.5'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop2.begin+5.8s' to='M19 4h1.5M19 4h-1.5M19 4v1.5M19 4v-1.5'/%3E%3C/path%3E%3C/g%3E%3Cpath fill='currentColor' fill-opacity='0' stroke='currentColor' stroke-dasharray='56' stroke-dashoffset='56' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z'%3E%3Canimate fill='freeze' attributeName='fill-opacity' begin='1.5s' dur='0.15s' values='0;0.3'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.6s' values='56;0'/%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-line-md-sunny-outline-twotone-loop{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath fill='currentColor' fill-opacity='0' stroke-dasharray='36' stroke-dashoffset='36' d='M12 7c2.76 0 5 2.24 5 5c0 2.76 -2.24 5 -5 5c-2.76 0 -5 -2.24 -5 -5c0 -2.76 2.24 -5 5 -5'%3E%3Canimate fill='freeze' attributeName='fill-opacity' begin='0.9s' dur='0.15s' values='0;0.3'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.4s' values='36;0'/%3E%3C/path%3E%3Cg%3E%3Cpath stroke-dasharray='2' stroke-dashoffset='2' d='M12 19v1M19 12h1M12 5v-1M5 12h-1'%3E%3Canimate fill='freeze' attributeName='d' begin='0.5s' dur='0.2s' values='M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.5s' dur='0.2s' values='2;0'/%3E%3C/path%3E%3Cpath stroke-dasharray='2' stroke-dashoffset='2' d='M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5'%3E%3Canimate fill='freeze' attributeName='d' begin='0.7s' dur='0.2s' values='M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.7s' dur='0.2s' values='2;0'/%3E%3C/path%3E%3CanimateTransform attributeName='transform' dur='30s' repeatCount='indefinite' type='rotate' values='0 12 12;360 12 12'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-tabler-loader-2{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 3a9 9 0 1 0 9 9'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.container{width:100%}.custom-colors,.custom-input-colors{border-width:1px;border-color:var(--l-border);background-color:var(--l-bg);color:var(--l-text)}[data-scheme=dark] .custom-colors,[data-scheme=dark] .custom-input-colors{border-color:var(--d-border);background-color:var(--d-bg);color:var(--d-text)}.custom-input-colors:focus{border-color:var(--l-border-f)}[data-scheme=dark] .custom-input-colors:focus{border-color:var(--d-border-f)}.custom-colors:hover{background-color:var(--l-bg-h);color:var(--l-text-h)}[data-scheme=dark] .custom-colors:hover{background-color:var(--d-bg-h);color:var(--d-text-h)}.custom-input-colors::placeholder{color:var(--l-placeholder)}[data-scheme=dark] .custom-input-colors::placeholder{color:var(--d-placeholder)}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.children\:pointer-events-auto>*{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute,.children\:absolute>*{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-10{bottom:2.5rem}.children\:top-0>*,.top-0{top:0}.left-\[0\.25rem\]{left:.25rem}.left-\[calc\(0\.125rem-1px\)\]{left:calc(.125rem - 1px)}.left-\[calc\(0\.25rem-1px\)\]{left:calc(.25rem - 1px)}.left-\[calc\(0\.875rem-1px\)\]{left:calc(.875rem - 1px)}.left-\[calc\(1\.125rem-1px\)\]{left:calc(1.125rem - 1px)}.left-\[calc\(1\.5rem-1px\)\]{left:calc(1.5rem - 1px)}.left-\[calc\(1\.75rem-1px\)\]{left:calc(1.75rem - 1px)}.left-\[calc\(2\.25rem-1px\)\]{left:calc(2.25rem - 1px)}.left-0{left:0}.left-50\%{left:50%}.right-0{right:0}.right-100\%{right:100%}.right-2{right:.5rem}.top-\[0\.25rem\]{top:.25rem}.top-1\/2,.top-50\%{top:50%}.top-100\%{top:100%}.z-1{z-index:1}.z-10{z-index:10}.z-100{z-index:100}.z-10000{z-index:10000}.z-20{z-index:20}.z-999{z-index:999}.-mx-0\.5{margin-left:-.125rem;margin-right:-.125rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mb-1{margin-bottom:.25rem}.mt-2{margin-top:.5rem}.box-content{box-sizing:content-box}.block{display:block}.before\:block:before{display:block}.inline-block{display:inline-block}.hidden,[data-scheme=dark] .dark\:hidden,[data-scheme=light] .light\:hidden{display:none}.children\:h-full>*,.h-full{height:100%}.children\:w-full>*,.w-full{width:100%}.children\:w-max>*{width:max-content}.h-\[calc\(100\%-0\.5rem\)\]{height:calc(100% - .5rem)}.h-\[var\(--size\)\]{height:var(--size)}.h-0\.25{height:.0625rem}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-1em{height:1em}.h-2{height:.5rem}.h-2px{height:2px}.h-3{height:.75rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-fit{height:fit-content}.max-w-100{max-width:25rem}.min-h-10{min-height:2.5rem}.min-h-16{min-height:4rem}.min-w-16{min-width:4rem}.min-w-20{min-width:5rem}.min-w-24{min-width:6rem}.min-w-80{min-width:20rem}.w-\[var\(--size\)\]{width:var(--size)}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2px{width:2px}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-auto{width:auto}.before\:h-0:before{height:0}.flex{display:flex}.inline-flex{display:inline-flex}.shrink-0{flex-shrink:0}.grow-1{flex-grow:1}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.-translate-x-0\.25{--un-translate-x:-.0625rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-0\.5{--un-translate-x:-.125rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-0\.75{--un-translate-x:-.1875rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-1{--un-translate-x:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-1\.5{--un-translate-x:-.375rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-1\/1{--un-translate-x:-100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-1\/2,.-translate-x-50\%{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-2{--un-translate-x:-.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-3{--un-translate-x:-.75rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-0\.25{--un-translate-y:-.0625rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-0\.5{--un-translate-y:-.125rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-0\.75{--un-translate-y:-.1875rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1{--un-translate-y:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\.5{--un-translate-y:-.375rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\/2,.-translate-y-50\%{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-2{--un-translate-y:-.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-3{--un-translate-y:-.75rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-0{--un-translate-x:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-1\/1{--un-translate-x:100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-1\/2{--un-translate-x:50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-0{--un-translate-y:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-1\/2{--un-translate-y:50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.active\:translate-y-0\.25:active{--un-translate-y:.0625rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.active\:translate-y-1px:active{--un-translate-y:1px;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes ping{0%{transform:scale(1);opacity:1}75%,to{transform:scale(2);opacity:0}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.cursor-pointer\!{cursor:pointer!important}.cursor-text{cursor:text}.select-none{-webkit-user-select:none;user-select:none}.items-end{align-items:flex-end}.items-center{align-items:center}.self-center{align-self:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.b,.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.hover\:border:hover{border-width:1px}.border-\[--l-border\]{border-color:var(--l-border)}.border-\[var\(--border-color\)\]{border-color:var(--border-color)}.border-\[var\(--r-surface-border-color\)\]{border-color:var(--r-surface-border-color)}.border-transparent{border-color:transparent}[data-scheme=dark] .dark\:border-\[--d-border\]{border-color:var(--d-border)}.hover\:border-\[--l-border-h\]:hover{border-color:var(--l-border-h)}[data-scheme=dark] .dark\:hover\:border-\[--d-border-h\]:hover{border-color:var(--d-border-h)}.rounded{border-radius:.25rem}.rounded-\[var\(--r-rounded\)\]{border-radius:var(--r-rounded)}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.not-first-children\:rounded-l-0>*:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.not-last-children\:rounded-r-0>*:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.first-children\:rounded-r-0>*:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.last-children\:rounded-l-0>*:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-br-lg{border-bottom-right-radius:.5rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border-dashed{border-style:dashed}.border-x-none{border-left-style:none;border-right-style:none}.first-children\:border-r-none>*:first-child{border-right-style:none}.last-children\:border-l-none>*:last-child{border-left-style:none}.bg-\[--l-bg\]{background-color:var(--l-bg)}.bg-\[var\(--d-bg\)\],[data-scheme=dark] .dark\:bg-\[--d-bg\],[data-scheme=dark] .dark\:bg-\[var\(--d-bg\)\]{background-color:var(--d-bg)}.bg-\[var\(--fill-color\)\]{background-color:var(--fill-color)}.bg-\[var\(--i-bg\)\],[data-scheme=dark] .dark\:bg-\[var\(--i-bg\)\]{background-color:var(--i-bg)}.bg-surface-0{--un-bg-opacity:1;background-color:rgb(var(--r-color-surface-0) / var(--un-bg-opacity))}.bg-surface-10\/10{background-color:rgb(var(--r-color-surface-10) / .1)}.bg-surface-3{--un-bg-opacity:1;background-color:rgb(var(--r-color-surface-3) / var(--un-bg-opacity))}.bg-white,[data-scheme=dark] .dark\:bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}[data-scheme=dark] .dark\:bg-surface-7{--un-bg-opacity:1;background-color:rgb(var(--r-color-surface-7) / var(--un-bg-opacity))}.hover\:bg-\[--l-bg-h\]:hover{background-color:var(--l-bg-h)}[data-scheme=dark] .dark\:hover\:bg-\[--d-bg-h\]:hover{background-color:var(--d-bg-h)}.object-cover{object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.children\:px-1\.5>*,.px-1\.5{padding-left:.375rem;padding-right:.375rem}.children\:px-2\.5>*{padding-left:.625rem;padding-right:.625rem}.children\:px-2>*,.px-2{padding-left:.5rem;padding-right:.5rem}.children\:py-1>*,.py-1{padding-top:.25rem;padding-bottom:.25rem}.children\:py-2>*,.py-2{padding-top:.5rem;padding-bottom:.5rem}.px,.px-4{padding-left:1rem;padding-right:1rem}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.pb{padding-bottom:1rem}.pl,.pl-4{padding-left:1rem}.pl-1\.5{padding-left:.375rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pr{padding-right:1rem}.pr-1{padding-right:.25rem}.pr-10{padding-right:2.5rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt{padding-top:1rem}.before\:pb-\[calc\(\(1\/var\(--ar-ratio\,1\)\)\*100\%\)\]:before{padding-bottom:calc((1 / var(--ar-ratio,1)) * 100%)}.text-center{text-align:center}.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-xs{font-size:.75rem;line-height:1rem}.text-\[--l-text\],.text-\[var\(--l-text\)\]{color:var(--l-text)}.text-\[var\(--d-text-h\)\]{color:var(--d-text-h)}.text-\[var\(--d-text\)\],[data-scheme=dark] .dark\:text-\[--d-text\],[data-scheme=dark] .dark\:text-\[var\(--d-text\)\]{color:var(--d-text)}.text-black{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.hover\:text-\[--l-text-h\]:hover{color:var(--l-text-h)}[data-scheme=dark] .dark\:hover\:text-\[--d-text-h\]:hover{color:var(--d-text-h)}.leading-0{line-height:0}.decoration-none{text-decoration:none}.op-50{opacity:.5}.op-60,.opacity-60{opacity:.6}.op0,.opacity-0{opacity:0}.op100{opacity:1}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-\[--l-outline\]:focus-visible{outline-color:var(--l-outline)}[data-scheme=dark] .dark\:focus-visible\:outline-\[--d-outline\]:focus-visible{outline-color:var(--d-outline)}.outline-offset-0\!{outline-offset:0px!important}.outline{outline-style:solid}.outline-none{outline:2px solid transparent;outline-offset:2px}.backdrop-blur-lg{--un-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-md{--un-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-sm{--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.filter-grayscale{--un-grayscale:grayscale(1);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-background-color\,border-color\,color{transition-property:background-color,border-color,color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-left{transition-property:left;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-top\,bottom\,opacity{transition-property:top,bottom,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;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)}.before\:content-\[\'\'\]:before{content:""}.placeholder-\[--l-placeholder\]::placeholder{color:var(--l-placeholder)}[data-scheme=dark] .dark\:placeholder-\[--d-placeholder\]::placeholder{color:var(--d-placeholder)}@media (min-width: 768px){.md\:w-md{width:28rem}.md\:items-center{align-items:center}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pb-0{padding-bottom:0}}.loading-progress{animation:loading-progress 1s infinite}@keyframes loading-progress{0%{transform:translate(-100%)}to{transform:translate(100%)}}
|
|
1
|
+
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root[data-scheme=dark]{color-scheme:dark}:root[data-scheme=light]{color-scheme:light}[data-scheme=light] [data-scheme=dark] *,[data-scheme=dark] *,[data-scheme=dark]{color-scheme:dark;--r-surface-background-base-color: rgb(var(--r-color-surface-10));--r-surface-background-color: rgb(var(--r-color-surface-9));--r-surface-background-variant-color: rgb(var(--r-color-surface-7));--r-surface-border-color: rgb(var(--r-color-surface-7));--r-surface-text-color: rgb(var(--r-color-surface-3))}[data-scheme=light] *,[data-scheme=light],*{color-scheme:light;--r-surface-background-base-color: rgb(var(--r-color-surface-0));--r-surface-background-color: rgb(var(--r-color-surface-1));--r-surface-background-variant-color: rgb(var(--r-color-surface-2));--r-surface-border-color: rgb(var(--r-color-surface-3));--r-surface-text-color: rgb(var(--r-color-surface-7))}:root{color-scheme:light dark}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.i-fluent-checkmark-12-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 12 12' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.765 3.205a.75.75 0 0 1 .03 1.06l-4.25 4.5a.75.75 0 0 1-1.075.015L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.705 1.704l3.72-3.939a.75.75 0 0 1 1.06-.03'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-fluent-chevron-down-12-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 12 12' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M2.22 4.47a.75.75 0 0 1 1.06 0L6 7.19l2.72-2.72a.75.75 0 0 1 1.06 1.06L6.53 8.78a.75.75 0 0 1-1.06 0L2.22 5.53a.75.75 0 0 1 0-1.06'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-fluent-dismiss-12-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 12 12' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m1.897 2.054l.073-.084a.75.75 0 0 1 .976-.073l.084.073L6 4.939l2.97-2.97a.75.75 0 1 1 1.06 1.061L7.061 6l2.97 2.97a.75.75 0 0 1 .072.976l-.073.084a.75.75 0 0 1-.976.073l-.084-.073L6 7.061l-2.97 2.97A.75.75 0 1 1 1.97 8.97L4.939 6l-2.97-2.97a.75.75 0 0 1-.072-.976l.073-.084z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-fluent-star-12-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 12 12' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.283 1.546a.8.8 0 0 1 1.435 0L7.83 3.798l2.486.361a.8.8 0 0 1 .443 1.365L8.96 7.277l.425 2.476a.8.8 0 0 1-1.16.844L6 9.427l-2.224 1.17a.8.8 0 0 1-1.16-.844l.424-2.476l-1.799-1.753a.8.8 0 0 1 .444-1.365l2.486-.36z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-line-md-moon-twotone-alt-loop{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-dasharray='4' stroke-dashoffset='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 4h1.5M13 4h-1.5M13 4v1.5M13 4v-1.5'%3E%3Canimate id='lineMdMoonTwotoneAltLoop0' fill='freeze' attributeName='stroke-dashoffset' begin='0.7s;lineMdMoonTwotoneAltLoop0.begin+6s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop0.begin+2s;lineMdMoonTwotoneAltLoop0.begin+4s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop0.begin+1.2s;lineMdMoonTwotoneAltLoop0.begin+3.2s;lineMdMoonTwotoneAltLoop0.begin+5.2s' dur='0.4s' values='0;4'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop0.begin+1.8s' to='M12 5h1.5M12 5h-1.5M12 5v1.5M12 5v-1.5'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop0.begin+3.8s' to='M12 4h1.5M12 4h-1.5M12 4v1.5M12 4v-1.5'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop0.begin+5.8s' to='M13 4h1.5M13 4h-1.5M13 4v1.5M13 4v-1.5'/%3E%3C/path%3E%3Cpath d='M19 11h1.5M19 11h-1.5M19 11v1.5M19 11v-1.5'%3E%3Canimate id='lineMdMoonTwotoneAltLoop1' fill='freeze' attributeName='stroke-dashoffset' begin='1.1s;lineMdMoonTwotoneAltLoop1.begin+6s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop1.begin+2s;lineMdMoonTwotoneAltLoop1.begin+4s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop1.begin+1.2s;lineMdMoonTwotoneAltLoop1.begin+3.2s;lineMdMoonTwotoneAltLoop1.begin+5.2s' dur='0.4s' values='0;4'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop1.begin+1.8s' to='M17 11h1.5M17 11h-1.5M17 11v1.5M17 11v-1.5'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop1.begin+3.8s' to='M18 12h1.5M18 12h-1.5M18 12v1.5M18 12v-1.5'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop1.begin+5.8s' to='M19 11h1.5M19 11h-1.5M19 11v1.5M19 11v-1.5'/%3E%3C/path%3E%3Cpath d='M19 4h1.5M19 4h-1.5M19 4v1.5M19 4v-1.5'%3E%3Canimate id='lineMdMoonTwotoneAltLoop2' fill='freeze' attributeName='stroke-dashoffset' begin='2s;lineMdMoonTwotoneAltLoop2.begin+6s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop2.begin+2s' dur='0.4s' values='4;0'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='lineMdMoonTwotoneAltLoop2.begin+1.2s;lineMdMoonTwotoneAltLoop2.begin+3.2s' dur='0.4s' values='0;4'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop2.begin+1.8s' to='M20 5h1.5M20 5h-1.5M20 5v1.5M20 5v-1.5'/%3E%3Cset fill='freeze' attributeName='d' begin='lineMdMoonTwotoneAltLoop2.begin+5.8s' to='M19 4h1.5M19 4h-1.5M19 4v1.5M19 4v-1.5'/%3E%3C/path%3E%3C/g%3E%3Cpath fill='currentColor' fill-opacity='0' stroke='currentColor' stroke-dasharray='56' stroke-dashoffset='56' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 6 C7 12.08 11.92 17 18 17 C18.53 17 19.05 16.96 19.56 16.89 C17.95 19.36 15.17 21 12 21 C7.03 21 3 16.97 3 12 C3 8.83 4.64 6.05 7.11 4.44 C7.04 4.95 7 5.47 7 6 Z'%3E%3Canimate fill='freeze' attributeName='fill-opacity' begin='1.5s' dur='0.15s' values='0;0.3'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.6s' values='56;0'/%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-line-md-sunny-outline-twotone-loop{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath fill='currentColor' fill-opacity='0' stroke-dasharray='36' stroke-dashoffset='36' d='M12 7c2.76 0 5 2.24 5 5c0 2.76 -2.24 5 -5 5c-2.76 0 -5 -2.24 -5 -5c0 -2.76 2.24 -5 5 -5'%3E%3Canimate fill='freeze' attributeName='fill-opacity' begin='0.9s' dur='0.15s' values='0;0.3'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.4s' values='36;0'/%3E%3C/path%3E%3Cg%3E%3Cpath stroke-dasharray='2' stroke-dashoffset='2' d='M12 19v1M19 12h1M12 5v-1M5 12h-1'%3E%3Canimate fill='freeze' attributeName='d' begin='0.5s' dur='0.2s' values='M12 19v1M19 12h1M12 5v-1M5 12h-1;M12 21v1M21 12h1M12 3v-1M3 12h-1'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.5s' dur='0.2s' values='2;0'/%3E%3C/path%3E%3Cpath stroke-dasharray='2' stroke-dashoffset='2' d='M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5'%3E%3Canimate fill='freeze' attributeName='d' begin='0.7s' dur='0.2s' values='M17 17l0.5 0.5M17 7l0.5 -0.5M7 7l-0.5 -0.5M7 17l-0.5 0.5;M18.5 18.5l0.5 0.5M18.5 5.5l0.5 -0.5M5.5 5.5l-0.5 -0.5M5.5 18.5l-0.5 0.5'/%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.7s' dur='0.2s' values='2;0'/%3E%3C/path%3E%3CanimateTransform attributeName='transform' dur='30s' repeatCount='indefinite' type='rotate' values='0 12 12;360 12 12'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.i-tabler-loader-2{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 3a9 9 0 1 0 9 9'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1.2em;height:1.2em}.container{width:100%}.custom-colors,.custom-input-colors{border-width:1px;border-color:var(--l-border);background-color:var(--l-bg);color:var(--l-text)}[data-scheme=dark] .custom-colors,[data-scheme=dark] .custom-input-colors{border-color:var(--d-border);background-color:var(--d-bg);color:var(--d-text)}.custom-input-colors:focus{border-color:var(--l-border-f)}[data-scheme=dark] .custom-input-colors:focus{border-color:var(--d-border-f)}.custom-colors:hover{background-color:var(--l-bg-h);color:var(--l-text-h)}[data-scheme=dark] .custom-colors:hover{background-color:var(--d-bg-h);color:var(--d-text-h)}.custom-input-colors::placeholder{color:var(--l-placeholder)}[data-scheme=dark] .custom-input-colors::placeholder{color:var(--d-placeholder)}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.children\:pointer-events-auto>*{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute,.children\:absolute>*{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-10{bottom:2.5rem}.children\:top-0>*,.top-0{top:0}.left-\[0\.25rem\]{left:.25rem}.left-\[calc\(0\.125rem-1px\)\]{left:calc(.125rem - 1px)}.left-\[calc\(0\.25rem-1px\)\]{left:calc(.25rem - 1px)}.left-\[calc\(0\.875rem-1px\)\]{left:calc(.875rem - 1px)}.left-\[calc\(1\.125rem-1px\)\]{left:calc(1.125rem - 1px)}.left-\[calc\(1\.5rem-1px\)\]{left:calc(1.5rem - 1px)}.left-\[calc\(1\.75rem-1px\)\]{left:calc(1.75rem - 1px)}.left-\[calc\(2\.25rem-1px\)\]{left:calc(2.25rem - 1px)}.left-0{left:0}.left-50\%{left:50%}.right-0{right:0}.right-100\%{right:100%}.right-2{right:.5rem}.top-\[0\.25rem\]{top:.25rem}.top-1\/2,.top-50\%{top:50%}.top-100\%{top:100%}.z-1{z-index:1}.z-10{z-index:10}.z-100{z-index:100}.z-10000{z-index:10000}.z-20{z-index:20}.z-999{z-index:999}.-mx-0\.5{margin-left:-.125rem;margin-right:-.125rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mb-1{margin-bottom:.25rem}.mt-2{margin-top:.5rem}.box-content{box-sizing:content-box}.block{display:block}.before\:block:before{display:block}.inline-block{display:inline-block}.hidden,[data-scheme=dark] .dark\:hidden,[data-scheme=light] .light\:hidden{display:none}.children\:h-full>*,.h-full{height:100%}.children\:w-full>*,.w-full{width:100%}.children\:w-max>*{width:max-content}.h-\[calc\(100\%-0\.5rem\)\]{height:calc(100% - .5rem)}.h-\[var\(--size\)\]{height:var(--size)}.h-0\.25{height:.0625rem}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-1em{height:1em}.h-2{height:.5rem}.h-2px{height:2px}.h-3{height:.75rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-fit{height:fit-content}.max-w-100{max-width:25rem}.min-h-10{min-height:2.5rem}.min-h-16{min-height:4rem}.min-w-16{min-width:4rem}.min-w-20{min-width:5rem}.min-w-24{min-width:6rem}.min-w-80{min-width:20rem}.w-\[var\(--size\)\]{width:var(--size)}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2px{width:2px}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-auto{width:auto}.before\:h-0:before{height:0}.flex{display:flex}.inline-flex{display:inline-flex}.shrink-0{flex-shrink:0}.grow-1{flex-grow:1}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.-translate-x-0\.25{--un-translate-x:-.0625rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-0\.5{--un-translate-x:-.125rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-0\.75{--un-translate-x:-.1875rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-1{--un-translate-x:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-1\.5{--un-translate-x:-.375rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-1\/1{--un-translate-x:-100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-1\/2,.-translate-x-50\%{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-2{--un-translate-x:-.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-x-3{--un-translate-x:-.75rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-0\.25{--un-translate-y:-.0625rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-0\.5{--un-translate-y:-.125rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-0\.75{--un-translate-y:-.1875rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1{--un-translate-y:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\.5{--un-translate-y:-.375rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\/2,.-translate-y-50\%{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-2{--un-translate-y:-.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-3{--un-translate-y:-.75rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-0{--un-translate-x:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-1\/1{--un-translate-x:100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-1\/2{--un-translate-x:50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-0{--un-translate-y:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-1\/2{--un-translate-y:50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.active\:translate-y-0\.25:active{--un-translate-y:.0625rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.active\:translate-y-1px:active{--un-translate-y:1px;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes ping{0%{transform:scale(1);opacity:1}75%,to{transform:scale(2);opacity:0}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.cursor-pointer\!{cursor:pointer!important}.cursor-text{cursor:text}.select-none{-webkit-user-select:none;user-select:none}.items-end{align-items:flex-end}.items-center{align-items:center}.self-center{align-self:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.b,.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.hover\:border:hover{border-width:1px}.border-\[--l-border\]{border-color:var(--l-border)}.border-\[var\(--border-color\)\]{border-color:var(--border-color)}.border-\[var\(--r-surface-border-color\)\]{border-color:var(--r-surface-border-color)}.border-transparent{border-color:transparent}[data-scheme=dark] .dark\:border-\[--d-border\]{border-color:var(--d-border)}.hover\:border-\[--l-border-h\]:hover{border-color:var(--l-border-h)}[data-scheme=dark] .dark\:hover\:border-\[--d-border-h\]:hover{border-color:var(--d-border-h)}.rounded{border-radius:.25rem}.rounded-\[var\(--r-rounded\)\]{border-radius:var(--r-rounded)}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.not-first-children\:rounded-l-0>*:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.not-last-children\:rounded-r-0>*:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.first-children\:rounded-r-0>*:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.last-children\:rounded-l-0>*:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-br-lg{border-bottom-right-radius:.5rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border-dashed{border-style:dashed}.border-x-none{border-left-style:none;border-right-style:none}.first-children\:border-r-none>*:first-child{border-right-style:none}.last-children\:border-l-none>*:last-child{border-left-style:none}.bg-\[--l-bg\]{background-color:var(--l-bg)}.bg-\[var\(--d-bg\)\],[data-scheme=dark] .dark\:bg-\[--d-bg\],[data-scheme=dark] .dark\:bg-\[var\(--d-bg\)\]{background-color:var(--d-bg)}.bg-\[var\(--fill-color\)\]{background-color:var(--fill-color)}.bg-\[var\(--i-bg\)\],[data-scheme=dark] .dark\:bg-\[var\(--i-bg\)\]{background-color:var(--i-bg)}.bg-surface-0{--un-bg-opacity:1;background-color:rgb(var(--r-color-surface-0) / var(--un-bg-opacity))}.bg-surface-10\/10{background-color:rgb(var(--r-color-surface-10) / .1)}.bg-surface-3{--un-bg-opacity:1;background-color:rgb(var(--r-color-surface-3) / var(--un-bg-opacity))}.bg-white,[data-scheme=dark] .dark\:bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}[data-scheme=dark] .dark\:bg-surface-7{--un-bg-opacity:1;background-color:rgb(var(--r-color-surface-7) / var(--un-bg-opacity))}.hover\:bg-\[--l-bg-h\]:hover{background-color:var(--l-bg-h)}[data-scheme=dark] .dark\:hover\:bg-\[--d-bg-h\]:hover{background-color:var(--d-bg-h)}.object-cover{object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.children\:px-1\.5>*,.px-1\.5{padding-left:.375rem;padding-right:.375rem}.children\:px-2\.5>*{padding-left:.625rem;padding-right:.625rem}.children\:px-2>*,.px-2{padding-left:.5rem;padding-right:.5rem}.children\:py-1>*,.py-1{padding-top:.25rem;padding-bottom:.25rem}.children\:py-2>*,.py-2{padding-top:.5rem;padding-bottom:.5rem}.px,.px-4{padding-left:1rem;padding-right:1rem}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.pb{padding-bottom:1rem}.pl,.pl-4{padding-left:1rem}.pl-1\.5{padding-left:.375rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pr{padding-right:1rem}.pr-1{padding-right:.25rem}.pr-10{padding-right:2.5rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt{padding-top:1rem}.before\:pb-\[calc\(\(1\/var\(--ar-ratio\,1\)\)\*100\%\)\]:before{padding-bottom:calc((1 / var(--ar-ratio,1)) * 100%)}.text-center{text-align:center}.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-xs{font-size:.75rem;line-height:1rem}.text-\[--l-text\],.text-\[var\(--l-text\)\]{color:var(--l-text)}.text-\[var\(--d-text-h\)\]{color:var(--d-text-h)}.text-\[var\(--d-text\)\],[data-scheme=dark] .dark\:text-\[--d-text\],[data-scheme=dark] .dark\:text-\[var\(--d-text\)\]{color:var(--d-text)}.text-black{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.hover\:text-\[--l-text-h\]:hover{color:var(--l-text-h)}[data-scheme=dark] .dark\:hover\:text-\[--d-text-h\]:hover{color:var(--d-text-h)}.leading-0{line-height:0}.decoration-none{text-decoration:none}.op-50{opacity:.5}.op-60,.opacity-60{opacity:.6}.op0,.opacity-0{opacity:0}.op100{opacity:1}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-\[--l-outline\]:focus-visible{outline-color:var(--l-outline)}[data-scheme=dark] .dark\:focus-visible\:outline-\[--d-outline\]:focus-visible{outline-color:var(--d-outline)}.outline-offset-0\!{outline-offset:0px!important}.outline{outline-style:solid}.outline-none{outline:2px solid transparent;outline-offset:2px}.backdrop-blur-lg{--un-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-md{--un-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-sm{--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.filter-grayscale{--un-grayscale:grayscale(1);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-background-color\,border-color\,color{transition-property:background-color,border-color,color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-left{transition-property:left;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-top\,bottom\,opacity{transition-property:top,bottom,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;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)}.before\:content-\[\'\'\]:before{content:""}.placeholder-\[--l-placeholder\]::placeholder{color:var(--l-placeholder)}[data-scheme=dark] .dark\:placeholder-\[--d-placeholder\]::placeholder{color:var(--d-placeholder)}@media (min-width: 768px){.md\:w-md{width:28rem}.md\:items-center{align-items:center}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pb-0{padding-bottom:0}}.loading-progress{animation:loading-progress 1s infinite}@keyframes loading-progress{0%{transform:translate(-100%)}to{transform:translate(100%)}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roku-ui/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.14.
|
|
4
|
+
"version": "0.14.5",
|
|
5
5
|
"author": "Jianqi Pan <jannchie@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"vite-plugin-dts": "4.2.4",
|
|
55
55
|
"vitest": "^2.1.3",
|
|
56
56
|
"vue-tsc": "^2.1.6",
|
|
57
|
-
"@roku-ui/preset": "^0.14.
|
|
57
|
+
"@roku-ui/preset": "^0.14.5"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"dev": "vite",
|