fubi 0.4.0 → 0.4.1
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/package.json +7 -3
- package/src/dist/fubi.es.js +10206 -0
- package/src/dist/fubi.iife.js +25 -96
- package/src/dist/fubi.js +0 -10963
package/src/dist/fubi.iife.js
CHANGED
|
@@ -1,108 +1,37 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('/*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:rotateX(0);--tw-rotate-y:rotateY(0);--tw-rotate-z:rotateZ(0);--tw-skew-x:skewX(0);--tw-skew-y:skewY(0);--tw-scroll-snap-strictness:proximity;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-mask-linear:linear-gradient(#fff,#fff);--tw-mask-radial:linear-gradient(#fff,#fff);--tw-mask-conic:linear-gradient(#fff,#fff);--tw-mask-left:linear-gradient(#fff,#fff);--tw-mask-right:linear-gradient(#fff,#fff);--tw-mask-bottom:linear-gradient(#fff,#fff);--tw-mask-top:linear-gradient(#fff,#fff);--tw-mask-right-from-position:0%;--tw-mask-right-to-position:100%;--tw-mask-right-from-color:black;--tw-mask-right-to-color:transparent;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-950:oklch(25.8% .092 26.042);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-700:oklch(55.3% .195 38.402);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-900:oklch(40.5% .101 131.063);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-900:oklch(39.3% .095 152.535);--color-green-950:oklch(26.6% .065 152.934);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-900:oklch(37.8% .077 168.94);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-sky-900:oklch(39.1% .09 240.876);--color-sky-950:oklch(29.3% .066 243.157);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-700:oklch(45.7% .24 277.023);--color-indigo-800:oklch(39.8% .195 277.366);--color-indigo-900:oklch(35.9% .144 278.697);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-900:oklch(41% .159 10.272);--color-slate-800:oklch(27.9% .041 260.031);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:#16191c;--color-neutral-950:#090b0b;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wider:.05em;--leading-snug:1.375;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--drop-shadow-lg:0 4px 4px #00000026;--drop-shadow-xl:0 9px 7px #0000001a;--drop-shadow-2xl:0 25px 25px #00000026;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--ease-in-out-cubic:cubic-bezier(.6,0,.35,1);--ease-bounce-back:cubic-bezier(.175,.885,.32,1.275);--ease-spring:linear(0,.0443544,.148744,.280303,.417275,.546283,.660023,.755401,.832075,.891369,.93549,.966987,.988409,1.00209,1.01005,1.01397,1.01515,1.01462,1.01311,1.01114,1.00906,1.00709,1.00533,1.00386,1.00266,1.00174,1.00104,1.00055,1,1)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.tw-kc{pointer-events:auto}.tw-lc{pointer-events:none}.visible{visibility:visible}.tw-js{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.tw-yr{inset:calc(var(--spacing)*0)}.tw-bq{top:calc(var(--spacing)*-.5)}.-top-1{top:calc(var(--spacing)*-1)}.tw-iu{top:calc(var(--spacing)*0)}.tw-os{top:calc(var(--spacing)*1.5)}.tw-ps{top:50%}.tw-ju{top:calc(var(--spacing)*2)}.tw-ku{top:calc(var(--spacing)*4)}.top-\\[1px\\]{top:1px}.tw-yo{top:68px}.tw-mt{top:1px}.tw-eo{right:calc(var(--spacing)*-.5)}.tw-fs{right:calc(var(--spacing)*0)}.tw-sp{right:calc(var(--spacing)*1.5)}.tw-gs{right:calc(var(--spacing)*2)}.right-\\[1px\\]{right:1px}.tw-gq{bottom:calc(var(--spacing)*0)}.tw-no{bottom:calc(var(--spacing)*1.5)}.-left-1{left:calc(var(--spacing)*-1)}.tw-ts{left:calc(var(--spacing)*0)}.tw-zq{left:calc(var(--spacing)*1.5)}.tw-ar{left:50%}.tw-us{left:calc(var(--spacing)*4)}.tw-zr{left:1px}.isolate{isolation:isolate}.tw-cx{z-index:0}.tw-iw{z-index:10}.tw-nu{z-index:1}.tw-ou{z-index:3}.tw-pu{z-index:9}.tw-pt{z-index:10}.tw-qt{z-index:11}.tw-rt{z-index:50}.tw-qs{z-index:100}.tw-zo{z-index:999999}.tw-fl{z-index:210000000}.z-\\[210000002\\]{z-index:210000002}.tw-gl{z-index:210000003}.tw-pj{z-index:2100000000}.tw-ig{z-index:var(--index)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-1{margin:calc(var(--spacing)*1)}.tw-iv{margin-inline:calc(var(--spacing)*1)}.tw-ws{margin-inline:calc(var(--spacing)*1.5)}.tw-es{margin-inline:auto}.tw-xs{margin-block:calc(var(--spacing)*.5)}.tw-jv{margin-block:calc(var(--spacing)*2)}.tw-cv{margin-top:calc(var(--spacing)*0)}.tw-dv{margin-top:calc(var(--spacing)*1)}.tw-ev{margin-top:calc(var(--spacing)*2)}.tw-fv{margin-top:calc(var(--spacing)*3)}.tw-gv{margin-top:calc(var(--spacing)*4)}.tw-hv{margin-top:calc(var(--spacing)*8)}.tw-bv{margin-right:calc(var(--spacing)*3)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.tw-vu{margin-bottom:calc(var(--spacing)*1)}.tw-vs{margin-bottom:calc(var(--spacing)*1.5)}.tw-wu{margin-bottom:calc(var(--spacing)*2)}.tw-xu{margin-bottom:calc(var(--spacing)*3)}.tw-yu{margin-bottom:calc(var(--spacing)*4)}.tw-zu{margin-bottom:calc(var(--spacing)*6)}.tw-bu{margin-bottom:calc(var(--spacing)*12)}.tw-cu{margin-bottom:calc(var(--spacing)*16)}.tw-as{margin-bottom:auto}.tw-st{margin-left:calc(var(--spacing)*-2)}.tw-av{margin-left:calc(var(--spacing)*3)}.ml-auto{margin-left:auto}.line-clamp-4{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.tw-cm{display:inline-block}.tw-ln{display:inline-flex}.table{display:table}.tw-hr{width:calc(var(--spacing)*.5);height:calc(var(--spacing)*.5)}.tw-ft{width:calc(var(--spacing)*1);height:calc(var(--spacing)*1)}.tw-ir{width:calc(var(--spacing)*1.5);height:calc(var(--spacing)*1.5)}.tw-gt{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.tw-ht{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.tw-jr{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.tw-it{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.tw-kr{width:calc(var(--spacing)*4.5);height:calc(var(--spacing)*4.5)}.tw-jt{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.tw-kt{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.tw-vn{width:16px;height:16px}.tw-wn{width:18px;height:18px}.tw-xn{width:24px;height:24px}.tw-yn{width:26px;height:26px}.tw-zn{width:28px;height:28px}.tw-is{width:1px;height:1px}.tw-jw{height:calc(var(--spacing)*2)}.tw-kw{height:calc(var(--spacing)*3)}.tw-lw{height:calc(var(--spacing)*4)}.tw-au{height:calc(var(--spacing)*4.5)}.tw-mw{height:calc(var(--spacing)*5)}.tw-nw{height:calc(var(--spacing)*6)}.tw-ow{height:calc(var(--spacing)*8)}.tw-pw{height:calc(var(--spacing)*9)}.tw-qu{height:calc(var(--spacing)*10)}.tw-ru{height:calc(var(--spacing)*16)}.tw-su{height:calc(var(--spacing)*24)}.tw-tu{height:calc(var(--spacing)*32)}.tw-uu{height:calc(var(--spacing)*40)}.tw-kq{height:10px}.tw-lq{height:12px}.tw-mq{height:14px}.tw-nq{height:16px}.tw-oq{height:20px}.tw-pq{height:22px}.tw-qq{height:24px}.tw-rq{height:26px}.h-\\[28px\\]{height:28px}.tw-sq{height:30px}.tw-tq{height:32px}.tw-uq{height:34px}.tw-vq{height:36px}.tw-wq{height:37px}.tw-xq{height:44px}.tw-yq{height:70px}.tw-hp{height:160px}.tw-ss{height:100%}.h-px{height:1px}.tw-dk{max-height:107px}.tw-fk{min-height:160px}.tw-xw{width:calc(var(--spacing)*1)}.tw-yw{width:calc(var(--spacing)*2)}.tw-zw{width:calc(var(--spacing)*3)}.tw-lu{width:calc(var(--spacing)*3.5)}.tw-ax{width:calc(var(--spacing)*4)}.tw-bx{width:calc(var(--spacing)*6)}.tw-gw{width:calc(var(--spacing)*10)}.tw-sr{width:10px}.tw-tr{width:13px}.tw-ur{width:32px}.w-\\[48px\\]{width:48px}.tw-aq{width:240px}.w-\\[calc\\(100\\%-8px\\)\\]{width:calc(100% - 8px)}.tw-hb{width:var(--menu-width)}.tw-nt{width:auto}.tw-ot{width:100%}.tw-mu{width:max-content}.tw-hw{width:1px}.tw-jp{max-width:var(--container-2xl)}.tw-gm{max-width:56ch}.tw-hm{max-width:72ch}.tw-on{max-width:80%}.tw-ek{max-width:200px}.max-w-\\[512px\\]{max-width:512px}.tw-ds{min-width:calc(var(--spacing)*5)}.min-w-\\[150px\\]{min-width:150px}.tw-rs{flex:1}.tw-gr{flex-shrink:0}.tw-sn{transform-origin:0}.tw-hh{transform-origin:0 0}.tw-nf{transform-origin:100% 0}.tw-qe{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-\\[1\\%\\]{--tw-translate-x: -1% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-mc{--tw-translate-x: -7px ;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-p{--tw-translate-x: calc((100% + 1px)*-1) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-ld{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-sh{--tw-translate-x: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-x{--tw-translate-x: calc(100% + 4px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-y{--tw-translate-x: calc(100% + 7px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-gg{--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-re{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-\\[8px\\]{--tw-translate-y: -8px ;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-u{--tw-translate-y: calc((50% + 1px)*-1) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-md{--tw-translate-y:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\\[12\\%\\]{--tw-translate-y:12%;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-hg{--tw-translate-y:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-oj{--tw-translate-y:1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-hs{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.tw-up{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.tw-jg{--tw-scale-x: -100% ;scale:var(--tw-scale-x)var(--tw-scale-y)}.tw-vp{--tw-scale-y:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.tw-tn{--tw-scale-y:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.tw-fr{rotate:none}.tw-tp{rotate:90deg}.tw-so{rotate:180deg}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.tw-th{animation:var(--animate-bounce)}.tw-hl{animation:var(--animate-spin)}.tw-bn{cursor:auto}.tw-yb{cursor:context-menu}.tw-cn{cursor:help}.tw-zb{cursor:not-allowed!important}.cursor-nwse-resize{cursor:nwse-resize}.tw-ah{cursor:pointer!important}.resize{resize:both}.tw-lt{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.tw-wo{scroll-snap-align:start}.tw-pk{scroll-padding-inline:calc(var(--spacing)*1.5)}.tw-jn{grid-template-columns:repeat(1,minmax(0,1fr))}.tw-kn{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-iq{flex-direction:column}.tw-df{flex-direction:column-reverse}.tw-dp{flex-wrap:wrap}.tw-dm{align-items:center}.tw-ip{align-items:flex-end}.tw-mn{align-items:flex-start}.tw-fh{justify-content:space-between}.tw-ni{justify-content:center}.tw-nn{justify-content:flex-end}.tw-ck{justify-content:flex-start}.tw-tt{gap:calc(var(--spacing)*0)}.tw-vr{gap:calc(var(--spacing)*.5)}.tw-ut{gap:calc(var(--spacing)*1)}.tw-wr{gap:calc(var(--spacing)*1.5)}.tw-vt{gap:calc(var(--spacing)*2)}.tw-wt{gap:calc(var(--spacing)*3)}.tw-xr{gap:calc(var(--spacing)*3.5)}.tw-xt{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.tw-yt{gap:calc(var(--spacing)*6)}.tw-zt{gap:calc(var(--spacing)*8)}.gap-\\[28px\\]{gap:28px}:where(.tw-wp>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.tw-xp>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.tw-yp>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.tw-hq>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.tw-bh>:not(:last-child)){border-color:var(--color-zinc-700)}.tw-un{align-self:center}.tw-gk{overflow:auto}.tw-hk{overflow:clip}.tw-kh{overflow:hidden}.tw-lh{overflow-x:auto}.rounded{border-radius:.25rem}.tw-ik{border-radius:4px}.tw-jk{border-radius:6px}.tw-kk{border-radius:8px}.tw-ti{border-radius:10px}.tw-ui{border-radius:14px}.tw-vi{border-radius:15px}.tw-wi{border-radius:16px}.rounded-\\[18px\\]{border-radius:18px}.tw-jm{border-radius:3.40282e38px}.tw-to{border-radius:var(--radius-lg)}.tw-uo{border-radius:var(--radius-md)}.tw-vo{border-radius:var(--radius-xl)}.rounded-t-\\[8px\\]{border-top-left-radius:8px;border-top-right-radius:8px}.tw-rf{border-top-left-radius:12px;border-top-right-radius:12px}.tw-sf{border-top-left-radius:14px;border-top-right-radius:14px}.rounded-t-\\[20px\\]\\!{border-top-left-radius:20px!important;border-top-right-radius:20px!important}.rounded-t-\\[22px\\]{border-top-left-radius:22px;border-top-right-radius:22px}.tw-qf{border-top-left-radius:10px;border-bottom-left-radius:10px}.tw-km{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.tw-zi{border-top-left-radius:var(--radius-2xl)}.tw-nk{border-top-left-radius:var(--radius-sm)}.tw-lm{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.tw-aj{border-top-right-radius:var(--radius-2xl)}.tw-ok{border-top-right-radius:var(--radius-sm)}.rounded-b-\\[12px\\]{border-bottom-right-radius:12px;border-bottom-left-radius:12px}.tw-pf{border-bottom-right-radius:14px;border-bottom-left-radius:14px}.tw-yi{border-bottom-right-radius:var(--radius-2xl)}.tw-mk{border-bottom-right-radius:var(--radius-sm)}.tw-xi{border-bottom-left-radius:var(--radius-2xl)}.tw-lk{border-bottom-left-radius:var(--radius-sm)}.border,.border-1{border-style:var(--tw-border-style);border-width:1px}.tw-dq{border-style:var(--tw-border-style);border-width:2px}.tw-fq{border-top-style:var(--tw-border-style);border-top-width:1px}.tw-eq{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tw-mo{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.tw-ye{border-color:var(--color-amber-800)}.tw-pc{border-color:var(--color-emerald-800)}.tw-wb{border-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.tw-wb{border-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.tw-xb{border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.tw-xb{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent)}}.tw-xd{border-color:var(--color-indigo-800)}.tw-rg{border-color:var(--color-lime-500)}.tw-sg{border-color:var(--color-lime-800)}.tw-qc{border-color:var(--color-neutral-800)}.tw-rc{border-color:var(--color-neutral-900)}.tw-yd{border-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.tw-yd{border-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.tw-zd{border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.tw-zd{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.tw-tg{border-color:var(--color-rose-800)}.tw-hi{border-color:var(--color-sky-500)}.tw-ae{border-color:#00a5ef1a}@supports (color:color-mix(in lab,red,red)){.tw-ae{border-color:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.tw-be{border-color:#00a5ef4d}@supports (color:color-mix(in lab,red,red)){.tw-be{border-color:color-mix(in oklab,var(--color-sky-500)30%,transparent)}}.tw-af{border-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-af{border-color:color-mix(in oklab,var(--color-sky-900)0%,transparent)}}.tw-sc,.tw-ii{border-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-ii{border-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.tw-ji{border-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.tw-ji{border-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.tw-ki{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.tw-ki{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.tw-ug{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.tw-ug{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.tw-vg{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.tw-vg{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.tw-wg{border-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.tw-wg{border-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.tw-xg{border-color:var(--color-zinc-600)}.tw-yg{border-color:var(--color-zinc-700)}.tw-zg{border-color:var(--color-zinc-800)}.border-t-sky-500\\/10{border-top-color:#00a5ef1a}@supports (color:color-mix(in lab,red,red)){.border-t-sky-500\\/10{border-top-color:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.border-t-white\\/4{border-top-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/4{border-top-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.tw-bf{border-top-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.tw-bf{border-top-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.tw-ce{border-top-color:#fff3}@supports (color:color-mix(in lab,red,red)){.tw-ce{border-top-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-t-white\\/70{border-top-color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/70{border-top-color:color-mix(in oklab,var(--color-white)70%,transparent)}}.tw-ze{border-bottom-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-ze{border-bottom-color:color-mix(in oklab,var(--color-black)0%,transparent)}}.border-b-black\\/15{border-bottom-color:#00000026}@supports (color:color-mix(in lab,red,red)){.border-b-black\\/15{border-bottom-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.tw-wd{border-bottom-color:#0003}@supports (color:color-mix(in lab,red,red)){.tw-wd{border-bottom-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.tw-jl{background-color:#0b1922}.tw-kl{background-color:#111c13}.tw-il{background-color:#081821}.tw-ll{background-color:#131515}.tw-lb{background-color:var(--bg-color)}.bg-amber-400{background-color:var(--color-amber-400)}.tw-ml{background-color:var(--color-amber-500)}.tw-vh{background-color:#f99c000d}@supports (color:color-mix(in lab,red,red)){.tw-vh{background-color:color-mix(in oklab,var(--color-amber-500)5%,transparent)}}.tw-kg{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.tw-kg{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.tw-lg{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.tw-lg{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.tw-nl{background-color:var(--color-amber-600)}.tw-ol{background-color:var(--color-amber-700)}.tw-pl{background-color:var(--color-amber-800)}.tw-mg{background-color:#7b330633}@supports (color:color-mix(in lab,red,red)){.tw-mg{background-color:color-mix(in oklab,var(--color-amber-900)20%,transparent)}}.tw-ng{background-color:#7b33064d}@supports (color:color-mix(in lab,red,red)){.tw-ng{background-color:color-mix(in oklab,var(--color-amber-900)30%,transparent)}}.tw-og{background-color:#7b330666}@supports (color:color-mix(in lab,red,red)){.tw-og{background-color:color-mix(in oklab,var(--color-amber-900)40%,transparent)}}.tw-pg{background-color:#7b330680}@supports (color:color-mix(in lab,red,red)){.tw-pg{background-color:color-mix(in oklab,var(--color-amber-900)50%,transparent)}}.tw-cq{background-color:var(--color-black)}.tw-wh{background-color:var(--color-emerald-500)}.tw-pd{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.tw-pd{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.tw-xh{background-color:var(--color-emerald-700)}.tw-qd{background-color:#004e3b33}@supports (color:color-mix(in lab,red,red)){.tw-qd{background-color:color-mix(in oklab,var(--color-emerald-900)20%,transparent)}}.tw-rd{background-color:#004e3b66}@supports (color:color-mix(in lab,red,red)){.tw-rd{background-color:color-mix(in oklab,var(--color-emerald-900)40%,transparent)}}.tw-ql{background-color:var(--color-green-500)}.tw-qg{background-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.tw-qg{background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.tw-rj{background-color:var(--color-indigo-500)}.tw-sj{background-color:var(--color-indigo-800)}.tw-te{background-color:#312c854d}@supports (color:color-mix(in lab,red,red)){.tw-te{background-color:color-mix(in oklab,var(--color-indigo-900)30%,transparent)}}.tw-ue{background-color:#312c8566}@supports (color:color-mix(in lab,red,red)){.tw-ue{background-color:color-mix(in oklab,var(--color-indigo-900)40%,transparent)}}.tw-ve{background-color:#312c8580}@supports (color:color-mix(in lab,red,red)){.tw-ve{background-color:color-mix(in oklab,var(--color-indigo-900)50%,transparent)}}.tw-tm{background-color:var(--color-lime-500)}.tw-yh{background-color:#80cd001a}@supports (color:color-mix(in lab,red,red)){.tw-yh{background-color:color-mix(in oklab,var(--color-lime-500)10%,transparent)}}.tw-zh{background-color:#80cd0033}@supports (color:color-mix(in lab,red,red)){.tw-zh{background-color:color-mix(in oklab,var(--color-lime-500)20%,transparent)}}.tw-ai{background-color:#35530e33}@supports (color:color-mix(in lab,red,red)){.tw-ai{background-color:color-mix(in oklab,var(--color-lime-900)20%,transparent)}}.tw-sd{background-color:#40404026}@supports (color:color-mix(in lab,red,red)){.tw-sd{background-color:color-mix(in oklab,var(--color-neutral-700)15%,transparent)}}.tw-bi{background-color:var(--color-neutral-800)}.tw-we{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-we{background-color:color-mix(in oklab,var(--color-neutral-800)0%,transparent)}}.bg-neutral-800\\/60{background-color:#26262699}@supports (color:color-mix(in lab,red,red)){.bg-neutral-800\\/60{background-color:color-mix(in oklab,var(--color-neutral-800)60%,transparent)}}.tw-td{background-color:#262626b3}@supports (color:color-mix(in lab,red,red)){.tw-td{background-color:color-mix(in oklab,var(--color-neutral-800)70%,transparent)}}.tw-ud{background-color:#262626cc}@supports (color:color-mix(in lab,red,red)){.tw-ud{background-color:color-mix(in oklab,var(--color-neutral-800)80%,transparent)}}.tw-ci{background-color:var(--color-neutral-900)}.tw-xe{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-xe{background-color:color-mix(in oklab,var(--color-neutral-900)0%,transparent)}}.tw-di{background-color:var(--color-neutral-950)}.tw-vd{background-color:#090b0bcc}@supports (color:color-mix(in lab,red,red)){.tw-vd{background-color:color-mix(in oklab,var(--color-neutral-950)80%,transparent)}}.bg-red-400{background-color:var(--color-red-400)}.tw-fo{background-color:var(--color-red-500)}.tw-rl{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-rl{background-color:color-mix(in oklab,var(--color-red-500)0%,transparent)}}.tw-sl{background-color:#fb2c360d}@supports (color:color-mix(in lab,red,red)){.tw-sl{background-color:color-mix(in oklab,var(--color-red-500)5%,transparent)}}.tw-tj{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.tw-tj{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.tw-uj{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.tw-uj{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.tw-vj{background-color:#460809cc}@supports (color:color-mix(in lab,red,red)){.tw-vj{background-color:color-mix(in oklab,var(--color-red-950)80%,transparent)}}.tw-um{background-color:var(--color-rose-500)}.tw-vm{background-color:var(--color-rose-800)}.tw-ei{background-color:#8b083633}@supports (color:color-mix(in lab,red,red)){.tw-ei{background-color:color-mix(in oklab,var(--color-rose-900)20%,transparent)}}.tw-fi{background-color:#8b08364d}@supports (color:color-mix(in lab,red,red)){.tw-fi{background-color:color-mix(in oklab,var(--color-rose-900)30%,transparent)}}.tw-gi{background-color:#8b083680}@supports (color:color-mix(in lab,red,red)){.tw-gi{background-color:color-mix(in oklab,var(--color-rose-900)50%,transparent)}}.tw-go{background-color:var(--color-sky-500)}.tw-tl{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-tl{background-color:color-mix(in oklab,var(--color-sky-500)0%,transparent)}}.tw-wj{background-color:#00a5ef1a}@supports (color:color-mix(in lab,red,red)){.tw-wj{background-color:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.bg-sky-500\\/20{background-color:#00a5ef33}@supports (color:color-mix(in lab,red,red)){.bg-sky-500\\/20{background-color:color-mix(in oklab,var(--color-sky-500)20%,transparent)}}.tw-ho{background-color:var(--color-sky-600)}.tw-xj{background-color:#0084cc4d}@supports (color:color-mix(in lab,red,red)){.tw-xj{background-color:color-mix(in oklab,var(--color-sky-600)30%,transparent)}}.tw-yj{background-color:#052f4acc}@supports (color:color-mix(in lab,red,red)){.tw-yj{background-color:color-mix(in oklab,var(--color-sky-950)80%,transparent)}}.tw-io{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-io{background-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.tw-jo{background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.tw-jo{background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.tw-ko{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.tw-ko{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.tw-lo{background-color:#ffffff0f}@supports (color:color-mix(in lab,red,red)){.tw-lo{background-color:color-mix(in oklab,var(--color-white)6%,transparent)}}.tw-wm{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.tw-wm{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.tw-xm{background-color:var(--color-zinc-700)}.tw-ym{background-color:var(--color-zinc-800)}.tw-zm{background-color:var(--color-zinc-900)}.tw-an{background-color:var(--color-zinc-950)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.tw-se{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-radial{--tw-gradient-position:in oklab;background-image:radial-gradient(var(--tw-gradient-stops))}.from-neutral-200{--tw-gradient-from:var(--color-neutral-200);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.tw-gf{--tw-gradient-from:var(--color-neutral-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-neutral-950\\/0{--tw-gradient-from:#0000;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}@supports (color:color-mix(in lab,red,red)){.from-neutral-950\\/0{--tw-gradient-from:color-mix(in oklab,var(--color-neutral-950)0%,transparent)}}.from-white\\/80{--tw-gradient-from:#fffc;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}@supports (color:color-mix(in lab,red,red)){.from-white\\/80{--tw-gradient-from:color-mix(in oklab,var(--color-white)80%,transparent)}}.tw-jq{--tw-gradient-from-position:30%}.to-neutral-100\\/80{--tw-gradient-to:#f5f5f5cc;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}@supports (color:color-mix(in lab,red,red)){.to-neutral-100\\/80{--tw-gradient-to:color-mix(in oklab,var(--color-neutral-100)80%,transparent)}}.to-neutral-200\\/30{--tw-gradient-to:#e5e5e54d;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}@supports (color:color-mix(in lab,red,red)){.to-neutral-200\\/30{--tw-gradient-to:color-mix(in oklab,var(--color-neutral-200)30%,transparent)}}.to-neutral-950{--tw-gradient-to:var(--color-neutral-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.tw-gh{-webkit-mask-image:var(--tw-mask-linear),var(--tw-mask-radial),var(--tw-mask-conic);mask-image:var(--tw-mask-linear),var(--tw-mask-radial),var(--tw-mask-conic);--tw-mask-linear:var(--tw-mask-left),var(--tw-mask-right),var(--tw-mask-bottom),var(--tw-mask-top);--tw-mask-right:linear-gradient(to right,var(--tw-mask-right-from-color)var(--tw-mask-right-from-position),var(--tw-mask-right-to-color)var(--tw-mask-right-to-position));--tw-mask-right-from-position:90%;-webkit-mask-composite:source-in;mask-composite:intersect}.tw-de{fill:#00c7581a}@supports (color:color-mix(in lab,red,red)){.tw-de{fill:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.tw-uc{fill:#625fff1a}@supports (color:color-mix(in lab,red,red)){.tw-uc{fill:color-mix(in oklab,var(--color-indigo-500)10%,transparent)}}.tw-cc{fill:#a1a1a11a}@supports (color:color-mix(in lab,red,red)){.tw-cc{fill:color-mix(in oklab,var(--color-neutral-400)10%,transparent)}}.tw-dh{fill:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.tw-dh{fill:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.tw-eh{fill:#00a5ef1a}@supports (color:color-mix(in lab,red,red)){.tw-eh{fill:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.tw-cf{fill:#0000}.tw-tf{stroke:var(--color-green-500)}.tw-me{stroke:var(--color-indigo-500)}.tw-gb{stroke:#a1a1a133}@supports (color:color-mix(in lab,red,red)){.tw-gb{stroke:color-mix(in oklab,var(--color-neutral-400)20%,transparent)}}.tw-dj{stroke:var(--color-red-500)}.tw-ej{stroke:var(--color-sky-500)}.tw-lr{stroke-width:1px}.tw-mr{stroke-width:2px}.tw-nr{stroke-width:3px}.tw-im{object-fit:cover}.tw-qw{padding:calc(var(--spacing)*0)}.tw-rw{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.tw-sw{padding:calc(var(--spacing)*2)}.tw-du{padding:calc(var(--spacing)*2.5)}.tw-tw{padding:calc(var(--spacing)*3)}.tw-uw{padding:calc(var(--spacing)*4)}.tw-vw{padding:calc(var(--spacing)*6)}.tw-ww{padding:calc(var(--spacing)*8)}.tw-uv{padding-inline:calc(var(--spacing)*0)}.tw-ct{padding-inline:calc(var(--spacing)*.5)}.tw-vv{padding-inline:calc(var(--spacing)*1)}.tw-dt{padding-inline:calc(var(--spacing)*1.5)}.tw-wv{padding-inline:calc(var(--spacing)*2)}.tw-xv{padding-inline:calc(var(--spacing)*3)}.tw-yv{padding-inline:calc(var(--spacing)*4)}.tw-zv{padding-inline:calc(var(--spacing)*6)}.tw-aw{padding-inline:calc(var(--spacing)*7)}.tw-bw{padding-block:calc(var(--spacing)*0)}.tw-cw{padding-block:calc(var(--spacing)*1)}.tw-et{padding-block:calc(var(--spacing)*1.5)}.tw-dw{padding-block:calc(var(--spacing)*2)}.tw-ew{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.tw-fw{padding-block:calc(var(--spacing)*8)}.tw-gu{padding-block:calc(var(--spacing)*16)}.tw-hu{padding-block:calc(var(--spacing)*20)}.tw-qv{padding-top:calc(var(--spacing)*1)}.tw-bt{padding-top:calc(var(--spacing)*1.5)}.tw-rv{padding-top:calc(var(--spacing)*2)}.tw-sv{padding-top:calc(var(--spacing)*4)}.tw-tv{padding-top:calc(var(--spacing)*8)}.tw-er{padding-top:3px}.tw-fu{padding-top:1px}.tw-at{padding-right:calc(var(--spacing)*1.5)}.tw-ov{padding-right:calc(var(--spacing)*2)}.pr-2\\.5{padding-right:calc(var(--spacing)*2.5)}.tw-pv{padding-right:calc(var(--spacing)*3)}.tw-dr{padding-right:9px}.tw-pp{padding-right:10px}.tw-qp{padding-right:11px}.tw-rp{padding-right:42px}.tw-kv{padding-bottom:calc(var(--spacing)*0)}.pb-0\\.5{padding-bottom:calc(var(--spacing)*.5)}.tw-lv{padding-bottom:calc(var(--spacing)*1)}.tw-br{padding-bottom:4px}.tw-mv{padding-left:calc(var(--spacing)*1)}.tw-ys{padding-left:calc(var(--spacing)*1.5)}.tw-nv{padding-left:calc(var(--spacing)*3)}.tw-zs{padding-left:calc(var(--spacing)*3.5)}.tw-eu{padding-left:calc(var(--spacing)*10)}.tw-cr{padding-left:7px}.tw-mp{padding-left:12px}.tw-np{padding-left:18px}.tw-op{padding-left:22px}.tw-co{text-align:center}.tw-zp{text-align:left}.align-text-bottom{vertical-align:text-bottom}.tw-fp{font-family:var(--font-mono)}.tw-or{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.tw-pr{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.tw-qr{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.tw-nh{font-size:7px;line-height:1}.tw-oh{font-size:9px;line-height:1}.tw-uf{font-size:10px;line-height:1}.tw-vf{font-size:11px;line-height:1}.tw-id{font-size:13px;line-height:13px}.tw-hd{font-size:13px;line-height:130%}.tw-wf{font-size:13px;line-height:1}.text-\\[40vh\\]\\/none{font-size:40vh;line-height:1}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.tw-ks{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.tw-ls{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.tw-rm{font-size:var(--text-sm);line-height:1}.tw-ms{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.tw-ns{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.tw-kj{font-size:var(--text-xs);line-height:140%}.tw-sm{font-size:var(--text-xs);line-height:1}.tw-ao{font-size:10px}.tw-bo{font-size:13px}.text-\\[24px\\]{font-size:24px}.tw-em{--tw-leading:1;line-height:1}.tw-fm{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.tw-ep{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.tw-hn{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tw-in{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.tw-ak{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tw-lj{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tw-mj{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tw-ta{white-space:break-spaces}.tw-pe{white-space:nowrap}.tw-la{color:var(--icon-color)}.tw-ne{color:#fee685cc}@supports (color:color-mix(in lab,red,red)){.tw-ne{color:color-mix(in oklab,var(--color-amber-200)80%,transparent)}}.tw-fj{color:var(--color-amber-400)}.tw-gj{color:var(--color-amber-500)}.text-black\\/4{color:#0000000a}@supports (color:color-mix(in lab,red,red)){.text-black\\/4{color:color-mix(in oklab,var(--color-black)4%,transparent)}}.text-black\\/40{color:#0006}@supports (color:color-mix(in lab,red,red)){.text-black\\/40{color:color-mix(in oklab,var(--color-black)40%,transparent)}}.tw-xf{color:var(--color-emerald-400)}.tw-yf{color:var(--color-emerald-500)}.tw-hj{color:var(--color-green-400)}.tw-ij{color:var(--color-green-500)}.tw-jj{color:var(--color-green-950)}.tw-ph{color:var(--color-indigo-400)}.tw-qh{color:var(--color-indigo-500)}.tw-qk{color:var(--color-lime-400)}.tw-rk{color:var(--color-lime-500)}.tw-jd{color:#fafafa4d}@supports (color:color-mix(in lab,red,red)){.tw-jd{color:color-mix(in oklab,var(--color-neutral-50)30%,transparent)}}.tw-zf{color:var(--color-neutral-200)}.tw-ag{color:var(--color-neutral-500)}.tw-bg{color:var(--color-neutral-600)}.tw-cg{color:var(--color-neutral-700)}.tw-dg{color:var(--color-neutral-800)}.text-neutral-900{color:var(--color-neutral-900)}.text-orange-500\\/60{color:#fe6e0099}@supports (color:color-mix(in lab,red,red)){.text-orange-500\\/60{color:color-mix(in oklab,var(--color-orange-500)60%,transparent)}}.tw-mm{color:var(--color-red-100)}.tw-nm{color:var(--color-red-400)}.tw-om{color:var(--color-red-500)}.tw-sk{color:var(--color-rose-400)}.tw-pm{color:var(--color-sky-300)}.tw-rh{color:#77d4ff80}@supports (color:color-mix(in lab,red,red)){.tw-rh{color:color-mix(in oklab,var(--color-sky-300)50%,transparent)}}.tw-qm{color:var(--color-sky-500)}.tw-xo{color:var(--color-white)}.text-white\\/0{color:#0000}@supports (color:color-mix(in lab,red,red)){.text-white\\/0{color:color-mix(in oklab,var(--color-white)0%,transparent)}}.tw-tk{color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.tw-tk{color:color-mix(in oklab,var(--color-white)10%,transparent)}}.tw-uk{color:#fff3}@supports (color:color-mix(in lab,red,red)){.tw-uk{color:color-mix(in oklab,var(--color-white)20%,transparent)}}.tw-vk{color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.tw-vk{color:color-mix(in oklab,var(--color-white)30%,transparent)}}.tw-wk{color:#fff6}@supports (color:color-mix(in lab,red,red)){.tw-wk{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.tw-xk{color:#ffffff80}@supports (color:color-mix(in lab,red,red)){.tw-xk{color:color-mix(in oklab,var(--color-white)50%,transparent)}}.tw-yk{color:#fff9}@supports (color:color-mix(in lab,red,red)){.tw-yk{color:color-mix(in oklab,var(--color-white)60%,transparent)}}.tw-zk{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.tw-zk{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.tw-al{color:#fffc}@supports (color:color-mix(in lab,red,red)){.tw-al{color:color-mix(in oklab,var(--color-white)80%,transparent)}}.tw-bl{color:var(--color-zinc-300)}.tw-cl{color:var(--color-zinc-400)}.tw-dl{color:var(--color-zinc-500)}.tw-el{color:var(--color-zinc-900)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.tw-kp{opacity:0}.tw-ro{opacity:.3}.tw-rn{opacity:1}.mix-blend-multiply{mix-blend-mode:multiply}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tw-si{--tw-ring-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-si{--tw-ring-color:color-mix(in oklab,var(--color-sky-500)0%,transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.tw-lp{outline-style:var(--tw-outline-style);outline-width:1px}.tw-ih{outline-style:var(--tw-outline-style);outline-width:1.5px}.tw-of{outline-offset:1px}.outline-black\\/10{outline-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.outline-black\\/10{outline-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.tw-le{outline-color:var(--color-green-700)}.tw-bd{outline-color:var(--color-indigo-400)}.tw-jc{outline-color:var(--color-neutral-900)}.tw-fb{outline-color:#c53c0080}@supports (color:color-mix(in lab,red,red)){.tw-fb{outline-color:color-mix(in oklab,var(--color-orange-700)50%,transparent)}}.tw-cd{outline-color:#fb2c3680}@supports (color:color-mix(in lab,red,red)){.tw-cd{outline-color:color-mix(in oklab,var(--color-red-500)50%,transparent)}}.tw-dd{outline-color:#fb2c36cc}@supports (color:color-mix(in lab,red,red)){.tw-dd{outline-color:color-mix(in oklab,var(--color-red-500)80%,transparent)}}.tw-ed{outline-color:#77d4ff33}@supports (color:color-mix(in lab,red,red)){.tw-ed{outline-color:color-mix(in oklab,var(--color-sky-300)20%,transparent)}}.outline-sky-500{outline-color:var(--color-sky-500)}.tw-fd{outline-color:#00a5ef1a}@supports (color:color-mix(in lab,red,red)){.tw-fd{outline-color:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.tw-gd{outline-color:#00a5ef80}@supports (color:color-mix(in lab,red,red)){.tw-gd{outline-color:color-mix(in oklab,var(--color-sky-500)50%,transparent)}}.tw-jh{outline-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-jh{outline-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.tw-dn{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.tw-ch{--tw-drop-shadow-size:drop-shadow(0 25px 25px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-2xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.tw-li{--tw-drop-shadow-size:drop-shadow(0 4px 4px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-lg));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow-xl{--tw-drop-shadow-size:drop-shadow(0 9px 7px var(--tw-drop-shadow-color,#0000001a));--tw-drop-shadow:drop-shadow(var(--drop-shadow-xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.tw-qj,.backdrop-blur-\\[8px\\]{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.tw-nj{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.tw-oe{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.tw-kd{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.tw-tb{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.tw-ap{transition-delay:.2s}.tw-bp{transition-delay:.3s}.duration-0{--tw-duration:0s;transition-duration:0s}.tw-en{--tw-duration:75ms;transition-duration:75ms}.tw-vl{--tw-duration:.15s;transition-duration:.15s}.tw-wl{--tw-duration:.2s;transition-duration:.2s}.tw-xl{--tw-duration:.3s;transition-duration:.3s}.tw-yl{--tw-duration:.4s;transition-duration:.4s}.tw-zl{--tw-duration:.5s;transition-duration:.5s}.tw-am{--tw-duration:.8s;transition-duration:.8s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.tw-fn{--tw-ease:var(--ease-spring);transition-timing-function:var(--ease-spring)}.tw-fe:is(:where(.group):last-child *){display:none}.tw-z:is(:where(.group):last-child *){border-bottom-right-radius:12px;border-bottom-left-radius:12px}.tw-ia:is(:where(.group\\/wrapper):last-child *){display:block}@media (hover:hover){.tw-ob:is(:where(.group):hover *){height:80px}.tw-ca:is(:where(.group):hover *){background-color:var(--color-neutral-900)}.group-hover\\:text-white:is(:where(.group):hover *){color:var(--color-white)}.group-hover\\:opacity-0:is(:where(.group):hover *){opacity:0}.tw-r:is(:where(.group\\/back):hover *){color:var(--color-sky-500)}.tw-i:is(:where(.group\\/backdrop):hover *){--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.group-hover\\/card\\:w-\\[60px\\]:is(:where(.group\\/card):hover *){width:60px}.tw-fa:is(:where(.group\\/card):hover *){--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.tw-m:is(:where(.group\\/card):hover *){border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.tw-m:is(:where(.group\\/card):hover *){border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.tw-ba:is(:where(.group\\/card):hover *){opacity:0}.tw-w:is(:where(.group\\/card):hover *){opacity:1}.tw-s:is(:where(.group\\/card):hover *){--tw-duration:.4s;transition-duration:.4s}.group-hover\\/check\\:border-white\\/20:is(:where(.group\\/check):hover *){border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.group-hover\\/check\\:border-white\\/20:is(:where(.group\\/check):hover *){border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.tw-l:is(:where(.group\\/check):hover *){background-color:#00c758cc}@supports (color:color-mix(in lab,red,red)){.tw-l:is(:where(.group\\/check):hover *){background-color:color-mix(in oklab,var(--color-green-500)80%,transparent)}}.tw-t:is(:where(.group\\/check):hover *){opacity:1}.tw-n:is(:where(.group\\/header):hover *){--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.tw-o:is(:where(.group\\/header):hover *){opacity:1}.tw-ga:is(:where(.group\\/users):hover *){--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}}.group-active\\:stroke-4:is(:where(.group):active *){stroke-width:4px}.group-active\\:text-sky-500:is(:where(.group):active *){color:var(--color-sky-500)}.tw-h:is(:where(.group\\/check):active *){border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.tw-h:is(:where(.group\\/check):active *){border-color:color-mix(in oklab,var(--color-green-500)30%,transparent)}}.tw-k:is(:where(.group\\/check):active *){color:var(--color-green-500)}.group-disabled\\/card\\:w-\\[60px\\]:is(:is(:where(.group\\/card).disabled,.disabled :where(.group\\/card)) *){width:60px}.group-disabled\\/card\\:opacity-100:is(:is(:where(.group\\/card).disabled,.disabled :where(.group\\/card)) *),.tw-ka:is(:where(.peer):checked~*){opacity:1}.tw-oo:first-child{margin-left:calc(var(--spacing)*0)}@media (hover:hover){.tw-bm:hover{z-index:20}.tw-mi:hover{height:80px}.tw-lf:hover{--tw-scale-x:110%!important;--tw-scale-y:110%!important;--tw-scale-z:110%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.tw-ja:hover{border-color:var(--color-neutral-800)}.tw-sb:hover{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.tw-sb:hover{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.tw-db:hover{border-color:#fff9}@supports (color:color-mix(in lab,red,red)){.tw-db:hover{border-color:color-mix(in oklab,var(--color-white)60%,transparent)}}.tw-wc:hover{background-color:#0b2533}.tw-yc:hover{background-color:#1c1e1e}.tw-xc:hover{background-color:#152418}.tw-zc:hover{background-color:var(--color-amber-500)}.tw-pb:hover{background-color:var(--color-emerald-600)}.tw-dc:hover{background-color:var(--color-indigo-700)}.tw-ge:hover{background-color:var(--color-lime-600)}.tw-qb:hover{background-color:var(--color-neutral-800)}.tw-ra:hover{background-color:#26262633}@supports (color:color-mix(in lab,red,red)){.tw-ra:hover{background-color:color-mix(in oklab,var(--color-neutral-800)20%,transparent)}}.tw-rb:hover{background-color:var(--color-neutral-900)}.tw-sa:hover{background-color:#16191ccc}@supports (color:color-mix(in lab,red,red)){.tw-sa:hover{background-color:color-mix(in oklab,var(--color-neutral-900)80%,transparent)}}.tw-ec:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.tw-ec:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.tw-fc:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.tw-fc:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.tw-hf:hover{background-color:var(--color-sky-500)}.tw-gc:hover{background-color:#00a5ef80}@supports (color:color-mix(in lab,red,red)){.tw-gc:hover{background-color:color-mix(in oklab,var(--color-sky-500)50%,transparent)}}.tw-if:hover{background-color:var(--color-sky-600)}.tw-ad:hover{background-color:var(--color-slate-800)}.tw-jf:hover{background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.tw-jf:hover{background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.tw-kf:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.tw-kf:hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.tw-he:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.tw-he:hover{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.tw-ie:hover{background-color:var(--color-zinc-600)}.tw-je:hover{background-color:var(--color-zinc-700)}.tw-hc:hover{color:var(--color-lime-400)}.tw-ya:hover{color:var(--color-neutral-400)}.hover\\:text-orange-500:hover{color:var(--color-orange-500)}.tw-eb:hover{color:#ffa3a3cc}@supports (color:color-mix(in lab,red,red)){.tw-eb:hover{color:color-mix(in oklab,var(--color-red-300)80%,transparent)}}.tw-mf:hover{color:var(--color-white)}.tw-ic:hover{color:#ffffff80}@supports (color:color-mix(in lab,red,red)){.tw-ic:hover{color:color-mix(in oklab,var(--color-white)50%,transparent)}}.hover\\:opacity-80:hover{opacity:.8}.tw-bk:hover{transition-delay:0s}.tw-ke:hover{--tw-ease:var(--ease-spring);transition-timing-function:var(--ease-spring)}}.tw-ha:focus{border-color:var(--color-neutral-500)}.tw-cb:focus{border-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.tw-cb:focus{border-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.tw-wa:focus{color:var(--color-neutral-300)}.tw-ff:focus{color:var(--color-white)}.tw-ef:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tw-nb:focus{--tw-ring-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-nb:focus{--tw-ring-color:color-mix(in oklab,var(--color-sky-400)0%,transparent)}}.tw-vc:focus{--tw-outline-style:none;outline-style:none}.tw-za:active{border-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-za:active{border-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.tw-na:active{border-top-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-na:active{border-top-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.tw-ma:active{border-bottom-color:#0000}@supports (color:color-mix(in lab,red,red)){.tw-ma:active{border-bottom-color:color-mix(in oklab,var(--color-black)0%,transparent)}}.tw-ib:active{background-color:#ff65681a}@supports (color:color-mix(in lab,red,red)){.tw-ib:active{background-color:color-mix(in oklab,var(--color-red-400)10%,transparent)}}.tw-jb:active{background-color:#00a5ef33}@supports (color:color-mix(in lab,red,red)){.tw-jb:active{background-color:color-mix(in oklab,var(--color-sky-500)20%,transparent)}}.tw-nd:active{background-color:var(--color-sky-700)}.tw-nc:active{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.tw-nc:active{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.tw-oc:active{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.tw-oc:active{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.tw-oa:active{--tw-gradient-from:var(--color-neutral-800);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.tw-ab:active{color:var(--color-green-500)}.tw-bb:active{color:var(--color-green-950)}.tw-ub:active{color:var(--color-red-500)}.tw-vb:active{color:var(--color-sky-500)}.tw-od:active{color:var(--color-white)}.tw-pa:active{outline-offset:0px}.tw-v.disabled,.disabled .tw-v{pointer-events:none}.disabled\\:cursor-not-allowed.disabled,.disabled .disabled\\:cursor-not-allowed{cursor:not-allowed}.disabled\\:bg-neutral-800.disabled,.disabled .disabled\\:bg-neutral-800{background-color:var(--color-neutral-800)}.tw-qa.disabled,.disabled .tw-qa{background-color:var(--color-neutral-900)}.tw-ac.disabled,.disabled .tw-ac{background-color:#0000}@supports (color:color-mix(in lab,red,red)){:is(.tw-ac.disabled,.disabled .tw-ac){background-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.tw-mb.disabled,.disabled .tw-mb{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){:is(.tw-mb.disabled,.disabled .tw-mb){background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.tw-ea.disabled,.disabled .tw-ea{color:var(--color-neutral-800)}.tw-ua.disabled,.disabled .tw-ua{color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){:is(.tw-ua.disabled,.disabled .tw-ua){color:color-mix(in oklab,var(--color-white)10%,transparent)}}.tw-va.disabled,.disabled .tw-va{color:#ffffff80}@supports (color:color-mix(in lab,red,red)){:is(.tw-va.disabled,.disabled .tw-va){color:color-mix(in oklab,var(--color-white)50%,transparent)}}.tw-bc.disabled,.disabled .tw-bc{opacity:.3}.tw-tc.disabled,.disabled .tw-tc{outline-style:var(--tw-outline-style);outline-width:0}.disabled\\:select-text.disabled,.disabled .disabled\\:select-text{-webkit-user-select:text;user-select:text}.tw-da:has(:checked){border-color:var(--color-sky-500)}.tw-xa:has(:checked){background-color:var(--color-sky-500)}.tw-j:has(:focus-within){background-color:#16191ccc}@supports (color:color-mix(in lab,red,red)){.tw-j:has(:focus-within){background-color:color-mix(in oklab,var(--color-neutral-900)80%,transparent)}}.tw-q[data-opened]{border-bottom-color:#0003}@supports (color:color-mix(in lab,red,red)){.tw-q[data-opened]{border-bottom-color:color-mix(in oklab,var(--color-black)20%,transparent)}}@media (min-width:40rem){.tw-bj{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.tw-bs{margin-top:calc(var(--spacing)*0)}.tw-pi{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-qi{grid-template-columns:repeat(3,minmax(0,1fr))}.tw-ri{grid-template-columns:repeat(4,minmax(0,1fr))}.tw-pn{flex-direction:row}.tw-cs{padding-inline:calc(var(--spacing)*6)}.tw-qn{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}}@media (min-width:64rem){.tw-oi{grid-template-columns:repeat(4,minmax(0,1fr))}}.done\\:scale-75.done,.done .done\\:scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.done\\:text-white\\/30.done,.done .done\\:text-white\\/30{color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){:is(.done\\:text-white\\/30.done,.done .done\\:text-white\\/30){color:color-mix(in oklab,var(--color-white)30%,transparent)}}.done\\:opacity-0.done,.done .done\\:opacity-0{opacity:0}:is(.disabled\\:done\\:bg-white\\/0.disabled,.disabled .disabled\\:done\\:bg-white\\/0).done,.done :is(.disabled\\:done\\:bg-white\\/0.disabled,.disabled .disabled\\:done\\:bg-white\\/0){background-color:#0000}@supports (color:color-mix(in lab,red,red)){:is(:is(.disabled\\:done\\:bg-white\\/0.disabled,.disabled .disabled\\:done\\:bg-white\\/0).done,.done :is(.disabled\\:done\\:bg-white\\/0.disabled,.disabled .disabled\\:done\\:bg-white\\/0)){background-color:color-mix(in oklab,var(--color-white)0%,transparent)}}:is(.disabled\\:done\\:outline-white\\/5.disabled,.disabled .disabled\\:done\\:outline-white\\/5).done,.done :is(.disabled\\:done\\:outline-white\\/5.disabled,.disabled .disabled\\:done\\:outline-white\\/5){outline-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:is(:is(.disabled\\:done\\:outline-white\\/5.disabled,.disabled .disabled\\:done\\:outline-white\\/5).done,.done :is(.disabled\\:done\\:outline-white\\/5.disabled,.disabled .disabled\\:done\\:outline-white\\/5)){outline-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.new\\:border-t.new,.new .new\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.new\\:border-t-white\\/5.new,.new .new\\:border-t-white\\/5{border-top-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:is(.new\\:border-t-white\\/5.new,.new .new\\:border-t-white\\/5){border-top-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.new\\:bg-white\\/4.new,.new .new\\:bg-white\\/4{background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){:is(.new\\:bg-white\\/4.new,.new .new\\:bg-white\\/4){background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.new\\:text-white\\/60.new,.new .new\\:text-white\\/60{color:#fff9}@supports (color:color-mix(in lab,red,red)){:is(.new\\:text-white\\/60.new,.new .new\\:text-white\\/60){color:color-mix(in oklab,var(--color-white)60%,transparent)}}.new\\:shadow-lg.new,.new .new\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@media (hover:hover){:is(.new\\:hover\\:bg-white\\/8.new,.new .new\\:hover\\:bg-white\\/8):hover{background-color:#ffffff14}@supports (color:color-mix(in lab,red,red)){:is(.new\\:hover\\:bg-white\\/8.new,.new .new\\:hover\\:bg-white\\/8):hover{background-color:color-mix(in oklab,var(--color-white)8%,transparent)}}}.tw-aa::-webkit-scrollbar{height:calc(var(--spacing)*1)}.tw-f::-webkit-scrollbar-thumb{border-inline-style:var(--tw-border-style);border-inline-width:6px}.tw-a::-webkit-scrollbar-thumb{border-color:var(--color-neutral-950)}@media (hover:hover){.tw-c:hover::-webkit-scrollbar-thumb{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.tw-c:hover::-webkit-scrollbar-thumb{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}}.tw-b::-webkit-scrollbar-thumb:hover{background-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.tw-b::-webkit-scrollbar-thumb:hover{background-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.tw-d:has(>.avatar:hover)>.avatar{--tw-scale-x:50%;--tw-scale-y:50%;--tw-scale-z:50%;scale:var(--tw-scale-x)var(--tw-scale-y)}.tw-g:is(.wm-fubi-mine+.wm-fubi-mine),.tw-e:is(.wm-fubi-other+.wm-fubi-other){margin-top:2px}}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-cyrillic-ext-400-normal.woff2)format("woff2"),url(./files/inter-cyrillic-ext-400-normal.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-cyrillic-400-normal.woff2)format("woff2"),url(./files/inter-cyrillic-400-normal.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-greek-ext-400-normal.woff2)format("woff2"),url(./files/inter-greek-ext-400-normal.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-greek-400-normal.woff2)format("woff2"),url(./files/inter-greek-400-normal.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-vietnamese-400-normal.woff2)format("woff2"),url(./files/inter-vietnamese-400-normal.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-latin-ext-400-normal.woff2)format("woff2"),url(./files/inter-latin-ext-400-normal.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-latin-400-normal.woff2)format("woff2"),url(./files/inter-latin-400-normal.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-cyrillic-ext-500-normal.woff2)format("woff2"),url(./files/inter-cyrillic-ext-500-normal.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-cyrillic-500-normal.woff2)format("woff2"),url(./files/inter-cyrillic-500-normal.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-greek-ext-500-normal.woff2)format("woff2"),url(./files/inter-greek-ext-500-normal.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-greek-500-normal.woff2)format("woff2"),url(./files/inter-greek-500-normal.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-vietnamese-500-normal.woff2)format("woff2"),url(./files/inter-vietnamese-500-normal.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-latin-ext-500-normal.woff2)format("woff2"),url(./files/inter-latin-ext-500-normal.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-latin-500-normal.woff2)format("woff2"),url(./files/inter-latin-500-normal.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-cyrillic-ext-600-normal.woff2)format("woff2"),url(./files/inter-cyrillic-ext-600-normal.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-cyrillic-600-normal.woff2)format("woff2"),url(./files/inter-cyrillic-600-normal.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-greek-ext-600-normal.woff2)format("woff2"),url(./files/inter-greek-ext-600-normal.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-greek-600-normal.woff2)format("woff2"),url(./files/inter-greek-600-normal.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-vietnamese-600-normal.woff2)format("woff2"),url(./files/inter-vietnamese-600-normal.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-latin-ext-600-normal.woff2)format("woff2"),url(./files/inter-latin-ext-600-normal.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-latin-600-normal.woff2)format("woff2"),url(./files/inter-latin-600-normal.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-cyrillic-ext-700-normal.woff2)format("woff2"),url(./files/inter-cyrillic-ext-700-normal.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-cyrillic-700-normal.woff2)format("woff2"),url(./files/inter-cyrillic-700-normal.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-greek-ext-700-normal.woff2)format("woff2"),url(./files/inter-greek-ext-700-normal.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-greek-700-normal.woff2)format("woff2"),url(./files/inter-greek-700-normal.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-vietnamese-700-normal.woff2)format("woff2"),url(./files/inter-vietnamese-700-normal.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-latin-ext-700-normal.woff2)format("woff2"),url(./files/inter-latin-ext-700-normal.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-latin-700-normal.woff2)format("woff2"),url(./files/inter-latin-700-normal.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}#fubi-container{--ease-gradient:linear-gradient(var(--ease-gradient-direction),rgba(var(--ease-gradient-rgb),1)0%,rgba(var(--ease-gradient-rgb),.99)6.67%,rgba(var(--ease-gradient-rgb),.96)13.33%,rgba(var(--ease-gradient-rgb),.92)20%,rgba(var(--ease-gradient-rgb),.85)26.67%,rgba(var(--ease-gradient-rgb),.77)33.33%,rgba(var(--ease-gradient-rgb),.67)40%,rgba(var(--ease-gradient-rgb),.56)46.67%,rgba(var(--ease-gradient-rgb),.44)53.33%,rgba(var(--ease-gradient-rgb),.33)60%,rgba(var(--ease-gradient-rgb),.23)66.67%,rgba(var(--ease-gradient-rgb),.15)73.33%,rgba(var(--ease-gradient-rgb),.08)80%,rgba(var(--ease-gradient-rgb),.04)86.67%,rgba(var(--ease-gradient-rgb),.01)93.33%,rgba(var(--ease-gradient-rgb),0)100%);font-family:Inter,sans-serif;font-weight:400}.fubi-hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.fubi-hide-scrollbar::-webkit-scrollbar{display:none}#fubi-container:has([data-open].fubi-menu-content) *{pointer-events:none}#fubi-container:has([data-open]) #fubi-wrapper-outter,#fubi-container:has([data-open]) [data-open],#fubi-container:has([data-open]) [data-open] *,#fubi-container:has([data-open]) .fubi-card-wrapper:has([data-open]),[data-open] *{pointer-events:auto!important}:root{--fubi-theme:0,166,244;--fubi-secondary-theme:255,185,0;--fubi-transitions:outline .2s ease-out 0s,outline-offset 0s ease-out 0s,background-color .3s ease-out 0s}.fubi-scroll-disabled{touch-action:none;overflow:hidden}#fubi-container{pointer-events:none;top:calc(var(--spacing)*0);right:calc(var(--spacing)*0);z-index:2100000002;width:100%;height:100%;color:var(--color-white);position:absolute}#fubi-wrapper-outter{pointer-events:auto;right:calc(var(--spacing)*4);bottom:calc(var(--spacing)*4);z-index:2002;--tw-translate-y: calc(100% + 16px) ;translate:var(--tw-translate-x)var(--tw-translate-y);justify-content:flex-end;align-items:flex-end;display:flex;position:fixed}#fubi-wrapper-outter.enabled{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y);--tw-duration:.3s;transition-duration:.3s}#fubi-wrapper-outter.resizing #fubi-wrapper{outline-color:#00a5ef99}@supports (color:color-mix(in lab,red,red)){#fubi-wrapper-outter.resizing #fubi-wrapper{outline-color:color-mix(in oklab,var(--color-sky-500)60%,transparent)}}#fubi-wrapper{z-index:10;border-top-style:var(--tw-border-style);background-color:var(--color-neutral-950);outline-style:var(--tw-outline-style);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:var(--ease-in-out-cubic);transition-duration:.3s;transition-timing-function:var(--ease-in-out-cubic);--fubi-height:450px;--fubi-width:300px;border-top-width:1px;border-top-color:#ffffff1a;outline-width:1px;outline-color:#26262633;justify-content:flex-end;align-items:flex-end;display:flex;overflow:clip}@supports (color:color-mix(in lab,red,red)){#fubi-wrapper{border-top-color:color-mix(in oklab,var(--color-white)10%,transparent);outline-color:color-mix(in oklab,var(--color-neutral-800)20%,transparent)}}#fubi-wrapper.closed{max-height:calc(var(--spacing)*12);min-height:calc(var(--spacing)*12);width:calc(var(--spacing)*12);border-radius:24px}#fubi-wrapper.opened{max-height:var(--fubi-height);min-height:0;width:var(--fubi-width);border-radius:18px}#fubi-wrapper.opened:has(.comments-opened){min-height:400px}#fubi-wrapper.opened:has(.login-opened){min-height:300px}#fubi-wrapper.fubi-resizing{transition-property:none}#fubi-toggle-button{pointer-events:none;right:calc(var(--spacing)*0);bottom:calc(var(--spacing)*0);width:calc(var(--spacing)*12);height:calc(var(--spacing)*12);--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y);color:var(--color-white);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:var(--ease-in-out);transition-duration:.3s;transition-timing-function:var(--ease-in-out);border-radius:3.40282e38px;justify-content:center;align-items:center;display:flex;position:absolute}#fubi-wrapper.closed #fubi-toggle-button{pointer-events:auto;--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}#fubi-wrapper.closed #fubi-toggle-button:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){#fubi-wrapper.closed #fubi-toggle-button:hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}#fubi-pages{width:100%;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.5s;--tw-ease:var(--ease-in-out-cubic);transition-duration:.5s;transition-timing-function:var(--ease-in-out-cubic);position:relative}#fubi-wrapper.closed #fubi-pages{pointer-events:none;opacity:0}.fubi-page{pointer-events:auto;height:var(--fubi-height);width:100%;min-height:0;max-height:calc(100vh - 32px);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.5s;--tw-ease:var(--ease-in-out);transition-duration:.5s;transition-timing-function:var(--ease-in-out);overflow-y:auto}.fubi-resizing .fubi-page{transition-property:none}#fubi-pages.login-opened .fubi-page{min-height:298px}#fubi-pages.comments-opened .fubi-page{min-height:400px}.fubi-page::-webkit-scrollbar{-ms-overflow-style:none;scrollbar-width:none;display:none}#fubi-page-comments{top:calc(var(--spacing)*0);left:calc(var(--spacing)*0);--tw-translate-y:100%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute}.fubi-highlight{outline:1px solid rgba(var(--fubi-theme),1);outline-offset:-1px;background-color:rgba(var(--fubi-theme),.1);transition:var(--fubi-transitions);cursor:default}.tw-uh{animation:.5s linear infinite dashmove}.tw-kb{animation:.5s linear infinite dashmove-small}@keyframes dashmove-small{to{stroke-dashoffset:8px}}@keyframes dashmove{to{stroke-dashoffset:12px}}.fubi-state-msg{pointer-events:none;justify-content:flex-start;align-items:flex-start;gap:calc(var(--spacing)*1);border-style:var(--tw-border-style);padding:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*3);font-size:var(--text-xs);border-width:1px;align-self:center;line-height:120%;display:flex}.fubi-state-msg[data-type=info],.fubi-state-msg[data-type=loading]{color:var(--color-sky-500);background-color:#00a5ef1a;border-color:#77d4ff0d}@supports (color:color-mix(in lab,red,red)){:is(.fubi-state-msg[data-type=info],.fubi-state-msg[data-type=loading]){border-color:color-mix(in oklab,var(--color-sky-300)5%,transparent);background-color:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.fubi-state-msg[data-type=loading]{animation:var(--animate-pulse);background-color:var(--color-neutral-950);color:#ffffff4d;border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.fubi-state-msg[data-type=loading]{border-color:color-mix(in oklab,var(--color-white)5%,transparent);color:color-mix(in oklab,var(--color-white)30%,transparent)}}.fubi-state-msg[data-type=success]{color:var(--color-green-500);background-color:#00c7581a;border-color:#7bf1a80d}@supports (color:color-mix(in lab,red,red)){.fubi-state-msg[data-type=success]{border-color:color-mix(in oklab,var(--color-green-300)5%,transparent);background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.fubi-state-msg[data-type=error]{color:var(--color-red-500);background-color:#fb2c361a;border-color:#ffa3a30d}@supports (color:color-mix(in lab,red,red)){.fubi-state-msg[data-type=error]{border-color:color-mix(in oklab,var(--color-red-300)5%,transparent);background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.fubi-state-msg .fubi-state-msg-icon-wrapper{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5);background-color:currentColor;border-radius:3.40282e38px;justify-content:center;align-items:center;display:flex}@supports (color:color-mix(in lab,red,red)){.fubi-state-msg .fubi-state-msg-icon-wrapper{background-color:color-mix(in oklab,currentcolor 0%,transparent)}}#fubi-page-login{top:calc(var(--spacing)*1);left:calc(var(--spacing)*1);z-index:10;--tw-translate-y:100%;width:calc(100% - 8px);height:100%;translate:var(--tw-translate-x)var(--tw-translate-y);justify-content:center;align-items:center;gap:calc(var(--spacing)*0);border-style:var(--tw-border-style);background-color:var(--color-neutral-950);border-width:1px;border-color:#2626264d;border-top-left-radius:12px;border-top-right-radius:12px;flex-direction:column;display:flex;position:absolute}@supports (color:color-mix(in lab,red,red)){#fubi-page-login{border-color:color-mix(in oklab,var(--color-neutral-800)30%,transparent)}}#fubi-page-login .fubi-login-title{margin-top:calc(var(--spacing)*2);--tw-translate-y: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y);font-size:var(--text-xl);--tw-font-weight:var(--font-weight-bold);line-height:1;font-weight:var(--font-weight-bold);color:var(--color-neutral-100);opacity:0;--tw-duration:.3s;--tw-ease:var(--ease-out);transition-duration:.3s;transition-timing-function:var(--ease-out)}#fubi-page-login .fubi-login-subtitle{margin-bottom:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-neutral-700)}#fubi-page-login form{margin-top:calc(var(--spacing)*2);align-items:center;gap:calc(var(--spacing)*2);flex-direction:column;display:flex}#fubi-page-login input{height:calc(var(--spacing)*10);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-neutral-800);background-color:var(--color-neutral-900);width:200px;padding-inline:calc(var(--spacing)*3);font-size:var(--text-sm);--tw-leading:1;--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;border-radius:.25rem;line-height:1;transition-duration:.2s}#fubi-page-login input::placeholder{color:var(--color-neutral-700)}#fubi-page-login input:first-child{border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}@media (hover:hover){#fubi-page-login input:hover{border-color:#00bcfe33}@supports (color:color-mix(in lab,red,red)){#fubi-page-login input:hover{border-color:color-mix(in oklab,var(--color-sky-400)20%,transparent)}}}#fubi-page-login input:focus{border-color:var(--color-sky-400);--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:#00bcfe4d}@supports (color:color-mix(in lab,red,red)){#fubi-page-login input:focus{--tw-ring-color:color-mix(in oklab,var(--color-sky-400)30%,transparent)}}#fubi-page-login input:focus{--tw-outline-style:none;outline-style:none}#fubi-page-login input:nth-child(2){border-bottom-right-radius:var(--radius-xl);border-bottom-left-radius:var(--radius-xl);margin-top:-1px}#fubi-page-login input:invalid:not(:placeholder-shown){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){#fubi-page-login input:invalid:not(:placeholder-shown){--tw-ring-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}#fubi-page-login input:invalid:focus:not(:placeholder-shown){border-color:var(--color-red-500)}#fubi-pages.login-opened #fubi-page-login{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}#fubi-pages.login-opened #fubi-page-login .fubi-login-title{margin-top:calc(var(--spacing)*2);--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y);font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height));--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-neutral-100);opacity:1}#fubi-page-comments{bottom:calc(var(--spacing)*0);left:calc(var(--spacing)*0);z-index:10;--tw-translate-y:100%;translate:var(--tw-translate-x)var(--tw-translate-y);background-color:var(--color-neutral-950);border-top-left-radius:16px;border-bottom-left-radius:16px;position:absolute}#fubi-pages.comments-opened #fubi-page-comments{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}#fubi-page-threads{flex-direction:column;display:flex}#fubi-pages.login-opened #fubi-page-threads,#fubi-pages.comments-opened #fubi-page-threads{pointer-events:none;z-index:0;--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:.1}#fubi-threads-header{top:calc(var(--spacing)*0);left:calc(var(--spacing)*0);z-index:10;background-color:var(--color-sky-500);justify-content:space-between;align-items:center;display:flex;position:sticky}.fubi-threads-list-fade{--ease-gradient-direction:180deg;--ease-gradient-rgb:22,25,28;background:linear-gradient(var(--ease-gradient-direction),rgba(var(--ease-gradient-rgb),1)0%,rgba(var(--ease-gradient-rgb),.99)6.67%,rgba(var(--ease-gradient-rgb),.96)13.33%,rgba(var(--ease-gradient-rgb),.92)20%,rgba(var(--ease-gradient-rgb),.85)26.67%,rgba(var(--ease-gradient-rgb),.77)33.33%,rgba(var(--ease-gradient-rgb),.67)40%,rgba(var(--ease-gradient-rgb),.56)46.67%,rgba(var(--ease-gradient-rgb),.44)53.33%,rgba(var(--ease-gradient-rgb),.33)60%,rgba(var(--ease-gradient-rgb),.23)66.67%,rgba(var(--ease-gradient-rgb),.15)73.33%,rgba(var(--ease-gradient-rgb),.08)80%,rgba(var(--ease-gradient-rgb),.04)86.67%,rgba(var(--ease-gradient-rgb),.01)93.33%,rgba(var(--ease-gradient-rgb),0)100%);pointer-events:none;top:68px;left:calc(var(--spacing)*0);z-index:10;width:100%;height:64px;position:fixed}.fubi-threads-list-fade.bottom{--ease-gradient-direction:0deg;--ease-gradient-rgb:11,13,14;background:linear-gradient(var(--ease-gradient-direction),rgba(var(--ease-gradient-rgb),1)0%,rgba(var(--ease-gradient-rgb),.99)6.67%,rgba(var(--ease-gradient-rgb),.96)13.33%,rgba(var(--ease-gradient-rgb),.92)20%,rgba(var(--ease-gradient-rgb),.85)26.67%,rgba(var(--ease-gradient-rgb),.77)33.33%,rgba(var(--ease-gradient-rgb),.67)40%,rgba(var(--ease-gradient-rgb),.56)46.67%,rgba(var(--ease-gradient-rgb),.44)53.33%,rgba(var(--ease-gradient-rgb),.33)60%,rgba(var(--ease-gradient-rgb),.23)66.67%,rgba(var(--ease-gradient-rgb),.15)73.33%,rgba(var(--ease-gradient-rgb),.08)80%,rgba(var(--ease-gradient-rgb),.04)86.67%,rgba(var(--ease-gradient-rgb),.01)93.33%,rgba(var(--ease-gradient-rgb),0)100%);top:auto;bottom:calc(var(--spacing)*0);border-bottom-right-radius:12px;border-bottom-left-radius:12px;height:42px}.fubi-threads-list{z-index:-1;min-height:0;padding-inline:calc(var(--spacing)*1.5);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:var(--ease-in-out-cubic);transition-duration:.3s;transition-timing-function:var(--ease-in-out-cubic);flex-direction:column;flex:1;justify-content:flex-end;gap:1px;display:flex;position:relative}.fubi-threads-list.loading{max-height:0}#fubi-page-threads-backdrop{pointer-events:none;top:calc(var(--spacing)*0);left:calc(var(--spacing)*0);z-index:9;opacity:0;--tw-backdrop-blur:blur(8px);width:100%;height:100%;-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:var(--ease-in-out);transition-duration:.3s;transition-timing-function:var(--ease-in-out);background-color:#0009;border-radius:16px;position:fixed}@supports (color:color-mix(in lab,red,red)){#fubi-page-threads-backdrop{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}#fubi-page-threads:has(#fubi-page-switcher.opened) #fubi-page-threads-backdrop{pointer-events:auto;opacity:1}#fubi-page-threads:has(#user-menu:hover) #fubi-threads-list{pointer-events:none;opacity:.3;--tw-blur:blur(4px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}#fubi-threads-list-archived{background-color:var(--color-neutral-950);border-radius:8px 8px 12px 12px}.fubi-thread-button-wrapper{width:100%;display:flex;position:relative}.fubi-thread-button-wrapper.placeholder{-webkit-mask-image:linear-gradient(90deg,#000 85%,#0000 100%);mask-image:linear-gradient(90deg,#000 85%,#0000)}.fubi-thread-button-wrapper.new .fubi-thread-button{background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.new .fubi-thread-button{background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.fubi-thread-button-wrapper.invalid .fubi-thread-button{border-style:var(--tw-border-style);background-color:#fb2c361a;border-width:1px;border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.invalid .fubi-thread-button{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent);background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}@media (hover:hover){.fubi-thread-button-wrapper.invalid .fubi-thread-button:hover{border-color:#fb2c3666}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.invalid .fubi-thread-button:hover{border-color:color-mix(in oklab,var(--color-red-500)40%,transparent)}}.fubi-thread-button-wrapper.invalid .fubi-thread-button:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.invalid .fubi-thread-button:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}}.fubi-thread-button-wrapper.invalid .fubi-thread-button .fubi-thread-button-text{color:var(--color-red-400)}.fubi-thread-button-wrapper.invalid .fubi-thread-button .fubi-thread-button-menu{color:var(--color-red-400);background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.invalid .fubi-thread-button .fubi-thread-button-menu{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.fubi-thread-button-wrapper:has(.fubi-thread-check-button:hover){pointer-events:none}.fubi-thread-button-wrapper:hover .fubi-thread-check-button{background-color:var(--color-neutral-950);border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper:hover .fubi-thread-check-button{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.fubi-thread-button-wrapper:hover .fubi-thread-check-button.done{background-color:#0000004d;border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper:hover .fubi-thread-check-button.done{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent);background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}.fubi-thread-button-wrapper .fubi-thread-check-button.done{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-white);background-color:#00c7580d;border-color:#00c7584d;margin-left:1px}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper .fubi-thread-check-button.done{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent);background-color:color-mix(in oklab,var(--color-green-500)5%,transparent)}}@media (hover:hover){.fubi-thread-button-wrapper .fubi-thread-check-button.done:hover{border-color:var(--color-green-500)}}.fubi-thread-button-wrapper .fubi-thread-check-button.done:active{background-color:var(--color-green-900);color:#0000}.fubi-thread-button-wrapper .fubi-thread-check-button.done:active .fubi-thread-check-button-icon{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y);--tw-duration:.1s;transition-duration:.1s}.fubi-thread-button-wrapper .fubi-thread-check-button.done .fubi-thread-check-button-icon{visibility:visible;--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:1;--tw-duration:.1s;--tw-ease:var(--ease-bounce-back);transition-duration:.1s;transition-timing-function:var(--ease-bounce-back)}.fubi-thread-button-wrapper.new .fubi-thread-button-text{color:var(--color-white)}.fubi-thread-button-wrapper.new .fubi-thread-check-button{background-color:var(--color-red-500);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-white);margin-left:1px}.fubi-thread-button-wrapper.new .fubi-thread-check-button:active{background-color:var(--color-green-900);color:#0000}.fubi-thread-button-wrapper.done .fubi-tag-icon{color:#ffffff4d!important}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.done .fubi-tag-icon{color:color-mix(in oklab,var(--color-white)30%,transparent)!important}}.fubi-thread-button-wrapper.done .fubi-thread-button-text{color:#fff3}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.done .fubi-thread-button-text{color:color-mix(in oklab,var(--color-white)20%,transparent)}}.fubi-thread-button-wrapper span{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal);opacity:.5}.fubi-thread-button{align-items:flex-start;gap:calc(var(--spacing)*1.5);width:100%;padding:calc(var(--spacing)*1.5);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;--tw-ease:var(--ease-in-out);transition-duration:.15s;transition-timing-function:var(--ease-in-out);will-change:transform;border-radius:8px;flex:1;display:flex}@media (hover:hover){.fubi-thread-button:hover{background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button:hover{background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}}.fubi-thread-button:active{background-color:#ffffff1a;scale:1}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button:active{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.fubi-thread-button .fubi-thread-button-text{gap:calc(var(--spacing)*1);padding-top:calc(var(--spacing)*1);text-align:left;--tw-font-weight:var(--font-weight-medium);font-size:13px;line-height:1;font-weight:var(--font-weight-medium);text-wrap:balance;color:#fff9;transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;--tw-ease:var(--ease-in-out);transition-duration:.2s;transition-timing-function:var(--ease-in-out);flex-direction:column;flex:1;display:flex}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button .fubi-thread-button-text{color:color-mix(in oklab,var(--color-white)60%,transparent)}}.fubi-thread-button .fubi-thread-button-text p{text-transform:capitalize}.fubi-thread-button .fubi-thread-button-text span{-webkit-line-clamp:3;--tw-font-weight:var(--font-weight-normal);font-size:12px;line-height:140%;font-weight:var(--font-weight-normal);text-overflow:ellipsis;color:#fff6;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button .fubi-thread-button-text span{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.fade-to-r{-webkit-mask-image:linear-gradient(90deg,#000 85%,#0000 100%);mask-image:linear-gradient(90deg,#000 85%,#0000)}.fade-to-b{-webkit-mask-image:linear-gradient(#000 0%,#0000 100%);mask-image:linear-gradient(#000,#0000)}.bounce-x{animation:1s .3s infinite bounce-x}@keyframes bounce-x{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:none}50%{animation-timing-function:cubic-bezier(.3,0,.2,1);transform:translate(-8px)}}:root,#fubi-container{--icon-default-color:var(--color-sky-500);--icon-div-color:var(--color-sky-500);--icon-nav-color:var(--color-indigo-500);--icon-img-color:var(--color-rose-500);--icon-video-color:var(--color-rose-500);--icon-component-color:var(--color-indigo-500);--icon-modal-color:var(--color-sky-500);--icon-form-color:var(--color-sky-500);--icon-input-color:var(--color-sky-500);--icon-section-color:var(--color-sky-500);--icon-aside-color:var(--color-sky-500);--icon-table-color:var(--color-amber-500);--icon-thead-color:var(--color-sky-500);--icon-th-color:#febc25;--icon-td-color:#fd982a;--icon-tr-color:#fd982a;--icon-svg-color:var(--color-emerald-400);--icon-button-color:var(--color-green-400);--icon-a-color:var(--color-sky-500);--icon-h1-color:#ffdf20;--icon-h2-color:#febc25;--icon-h3-color:#fd982a;--icon-h4-color:#fc742e;--icon-h5-color:#fb5133;--icon-h6-color:var(--color-red-500);--icon-p-color:var(--color-red-500);--icon-ul-color:var(--color-emerald-500);--icon-ol-color:var(--color-sky-500);--icon-li-color:var(--color-emerald-500);--icon-footer-color:var(--color-indigo-500);--icon-not-allowed-color:var(--color-red-400);--icon-info-color:var(--color-sky-500);--icon-error-color:var(--color-red-500);--icon-plus-color:var(--color-green-500);--icon-back-color:var(--color-sky-500);--icon-comment-color:var(--color-indigo-400);--icon-url-color:var(--color-sky-300)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-scroll-snap-strictness{syntax:"*";inherits:false;initial-value:proximity}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-mask-linear{syntax:"*";inherits:false;initial-value:linear-gradient(#fff,#fff)}@property --tw-mask-radial{syntax:"*";inherits:false;initial-value:linear-gradient(#fff,#fff)}@property --tw-mask-conic{syntax:"*";inherits:false;initial-value:linear-gradient(#fff,#fff)}@property --tw-mask-left{syntax:"*";inherits:false;initial-value:linear-gradient(#fff,#fff)}@property --tw-mask-right{syntax:"*";inherits:false;initial-value:linear-gradient(#fff,#fff)}@property --tw-mask-bottom{syntax:"*";inherits:false;initial-value:linear-gradient(#fff,#fff)}@property --tw-mask-top{syntax:"*";inherits:false;initial-value:linear-gradient(#fff,#fff)}@property --tw-mask-right-from-position{syntax:"*";inherits:false;initial-value:0%}@property --tw-mask-right-to-position{syntax:"*";inherits:false;initial-value:100%}@property --tw-mask-right-from-color{syntax:"*";inherits:false;initial-value:black}@property --tw-mask-right-to-color{syntax:"*";inherits:false;initial-value:transparent}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}')),document.head.appendChild(r)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
var fubi=function(ft){"use strict";var K4=Object.defineProperty;var fc=ft=>{throw TypeError(ft)};var Y4=(ft,vt,xt)=>vt in ft?K4(ft,vt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):ft[vt]=xt;var St=(ft,vt,xt)=>Y4(ft,typeof vt!="symbol"?vt+"":vt,xt),Ma=(ft,vt,xt)=>vt.has(ft)||fc("Cannot "+xt);var d=(ft,vt,xt)=>(Ma(ft,vt,"read from private field"),xt?xt.call(ft):vt.get(ft)),L=(ft,vt,xt)=>vt.has(ft)?fc("Cannot add the same private member more than once"):vt instanceof WeakSet?vt.add(ft):vt.set(ft,xt),ht=(ft,vt,xt,Pn)=>(Ma(ft,vt,"write to private field"),Pn?Pn.call(ft,xt):vt.set(ft,xt),xt),Pt=(ft,vt,xt)=>(Ma(ft,vt,"access private method"),xt);var nn,Qn,Tr,Ks,hc,Ar,rn,de,_n,Mr,Ir,Fr,Pr,Rr,Hr,Vr,Dr,jr,qr,Ur,Br,Nr,zr,Zr,Wr,Js,Gr,Kr,Yr,Xs,Qs,to,eo,no,ro,Jr,Ql,xn,kn,En,ie,sn,Sn,tr,Ln,Xr,Fe,er,io,pc,Pe,nr,Qr,On,ti,ei,ni,ri,ii,si,oi,ai,li,ci,tc,ui,di,fi,hi,pi,wi,gi,vi,mi,bi,Ci,yi,_i,xi,ec,ki,Ei,Si,Li,Oi,nc,$i,Ti,Ai,Mi,Ii,Fi,Pi,Ri,Hi,Vi,Di,ji,qi,Ui,rc,rr,Bi,$n,Tn,ir,sr,Et,Ni,ke,so,oo,ao,lo,co,uo,fo,or,Re,ar,on,An,lr,He,Ve,zi,yt,bo,Ki,Yi,Ji,wc,ic;const vt="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(vt);const xt=1,Pn=2,Ia=4,gc=8,vc=16,mc=1,bc=2,Cc=4,yc=8,_c=16,xc=1,kc=2,Ec=4,Sc=1,Lc=2,Rt=Symbol(),Oc="http://www.w3.org/2000/svg",Fa=!1,se=2,Pa=4,Xi=8,Qi=16,Ee=32,fr=64,ts=128,Qt=256,es=512,Ht=1024,Se=2048,Rn=4096,Le=8192,ns=16384,Ra=32768,ln=65536,$c=1<<17,Tc=1<<19,Ha=1<<20,cn=Symbol("$state"),Ac=Symbol("legacy props"),Mc=Symbol("");var rs=Array.isArray,Ic=Array.prototype.indexOf,Co=Array.from,Fc=Object.defineProperty,Hn=Object.getOwnPropertyDescriptor,Va=Object.getOwnPropertyDescriptors,Da=Object.prototype,Pc=Array.prototype,is=Object.getPrototypeOf;function Rc(e){return typeof e=="function"}const Oe=()=>{};function Hc(e){return e()}function ss(e){for(var t=0;t<e.length;t++)e[t]()}function Vc(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}let hr=[],yo=[];function ja(){var e=hr;hr=[],ss(e)}function Dc(){var e=yo;yo=[],ss(e)}function pr(e){hr.length===0&&queueMicrotask(ja),hr.push(e)}function qa(){hr.length>0&&ja(),yo.length>0&&Dc()}function Ua(e){return e===this.v}function _o(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function jc(e,t){return e!==t}function xo(e){return!_o(e,this.v)}function qc(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Uc(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Bc(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Nc(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function zc(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Zc(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Wc(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Gc(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function Kc(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let Vn=!1,Yc=!1;function Jc(){Vn=!0}const Xc=[];function Qc(e,t=!1){return os(e,new Map,"",Xc)}function os(e,t,n,r,i=null){if(typeof e=="object"&&e!==null){var s=t.get(e);if(s!==void 0)return s;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(rs(e)){var o=Array(e.length);t.set(e,o),i!==null&&t.set(i,o);for(var a=0;a<e.length;a+=1){var l=e[a];a in e&&(o[a]=os(l,t,n,r))}return o}if(is(e)===Da){o={},t.set(e,o),i!==null&&t.set(i,o);for(var c in e)o[c]=os(e[c],t,n,r);return o}if(e instanceof Date)return structuredClone(e);if(typeof e.toJSON=="function")return os(e.toJSON(),t,n,r,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch{return e}}function _t(e,t){var n={f:0,v:e,reactions:null,equals:Ua,rv:0,wv:0};return n}function M(e){return tu(_t(e))}function Ba(e,t=!1){var r;const n=_t(e);return t||(n.equals=xo),Vn&&bt!==null&&bt.l!==null&&((r=bt.l).s??(r.s=[])).push(n),n}function tu(e){return it!==null&&!te&&(it.f&se)!==0&&(we===null?ou([e]):we.push(e)),e}function x(e,t){return it!==null&&!te&&qn()&&(it.f&(se|Qi))!==0&&(we===null||!we.includes(e))&&Kc(),ko(e,t)}function ko(e,t){return e.equals(t)||(e.v,e.v=t,e.wv=t1(),Na(e,Se),qn()&&st!==null&&(st.f&Ht)!==0&&(st.f&(Ee|fr))===0&&($e===null?au([e]):$e.push(e))),t}function Na(e,t){var n=e.reactions;if(n!==null)for(var r=qn(),i=n.length,s=0;s<i;s++){var o=n[s],a=o.f;(a&Se)===0&&(!r&&o===st||(ge(o,t),(a&(Ht|Qt))!==0&&((a&se)!==0?Na(o,Rn):ws(o))))}}function H(e){var t=se|Se,n=it!==null&&(it.f&se)!==0?it:null;return st===null||n!==null&&(n.f&Qt)!==0?t|=Qt:st.f|=Ha,{ctx:bt,deps:null,effects:null,equals:Ua,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:n??st}}function Eo(e){const t=H(e);return t.equals=xo,t}function za(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)oe(t[n])}}function eu(e){for(var t=e.parent;t!==null;){if((t.f&se)===0)return t;t=t.parent}return null}function nu(e){var t,n=st;pe(eu(e));try{za(e),t=n1(e)}finally{pe(n)}return t}function Za(e){var t=nu(e),n=(Ue||(e.f&Qt)!==0)&&e.deps!==null?Rn:Ht;ge(e,n),e.equals(t)||(e.v=t,e.wv=t1())}let ru=!1;function T(e,t=null,n){if(typeof e!="object"||e===null||cn in e)return e;const r=is(e);if(r!==Da&&r!==Pc)return e;var i=new Map,s=rs(e),o=_t(0);s&&i.set("length",_t(e.length));var a;return new Proxy(e,{defineProperty(l,c,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Zc();var p=i.get(c);return p===void 0?(p=_t(u.value),i.set(c,p)):x(p,T(u.value,a)),!0},deleteProperty(l,c){var u=i.get(c);if(u===void 0)c in l&&i.set(c,_t(Rt));else{if(s&&typeof c=="string"){var p=i.get("length"),f=Number(c);Number.isInteger(f)&&f<p.v&&x(p,f)}x(u,Rt),Wa(o)}return!0},get(l,c,u){var g;if(c===cn)return e;var p=i.get(c),f=c in l;if(p===void 0&&(!f||(g=Hn(l,c))!=null&&g.writable)&&(p=_t(T(f?l[c]:Rt,a)),i.set(c,p)),p!==void 0){var w=h(p);return w===Rt?void 0:w}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var p=i.get(c);p&&(u.value=h(p))}else if(u===void 0){var f=i.get(c),w=f==null?void 0:f.v;if(f!==void 0&&w!==Rt)return{enumerable:!0,configurable:!0,value:w,writable:!0}}return u},has(l,c){var w;if(c===cn)return!0;var u=i.get(c),p=u!==void 0&&u.v!==Rt||Reflect.has(l,c);if(u!==void 0||st!==null&&(!p||(w=Hn(l,c))!=null&&w.writable)){u===void 0&&(u=_t(p?T(l[c],a):Rt),i.set(c,u));var f=h(u);if(f===Rt)return!1}return p},set(l,c,u,p){var v;var f=i.get(c),w=c in l;if(s&&c==="length")for(var g=u;g<f.v;g+=1){var m=i.get(g+"");m!==void 0?x(m,Rt):g in l&&(m=_t(Rt),i.set(g+"",m))}f===void 0?(!w||(v=Hn(l,c))!=null&&v.writable)&&(f=_t(void 0),x(f,T(u,a)),i.set(c,f)):(w=f.v!==Rt,x(f,T(u,a)));var C=Reflect.getOwnPropertyDescriptor(l,c);if(C!=null&&C.set&&C.set.call(p,u),!w){if(s&&typeof c=="string"){var _=i.get("length"),b=Number(c);Number.isInteger(b)&&b>=_.v&&x(_,b+1)}Wa(o)}return!0},ownKeys(l){h(o);var c=Reflect.ownKeys(l).filter(f=>{var w=i.get(f);return w===void 0||w.v!==Rt});for(var[u,p]of i)p.v!==Rt&&!(u in l)&&c.push(u);return c},setPrototypeOf(){Wc()}})}function Wa(e,t=1){x(e,e.v+t)}var Ga,Ka,Ya,Ja;function iu(){if(Ga===void 0){Ga=window,Ka=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype;Ya=Hn(t,"firstChild").get,Ja=Hn(t,"nextSibling").get,e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function wr(e=""){return document.createTextNode(e)}function un(e){return Ya.call(e)}function as(e){return Ja.call(e)}function y(e,t){return un(e)}function mt(e,t){{var n=un(e);return n instanceof Comment&&n.data===""?as(n):n}}function $(e,t=1,n=!1){let r=e;for(;t--;)r=as(r);return r}function su(e){e.textContent=""}let ls=!1,cs=!1,us=null,ds=!1,So=!1;function Xa(e){So=e}let gr=[],J4=[],it=null,te=!1;function he(e){it=e}let st=null;function pe(e){st=e}let we=null;function ou(e){we=e}let Vt=null,Nt=0,$e=null;function au(e){$e=e}let Qa=1,fs=0,Ue=!1;function t1(){return++Qa}function vr(e){var p;var t=e.f;if((t&Se)!==0)return!0;if((t&Rn)!==0){var n=e.deps,r=(t&Qt)!==0;if(n!==null){var i,s,o=(t&es)!==0,a=r&&st!==null&&!Ue,l=n.length;if(o||a){var c=e,u=c.parent;for(i=0;i<l;i++)s=n[i],(o||!((p=s==null?void 0:s.reactions)!=null&&p.includes(c)))&&(s.reactions??(s.reactions=[])).push(c);o&&(c.f^=es),a&&u!==null&&(u.f&Qt)===0&&(c.f^=Qt)}for(i=0;i<l;i++)if(s=n[i],vr(s)&&Za(s),s.wv>e.wv)return!0}(!r||st!==null&&!Ue)&&ge(e,Ht)}return!1}function lu(e,t){for(var n=t;n!==null;){if((n.f&ts)!==0)try{n.fn(e);return}catch{n.f^=ts}n=n.parent}throw ls=!1,e}function cu(e){return(e.f&ns)===0&&(e.parent===null||(e.parent.f&ts)===0)}function hs(e,t,n,r){if(ls){if(n===null&&(ls=!1),cu(t))throw e;return}n!==null&&(ls=!0);{lu(e,t);return}}function e1(e,t,n=!0){var r=e.reactions;if(r!==null)for(var i=0;i<r.length;i++){var s=r[i];(s.f&se)!==0?e1(s,t,!1):t===s&&(n?ge(s,Se):(s.f&Ht)!==0&&ge(s,Rn),ws(s))}}function n1(e){var w;var t=Vt,n=Nt,r=$e,i=it,s=Ue,o=we,a=bt,l=te,c=e.f;Vt=null,Nt=0,$e=null,Ue=(c&Qt)!==0&&(te||!ds||it===null),it=(c&(Ee|fr))===0?e:null,we=null,p1(e.ctx),te=!1,fs++;try{var u=(0,e.fn)(),p=e.deps;if(Vt!==null){var f;if(ps(e,Nt),p!==null&&Nt>0)for(p.length=Nt+Vt.length,f=0;f<Vt.length;f++)p[Nt+f]=Vt[f];else e.deps=p=Vt;if(!Ue)for(f=Nt;f<p.length;f++)((w=p[f]).reactions??(w.reactions=[])).push(e)}else p!==null&&Nt<p.length&&(ps(e,Nt),p.length=Nt);if(qn()&&$e!==null&&!te&&p!==null&&(e.f&(se|Rn|Se))===0)for(f=0;f<$e.length;f++)e1($e[f],e);return i!==null&&fs++,u}finally{Vt=t,Nt=n,$e=r,it=i,Ue=s,we=o,p1(a),te=l}}function uu(e,t){let n=t.reactions;if(n!==null){var r=Ic.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&se)!==0&&(Vt===null||!Vt.includes(t))&&(ge(t,Rn),(t.f&(Qt|es))===0&&(t.f^=es),za(t),ps(t,0))}function ps(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)uu(e,n[r])}function Lo(e){var t=e.f;if((t&ns)===0){ge(e,Ht);var n=st,r=bt,i=ds;st=e,ds=!0;try{(t&Qi)!==0?bu(e):c1(e),l1(e);var s=n1(e);e.teardown=typeof s=="function"?s:null,e.wv=Qa;var o=e.deps,a;Fa&&Yc&&e.f&Se}catch(l){hs(l,e,n,r||e.ctx)}finally{ds=i,st=n}}}function du(){try{Nc()}catch(e){if(us!==null)hs(e,us,null);else throw e}}function r1(){try{for(var e=0;gr.length>0;){e++>1e3&&du();var t=gr,n=t.length;gr=[];for(var r=0;r<n;r++){var i=t[r];(i.f&Ht)===0&&(i.f^=Ht);var s=hu(i);fu(s)}}}finally{cs=!1,us=null}}function fu(e){var t=e.length;if(t!==0)for(var n=0;n<t;n++){var r=e[n];if((r.f&(ns|Le))===0)try{vr(r)&&(Lo(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null?u1(r):r.fn=null))}catch(i){hs(i,r,null,r.ctx)}}}function ws(e){cs||(cs=!0,queueMicrotask(r1));for(var t=us=e;t.parent!==null;){t=t.parent;var n=t.f;if((n&(fr|Ee))!==0){if((n&Ht)===0)return;t.f^=Ht}}gr.push(t)}function hu(e){for(var t=[],n=e.first;n!==null;){var r=n.f,i=(r&Ee)!==0,s=i&&(r&Ht)!==0;if(!s&&(r&Le)===0){if((r&Pa)!==0)t.push(n);else if(i)n.f^=Ht;else{var o=it;try{it=n,vr(n)&&Lo(n)}catch(c){hs(c,n,null,n.ctx)}finally{it=o}}var a=n.first;if(a!==null){n=a;continue}}var l=n.parent;for(n=n.next;n===null&&l!==null;)n=l.next,l=l.parent}return t}function pu(e){var t;for(qa();gr.length>0;)cs=!0,r1(),qa();return t}async function Oo(){await Promise.resolve(),pu()}function h(e){var t=e.f,n=(t&se)!==0;if(it!==null&&!te){we!==null&&we.includes(e)&&Gc();var r=it.deps;e.rv<fs&&(e.rv=fs,Vt===null&&r!==null&&r[Nt]===e?Nt++:Vt===null?Vt=[e]:(!Ue||!Vt.includes(e))&&Vt.push(e))}else if(n&&e.deps===null&&e.effects===null){var i=e,s=i.parent;s!==null&&(s.f&Qt)===0&&(i.f^=Qt)}return n&&(i=e,vr(i)&&Za(i)),e.v}function ee(e){var t=te;try{return te=!0,e()}finally{te=t}}const wu=-7169;function ge(e,t){e.f=e.f&wu|t}function i1(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(cn in e)$o(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&cn in n&&$o(n)}}}function $o(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let r in e)try{$o(e[r],t)}catch{}const n=is(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=Va(n);for(let i in r){const s=r[i].get;if(s)try{s.call(e)}catch{}}}}}function s1(e){st===null&&it===null&&Bc(),it!==null&&(it.f&Qt)!==0&&st===null&&Uc(),So&&qc()}function gu(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Dn(e,t,n,r=!0){var i=(e&fr)!==0,s=st,o={ctx:bt,deps:null,nodes_start:null,nodes_end:null,f:e|Se,first:null,fn:t,last:null,next:null,parent:i?null:s,prev:null,teardown:null,transitions:null,wv:0};if(n)try{Lo(o),o.f|=Ra}catch(c){throw oe(o),c}else t!==null&&ws(o);var a=n&&o.deps===null&&o.first===null&&o.nodes_start===null&&o.teardown===null&&(o.f&(Ha|ts))===0;if(!a&&!i&&r&&(s!==null&&gu(o,s),it!==null&&(it.f&se)!==0)){var l=it;(l.effects??(l.effects=[])).push(o)}return o}function o1(){return it!==null&&!te}function vu(e){const t=Dn(Xi,null,!1);return ge(t,Ht),t.teardown=e,t}function zt(e){s1();var t=st!==null&&(st.f&Ee)!==0&&bt!==null&&!bt.m;if(t){var n=bt;(n.e??(n.e=[])).push({fn:e,effect:st,reaction:it})}else{var r=jn(e);return r}}function a1(e){return s1(),Be(e)}function mu(e){const t=Dn(fr,e,!0);return(n={})=>new Promise(r=>{n.outro?dn(t,()=>{oe(t),r(void 0)}):(oe(t),r(void 0))})}function jn(e){return Dn(Pa,e,!1)}function Be(e){return Dn(Xi,e,!0)}function A(e,t=[],n=H){const r=t.map(n);return Ne(()=>e(...r.map(h)))}function Ne(e,t=0){return Dn(Xi|Qi|t,e,!0)}function ve(e,t=!0){return Dn(Xi|Ee,e,!0,t)}function l1(e){var t=e.teardown;if(t!==null){const n=So,r=it;Xa(!0),he(null);try{t.call(null)}finally{Xa(n),he(r)}}}function c1(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){var r=n.next;oe(n,t),n=r}}function bu(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&Ee)===0&&oe(t),t=n}}function oe(e,t=!0){var n=!1;if((t||(e.f&Tc)!==0)&&e.nodes_start!==null){for(var r=e.nodes_start,i=e.nodes_end;r!==null;){var s=r===i?null:as(r);r.remove(),r=s}n=!0}c1(e,t&&!n),ps(e,0),ge(e,ns);var o=e.transitions;if(o!==null)for(const l of o)l.stop();l1(e);var a=e.parent;a!==null&&a.first!==null&&u1(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function u1(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function dn(e,t){var n=[];To(e,n,!0),d1(n,()=>{oe(e),t&&t()})}function d1(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function To(e,t,n){if((e.f&Le)===0){if(e.f^=Le,e.transitions!==null)for(const o of e.transitions)(o.is_global||n)&&t.push(o);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&ln)!==0||(r.f&Ee)!==0;To(r,t,s?n:!1),r=i}}}function mr(e){f1(e,!0)}function f1(e,t){if((e.f&Le)!==0){e.f^=Le,(e.f&Ht)===0&&(e.f^=Ht),vr(e)&&(ge(e,Se),ws(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ln)!==0||(n.f&Ee)!==0;f1(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function h1(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let bt=null;function p1(e){bt=e}function ot(e,t=!1,n){bt={p:bt,c:null,e:null,m:!1,s:e,x:null,l:null},Vn&&!t&&(bt.l={s:null,u:null,r1:[],r2:_t(!1)})}function at(e){const t=bt;if(t!==null){const o=t.e;if(o!==null){var n=st,r=it;t.e=null;try{for(var i=0;i<o.length;i++){var s=o[i];pe(s.effect),he(s.reaction),jn(s.fn)}}finally{pe(n),he(r)}}bt=t.p,t.m=!0}return{}}function qn(){return!Vn||bt!==null&&bt.l===null}function Cu(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const yu=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function _u(e){return yu.includes(e)}const xu={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function ku(e){return e=e.toLowerCase(),xu[e]??e}const Eu=["touchstart","touchmove"];function Su(e){return Eu.includes(e)}function Lu(e,t){if(t){const n=document.body;e.autofocus=!0,pr(()=>{document.activeElement===n&&e.focus()})}}let w1=!1;function Ou(){w1||(w1=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function Ao(e){var t=it,n=st;he(null),pe(null);try{return e()}finally{he(t),pe(n)}}function $u(e,t,n,r=n){e.addEventListener(t,()=>Ao(n));const i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),Ou()}const g1=new Set,Mo=new Set;function Io(e,t,n,r={}){function i(s){if(r.capture||br.call(t,s),!s.cancelBubble)return Ao(()=>n==null?void 0:n.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?pr(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function fn(e,t,n,r={}){var i=Io(t,e,n,r);return()=>{e.removeEventListener(t,i,r)}}function Zt(e,t,n,r,i){var s={capture:r,passive:i},o=Io(e,t,n,s);(t===document.body||t===window||t===document)&&vu(()=>{t.removeEventListener(e,o,s)})}function me(e){for(var t=0;t<e.length;t++)g1.add(e[t]);for(var n of Mo)n(e)}function br(e){var b;var t=this,n=t.ownerDocument,r=e.type,i=((b=e.composedPath)==null?void 0:b.call(e))||[],s=i[0]||e.target,o=0,a=e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var c=i.indexOf(t);if(c===-1)return;l<=c&&(o=l)}if(s=i[o]||e.target,s!==t){Fc(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=it,p=st;he(null),pe(null);try{for(var f,w=[];s!==null;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var m=s["__"+r];if(m!==void 0&&(!s.disabled||e.target===s))if(rs(m)){var[C,..._]=m;C.apply(s,[e,..._])}else m.call(s,e)}catch(v){f?w.push(v):f=v}if(e.cancelBubble||g===t||g===null)break;s=g}if(f){for(let v of w)queueMicrotask(()=>{throw v});throw f}}finally{e.__root=t,delete e.currentTarget,he(u),pe(p)}}}function Fo(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function hn(e,t){var n=st;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function V(e,t){var n=(t&Sc)!==0,r=(t&Lc)!==0,i,s=!e.startsWith("<!>");return()=>{i===void 0&&(i=Fo(s?e:"<!>"+e),n||(i=un(i)));var o=r||Ka?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=un(o),l=o.lastChild;hn(a,l)}else hn(o,o);return o}}function N(e,t,n="svg"){var r=!e.startsWith("<!>"),i=`<${n}>${r?e:"<!>"+e}</${n}>`,s;return()=>{if(!s){var o=Fo(i),a=un(o);s=un(a)}var l=s.cloneNode(!0);return hn(l,l),l}}function Cr(e=""){{var t=wr(e+"");return hn(t,t),t}}function ne(){var e=document.createDocumentFragment(),t=document.createComment(""),n=wr();return e.append(t,n),hn(t,n),e}function E(e,t){e!==null&&e.before(t)}let gs=!0;function v1(e){gs=e}function tt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=n+"")}function Tu(e,t){return Au(e,t)}const Un=new Map;function Au(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0}){iu();var a=new Set,l=p=>{for(var f=0;f<p.length;f++){var w=p[f];if(!a.has(w)){a.add(w);var g=Su(w);t.addEventListener(w,br,{passive:g});var m=Un.get(w);m===void 0?(document.addEventListener(w,br,{passive:g}),Un.set(w,1)):Un.set(w,m+1)}}};l(Co(g1)),Mo.add(l);var c=void 0,u=mu(()=>{var p=n??t.appendChild(wr());return ve(()=>{if(s){ot({});var f=bt;f.c=s}i&&(r.$$events=i),gs=o,c=e(p,r)||{},gs=!0,s&&at()}),()=>{var g;for(var f of a){t.removeEventListener(f,br);var w=Un.get(f);--w===0?(document.removeEventListener(f,br),Un.delete(f)):Un.set(f,w)}Mo.delete(l),p!==n&&((g=p.parentNode)==null||g.removeChild(p))}});return Mu.set(c,u),c}let Mu=new WeakMap;function nt(e,t,n=!1){var r=e,i=null,s=null,o=Rt,a=n?ln:0,l=!1;const c=(p,f=!0)=>{l=!0,u(f,p)},u=(p,f)=>{o!==(o=p)&&(o?(i?mr(i):f&&(i=ve(()=>f(r))),s&&dn(s,()=>{s=null})):(s?mr(s):f&&(s=ve(()=>f(r))),i&&dn(i,()=>{i=null})))};Ne(()=>{l=!1,t(c),l||u(null,null)},a)}function Po(e,t,n){var r=e,i=Rt,s,o=qn()?jc:_o;Ne(()=>{o(i,i=t())&&(s&&dn(s),s=ve(()=>n(r)))})}let pn=null;function m1(e){pn=e}function Iu(e,t){return t}function Fu(e,t,n,r){for(var i=[],s=t.length,o=0;o<s;o++)To(t[o].e,i,!0);var a=s>0&&i.length===0&&n!==null;if(a){var l=n.parentNode;su(l),l.append(n),r.clear(),ze(e,t[0].prev,t[s-1].next)}d1(i,()=>{for(var c=0;c<s;c++){var u=t[c];a||(r.delete(u.k),ze(e,u.prev,u.next)),oe(u.e,!a)}})}function vs(e,t,n,r,i,s=null){var o=e,a={flags:t,items:new Map,first:null},l=(t&Ia)!==0;if(l){var c=e;o=c.appendChild(wr())}var u=null,p=!1,f=Eo(()=>{var w=n();return rs(w)?w:w==null?[]:Co(w)});Ne(()=>{var w=h(f),g=w.length;p&&g===0||(p=g===0,Pu(w,a,o,i,t,r,n),s!==null&&(g===0?u?mr(u):u=ve(()=>s(o)):u!==null&&dn(u,()=>{u=null})),h(f))})}function Pu(e,t,n,r,i,s,o){var ct,gt,At,$t;var a=(i&gc)!==0,l=(i&(xt|Pn))!==0,c=e.length,u=t.items,p=t.first,f=p,w,g=null,m,C=[],_=[],b,v,S,O;if(a)for(O=0;O<c;O+=1)b=e[O],v=s(b,O),S=u.get(v),S!==void 0&&((ct=S.a)==null||ct.measure(),(m??(m=new Set)).add(S));for(O=0;O<c;O+=1){if(b=e[O],v=s(b,O),S=u.get(v),S===void 0){var F=f?f.e.nodes_start:n;g=Hu(F,t,g,g===null?t.first:g.next,b,v,O,r,i,o),u.set(v,g),C=[],_=[],f=g.next;continue}if(l&&Ru(S,b,O,i),(S.e.f&Le)!==0&&(mr(S.e),a&&((gt=S.a)==null||gt.unfix(),(m??(m=new Set)).delete(S))),S!==f){if(w!==void 0&&w.has(S)){if(C.length<_.length){var P=_[0],D;g=P.prev;var K=C[0],Z=C[C.length-1];for(D=0;D<C.length;D+=1)b1(C[D],P,n);for(D=0;D<_.length;D+=1)w.delete(_[D]);ze(t,K.prev,Z.next),ze(t,g,K),ze(t,Z,P),f=P,g=Z,O-=1,C=[],_=[]}else w.delete(S),b1(S,f,n),ze(t,S.prev,S.next),ze(t,S,g===null?t.first:g.next),ze(t,g,S),g=S;continue}for(C=[],_=[];f!==null&&f.k!==v;)(f.e.f&Le)===0&&(w??(w=new Set)).add(f),_.push(f),f=f.next;if(f===null)continue;S=f}C.push(S),g=S,f=S.next}if(f!==null||w!==void 0){for(var Q=w===void 0?[]:Co(w);f!==null;)(f.e.f&Le)===0&&Q.push(f),f=f.next;var J=Q.length;if(J>0){var Ot=(i&Ia)!==0&&c===0?n:null;if(a){for(O=0;O<J;O+=1)(At=Q[O].a)==null||At.measure();for(O=0;O<J;O+=1)($t=Q[O].a)==null||$t.fix()}Fu(t,Q,Ot,u)}}a&&pr(()=>{var It;if(m!==void 0)for(S of m)(It=S.a)==null||It.apply()}),st.first=t.first&&t.first.e,st.last=g&&g.e}function Ru(e,t,n,r){(r&xt)!==0&&ko(e.v,t),(r&Pn)!==0?ko(e.i,n):e.i=n}function Hu(e,t,n,r,i,s,o,a,l,c){var u=pn,p=(l&xt)!==0,f=(l&vc)===0,w=p?f?Ba(i):_t(i):i,g=(l&Pn)===0?o:_t(o),m={i:g,v:w,k:s,a:null,e:null,prev:n,next:r};pn=m;try{return m.e=ve(()=>a(e,w,g,c),ru),m.e.prev=n&&n.e,m.e.next=r&&r.e,n===null?t.first=m:(n.next=m,n.e.next=m.e),r!==null&&(r.prev=m,r.e.prev=m.e),m}finally{pn=u}}function b1(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,s=e.e.nodes_start;s!==r;){var o=as(s);i.before(s),s=o}}function ze(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function yr(e,t,n,r,i){var s=e,o="",a;Ne(()=>{o!==(o=t()??"")&&(a!==void 0&&(oe(a),a=void 0),o!==""&&(a=ve(()=>{var l=o+"",c=Fo(l);hn(un(c),c.lastChild),s.before(c)})))})}function Te(e,t,...n){var r=e,i=Oe,s;Ne(()=>{i!==(i=t())&&(s&&(oe(s),s=null),s=ve(()=>i(r,...n)))},ln)}function ms(e,t,n){var r=e,i,s;Ne(()=>{i!==(i=t())&&(s&&(dn(s),s=null),i&&(s=ve(()=>n(r,i))))},ln)}function Vu(e,t,n,r,i,s){var o,a,l=null,c=e,u,p=pn;Ne(()=>{const f=t()||null;var w=f==="svg"?Oc:null;if(f!==o){var g=pn;m1(p),u&&(f===null?dn(u,()=>{u=null,a=null}):f===a?mr(u):(oe(u),v1(!1))),f&&f!==a&&(u=ve(()=>{if(l=w?document.createElementNS(w,f):document.createElement(f),hn(l,l),r){var m=l.appendChild(wr());r(l,m)}st.nodes_end=l,c.before(l)})),o=f,o&&(a=o),v1(!0),m1(g)}},ln)}function Du(e,t,n){jn(()=>{var r=ee(()=>t(e,n==null?void 0:n())||{});if(n&&(r!=null&&r.update)){var i=!1,s={};Be(()=>{var o=n();i1(o),i&&_o(s,o)&&(s=o,r.update(o))}),i=!0}if(r!=null&&r.destroy)return()=>r.destroy()})}function C1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=C1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ju(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=C1(e))&&(r&&(r+=" "),r+=t);return r}function z(e){return typeof e=="object"?ju(e):e??""}const y1=[...`
|
|
3
|
-
\r\f \v\uFEFF`];function qu(e,t,n){var r=e==null?"":""+e;if(t&&(r=r?r+" "+t:t),n){for(var i in n)if(n[i])r=r?r+" "+i:i;else if(r.length)for(var s=i.length,o=0;(o=r.indexOf(i,o))>=0;){var a=o+s;(o===0||y1.includes(r[o-1]))&&(a===r.length||y1.includes(r[a]))?r=(o===0?"":r.substring(0,o))+r.substring(a+1):o=a}}return r===""?null:r}function U(e,t,n,r,i,s){var o=e.__className;if(o!==n){var a=qu(n,r,s);a==null?e.removeAttribute("class"):t?e.className=a:e.setAttribute("class",a),e.__className=n}else if(s)for(var l in s){var c=!!s[l];(i==null||c!==!!i[l])&&e.classList.toggle(l,c)}return s}const wn=Symbol("class");function Uu(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function lt(e,t,n,r){var i=e.__attributes??(e.__attributes={});i[t]!==(i[t]=n)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[Mc]=n),n==null?e.removeAttribute(t):typeof n!="string"&&x1(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function j(e,t,n,r,i=!1,s=!1,o=!1){var a=t||{},l=e.tagName==="OPTION";for(var c in t)c in n||(n[c]=null);n.class?n.class=z(n.class):n[wn]&&(n.class=null);var u=x1(e),p=e.__attributes??(e.__attributes={});for(const b in n){let v=n[b];if(l&&b==="value"&&v==null){e.value=e.__value="",a[b]=v;continue}if(b==="class"){var f=e.namespaceURI==="http://www.w3.org/1999/xhtml";U(e,f,v,r,t==null?void 0:t[wn],n[wn]),a[b]=v,a[wn]=n[wn];continue}var w=a[b];if(v!==w){a[b]=v;var g=b[0]+b[1];if(g!=="$$"){if(g==="on"){const S={},O="$$"+b;let F=b.slice(2);var m=_u(F);if(Cu(F)&&(F=F.slice(0,-7),S.capture=!0),!m&&w){if(v!=null)continue;e.removeEventListener(F,a[O],S),a[O]=null}if(v!=null)if(m)e[`__${F}`]=v,me([F]);else{let P=function(D){a[b].call(this,D)};a[O]=Io(F,e,P,S)}else m&&(e[`__${F}`]=void 0)}else if(b==="style"&&v!=null)e.style.cssText=v+"";else if(b==="autofocus")Lu(e,!!v);else if(!s&&(b==="__value"||b==="value"&&v!=null))e.value=e.__value=v;else if(b==="selected"&&l)Uu(e,v);else{var C=b;i||(C=ku(C));var _=C==="defaultValue"||C==="defaultChecked";if(v==null&&!s&&!_)if(p[b]=null,C==="value"||C==="checked"){let S=e;const O=t===void 0;if(C==="value"){let F=S.defaultValue;S.removeAttribute(C),S.defaultValue=F,S.value=S.__value=O?F:null}else{let F=S.defaultChecked;S.removeAttribute(C),S.defaultChecked=F,S.checked=O?F:!1}}else e.removeAttribute(b);else _||u.includes(C)&&(s||typeof v!="string")?e[C]=v:typeof v!="function"&<(e,C,v)}b==="style"&&"__styles"in e&&(e.__styles={})}}}return a}var _1=new Map;function x1(e){var t=_1.get(e.nodeName);if(t)return t;_1.set(e.nodeName,t=[]);for(var n,r=e,i=Element.prototype;i!==r;){n=Va(r);for(var s in n)n[s].set&&t.push(s);r=is(r)}return t}const Bu=()=>performance.now(),ae={tick:e=>requestAnimationFrame(e),now:()=>Bu(),tasks:new Set};function k1(){const e=ae.now();ae.tasks.forEach(t=>{t.c(e)||(ae.tasks.delete(t),t.f())}),ae.tasks.size!==0&&ae.tick(k1)}function Ro(e){let t;return ae.tasks.size===0&&ae.tick(k1),{promise:new Promise(n=>{ae.tasks.add(t={c:e,f:n})}),abort(){ae.tasks.delete(t)}}}function bs(e,t){Ao(()=>{e.dispatchEvent(new CustomEvent(t))})}function Nu(e){if(e==="float")return"cssFloat";if(e==="offset")return"cssOffset";if(e.startsWith("--"))return e;const t=e.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("")}function E1(e){const t={},n=e.split(";");for(const r of n){const[i,s]=r.split(":");if(!i||s===void 0)break;const o=Nu(i.trim());t[o]=s.trim()}return t}const zu=e=>e;function Zu(e,t,n){var r=pn,i,s,o,a=null;r.a??(r.a={element:e,measure(){i=this.element.getBoundingClientRect()},apply(){if(o==null||o.abort(),s=this.element.getBoundingClientRect(),i.left!==s.left||i.right!==s.right||i.top!==s.top||i.bottom!==s.bottom){const l=t()(this.element,{from:i,to:s},n==null?void 0:n());o=Cs(this.element,l,void 0,1,()=>{o==null||o.abort(),o=void 0})}},fix(){if(!e.getAnimations().length){var{position:l,width:c,height:u}=getComputedStyle(e);if(l!=="absolute"&&l!=="fixed"){var p=e.style;a={position:p.position,width:p.width,height:p.height,transform:p.transform},p.position="absolute",p.width=c,p.height=u;var f=e.getBoundingClientRect();if(i.left!==f.left||i.top!==f.top){var w=`translate(${i.left-f.left}px, ${i.top-f.top}px)`;p.transform=p.transform?`${p.transform} ${w}`:w}}}},unfix(){if(a){var l=e.style;l.position=a.position,l.width=a.width,l.height=a.height,l.transform=a.transform}}}),r.a.element=e}function Ct(e,t,n,r){var i=(e&xc)!==0,s=(e&kc)!==0,o=i&&s,a=(e&Ec)!==0,l=o?"both":i?"in":"out",c,u=t.inert,p=t.style.overflow,f,w;function g(){var v=it,S=st;he(null),pe(null);try{return c??(c=n()(t,(r==null?void 0:r())??{},{direction:l}))}finally{he(v),pe(S)}}var m={is_global:a,in(){var v;if(t.inert=u,!i){w==null||w.abort(),(v=w==null?void 0:w.reset)==null||v.call(w);return}s||f==null||f.abort(),bs(t,"introstart"),f=Cs(t,g(),w,1,()=>{bs(t,"introend"),f==null||f.abort(),f=c=void 0,t.style.overflow=p})},out(v){if(!s){v==null||v(),c=void 0;return}t.inert=!0,bs(t,"outrostart"),w=Cs(t,g(),f,0,()=>{bs(t,"outroend"),v==null||v()})},stop:()=>{f==null||f.abort(),w==null||w.abort()}},C=st;if((C.transitions??(C.transitions=[])).push(m),i&&gs){var _=a;if(!_){for(var b=C.parent;b&&(b.f&ln)!==0;)for(;(b=b.parent)&&(b.f&Qi)===0;);_=!b||(b.f&Ra)!==0}_&&jn(()=>{ee(()=>m.in())})}}function Cs(e,t,n,r,i){var s=r===1;if(Rc(t)){var o,a=!1;return pr(()=>{if(!a){var C=t({direction:s?"in":"out"});o=Cs(e,C,n,r,i)}}),{abort:()=>{a=!0,o==null||o.abort()},deactivate:()=>o.deactivate(),reset:()=>o.reset(),t:()=>o.t()}}if(n==null||n.deactivate(),!(t!=null&&t.duration))return i(),{abort:Oe,deactivate:Oe,reset:Oe,t:()=>r};const{delay:l=0,css:c,tick:u,easing:p=zu}=t;var f=[];if(s&&n===void 0&&(u&&u(0,1),c)){var w=E1(c(0,1));f.push(w,w)}var g=()=>1-r,m=e.animate(f,{duration:l});return m.onfinish=()=>{var C=(n==null?void 0:n.t())??1-r;n==null||n.abort();var _=r-C,b=t.duration*Math.abs(_),v=[];if(b>0){var S=!1;if(c)for(var O=Math.ceil(b/16.666666666666668),F=0;F<=O;F+=1){var P=C+_*p(F/O),D=E1(c(P,1-P));v.push(D),S||(S=D.overflow==="hidden")}S&&(e.style.overflow="hidden"),g=()=>{var K=m.currentTime;return C+_*p(K/b)},u&&Ro(()=>{if(m.playState!=="running")return!1;var K=g();return u(K,1-K),!0})}m=e.animate(v,{duration:b,fill:"forwards"}),m.onfinish=()=>{g=()=>r,u==null||u(r,1-r),i()}},{abort:()=>{m&&(m.cancel(),m.effect=null,m.onfinish=Oe)},deactivate:()=>{i=Oe},reset:()=>{r===0&&(u==null||u(1,0))},t:()=>g()}}function Wu(e,t,n=t){var r=qn();$u(e,"input",i=>{var s=i?e.defaultValue:e.value;if(s=Ho(e)?Vo(s):s,n(s),r&&s!==(s=t())){var o=e.selectionStart,a=e.selectionEnd;e.value=s??"",a!==null&&(e.selectionStart=o,e.selectionEnd=Math.min(a,e.value.length))}}),ee(t)==null&&e.value&&n(Ho(e)?Vo(e.value):e.value),Be(()=>{var i=t();Ho(e)&&i===Vo(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function Ho(e){var t=e.type;return t==="number"||t==="range"}function Vo(e){return e===""?null:+e}const Ys=class Ys{constructor(t){L(this,Ks);L(this,nn,new WeakMap);L(this,Qn);L(this,Tr);ht(this,Tr,t)}observe(t,n){var r=d(this,nn).get(t)||new Set;return r.add(n),d(this,nn).set(t,r),Pt(this,Ks,hc).call(this).observe(t,d(this,Tr)),()=>{var i=d(this,nn).get(t);i.delete(n),i.size===0&&(d(this,nn).delete(t),d(this,Qn).unobserve(t))}}};nn=new WeakMap,Qn=new WeakMap,Tr=new WeakMap,Ks=new WeakSet,hc=function(){return d(this,Qn)??ht(this,Qn,new ResizeObserver(t=>{for(var n of t){Ys.entries.set(n.target,n);for(var r of d(this,nn).get(n.target)||[])r(n)}}))},St(Ys,"entries",new WeakMap);let Do=Ys;var Gu=new Do({box:"border-box"});function jo(e,t,n){var r=Gu.observe(e,()=>n(e[t]));jn(()=>(ee(()=>n(e[t])),r))}function S1(e,t){return e===t||(e==null?void 0:e[cn])===t}function gn(e={},t,n,r){return jn(()=>{var i,s;return Be(()=>{i=s,s=[],ee(()=>{e!==n(...s)&&(t(e,...s),i&&S1(n(...i),e)&&t(null,...i))})}),()=>{pr(()=>{s&&S1(n(...s),e)&&t(null,...s)})}}),e}function Ku(e,t,n,r=n){t.addEventListener("input",()=>{r(t[e])}),Be(()=>{var i=n();if(t[e]!==i)if(i==null){var s=t[e];r(s)}else t[e]=i+""})}function Ze(e=!1){const t=bt,n=t.l.u;if(!n)return;let r=()=>i1(t.s);if(e){let i=0,s={};const o=H(()=>{let a=!1;const l=t.s;for(const c in l)l[c]!==s[c]&&(s[c]=l[c],a=!0);return a&&i++,i});r=()=>h(o)}n.b.length&&a1(()=>{L1(t,r),ss(n.b)}),zt(()=>{const i=ee(()=>n.m.map(Hc));return()=>{for(const s of i)typeof s=="function"&&s()}}),n.a.length&&zt(()=>{L1(t,r),ss(n.a)})}function L1(e,t){if(e.l.s)for(const n of e.l.s)h(n);t()}function qo(e){var t=_t(0);return function(){return arguments.length===1?(x(t,h(t)+1),arguments[0]):(h(t),e())}}function ys(e){bt===null&&h1(),Vn&&bt.l!==null?Ju(bt).m.push(e):zt(()=>{const t=ee(e);if(typeof t=="function")return t})}function Yu(e){bt===null&&h1(),ys(()=>()=>ee(e))}function Ju(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}let _s=!1;function Xu(e){var t=_s;try{return _s=!1,[e(),_s]}finally{_s=t}}const Qu={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function q(e,t,n){return new Proxy({props:e,exclude:t},Qu)}function Y(e,t,n,r){var F;var i=(n&mc)!==0,s=!Vn||(n&bc)!==0,o=(n&yc)!==0,a=(n&_c)!==0,l=!1,c;o?[c,l]=Xu(()=>e[t]):c=e[t];var u=cn in e||Ac in e,p=o&&(((F=Hn(e,t))==null?void 0:F.set)??(u&&t in e&&(P=>e[t]=P)))||void 0,f=r,w=!0,g=!1,m=()=>(g=!0,w&&(w=!1,a?f=ee(r):f=r),f);c===void 0&&r!==void 0&&(p&&s&&zc(),c=m(),p&&p(c));var C;if(s)C=()=>{var P=e[t];return P===void 0?m():(w=!0,g=!1,P)};else{var _=(i?H:Eo)(()=>e[t]);_.f|=$c,C=()=>{var P=h(_);return P!==void 0&&(f=void 0),P===void 0?f:P}}if((n&Cc)===0)return C;if(p){var b=e.$$legacy;return function(P,D){return arguments.length>0?((!s||!D||b||l)&&p(D?C():P),P):C()}}var v=!1,S=Ba(c),O=H(()=>{var P=C(),D=h(S);return v?(v=!1,D):S.v=P});return i||(O.equals=xo),function(P,D){if(arguments.length>0){const K=D?h(O):s&&o?T(P):P;return O.equals(K)||(v=!0,x(S,K),g&&f!==void 0&&(f=K),ee(()=>h(O))),P}return h(O)}}function td(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(i),t&&(r.href=t),i.href=e,i.href}const ed=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function We(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let Bn=null;function O1(e={}){return Bn||(e.includeStyleProperties?(Bn=e.includeStyleProperties,Bn):(Bn=We(window.getComputedStyle(document.documentElement)),Bn))}function xs(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function nd(e){const t=xs(e,"border-left-width"),n=xs(e,"border-right-width");return e.clientWidth+t+n}function rd(e){const t=xs(e,"border-top-width"),n=xs(e,"border-bottom-width");return e.clientHeight+t+n}function $1(e,t={}){const n=t.width||nd(e),r=t.height||rd(e);return{width:n,height:r}}function id(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const Wt=16384;function sd(e){(e.width>Wt||e.height>Wt)&&(e.width>Wt&&e.height>Wt?e.width>e.height?(e.height*=Wt/e.width,e.width=Wt):(e.width*=Wt/e.height,e.height=Wt):e.width>Wt?(e.height*=Wt/e.width,e.width=Wt):(e.width*=Wt/e.height,e.height=Wt))}function ks(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function od(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function ad(e,t,n){const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return i.setAttribute("width",`${t}`),i.setAttribute("height",`${n}`),i.setAttribute("viewBox",`0 0 ${t} ${n}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),i.appendChild(s),s.appendChild(e),od(i)}const qt=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||qt(n,t)};function ld(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function cd(e,t){return O1(t).map(n=>{const r=e.getPropertyValue(n),i=e.getPropertyPriority(n);return`${n}: ${r}${i?" !important":""};`}).join(" ")}function ud(e,t,n,r){const i=`.${e}:${t}`,s=n.cssText?ld(n):cd(n,r);return document.createTextNode(`${i}{${s}}`)}function T1(e,t,n,r){const i=window.getComputedStyle(e,n),s=i.getPropertyValue("content");if(s===""||s==="none")return;const o=ed();try{t.className=`${t.className} ${o}`}catch{return}const a=document.createElement("style");a.appendChild(ud(o,n,i,r)),t.appendChild(a)}function dd(e,t,n){T1(e,t,":before",n),T1(e,t,":after",n)}const A1="application/font-woff",M1="image/jpeg",fd={woff:A1,woff2:A1,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:M1,jpeg:M1,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function hd(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function Uo(e){const t=hd(e).toLowerCase();return fd[t]||""}function pd(e){return e.split(/,/)[1]}function Bo(e){return e.search(/^(data:)/)!==-1}function wd(e,t){return`data:${t};base64,${e}`}async function I1(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const i=await r.blob();return new Promise((s,o)=>{const a=new FileReader;a.onerror=o,a.onloadend=()=>{try{s(n({res:r,result:a.result}))}catch(l){o(l)}},a.readAsDataURL(i)})}const No={};function gd(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function zo(e,t,n){const r=gd(e,t,n.includeQueryParams);if(No[r]!=null)return No[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let i;try{const s=await I1(e,n.fetchRequestInit,({res:o,result:a})=>(t||(t=o.headers.get("Content-Type")||""),pd(a)));i=wd(s,t)}catch(s){i=n.imagePlaceholder||"";let o=`Failed to fetch resource: ${e}`;s&&(o=typeof s=="string"?s:s.message),o&&console.warn(o)}return No[r]=i,i}async function vd(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):ks(t)}async function md(e,t){if(e.currentSrc){const s=document.createElement("canvas"),o=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,o==null||o.drawImage(e,0,0,s.width,s.height);const a=s.toDataURL();return ks(a)}const n=e.poster,r=Uo(n),i=await zo(n,r,t);return ks(i)}async function bd(e,t){var n;try{if(!((n=e==null?void 0:e.contentDocument)===null||n===void 0)&&n.body)return await Es(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Cd(e,t){return qt(e,HTMLCanvasElement)?vd(e):qt(e,HTMLVideoElement)?md(e,t):qt(e,HTMLIFrameElement)?bd(e,t):e.cloneNode(F1(e))}const yd=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",F1=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function _d(e,t,n){var r,i;if(F1(t))return t;let s=[];return yd(e)&&e.assignedNodes?s=We(e.assignedNodes()):qt(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=We(e.contentDocument.body.childNodes):s=We(((i=e.shadowRoot)!==null&&i!==void 0?i:e).childNodes),s.length===0||qt(e,HTMLVideoElement)||await s.reduce((o,a)=>o.then(()=>Es(a,n)).then(l=>{l&&t.appendChild(l)}),Promise.resolve()),t}function xd(e,t,n){const r=t.style;if(!r)return;const i=window.getComputedStyle(e);i.cssText?(r.cssText=i.cssText,r.transformOrigin=i.transformOrigin):O1(n).forEach(s=>{let o=i.getPropertyValue(s);s==="font-size"&&o.endsWith("px")&&(o=`${Math.floor(parseFloat(o.substring(0,o.length-2)))-.1}px`),qt(e,HTMLIFrameElement)&&s==="display"&&o==="inline"&&(o="block"),s==="d"&&t.getAttribute("d")&&(o=`path(${t.getAttribute("d")})`),r.setProperty(s,o,i.getPropertyPriority(s))})}function kd(e,t){qt(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),qt(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ed(e,t){if(qt(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find(i=>e.value===i.getAttribute("value"));r&&r.setAttribute("selected","")}}function Sd(e,t,n){return qt(t,Element)&&(xd(e,t,n),dd(e,t,n),kd(e,t),Ed(e,t)),t}async function Ld(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let s=0;s<n.length;s++){const a=n[s].getAttribute("xlink:href");if(a){const l=e.querySelector(a),c=document.querySelector(a);!l&&c&&!r[a]&&(r[a]=await Es(c,t,!0))}}const i=Object.values(r);if(i.length){const s="http://www.w3.org/1999/xhtml",o=document.createElementNS(s,"svg");o.setAttribute("xmlns",s),o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.overflow="hidden",o.style.display="none";const a=document.createElementNS(s,"defs");o.appendChild(a);for(let l=0;l<i.length;l++)a.appendChild(i[l]);e.appendChild(o)}return e}async function Es(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>Cd(r,t)).then(r=>_d(e,r,t)).then(r=>Sd(e,r,t)).then(r=>Ld(r,t))}const P1=/url\((['"]?)([^'"]+?)\1\)/g,Od=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,$d=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Td(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function Ad(e){const t=[];return e.replace(P1,(n,r,i)=>(t.push(i),n)),t.filter(n=>!Bo(n))}async function Md(e,t,n,r,i){try{const s=n?td(t,n):t,o=Uo(t);let a;return i||(a=await zo(s,o,r)),e.replace(Td(t),`$1${a}$3`)}catch{}return e}function Id(e,{preferredFontFormat:t}){return t?e.replace($d,n=>{for(;;){const[r,,i]=Od.exec(n)||[];if(!i)return"";if(i===t)return`src: ${r};`}}):e}function R1(e){return e.search(P1)!==-1}async function H1(e,t,n){if(!R1(e))return e;const r=Id(e,n);return Ad(r).reduce((s,o)=>s.then(a=>Md(a,o,t,n)),Promise.resolve(r))}async function Nn(e,t,n){var r;const i=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(i){const s=await H1(i,null,n);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Fd(e,t){await Nn("background",e,t)||await Nn("background-image",e,t),await Nn("mask",e,t)||await Nn("-webkit-mask",e,t)||await Nn("mask-image",e,t)||await Nn("-webkit-mask-image",e,t)}async function Pd(e,t){const n=qt(e,HTMLImageElement);if(!(n&&!Bo(e.src))&&!(qt(e,SVGImageElement)&&!Bo(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,i=await zo(r,Uo(r),t);await new Promise((s,o)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...l)=>{try{s(t.onImageErrorHandler(...l))}catch(c){o(c)}}:o;const a=e;a.decode&&(a.decode=s),a.loading==="lazy"&&(a.loading="eager"),n?(e.srcset="",e.src=i):e.href.baseVal=i})}async function Rd(e,t){const r=We(e.childNodes).map(i=>V1(i,t));await Promise.all(r).then(()=>e)}async function V1(e,t){qt(e,Element)&&(await Fd(e,t),await Pd(e,t),await Rd(e,t))}function Hd(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(i=>{n[i]=r[i]}),e}const D1={};async function j1(e){let t=D1[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},D1[e]=t,t}async function q1(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(n.match(/url\([^)]+\)/g)||[]).map(async o=>{let a=o.replace(r,"$1");return a.startsWith("https://")||(a=new URL(a,e.url).href),I1(a,t.fetchRequestInit,({result:l})=>(n=n.replace(o,`url(${l})`),[o,l]))});return Promise.all(s).then(()=>n)}function U1(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=i.exec(r);if(l===null)break;t.push(l[0])}r=r.replace(i,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(o,"gi");for(;;){let l=s.exec(r);if(l===null){if(l=a.exec(r),l===null)break;s.lastIndex=a.lastIndex}else a.lastIndex=s.lastIndex;t.push(l[0])}return t}async function Vd(e,t){const n=[],r=[];return e.forEach(i=>{if("cssRules"in i)try{We(i.cssRules||[]).forEach((s,o)=>{if(s.type===CSSRule.IMPORT_RULE){let a=o+1;const l=s.href,c=j1(l).then(u=>q1(u,t)).then(u=>U1(u).forEach(p=>{try{i.insertRule(p,p.startsWith("@import")?a+=1:i.cssRules.length)}catch(f){console.error("Error inserting rule from remote css",{rule:p,error:f})}})).catch(u=>{console.error("Error loading remote css",u.toString())});r.push(c)}})}catch(s){const o=e.find(a=>a.href==null)||document.styleSheets[0];i.href!=null&&r.push(j1(i.href).then(a=>q1(a,t)).then(a=>U1(a).forEach(l=>{o.insertRule(l,o.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(i=>{if("cssRules"in i)try{We(i.cssRules||[]).forEach(s=>{n.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${i.href}`,s)}}),n))}function Dd(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>R1(t.style.getPropertyValue("src")))}async function jd(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=We(e.ownerDocument.styleSheets),r=await Vd(n,t);return Dd(r)}function B1(e){return e.trim().replace(/["']/g,"")}function qd(e){const t=new Set;function n(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(B1(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&n(s)})}return n(e),t}async function Ud(e,t){const n=await jd(e,t),r=qd(e);return(await Promise.all(n.filter(s=>r.has(B1(s.style.fontFamily))).map(s=>{const o=s.parentStyleSheet?s.parentStyleSheet.href:null;return H1(s.cssText,o,t)}))).join(`
|
|
4
|
-
`)}async function Bd(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await Ud(e,t);if(n){const r=document.createElement("style"),i=document.createTextNode(n);r.appendChild(i),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function Nd(e,t={}){const{width:n,height:r}=$1(e,t),i=await Es(e,t,!0);return await Bd(i,t),await V1(i,t),Hd(i,t),await ad(i,n,r)}async function zd(e,t={}){const{width:n,height:r}=$1(e,t),i=await Nd(e,t),s=await ks(i),o=document.createElement("canvas"),a=o.getContext("2d"),l=t.pixelRatio||id(),c=t.canvasWidth||n,u=t.canvasHeight||r;return o.width=c*l,o.height=u*l,t.skipAutoScale||sd(o),o.style.width=`${c}`,o.style.height=`${u}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,o.width,o.height)),a.drawImage(s,0,0,o.width,o.height),o}async function Zd(e,t={}){return(await zd(e,t)).toDataURL()}const Ss=typeof window<"u",Ls=(e,t={})=>e?t[e.status]||e:null,Wd=()=>{const e=document.activeElement,t=["INPUT","TEXTAREA","SELECT","OPTION"],n=e.hasAttribute("contenteditable")&&e.getAttribute("contenteditable")!=="false";return t.includes(e.tagName)||n},Gd=(e,t="screenshot.png")=>{const n=document.createElement("a");n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)},Kd=e=>Zd(e).catch(t=>{throw console.error("Error capturing screenshot:",t),t}),Ae=(e,t)=>(e.match(t)||[])[2];class Yd{constructor(){St(this,"sortDesc",(t,n)=>(n!=null&&n.updated?new Date(n==null?void 0:n.updated):new Date(n==null?void 0:n.created))-(t!=null&&t.updated?new Date(t==null?void 0:t.updated):new Date(t==null?void 0:t.created)));St(this,"sortAsc",(t,n)=>(t!=null&&t.updated?new Date(t==null?void 0:t.updated):new Date(t==null?void 0:t.created))-(n!=null&&n.updated?new Date(n==null?void 0:n.updated):new Date(n==null?void 0:n.created)));St(this,"getResolution",()=>{const t=window.innerWidth,n=window.innerHeight;return{w:t,h:n}});St(this,"getBrowser",()=>{const t=navigator.userAgent;let n="unknown";switch(n=/ucbrowser/i.test(t)?"UCBrowser":n,n=/edg/i.test(t)?"Edge":n,n=/googlebot/i.test(t)?"GoogleBot":n,n=/chromium/i.test(t)?"Chromium":n,n=/firefox|fxios/i.test(t)&&!/seamonkey/i.test(t)?"Firefox":n,n=/; msie|trident/i.test(t)&&!/ucbrowser/i.test(t)?"IE":n,n=/chrome|crios/i.test(t)&&!/opr|opera|chromium|edg|ucbrowser|googlebot/i.test(t)?"Chrome":n,n=/safari/i.test(t)&&!/chromium|edg|ucbrowser|chrome|crios|opr|opera|fxios|firefox/i.test(t)?"Safari":n,n=/opr|opera/i.test(t)?"Opera":n,n){case"UCBrowser":return{name:n,v:Ae(t,/(ucbrowser)\/([\d\.]+)/i)};case"Edge":return{name:n,v:Ae(t,/(edge|edga|edgios|edg)\/([\d\.]+)/i)};case"GoogleBot":return{name:n,v:Ae(t,/(googlebot)\/([\d\.]+)/i)};case"Chromium":return{name:n,v:Ae(t,/(chromium)\/([\d\.]+)/i)};case"Firefox":return{name:n,v:Ae(t,/(firefox|fxios)\/([\d\.]+)/i)};case"Chrome":return{name:n,v:Ae(t,/(chrome|crios)\/([\d\.]+)/i)};case"Safari":return{name:n,v:Ae(t,/(safari)\/([\d\.]+)/i)};case"Opera":return{name:n,v:Ae(t,/(opera|opr)\/([\d\.]+)/i)};case"IE":{const r=Ae(t,/(trident)\/([\d\.]+)/i);return{name:n,v:r?(parseFloat(r)+4).toString():"7.0"}}default:return{name:"unknown",v:"0.0.0.0"}}})}scrollToElement({parent:t,element:n,axis:r="y",behavior:i="smooth"}){const s=t.getBoundingClientRect(),o=n.getBoundingClientRect();let a;r==="y"?(a=o.top-s.top+t.scrollTop,t.scrollTo({top:a,behavior:i})):r==="x"&&(a=o.left-s.left+t.scrollLeft,t.scrollTo({left:a,behavior:i}))}getFubiElement(t){const n=document.getElementById("fubi-shadow-host")||document.getElementById("fubi-container");if(!n)return B.error("Fubi main element not found",t),null;const i=(n.shadowRoot||n).querySelector(t);return i||(B.error("Element not found",t),null)}scrollIntoView(t,n="smooth",r="center",i="nearest"){t&&t.scrollIntoView({behavior:n,block:r,inline:i})}screenshot(t){Kd(t).then(n=>{Gd(n)}).catch(n=>{console.error("Screenshot process failed:",n)})}getThread(t){if(console.log("getThread",t),!this.validatePath(t))return B.error("Invalid selector",t),{id:null,el:null};let r=document.querySelector(t);if(!r)return B.error("Element not found",t),{id:null,el:null};let i=r.getAttribute("data-fubi-comment");return i?{id:i,el:r}:(B.error("Element does not have data-fubi-comment attribute",t),{id:null,el:r})}createOriginFilter(t){return t!=null&&t.length?"("+t.map(n=>`origin = "${n}"`).join(" || ")+")":""}setUrlParam(t,n){const r=new URL(window.location.href);r.searchParams.set(t,n),window.history.replaceState({},"",r)}removeUrlParam(t){const n=new URL(window.location.href);n.searchParams.delete(t),window.history.replaceState({},"",n)}disableScroll(){document.documentElement.classList.add("fubi-scroll-disabled")}enableScroll(){document.documentElement.classList.remove("fubi-scroll-disabled")}validatePath(t){try{return document.querySelector(t),!0}catch{return!1}}}function N1(e){const t=e instanceof Date?e:new Date(e);if(isNaN(t.getTime()))return{date:"Invalid date",time:""};const n=new Date,i=new Intl.DateTimeFormat(navigator.language,{hour:"numeric",minute:"numeric"}).format(t),s=t.getDate()===n.getDate()&&t.getMonth()===n.getMonth()&&t.getFullYear()===n.getFullYear(),o=t.getDate()===n.getDate()-1&&t.getMonth()===n.getMonth()&&t.getFullYear()===n.getFullYear();return s?{date:"Today",time:i}:o?{date:"Yesterday",time:i}:t.getFullYear()!==n.getFullYear()||n.getMonth()===0&&n.getDate()<=15&&t.getFullYear()!==n.getFullYear()?{date:new Intl.DateTimeFormat(navigator.language,{day:"numeric",month:"numeric",year:"numeric"}).format(t),time:i}:{date:new Intl.DateTimeFormat(navigator.language,{day:"numeric",month:"numeric"}).format(t),time:i}}const kt=new Yd,B={info(e,...t){Ss&&console.log("%c✦ "+e,"color: #FFFF00",...t)},error(e,...t){Ss&&console.error(e,...t)},warn(e,...t){Ss&&console.warn(e,...t)},ok(e,...t){Ss&&console.log("%c✅ "+e,"color: #22c55e",...t)},group(e){e?console.group("%c—— "+e+" ——","color: #6366f1"):console.group()},groupEnd(){console.groupEnd()}},z1="bus";class Jd{constructor(){this.events={}}on(t,n,r){const i=`${t}:${n}`;return this.events[i]||(this.events[i]=[]),this.events[i].push(r),()=>this.off(t,n,r)}off(t,n,r){const i=`${t}:${n}`;this.events[i]&&(this.events[i]=this.events[i].filter(s=>s!==r),B.info(z1,i,"unsubscribed"))}emit(t,n,r=null){const i=`${t}:${n}`;if(!this.events[i]){console.warn(`BUS DEBUG: Event "${i}" has no listeners`);return}for(const s of this.events[i])try{s(r)}catch(o){B.error(z1,`Error in handler for "${i}":`,o)}}}const k=new Jd,Zo="navigation";class Xd{constructor(){L(this,Ar,M("home"))}get current(){return h(d(this,Ar))}set current(t){x(d(this,Ar),T(t))}init(){return k.on("auth","unauthenticated",()=>this.goto("login")),k.on("auth","login-successful",()=>this.goto("home")),k.on("auth","logout",()=>this.goto("login")),k.on("isolation","isolated",({info:t})=>{t.hasComment||this.goto("comments")}),k.on("isolation","reset",()=>{this.goto("home"),kt.removeUrlParam("fubi")}),k.on("comments","opened",()=>Os.goto("comments")),k.on("comments","opened",t=>{kt.setUrlParam("fubi",t.id)}),k.on("comments","created",t=>{kt.setUrlParam("fubi",t.id)}),B.ok(Zo,"initialized"),this}goto(t){B.info(Zo,"Navigating to:",t),k.emit(Zo,"goto",t),this.current=t}}Ar=new WeakMap;const Os=new Xd;class vn{constructor(t,n){L(this,rn);L(this,de,M(0));L(this,_n,0);L(this,Mr);L(this,Ir,t=>{t.storageArea===localStorage&&t.key===d(this,rn)&&x(d(this,de),h(d(this,de))+1)});ht(this,rn,t),ht(this,Mr,n),typeof localStorage<"u"&&localStorage.getItem(t)===null&&localStorage.setItem(t,JSON.stringify(n))}get current(){h(d(this,de));const t=typeof localStorage<"u"?JSON.parse(localStorage.getItem(d(this,rn))):d(this,Mr),n=new WeakMap,r=i=>{if(typeof i!="object"||i===null)return i;let s=n.get(i);return s||(s=new Proxy(i,{get:(o,a)=>(h(d(this,de)),r(Reflect.get(o,a))),set:(o,a,l)=>(x(d(this,de),h(d(this,de))+1),Reflect.set(o,a,l),typeof localStorage<"u"&&localStorage.setItem(d(this,rn),JSON.stringify(t)),!0)}),n.set(i,s)),s};return o1()&&zt(()=>(d(this,_n)===0&&window.addEventListener("storage",d(this,Ir)),ht(this,_n,d(this,_n)+1),()=>{Oo().then(()=>{ht(this,_n,d(this,_n)-1),d(this,_n)===0&&window.removeEventListener("storage",d(this,Ir))})})),r(t)}set current(t){typeof localStorage<"u"&&localStorage.setItem(d(this,rn),JSON.stringify(t)),x(d(this,de),h(d(this,de))+1)}}rn=new WeakMap,de=new WeakMap,_n=new WeakMap,Mr=new WeakMap,Ir=new WeakMap;class Gt extends Error{constructor(t){var n,r,i,s;super("ClientResponseError"),this.url="",this.status=0,this.response={},this.isAbort=!1,this.originalError=null,Object.setPrototypeOf(this,Gt.prototype),t!==null&&typeof t=="object"&&(this.url=typeof t.url=="string"?t.url:"",this.status=typeof t.status=="number"?t.status:0,this.isAbort=!!t.isAbort,this.originalError=t.originalError,t.response!==null&&typeof t.response=="object"?this.response=t.response:t.data!==null&&typeof t.data=="object"?this.response=t.data:this.response={}),this.originalError||t instanceof Gt||(this.originalError=t),typeof DOMException<"u"&&t instanceof DOMException&&(this.isAbort=!0),this.name="ClientResponseError "+this.status,this.message=(n=this.response)==null?void 0:n.message,this.message||(this.isAbort?this.message="The request was autocancelled. You can find more info in https://github.com/pocketbase/js-sdk#auto-cancellation.":(s=(i=(r=this.originalError)==null?void 0:r.cause)==null?void 0:i.message)!=null&&s.includes("ECONNREFUSED ::1")?this.message="Failed to connect to the PocketBase server. Try changing the SDK URL from localhost to 127.0.0.1 (https://github.com/pocketbase/js-sdk/issues/21).":this.message="Something went wrong while processing your request.")}get data(){return this.response}toJSON(){return{...this}}}const $s=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Qd(e,t){const n={};if(typeof e!="string")return n;const r=Object.assign({},{}).decode||t2;let i=0;for(;i<e.length;){const s=e.indexOf("=",i);if(s===-1)break;let o=e.indexOf(";",i);if(o===-1)o=e.length;else if(o<s){i=e.lastIndexOf(";",s-1)+1;continue}const a=e.slice(i,s).trim();if(n[a]===void 0){let l=e.slice(s+1,o).trim();l.charCodeAt(0)===34&&(l=l.slice(1,-1));try{n[a]=r(l)}catch{n[a]=l}}i=o+1}return n}function Z1(e,t,n){const r=Object.assign({},n||{}),i=r.encode||e2;if(!$s.test(e))throw new TypeError("argument name is invalid");const s=i(t);if(s&&!$s.test(s))throw new TypeError("argument val is invalid");let o=e+"="+s;if(r.maxAge!=null){const a=r.maxAge-0;if(isNaN(a)||!isFinite(a))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(a)}if(r.domain){if(!$s.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!$s.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){if(!function(l){return Object.prototype.toString.call(l)==="[object Date]"||l instanceof Date}(r.expires)||isNaN(r.expires.valueOf()))throw new TypeError("option expires is invalid");o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":o+="; Priority=Low";break;case"medium":o+="; Priority=Medium";break;case"high":o+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o}function t2(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function e2(e){return encodeURIComponent(e)}const n2=typeof navigator<"u"&&navigator.product==="ReactNative"||typeof global<"u"&&global.HermesInternal;let W1;function zn(e){if(e)try{const t=decodeURIComponent(W1(e.split(".")[1]).split("").map(function(n){return"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(t)||{}}catch{}return{}}function G1(e,t=0){let n=zn(e);return!(Object.keys(n).length>0&&(!n.exp||n.exp-t>Date.now()/1e3))}W1=typeof atob!="function"||n2?e=>{let t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,s=0,o="";r=t.charAt(s++);~r&&(n=i%4?64*n+r:r,i++%4)?o+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return o}:atob;const K1="pb_auth";class Wo{constructor(){this.baseToken="",this.baseModel=null,this._onChangeCallbacks=[]}get token(){return this.baseToken}get record(){return this.baseModel}get model(){return this.baseModel}get isValid(){return!G1(this.token)}get isSuperuser(){var n,r;let t=zn(this.token);return t.type=="auth"&&(((n=this.record)==null?void 0:n.collectionName)=="_superusers"||!((r=this.record)!=null&&r.collectionName)&&t.collectionId=="pbc_3142635823")}get isAdmin(){return console.warn("Please replace pb.authStore.isAdmin with pb.authStore.isSuperuser OR simply check the value of pb.authStore.record?.collectionName"),this.isSuperuser}get isAuthRecord(){return console.warn("Please replace pb.authStore.isAuthRecord with !pb.authStore.isSuperuser OR simply check the value of pb.authStore.record?.collectionName"),zn(this.token).type=="auth"&&!this.isSuperuser}save(t,n){this.baseToken=t||"",this.baseModel=n||null,this.triggerChange()}clear(){this.baseToken="",this.baseModel=null,this.triggerChange()}loadFromCookie(t,n=K1){const r=Qd(t||"")[n]||"";let i={};try{i=JSON.parse(r),(typeof i===null||typeof i!="object"||Array.isArray(i))&&(i={})}catch{}this.save(i.token||"",i.record||i.model||null)}exportToCookie(t,n=K1){var l,c;const r={secure:!0,sameSite:!0,httpOnly:!0,path:"/"},i=zn(this.token);r.expires=i!=null&&i.exp?new Date(1e3*i.exp):new Date("1970-01-01"),t=Object.assign({},r,t);const s={token:this.token,record:this.record?JSON.parse(JSON.stringify(this.record)):null};let o=Z1(n,JSON.stringify(s),t);const a=typeof Blob<"u"?new Blob([o]).size:o.length;if(s.record&&a>4096){s.record={id:(l=s.record)==null?void 0:l.id,email:(c=s.record)==null?void 0:c.email};const u=["collectionId","collectionName","verified"];for(const p in this.record)u.includes(p)&&(s.record[p]=this.record[p]);o=Z1(n,JSON.stringify(s),t)}return o}onChange(t,n=!1){return this._onChangeCallbacks.push(t),n&&t(this.token,this.record),()=>{for(let r=this._onChangeCallbacks.length-1;r>=0;r--)if(this._onChangeCallbacks[r]==t)return delete this._onChangeCallbacks[r],void this._onChangeCallbacks.splice(r,1)}}triggerChange(){for(const t of this._onChangeCallbacks)t&&t(this.token,this.record)}}class r2 extends Wo{constructor(t="pocketbase_auth"){super(),this.storageFallback={},this.storageKey=t,this._bindStorageEvent()}get token(){return(this._storageGet(this.storageKey)||{}).token||""}get record(){const t=this._storageGet(this.storageKey)||{};return t.record||t.model||null}get model(){return this.record}save(t,n){this._storageSet(this.storageKey,{token:t,record:n}),super.save(t,n)}clear(){this._storageRemove(this.storageKey),super.clear()}_storageGet(t){if(typeof window<"u"&&(window!=null&&window.localStorage)){const n=window.localStorage.getItem(t)||"";try{return JSON.parse(n)}catch{return n}}return this.storageFallback[t]}_storageSet(t,n){if(typeof window<"u"&&(window!=null&&window.localStorage)){let r=n;typeof n!="string"&&(r=JSON.stringify(n)),window.localStorage.setItem(t,r)}else this.storageFallback[t]=n}_storageRemove(t){var n;typeof window<"u"&&(window!=null&&window.localStorage)&&((n=window.localStorage)==null||n.removeItem(t)),delete this.storageFallback[t]}_bindStorageEvent(){typeof window<"u"&&(window!=null&&window.localStorage)&&window.addEventListener&&window.addEventListener("storage",t=>{if(t.key!=this.storageKey)return;const n=this._storageGet(this.storageKey)||{};super.save(n.token||"",n.record||n.model||null)})}}class Me{constructor(t){this.client=t}}class i2 extends Me{async getAll(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/settings",t)}async update(t,n){return n=Object.assign({method:"PATCH",body:t},n),this.client.send("/api/settings",n)}async testS3(t="storage",n){return n=Object.assign({method:"POST",body:{filesystem:t}},n),this.client.send("/api/settings/test/s3",n).then(()=>!0)}async testEmail(t,n,r,i){return i=Object.assign({method:"POST",body:{email:n,template:r,collection:t}},i),this.client.send("/api/settings/test/email",i).then(()=>!0)}async generateAppleClientSecret(t,n,r,i,s,o){return o=Object.assign({method:"POST",body:{clientId:t,teamId:n,keyId:r,privateKey:i,duration:s}},o),this.client.send("/api/settings/apple/generate-client-secret",o)}}const s2=["requestKey","$cancelKey","$autoCancel","fetch","headers","body","query","params","cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","window"];function Go(e){if(e){e.query=e.query||{};for(let t in e)s2.includes(t)||(e.query[t]=e[t],delete e[t])}}function Y1(e){const t=[];for(const n in e){const r=encodeURIComponent(n),i=Array.isArray(e[n])?e[n]:[e[n]];for(let s of i)s=o2(s),s!==null&&t.push(r+"="+s)}return t.join("&")}function o2(e){return e==null?null:e instanceof Date?encodeURIComponent(e.toISOString().replace("T"," ")):encodeURIComponent(typeof e=="object"?JSON.stringify(e):e)}class J1 extends Me{constructor(){super(...arguments),this.clientId="",this.eventSource=null,this.subscriptions={},this.lastSentSubscriptions=[],this.maxConnectTimeout=15e3,this.reconnectAttempts=0,this.maxReconnectAttempts=1/0,this.predefinedReconnectIntervals=[200,300,500,1e3,1200,1500,2e3],this.pendingConnects=[]}get isConnected(){return!!this.eventSource&&!!this.clientId&&!this.pendingConnects.length}async subscribe(t,n,r){var o;if(!t)throw new Error("topic must be set.");let i=t;if(r){Go(r=Object.assign({},r));const a="options="+encodeURIComponent(JSON.stringify({query:r.query,headers:r.headers}));i+=(i.includes("?")?"&":"?")+a}const s=function(a){const l=a;let c;try{c=JSON.parse(l==null?void 0:l.data)}catch{}n(c||{})};return this.subscriptions[i]||(this.subscriptions[i]=[]),this.subscriptions[i].push(s),this.isConnected?this.subscriptions[i].length===1?await this.submitSubscriptions():(o=this.eventSource)==null||o.addEventListener(i,s):await this.connect(),async()=>this.unsubscribeByTopicAndListener(t,s)}async unsubscribe(t){var r;let n=!1;if(t){const i=this.getSubscriptionsByTopic(t);for(let s in i)if(this.hasSubscriptionListeners(s)){for(let o of this.subscriptions[s])(r=this.eventSource)==null||r.removeEventListener(s,o);delete this.subscriptions[s],n||(n=!0)}}else this.subscriptions={};this.hasSubscriptionListeners()?n&&await this.submitSubscriptions():this.disconnect()}async unsubscribeByPrefix(t){var r;let n=!1;for(let i in this.subscriptions)if((i+"?").startsWith(t)){n=!0;for(let s of this.subscriptions[i])(r=this.eventSource)==null||r.removeEventListener(i,s);delete this.subscriptions[i]}n&&(this.hasSubscriptionListeners()?await this.submitSubscriptions():this.disconnect())}async unsubscribeByTopicAndListener(t,n){var s;let r=!1;const i=this.getSubscriptionsByTopic(t);for(let o in i){if(!Array.isArray(this.subscriptions[o])||!this.subscriptions[o].length)continue;let a=!1;for(let l=this.subscriptions[o].length-1;l>=0;l--)this.subscriptions[o][l]===n&&(a=!0,delete this.subscriptions[o][l],this.subscriptions[o].splice(l,1),(s=this.eventSource)==null||s.removeEventListener(o,n));a&&(this.subscriptions[o].length||delete this.subscriptions[o],r||this.hasSubscriptionListeners(o)||(r=!0))}this.hasSubscriptionListeners()?r&&await this.submitSubscriptions():this.disconnect()}hasSubscriptionListeners(t){var n,r;if(this.subscriptions=this.subscriptions||{},t)return!!((n=this.subscriptions[t])!=null&&n.length);for(let i in this.subscriptions)if((r=this.subscriptions[i])!=null&&r.length)return!0;return!1}async submitSubscriptions(){if(this.clientId)return this.addAllSubscriptionListeners(),this.lastSentSubscriptions=this.getNonEmptySubscriptionKeys(),this.client.send("/api/realtime",{method:"POST",body:{clientId:this.clientId,subscriptions:this.lastSentSubscriptions},requestKey:this.getSubscriptionsCancelKey()}).catch(t=>{if(!(t!=null&&t.isAbort))throw t})}getSubscriptionsCancelKey(){return"realtime_"+this.clientId}getSubscriptionsByTopic(t){const n={};t=t.includes("?")?t:t+"?";for(let r in this.subscriptions)(r+"?").startsWith(t)&&(n[r]=this.subscriptions[r]);return n}getNonEmptySubscriptionKeys(){const t=[];for(let n in this.subscriptions)this.subscriptions[n].length&&t.push(n);return t}addAllSubscriptionListeners(){if(this.eventSource){this.removeAllSubscriptionListeners();for(let t in this.subscriptions)for(let n of this.subscriptions[t])this.eventSource.addEventListener(t,n)}}removeAllSubscriptionListeners(){if(this.eventSource)for(let t in this.subscriptions)for(let n of this.subscriptions[t])this.eventSource.removeEventListener(t,n)}async connect(){if(!(this.reconnectAttempts>0))return new Promise((t,n)=>{this.pendingConnects.push({resolve:t,reject:n}),this.pendingConnects.length>1||this.initConnect()})}initConnect(){this.disconnect(!0),clearTimeout(this.connectTimeoutId),this.connectTimeoutId=setTimeout(()=>{this.connectErrorHandler(new Error("EventSource connect took too long."))},this.maxConnectTimeout),this.eventSource=new EventSource(this.client.buildURL("/api/realtime")),this.eventSource.onerror=t=>{this.connectErrorHandler(new Error("Failed to establish realtime connection."))},this.eventSource.addEventListener("PB_CONNECT",t=>{const n=t;this.clientId=n==null?void 0:n.lastEventId,this.submitSubscriptions().then(async()=>{let r=3;for(;this.hasUnsentSubscriptions()&&r>0;)r--,await this.submitSubscriptions()}).then(()=>{for(let i of this.pendingConnects)i.resolve();this.pendingConnects=[],this.reconnectAttempts=0,clearTimeout(this.reconnectTimeoutId),clearTimeout(this.connectTimeoutId);const r=this.getSubscriptionsByTopic("PB_CONNECT");for(let i in r)for(let s of r[i])s(t)}).catch(r=>{this.clientId="",this.connectErrorHandler(r)})})}hasUnsentSubscriptions(){const t=this.getNonEmptySubscriptionKeys();if(t.length!=this.lastSentSubscriptions.length)return!0;for(const n of t)if(!this.lastSentSubscriptions.includes(n))return!0;return!1}connectErrorHandler(t){if(clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),!this.clientId&&!this.reconnectAttempts||this.reconnectAttempts>this.maxReconnectAttempts){for(let r of this.pendingConnects)r.reject(new Gt(t));return this.pendingConnects=[],void this.disconnect()}this.disconnect(!0);const n=this.predefinedReconnectIntervals[this.reconnectAttempts]||this.predefinedReconnectIntervals[this.predefinedReconnectIntervals.length-1];this.reconnectAttempts++,this.reconnectTimeoutId=setTimeout(()=>{this.initConnect()},n)}disconnect(t=!1){var n;if(this.clientId&&this.onDisconnect&&this.onDisconnect(Object.keys(this.subscriptions)),clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),this.removeAllSubscriptionListeners(),this.client.cancelRequest(this.getSubscriptionsCancelKey()),(n=this.eventSource)==null||n.close(),this.eventSource=null,this.clientId="",!t){this.reconnectAttempts=0;for(let r of this.pendingConnects)r.resolve();this.pendingConnects=[]}}}class X1 extends Me{decode(t){return t}async getFullList(t,n){if(typeof t=="number")return this._getFullList(t,n);let r=500;return(n=Object.assign({},t,n)).batch&&(r=n.batch,delete n.batch),this._getFullList(r,n)}async getList(t=1,n=30,r){return(r=Object.assign({method:"GET"},r)).query=Object.assign({page:t,perPage:n},r.query),this.client.send(this.baseCrudPath,r).then(i=>{var s;return i.items=((s=i.items)==null?void 0:s.map(o=>this.decode(o)))||[],i})}async getFirstListItem(t,n){return(n=Object.assign({requestKey:"one_by_filter_"+this.baseCrudPath+"_"+t},n)).query=Object.assign({filter:t,skipTotal:1},n.query),this.getList(1,1,n).then(r=>{var i;if(!((i=r==null?void 0:r.items)!=null&&i.length))throw new Gt({status:404,response:{code:404,message:"The requested resource wasn't found.",data:{}}});return r.items[0]})}async getOne(t,n){if(!t)throw new Gt({url:this.client.buildURL(this.baseCrudPath+"/"),status:404,response:{code:404,message:"Missing required record id.",data:{}}});return n=Object.assign({method:"GET"},n),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),n).then(r=>this.decode(r))}async create(t,n){return n=Object.assign({method:"POST",body:t},n),this.client.send(this.baseCrudPath,n).then(r=>this.decode(r))}async update(t,n,r){return r=Object.assign({method:"PATCH",body:n},r),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),r).then(i=>this.decode(i))}async delete(t,n){return n=Object.assign({method:"DELETE"},n),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),n).then(()=>!0)}_getFullList(t=500,n){(n=n||{}).query=Object.assign({skipTotal:1},n.query);let r=[],i=async s=>this.getList(s,t||500,n).then(o=>{const a=o.items;return r=r.concat(a),a.length==o.perPage?i(s+1):r});return i(1)}}function Ge(e,t,n,r){const i=r!==void 0;return i||n!==void 0?i?(console.warn(e),t.body=Object.assign({},t.body,n),t.query=Object.assign({},t.query,r),t):Object.assign(t,n):t}function Ko(e){var t;(t=e._resetAutoRefresh)==null||t.call(e)}class a2 extends X1{constructor(t,n){super(t),this.collectionIdOrName=n}get baseCrudPath(){return this.baseCollectionPath+"/records"}get baseCollectionPath(){return"/api/collections/"+encodeURIComponent(this.collectionIdOrName)}get isSuperusers(){return this.collectionIdOrName=="_superusers"||this.collectionIdOrName=="_pbc_2773867675"}async subscribe(t,n,r){if(!t)throw new Error("Missing topic.");if(!n)throw new Error("Missing subscription callback.");return this.client.realtime.subscribe(this.collectionIdOrName+"/"+t,n,r)}async unsubscribe(t){return t?this.client.realtime.unsubscribe(this.collectionIdOrName+"/"+t):this.client.realtime.unsubscribeByPrefix(this.collectionIdOrName)}async getFullList(t,n){if(typeof t=="number")return super.getFullList(t,n);const r=Object.assign({},t,n);return super.getFullList(r)}async getList(t=1,n=30,r){return super.getList(t,n,r)}async getFirstListItem(t,n){return super.getFirstListItem(t,n)}async getOne(t,n){return super.getOne(t,n)}async create(t,n){return super.create(t,n)}async update(t,n,r){return super.update(t,n,r).then(i=>{var s,o,a;if(((s=this.client.authStore.record)==null?void 0:s.id)===(i==null?void 0:i.id)&&(((o=this.client.authStore.record)==null?void 0:o.collectionId)===this.collectionIdOrName||((a=this.client.authStore.record)==null?void 0:a.collectionName)===this.collectionIdOrName)){let l=Object.assign({},this.client.authStore.record.expand),c=Object.assign({},this.client.authStore.record,i);l&&(c.expand=Object.assign(l,i.expand)),this.client.authStore.save(this.client.authStore.token,c)}return i})}async delete(t,n){return super.delete(t,n).then(r=>{var i,s,o;return!r||((i=this.client.authStore.record)==null?void 0:i.id)!==t||((s=this.client.authStore.record)==null?void 0:s.collectionId)!==this.collectionIdOrName&&((o=this.client.authStore.record)==null?void 0:o.collectionName)!==this.collectionIdOrName||this.client.authStore.clear(),r})}authResponse(t){const n=this.decode((t==null?void 0:t.record)||{});return this.client.authStore.save(t==null?void 0:t.token,n),Object.assign({},t,{token:(t==null?void 0:t.token)||"",record:n})}async listAuthMethods(t){return t=Object.assign({method:"GET",fields:"mfa,otp,password,oauth2"},t),this.client.send(this.baseCollectionPath+"/auth-methods",t)}async authWithPassword(t,n,r){let i;r=Object.assign({method:"POST",body:{identity:t,password:n}},r),this.isSuperusers&&(i=r.autoRefreshThreshold,delete r.autoRefreshThreshold,r.autoRefresh||Ko(this.client));let s=await this.client.send(this.baseCollectionPath+"/auth-with-password",r);return s=this.authResponse(s),i&&this.isSuperusers&&function(a,l,c,u){Ko(a);const p=a.beforeSend,f=a.authStore.record,w=a.authStore.onChange((g,m)=>{(!g||(m==null?void 0:m.id)!=(f==null?void 0:f.id)||(m!=null&&m.collectionId||f!=null&&f.collectionId)&&(m==null?void 0:m.collectionId)!=(f==null?void 0:f.collectionId))&&Ko(a)});a._resetAutoRefresh=function(){w(),a.beforeSend=p,delete a._resetAutoRefresh},a.beforeSend=async(g,m)=>{var v;const C=a.authStore.token;if((v=m.query)!=null&&v.autoRefresh)return p?p(g,m):{url:g,sendOptions:m};let _=a.authStore.isValid;if(_&&G1(a.authStore.token,l))try{await c()}catch{_=!1}_||await u();const b=m.headers||{};for(let S in b)if(S.toLowerCase()=="authorization"&&C==b[S]&&a.authStore.token){b[S]=a.authStore.token;break}return m.headers=b,p?p(g,m):{url:g,sendOptions:m}}}(this.client,i,()=>this.authRefresh({autoRefresh:!0}),()=>this.authWithPassword(t,n,Object.assign({autoRefresh:!0},r))),s}async authWithOAuth2Code(t,n,r,i,s,o,a){let l={method:"POST",body:{provider:t,code:n,codeVerifier:r,redirectURL:i,createData:s}};return l=Ge("This form of authWithOAuth2Code(provider, code, codeVerifier, redirectURL, createData?, body?, query?) is deprecated. Consider replacing it with authWithOAuth2Code(provider, code, codeVerifier, redirectURL, createData?, options?).",l,o,a),this.client.send(this.baseCollectionPath+"/auth-with-oauth2",l).then(c=>this.authResponse(c))}authWithOAuth2(...t){if(t.length>1||typeof(t==null?void 0:t[0])=="string")return console.warn("PocketBase: This form of authWithOAuth2() is deprecated and may get removed in the future. Please replace with authWithOAuth2Code() OR use the authWithOAuth2() realtime form as shown in https://pocketbase.io/docs/authentication/#oauth2-integration."),this.authWithOAuth2Code((t==null?void 0:t[0])||"",(t==null?void 0:t[1])||"",(t==null?void 0:t[2])||"",(t==null?void 0:t[3])||"",(t==null?void 0:t[4])||{},(t==null?void 0:t[5])||{},(t==null?void 0:t[6])||{});const n=(t==null?void 0:t[0])||{};let r=null;n.urlCallback||(r=Q1(void 0));const i=new J1(this.client);function s(){r==null||r.close(),i.unsubscribe()}const o={},a=n.requestKey;return a&&(o.requestKey=a),this.listAuthMethods(o).then(l=>{var f;const c=l.oauth2.providers.find(w=>w.name===n.provider);if(!c)throw new Gt(new Error(`Missing or invalid provider "${n.provider}".`));const u=this.client.buildURL("/api/oauth2-redirect"),p=a?(f=this.client.cancelControllers)==null?void 0:f[a]:void 0;return p&&(p.signal.onabort=()=>{s()}),new Promise(async(w,g)=>{var m;try{await i.subscribe("@oauth2",async v=>{var O;const S=i.clientId;try{if(!v.state||S!==v.state)throw new Error("State parameters don't match.");if(v.error||!v.code)throw new Error("OAuth2 redirect error or missing code: "+v.error);const F=Object.assign({},n);delete F.provider,delete F.scopes,delete F.createData,delete F.urlCallback,(O=p==null?void 0:p.signal)!=null&&O.onabort&&(p.signal.onabort=null);const P=await this.authWithOAuth2Code(c.name,v.code,c.codeVerifier,u,n.createData,F);w(P)}catch(F){g(new Gt(F))}s()});const C={state:i.clientId};(m=n.scopes)!=null&&m.length&&(C.scope=n.scopes.join(" "));const _=this._replaceQueryParams(c.authURL+u,C);await(n.urlCallback||function(v){r?r.location.href=v:r=Q1(v)})(_)}catch(C){s(),g(new Gt(C))}})}).catch(l=>{throw s(),l})}async authRefresh(t,n){let r={method:"POST"};return r=Ge("This form of authRefresh(body?, query?) is deprecated. Consider replacing it with authRefresh(options?).",r,t,n),this.client.send(this.baseCollectionPath+"/auth-refresh",r).then(i=>this.authResponse(i))}async requestPasswordReset(t,n,r){let i={method:"POST",body:{email:t}};return i=Ge("This form of requestPasswordReset(email, body?, query?) is deprecated. Consider replacing it with requestPasswordReset(email, options?).",i,n,r),this.client.send(this.baseCollectionPath+"/request-password-reset",i).then(()=>!0)}async confirmPasswordReset(t,n,r,i,s){let o={method:"POST",body:{token:t,password:n,passwordConfirm:r}};return o=Ge("This form of confirmPasswordReset(token, password, passwordConfirm, body?, query?) is deprecated. Consider replacing it with confirmPasswordReset(token, password, passwordConfirm, options?).",o,i,s),this.client.send(this.baseCollectionPath+"/confirm-password-reset",o).then(()=>!0)}async requestVerification(t,n,r){let i={method:"POST",body:{email:t}};return i=Ge("This form of requestVerification(email, body?, query?) is deprecated. Consider replacing it with requestVerification(email, options?).",i,n,r),this.client.send(this.baseCollectionPath+"/request-verification",i).then(()=>!0)}async confirmVerification(t,n,r){let i={method:"POST",body:{token:t}};return i=Ge("This form of confirmVerification(token, body?, query?) is deprecated. Consider replacing it with confirmVerification(token, options?).",i,n,r),this.client.send(this.baseCollectionPath+"/confirm-verification",i).then(()=>{const s=zn(t),o=this.client.authStore.record;return o&&!o.verified&&o.id===s.id&&o.collectionId===s.collectionId&&(o.verified=!0,this.client.authStore.save(this.client.authStore.token,o)),!0})}async requestEmailChange(t,n,r){let i={method:"POST",body:{newEmail:t}};return i=Ge("This form of requestEmailChange(newEmail, body?, query?) is deprecated. Consider replacing it with requestEmailChange(newEmail, options?).",i,n,r),this.client.send(this.baseCollectionPath+"/request-email-change",i).then(()=>!0)}async confirmEmailChange(t,n,r,i){let s={method:"POST",body:{token:t,password:n}};return s=Ge("This form of confirmEmailChange(token, password, body?, query?) is deprecated. Consider replacing it with confirmEmailChange(token, password, options?).",s,r,i),this.client.send(this.baseCollectionPath+"/confirm-email-change",s).then(()=>{const o=zn(t),a=this.client.authStore.record;return a&&a.id===o.id&&a.collectionId===o.collectionId&&this.client.authStore.clear(),!0})}async listExternalAuths(t,n){return this.client.collection("_externalAuths").getFullList(Object.assign({},n,{filter:this.client.filter("recordRef = {:id}",{id:t})}))}async unlinkExternalAuth(t,n,r){const i=await this.client.collection("_externalAuths").getFirstListItem(this.client.filter("recordRef = {:recordId} && provider = {:provider}",{recordId:t,provider:n}));return this.client.collection("_externalAuths").delete(i.id,r).then(()=>!0)}async requestOTP(t,n){return n=Object.assign({method:"POST",body:{email:t}},n),this.client.send(this.baseCollectionPath+"/request-otp",n)}async authWithOTP(t,n,r){return r=Object.assign({method:"POST",body:{otpId:t,password:n}},r),this.client.send(this.baseCollectionPath+"/auth-with-otp",r).then(i=>this.authResponse(i))}async impersonate(t,n,r){(r=Object.assign({method:"POST",body:{duration:n}},r)).headers=r.headers||{},r.headers.Authorization||(r.headers.Authorization=this.client.authStore.token);const i=new nl(this.client.baseURL,new Wo,this.client.lang),s=await i.send(this.baseCollectionPath+"/impersonate/"+encodeURIComponent(t),r);return i.authStore.save(s==null?void 0:s.token,this.decode((s==null?void 0:s.record)||{})),i}_replaceQueryParams(t,n={}){let r=t,i="";t.indexOf("?")>=0&&(r=t.substring(0,t.indexOf("?")),i=t.substring(t.indexOf("?")+1));const s={},o=i.split("&");for(const a of o){if(a=="")continue;const l=a.split("=");s[decodeURIComponent(l[0].replace(/\+/g," "))]=decodeURIComponent((l[1]||"").replace(/\+/g," "))}for(let a in n)n.hasOwnProperty(a)&&(n[a]==null?delete s[a]:s[a]=n[a]);i="";for(let a in s)s.hasOwnProperty(a)&&(i!=""&&(i+="&"),i+=encodeURIComponent(a.replace(/%20/g,"+"))+"="+encodeURIComponent(s[a].replace(/%20/g,"+")));return i!=""?r+"?"+i:r}}function Q1(e){if(typeof window>"u"||!(window!=null&&window.open))throw new Gt(new Error("Not in a browser context - please pass a custom urlCallback function."));let t=1024,n=768,r=window.innerWidth,i=window.innerHeight;t=t>r?r:t,n=n>i?i:n;let s=r/2-t/2,o=i/2-n/2;return window.open(e,"popup_window","width="+t+",height="+n+",top="+o+",left="+s+",resizable,menubar=no")}class l2 extends X1{get baseCrudPath(){return"/api/collections"}async import(t,n=!1,r){return r=Object.assign({method:"PUT",body:{collections:t,deleteMissing:n}},r),this.client.send(this.baseCrudPath+"/import",r).then(()=>!0)}async getScaffolds(t){return t=Object.assign({method:"GET"},t),this.client.send(this.baseCrudPath+"/meta/scaffolds",t)}async truncate(t,n){return n=Object.assign({method:"DELETE"},n),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t)+"/truncate",n).then(()=>!0)}}class c2 extends Me{async getList(t=1,n=30,r){return(r=Object.assign({method:"GET"},r)).query=Object.assign({page:t,perPage:n},r.query),this.client.send("/api/logs",r)}async getOne(t,n){if(!t)throw new Gt({url:this.client.buildURL("/api/logs/"),status:404,response:{code:404,message:"Missing required log id.",data:{}}});return n=Object.assign({method:"GET"},n),this.client.send("/api/logs/"+encodeURIComponent(t),n)}async getStats(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/logs/stats",t)}}class u2 extends Me{async check(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/health",t)}}class d2 extends Me{getUrl(t,n,r={}){return console.warn("Please replace pb.files.getUrl() with pb.files.getURL()"),this.getURL(t,n,r)}getURL(t,n,r={}){if(!n||!(t!=null&&t.id)||!(t!=null&&t.collectionId)&&!(t!=null&&t.collectionName))return"";const i=[];i.push("api"),i.push("files"),i.push(encodeURIComponent(t.collectionId||t.collectionName)),i.push(encodeURIComponent(t.id)),i.push(encodeURIComponent(n));let s=this.client.buildURL(i.join("/"));if(Object.keys(r).length){r.download===!1&&delete r.download;const o=new URLSearchParams(r);s+=(s.includes("?")?"&":"?")+o}return s}async getToken(t){return t=Object.assign({method:"POST"},t),this.client.send("/api/files/token",t).then(n=>(n==null?void 0:n.token)||"")}}class f2 extends Me{async getFullList(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/backups",t)}async create(t,n){return n=Object.assign({method:"POST",body:{name:t}},n),this.client.send("/api/backups",n).then(()=>!0)}async upload(t,n){return n=Object.assign({method:"POST",body:t},n),this.client.send("/api/backups/upload",n).then(()=>!0)}async delete(t,n){return n=Object.assign({method:"DELETE"},n),this.client.send(`/api/backups/${encodeURIComponent(t)}`,n).then(()=>!0)}async restore(t,n){return n=Object.assign({method:"POST"},n),this.client.send(`/api/backups/${encodeURIComponent(t)}/restore`,n).then(()=>!0)}getDownloadUrl(t,n){return console.warn("Please replace pb.backups.getDownloadUrl() with pb.backups.getDownloadURL()"),this.getDownloadURL(t,n)}getDownloadURL(t,n){return this.client.buildURL(`/api/backups/${encodeURIComponent(n)}?token=${encodeURIComponent(t)}`)}}class h2 extends Me{async getFullList(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/crons",t)}async run(t,n){return n=Object.assign({method:"POST"},n),this.client.send(`/api/crons/${encodeURIComponent(t)}`,n).then(()=>!0)}}function Yo(e){return typeof Blob<"u"&&e instanceof Blob||typeof File<"u"&&e instanceof File||e!==null&&typeof e=="object"&&e.uri&&(typeof navigator<"u"&&navigator.product==="ReactNative"||typeof global<"u"&&global.HermesInternal)}function Jo(e){return e&&(e.constructor.name==="FormData"||typeof FormData<"u"&&e instanceof FormData)}function tl(e){for(const t in e){const n=Array.isArray(e[t])?e[t]:[e[t]];for(const r of n)if(Yo(r))return!0}return!1}const p2=/^[\-\.\d]+$/;function el(e){if(typeof e!="string")return e;if(e=="true")return!0;if(e=="false")return!1;if((e[0]==="-"||e[0]>="0"&&e[0]<="9")&&p2.test(e)){let t=+e;if(""+t===e)return t}return e}class w2 extends Me{constructor(){super(...arguments),this.requests=[],this.subs={}}collection(t){return this.subs[t]||(this.subs[t]=new g2(this.requests,t)),this.subs[t]}async send(t){const n=new FormData,r=[];for(let i=0;i<this.requests.length;i++){const s=this.requests[i];if(r.push({method:s.method,url:s.url,headers:s.headers,body:s.json}),s.files)for(let o in s.files){const a=s.files[o]||[];for(let l of a)n.append("requests."+i+"."+o,l)}}return n.append("@jsonPayload",JSON.stringify({requests:r})),t=Object.assign({method:"POST",body:n},t),this.client.send("/api/batch",t)}}class g2{constructor(t,n){this.requests=[],this.requests=t,this.collectionIdOrName=n}upsert(t,n){n=Object.assign({body:t||{}},n);const r={method:"PUT",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(r,n),this.requests.push(r)}create(t,n){n=Object.assign({body:t||{}},n);const r={method:"POST",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(r,n),this.requests.push(r)}update(t,n,r){r=Object.assign({body:n||{}},r);const i={method:"PATCH",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(t)};this.prepareRequest(i,r),this.requests.push(i)}delete(t,n){n=Object.assign({},n);const r={method:"DELETE",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(t)};this.prepareRequest(r,n),this.requests.push(r)}prepareRequest(t,n){if(Go(n),t.headers=n.headers,t.json={},t.files={},n.query!==void 0){const i=Y1(n.query);i&&(t.url+=(t.url.includes("?")?"&":"?")+i)}let r=n.body;Jo(r)&&(r=function(s){let o={};return s.forEach((a,l)=>{if(l==="@jsonPayload"&&typeof a=="string")try{let c=JSON.parse(a);Object.assign(o,c)}catch(c){console.warn("@jsonPayload error:",c)}else o[l]!==void 0?(Array.isArray(o[l])||(o[l]=[o[l]]),o[l].push(el(a))):o[l]=el(a)}),o}(r));for(const i in r){const s=r[i];if(Yo(s))t.files[i]=t.files[i]||[],t.files[i].push(s);else if(Array.isArray(s)){const o=[],a=[];for(const l of s)Yo(l)?o.push(l):a.push(l);if(o.length>0&&o.length==s.length){t.files[i]=t.files[i]||[];for(let l of o)t.files[i].push(l)}else if(t.json[i]=a,o.length>0){let l=i;i.startsWith("+")||i.endsWith("+")||(l+="+"),t.files[l]=t.files[l]||[];for(let c of o)t.files[l].push(c)}}else t.json[i]=s}}}class nl{get baseUrl(){return this.baseURL}set baseUrl(t){this.baseURL=t}constructor(t="/",n,r="en-US"){this.cancelControllers={},this.recordServices={},this.enableAutoCancellation=!0,this.baseURL=t,this.lang=r,n?this.authStore=n:typeof window<"u"&&window.Deno?this.authStore=new Wo:this.authStore=new r2,this.collections=new l2(this),this.files=new d2(this),this.logs=new c2(this),this.settings=new i2(this),this.realtime=new J1(this),this.health=new u2(this),this.backups=new f2(this),this.crons=new h2(this)}get admins(){return this.collection("_superusers")}createBatch(){return new w2(this)}collection(t){return this.recordServices[t]||(this.recordServices[t]=new a2(this,t)),this.recordServices[t]}autoCancellation(t){return this.enableAutoCancellation=!!t,this}cancelRequest(t){return this.cancelControllers[t]&&(this.cancelControllers[t].abort(),delete this.cancelControllers[t]),this}cancelAllRequests(){for(let t in this.cancelControllers)this.cancelControllers[t].abort();return this.cancelControllers={},this}filter(t,n){if(!n)return t;for(let r in n){let i=n[r];switch(typeof i){case"boolean":case"number":i=""+i;break;case"string":i="'"+i.replace(/'/g,"\\'")+"'";break;default:i=i===null?"null":i instanceof Date?"'"+i.toISOString().replace("T"," ")+"'":"'"+JSON.stringify(i).replace(/'/g,"\\'")+"'"}t=t.replaceAll("{:"+r+"}",i)}return t}getFileUrl(t,n,r={}){return console.warn("Please replace pb.getFileUrl() with pb.files.getURL()"),this.files.getURL(t,n,r)}buildUrl(t){return console.warn("Please replace pb.buildUrl() with pb.buildURL()"),this.buildURL(t)}buildURL(t){var r;let n=this.baseURL;return typeof window>"u"||!window.location||n.startsWith("https://")||n.startsWith("http://")||(n=(r=window.location.origin)!=null&&r.endsWith("/")?window.location.origin.substring(0,window.location.origin.length-1):window.location.origin||"",this.baseURL.startsWith("/")||(n+=window.location.pathname||"/",n+=n.endsWith("/")?"":"/"),n+=this.baseURL),t&&(n+=n.endsWith("/")?"":"/",n+=t.startsWith("/")?t.substring(1):t),n}async send(t,n){n=this.initSendOptions(t,n);let r=this.buildURL(t);if(this.beforeSend){const i=Object.assign({},await this.beforeSend(r,n));i.url!==void 0||i.options!==void 0?(r=i.url||r,n=i.options||n):Object.keys(i).length&&(n=i,console!=null&&console.warn&&console.warn("Deprecated format of beforeSend return: please use `return { url, options }`, instead of `return options`."))}if(n.query!==void 0){const i=Y1(n.query);i&&(r+=(r.includes("?")?"&":"?")+i),delete n.query}return this.getHeader(n.headers,"Content-Type")=="application/json"&&n.body&&typeof n.body!="string"&&(n.body=JSON.stringify(n.body)),(n.fetch||fetch)(r,n).then(async i=>{let s={};try{s=await i.json()}catch{}if(this.afterSend&&(s=await this.afterSend(i,s,n)),i.status>=400)throw new Gt({url:i.url,status:i.status,data:s});return s}).catch(i=>{throw new Gt(i)})}initSendOptions(t,n){if((n=Object.assign({method:"GET"},n)).body=function(i){if(typeof FormData>"u"||i===void 0||typeof i!="object"||i===null||Jo(i)||!tl(i))return i;const s=new FormData;for(const o in i){const a=i[o];if(typeof a!="object"||tl({data:a})){const l=Array.isArray(a)?a:[a];for(let c of l)s.append(o,c)}else{let l={};l[o]=a,s.append("@jsonPayload",JSON.stringify(l))}}return s}(n.body),Go(n),n.query=Object.assign({},n.params,n.query),n.requestKey===void 0&&(n.$autoCancel===!1||n.query.$autoCancel===!1?n.requestKey=null:(n.$cancelKey||n.query.$cancelKey)&&(n.requestKey=n.$cancelKey||n.query.$cancelKey)),delete n.$autoCancel,delete n.query.$autoCancel,delete n.$cancelKey,delete n.query.$cancelKey,this.getHeader(n.headers,"Content-Type")!==null||Jo(n.body)||(n.headers=Object.assign({},n.headers,{"Content-Type":"application/json"})),this.getHeader(n.headers,"Accept-Language")===null&&(n.headers=Object.assign({},n.headers,{"Accept-Language":this.lang})),this.authStore.token&&this.getHeader(n.headers,"Authorization")===null&&(n.headers=Object.assign({},n.headers,{Authorization:this.authStore.token})),this.enableAutoCancellation&&n.requestKey!==null){const r=n.requestKey||(n.method||"GET")+t;delete n.requestKey,this.cancelRequest(r);const i=new AbortController;this.cancelControllers[r]=i,n.signal=i.signal}return n}getHeader(t,n){t=t||{},n=n.toLowerCase();for(let r in t)if(r.toLowerCase()==n)return t[r];return null}}const _r=new nl("https://feedback.wondermakers.dev"),Dt=e=>{const t=_r.collection(e);return new Proxy({},{get:(n,r)=>typeof t[r]=="function"?async(...i)=>{try{return{result:await t[r](...i),error:null}}catch(s){return console.error(s),{result:null,error:s}}}:t[r]})};k.on("auth","logout",()=>_r.authStore.clear());const mn="auth";class v2{constructor(){L(this,Fr,M(null));L(this,Pr,M(null));L(this,Rr,M(!1));L(this,Hr,M(null))}get valid(){return h(d(this,Fr))}set valid(t){x(d(this,Fr),T(t))}get user(){return h(d(this,Pr))}set user(t){x(d(this,Pr),T(t))}get loading(){return h(d(this,Rr))}set loading(t){x(d(this,Rr),T(t))}get error(){return h(d(this,Hr))}set error(t){x(d(this,Hr),T(t))}init(){return k.on("app","initialized",()=>this.check()),B.ok(mn,"initialized"),this}check(){const t=_r.authStore.isValid;return this.valid=t,this.user=_r.authStore.record,k.emit(mn,t?"authenticated":"unauthenticated"),t}async login(t,n){this.loading=!0;const{result:r,error:i}=await Dt("users").authWithPassword(t,n);i?(this.error=Ls(i,{400:"Wrong credentials"}),this.valid=!1,B.error(mn,"Login failed",i),k.emit(mn,"login-failed")):(this.check(),B.ok(mn,"Logged in",r),k.emit(mn,"login-successful")),this.loading=!1}async logout(){this.valid=null,k.emit(mn,"logout")}}Fr=new WeakMap,Pr=new WeakMap,Rr=new WeakMap,Hr=new WeakMap;const rt=new v2,Ie="pages";class m2{constructor(){L(this,Vr,M(T({id:null,url:null,new:null,name:null})));L(this,Dr,M(!0));L(this,jr,M(null));L(this,qr,M(!1))}get current(){return h(d(this,Vr))}set current(t){x(d(this,Vr),T(t))}get loading(){return h(d(this,Dr))}set loading(t){x(d(this,Dr),T(t))}get data(){return h(d(this,jr))}set data(t){x(d(this,jr),T(t))}get subscribed(){return h(d(this,qr))}set subscribed(t){x(d(this,qr),T(t))}async init(){return this.current.url=new URL(window.location.href),this.current.name=this.getCurrentName(),k.on("auth","authenticated",async()=>{!this.subscribed&&await this.getPages()}),B.ok(Ie,"initialized"),this}crud(t,n){switch(t){case"create":this.data.push(n);break;case"update":this.data=this.data.map(r=>r.id===n.id?n:r);break;case"delete":this.data=this.data.filter(r=>r.id!==n.id);break}}subscribe(){var s,o;this.subscribed=!0;const{origin:t}=(s=this==null?void 0:this.current)==null?void 0:s.url,n=[t,...((o=I==null?void 0:I.config)==null?void 0:o.allowedOrigins)||[]],i=`${kt.createOriginFilter(n)} && project = "${I.project.id}"`;Dt("pages").subscribe("*",a=>{B.info(Ie,"Received event",a),this.crud(a.action,a.record),this.checkCurrent()},{filter:i})}unsubscribe(){this.subscribed=!1,B.info(Ie,"Unsubscribing from pages"),Dt("pages").unsubscribe("*")}handleCurrentLink(t){const n=kt.getFubiElement(`[data-page-id="${t}"]`),r=kt.getFubiElement("#fubi-page-switcher");console.log("Pages loaded, should scroll to",n,"id",t),kt.scrollToElement({parent:r,element:n,axis:"x",behavior:"instant"})}checkCurrent(){const{origin:t,pathname:n}=this.current.url,r=this.has(t,n);r?(this.current=r,this.current.new=!1,this.current.url={origin:r.origin,pathname:r.pathname},B.ok(Ie,"Current page is Registered"),k.emit(Ie,"current-is-registered",r)):(B.warn(Ie,"Current page is New"),this.current.new=!0,this.current.id=null,k.emit(Ie,"current-not-registered",r))}getCurrentName(){var r,i;const t=this.current.url;if(!t)return"";const n=t.pathname==="/"?"Homepage":((r=document==null?void 0:document.querySelector('meta[name="page-title"]'))==null?void 0:r.content)||((i=document==null?void 0:document.querySelector('meta[property="og:title"]'))==null?void 0:i.content)||document.title||t.pathname;return this.current.name=n,n}async registerCurrent(){this.loading=!0;const t={project:I.project.id,origin:this.current.url.origin,pathname:this.current.url.pathname,name:this.current.name,created_by:rt.user.id,updated_by:rt.user.id},{result:n,error:r}=await Dt("pages").create(t);if(r){const i=Ls(r,{400:"Failed to create page record."});B.error(i)}else B.ok(Ie,"Page record created:",n),this.current.id=n.id;this.loading=!1}has(t,n){var i;const r=[t,...((i=I==null?void 0:I.config)==null?void 0:i.allowedOrigins)||[]];return this.data.find(s=>r.includes(s.origin)&&s.pathname===n)}async getPages(){var l,c,u;this.loading=!0;const{origin:t,pathname:n}=this.current.url;if(!((l=I==null?void 0:I.project)!=null&&l.id)){const p=`Project <u><b>${(c=I==null?void 0:I.config)==null?void 0:c.project}</b></u> not found.`;B.error(Ie,p),I.error=p,this.loading=!1;return}const r=[t,...((u=I==null?void 0:I.config)==null?void 0:u.allowedOrigins)||[]],s=`${kt.createOriginFilter(r)} && project = "${I.project.id}"`,{result:o,error:a}=await Dt("pages").getFullList({filter:s});if(a){const p=Ls(a,{400:"Failed to load pages"});B.error(p)}else this.data=o,this.checkCurrent(),this.subscribe();this.loading=!1}}Vr=new WeakMap,Dr=new WeakMap,jr=new WeakMap,qr=new WeakMap;const Tt=new m2,b2=new Map([["div","div"],["span","span"],["nav","menu"],["img","image"],["video","video"],["component","component"],["modal","modal"],["form","form"],["input","input"],["section","section"],["aside","aside"],["label","label"],["table","table"],["tr","table Row"],["th","table Header"],["td","table Data"],["svg","vector"],["path","Svg path"],["button","button"],["a","link"],["h1","heading 1"],["h2","heading 2"],["h3","heading 3"],["h4","heading 4"],["h5","heading 5"],["h6","heading 6"],["p","paragraph"],["ul","list"],["ol","numbered list"],["li","list Item"],["footer","footer"],["textarea","textarea"],["select","select"],["option","option"],["optgroup","option group"],["fieldset","fieldset"],["legend","legend"],["details","details"],["summary","summary"],["dialog","dialog"],["canvas","canvas"],["map","map"],["area","area"],["iframe","iframe"],["object","object"],["embed","embed"],["param","param"],["audio","audio"],["track","track"],["source","source"],["picture","picture"],["blockquote","block quote"],["hr","horizontal rule"],["address","address"],["time","time"],["mark","highlighted text"],["abbr","abbreviation"],["abbr","abbreviation"],["cite","citation"],["code","code"],["pre","preformatted text"],["kbd","keyboard input"],["samp","sample output"],["var","variable name"],["sub","subscript"],["sup","superscript"],["b","bold"],["i","italic"],["u","underline"],["s","strikethrough"],["small","small text"],["strong","strong emphasis"],["em","emphasis"],["del","deleted text"],["ins","inserted text"],["q","inline quote"],["cite","citation"],["abbr","abbreviation"],["time","time"],["data","data"],["meter","meter"],["progress","progress"],["output","output"],["progress","progress"],["template","template"],["slot","slot"],["summary","summary"],["details","details"]]),C2="elements";class y2{init(){return k.on("keys","pressed-esc",()=>this.closeAllOpenedElements()),B.ok(C2,"initialized"),this}isIgnored(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const n=t.classList.contains("fubi-ignore"),r=t.closest(".fubi-ignore-all"),i=t.closest(".fubi-ignore-stop");return n||r&&!i}isMeta(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const r=[{id:"fubi-meta-wrapper",name:"Global comment",icon:"globe"},{id:"fubi-meta-url",name:"URL",icon:"a"},{id:"fubi-meta-shareimage",name:"Share image",icon:"page"},{id:"fubi-meta-title",name:"Title",icon:"page"},{id:"fubi-meta-description",name:"Description",icon:"page"},{id:"fubi-meta-touchicon",name:"Touch icon",icon:"page"},{id:"fubi-meta-favicon-dark",name:"Favicon dark",icon:"page"},{id:"fubi-meta-favicon-light",name:"Favicon light",icon:"page"},{id:"fubi-meta-theme",name:"Theme",icon:"page"}].find(i=>t.id===i.id);return r?{...r}:!1}getElementDirection(t){const n=t.boundingClientRect,r=window.innerHeight;return n.bottom<=0?"up":n.top>=r?"down":null}elementInView(t,n){const r=new IntersectionObserver(i=>{const s=i[0],o=s.isIntersecting;let a=null;o||(a=this.getElementDirection(s)),n({inView:o,direction:a})},{threshold:0});return r.observe(t),r}hasDuplicateIds(t){if(!t||t.nodeType!==Node.ELEMENT_NODE||!kt.validatePath(this.getPath(t)))return!1;const r=t.id;return r?document.querySelectorAll(`#${r}`).length>1:!1}isInsideFubi(t){return!t||t.nodeType!==Node.ELEMENT_NODE?!1:t.closest("#fubi-wrapper-outter")!==null}analyzeElement(t){const n=this.getPath(t);return{hasComment:t==null?void 0:t.hasAttribute("data-fubi-comment"),isCommentActive:t==null?void 0:t.classList.contains("fubi-comment-active"),isAllowed:this.isElementAllowed(t),isMeta:this.isMeta(t),isInsideFubi:this.isInsideFubi(t),path:n,isPathValid:kt.validatePath(n),isIgnored:this.isIgnored(t),thread:t==null?void 0:t.getAttribute("data-fubi-comment"),id:t==null?void 0:t.id,hasDuplicateIds:this.hasDuplicateIds(t),tag:this.getTag(t),tagName:this.getTagName(t)}}getTagName(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return null;const n=t==null?void 0:t.getAttribute("data-type-component");return n||b2.get(this.getTag(t))}closeAllOpenedElements(){var n;((n=I==null?void 0:I.container)==null?void 0:n.querySelectorAll("#fubi-pages .opened")).forEach(r=>r.classList.remove("opened"))}getTag(t){return!t||t.nodeType!==Node.ELEMENT_NODE?null:t.hasAttribute("data-type-component")||t.getAttribute("data-type")==="component"?"component":(t.tagName||t.nodeName).toLowerCase()}isElementAllowed(t){const n=I.config.ignore,r=["html","body","head","title","path"],i=["fubi-backdrop","fubi-shadow-host"],s=["fubi-ignore","fubi-ignore-all","fubi-wrapper-outter","fubi-backdrop"];if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const o=this.getTag(t);return!(n.includes(o)||r.includes(o)||i.includes(t.id)||s.some(a=>t.classList.contains(a)))}getClosestAllowedElement(t){let n=t;for(;n;){if(n.classList&&n.classList.contains("fubi-ignore-all"))return null;n=n.parentElement}let r=t;for(;r&&r.nodeType===Node.ELEMENT_NODE;){if(this.isElementAllowed(r))return r;r=r.parentElement}return null}getElement(t){if(!t)return null;const n=t.split(" > ");let r=document;for(const i of n){const[s,...o]=i.split("#"),a=o.join("#"),l=a?`${s}#${a}`:s;if(r=r.querySelector(l),!r)return null}return r}getPath(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return"";const n=[];let r=t;for(;r&&r.nodeType===Node.ELEMENT_NODE;){const s=this.getTag(r);let o=s;if(r.id){o+=`#${r.id}`,n.unshift(o);break}else{let a=1,l=r;for(;l.previousElementSibling;)l=l.previousElementSibling,this.getTag(l)===s&&a++;a>1&&(o+=`:nth-of-type(${a})`)}n.unshift(o),r=r.parentNode}return n.join(" > ")}}const Kt=new y2,xr="isolation";class _2{constructor(){L(this,Ur,M(!1));L(this,Br,M(null));L(this,Nr,M(null))}get active(){return h(d(this,Ur))}set active(t){x(d(this,Ur),T(t))}get current(){return h(d(this,Br))}set current(t){x(d(this,Br),T(t))}get content(){return h(d(this,Nr))}set content(t){x(d(this,Nr),T(t))}init(){return this.content=document==null?void 0:document.querySelector(I.config.content||"body"),k.on("card","clicked",t=>{const{el:n}=kt.getThread(t);this.isolate(n)}),k.on("comments","url-param",({el:t})=>{this.isolate(t)}),k.on("events","click",t=>{rt.user&&this.handleClick(t)}),k.on("keys","pressed-esc",()=>this.current&&this.reset()),B.ok(xr,"initialized"),this}isolate(t){this.current=t;const n=Kt.analyzeElement(t);t&&(t.classList.add("fubi-isolated"),kt.scrollIntoView(t)),this.active=!0,k.emit(xr,"isolated",{el:t,info:n})}reset(){kt.enableScroll();const t=this.current;t&&t.classList.remove("fubi-isolated"),this.active=!1,this.current=null,k.emit(xr,"reset")}handleClick(t){const n=t.target,r=Kt.analyzeElement(n);let i=!0,s="";if(X.active){t.preventDefault(),this.reset();return}if(r.isIgnored&&(s="Element is ignored"),!r.isAllowed&&!r.isMeta&&(s="Element is not allowed"),r.isPathValid||(s="Element path is not valid"),r.hasDuplicateIds&&(s="Element does not have unique ID:"),r.isInsideFubi&&(s="Element is inside Fubi",i=!1),s){B.warn(xr,s);return}t&&i&&t.preventDefault(),k.emit(xr,"clicked",{el:n,info:r}),this.isolate(n)}}Ur=new WeakMap,Br=new WeakMap,Nr=new WeakMap;const X=new _2,Lt="comments";let rl=new vn("fubi-mine-opened",!0),il=new vn("fubi-other-opened",!0),sl=new vn("fubi-done-opened",!1),x2=(Ql=class{constructor(){L(this,zr,M(!1));L(this,Zr,M(null));L(this,Wr,M(null));L(this,Js,H(()=>{if(!this.currentId)return null;const t=this.threads.find(n=>n.id===this.currentId);return t?{...t}:null}));L(this,Gr,M(T([])));L(this,Kr,M(T([])));L(this,Yr,M(null));L(this,Xs,H(()=>this.data.filter(t=>t.type==="thread").map(this.addUnreadCount.bind(this)).map(this.addParticipants.bind(this)).sort(kt.sortDesc)));L(this,Qs,H(()=>this.threads.filter(t=>t.status==="todo")));L(this,to,H(()=>this.todo.filter(t=>t.created_by===rt.user.id)));L(this,eo,H(()=>this.todo.filter(t=>t.created_by!==rt.user.id)));L(this,no,H(()=>this.threads.filter(t=>t.status==="done")));L(this,ro,H(()=>this.data.filter(t=>{var n;return t.parent===((n=this==null?void 0:this.current)==null?void 0:n.id)}).sort(kt.sortAsc)));L(this,Jr,M(!1))}get loading(){return h(d(this,zr))}set loading(t){x(d(this,zr),T(t))}get error(){return h(d(this,Zr))}set error(t){x(d(this,Zr),T(t))}get urlParam(){return h(d(this,Wr))}set urlParam(t){x(d(this,Wr),T(t))}get current(){return h(d(this,Js))}get data(){return h(d(this,Gr))}set data(t){x(d(this,Gr),T(t))}get read(){return h(d(this,Kr))}set read(t){x(d(this,Kr),T(t))}get currentId(){return h(d(this,Yr))}set currentId(t){x(d(this,Yr),T(t))}get threads(){return h(d(this,Xs))}get todo(){return h(d(this,Qs))}get mine(){return h(d(this,to))}get other(){return h(d(this,eo))}get done(){return h(d(this,no))}get comments(){return h(d(this,ro))}get subscribed(){return h(d(this,Jr))}set subscribed(t){x(d(this,Jr),T(t))}get mineOpened(){return rl.current}set mineOpened(t){rl.current=t}get otherOpened(){return il.current}set otherOpened(t){il.current=t}get doneOpened(){return sl.current}set doneOpened(t){sl.current=t}init(){return k.on("isolation","reset",t=>this.reset()),k.on("check","clicked",t=>{this.setStatus(t,t.status==="done"?"todo":"done")}),k.on("card","clicked",t=>{const n=this.findThread({selector:t});n.id&&this.open(n)}),k.on("isolation","clicked",({el:t,info:n})=>{n.hasComment&&n.thread&&this.findThread({id:n.thread})&&this.open({id:n.thread})}),k.on("pages","current-is-registered",()=>{this.getReadThreads(),this.get(),this.subscribe()}),k.on("pages","current-not-registered",()=>{this.reset(),this.unsubscribe()}),k.on("navigation","goto",t=>{t==="comments"&&this.focusInput()}),k.on("comments","created",async t=>{X.active&&this.currentId===null&&this.setCurrent(t.id)}),B.ok(Lt,"initialized"),this}checkForParam(){const n=new URLSearchParams(location.search).get("fubi");if(!n)return;const r=this.findThread({id:n});if(!r){B.error(Lt,"Comment ID from URL not found"),this.urlParam=!1,kt.removeUrlParam("fubi");return}const i=document.querySelector(r.selector);this.urlParam=n,this.open({id:n}),k.emit(Lt,"url-param",{id:n,el:i})}subscribe(){this.subscribed=!0,B.info(Lt,"Subscribing to comments"),Dt("comments").subscribe("*",t=>{this.crud(t.action,t.record),this.populate()},{filter:`page = "${Tt.current.id}"`,expand:"created_by"})}unsubscribe(){this.subscribed=!1,B.info(Lt,"Unsubscribing from comments"),Dt("comments").unsubscribe("*")}reset(){this.currentId=null}findThread({el:t=null,id:n=null,selector:r=null}){if(!t&&!n&&!r){console.error("No element, id or selector provided");return}const i=this.threads.find(s=>!!(t&&s.selector===t.getAttribute("data-fubi-comment")||n&&s.id===n||r&&s.selector===r));return{...i,selector:(i==null?void 0:i.selector)||r,id:(i==null?void 0:i.id)||n,el:(i==null?void 0:i.el)||t}}open(t){this.currentId=t.id,this.markReadThread(),k.emit(Lt,"opened",t)}async setCurrent(t){const n=await this.getFromArray(t,this.threads);if(!n){B.error(Lt,"Item not found in threads:",t);return}n.unread=!1,this.currentId=n.id,await this.updateThread(this.current)}addUnreadCount(t){if(t.updated_by===rt.user.id)return{...t,unread:!1};const n=this.read.find(o=>o.thread===t.id);if(!n)return{...t,unread:!0};if(this.currentId===t.id)return{...t,unread:!1};const r=n?new Date(n.lastVisit).getTime():0,s=new Date(t.updated).getTime()>r;return{...t,unread:s}}addParticipants(t){var a;const n=this.data.filter(l=>{var c;return l.type==="comment"&&l.parent===t.id&&((c=l.expand)==null?void 0:c.created_by)}),r=t.created_by,i=[],s=new Set([r]);return(a=t.expand)!=null&&a.created_by&&i.push(t.expand.created_by),[...n].sort(kt.sortAsc).forEach(l=>{const c=l.expand.created_by.id;s.has(c)||(s.add(c),i.push(l.expand.created_by))}),{...t,participants:i}}async getFromArray(t,n){const r=await n.find(i=>i.id===t);return r||(B.error(Lt,"Item not found in array:",t),null)}async updateThread(t){var i;const{result:n,error:r}=await Dt("comments").update(t.id,{...t,updated_by:(i=rt==null?void 0:rt.user)==null?void 0:i.id});if(r){this.error=r;return}B.info(Lt,"Updated thread:",n)}async setStatus(t,n){var o;const{result:r,error:i}=await Dt("comments").update(t.id,{...t,status:n,updated_by:rt.user.id}),s=n==="done"?"marked as done":"marked as todo";if(await this.add(s,"status",t==null?void 0:t.id,{status:n}),i){this.error=i;return}((o=this.current)==null?void 0:o.id)===t.id&&(this.current.status=n),this.populate(),B.info(Lt,"Set status:",n,"to comment:",t)}async add(t,n="thread",r=null,i=null){var l,c,u;const s={page:Tt.current.id,parent:r||((l=this==null?void 0:this.current)==null?void 0:l.id)||null,info:{resolution:(c=I==null?void 0:I.meta)==null?void 0:c.resolution,browser:(u=I==null?void 0:I.meta)==null?void 0:u.browser,...i},text:t,type:n,status:"todo",selector:Kt.getPath(X.current),tag:Kt.getTag(X.current),created_by:rt.user.id,update_by:rt.user.id},{result:o,error:a}=await Dt("comments").create(s);a?B.error(Lt,"Error adding comment:",a):k.emit(Lt,"created",o)}async markReadThread(){if(!this.current||this.current.type!=="thread")return;const t=this.current.id,n=this.read.find(r=>r.thread===t);try{n?await Dt("thread_views").update(n.id,{lastVisit:new Date().toISOString()}):await Dt("thread_views").create({user:rt.user.id,thread:t,lastVisit:new Date().toISOString()}),B.info(Lt,"Thread marked as read:",t),this.getReadThreads()}catch(r){console.error("Error marking thread as read:",r)}}focusInput(){var n,r;const t=document.querySelector("#fubi-comment-textarea")||((n=I==null?void 0:I.main)==null?void 0:n.querySelector("#fubi-comment-textarea"))||((r=I==null?void 0:I.container)==null?void 0:r.querySelector("#fubi-comment-textarea"));if(!t){B.error(Lt,"Input not found, selector:",t);return}t.focus()}async handleSendMessage(t){Tt.current.new&&await Tt.registerCurrent(),await this.add(t,this.current?"comment":"thread")}async get(){this.loading=!0,this.error=null;const{result:t,error:n}=await Dt("comments").getFullList({filter:`page = "${Tt.current.id}"`,expand:"created_by",requestKey:"comments"});if(n){this.error=n;return}this.data=t,this.populate(),this.loading=!1,B.ok(Lt,"Threads for page:",this.threads)}async getReadThreads(){this.loading=!0,this.error=null;const{result:t,error:n}=await Dt("thread_views").getFullList({filter:`user = "${rt.user.id}"`,requestKey:"thread_views"});if(n){this.error=n;return}this.read=t,this.loading=!1}populate(){var n;B.info(Lt,"Populating comments"),document.querySelectorAll("[data-fubi-comment]").forEach(r=>r.removeAttribute("data-fubi-comment")),(n=this==null?void 0:this.threads)==null||n.forEach(r=>{if(!(r!=null&&r.selector)){const s=`Comment <b>${r.id}</b> <br/>is a Thread but has no selector`;B.error(Lt,s),I.error=s;return}if(!kt.validatePath(r==null?void 0:r.selector)){B.error(Lt,`Invalid path for comment ${r==null?void 0:r.id}: ${r==null?void 0:r.selector}`),this.data=this.data.map(s=>s.id===r.id?{...s,invalid:!0}:s);return}const i=document==null?void 0:document.querySelector(r==null?void 0:r.selector);!i||i.nodeType!==Node.ELEMENT_NODE?(B.warn(Lt,`Element not found for comment ${r==null?void 0:r.id}: ${r==null?void 0:r.selector}`),this.data=this.data.map(s=>s.id===r.id?{...s,invalid:!0}:s)):(i.setAttribute("data-fubi-comment",r.id),i.classList[r.status==="done"?"remove":"add"]("fubi-comment-active"),r.status)}),!this.urlParam&&!X.active&&this.checkForParam(),k.emit(Lt,"populated")}crud(t,n){switch(t){case"create":this.data.push(n);break;case"update":this.data=this.data.map(r=>r.id===n.id?n:r);break;case"delete":this.data=this.data.filter(r=>r.id!==n.id);break}}},zr=new WeakMap,Zr=new WeakMap,Wr=new WeakMap,Js=new WeakMap,Gr=new WeakMap,Kr=new WeakMap,Yr=new WeakMap,Xs=new WeakMap,Qs=new WeakMap,to=new WeakMap,eo=new WeakMap,no=new WeakMap,ro=new WeakMap,Jr=new WeakMap,Ql);const R=new x2;function k2(e){x(e,e.v+1)}function E2(e){let t=0,n=_t(0),r;return()=>{o1()&&(h(n),Be(()=>(t===0&&(r=ee(()=>e(()=>k2(n)))),t+=1,()=>{Oo().then(()=>{t-=1,t===0&&(r==null||r(),r=void 0)})})))}}function Ts(e){return Object.prototype.toString.call(e)==="[object Date]"}function Xo(e,t,n,r){if(typeof n=="number"||Ts(n)){const i=r-n,s=(n-t)/(e.dt||1/60),o=e.opts.stiffness*i,a=e.opts.damping*s,l=(o-a)*e.inv_mass,c=(s+l)*e.dt;return Math.abs(c)<e.opts.precision&&Math.abs(i)<e.opts.precision?r:(e.settled=!1,Ts(n)?new Date(n.getTime()+c):n+c)}else{if(Array.isArray(n))return n.map((i,s)=>Xo(e,t[s],n[s],r[s]));if(typeof n=="object"){const i={};for(const s in n)i[s]=Xo(e,t[s],n[s],r[s]);return i}else throw new Error(`Cannot spring ${typeof n} values`)}}const $a=class $a{constructor(t,n={}){L(this,io);L(this,xn,_t(.15));L(this,kn,_t(.8));L(this,En,_t(.01));L(this,ie,_t(void 0));L(this,sn,_t(void 0));L(this,Sn);L(this,tr,0);L(this,Ln,1);L(this,Xr,0);L(this,Fe,null);L(this,er,null);d(this,ie).v=d(this,sn).v=t,typeof n.stiffness=="number"&&(d(this,xn).v=Ms(n.stiffness,0,1)),typeof n.damping=="number"&&(d(this,kn).v=Ms(n.damping,0,1)),typeof n.precision=="number"&&(d(this,En).v=n.precision)}static of(t,n){const r=new $a(t(),n);return Be(()=>{r.set(t())}),r}set(t,n){var i,s;if((i=d(this,er))==null||i.reject(new Error("Aborted")),n!=null&&n.instant||d(this,ie).v===void 0)return(s=d(this,Fe))==null||s.abort(),ht(this,Fe,null),x(d(this,ie),x(d(this,sn),t)),ht(this,Sn,t),Promise.resolve();n!=null&&n.preserveMomentum&&(ht(this,Ln,0),ht(this,Xr,n.preserveMomentum));var r=ht(this,er,Vc());return r.promise.catch(Oe),Pt(this,io,pc).call(this,t).then(()=>{r===d(this,er)&&r.resolve(void 0)}),r.promise}get current(){return h(d(this,ie))}get damping(){return h(d(this,kn))}set damping(t){x(d(this,kn),Ms(t,0,1))}get precision(){return h(d(this,En))}set precision(t){x(d(this,En),t)}get stiffness(){return h(d(this,xn))}set stiffness(t){x(d(this,xn),Ms(t,0,1))}get target(){return h(d(this,sn))}set target(t){this.set(t)}};xn=new WeakMap,kn=new WeakMap,En=new WeakMap,ie=new WeakMap,sn=new WeakMap,Sn=new WeakMap,tr=new WeakMap,Ln=new WeakMap,Xr=new WeakMap,Fe=new WeakMap,er=new WeakMap,io=new WeakSet,pc=function(t){var r;if(x(d(this,sn),t),(r=d(this,ie)).v??(r.v=t),d(this,Sn)??ht(this,Sn,d(this,ie).v),!d(this,Fe)){ht(this,tr,ae.now());var n=1e3/(d(this,Xr)*60);d(this,Fe)??ht(this,Fe,Ro(i=>{ht(this,Ln,Math.min(d(this,Ln)+n,1));const s=Math.min(i-d(this,tr),1e3/30),o={inv_mass:d(this,Ln),opts:{stiffness:d(this,xn).v,damping:d(this,kn).v,precision:d(this,En).v},settled:!0,dt:s*60/1e3};var a=Xo(o,d(this,Sn),d(this,ie).v,d(this,sn).v);return ht(this,Sn,d(this,ie).v),ht(this,tr,i),x(d(this,ie),a),o.settled&&ht(this,Fe,null),!o.settled}))}return d(this,Fe).promise};let As=$a;function Ms(e,t,n){return Math.max(t,Math.min(n,e))}function S2(e){return e}function ol(e){const t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)}function Qo(e){return--e*e*(2.70158*e+1.70158)+1}function kr(e){const t=e-1;return t*t*t+1}function L2(e){return e===1?e:1-Math.pow(2,-10*e)}function Is(e){return e/=.5,e<1?.5*e*e:(e--,-.5*(e*(e-2)-1))}function O2(e){return--e*e*e*e*e+1}function ta(e,t){if(e===t||e!==e)return()=>e;const n=typeof e;if(n!==typeof t||Array.isArray(e)!==Array.isArray(t))throw new Error("Cannot interpolate values of different type");if(Array.isArray(e)){const r=t.map((i,s)=>ta(e[s],i));return i=>r.map(s=>s(i))}if(n==="object"){if(!e||!t)throw new Error("Object cannot be null");if(Ts(e)&&Ts(t)){const s=e.getTime(),a=t.getTime()-s;return l=>new Date(s+l*a)}const r=Object.keys(t),i={};return r.forEach(s=>{i[s]=ta(e[s],t[s])}),s=>{const o={};return r.forEach(a=>{o[a]=i[a](s)}),o}}if(n==="number"){const r=t-e;return i=>e+i*r}return()=>t}const Ta=class Ta{constructor(t,n={}){L(this,Pe,_t(void 0));L(this,nr,_t(void 0));L(this,Qr);L(this,On,null);d(this,Pe).v=d(this,nr).v=t,ht(this,Qr,n)}static of(t,n){const r=new Ta(t(),n);return Be(()=>{r.set(t())}),r}set(t,n){var p;x(d(this,nr),t);let{delay:r=0,duration:i=400,easing:s=S2,interpolate:o=ta}={...d(this,Qr),...n};if(i===0)return(p=d(this,On))==null||p.abort(),x(d(this,Pe),t),Promise.resolve();const a=ae.now()+r;let l,c=!1,u=d(this,On);return ht(this,On,Ro(f=>{if(f<a)return!0;if(!c){c=!0;const g=d(this,Pe).v;l=o(g,t),typeof i=="function"&&(i=i(g,t)),u==null||u.abort()}const w=f-a;return w>i?(x(d(this,Pe),t),!1):(x(d(this,Pe),l(s(w/i))),!0)})),d(this,On).promise}get current(){return h(d(this,Pe))}get target(){return h(d(this,nr))}set target(t){this.set(t)}};Pe=new WeakMap,nr=new WeakMap,Qr=new WeakMap,On=new WeakMap;let ea=Ta;const $2="cursor",Fs=16;let T2=(tc=class{constructor(){L(this,ti,M(!1));L(this,ei,M(!1));St(this,"outside",!1);St(this,"scrolling",!1);L(this,ni,M("default"));L(this,ri,M(""));L(this,ii,M(""));L(this,si,M("default"));L(this,oi,M("right"));L(this,ai,M(0));L(this,li,M(0));L(this,ci,M(!1));St(this,"pos",new As({x:0,y:0},{stiffness:.1,damping:.4}))}get enabled(){return h(d(this,ti))}set enabled(t){x(d(this,ti),T(t))}get visible(){return h(d(this,ei))}set visible(t){x(d(this,ei),T(t))}get icon(){return h(d(this,ni))}set icon(t){x(d(this,ni),T(t))}get title(){return h(d(this,ri))}set title(t){x(d(this,ri),T(t))}get text(){return h(d(this,ii))}set text(t){x(d(this,ii),T(t))}get mode(){return h(d(this,si))}set mode(t){x(d(this,si),T(t))}get align(){return h(d(this,oi))}set align(t){x(d(this,oi),T(t))}get width(){return h(d(this,ai))}set width(t){x(d(this,ai),T(t))}get height(){return h(d(this,li))}set height(t){x(d(this,li),T(t))}get inside(){return h(d(this,ci))}set inside(t){x(d(this,ci),T(t))}init(){return k.on("auth","authenticated",()=>{this.enable()}),k.on("app-component","mouseenter",()=>{this.inside=!0,this.hide()}),k.on("thread-list","mouseleave",()=>this.hide()),k.on("app-component","mouseleave",()=>{rt.user&&this.enabled&&I.opened&&(this.inside=!1)}),k.on("isolation","isolated",()=>{this.enabled&&this.set({icon:"back",title:"Click to leave",mode:"info"})}),k.on("isolation","reset",()=>{this.reset()}),k.on("auth","logout",()=>{this.disable()}),k.on("app","closed",()=>{this.disable()}),k.on("app","opened",()=>{rt.user&&this.enable()}),k.on("events","mousemove",t=>{this.outside&&(this.outside=!1),this.scrolling&&(this.scrolling=!1),this.enabled&&(this.move(t.clientX,t.clientY,!this.visible),X.active&&!this.visible&&this.show())}),k.on("events","mouseout",t=>{t.toElement===null&&this.enabled&&(this.outside=!0,this.hide())}),k.on("events","scrollstart",()=>{this.enabled&&!X.active&&(this.scrolling=!0,this.reset())}),k.on("hover","hover",({cursor:t})=>{this.enabled&&this.set(t)}),k.on("keys","pressed-option",()=>{this.enabled&&!X.active&&this.hide()}),k.on("keys","released-option",()=>{this.enabled&&!X.active&&this.hide()}),B.ok($2,"initialized"),this}disable(){this.enabled=!1,this.hide()}enable(){this.enabled=!0}hide(){this.visible=!1}show(){this.visible=!0}reset(){this.set({icon:"default",title:"",text:null,mode:"default",align:"right",width:0,height:0,visible:!1}),this.resetNativeCursor()}resetNativeCursor(){this.setNativeCursor("auto")}setNativeCursor(t){document.documentElement.style.setProperty("--fubi-cursor",t)}set(t){"icon"in t&&(this.icon=t.icon),"title"in t&&(this.title=t.title),"text"in t&&(this.text=t.text),"mode"in t&&(this.mode=t.mode),"align"in t&&(this.align=t.align),"width"in t&&(this.width=t.width),"height"in t&&(this.height=t.height),"visible"in t&&(t.visible?this.show():this.hide()),"native"in t&&this.setNativeCursor(t.native)}move(t,n,r=!1){const i=window.innerWidth-(this.width+Fs),s=window.innerHeight-(this.height+Fs);this.pos.set({x:Math.min(t+Fs,i),y:Math.min(n+Fs,s)},{instant:r})}getCursorInfo(t){let n=!this.inside,r="plus",i="Add comment",s=null,o=null,a="default";const l=[{condition:()=>!t.isPathValid,icon:"error",title:"Invalid selector",text:t.path,mode:"error"},{condition:()=>t.hasDuplicateIds,icon:"error",title:"Duplicate IDs",mode:"error",native:"not-allowed"},{condition:()=>t.isMeta&&t.id==="fubi-meta-wrapper",title:"Add Global comment"},{condition:()=>!t.isAllowed&&!t.isMeta,icon:"not-allowed",title:"",mode:"not-allowed",visible:!1,native:"not-allowed"},{condition:()=>X.active,icon:"back",title:"Click to leave",mode:"info"},{condition:()=>t.hasComment&&!t.isCommentActive,icon:"checked",title:"Comment is done",mode:"done"},{condition:()=>t.hasComment&&t.isCommentActive,icon:"comment",title:"Open comment",mode:"thread"}];for(const c of l)if(c.condition()){r=c.icon??r,i=c.title??i,o=c.mode??o,n=c.visible??n,a=c.native??a;break}return{icon:r,title:i,text:s,mode:o,visible:n,native:a}}},ti=new WeakMap,ei=new WeakMap,ni=new WeakMap,ri=new WeakMap,ii=new WeakMap,si=new WeakMap,oi=new WeakMap,ai=new WeakMap,li=new WeakMap,ci=new WeakMap,tc);const Er=new T2,Ke=Math.min,Yt=Math.max,Ps=Math.round,Rs=Math.floor,be=e=>({x:e,y:e}),A2={left:"right",right:"left",bottom:"top",top:"bottom"},M2={start:"end",end:"start"};function na(e,t,n){return Yt(e,Ke(t,n))}function Zn(e,t){return typeof e=="function"?e(t):e}function Ye(e){return e.split("-")[0]}function Wn(e){return e.split("-")[1]}function al(e){return e==="x"?"y":"x"}function ra(e){return e==="y"?"height":"width"}function Je(e){return["top","bottom"].includes(Ye(e))?"y":"x"}function ia(e){return al(Je(e))}function I2(e,t,n){n===void 0&&(n=!1);const r=Wn(e),i=ia(e),s=ra(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Hs(o)),[o,Hs(o)]}function F2(e){const t=Hs(e);return[sa(e),t,sa(t)]}function sa(e){return e.replace(/start|end/g,t=>M2[t])}function P2(e,t,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?s:o;default:return[]}}function R2(e,t,n,r){const i=Wn(e);let s=P2(Ye(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(sa)))),s}function Hs(e){return e.replace(/left|right|bottom|top/g,t=>A2[t])}function H2(e){return{top:0,right:0,bottom:0,left:0,...e}}function ll(e){return typeof e!="number"?H2(e):{top:e,right:e,bottom:e,left:e}}function Vs(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function cl(e,t,n){let{reference:r,floating:i}=e;const s=Je(t),o=ia(t),a=ra(o),l=Ye(t),c=s==="y",u=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,f=r[a]/2-i[a]/2;let w;switch(l){case"top":w={x:u,y:r.y-i.height};break;case"bottom":w={x:u,y:r.y+r.height};break;case"right":w={x:r.x+r.width,y:p};break;case"left":w={x:r.x-i.width,y:p};break;default:w={x:r.x,y:r.y}}switch(Wn(t)){case"start":w[o]-=f*(n&&c?-1:1);break;case"end":w[o]+=f*(n&&c?-1:1);break}return w}const V2=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:p}=cl(c,r,l),f=r,w={},g=0;for(let m=0;m<a.length;m++){const{name:C,fn:_}=a[m],{x:b,y:v,data:S,reset:O}=await _({x:u,y:p,initialPlacement:r,placement:f,strategy:i,middlewareData:w,rects:c,platform:o,elements:{reference:e,floating:t}});u=b??u,p=v??p,w={...w,[C]:{...w[C],...S}},O&&g<=50&&(g++,typeof O=="object"&&(O.placement&&(f=O.placement),O.rects&&(c=O.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):O.rects),{x:u,y:p}=cl(c,f,l)),m=-1)}return{x:u,y:p,placement:f,strategy:i,middlewareData:w}};async function oa(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:f=!1,padding:w=0}=Zn(t,e),g=ll(w),C=a[f?p==="floating"?"reference":"floating":p],_=Vs(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(C)))==null||n?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),b=p==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},O=Vs(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:v,strategy:l}):b);return{top:(_.top-O.top+g.top)/S.y,bottom:(O.bottom-_.bottom+g.bottom)/S.y,left:(_.left-O.left+g.left)/S.x,right:(O.right-_.right+g.right)/S.x}}const D2=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Zn(e,t)||{};if(c==null)return{};const p=ll(u),f={x:n,y:r},w=ia(i),g=ra(w),m=await o.getDimensions(c),C=w==="y",_=C?"top":"left",b=C?"bottom":"right",v=C?"clientHeight":"clientWidth",S=s.reference[g]+s.reference[w]-f[w]-s.floating[g],O=f[w]-s.reference[w],F=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let P=F?F[v]:0;(!P||!await(o.isElement==null?void 0:o.isElement(F)))&&(P=a.floating[v]||s.floating[g]);const D=S/2-O/2,K=P/2-m[g]/2-1,Z=Ke(p[_],K),Q=Ke(p[b],K),J=Z,Ot=P-m[g]-Q,ct=P/2-m[g]/2+D,gt=na(J,ct,Ot),At=!l.arrow&&Wn(i)!=null&&ct!==gt&&s.reference[g]/2-(ct<J?Z:Q)-m[g]/2<0,$t=At?ct<J?ct-J:ct-Ot:0;return{[w]:f[w]+$t,data:{[w]:gt,centerOffset:ct-gt-$t,...At&&{alignmentOffset:$t}},reset:At}}}),j2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...C}=Zn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const _=Ye(i),b=Je(a),v=Ye(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),O=f||(v||!m?[Hs(a)]:F2(a)),F=g!=="none";!f&&F&&O.push(...R2(a,m,g,S));const P=[a,...O],D=await oa(t,C),K=[];let Z=((r=s.flip)==null?void 0:r.overflows)||[];if(u&&K.push(D[_]),p){const gt=I2(i,o,S);K.push(D[gt[0]],D[gt[1]])}if(Z=[...Z,{placement:i,overflows:K}],!K.every(gt=>gt<=0)){var Q,J;const gt=(((Q=s.flip)==null?void 0:Q.index)||0)+1,At=P[gt];if(At){var Ot;const It=p==="alignment"?b!==Je(At):!1,Mt=((Ot=Z[0])==null?void 0:Ot.overflows[0])>0;if(!It||Mt)return{data:{index:gt,overflows:Z},reset:{placement:At}}}let $t=(J=Z.filter(It=>It.overflows[0]<=0).sort((It,Mt)=>It.overflows[1]-Mt.overflows[1])[0])==null?void 0:J.placement;if(!$t)switch(w){case"bestFit":{var ct;const It=(ct=Z.filter(Mt=>{if(F){const jt=Je(Mt.placement);return jt===b||jt==="y"}return!0}).map(Mt=>[Mt.placement,Mt.overflows.filter(jt=>jt>0).reduce((jt,cr)=>jt+cr,0)]).sort((Mt,jt)=>Mt[1]-jt[1])[0])==null?void 0:ct[0];It&&($t=It);break}case"initialPlacement":$t=a;break}if(i!==$t)return{reset:{placement:$t}}}return{}}}};async function q2(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Ye(n),a=Wn(n),l=Je(n)==="y",c=["left","top"].includes(o)?-1:1,u=s&&l?-1:1,p=Zn(t,e);let{mainAxis:f,crossAxis:w,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&typeof g=="number"&&(w=a==="end"?g*-1:g),l?{x:w*u,y:f*c}:{x:f*c,y:w*u}}const U2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await q2(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},B2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:C=>{let{x:_,y:b}=C;return{x:_,y:b}}},...l}=Zn(e,t),c={x:n,y:r},u=await oa(t,l),p=Je(Ye(i)),f=al(p);let w=c[f],g=c[p];if(s){const C=f==="y"?"top":"left",_=f==="y"?"bottom":"right",b=w+u[C],v=w-u[_];w=na(b,w,v)}if(o){const C=p==="y"?"top":"left",_=p==="y"?"bottom":"right",b=g+u[C],v=g-u[_];g=na(b,g,v)}const m=a.fn({...t,[f]:w,[p]:g});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:s,[p]:o}}}}}},N2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...c}=Zn(e,t),u=await oa(t,c),p=Ye(i),f=Wn(i),w=Je(i)==="y",{width:g,height:m}=s.floating;let C,_;p==="top"||p==="bottom"?(C=p,_=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(_=p,C=f==="end"?"top":"bottom");const b=m-u.top-u.bottom,v=g-u.left-u.right,S=Ke(m-u[C],b),O=Ke(g-u[_],v),F=!t.middlewareData.shift;let P=S,D=O;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=b),F&&!f){const Z=Yt(u.left,0),Q=Yt(u.right,0),J=Yt(u.top,0),Ot=Yt(u.bottom,0);w?D=g-2*(Z!==0||Q!==0?Z+Q:Yt(u.left,u.right)):P=m-2*(J!==0||Ot!==0?J+Ot:Yt(u.top,u.bottom))}await l({...t,availableWidth:D,availableHeight:P});const K=await o.getDimensions(a.floating);return g!==K.width||m!==K.height?{reset:{rects:!0}}:{}}}};function Ds(){return typeof window<"u"}function Gn(e){return ul(e)?(e.nodeName||"").toLowerCase():"#document"}function Jt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ce(e){var t;return(t=(ul(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ul(e){return Ds()?e instanceof Node||e instanceof Jt(e).Node:!1}function le(e){return Ds()?e instanceof Element||e instanceof Jt(e).Element:!1}function ye(e){return Ds()?e instanceof HTMLElement||e instanceof Jt(e).HTMLElement:!1}function dl(e){return!Ds()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Jt(e).ShadowRoot}function Sr(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ce(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function z2(e){return["table","td","th"].includes(Gn(e))}function js(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function aa(e){const t=la(),n=le(e)?ce(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Z2(e){let t=Xe(e);for(;ye(t)&&!Kn(t);){if(aa(t))return t;if(js(t))return null;t=Xe(t)}return null}function la(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Kn(e){return["html","body","#document"].includes(Gn(e))}function ce(e){return Jt(e).getComputedStyle(e)}function qs(e){return le(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Xe(e){if(Gn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||dl(e)&&e.host||Ce(e);return dl(t)?t.host:t}function fl(e){const t=Xe(e);return Kn(t)?e.ownerDocument?e.ownerDocument.body:e.body:ye(t)&&Sr(t)?t:fl(t)}function Lr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=fl(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=Jt(i);if(s){const a=ca(o);return t.concat(o,o.visualViewport||[],Sr(i)?i:[],a&&n?Lr(a):[])}return t.concat(i,Lr(i,[],n))}function ca(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function hl(e){const t=ce(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ye(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Ps(n)!==s||Ps(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function ua(e){return le(e)?e:e.contextElement}function Yn(e){const t=ua(e);if(!ye(t))return be(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=hl(t);let o=(s?Ps(n.width):n.width)/r,a=(s?Ps(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const W2=be(0);function pl(e){const t=Jt(e);return!la()||!t.visualViewport?W2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function G2(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Jt(e)?!1:t}function bn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=ua(e);let o=be(1);t&&(r?le(r)&&(o=Yn(r)):o=Yn(e));const a=G2(s,n,r)?pl(s):be(0);let l=(i.left+a.x)/o.x,c=(i.top+a.y)/o.y,u=i.width/o.x,p=i.height/o.y;if(s){const f=Jt(s),w=r&&le(r)?Jt(r):r;let g=f,m=ca(g);for(;m&&r&&w!==g;){const C=Yn(m),_=m.getBoundingClientRect(),b=ce(m),v=_.left+(m.clientLeft+parseFloat(b.paddingLeft))*C.x,S=_.top+(m.clientTop+parseFloat(b.paddingTop))*C.y;l*=C.x,c*=C.y,u*=C.x,p*=C.y,l+=v,c+=S,g=Jt(m),m=ca(g)}}return Vs({width:u,height:p,x:l,y:c})}function da(e,t){const n=qs(e).scrollLeft;return t?t.left+n:bn(Ce(e)).left+n}function wl(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:da(e,r)),s=r.top+t.scrollTop;return{x:i,y:s}}function K2(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=Ce(r),a=t?js(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},c=be(1);const u=be(0),p=ye(r);if((p||!p&&!s)&&((Gn(r)!=="body"||Sr(o))&&(l=qs(r)),ye(r))){const w=bn(r);c=Yn(r),u.x=w.x+r.clientLeft,u.y=w.y+r.clientTop}const f=o&&!p&&!s?wl(o,l,!0):be(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}}function Y2(e){return Array.from(e.getClientRects())}function J2(e){const t=Ce(e),n=qs(e),r=e.ownerDocument.body,i=Yt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Yt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+da(e);const a=-n.scrollTop;return ce(r).direction==="rtl"&&(o+=Yt(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function X2(e,t){const n=Jt(e),r=Ce(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const c=la();(!c||c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}function Q2(e,t){const n=bn(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=ye(e)?Yn(e):be(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,c=r*s.y;return{width:o,height:a,x:l,y:c}}function gl(e,t,n){let r;if(t==="viewport")r=X2(e,n);else if(t==="document")r=J2(Ce(e));else if(le(t))r=Q2(t,n);else{const i=pl(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Vs(r)}function vl(e,t){const n=Xe(e);return n===t||!le(n)||Kn(n)?!1:ce(n).position==="fixed"||vl(n,t)}function t5(e,t){const n=t.get(e);if(n)return n;let r=Lr(e,[],!1).filter(a=>le(a)&&Gn(a)!=="body"),i=null;const s=ce(e).position==="fixed";let o=s?Xe(e):e;for(;le(o)&&!Kn(o);){const a=ce(o),l=aa(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Sr(o)&&!l&&vl(e,o))?r=r.filter(u=>u!==o):i=a,o=Xe(o)}return t.set(e,r),r}function e5(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?js(t)?[]:t5(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((c,u)=>{const p=gl(t,u,i);return c.top=Yt(p.top,c.top),c.right=Ke(p.right,c.right),c.bottom=Ke(p.bottom,c.bottom),c.left=Yt(p.left,c.left),c},gl(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function n5(e){const{width:t,height:n}=hl(e);return{width:t,height:n}}function r5(e,t,n){const r=ye(t),i=Ce(t),s=n==="fixed",o=bn(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=be(0);function c(){l.x=da(i)}if(r||!r&&!s)if((Gn(t)!=="body"||Sr(i))&&(a=qs(t)),r){const w=bn(t,!0,s,t);l.x=w.x+t.clientLeft,l.y=w.y+t.clientTop}else i&&c();s&&!r&&i&&c();const u=i&&!r&&!s?wl(i,a):be(0),p=o.left+a.scrollLeft-l.x-u.x,f=o.top+a.scrollTop-l.y-u.y;return{x:p,y:f,width:o.width,height:o.height}}function fa(e){return ce(e).position==="static"}function ml(e,t){if(!ye(e)||ce(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ce(e)===n&&(n=n.ownerDocument.body),n}function bl(e,t){const n=Jt(e);if(js(e))return n;if(!ye(e)){let i=Xe(e);for(;i&&!Kn(i);){if(le(i)&&!fa(i))return i;i=Xe(i)}return n}let r=ml(e,t);for(;r&&z2(r)&&fa(r);)r=ml(r,t);return r&&Kn(r)&&fa(r)&&!aa(r)?n:r||Z2(e)||n}const i5=async function(e){const t=this.getOffsetParent||bl,n=this.getDimensions,r=await n(e.floating);return{reference:r5(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function s5(e){return ce(e).direction==="rtl"}const o5={convertOffsetParentRelativeRectToViewportRelativeRect:K2,getDocumentElement:Ce,getClippingRect:e5,getOffsetParent:bl,getElementRects:i5,getClientRects:Y2,getDimensions:n5,getScale:Yn,isElement:le,isRTL:s5};function Cl(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function a5(e,t){let n=null,r;const i=Ce(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const c=e.getBoundingClientRect(),{left:u,top:p,width:f,height:w}=c;if(a||t(),!f||!w)return;const g=Rs(p),m=Rs(i.clientWidth-(u+f)),C=Rs(i.clientHeight-(p+w)),_=Rs(u),v={rootMargin:-g+"px "+-m+"px "+-C+"px "+-_+"px",threshold:Yt(0,Ke(1,l))||1};let S=!0;function O(F){const P=F[0].intersectionRatio;if(P!==l){if(!S)return o();P?o(!1,P):r=setTimeout(()=>{o(!1,1e-7)},1e3)}P===1&&!Cl(c,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(O,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(O,v)}n.observe(e)}return o(!0),s}function ha(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=ua(e),u=i||s?[...c?Lr(c):[],...Lr(t)]:[];u.forEach(_=>{i&&_.addEventListener("scroll",n,{passive:!0}),s&&_.addEventListener("resize",n)});const p=c&&a?a5(c,n):null;let f=-1,w=null;o&&(w=new ResizeObserver(_=>{let[b]=_;b&&b.target===c&&w&&(w.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=w)==null||v.observe(t)})),n()}),c&&!l&&w.observe(c),w.observe(t));let g,m=l?bn(e):null;l&&C();function C(){const _=bn(e);m&&!Cl(m,_)&&n(),m=_,g=requestAnimationFrame(C)}return n(),()=>{var _;u.forEach(b=>{i&&b.removeEventListener("scroll",n),s&&b.removeEventListener("resize",n)}),p==null||p(),(_=w)==null||_.disconnect(),w=null,l&&cancelAnimationFrame(g)}}const pa=U2,wa=B2,ga=j2,l5=N2,c5=D2,va=(e,t,n)=>{const r=new Map,i={platform:o5,...n},s={...i.platform,_c:r};return V2(e,t,{...i,platform:s})},u5="highlight";let d5=(ec=class{constructor(){L(this,ui,M(null));L(this,di,M(null));L(this,fi,M(!1));L(this,hi,M(!1));St(this,"scrolling",!1);L(this,pi,M("select"));L(this,wi,M("not-allowed"));L(this,gi,M("div"));L(this,vi,M(T({icon:null,mode:null,text:null})));L(this,mi,M("tw-rr"));L(this,bi,M(null));L(this,Ci,M(!1));St(this,"pos",new As({x:0,y:0,w:0,h:0,r:4},{stiffness:.08,damping:.5}));L(this,yi,M(4));St(this,"scrollTimer",null);L(this,_i,M(0));L(this,xi,M(!1))}get ref(){return h(d(this,ui))}set ref(t){x(d(this,ui),T(t))}get refNote(){return h(d(this,di))}set refNote(t){x(d(this,di),T(t))}get enabled(){return h(d(this,fi))}set enabled(t){x(d(this,fi),T(t))}get visible(){return h(d(this,hi))}set visible(t){x(d(this,hi),T(t))}get mode(){return h(d(this,pi))}set mode(t){x(d(this,pi),T(t))}get tagIcon(){return h(d(this,wi))}set tagIcon(t){x(d(this,wi),T(t))}get tagName(){return h(d(this,gi))}set tagName(t){x(d(this,gi),T(t))}get note(){return h(d(this,vi))}set note(t){x(d(this,vi),T(t))}get noteAlign(){return h(d(this,mi))}set noteAlign(t){x(d(this,mi),T(t))}get el(){return h(d(this,bi))}set el(t){x(d(this,bi),T(t))}get infoAutoUpdate(){return h(d(this,Ci))}set infoAutoUpdate(t){x(d(this,Ci),T(t))}get padding(){return h(d(this,yi))}set padding(t){x(d(this,yi),T(t))}get scroll(){return h(d(this,_i))}set scroll(t){x(d(this,_i),T(t))}get scrollingToElement(){return h(d(this,xi))}set scrollingToElement(t){x(d(this,xi),T(t))}init(){return k.on("auth","authenticated",()=>{this.enable()}),k.on("resize","drag-start",()=>{X.active||this.hide()}),k.on("app-component","mouseenter",()=>{X.active||this.hide()}),k.on("thread-list","mouseleave",()=>{this.hide()}),k.on("auth","logout",()=>{this.disable()}),k.on("app","closed",()=>{this.disable()}),k.on("app","opened",()=>{rt.user&&this.enable()}),k.on("isolation","isolated",({el:t})=>{t||this.hide()}),k.on("isolation","reset",()=>{this.enabled&&this.reset()}),k.on("hover","hover",t=>{this.enabled&&this.handleHover(t)}),k.on("card","mouseenter",({target:t})=>{t||this.hide()}),k.on("events","scrollstart",()=>{X.active||this.hide()}),k.on("events","scroll",()=>{X.active&&this.set(X.current)}),k.on("events","mouseout",t=>{t.toElement===null&&this.enabled&&!X.active&&this.hide()}),k.on("keys","pressed-option",()=>{this.enabled&&!X.active&&this.hide()}),k.on("keys","released-option",()=>{this.enabled&&!X.active&&this.hide()}),B.ok(u5,"initialized"),this}enable(){this.enabled=!0}disable(){this.hide(),this.reset()}hide(){this.visible=!1}show(){this.visible=!0}handleHover(t){const{highlight:n}=t;console.log("tagIcon",n.tagIcon),n.visible?(this.tagIcon=n.tagIcon,this.tagName=n.tagName,this.noteAlign=n.noteAlign,this.mode=n.mode,this.note=n.note,this.padding=n.padding,this.show(),this.highlight(t.el)):this.hide()}enableAutoUpdate(){this.infoAutoUpdate||(this.infoAutoUpdate=!0,ha(this.ref,this.refNote,()=>this.positionNote()))}positionNote(){va(this.ref,this.refNote,{placement:"top-start",middleware:[ga({fallbackAxisSideDirection:"start"}),wa({mainAxis:!0,crossAxis:!0,padding:16}),pa({mainAxis:8,alignmentAxis:0,crossAxis:16})]}).then(({x:t,y:n})=>{Object.assign(this.refNote.style,{left:`${t}px`,top:`${n}px`})})}getHighlightInfo(t){let n=!0,r=t.tagName,i=t.tag,s=4;const o=[{condition:()=>!t.isPathValid,mode:"error",note:{icon:"error",text:"Invalid selector: "+t.path,mode:"error",native:"not-allowed"}},{condition:()=>t.hasDuplicateIds,mode:"error",note:{icon:"error",text:"ID not unique: #"+t.id,mode:"error"}},{condition:()=>X.active,mode:"isolation",tagName:t.isMeta.name||t.tagName,tagIcon:t.isMeta.icon||t.tag,padding:8},{condition:()=>t.isMeta&&t.id==="fubi-meta-wrapper",visible:!1},{condition:()=>t.isMeta,tagName:t.isMeta.name,tagIcon:t.isMeta.icon,note:{icon:"info",text:"This is a global Meta element",mode:"info"}},{condition:()=>!t.isAllowed&&!t.isMeta,mode:"not-allowed",note:{icon:"info",text:"Commenting disabled for this element",mode:"info"}},{condition:()=>t.hasComment&&t.isCommentActive&&X.active===!1,mode:"thread"},{condition:()=>t.hasComment&&!t.isCommentActive,mode:"done"}];let a=null,l={icon:null,text:null,mode:null};for(const c of o)if(c.condition()){s=c.padding??s,a=c.mode??a,l=c.note??l,n=c.visible??n,r=c.tagName??r,i=c.tagIcon??i;break}return{visible:n,mode:a,padding:s,tagIcon:i,tagName:r,note:l}}set(t){const n=t.getBoundingClientRect(),r=window.getComputedStyle(t),i=parseFloat(r.borderRadius)||4,s=this.isAtBodyEdge(n),o=this.getElementDimensions(n,s,i,this.padding);this.pos.set(o,{instant:!this.visible})}highlight(t){t&&(this.set(t),this.scrollingToElement=!1,this.infoAutoUpdate||this.enableAutoUpdate())}isAtBodyEdge(t){const n=this.padding,r=t.top+window.scrollY,i=t.left+window.scrollX,s=t.right+window.scrollX,o=t.bottom+window.scrollY,a=document.body.scrollWidth,l=document.body.scrollHeight;return r<=n||i<=n||s>=a-n||o>=l-n}getElementDimensions(t,n,r,i){const s=n?t.height-i*2:t.height+i*2,o=n?t.width-i*2:t.width+i*2,a=Math.min(s,o)/2,l=Math.max(0,Math.min(n?r-i:r+i,a));return{y:n?t.top+i+window.scrollY:t.top-i+window.scrollY,x:n?t.left+i:t.left-i,h:s,w:o,r:l}}reset(){this.hide()}},ui=new WeakMap,di=new WeakMap,fi=new WeakMap,hi=new WeakMap,pi=new WeakMap,wi=new WeakMap,gi=new WeakMap,vi=new WeakMap,mi=new WeakMap,bi=new WeakMap,Ci=new WeakMap,yi=new WeakMap,_i=new WeakMap,xi=new WeakMap,ec);const _e=new d5,Jn="resize";let yl=new vn("fubi-width",300),_l=new vn("fubi-height",450),f5=(nc=class{constructor(){L(this,ki,M(!1));L(this,Ei,M(0));L(this,Si,M(0));L(this,Li,M(0));L(this,Oi,M(0));St(this,"sizes",{min:{w:250,h:180},default:{w:300,h:450},max:{w:400,h:window.innerHeight-32}})}get resizing(){return h(d(this,ki))}set resizing(t){x(d(this,ki),T(t))}get x(){return h(d(this,Ei))}set x(t){x(d(this,Ei),T(t))}get y(){return h(d(this,Si))}set y(t){x(d(this,Si),T(t))}get startWidth(){return h(d(this,Li))}set startWidth(t){x(d(this,Li),T(t))}get startHeight(){return h(d(this,Oi))}set startHeight(t){x(d(this,Oi),T(t))}get width(){return yl.current}get height(){return _l.current}set width(t){yl.current=t}set height(t){_l.current=t}init(){return k.on("events","mouseup",()=>{this.resizing&&this.stop()}),k.on("events","mousemove",t=>{if(this.resizing){const n=this.x-t.clientX,r=this.y-t.clientY,i=this.startWidth+n,s=this.startHeight+r;this.resize(i,s)}}),k.on("threads-header","minimize",()=>this.minimize()),k.on("threads-header","maximize",()=>this.maximize()),k.on("auth","logout",()=>this.minimize()),B.ok(Jn,"initialized"),this}resize(t,n){const r=Math.max(this.sizes.min.w,Math.min(t,this.sizes.max.w)),i=Math.max(this.sizes.min.h,Math.min(n,this.sizes.max.h));this.width=r,this.height=i,B.info(Jn,"resizing",r,i)}minimize(){this.width=this.sizes.default.w,this.height=this.sizes.default.h,B.info(Jn,"minimize",this.width,this.height)}maximize(){this.width=this.sizes.max.w,this.height=this.sizes.max.h,B.info(Jn,"maximize",this.width,this.height)}start(t){k.emit(Jn,"drag-start"),this.resizing=!0,this.x=t.clientX,this.y=t.clientY,this.startWidth=this.width,this.startHeight=this.height}stop(){k.emit(Jn,"drag-end"),this.resizing=!1}},ki=new WeakMap,Ei=new WeakMap,Si=new WeakMap,Li=new WeakMap,Oi=new WeakMap,nc);const pt=new f5,ma="hover",h5=50;class p5{constructor(){L(this,$i,M(!1));St(this,"previous",null);St(this,"outline",!1);St(this,"timeout",null);St(this,"observer",null);L(this,Ti,M(!1));L(this,Ai,M(!1));L(this,Mi,M(null))}get enabled(){return h(d(this,$i))}set enabled(t){x(d(this,$i),T(t))}get scrolling(){return h(d(this,Ti))}set scrolling(t){x(d(this,Ti),T(t))}get inView(){return h(d(this,Ai))}set inView(t){x(d(this,Ai),T(t))}get direction(){return h(d(this,Mi))}set direction(t){x(d(this,Mi),T(t))}init(){return k.on("app","enabled",()=>{I.opened&&rt.user&&this.enable()}),k.on("auth","authenticated",()=>{I.opened&&rt.user&&this.enable()}),k.on("app","opened",()=>{rt.user&&this.enable()}),k.on("app","closed",()=>{this.disable()}),k.on("app-component","mouseleave",()=>{rt.user&&I.opened&&!X.active&&!pt.resizing&&this.enable()}),k.on("app-component","mouseenter",()=>{this.disable()}),k.on("isolation","isolated",({el:t})=>{t?this.handleHover({target:t}):this.disable()}),k.on("isolation","reset",()=>{I.opened&&rt.user&&this.enable()}),k.on("events","scrollstart",()=>{this.enabled&&(this.scrolling=!0)}),k.on("resize","drag-start",()=>{console.log("reacting to drag-start"),this.enabled&&this.disable()}),k.on("resize","drag-end",()=>{console.log("reacting to drag-end"),I.opened&&rt.user&&!Er.inside&&this.enable()}),k.on("events","mousemove",t=>{this.outside&&!this.enabled&&(this.outside=!1,this.enable()),this.enabled&&this.handleHover(t,!(this.scrolling||!_e.visible))}),k.on("events","mouseout",t=>{t.toElement===null&&this.enabled&&!X.active&&(this.outside=!0,this.disable())}),k.on("card","mouseenter",t=>{!X.active&&!pt.resizing&&I.opened&&this.handleHover(t)}),B.ok(ma,"initialized"),this}enable(){this.enabled=!0,document.documentElement.classList.add("fubi-hover-enabled")}disable(){B.info(ma,"disabled"),this.enabled=!1,this.clearTimeout(),this.reset(),document.documentElement.classList.remove("fubi-hover-enabled")}reset(){this.previous=null,this.inView=null,this.direction=null,this.observer&&(this.observer.disconnect(),this.observer=null)}hover(t){this.current={el:t,new:!(t!=null&&t.hasAttribute("data-fubi-comment"))||!1,tag:Kt.getTag(t),tagName:Kt.getTagName(t)}}clearTimeout(){this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}buildHoverPayload(t,n){const r=Kt.analyzeElement(t);return{el:t,elAllowed:n,cursor:Er.getCursorInfo(r),highlight:_e.getHighlightInfo(r),info:r}}setupObserver(t,n){this.observer&&(this.observer.disconnect(),this.observer=null),this.observer=Kt.elementInView(t,r=>{this.inView=r.inView,this.direction=r.direction})}handleHover(t,n=!0){const r=t.target,i=Kt.getClosestAllowedElement(r);if(!r||this.previous===r&&!X.active&&_e.visible)return;this.clearTimeout(),this.previous=r,this.scrolling=!1;const s=this.buildHoverPayload(r,i);this.setupObserver(r,s.info);const o=()=>{k.emit(ma,"hover",s),this.hover(i),X.active&&this.disable()};n?this.timeout=setTimeout(()=>{this.timeout=null,o()},h5):o()}}$i=new WeakMap,Ti=new WeakMap,Ai=new WeakMap,Mi=new WeakMap;const Qe=new p5,Or="keys";class w5{init(){return k.on("events","keydown",t=>this.handleKeyDown(t)),k.on("events","keyup",t=>this.handleKeyUp(t)),B.ok(Or,"initialized"),this}handleKeyDown(t){const{key:n,metaKey:r,ctrlKey:i}=t,s=Wd();if(n==="Escape"){const o=document.activeElement;o&&o!==document.body&&o.blur(),k.emit(Or,"pressed-esc",{isolation:X.active});return}if(!s)switch(n){case"c":!r&&!i&&!I.opened&&k.emit(Or,"pressed-c");break}(n==="Alt"||n==="Meta")&&k.emit(Or,"pressed-option")}handleKeyUp(t){const{key:n}=t;(n==="Alt"||n==="Meta")&&k.emit(Or,"released-option")}}const g5=new w5,re="events";class v5{constructor(){L(this,Ii,M(!1));L(this,Fi,M(T({})));L(this,Pi,M(!1));L(this,Ri,M(T({})));L(this,Hi,M(T({x:0,y:0})));L(this,Vi,M(!1));St(this,"scrollTimer",null);St(this,"handleScroll",t=>{this.scrolling||(this.scrolling=!0,k.emit(re,"scrollstart",t)),k.emit(re,"scroll",t),this.scrollTimer&&clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.scrolling=!1,k.emit(re,"scrollend",t)},150)})}get enabled(){return h(d(this,Ii))}set enabled(t){x(d(this,Ii),T(t))}get listeners(){return h(d(this,Fi))}set listeners(t){x(d(this,Fi),T(t))}get keys(){return h(d(this,Pi))}set keys(t){x(d(this,Pi),T(t))}get paused(){return h(d(this,Ri))}set paused(t){x(d(this,Ri),T(t))}get cursor(){return h(d(this,Hi))}set cursor(t){x(d(this,Hi),T(t))}get scrolling(){return h(d(this,Vi))}set scrolling(t){x(d(this,Vi),T(t))}init(){return k.on("auth","authenticated",()=>{I.opened&&this.enableAll(),this.keys||this.enableKeys()}),k.on("auth","unauthenticated",()=>{this.keys||this.enableKeys()}),k.on("auth","logout",()=>{this.pauseAll()}),k.on("app-component","mouseenter",async()=>{this.enabled&&!pt.resizing&&await this.pauseAll()}),k.on("app-component","mouseleave",()=>{this.enabled&&!pt.resizing&&this.resumeAll()}),k.on("resize","drag-start",()=>{this.resume("mousemove"),this.resume("mouseup")}),k.on("resize","drag-end",()=>{this.listeners.mousemove&&!this.paused.mousemove&&this.resume("mousemove"),this.listeners.mouseup&&!this.paused.mouseup&&this.resume("mouseup")}),k.on("app","closed",()=>{this.pauseAll()}),k.on("app","opened",()=>{rt.user&&!Er.inside&&(this.enabled?this.resumeAll():this.enableAll()),this.keys||this.enableKeys()}),B.ok(re,"initialized"),this}add(t,n,r=document||window){this.listeners[t]&&r.removeEventListener(t,this.listeners[t]),this.listeners[t]=n,this.paused[t]=!1,r.addEventListener(t,n)}pause(t,n=document||window){this.listeners[t]&&!this.paused[t]&&(n.removeEventListener(t,this.listeners[t]),this.paused[t]=!0)}resume(t,n=document||window){this.listeners[t]&&this.paused[t]&&(n.addEventListener(t,this.listeners[t]),this.paused[t]=!1)}enableKeys(){this.add("keydown",t=>k.emit(re,"keydown",t)),this.add("keyup",t=>k.emit(re,"keyup",t)),this.keys=!0}enableAll(){this.add("scroll",t=>{this.handleScroll(t)}),this.add("mousemove",t=>k.emit(re,"mousemove",t)),this.add("mouseout",t=>{k.emit(re,"mouseout",t)}),this.add("click",t=>{k.emit(re,"click",t)}),this.add("mouseup",t=>{k.emit(re,"mouseup",t)}),this.add("resize",()=>k.emit(re,"resize",{w:window.innerWidth,h:window.innerHeight})),this.enabled=!0}pauseAll(){this.pause("mousemove"),this.pause("mouseout"),this.pause("scroll"),this.pause("click"),this.pause("mouseup"),this.pause("resize"),B.info(re,"pauseAll()")}resumeAll(){this.resume("scroll"),this.resume("mousemove"),this.resume("mouseout"),this.resume("click"),this.resume("mouseup"),this.resume("resize")}remove(t,n=document||window){this.listeners[t]&&(n.removeEventListener(t,this.listeners[t]),delete this.listeners[t],delete this.paused[t])}removeAll(){this.remove("scroll"),this.remove("mousemove"),this.remove("mouseout"),this.remove("click"),this.remove("mouseup"),this.remove("resize"),this.enabled=!1}}Ii=new WeakMap,Fi=new WeakMap,Pi=new WeakMap,Ri=new WeakMap,Hi=new WeakMap,Vi=new WeakMap;const m5=new v5;let xl=new vn("fubi-enabled",!1),kl=new vn("fubi-opened",!1);const Us="app";let b5=(rc=class{constructor(){L(this,Di,M(T({})));L(this,ji,M(null));L(this,qi,M(null));L(this,Ui,M(T({browser:null,resolution:null})));St(this,"main",null);St(this,"container",null)}get config(){return h(d(this,Di))}set config(t){x(d(this,Di),T(t))}get project(){return h(d(this,ji))}set project(t){x(d(this,ji),T(t))}get error(){return h(d(this,qi))}set error(t){x(d(this,qi),T(t))}get meta(){return h(d(this,Ui))}set meta(t){x(d(this,Ui),T(t))}get enabled(){return xl.current}get opened(){return kl.current}set enabled(t){xl.current=t}set opened(t){kl.current=t}enable(){this.enabled=!0,k.emit(Us,"enabled")}disable(){this.enabled=!1,k.emit(Us,"disabled")}close(){this.opened=!1,k.emit(Us,"closed")}open(){this.opened=!0,k.emit(Us,"opened")}async getProject(t){const{result:n,error:r}=await Dt("projects").getFirstListItem(`name = "${t}"`);if(r){const i=Ls(r,{404:`Project <u><b>${t}</b></u> not found.`});I.error=i,B.error(i);return}return this.project=n,n}async init(t={}){this.config=t,this.main=document.getElementById("fubi-shadow-host")||document.getElementById("fubi-container"),this.container=this.main&&this.main.shadowRoot?this.main.shadowRoot:this.main,this.meta={resolution:kt.getResolution(),browser:kt.getBrowser()},await this.getProject(t.project),B.info("","fubi starting, config:",{project:`${this.project.name}`,ignore:`${[...this.config.ignore]}`});const r=new URLSearchParams(location.search).has("fubi");if(!this.enabled&&!r){B.warn("fubi is disabled. Enable it by adding `?fubi` to the URL.");return}B.group("Initializing modules"),rt.init(),Tt.init(),R.init(),Qe.init(),X.init(),Os.init(),g5.init(),Kt.init(),m5.init(),_e.init(),Er.init(),pt.init(),B.groupEnd(),k.on("auth","unauthenticated",()=>r&&(this.enable(),this.open())),k.on("keys","pressed-esc",i=>{!i.isolation&&this.opened&&this.close()}),k.on("keys","pressed-c",()=>{this.opened||this.open()}),k.on("toggle","clicked",()=>{this.open()}),k.on("comments","url-param",()=>{this.opened||this.open()}),k.emit("app","initialized")}},Di=new WeakMap,ji=new WeakMap,qi=new WeakMap,Ui=new WeakMap,rc);const I=new b5,C5=`:root {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
#fubi-shadow-host {
|
|
12
|
-
position: absolute;
|
|
13
|
-
top: 0;
|
|
14
|
-
left: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.fubi-hover-enabled:not(:has(#fubi-wrapper-outter:hover, .fubi-isolated)) [data-fubi-comment].fubi-comment-active,
|
|
18
|
-
.fubi-hover-enabled:not(:has(#fubi-shadow-host:hover, .fubi-isolated)) [data-fubi-comment].fubi-comment-active {
|
|
19
|
-
outline: 2px dotted rgba(var(--wm-fubi-theme), 1);
|
|
20
|
-
outline-offset: -1px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.fubi-hover-enabled:not(:has(#fubi-wrapper-outter:hover)) [data-fubi-comment].fubi-comment-active:not(:has(*:hover)):hover,
|
|
24
|
-
.fubi-hover-enabled:not(:has(#fubi-shadow-host:hover)) [data-fubi-comment].fubi-comment-active:not(:has(*:hover)):hover {
|
|
25
|
-
outline: 1px dashed rgba(var(--wm-fubi-theme), 0);
|
|
26
|
-
outline-offset: 4px;
|
|
27
|
-
opacity: 1;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.fubi-hover-enabled [data-fubi-comment].fubi-comment-active:not(:has(*:active)):active {
|
|
31
|
-
transition: transform 0.1s ease-out 0s;
|
|
32
|
-
transform: scale(0.95);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.fubi-hover-enabled {
|
|
36
|
-
--fubi-cursor: default;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.fubi-hover-enabled:not(#fubi-wrapper, #fubi-wrapper *) * {
|
|
40
|
-
cursor: var(--fubi-cursor) !important;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.fubi-hover-enabled [data-cursor-icon="error"] {
|
|
44
|
-
cursor: not-allowed !important
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.lenis.lenis-smooth [data-lenis-prevent] {
|
|
48
|
-
overscroll-behavior: contain;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@keyframes scale {
|
|
52
|
-
0% {
|
|
53
|
-
outline-offset: 1px;
|
|
54
|
-
outline-color: rgba(255, 255, 255, 0);
|
|
55
|
-
}
|
|
56
|
-
10% {
|
|
57
|
-
outline-offset: 2px;
|
|
58
|
-
outline-color: rgba(255, 255, 255, 0.3);
|
|
59
|
-
}
|
|
60
|
-
100% {
|
|
61
|
-
outline-offset: 6px;
|
|
62
|
-
outline-color: rgba(255, 255, 255, 0);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.fubi-hover-enabled .animate-scale {
|
|
67
|
-
/* infinite loop */
|
|
68
|
-
animation: scale 1s ease-out infinite;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.fubi-cursor-not-allowed,
|
|
72
|
-
.fubi-cursor-not-allowed * {
|
|
73
|
-
cursor: not-allowed !important;
|
|
74
|
-
}`;Jc();const y5=e=>e;function Bs(e){const t=e-1;return t*t*t+1}function El(e){const t=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return t?[parseFloat(t[1]),t[2]||"px"]:[e,"px"]}function Sl(e,{delay:t=0,duration:n=400,easing:r=y5}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:s=>`opacity: ${s*i}`}}function Ns(e,{delay:t=0,duration:n=400,easing:r=Bs,x:i=0,y:s=0,opacity:o=0}={}){const a=getComputedStyle(e),l=+a.opacity,c=a.transform==="none"?"":a.transform,u=l*(1-o),[p,f]=El(i),[w,g]=El(s);return{delay:t,duration:n,easing:r,css:(m,C)=>`
|
|
75
|
-
transform: ${c} translate(${(1-m)*p}${f}, ${(1-m)*w}${g});
|
|
76
|
-
opacity: ${l-u*C}`}}function Xn(e,{delay:t=0,duration:n=400,easing:r=Bs,axis:i="y"}={}){const s=getComputedStyle(e),o=+s.opacity,a=i==="y"?"height":"width",l=parseFloat(s[a]),c=i==="y"?["top","bottom"]:["left","right"],u=c.map(_=>`${_[0].toUpperCase()}${_.slice(1)}`),p=parseFloat(s[`padding${u[0]}`]),f=parseFloat(s[`padding${u[1]}`]),w=parseFloat(s[`margin${u[0]}`]),g=parseFloat(s[`margin${u[1]}`]),m=parseFloat(s[`border${u[0]}Width`]),C=parseFloat(s[`border${u[1]}Width`]);return{delay:t,duration:n,easing:r,css:_=>`overflow: hidden;opacity: ${Math.min(_*20,1)*o};${a}: ${_*l}px;padding-${c[0]}: ${_*p}px;padding-${c[1]}: ${_*f}px;margin-${c[0]}: ${_*w}px;margin-${c[1]}: ${_*g}px;border-${c[0]}-width: ${_*m}px;border-${c[1]}-width: ${_*C}px;min-${a}: 0`}}function tn(e,{delay:t=0,duration:n=400,easing:r=Bs,start:i=0,opacity:s=0}={}){const o=getComputedStyle(e),a=+o.opacity,l=o.transform==="none"?"":o.transform,c=1-i,u=a*(1-s);return{delay:t,duration:n,easing:r,css:(p,f)=>`
|
|
77
|
-
transform: ${l} scale(${1-c*f});
|
|
78
|
-
opacity: ${a-u*f}
|
|
79
|
-
`}}function Ll(e,t){for(const n in t)e[n]=t[n];return e}function _5({fallback:e,...t}){const n=new Map,r=new Map;function i(o,a,l){const{delay:c=0,duration:u=F=>Math.sqrt(F)*30,easing:p=Bs}=Ll(Ll({},t),l),f=o.getBoundingClientRect(),w=a.getBoundingClientRect(),g=f.left-w.left,m=f.top-w.top,C=f.width/w.width,_=f.height/w.height,b=Math.sqrt(g*g+m*m),v=getComputedStyle(a),S=v.transform==="none"?"":v.transform,O=+v.opacity;return{delay:c,duration:typeof u=="function"?u(b):u,easing:p,css:(F,P)=>`
|
|
80
|
-
opacity: ${F*O};
|
|
1
|
+
var fubi=function(){"use strict";var $2=Object.defineProperty;var dc=vt=>{throw TypeError(vt)};var I2=(vt,pt,kt)=>pt in vt?$2(vt,pt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):vt[pt]=kt;var Et=(vt,pt,kt)=>I2(vt,typeof pt!="symbol"?pt+"":pt,kt),Ia=(vt,pt,kt)=>pt.has(vt)||dc("Cannot "+kt);var g=(vt,pt,kt)=>(Ia(vt,pt,"read from private field"),kt?kt.call(vt):pt.get(vt)),F=(vt,pt,kt)=>pt.has(vt)?dc("Cannot add the same private member more than once"):pt instanceof WeakSet?pt.add(vt):pt.set(vt,kt),yt=(vt,pt,kt,Br)=>(Ia(vt,pt,"write to private field"),Br?Br.call(vt,kt):pt.set(vt,kt),kt),Ta=(vt,pt,kt)=>(Ia(vt,pt,"access private method"),kt);var Be,zr,so,xn,uc,lo,je,se,cr,co,uo,fo,ho,po,go,vo,bo,mo,wo,xo,yo,Co,ko,_o,Eo,Cn,So,Lo,Uo,kn,_n,En,Sn,Ln,Un,Fo,Jl,dr,ur,fr,Qt,Ne,hr,Mr,pr,Ao,Se,Rr,Fn,fc,Le,Dr,$o,gr,Io,To,Oo,zo,Mo,Ro,Do,Po,Ho,Vo,Xl,Bo,jo,No,Zo,qo,Wo,Go,Ko,Yo,Jo,Xo,Qo,ti,ei,Ql,ri,oi,ii,ni,ai,tc,si,li,ci,di,ui,fi,hi,pi,gi,vi,bi,mi,wi,xi,ec,Pr,yi;const vt="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(vt);const pt=1,kt=2,Br=4,hc=8,pc=16,gc=1,vc=2,bc=4,mc=8,wc=16,xc=1,yc=2,Cc=4,kc=1,_c=2,Tt=Symbol(),Ec="http://www.w3.org/2000/svg",Oa=!1,te=2,za=4,_i=8,Ei=16,we=32,jr=64,Si=128,Gt=256,Li=512,Ot=1024,xe=2048,wr=4096,ye=8192,Ui=16384,Ma=32768,qe=65536,Sc=1<<17,Lc=1<<19,Ra=1<<20,We=Symbol("$state"),Uc=Symbol("legacy props"),Fc=Symbol("");var On=Array.isArray,Ac=Array.prototype.indexOf,zn=Array.from,$c=Object.defineProperty,xr=Object.getOwnPropertyDescriptor,Da=Object.getOwnPropertyDescriptors,Ic=Object.prototype,Tc=Array.prototype,Mn=Object.getPrototypeOf;function Oc(r){return typeof r=="function"}const $e=()=>{};function zc(r){return r()}function Fi(r){for(var t=0;t<r.length;t++)r[t]()}function Mc(){var r,t,e=new Promise((o,i)=>{r=o,t=i});return{promise:e,resolve:r,reject:t}}let Nr=[],Rn=[];function Pa(){var r=Nr;Nr=[],Fi(r)}function Rc(){var r=Rn;Rn=[],Fi(r)}function Zr(r){Nr.length===0&&queueMicrotask(Pa),Nr.push(r)}function Ha(){Nr.length>0&&Pa(),Rn.length>0&&Rc()}function Va(r){return r===this.v}function Dn(r,t){return r!=r?t==t:r!==t||r!==null&&typeof r=="object"||typeof r=="function"}function Dc(r,t){return r!==t}function Pn(r){return!Dn(r,this.v)}function Pc(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Hc(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Vc(r){throw new Error("https://svelte.dev/e/effect_orphan")}function Bc(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function jc(r){throw new Error("https://svelte.dev/e/props_invalid_value")}function Nc(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Zc(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function qc(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function Wc(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let yr=!1,Gc=!1;function Kc(){yr=!0}function Ct(r,t){var e={f:0,v:r,reactions:null,equals:Va,rv:0,wv:0};return e}function T(r){return Yc(Ct(r))}function Ba(r,t=!1){var o;const e=Ct(r);return t||(e.equals=Pn),yr&&mt!==null&&mt.l!==null&&((o=mt.l).s??(o.s=[])).push(e),e}function Yc(r){return nt!==null&&!Kt&&(nt.f&te)!==0&&(ue===null?r1([r]):ue.push(r)),r}function E(r,t){return nt!==null&&!Kt&&Er()&&(nt.f&(te|Ei))!==0&&(ue===null||!ue.includes(r))&&Wc(),Hn(r,t)}function Hn(r,t){return r.equals(t)||(r.v,r.v=t,r.wv=Qa(),ja(r,xe),Er()&&at!==null&&(at.f&Ot)!==0&&(at.f&(we|jr))===0&&(Ce===null?o1([r]):Ce.push(r))),t}function ja(r,t){var e=r.reactions;if(e!==null)for(var o=Er(),i=e.length,n=0;n<i;n++){var a=e[n],s=a.f;(s&xe)===0&&(!o&&a===at||(fe(a,t),(s&(Ot|Gt))!==0&&((s&te)!==0?ja(a,wr):Di(a))))}}function j(r){var t=te|xe,e=nt!==null&&(nt.f&te)!==0?nt:null;return at===null||e!==null&&(e.f&Gt)!==0?t|=Gt:at.f|=Ra,{ctx:mt,deps:null,effects:null,equals:Va,f:t,fn:r,reactions:null,rv:0,v:null,wv:0,parent:e??at}}function Vn(r){const t=j(r);return t.equals=Pn,t}function Na(r){var t=r.effects;if(t!==null){r.effects=null;for(var e=0;e<t.length;e+=1)re(t[e])}}function Jc(r){for(var t=r.parent;t!==null;){if((t.f&te)===0)return t;t=t.parent}return null}function Xc(r){var t,e=at;de(Jc(r));try{Na(r),t=es(r)}finally{de(e)}return t}function Za(r){var t=Xc(r),e=(Ie||(r.f&Gt)!==0)&&r.deps!==null?wr:Ot;fe(r,e),r.equals(t)||(r.v=t,r.wv=Qa())}let Qc=!1;function I(r,t=null,e){if(typeof r!="object"||r===null||We in r)return r;const o=Mn(r);if(o!==Ic&&o!==Tc)return r;var i=new Map,n=On(r),a=Ct(0);n&&i.set("length",Ct(r.length));var s;return new Proxy(r,{defineProperty(l,c,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Nc();var f=i.get(c);return f===void 0?(f=Ct(u.value),i.set(c,f)):E(f,I(u.value,s)),!0},deleteProperty(l,c){var u=i.get(c);if(u===void 0)c in l&&i.set(c,Ct(Tt));else{if(n&&typeof c=="string"){var f=i.get("length"),d=Number(c);Number.isInteger(d)&&d<f.v&&E(f,d)}E(u,Tt),qa(a)}return!0},get(l,c,u){var v;if(c===We)return r;var f=i.get(c),d=c in l;if(f===void 0&&(!d||(v=xr(l,c))!=null&&v.writable)&&(f=Ct(I(d?l[c]:Tt,s)),i.set(c,f)),f!==void 0){var h=p(f);return h===Tt?void 0:h}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var f=i.get(c);f&&(u.value=p(f))}else if(u===void 0){var d=i.get(c),h=d==null?void 0:d.v;if(d!==void 0&&h!==Tt)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return u},has(l,c){var h;if(c===We)return!0;var u=i.get(c),f=u!==void 0&&u.v!==Tt||Reflect.has(l,c);if(u!==void 0||at!==null&&(!f||(h=xr(l,c))!=null&&h.writable)){u===void 0&&(u=Ct(f?I(l[c],s):Tt),i.set(c,u));var d=p(u);if(d===Tt)return!1}return f},set(l,c,u,f){var m;var d=i.get(c),h=c in l;if(n&&c==="length")for(var v=u;v<d.v;v+=1){var b=i.get(v+"");b!==void 0?E(b,Tt):v in l&&(b=Ct(Tt),i.set(v+"",b))}d===void 0?(!h||(m=xr(l,c))!=null&&m.writable)&&(d=Ct(void 0),E(d,I(u,s)),i.set(c,d)):(h=d.v!==Tt,E(d,I(u,s)));var w=Reflect.getOwnPropertyDescriptor(l,c);if(w!=null&&w.set&&w.set.call(f,u),!h){if(n&&typeof c=="string"){var _=i.get("length"),y=Number(c);Number.isInteger(y)&&y>=_.v&&E(_,y+1)}qa(a)}return!0},ownKeys(l){p(a);var c=Reflect.ownKeys(l).filter(d=>{var h=i.get(d);return h===void 0||h.v!==Tt});for(var[u,f]of i)f.v!==Tt&&!(u in l)&&c.push(u);return c},setPrototypeOf(){Zc()}})}function qa(r,t=1){E(r,r.v+t)}var Wa,Ga,Ka,Ya;function t1(){if(Wa===void 0){Wa=window,Ga=/Firefox/.test(navigator.userAgent);var r=Element.prototype,t=Node.prototype;Ka=xr(t,"firstChild").get,Ya=xr(t,"nextSibling").get,r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__styles=null,r.__e=void 0,Text.prototype.__t=void 0}}function qr(r=""){return document.createTextNode(r)}function Ge(r){return Ka.call(r)}function Ai(r){return Ya.call(r)}function x(r,t){return Ge(r)}function wt(r,t){{var e=Ge(r);return e instanceof Comment&&e.data===""?Ai(e):e}}function U(r,t=1,e=!1){let o=r;for(;t--;)o=Ai(o);return o}function e1(r){r.textContent=""}let $i=!1,Ii=!1,Ti=null,Oi=!1,Bn=!1;function Ja(r){Bn=r}let Wr=[],T2=[],nt=null,Kt=!1;function ce(r){nt=r}let at=null;function de(r){at=r}let ue=null;function r1(r){ue=r}let zt=null,Ht=0,Ce=null;function o1(r){Ce=r}let Xa=1,zi=0,Ie=!1;function Qa(){return++Xa}function Gr(r){var f;var t=r.f;if((t&xe)!==0)return!0;if((t&wr)!==0){var e=r.deps,o=(t&Gt)!==0;if(e!==null){var i,n,a=(t&Li)!==0,s=o&&at!==null&&!Ie,l=e.length;if(a||s){var c=r,u=c.parent;for(i=0;i<l;i++)n=e[i],(a||!((f=n==null?void 0:n.reactions)!=null&&f.includes(c)))&&(n.reactions??(n.reactions=[])).push(c);a&&(c.f^=Li),s&&u!==null&&(u.f&Gt)===0&&(c.f^=Gt)}for(i=0;i<l;i++)if(n=e[i],Gr(n)&&Za(n),n.wv>r.wv)return!0}(!o||at!==null&&!Ie)&&fe(r,Ot)}return!1}function i1(r,t){for(var e=t;e!==null;){if((e.f&Si)!==0)try{e.fn(r);return}catch{e.f^=Si}e=e.parent}throw $i=!1,r}function n1(r){return(r.f&Ui)===0&&(r.parent===null||(r.parent.f&Si)===0)}function Mi(r,t,e,o){if($i){if(e===null&&($i=!1),n1(t))throw r;return}e!==null&&($i=!0);{i1(r,t);return}}function ts(r,t,e=!0){var o=r.reactions;if(o!==null)for(var i=0;i<o.length;i++){var n=o[i];(n.f&te)!==0?ts(n,t,!1):t===n&&(e?fe(n,xe):(n.f&Ot)!==0&&fe(n,wr),Di(n))}}function es(r){var h;var t=zt,e=Ht,o=Ce,i=nt,n=Ie,a=ue,s=mt,l=Kt,c=r.f;zt=null,Ht=0,Ce=null,Ie=(c&Gt)!==0&&(Kt||!Oi||nt===null),nt=(c&(we|jr))===0?r:null,ue=null,hs(r.ctx),Kt=!1,zi++;try{var u=(0,r.fn)(),f=r.deps;if(zt!==null){var d;if(Ri(r,Ht),f!==null&&Ht>0)for(f.length=Ht+zt.length,d=0;d<zt.length;d++)f[Ht+d]=zt[d];else r.deps=f=zt;if(!Ie)for(d=Ht;d<f.length;d++)((h=f[d]).reactions??(h.reactions=[])).push(r)}else f!==null&&Ht<f.length&&(Ri(r,Ht),f.length=Ht);if(Er()&&Ce!==null&&!Kt&&f!==null&&(r.f&(te|wr|xe))===0)for(d=0;d<Ce.length;d++)ts(Ce[d],r);return i!==null&&zi++,u}finally{zt=t,Ht=e,Ce=o,nt=i,Ie=n,ue=a,hs(s),Kt=l}}function a1(r,t){let e=t.reactions;if(e!==null){var o=Ac.call(e,r);if(o!==-1){var i=e.length-1;i===0?e=t.reactions=null:(e[o]=e[i],e.pop())}}e===null&&(t.f&te)!==0&&(zt===null||!zt.includes(t))&&(fe(t,wr),(t.f&(Gt|Li))===0&&(t.f^=Li),Na(t),Ri(t,0))}function Ri(r,t){var e=r.deps;if(e!==null)for(var o=t;o<e.length;o++)a1(r,e[o])}function jn(r){var t=r.f;if((t&Ui)===0){fe(r,Ot);var e=at,o=mt,i=Oi;at=r,Oi=!0;try{(t&Ei)!==0?v1(r):ls(r),ss(r);var n=es(r);r.teardown=typeof n=="function"?n:null,r.wv=Xa;var a=r.deps,s;Oa&&Gc&&r.f&xe}catch(l){Mi(l,r,e,o||r.ctx)}finally{Oi=i,at=e}}}function s1(){try{Bc()}catch(r){if(Ti!==null)Mi(r,Ti,null);else throw r}}function rs(){try{for(var r=0;Wr.length>0;){r++>1e3&&s1();var t=Wr,e=t.length;Wr=[];for(var o=0;o<e;o++){var i=t[o];(i.f&Ot)===0&&(i.f^=Ot);var n=c1(i);l1(n)}}}finally{Ii=!1,Ti=null}}function l1(r){var t=r.length;if(t!==0)for(var e=0;e<t;e++){var o=r[e];if((o.f&(Ui|ye))===0)try{Gr(o)&&(jn(o),o.deps===null&&o.first===null&&o.nodes_start===null&&(o.teardown===null?cs(o):o.fn=null))}catch(i){Mi(i,o,null,o.ctx)}}}function Di(r){Ii||(Ii=!0,queueMicrotask(rs));for(var t=Ti=r;t.parent!==null;){t=t.parent;var e=t.f;if((e&(jr|we))!==0){if((e&Ot)===0)return;t.f^=Ot}}Wr.push(t)}function c1(r){for(var t=[],e=r.first;e!==null;){var o=e.f,i=(o&we)!==0,n=i&&(o&Ot)!==0;if(!n&&(o&ye)===0){if((o&za)!==0)t.push(e);else if(i)e.f^=Ot;else{var a=nt;try{nt=e,Gr(e)&&jn(e)}catch(c){Mi(c,e,null,e.ctx)}finally{nt=a}}var s=e.first;if(s!==null){e=s;continue}}var l=e.parent;for(e=e.next;e===null&&l!==null;)e=l.next,l=l.parent}return t}function d1(r){var t;for(Ha();Wr.length>0;)Ii=!0,rs(),Ha();return t}async function os(){await Promise.resolve(),d1()}function p(r){var t=r.f,e=(t&te)!==0;if(nt!==null&&!Kt){ue!==null&&ue.includes(r)&&qc();var o=nt.deps;r.rv<zi&&(r.rv=zi,zt===null&&o!==null&&o[Ht]===r?Ht++:zt===null?zt=[r]:(!Ie||!zt.includes(r))&&zt.push(r))}else if(e&&r.deps===null&&r.effects===null){var i=r,n=i.parent;n!==null&&(n.f&Gt)===0&&(i.f^=Gt)}return e&&(i=r,Gr(i)&&Za(i)),r.v}function ee(r){var t=Kt;try{return Kt=!0,r()}finally{Kt=t}}const u1=-7169;function fe(r,t){r.f=r.f&u1|t}function is(r){if(!(typeof r!="object"||!r||r instanceof EventTarget)){if(We in r)Nn(r);else if(!Array.isArray(r))for(let t in r){const e=r[t];typeof e=="object"&&e&&We in e&&Nn(e)}}}function Nn(r,t=new Set){if(typeof r=="object"&&r!==null&&!(r instanceof EventTarget)&&!t.has(r)){t.add(r),r instanceof Date&&r.getTime();for(let o in r)try{Nn(r[o],t)}catch{}const e=Mn(r);if(e!==Object.prototype&&e!==Array.prototype&&e!==Map.prototype&&e!==Set.prototype&&e!==Date.prototype){const o=Da(e);for(let i in o){const n=o[i].get;if(n)try{n.call(r)}catch{}}}}}function ns(r){at===null&&nt===null&&Vc(),nt!==null&&(nt.f&Gt)!==0&&at===null&&Hc(),Bn&&Pc()}function f1(r,t){var e=t.last;e===null?t.last=t.first=r:(e.next=r,r.prev=e,t.last=r)}function Cr(r,t,e,o=!0){var i=(r&jr)!==0,n=at,a={ctx:mt,deps:null,nodes_start:null,nodes_end:null,f:r|xe,first:null,fn:t,last:null,next:null,parent:i?null:n,prev:null,teardown:null,transitions:null,wv:0};if(e)try{jn(a),a.f|=Ma}catch(c){throw re(a),c}else t!==null&&Di(a);var s=e&&a.deps===null&&a.first===null&&a.nodes_start===null&&a.teardown===null&&(a.f&(Ra|Si))===0;if(!s&&!i&&o&&(n!==null&&f1(a,n),nt!==null&&(nt.f&te)!==0)){var l=nt;(l.effects??(l.effects=[])).push(a)}return a}function as(){return nt!==null&&!Kt}function h1(r){const t=Cr(_i,null,!1);return fe(t,Ot),t.teardown=r,t}function kr(r){ns();var t=at!==null&&(at.f&we)!==0&&mt!==null&&!mt.m;if(t){var e=mt;(e.e??(e.e=[])).push({fn:r,effect:at,reaction:nt})}else{var o=_r(r);return o}}function p1(r){return ns(),Te(r)}function g1(r){const t=Cr(jr,r,!0);return(e={})=>new Promise(o=>{e.outro?Ke(t,()=>{re(t),o(void 0)}):(re(t),o(void 0))})}function _r(r){return Cr(za,r,!1)}function Te(r){return Cr(_i,r,!0)}function A(r,t=[],e=j){const o=t.map(e);return Oe(()=>r(...o.map(p)))}function Oe(r,t=0){return Cr(_i|Ei|t,r,!0)}function he(r,t=!0){return Cr(_i|we,r,!0,t)}function ss(r){var t=r.teardown;if(t!==null){const e=Bn,o=nt;Ja(!0),ce(null);try{t.call(null)}finally{Ja(e),ce(o)}}}function ls(r,t=!1){var e=r.first;for(r.first=r.last=null;e!==null;){var o=e.next;re(e,t),e=o}}function v1(r){for(var t=r.first;t!==null;){var e=t.next;(t.f&we)===0&&re(t),t=e}}function re(r,t=!0){var e=!1;if((t||(r.f&Lc)!==0)&&r.nodes_start!==null){for(var o=r.nodes_start,i=r.nodes_end;o!==null;){var n=o===i?null:Ai(o);o.remove(),o=n}e=!0}ls(r,t&&!e),Ri(r,0),fe(r,Ui);var a=r.transitions;if(a!==null)for(const l of a)l.stop();ss(r);var s=r.parent;s!==null&&s.first!==null&&cs(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes_start=r.nodes_end=null}function cs(r){var t=r.parent,e=r.prev,o=r.next;e!==null&&(e.next=o),o!==null&&(o.prev=e),t!==null&&(t.first===r&&(t.first=o),t.last===r&&(t.last=e))}function Ke(r,t){var e=[];Zn(r,e,!0),ds(e,()=>{re(r),t&&t()})}function ds(r,t){var e=r.length;if(e>0){var o=()=>--e||t();for(var i of r)i.out(o)}else t()}function Zn(r,t,e){if((r.f&ye)===0){if(r.f^=ye,r.transitions!==null)for(const a of r.transitions)(a.is_global||e)&&t.push(a);for(var o=r.first;o!==null;){var i=o.next,n=(o.f&qe)!==0||(o.f&we)!==0;Zn(o,t,n?e:!1),o=i}}}function Kr(r){us(r,!0)}function us(r,t){if((r.f&ye)!==0){r.f^=ye,(r.f&Ot)===0&&(r.f^=Ot),Gr(r)&&(fe(r,xe),Di(r));for(var e=r.first;e!==null;){var o=e.next,i=(e.f&qe)!==0||(e.f&we)!==0;us(e,i?t:!1),e=o}if(r.transitions!==null)for(const n of r.transitions)(n.is_global||t)&&n.in()}}function fs(r){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let mt=null;function hs(r){mt=r}function st(r,t=!1,e){mt={p:mt,c:null,e:null,m:!1,s:r,x:null,l:null},yr&&!t&&(mt.l={s:null,u:null,r1:[],r2:Ct(!1)})}function lt(r){const t=mt;if(t!==null){const a=t.e;if(a!==null){var e=at,o=nt;t.e=null;try{for(var i=0;i<a.length;i++){var n=a[i];de(n.effect),ce(n.reaction),_r(n.fn)}}finally{de(e),ce(o)}}mt=t.p,t.m=!0}return{}}function Er(){return!yr||mt!==null&&mt.l===null}function b1(r){return r.endsWith("capture")&&r!=="gotpointercapture"&&r!=="lostpointercapture"}const m1=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function w1(r){return m1.includes(r)}const x1={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function y1(r){return r=r.toLowerCase(),x1[r]??r}const C1=["touchstart","touchmove"];function k1(r){return C1.includes(r)}function _1(r,t){if(t){const e=document.body;r.autofocus=!0,Zr(()=>{document.activeElement===e&&r.focus()})}}let ps=!1;function E1(){ps||(ps=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{var t;if(!r.defaultPrevented)for(const e of r.target.elements)(t=e.__on_r)==null||t.call(e)})},{capture:!0}))}function qn(r){var t=nt,e=at;ce(null),de(null);try{return r()}finally{ce(t),de(e)}}function S1(r,t,e,o=e){r.addEventListener(t,()=>qn(e));const i=r.__on_r;i?r.__on_r=()=>{i(),o(!0)}:r.__on_r=()=>o(!0),E1()}const gs=new Set,Wn=new Set;function Gn(r,t,e,o={}){function i(n){if(o.capture||Yr.call(t,n),!n.cancelBubble)return qn(()=>e==null?void 0:e.call(this,n))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?Zr(()=>{t.addEventListener(r,i,o)}):t.addEventListener(r,i,o),i}function Pi(r,t,e,o={}){var i=Gn(t,r,e,o);return()=>{r.removeEventListener(t,i,o)}}function Vt(r,t,e,o,i){var n={capture:o,passive:i},a=Gn(r,t,e,n);(t===document.body||t===window||t===document)&&h1(()=>{t.removeEventListener(r,a,n)})}function pe(r){for(var t=0;t<r.length;t++)gs.add(r[t]);for(var e of Wn)e(r)}function Yr(r){var y;var t=this,e=t.ownerDocument,o=r.type,i=((y=r.composedPath)==null?void 0:y.call(r))||[],n=i[0]||r.target,a=0,s=r.__root;if(s){var l=i.indexOf(s);if(l!==-1&&(t===document||t===window)){r.__root=t;return}var c=i.indexOf(t);if(c===-1)return;l<=c&&(a=l)}if(n=i[a]||r.target,n!==t){$c(r,"currentTarget",{configurable:!0,get(){return n||e}});var u=nt,f=at;ce(null),de(null);try{for(var d,h=[];n!==null;){var v=n.assignedSlot||n.parentNode||n.host||null;try{var b=n["__"+o];if(b!==void 0&&(!n.disabled||r.target===n))if(On(b)){var[w,..._]=b;w.apply(n,[r,..._])}else b.call(n,r)}catch(m){d?h.push(m):d=m}if(r.cancelBubble||v===t||v===null)break;n=v}if(d){for(let m of h)queueMicrotask(()=>{throw m});throw d}}finally{r.__root=t,delete r.currentTarget,ce(u),de(f)}}}function Kn(r){var t=document.createElement("template");return t.innerHTML=r,t.content}function Ye(r,t){var e=at;e.nodes_start===null&&(e.nodes_start=r,e.nodes_end=t)}function M(r,t){var e=(t&kc)!==0,o=(t&_c)!==0,i,n=!r.startsWith("<!>");return()=>{i===void 0&&(i=Kn(n?r:"<!>"+r),e||(i=Ge(i)));var a=o||Ga?document.importNode(i,!0):i.cloneNode(!0);if(e){var s=Ge(a),l=a.lastChild;Ye(s,l)}else Ye(a,a);return a}}function N(r,t,e="svg"){var o=!r.startsWith("<!>"),i=`<${e}>${o?r:"<!>"+r}</${e}>`,n;return()=>{if(!n){var a=Kn(i),s=Ge(a);n=Ge(s)}var l=n.cloneNode(!0);return Ye(l,l),l}}function Jr(r=""){{var t=qr(r+"");return Ye(t,t),t}}function Yt(){var r=document.createDocumentFragment(),t=document.createComment(""),e=qr();return r.append(t,e),Ye(t,e),r}function k(r,t){r!==null&&r.before(t)}let Hi=!0;function vs(r){Hi=r}function et(r,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(r.__t??(r.__t=r.nodeValue))&&(r.__t=e,r.nodeValue=e+"")}function bs(r,t){return L1(r,t)}const Sr=new Map;function L1(r,{target:t,anchor:e,props:o={},events:i,context:n,intro:a=!0}){t1();var s=new Set,l=f=>{for(var d=0;d<f.length;d++){var h=f[d];if(!s.has(h)){s.add(h);var v=k1(h);t.addEventListener(h,Yr,{passive:v});var b=Sr.get(h);b===void 0?(document.addEventListener(h,Yr,{passive:v}),Sr.set(h,1)):Sr.set(h,b+1)}}};l(zn(gs)),Wn.add(l);var c=void 0,u=g1(()=>{var f=e??t.appendChild(qr());return he(()=>{if(n){st({});var d=mt;d.c=n}i&&(o.$$events=i),Hi=a,c=r(f,o)||{},Hi=!0,n&<()}),()=>{var v;for(var d of s){t.removeEventListener(d,Yr);var h=Sr.get(d);--h===0?(document.removeEventListener(d,Yr),Sr.delete(d)):Sr.set(d,h)}Wn.delete(l),f!==e&&((v=f.parentNode)==null||v.removeChild(f))}});return U1.set(c,u),c}let U1=new WeakMap;function rt(r,t,e=!1){var o=r,i=null,n=null,a=Tt,s=e?qe:0,l=!1;const c=(f,d=!0)=>{l=!0,u(d,f)},u=(f,d)=>{a!==(a=f)&&(a?(i?Kr(i):d&&(i=he(()=>d(o))),n&&Ke(n,()=>{n=null})):(n?Kr(n):d&&(n=he(()=>d(o))),i&&Ke(i,()=>{i=null})))};Oe(()=>{l=!1,t(c),l||u(null,null)},s)}function Yn(r,t,e){var o=r,i=Tt,n,a=Er()?Dc:Dn;Oe(()=>{a(i,i=t())&&(n&&Ke(n),n=he(()=>e(o)))})}let Je=null;function ms(r){Je=r}function F1(r,t){return t}function A1(r,t,e,o){for(var i=[],n=t.length,a=0;a<n;a++)Zn(t[a].e,i,!0);var s=n>0&&i.length===0&&e!==null;if(s){var l=e.parentNode;e1(l),l.append(e),o.clear(),ze(r,t[0].prev,t[n-1].next)}ds(i,()=>{for(var c=0;c<n;c++){var u=t[c];s||(o.delete(u.k),ze(r,u.prev,u.next)),re(u.e,!s)}})}function Vi(r,t,e,o,i,n=null){var a=r,s={flags:t,items:new Map,first:null},l=(t&Br)!==0;if(l){var c=r;a=c.appendChild(qr())}var u=null,f=!1,d=Vn(()=>{var h=e();return On(h)?h:h==null?[]:zn(h)});Oe(()=>{var h=p(d),v=h.length;f&&v===0||(f=v===0,$1(h,s,a,i,t,o,e),n!==null&&(v===0?u?Kr(u):u=he(()=>n(a)):u!==null&&Ke(u,()=>{u=null})),p(d))})}function $1(r,t,e,o,i,n,a){var ht,xt,Ut,$t;var s=(i&hc)!==0,l=(i&(pt|kt))!==0,c=r.length,u=t.items,f=t.first,d=f,h,v=null,b,w=[],_=[],y,m,S,L;if(s)for(L=0;L<c;L+=1)y=r[L],m=n(y,L),S=u.get(m),S!==void 0&&((ht=S.a)==null||ht.measure(),(b??(b=new Set)).add(S));for(L=0;L<c;L+=1){if(y=r[L],m=n(y,L),S=u.get(m),S===void 0){var O=d?d.e.nodes_start:e;v=T1(O,t,v,v===null?t.first:v.next,y,m,L,o,i,a),u.set(m,v),w=[],_=[],d=v.next;continue}if(l&&I1(S,y,L,i),(S.e.f&ye)!==0&&(Kr(S.e),s&&((xt=S.a)==null||xt.unfix(),(b??(b=new Set)).delete(S))),S!==d){if(h!==void 0&&h.has(S)){if(w.length<_.length){var z=_[0],H;v=z.prev;var J=w[0],X=w[w.length-1];for(H=0;H<w.length;H+=1)ws(w[H],z,e);for(H=0;H<_.length;H+=1)h.delete(_[H]);ze(t,J.prev,X.next),ze(t,v,J),ze(t,X,z),d=z,v=X,L-=1,w=[],_=[]}else h.delete(S),ws(S,d,e),ze(t,S.prev,S.next),ze(t,S,v===null?t.first:v.next),ze(t,v,S),v=S;continue}for(w=[],_=[];d!==null&&d.k!==m;)(d.e.f&ye)===0&&(h??(h=new Set)).add(d),_.push(d),d=d.next;if(d===null)continue;S=d}w.push(S),v=S,d=S.next}if(d!==null||h!==void 0){for(var Q=h===void 0?[]:zn(h);d!==null;)(d.e.f&ye)===0&&Q.push(d),d=d.next;var G=Q.length;if(G>0){var gt=(i&Br)!==0&&c===0?e:null;if(s){for(L=0;L<G;L+=1)(Ut=Q[L].a)==null||Ut.measure();for(L=0;L<G;L+=1)($t=Q[L].a)==null||$t.fix()}A1(t,Q,gt,u)}}s&&Zr(()=>{var Ft;if(b!==void 0)for(S of b)(Ft=S.a)==null||Ft.apply()}),at.first=t.first&&t.first.e,at.last=v&&v.e}function I1(r,t,e,o){(o&pt)!==0&&Hn(r.v,t),(o&kt)!==0?Hn(r.i,e):r.i=e}function T1(r,t,e,o,i,n,a,s,l,c){var u=Je,f=(l&pt)!==0,d=(l&pc)===0,h=f?d?Ba(i):Ct(i):i,v=(l&kt)===0?a:Ct(a),b={i:v,v:h,k:n,a:null,e:null,prev:e,next:o};Je=b;try{return b.e=he(()=>s(r,h,v,c),Qc),b.e.prev=e&&e.e,b.e.next=o&&o.e,e===null?t.first=b:(e.next=b,e.e.next=b.e),o!==null&&(o.prev=b,o.e.prev=b.e),b}finally{Je=u}}function ws(r,t,e){for(var o=r.next?r.next.e.nodes_start:e,i=t?t.e.nodes_start:e,n=r.e.nodes_start;n!==o;){var a=Ai(n);i.before(n),n=a}}function ze(r,t,e){t===null?r.first=e:(t.next=e,t.e.next=e&&e.e),e!==null&&(e.prev=t,e.e.prev=t&&t.e)}function Xr(r,t,e,o,i){var n=r,a="",s;Oe(()=>{a!==(a=t()??"")&&(s!==void 0&&(re(s),s=void 0),a!==""&&(s=he(()=>{var l=a+"",c=Kn(l);Ye(Ge(c),c.lastChild),n.before(c)})))})}function Me(r,t,...e){var o=r,i=$e,n;Oe(()=>{i!==(i=t())&&(n&&(re(n),n=null),n=he(()=>i(o,...e)))},qe)}function Bi(r,t,e){var o=r,i,n;Oe(()=>{i!==(i=t())&&(n&&(Ke(n),n=null),i&&(n=he(()=>e(o,i))))},qe)}function O1(r,t,e,o,i,n){var a,s,l=null,c=r,u,f=Je;Oe(()=>{const d=t()||null;var h=d==="svg"?Ec:null;if(d!==a){var v=Je;ms(f),u&&(d===null?Ke(u,()=>{u=null,s=null}):d===s?Kr(u):(re(u),vs(!1))),d&&d!==s&&(u=he(()=>{if(l=h?document.createElementNS(h,d):document.createElement(d),Ye(l,l),o){var b=l.appendChild(qr());o(l,b)}at.nodes_end=l,c.before(l)})),a=d,a&&(s=a),vs(!0),ms(v)}},qe)}function z1(r,t,e){_r(()=>{var o=ee(()=>t(r,e==null?void 0:e())||{});if(e&&(o!=null&&o.update)){var i=!1,n={};Te(()=>{var a=e();is(a),i&&Dn(n,a)&&(n=a,o.update(a))}),i=!0}if(o!=null&&o.destroy)return()=>o.destroy()})}function xs(r){var t,e,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r)){var i=r.length;for(t=0;t<i;t++)r[t]&&(e=xs(r[t]))&&(o&&(o+=" "),o+=e)}else for(e in r)r[e]&&(o&&(o+=" "),o+=e);return o}function M1(){for(var r,t,e=0,o="",i=arguments.length;e<i;e++)(r=arguments[e])&&(t=xs(r))&&(o&&(o+=" "),o+=t);return o}function Z(r){return typeof r=="object"?M1(r):r??""}const ys=[...`
|
|
2
|
+
\r\f \v\uFEFF`];function R1(r,t,e){var o=r==null?"":""+r;if(t&&(o=o?o+" "+t:t),e){for(var i in e)if(e[i])o=o?o+" "+i:i;else if(o.length)for(var n=i.length,a=0;(a=o.indexOf(i,a))>=0;){var s=a+n;(a===0||ys.includes(o[a-1]))&&(s===o.length||ys.includes(o[s]))?o=(a===0?"":o.substring(0,a))+o.substring(s+1):a=s}}return o===""?null:o}function V(r,t,e,o,i,n){var a=r.__className;if(a!==e){var s=R1(e,o,n);s==null?r.removeAttribute("class"):t?r.className=s:r.setAttribute("class",s),r.__className=e}else if(n)for(var l in n){var c=!!n[l];(i==null||c!==!!i[l])&&r.classList.toggle(l,c)}return n}const Xe=Symbol("class");function D1(r,t){t?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function it(r,t,e,o){var i=r.__attributes??(r.__attributes={});i[t]!==(i[t]=e)&&(t==="style"&&"__styles"in r&&(r.__styles={}),t==="loading"&&(r[Fc]=e),e==null?r.removeAttribute(t):typeof e!="string"&&ks(r).includes(t)?r[t]=e:r.setAttribute(t,e))}function D(r,t,e,o,i=!1,n=!1,a=!1){var s=t||{},l=r.tagName==="OPTION";for(var c in t)c in e||(e[c]=null);e.class?e.class=Z(e.class):e[Xe]&&(e.class=null);var u=ks(r),f=r.__attributes??(r.__attributes={});for(const y in e){let m=e[y];if(l&&y==="value"&&m==null){r.value=r.__value="",s[y]=m;continue}if(y==="class"){var d=r.namespaceURI==="http://www.w3.org/1999/xhtml";V(r,d,m,o,t==null?void 0:t[Xe],e[Xe]),s[y]=m,s[Xe]=e[Xe];continue}var h=s[y];if(m!==h){s[y]=m;var v=y[0]+y[1];if(v!=="$$"){if(v==="on"){const S={},L="$$"+y;let O=y.slice(2);var b=w1(O);if(b1(O)&&(O=O.slice(0,-7),S.capture=!0),!b&&h){if(m!=null)continue;r.removeEventListener(O,s[L],S),s[L]=null}if(m!=null)if(b)r[`__${O}`]=m,pe([O]);else{let z=function(H){s[y].call(this,H)};s[L]=Gn(O,r,z,S)}else b&&(r[`__${O}`]=void 0)}else if(y==="style"&&m!=null)r.style.cssText=m+"";else if(y==="autofocus")_1(r,!!m);else if(!n&&(y==="__value"||y==="value"&&m!=null))r.value=r.__value=m;else if(y==="selected"&&l)D1(r,m);else{var w=y;i||(w=y1(w));var _=w==="defaultValue"||w==="defaultChecked";if(m==null&&!n&&!_)if(f[y]=null,w==="value"||w==="checked"){let S=r;const L=t===void 0;if(w==="value"){let O=S.defaultValue;S.removeAttribute(w),S.defaultValue=O,S.value=S.__value=L?O:null}else{let O=S.defaultChecked;S.removeAttribute(w),S.defaultChecked=O,S.checked=L?O:!1}}else r.removeAttribute(y);else _||u.includes(w)&&(n||typeof m!="string")?r[w]=m:typeof m!="function"&&it(r,w,m)}y==="style"&&"__styles"in r&&(r.__styles={})}}}return s}var Cs=new Map;function ks(r){var t=Cs.get(r.nodeName);if(t)return t;Cs.set(r.nodeName,t=[]);for(var e,o=r,i=Element.prototype;i!==o;){e=Da(o);for(var n in e)e[n].set&&t.push(n);o=Mn(o)}return t}const P1=()=>performance.now(),oe={tick:r=>requestAnimationFrame(r),now:()=>P1(),tasks:new Set};function _s(){const r=oe.now();oe.tasks.forEach(t=>{t.c(r)||(oe.tasks.delete(t),t.f())}),oe.tasks.size!==0&&oe.tick(_s)}function Jn(r){let t;return oe.tasks.size===0&&oe.tick(_s),{promise:new Promise(e=>{oe.tasks.add(t={c:r,f:e})}),abort(){oe.tasks.delete(t)}}}function ji(r,t){qn(()=>{r.dispatchEvent(new CustomEvent(t))})}function H1(r){if(r==="float")return"cssFloat";if(r==="offset")return"cssOffset";if(r.startsWith("--"))return r;const t=r.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function Es(r){const t={},e=r.split(";");for(const o of e){const[i,n]=o.split(":");if(!i||n===void 0)break;const a=H1(i.trim());t[a]=n.trim()}return t}const V1=r=>r;function B1(r,t,e){var o=Je,i,n,a,s=null;o.a??(o.a={element:r,measure(){i=this.element.getBoundingClientRect()},apply(){if(a==null||a.abort(),n=this.element.getBoundingClientRect(),i.left!==n.left||i.right!==n.right||i.top!==n.top||i.bottom!==n.bottom){const l=t()(this.element,{from:i,to:n},e==null?void 0:e());a=Ni(this.element,l,void 0,1,()=>{a==null||a.abort(),a=void 0})}},fix(){if(!r.getAnimations().length){var{position:l,width:c,height:u}=getComputedStyle(r);if(l!=="absolute"&&l!=="fixed"){var f=r.style;s={position:f.position,width:f.width,height:f.height,transform:f.transform},f.position="absolute",f.width=c,f.height=u;var d=r.getBoundingClientRect();if(i.left!==d.left||i.top!==d.top){var h=`translate(${i.left-d.left}px, ${i.top-d.top}px)`;f.transform=f.transform?`${f.transform} ${h}`:h}}}},unfix(){if(s){var l=r.style;l.position=s.position,l.width=s.width,l.height=s.height,l.transform=s.transform}}}),o.a.element=r}function ut(r,t,e,o){var i=(r&xc)!==0,n=(r&yc)!==0,a=i&&n,s=(r&Cc)!==0,l=a?"both":i?"in":"out",c,u=t.inert,f=t.style.overflow,d,h;function v(){var m=nt,S=at;ce(null),de(null);try{return c??(c=e()(t,(o==null?void 0:o())??{},{direction:l}))}finally{ce(m),de(S)}}var b={is_global:s,in(){var m;if(t.inert=u,!i){h==null||h.abort(),(m=h==null?void 0:h.reset)==null||m.call(h);return}n||d==null||d.abort(),ji(t,"introstart"),d=Ni(t,v(),h,1,()=>{ji(t,"introend"),d==null||d.abort(),d=c=void 0,t.style.overflow=f})},out(m){if(!n){m==null||m(),c=void 0;return}t.inert=!0,ji(t,"outrostart"),h=Ni(t,v(),d,0,()=>{ji(t,"outroend"),m==null||m()})},stop:()=>{d==null||d.abort(),h==null||h.abort()}},w=at;if((w.transitions??(w.transitions=[])).push(b),i&&Hi){var _=s;if(!_){for(var y=w.parent;y&&(y.f&qe)!==0;)for(;(y=y.parent)&&(y.f&Ei)===0;);_=!y||(y.f&Ma)!==0}_&&_r(()=>{ee(()=>b.in())})}}function Ni(r,t,e,o,i){var n=o===1;if(Oc(t)){var a,s=!1;return Zr(()=>{if(!s){var w=t({direction:n?"in":"out"});a=Ni(r,w,e,o,i)}}),{abort:()=>{s=!0,a==null||a.abort()},deactivate:()=>a.deactivate(),reset:()=>a.reset(),t:()=>a.t()}}if(e==null||e.deactivate(),!(t!=null&&t.duration))return i(),{abort:$e,deactivate:$e,reset:$e,t:()=>o};const{delay:l=0,css:c,tick:u,easing:f=V1}=t;var d=[];if(n&&e===void 0&&(u&&u(0,1),c)){var h=Es(c(0,1));d.push(h,h)}var v=()=>1-o,b=r.animate(d,{duration:l});return b.onfinish=()=>{var w=(e==null?void 0:e.t())??1-o;e==null||e.abort();var _=o-w,y=t.duration*Math.abs(_),m=[];if(y>0){var S=!1;if(c)for(var L=Math.ceil(y/16.666666666666668),O=0;O<=L;O+=1){var z=w+_*f(O/L),H=Es(c(z,1-z));m.push(H),S||(S=H.overflow==="hidden")}S&&(r.style.overflow="hidden"),v=()=>{var J=b.currentTime;return w+_*f(J/y)},u&&Jn(()=>{if(b.playState!=="running")return!1;var J=v();return u(J,1-J),!0})}b=r.animate(m,{duration:y,fill:"forwards"}),b.onfinish=()=>{v=()=>o,u==null||u(o,1-o),i()}},{abort:()=>{b&&(b.cancel(),b.effect=null,b.onfinish=$e)},deactivate:()=>{i=$e},reset:()=>{o===0&&(u==null||u(1,0))},t:()=>v()}}function j1(r,t,e=t){var o=Er();S1(r,"input",i=>{var n=i?r.defaultValue:r.value;if(n=Xn(r)?Qn(n):n,e(n),o&&n!==(n=t())){var a=r.selectionStart,s=r.selectionEnd;r.value=n??"",s!==null&&(r.selectionStart=a,r.selectionEnd=Math.min(s,r.value.length))}}),ee(t)==null&&r.value&&e(Xn(r)?Qn(r.value):r.value),Te(()=>{var i=t();Xn(r)&&i===Qn(r.value)||r.type==="date"&&!i&&!r.value||i!==r.value&&(r.value=i??"")})}function Xn(r){var t=r.type;return t==="number"||t==="range"}function Qn(r){return r===""?null:+r}const yn=class yn{constructor(t){F(this,xn);F(this,Be,new WeakMap);F(this,zr);F(this,so);yt(this,so,t)}observe(t,e){var o=g(this,Be).get(t)||new Set;return o.add(e),g(this,Be).set(t,o),Ta(this,xn,uc).call(this).observe(t,g(this,so)),()=>{var i=g(this,Be).get(t);i.delete(e),i.size===0&&(g(this,Be).delete(t),g(this,zr).unobserve(t))}}};Be=new WeakMap,zr=new WeakMap,so=new WeakMap,xn=new WeakSet,uc=function(){return g(this,zr)??yt(this,zr,new ResizeObserver(t=>{for(var e of t){yn.entries.set(e.target,e);for(var o of g(this,Be).get(e.target)||[])o(e)}}))},Et(yn,"entries",new WeakMap);let ta=yn;var N1=new ta({box:"border-box"});function ea(r,t,e){var o=N1.observe(r,()=>e(r[t]));_r(()=>(ee(()=>e(r[t])),o))}function Ss(r,t){return r===t||(r==null?void 0:r[We])===t}function Qe(r={},t,e,o){return _r(()=>{var i,n;return Te(()=>{i=n,n=[],ee(()=>{r!==e(...n)&&(t(r,...n),i&&Ss(e(...i),r)&&t(null,...i))})}),()=>{Zr(()=>{n&&Ss(e(...n),r)&&t(null,...n)})}}),r}function Z1(r,t,e,o=e){t.addEventListener("input",()=>{o(t[r])}),Te(()=>{var i=e();if(t[r]!==i)if(i==null){var n=t[r];o(n)}else t[r]=i+""})}function Re(r=!1){const t=mt,e=t.l.u;if(!e)return;let o=()=>is(t.s);if(r){let i=0,n={};const a=j(()=>{let s=!1;const l=t.s;for(const c in l)l[c]!==n[c]&&(n[c]=l[c],s=!0);return s&&i++,i});o=()=>p(a)}e.b.length&&p1(()=>{Ls(t,o),Fi(e.b)}),kr(()=>{const i=ee(()=>e.m.map(zc));return()=>{for(const n of i)typeof n=="function"&&n()}}),e.a.length&&kr(()=>{Ls(t,o),Fi(e.a)})}function Ls(r,t){if(r.l.s)for(const e of r.l.s)p(e);t()}function ra(r){var t=Ct(0);return function(){return arguments.length===1?(E(t,p(t)+1),arguments[0]):(p(t),r())}}function Qr(r){mt===null&&fs(),yr&&mt.l!==null?W1(mt).m.push(r):kr(()=>{const t=ee(r);if(typeof t=="function")return t})}function q1(r){mt===null&&fs(),Qr(()=>()=>ee(r))}function W1(r){var t=r.l;return t.u??(t.u={a:[],b:[],m:[]})}let Zi=!1;function G1(r){var t=Zi;try{return Zi=!1,[r(),Zi]}finally{Zi=t}}const K1={get(r,t){if(!r.exclude.includes(t))return r.props[t]},set(r,t){return!1},getOwnPropertyDescriptor(r,t){if(!r.exclude.includes(t)&&t in r.props)return{enumerable:!0,configurable:!0,value:r.props[t]}},has(r,t){return r.exclude.includes(t)?!1:t in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(t=>!r.exclude.includes(t))}};function P(r,t,e){return new Proxy({props:r,exclude:t},K1)}function K(r,t,e,o){var O;var i=(e&gc)!==0,n=!yr||(e&vc)!==0,a=(e&mc)!==0,s=(e&wc)!==0,l=!1,c;a?[c,l]=G1(()=>r[t]):c=r[t];var u=We in r||Uc in r,f=a&&(((O=xr(r,t))==null?void 0:O.set)??(u&&t in r&&(z=>r[t]=z)))||void 0,d=o,h=!0,v=!1,b=()=>(v=!0,h&&(h=!1,s?d=ee(o):d=o),d);c===void 0&&o!==void 0&&(f&&n&&jc(),c=b(),f&&f(c));var w;if(n)w=()=>{var z=r[t];return z===void 0?b():(h=!0,v=!1,z)};else{var _=(i?j:Vn)(()=>r[t]);_.f|=Sc,w=()=>{var z=p(_);return z!==void 0&&(d=void 0),z===void 0?d:z}}if((e&bc)===0)return w;if(f){var y=r.$$legacy;return function(z,H){return arguments.length>0?((!n||!H||y||l)&&f(H?w():z),z):w()}}var m=!1,S=Ba(c),L=j(()=>{var z=w(),H=p(S);return m?(m=!1,H):S.v=z});return i||(L.equals=Pn),function(z,H){if(arguments.length>0){const J=H?p(L):n&&a?I(z):z;return L.equals(J)||(m=!0,E(S,J),v&&d!==void 0&&(d=J),ee(()=>p(L))),z}return p(L)}}function Y1(r,t){if(r.match(/^[a-z]+:\/\//i))return r;if(r.match(/^\/\//))return window.location.protocol+r;if(r.match(/^[a-z]+:/i))return r;const e=document.implementation.createHTMLDocument(),o=e.createElement("base"),i=e.createElement("a");return e.head.appendChild(o),e.body.appendChild(i),t&&(o.href=t),i.href=r,i.href}const J1=(()=>{let r=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(r+=1,`u${t()}${r}`)})();function De(r){const t=[];for(let e=0,o=r.length;e<o;e++)t.push(r[e]);return t}let Lr=null;function Us(r={}){return Lr||(r.includeStyleProperties?(Lr=r.includeStyleProperties,Lr):(Lr=De(window.getComputedStyle(document.documentElement)),Lr))}function qi(r,t){const o=(r.ownerDocument.defaultView||window).getComputedStyle(r).getPropertyValue(t);return o?parseFloat(o.replace("px","")):0}function X1(r){const t=qi(r,"border-left-width"),e=qi(r,"border-right-width");return r.clientWidth+t+e}function Q1(r){const t=qi(r,"border-top-width"),e=qi(r,"border-bottom-width");return r.clientHeight+t+e}function Fs(r,t={}){const e=t.width||X1(r),o=t.height||Q1(r);return{width:e,height:o}}function t0(){let r,t;try{t=process}catch{}const e=t&&t.env?t.env.devicePixelRatio:null;return e&&(r=parseInt(e,10),Number.isNaN(r)&&(r=1)),r||window.devicePixelRatio||1}const Bt=16384;function e0(r){(r.width>Bt||r.height>Bt)&&(r.width>Bt&&r.height>Bt?r.width>r.height?(r.height*=Bt/r.width,r.width=Bt):(r.width*=Bt/r.height,r.height=Bt):r.width>Bt?(r.height*=Bt/r.width,r.width=Bt):(r.width*=Bt/r.height,r.height=Bt))}function Wi(r){return new Promise((t,e)=>{const o=new Image;o.onload=()=>{o.decode().then(()=>{requestAnimationFrame(()=>t(o))})},o.onerror=e,o.crossOrigin="anonymous",o.decoding="async",o.src=r})}async function r0(r){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(r)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function o0(r,t,e){const o="http://www.w3.org/2000/svg",i=document.createElementNS(o,"svg"),n=document.createElementNS(o,"foreignObject");return i.setAttribute("width",`${t}`),i.setAttribute("height",`${e}`),i.setAttribute("viewBox",`0 0 ${t} ${e}`),n.setAttribute("width","100%"),n.setAttribute("height","100%"),n.setAttribute("x","0"),n.setAttribute("y","0"),n.setAttribute("externalResourcesRequired","true"),i.appendChild(n),n.appendChild(r),r0(i)}const Rt=(r,t)=>{if(r instanceof t)return!0;const e=Object.getPrototypeOf(r);return e===null?!1:e.constructor.name===t.name||Rt(e,t)};function i0(r){const t=r.getPropertyValue("content");return`${r.cssText} content: '${t.replace(/'|"/g,"")}';`}function n0(r,t){return Us(t).map(e=>{const o=r.getPropertyValue(e),i=r.getPropertyPriority(e);return`${e}: ${o}${i?" !important":""};`}).join(" ")}function a0(r,t,e,o){const i=`.${r}:${t}`,n=e.cssText?i0(e):n0(e,o);return document.createTextNode(`${i}{${n}}`)}function As(r,t,e,o){const i=window.getComputedStyle(r,e),n=i.getPropertyValue("content");if(n===""||n==="none")return;const a=J1();try{t.className=`${t.className} ${a}`}catch{return}const s=document.createElement("style");s.appendChild(a0(a,e,i,o)),t.appendChild(s)}function s0(r,t,e){As(r,t,":before",e),As(r,t,":after",e)}const $s="application/font-woff",Is="image/jpeg",l0={woff:$s,woff2:$s,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Is,jpeg:Is,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function c0(r){const t=/\.([^./]*?)$/g.exec(r);return t?t[1]:""}function oa(r){const t=c0(r).toLowerCase();return l0[t]||""}function d0(r){return r.split(/,/)[1]}function ia(r){return r.search(/^(data:)/)!==-1}function u0(r,t){return`data:${t};base64,${r}`}async function Ts(r,t,e){const o=await fetch(r,t);if(o.status===404)throw new Error(`Resource "${o.url}" not found`);const i=await o.blob();return new Promise((n,a)=>{const s=new FileReader;s.onerror=a,s.onloadend=()=>{try{n(e({res:o,result:s.result}))}catch(l){a(l)}},s.readAsDataURL(i)})}const na={};function f0(r,t,e){let o=r.replace(/\?.*/,"");return e&&(o=r),/ttf|otf|eot|woff2?/i.test(o)&&(o=o.replace(/.*\//,"")),t?`[${t}]${o}`:o}async function aa(r,t,e){const o=f0(r,t,e.includeQueryParams);if(na[o]!=null)return na[o];e.cacheBust&&(r+=(/\?/.test(r)?"&":"?")+new Date().getTime());let i;try{const n=await Ts(r,e.fetchRequestInit,({res:a,result:s})=>(t||(t=a.headers.get("Content-Type")||""),d0(s)));i=u0(n,t)}catch(n){i=e.imagePlaceholder||"";let a=`Failed to fetch resource: ${r}`;n&&(a=typeof n=="string"?n:n.message),a&&console.warn(a)}return na[o]=i,i}async function h0(r){const t=r.toDataURL();return t==="data:,"?r.cloneNode(!1):Wi(t)}async function p0(r,t){if(r.currentSrc){const n=document.createElement("canvas"),a=n.getContext("2d");n.width=r.clientWidth,n.height=r.clientHeight,a==null||a.drawImage(r,0,0,n.width,n.height);const s=n.toDataURL();return Wi(s)}const e=r.poster,o=oa(e),i=await aa(e,o,t);return Wi(i)}async function g0(r,t){var e;try{if(!((e=r==null?void 0:r.contentDocument)===null||e===void 0)&&e.body)return await Gi(r.contentDocument.body,t,!0)}catch{}return r.cloneNode(!1)}async function v0(r,t){return Rt(r,HTMLCanvasElement)?h0(r):Rt(r,HTMLVideoElement)?p0(r,t):Rt(r,HTMLIFrameElement)?g0(r,t):r.cloneNode(Os(r))}const b0=r=>r.tagName!=null&&r.tagName.toUpperCase()==="SLOT",Os=r=>r.tagName!=null&&r.tagName.toUpperCase()==="SVG";async function m0(r,t,e){var o,i;if(Os(t))return t;let n=[];return b0(r)&&r.assignedNodes?n=De(r.assignedNodes()):Rt(r,HTMLIFrameElement)&&(!((o=r.contentDocument)===null||o===void 0)&&o.body)?n=De(r.contentDocument.body.childNodes):n=De(((i=r.shadowRoot)!==null&&i!==void 0?i:r).childNodes),n.length===0||Rt(r,HTMLVideoElement)||await n.reduce((a,s)=>a.then(()=>Gi(s,e)).then(l=>{l&&t.appendChild(l)}),Promise.resolve()),t}function w0(r,t,e){const o=t.style;if(!o)return;const i=window.getComputedStyle(r);i.cssText?(o.cssText=i.cssText,o.transformOrigin=i.transformOrigin):Us(e).forEach(n=>{let a=i.getPropertyValue(n);n==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),Rt(r,HTMLIFrameElement)&&n==="display"&&a==="inline"&&(a="block"),n==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),o.setProperty(n,a,i.getPropertyPriority(n))})}function x0(r,t){Rt(r,HTMLTextAreaElement)&&(t.innerHTML=r.value),Rt(r,HTMLInputElement)&&t.setAttribute("value",r.value)}function y0(r,t){if(Rt(r,HTMLSelectElement)){const e=t,o=Array.from(e.children).find(i=>r.value===i.getAttribute("value"));o&&o.setAttribute("selected","")}}function C0(r,t,e){return Rt(t,Element)&&(w0(r,t,e),s0(r,t,e),x0(r,t),y0(r,t)),t}async function k0(r,t){const e=r.querySelectorAll?r.querySelectorAll("use"):[];if(e.length===0)return r;const o={};for(let n=0;n<e.length;n++){const s=e[n].getAttribute("xlink:href");if(s){const l=r.querySelector(s),c=document.querySelector(s);!l&&c&&!o[s]&&(o[s]=await Gi(c,t,!0))}}const i=Object.values(o);if(i.length){const n="http://www.w3.org/1999/xhtml",a=document.createElementNS(n,"svg");a.setAttribute("xmlns",n),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const s=document.createElementNS(n,"defs");a.appendChild(s);for(let l=0;l<i.length;l++)s.appendChild(i[l]);r.appendChild(a)}return r}async function Gi(r,t,e){return!e&&t.filter&&!t.filter(r)?null:Promise.resolve(r).then(o=>v0(o,t)).then(o=>m0(r,o,t)).then(o=>C0(r,o,t)).then(o=>k0(o,t))}const zs=/url\((['"]?)([^'"]+?)\1\)/g,_0=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,E0=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function S0(r){const t=r.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function L0(r){const t=[];return r.replace(zs,(e,o,i)=>(t.push(i),e)),t.filter(e=>!ia(e))}async function U0(r,t,e,o,i){try{const n=e?Y1(t,e):t,a=oa(t);let s;return i||(s=await aa(n,a,o)),r.replace(S0(t),`$1${s}$3`)}catch{}return r}function F0(r,{preferredFontFormat:t}){return t?r.replace(E0,e=>{for(;;){const[o,,i]=_0.exec(e)||[];if(!i)return"";if(i===t)return`src: ${o};`}}):r}function Ms(r){return r.search(zs)!==-1}async function Rs(r,t,e){if(!Ms(r))return r;const o=F0(r,e);return L0(o).reduce((n,a)=>n.then(s=>U0(s,a,t,e)),Promise.resolve(o))}async function Ur(r,t,e){var o;const i=(o=t.style)===null||o===void 0?void 0:o.getPropertyValue(r);if(i){const n=await Rs(i,null,e);return t.style.setProperty(r,n,t.style.getPropertyPriority(r)),!0}return!1}async function A0(r,t){await Ur("background",r,t)||await Ur("background-image",r,t),await Ur("mask",r,t)||await Ur("-webkit-mask",r,t)||await Ur("mask-image",r,t)||await Ur("-webkit-mask-image",r,t)}async function $0(r,t){const e=Rt(r,HTMLImageElement);if(!(e&&!ia(r.src))&&!(Rt(r,SVGImageElement)&&!ia(r.href.baseVal)))return;const o=e?r.src:r.href.baseVal,i=await aa(o,oa(o),t);await new Promise((n,a)=>{r.onload=n,r.onerror=t.onImageErrorHandler?(...l)=>{try{n(t.onImageErrorHandler(...l))}catch(c){a(c)}}:a;const s=r;s.decode&&(s.decode=n),s.loading==="lazy"&&(s.loading="eager"),e?(r.srcset="",r.src=i):r.href.baseVal=i})}async function I0(r,t){const o=De(r.childNodes).map(i=>Ds(i,t));await Promise.all(o).then(()=>r)}async function Ds(r,t){Rt(r,Element)&&(await A0(r,t),await $0(r,t),await I0(r,t))}function T0(r,t){const{style:e}=r;t.backgroundColor&&(e.backgroundColor=t.backgroundColor),t.width&&(e.width=`${t.width}px`),t.height&&(e.height=`${t.height}px`);const o=t.style;return o!=null&&Object.keys(o).forEach(i=>{e[i]=o[i]}),r}const Ps={};async function Hs(r){let t=Ps[r];if(t!=null)return t;const o=await(await fetch(r)).text();return t={url:r,cssText:o},Ps[r]=t,t}async function Vs(r,t){let e=r.cssText;const o=/url\(["']?([^"')]+)["']?\)/g,n=(e.match(/url\([^)]+\)/g)||[]).map(async a=>{let s=a.replace(o,"$1");return s.startsWith("https://")||(s=new URL(s,r.url).href),Ts(s,t.fetchRequestInit,({result:l})=>(e=e.replace(a,`url(${l})`),[a,l]))});return Promise.all(n).then(()=>e)}function Bs(r){if(r==null)return[];const t=[],e=/(\/\*[\s\S]*?\*\/)/gi;let o=r.replace(e,"");const i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=i.exec(o);if(l===null)break;t.push(l[0])}o=o.replace(i,"");const n=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(a,"gi");for(;;){let l=n.exec(o);if(l===null){if(l=s.exec(o),l===null)break;n.lastIndex=s.lastIndex}else s.lastIndex=n.lastIndex;t.push(l[0])}return t}async function O0(r,t){const e=[],o=[];return r.forEach(i=>{if("cssRules"in i)try{De(i.cssRules||[]).forEach((n,a)=>{if(n.type===CSSRule.IMPORT_RULE){let s=a+1;const l=n.href,c=Hs(l).then(u=>Vs(u,t)).then(u=>Bs(u).forEach(f=>{try{i.insertRule(f,f.startsWith("@import")?s+=1:i.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});o.push(c)}})}catch(n){const a=r.find(s=>s.href==null)||document.styleSheets[0];i.href!=null&&o.push(Hs(i.href).then(s=>Vs(s,t)).then(s=>Bs(s).forEach(l=>{a.insertRule(l,a.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",n)}}),Promise.all(o).then(()=>(r.forEach(i=>{if("cssRules"in i)try{De(i.cssRules||[]).forEach(n=>{e.push(n)})}catch(n){console.error(`Error while reading CSS rules from ${i.href}`,n)}}),e))}function z0(r){return r.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>Ms(t.style.getPropertyValue("src")))}async function M0(r,t){if(r.ownerDocument==null)throw new Error("Provided element is not within a Document");const e=De(r.ownerDocument.styleSheets),o=await O0(e,t);return z0(o)}function js(r){return r.trim().replace(/["']/g,"")}function R0(r){const t=new Set;function e(o){(o.style.fontFamily||getComputedStyle(o).fontFamily).split(",").forEach(n=>{t.add(js(n))}),Array.from(o.children).forEach(n=>{n instanceof HTMLElement&&e(n)})}return e(r),t}async function D0(r,t){const e=await M0(r,t),o=R0(r);return(await Promise.all(e.filter(n=>o.has(js(n.style.fontFamily))).map(n=>{const a=n.parentStyleSheet?n.parentStyleSheet.href:null;return Rs(n.cssText,a,t)}))).join(`
|
|
3
|
+
`)}async function P0(r,t){const e=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await D0(r,t);if(e){const o=document.createElement("style"),i=document.createTextNode(e);o.appendChild(i),r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o)}}async function H0(r,t={}){const{width:e,height:o}=Fs(r,t),i=await Gi(r,t,!0);return await P0(i,t),await Ds(i,t),T0(i,t),await o0(i,e,o)}async function V0(r,t={}){const{width:e,height:o}=Fs(r,t),i=await H0(r,t),n=await Wi(i),a=document.createElement("canvas"),s=a.getContext("2d"),l=t.pixelRatio||t0(),c=t.canvasWidth||e,u=t.canvasHeight||o;return a.width=c*l,a.height=u*l,t.skipAutoScale||e0(a),a.style.width=`${c}`,a.style.height=`${u}`,t.backgroundColor&&(s.fillStyle=t.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(n,0,0,a.width,a.height),a}async function B0(r,t={}){return(await V0(r,t)).toDataURL()}const Ki=typeof window<"u",Yi=(r,t={})=>r?t[r.status]||r:null,j0=()=>{const r=document.activeElement,t=["INPUT","TEXTAREA","SELECT","OPTION"],e=r.hasAttribute("contenteditable")&&r.getAttribute("contenteditable")!=="false";return t.includes(r.tagName)||e},N0=(r,t="screenshot.png")=>{const e=document.createElement("a");e.href=r,e.download=t,document.body.appendChild(e),e.click(),document.body.removeChild(e)},Z0=r=>B0(r).catch(t=>{throw console.error("Error capturing screenshot:",t),t}),ke=(r,t)=>(r.match(t)||[])[2];class q0{constructor(){Et(this,"sortDesc",(t,e)=>(e!=null&&e.updated?new Date(e==null?void 0:e.updated):new Date(e==null?void 0:e.created))-(t!=null&&t.updated?new Date(t==null?void 0:t.updated):new Date(t==null?void 0:t.created)));Et(this,"sortAsc",(t,e)=>(t!=null&&t.updated?new Date(t==null?void 0:t.updated):new Date(t==null?void 0:t.created))-(e!=null&&e.updated?new Date(e==null?void 0:e.updated):new Date(e==null?void 0:e.created)));Et(this,"getResolution",()=>{const t=window.innerWidth,e=window.innerHeight;return{w:t,h:e}});Et(this,"getBrowser",()=>{const t=navigator.userAgent;let e="unknown";switch(e=/ucbrowser/i.test(t)?"UCBrowser":e,e=/edg/i.test(t)?"Edge":e,e=/googlebot/i.test(t)?"GoogleBot":e,e=/chromium/i.test(t)?"Chromium":e,e=/firefox|fxios/i.test(t)&&!/seamonkey/i.test(t)?"Firefox":e,e=/; msie|trident/i.test(t)&&!/ucbrowser/i.test(t)?"IE":e,e=/chrome|crios/i.test(t)&&!/opr|opera|chromium|edg|ucbrowser|googlebot/i.test(t)?"Chrome":e,e=/safari/i.test(t)&&!/chromium|edg|ucbrowser|chrome|crios|opr|opera|fxios|firefox/i.test(t)?"Safari":e,e=/opr|opera/i.test(t)?"Opera":e,e){case"UCBrowser":return{name:e,v:ke(t,/(ucbrowser)\/([\d\.]+)/i)};case"Edge":return{name:e,v:ke(t,/(edge|edga|edgios|edg)\/([\d\.]+)/i)};case"GoogleBot":return{name:e,v:ke(t,/(googlebot)\/([\d\.]+)/i)};case"Chromium":return{name:e,v:ke(t,/(chromium)\/([\d\.]+)/i)};case"Firefox":return{name:e,v:ke(t,/(firefox|fxios)\/([\d\.]+)/i)};case"Chrome":return{name:e,v:ke(t,/(chrome|crios)\/([\d\.]+)/i)};case"Safari":return{name:e,v:ke(t,/(safari)\/([\d\.]+)/i)};case"Opera":return{name:e,v:ke(t,/(opera|opr)\/([\d\.]+)/i)};case"IE":{const o=ke(t,/(trident)\/([\d\.]+)/i);return{name:e,v:o?(parseFloat(o)+4).toString():"7.0"}}default:return{name:"unknown",v:"0.0.0.0"}}})}scrollToElement({parent:t,element:e,axis:o="y",behavior:i="smooth"}){const n=t.getBoundingClientRect(),a=e.getBoundingClientRect();let s;o==="y"?(s=a.top-n.top+t.scrollTop,t.scrollTo({top:s,behavior:i})):o==="x"&&(s=a.left-n.left+t.scrollLeft,t.scrollTo({left:s,behavior:i}))}getFubiElement(t){const e=document.getElementById("fubi-shadow-host")||document.getElementById("fubi-container");if(!e)return B.error("Fubi main element not found",t),null;const i=(e.shadowRoot||e).querySelector(t);return i||(B.error("Element not found",t),null)}scrollIntoView(t,e="smooth",o="center",i="nearest"){t&&t.scrollIntoView({behavior:e,block:o,inline:i})}screenshot(t){Z0(t).then(e=>{N0(e)}).catch(e=>{console.error("Screenshot process failed:",e)})}getThread(t){if(console.log("getThread",t),!this.validatePath(t))return B.error("Invalid selector",t),{id:null,el:null};let o=document.querySelector(t);if(!o)return B.error("Element not found",t),{id:null,el:null};let i=o.getAttribute("data-fubi-comment");return i?{id:i,el:o}:(B.error("Element does not have data-fubi-comment attribute",t),{id:null,el:o})}createOriginFilter(t){return t!=null&&t.length?"("+t.map(e=>`origin = "${e}"`).join(" || ")+")":""}setUrlParam(t,e){const o=new URL(window.location.href);o.searchParams.set(t,e),window.history.replaceState({},"",o)}removeUrlParam(t){const e=new URL(window.location.href);e.searchParams.delete(t),window.history.replaceState({},"",e)}disableScroll(){document.documentElement.classList.add("fubi-scroll-disabled")}enableScroll(){document.documentElement.classList.remove("fubi-scroll-disabled")}validatePath(t){try{return document.querySelector(t),!0}catch{return!1}}}function Ns(r){const t=r instanceof Date?r:new Date(r);if(isNaN(t.getTime()))return{date:"Invalid date",time:""};const e=new Date,i=new Intl.DateTimeFormat(navigator.language,{hour:"numeric",minute:"numeric"}).format(t),n=t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear(),a=t.getDate()===e.getDate()-1&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear();return n?{date:"Today",time:i}:a?{date:"Yesterday",time:i}:t.getFullYear()!==e.getFullYear()||e.getMonth()===0&&e.getDate()<=15&&t.getFullYear()!==e.getFullYear()?{date:new Intl.DateTimeFormat(navigator.language,{day:"numeric",month:"numeric",year:"numeric"}).format(t),time:i}:{date:new Intl.DateTimeFormat(navigator.language,{day:"numeric",month:"numeric"}).format(t),time:i}}const _t=new q0,B={info(r,...t){Ki&&console.log("%c✦ "+r,"color: #FFFF00",...t)},error(r,...t){Ki&&console.error(r,...t)},warn(r,...t){Ki&&console.warn(r,...t)},ok(r,...t){Ki&&console.log("%c✅ "+r,"color: #22c55e",...t)},group(r){r?console.group("%c—— "+r+" ——","color: #6366f1"):console.group()},groupEnd(){console.groupEnd()}},sa="bus";class W0{constructor(){this.events={}}on(t,e,o){const i=`${t}:${e}`;return this.events[i]||(this.events[i]=[]),this.events[i].push(o),()=>this.off(t,e,o)}off(t,e,o){const i=`${t}:${e}`;this.events[i]&&(this.events[i]=this.events[i].filter(n=>n!==o),B.info(sa,i,"unsubscribed"))}emit(t,e,o=null){const i=`${t}:${e}`;if(!this.events[i]){console.warn(`BUS DEBUG: Event "${i}" has no listeners`);return}i!=="events:mousemove"&&i!=="events:mouseout"&&i!=="events:scroll"&&B.info(sa,`Emitting "${i}"`,o);for(const n of this.events[i])try{n(o)}catch(a){B.error(sa,`Error in handler for "${i}":`,a)}}}const C=new W0,la="navigation";class G0{constructor(){F(this,lo,T("home"))}get current(){return p(g(this,lo))}set current(t){E(g(this,lo),I(t))}init(){return C.on("auth","unauthenticated",()=>this.goto("login")),C.on("auth","login-successful",()=>this.goto("home")),C.on("auth","logout",()=>this.goto("login")),C.on("isolation","isolated",({info:t})=>{t.hasComment||this.goto("comments")}),C.on("isolation","reset",()=>{this.goto("home"),_t.removeUrlParam("fubi")}),C.on("comments","opened",()=>Ji.goto("comments")),C.on("comments","opened",t=>{_t.setUrlParam("fubi",t.id)}),C.on("comments","created",t=>{_t.setUrlParam("fubi",t.id)}),B.ok(la,"initialized"),this}goto(t){B.info(la,"Navigating to:",t),C.emit(la,"goto",t),this.current=t}}lo=new WeakMap;const Ji=new G0;class tr{constructor(t,e){F(this,je);F(this,se,T(0));F(this,cr,0);F(this,co);F(this,uo,t=>{t.storageArea===localStorage&&t.key===g(this,je)&&E(g(this,se),p(g(this,se))+1)});yt(this,je,t),yt(this,co,e),typeof localStorage<"u"&&localStorage.getItem(t)===null&&localStorage.setItem(t,JSON.stringify(e))}get current(){p(g(this,se));const t=typeof localStorage<"u"?JSON.parse(localStorage.getItem(g(this,je))):g(this,co),e=new WeakMap,o=i=>{if(typeof i!="object"||i===null)return i;let n=e.get(i);return n||(n=new Proxy(i,{get:(a,s)=>(p(g(this,se)),o(Reflect.get(a,s))),set:(a,s,l)=>(E(g(this,se),p(g(this,se))+1),Reflect.set(a,s,l),typeof localStorage<"u"&&localStorage.setItem(g(this,je),JSON.stringify(t)),!0)}),e.set(i,n)),n};return as()&&kr(()=>(g(this,cr)===0&&window.addEventListener("storage",g(this,uo)),yt(this,cr,g(this,cr)+1),()=>{os().then(()=>{yt(this,cr,g(this,cr)-1),g(this,cr)===0&&window.removeEventListener("storage",g(this,uo))})})),o(t)}set current(t){typeof localStorage<"u"&&localStorage.setItem(g(this,je),JSON.stringify(t)),E(g(this,se),p(g(this,se))+1)}}je=new WeakMap,se=new WeakMap,cr=new WeakMap,co=new WeakMap,uo=new WeakMap;class jt extends Error{constructor(t){var e,o,i,n;super("ClientResponseError"),this.url="",this.status=0,this.response={},this.isAbort=!1,this.originalError=null,Object.setPrototypeOf(this,jt.prototype),t!==null&&typeof t=="object"&&(this.url=typeof t.url=="string"?t.url:"",this.status=typeof t.status=="number"?t.status:0,this.isAbort=!!t.isAbort,this.originalError=t.originalError,t.response!==null&&typeof t.response=="object"?this.response=t.response:t.data!==null&&typeof t.data=="object"?this.response=t.data:this.response={}),this.originalError||t instanceof jt||(this.originalError=t),typeof DOMException<"u"&&t instanceof DOMException&&(this.isAbort=!0),this.name="ClientResponseError "+this.status,this.message=(e=this.response)==null?void 0:e.message,this.message||(this.isAbort?this.message="The request was autocancelled. You can find more info in https://github.com/pocketbase/js-sdk#auto-cancellation.":(n=(i=(o=this.originalError)==null?void 0:o.cause)==null?void 0:i.message)!=null&&n.includes("ECONNREFUSED ::1")?this.message="Failed to connect to the PocketBase server. Try changing the SDK URL from localhost to 127.0.0.1 (https://github.com/pocketbase/js-sdk/issues/21).":this.message="Something went wrong while processing your request.")}get data(){return this.response}toJSON(){return{...this}}}const Xi=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function K0(r,t){const e={};if(typeof r!="string")return e;const o=Object.assign({},{}).decode||Y0;let i=0;for(;i<r.length;){const n=r.indexOf("=",i);if(n===-1)break;let a=r.indexOf(";",i);if(a===-1)a=r.length;else if(a<n){i=r.lastIndexOf(";",n-1)+1;continue}const s=r.slice(i,n).trim();if(e[s]===void 0){let l=r.slice(n+1,a).trim();l.charCodeAt(0)===34&&(l=l.slice(1,-1));try{e[s]=o(l)}catch{e[s]=l}}i=a+1}return e}function Zs(r,t,e){const o=Object.assign({},e||{}),i=o.encode||J0;if(!Xi.test(r))throw new TypeError("argument name is invalid");const n=i(t);if(n&&!Xi.test(n))throw new TypeError("argument val is invalid");let a=r+"="+n;if(o.maxAge!=null){const s=o.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(s)}if(o.domain){if(!Xi.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!Xi.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){if(!function(l){return Object.prototype.toString.call(l)==="[object Date]"||l instanceof Date}(o.expires)||isNaN(o.expires.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(a+="; HttpOnly"),o.secure&&(a+="; Secure"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():o.priority){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return a}function Y0(r){return r.indexOf("%")!==-1?decodeURIComponent(r):r}function J0(r){return encodeURIComponent(r)}const X0=typeof navigator<"u"&&navigator.product==="ReactNative"||typeof global<"u"&&global.HermesInternal;let qs;function Fr(r){if(r)try{const t=decodeURIComponent(qs(r.split(".")[1]).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(t)||{}}catch{}return{}}function Ws(r,t=0){let e=Fr(r);return!(Object.keys(e).length>0&&(!e.exp||e.exp-t>Date.now()/1e3))}qs=typeof atob!="function"||X0?r=>{let t=String(r).replace(/=+$/,"");if(t.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var e,o,i=0,n=0,a="";o=t.charAt(n++);~o&&(e=i%4?64*e+o:o,i++%4)?a+=String.fromCharCode(255&e>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return a}:atob;const Gs="pb_auth";class ca{constructor(){this.baseToken="",this.baseModel=null,this._onChangeCallbacks=[]}get token(){return this.baseToken}get record(){return this.baseModel}get model(){return this.baseModel}get isValid(){return!Ws(this.token)}get isSuperuser(){var e,o;let t=Fr(this.token);return t.type=="auth"&&(((e=this.record)==null?void 0:e.collectionName)=="_superusers"||!((o=this.record)!=null&&o.collectionName)&&t.collectionId=="pbc_3142635823")}get isAdmin(){return console.warn("Please replace pb.authStore.isAdmin with pb.authStore.isSuperuser OR simply check the value of pb.authStore.record?.collectionName"),this.isSuperuser}get isAuthRecord(){return console.warn("Please replace pb.authStore.isAuthRecord with !pb.authStore.isSuperuser OR simply check the value of pb.authStore.record?.collectionName"),Fr(this.token).type=="auth"&&!this.isSuperuser}save(t,e){this.baseToken=t||"",this.baseModel=e||null,this.triggerChange()}clear(){this.baseToken="",this.baseModel=null,this.triggerChange()}loadFromCookie(t,e=Gs){const o=K0(t||"")[e]||"";let i={};try{i=JSON.parse(o),(typeof i===null||typeof i!="object"||Array.isArray(i))&&(i={})}catch{}this.save(i.token||"",i.record||i.model||null)}exportToCookie(t,e=Gs){var l,c;const o={secure:!0,sameSite:!0,httpOnly:!0,path:"/"},i=Fr(this.token);o.expires=i!=null&&i.exp?new Date(1e3*i.exp):new Date("1970-01-01"),t=Object.assign({},o,t);const n={token:this.token,record:this.record?JSON.parse(JSON.stringify(this.record)):null};let a=Zs(e,JSON.stringify(n),t);const s=typeof Blob<"u"?new Blob([a]).size:a.length;if(n.record&&s>4096){n.record={id:(l=n.record)==null?void 0:l.id,email:(c=n.record)==null?void 0:c.email};const u=["collectionId","collectionName","verified"];for(const f in this.record)u.includes(f)&&(n.record[f]=this.record[f]);a=Zs(e,JSON.stringify(n),t)}return a}onChange(t,e=!1){return this._onChangeCallbacks.push(t),e&&t(this.token,this.record),()=>{for(let o=this._onChangeCallbacks.length-1;o>=0;o--)if(this._onChangeCallbacks[o]==t)return delete this._onChangeCallbacks[o],void this._onChangeCallbacks.splice(o,1)}}triggerChange(){for(const t of this._onChangeCallbacks)t&&t(this.token,this.record)}}class Q0 extends ca{constructor(t="pocketbase_auth"){super(),this.storageFallback={},this.storageKey=t,this._bindStorageEvent()}get token(){return(this._storageGet(this.storageKey)||{}).token||""}get record(){const t=this._storageGet(this.storageKey)||{};return t.record||t.model||null}get model(){return this.record}save(t,e){this._storageSet(this.storageKey,{token:t,record:e}),super.save(t,e)}clear(){this._storageRemove(this.storageKey),super.clear()}_storageGet(t){if(typeof window<"u"&&(window!=null&&window.localStorage)){const e=window.localStorage.getItem(t)||"";try{return JSON.parse(e)}catch{return e}}return this.storageFallback[t]}_storageSet(t,e){if(typeof window<"u"&&(window!=null&&window.localStorage)){let o=e;typeof e!="string"&&(o=JSON.stringify(e)),window.localStorage.setItem(t,o)}else this.storageFallback[t]=e}_storageRemove(t){var e;typeof window<"u"&&(window!=null&&window.localStorage)&&((e=window.localStorage)==null||e.removeItem(t)),delete this.storageFallback[t]}_bindStorageEvent(){typeof window<"u"&&(window!=null&&window.localStorage)&&window.addEventListener&&window.addEventListener("storage",t=>{if(t.key!=this.storageKey)return;const e=this._storageGet(this.storageKey)||{};super.save(e.token||"",e.record||e.model||null)})}}class _e{constructor(t){this.client=t}}class td extends _e{async getAll(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/settings",t)}async update(t,e){return e=Object.assign({method:"PATCH",body:t},e),this.client.send("/api/settings",e)}async testS3(t="storage",e){return e=Object.assign({method:"POST",body:{filesystem:t}},e),this.client.send("/api/settings/test/s3",e).then(()=>!0)}async testEmail(t,e,o,i){return i=Object.assign({method:"POST",body:{email:e,template:o,collection:t}},i),this.client.send("/api/settings/test/email",i).then(()=>!0)}async generateAppleClientSecret(t,e,o,i,n,a){return a=Object.assign({method:"POST",body:{clientId:t,teamId:e,keyId:o,privateKey:i,duration:n}},a),this.client.send("/api/settings/apple/generate-client-secret",a)}}const ed=["requestKey","$cancelKey","$autoCancel","fetch","headers","body","query","params","cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","window"];function da(r){if(r){r.query=r.query||{};for(let t in r)ed.includes(t)||(r.query[t]=r[t],delete r[t])}}function Ks(r){const t=[];for(const e in r){const o=encodeURIComponent(e),i=Array.isArray(r[e])?r[e]:[r[e]];for(let n of i)n=rd(n),n!==null&&t.push(o+"="+n)}return t.join("&")}function rd(r){return r==null?null:r instanceof Date?encodeURIComponent(r.toISOString().replace("T"," ")):encodeURIComponent(typeof r=="object"?JSON.stringify(r):r)}class Ys extends _e{constructor(){super(...arguments),this.clientId="",this.eventSource=null,this.subscriptions={},this.lastSentSubscriptions=[],this.maxConnectTimeout=15e3,this.reconnectAttempts=0,this.maxReconnectAttempts=1/0,this.predefinedReconnectIntervals=[200,300,500,1e3,1200,1500,2e3],this.pendingConnects=[]}get isConnected(){return!!this.eventSource&&!!this.clientId&&!this.pendingConnects.length}async subscribe(t,e,o){var a;if(!t)throw new Error("topic must be set.");let i=t;if(o){da(o=Object.assign({},o));const s="options="+encodeURIComponent(JSON.stringify({query:o.query,headers:o.headers}));i+=(i.includes("?")?"&":"?")+s}const n=function(s){const l=s;let c;try{c=JSON.parse(l==null?void 0:l.data)}catch{}e(c||{})};return this.subscriptions[i]||(this.subscriptions[i]=[]),this.subscriptions[i].push(n),this.isConnected?this.subscriptions[i].length===1?await this.submitSubscriptions():(a=this.eventSource)==null||a.addEventListener(i,n):await this.connect(),async()=>this.unsubscribeByTopicAndListener(t,n)}async unsubscribe(t){var o;let e=!1;if(t){const i=this.getSubscriptionsByTopic(t);for(let n in i)if(this.hasSubscriptionListeners(n)){for(let a of this.subscriptions[n])(o=this.eventSource)==null||o.removeEventListener(n,a);delete this.subscriptions[n],e||(e=!0)}}else this.subscriptions={};this.hasSubscriptionListeners()?e&&await this.submitSubscriptions():this.disconnect()}async unsubscribeByPrefix(t){var o;let e=!1;for(let i in this.subscriptions)if((i+"?").startsWith(t)){e=!0;for(let n of this.subscriptions[i])(o=this.eventSource)==null||o.removeEventListener(i,n);delete this.subscriptions[i]}e&&(this.hasSubscriptionListeners()?await this.submitSubscriptions():this.disconnect())}async unsubscribeByTopicAndListener(t,e){var n;let o=!1;const i=this.getSubscriptionsByTopic(t);for(let a in i){if(!Array.isArray(this.subscriptions[a])||!this.subscriptions[a].length)continue;let s=!1;for(let l=this.subscriptions[a].length-1;l>=0;l--)this.subscriptions[a][l]===e&&(s=!0,delete this.subscriptions[a][l],this.subscriptions[a].splice(l,1),(n=this.eventSource)==null||n.removeEventListener(a,e));s&&(this.subscriptions[a].length||delete this.subscriptions[a],o||this.hasSubscriptionListeners(a)||(o=!0))}this.hasSubscriptionListeners()?o&&await this.submitSubscriptions():this.disconnect()}hasSubscriptionListeners(t){var e,o;if(this.subscriptions=this.subscriptions||{},t)return!!((e=this.subscriptions[t])!=null&&e.length);for(let i in this.subscriptions)if((o=this.subscriptions[i])!=null&&o.length)return!0;return!1}async submitSubscriptions(){if(this.clientId)return this.addAllSubscriptionListeners(),this.lastSentSubscriptions=this.getNonEmptySubscriptionKeys(),this.client.send("/api/realtime",{method:"POST",body:{clientId:this.clientId,subscriptions:this.lastSentSubscriptions},requestKey:this.getSubscriptionsCancelKey()}).catch(t=>{if(!(t!=null&&t.isAbort))throw t})}getSubscriptionsCancelKey(){return"realtime_"+this.clientId}getSubscriptionsByTopic(t){const e={};t=t.includes("?")?t:t+"?";for(let o in this.subscriptions)(o+"?").startsWith(t)&&(e[o]=this.subscriptions[o]);return e}getNonEmptySubscriptionKeys(){const t=[];for(let e in this.subscriptions)this.subscriptions[e].length&&t.push(e);return t}addAllSubscriptionListeners(){if(this.eventSource){this.removeAllSubscriptionListeners();for(let t in this.subscriptions)for(let e of this.subscriptions[t])this.eventSource.addEventListener(t,e)}}removeAllSubscriptionListeners(){if(this.eventSource)for(let t in this.subscriptions)for(let e of this.subscriptions[t])this.eventSource.removeEventListener(t,e)}async connect(){if(!(this.reconnectAttempts>0))return new Promise((t,e)=>{this.pendingConnects.push({resolve:t,reject:e}),this.pendingConnects.length>1||this.initConnect()})}initConnect(){this.disconnect(!0),clearTimeout(this.connectTimeoutId),this.connectTimeoutId=setTimeout(()=>{this.connectErrorHandler(new Error("EventSource connect took too long."))},this.maxConnectTimeout),this.eventSource=new EventSource(this.client.buildURL("/api/realtime")),this.eventSource.onerror=t=>{this.connectErrorHandler(new Error("Failed to establish realtime connection."))},this.eventSource.addEventListener("PB_CONNECT",t=>{const e=t;this.clientId=e==null?void 0:e.lastEventId,this.submitSubscriptions().then(async()=>{let o=3;for(;this.hasUnsentSubscriptions()&&o>0;)o--,await this.submitSubscriptions()}).then(()=>{for(let i of this.pendingConnects)i.resolve();this.pendingConnects=[],this.reconnectAttempts=0,clearTimeout(this.reconnectTimeoutId),clearTimeout(this.connectTimeoutId);const o=this.getSubscriptionsByTopic("PB_CONNECT");for(let i in o)for(let n of o[i])n(t)}).catch(o=>{this.clientId="",this.connectErrorHandler(o)})})}hasUnsentSubscriptions(){const t=this.getNonEmptySubscriptionKeys();if(t.length!=this.lastSentSubscriptions.length)return!0;for(const e of t)if(!this.lastSentSubscriptions.includes(e))return!0;return!1}connectErrorHandler(t){if(clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),!this.clientId&&!this.reconnectAttempts||this.reconnectAttempts>this.maxReconnectAttempts){for(let o of this.pendingConnects)o.reject(new jt(t));return this.pendingConnects=[],void this.disconnect()}this.disconnect(!0);const e=this.predefinedReconnectIntervals[this.reconnectAttempts]||this.predefinedReconnectIntervals[this.predefinedReconnectIntervals.length-1];this.reconnectAttempts++,this.reconnectTimeoutId=setTimeout(()=>{this.initConnect()},e)}disconnect(t=!1){var e;if(this.clientId&&this.onDisconnect&&this.onDisconnect(Object.keys(this.subscriptions)),clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),this.removeAllSubscriptionListeners(),this.client.cancelRequest(this.getSubscriptionsCancelKey()),(e=this.eventSource)==null||e.close(),this.eventSource=null,this.clientId="",!t){this.reconnectAttempts=0;for(let o of this.pendingConnects)o.resolve();this.pendingConnects=[]}}}class Js extends _e{decode(t){return t}async getFullList(t,e){if(typeof t=="number")return this._getFullList(t,e);let o=500;return(e=Object.assign({},t,e)).batch&&(o=e.batch,delete e.batch),this._getFullList(o,e)}async getList(t=1,e=30,o){return(o=Object.assign({method:"GET"},o)).query=Object.assign({page:t,perPage:e},o.query),this.client.send(this.baseCrudPath,o).then(i=>{var n;return i.items=((n=i.items)==null?void 0:n.map(a=>this.decode(a)))||[],i})}async getFirstListItem(t,e){return(e=Object.assign({requestKey:"one_by_filter_"+this.baseCrudPath+"_"+t},e)).query=Object.assign({filter:t,skipTotal:1},e.query),this.getList(1,1,e).then(o=>{var i;if(!((i=o==null?void 0:o.items)!=null&&i.length))throw new jt({status:404,response:{code:404,message:"The requested resource wasn't found.",data:{}}});return o.items[0]})}async getOne(t,e){if(!t)throw new jt({url:this.client.buildURL(this.baseCrudPath+"/"),status:404,response:{code:404,message:"Missing required record id.",data:{}}});return e=Object.assign({method:"GET"},e),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),e).then(o=>this.decode(o))}async create(t,e){return e=Object.assign({method:"POST",body:t},e),this.client.send(this.baseCrudPath,e).then(o=>this.decode(o))}async update(t,e,o){return o=Object.assign({method:"PATCH",body:e},o),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),o).then(i=>this.decode(i))}async delete(t,e){return e=Object.assign({method:"DELETE"},e),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),e).then(()=>!0)}_getFullList(t=500,e){(e=e||{}).query=Object.assign({skipTotal:1},e.query);let o=[],i=async n=>this.getList(n,t||500,e).then(a=>{const s=a.items;return o=o.concat(s),s.length==a.perPage?i(n+1):o});return i(1)}}function Pe(r,t,e,o){const i=o!==void 0;return i||e!==void 0?i?(console.warn(r),t.body=Object.assign({},t.body,e),t.query=Object.assign({},t.query,o),t):Object.assign(t,e):t}function ua(r){var t;(t=r._resetAutoRefresh)==null||t.call(r)}class od extends Js{constructor(t,e){super(t),this.collectionIdOrName=e}get baseCrudPath(){return this.baseCollectionPath+"/records"}get baseCollectionPath(){return"/api/collections/"+encodeURIComponent(this.collectionIdOrName)}get isSuperusers(){return this.collectionIdOrName=="_superusers"||this.collectionIdOrName=="_pbc_2773867675"}async subscribe(t,e,o){if(!t)throw new Error("Missing topic.");if(!e)throw new Error("Missing subscription callback.");return this.client.realtime.subscribe(this.collectionIdOrName+"/"+t,e,o)}async unsubscribe(t){return t?this.client.realtime.unsubscribe(this.collectionIdOrName+"/"+t):this.client.realtime.unsubscribeByPrefix(this.collectionIdOrName)}async getFullList(t,e){if(typeof t=="number")return super.getFullList(t,e);const o=Object.assign({},t,e);return super.getFullList(o)}async getList(t=1,e=30,o){return super.getList(t,e,o)}async getFirstListItem(t,e){return super.getFirstListItem(t,e)}async getOne(t,e){return super.getOne(t,e)}async create(t,e){return super.create(t,e)}async update(t,e,o){return super.update(t,e,o).then(i=>{var n,a,s;if(((n=this.client.authStore.record)==null?void 0:n.id)===(i==null?void 0:i.id)&&(((a=this.client.authStore.record)==null?void 0:a.collectionId)===this.collectionIdOrName||((s=this.client.authStore.record)==null?void 0:s.collectionName)===this.collectionIdOrName)){let l=Object.assign({},this.client.authStore.record.expand),c=Object.assign({},this.client.authStore.record,i);l&&(c.expand=Object.assign(l,i.expand)),this.client.authStore.save(this.client.authStore.token,c)}return i})}async delete(t,e){return super.delete(t,e).then(o=>{var i,n,a;return!o||((i=this.client.authStore.record)==null?void 0:i.id)!==t||((n=this.client.authStore.record)==null?void 0:n.collectionId)!==this.collectionIdOrName&&((a=this.client.authStore.record)==null?void 0:a.collectionName)!==this.collectionIdOrName||this.client.authStore.clear(),o})}authResponse(t){const e=this.decode((t==null?void 0:t.record)||{});return this.client.authStore.save(t==null?void 0:t.token,e),Object.assign({},t,{token:(t==null?void 0:t.token)||"",record:e})}async listAuthMethods(t){return t=Object.assign({method:"GET",fields:"mfa,otp,password,oauth2"},t),this.client.send(this.baseCollectionPath+"/auth-methods",t)}async authWithPassword(t,e,o){let i;o=Object.assign({method:"POST",body:{identity:t,password:e}},o),this.isSuperusers&&(i=o.autoRefreshThreshold,delete o.autoRefreshThreshold,o.autoRefresh||ua(this.client));let n=await this.client.send(this.baseCollectionPath+"/auth-with-password",o);return n=this.authResponse(n),i&&this.isSuperusers&&function(s,l,c,u){ua(s);const f=s.beforeSend,d=s.authStore.record,h=s.authStore.onChange((v,b)=>{(!v||(b==null?void 0:b.id)!=(d==null?void 0:d.id)||(b!=null&&b.collectionId||d!=null&&d.collectionId)&&(b==null?void 0:b.collectionId)!=(d==null?void 0:d.collectionId))&&ua(s)});s._resetAutoRefresh=function(){h(),s.beforeSend=f,delete s._resetAutoRefresh},s.beforeSend=async(v,b)=>{var m;const w=s.authStore.token;if((m=b.query)!=null&&m.autoRefresh)return f?f(v,b):{url:v,sendOptions:b};let _=s.authStore.isValid;if(_&&Ws(s.authStore.token,l))try{await c()}catch{_=!1}_||await u();const y=b.headers||{};for(let S in y)if(S.toLowerCase()=="authorization"&&w==y[S]&&s.authStore.token){y[S]=s.authStore.token;break}return b.headers=y,f?f(v,b):{url:v,sendOptions:b}}}(this.client,i,()=>this.authRefresh({autoRefresh:!0}),()=>this.authWithPassword(t,e,Object.assign({autoRefresh:!0},o))),n}async authWithOAuth2Code(t,e,o,i,n,a,s){let l={method:"POST",body:{provider:t,code:e,codeVerifier:o,redirectURL:i,createData:n}};return l=Pe("This form of authWithOAuth2Code(provider, code, codeVerifier, redirectURL, createData?, body?, query?) is deprecated. Consider replacing it with authWithOAuth2Code(provider, code, codeVerifier, redirectURL, createData?, options?).",l,a,s),this.client.send(this.baseCollectionPath+"/auth-with-oauth2",l).then(c=>this.authResponse(c))}authWithOAuth2(...t){if(t.length>1||typeof(t==null?void 0:t[0])=="string")return console.warn("PocketBase: This form of authWithOAuth2() is deprecated and may get removed in the future. Please replace with authWithOAuth2Code() OR use the authWithOAuth2() realtime form as shown in https://pocketbase.io/docs/authentication/#oauth2-integration."),this.authWithOAuth2Code((t==null?void 0:t[0])||"",(t==null?void 0:t[1])||"",(t==null?void 0:t[2])||"",(t==null?void 0:t[3])||"",(t==null?void 0:t[4])||{},(t==null?void 0:t[5])||{},(t==null?void 0:t[6])||{});const e=(t==null?void 0:t[0])||{};let o=null;e.urlCallback||(o=Xs(void 0));const i=new Ys(this.client);function n(){o==null||o.close(),i.unsubscribe()}const a={},s=e.requestKey;return s&&(a.requestKey=s),this.listAuthMethods(a).then(l=>{var d;const c=l.oauth2.providers.find(h=>h.name===e.provider);if(!c)throw new jt(new Error(`Missing or invalid provider "${e.provider}".`));const u=this.client.buildURL("/api/oauth2-redirect"),f=s?(d=this.client.cancelControllers)==null?void 0:d[s]:void 0;return f&&(f.signal.onabort=()=>{n()}),new Promise(async(h,v)=>{var b;try{await i.subscribe("@oauth2",async m=>{var L;const S=i.clientId;try{if(!m.state||S!==m.state)throw new Error("State parameters don't match.");if(m.error||!m.code)throw new Error("OAuth2 redirect error or missing code: "+m.error);const O=Object.assign({},e);delete O.provider,delete O.scopes,delete O.createData,delete O.urlCallback,(L=f==null?void 0:f.signal)!=null&&L.onabort&&(f.signal.onabort=null);const z=await this.authWithOAuth2Code(c.name,m.code,c.codeVerifier,u,e.createData,O);h(z)}catch(O){v(new jt(O))}n()});const w={state:i.clientId};(b=e.scopes)!=null&&b.length&&(w.scope=e.scopes.join(" "));const _=this._replaceQueryParams(c.authURL+u,w);await(e.urlCallback||function(m){o?o.location.href=m:o=Xs(m)})(_)}catch(w){n(),v(new jt(w))}})}).catch(l=>{throw n(),l})}async authRefresh(t,e){let o={method:"POST"};return o=Pe("This form of authRefresh(body?, query?) is deprecated. Consider replacing it with authRefresh(options?).",o,t,e),this.client.send(this.baseCollectionPath+"/auth-refresh",o).then(i=>this.authResponse(i))}async requestPasswordReset(t,e,o){let i={method:"POST",body:{email:t}};return i=Pe("This form of requestPasswordReset(email, body?, query?) is deprecated. Consider replacing it with requestPasswordReset(email, options?).",i,e,o),this.client.send(this.baseCollectionPath+"/request-password-reset",i).then(()=>!0)}async confirmPasswordReset(t,e,o,i,n){let a={method:"POST",body:{token:t,password:e,passwordConfirm:o}};return a=Pe("This form of confirmPasswordReset(token, password, passwordConfirm, body?, query?) is deprecated. Consider replacing it with confirmPasswordReset(token, password, passwordConfirm, options?).",a,i,n),this.client.send(this.baseCollectionPath+"/confirm-password-reset",a).then(()=>!0)}async requestVerification(t,e,o){let i={method:"POST",body:{email:t}};return i=Pe("This form of requestVerification(email, body?, query?) is deprecated. Consider replacing it with requestVerification(email, options?).",i,e,o),this.client.send(this.baseCollectionPath+"/request-verification",i).then(()=>!0)}async confirmVerification(t,e,o){let i={method:"POST",body:{token:t}};return i=Pe("This form of confirmVerification(token, body?, query?) is deprecated. Consider replacing it with confirmVerification(token, options?).",i,e,o),this.client.send(this.baseCollectionPath+"/confirm-verification",i).then(()=>{const n=Fr(t),a=this.client.authStore.record;return a&&!a.verified&&a.id===n.id&&a.collectionId===n.collectionId&&(a.verified=!0,this.client.authStore.save(this.client.authStore.token,a)),!0})}async requestEmailChange(t,e,o){let i={method:"POST",body:{newEmail:t}};return i=Pe("This form of requestEmailChange(newEmail, body?, query?) is deprecated. Consider replacing it with requestEmailChange(newEmail, options?).",i,e,o),this.client.send(this.baseCollectionPath+"/request-email-change",i).then(()=>!0)}async confirmEmailChange(t,e,o,i){let n={method:"POST",body:{token:t,password:e}};return n=Pe("This form of confirmEmailChange(token, password, body?, query?) is deprecated. Consider replacing it with confirmEmailChange(token, password, options?).",n,o,i),this.client.send(this.baseCollectionPath+"/confirm-email-change",n).then(()=>{const a=Fr(t),s=this.client.authStore.record;return s&&s.id===a.id&&s.collectionId===a.collectionId&&this.client.authStore.clear(),!0})}async listExternalAuths(t,e){return this.client.collection("_externalAuths").getFullList(Object.assign({},e,{filter:this.client.filter("recordRef = {:id}",{id:t})}))}async unlinkExternalAuth(t,e,o){const i=await this.client.collection("_externalAuths").getFirstListItem(this.client.filter("recordRef = {:recordId} && provider = {:provider}",{recordId:t,provider:e}));return this.client.collection("_externalAuths").delete(i.id,o).then(()=>!0)}async requestOTP(t,e){return e=Object.assign({method:"POST",body:{email:t}},e),this.client.send(this.baseCollectionPath+"/request-otp",e)}async authWithOTP(t,e,o){return o=Object.assign({method:"POST",body:{otpId:t,password:e}},o),this.client.send(this.baseCollectionPath+"/auth-with-otp",o).then(i=>this.authResponse(i))}async impersonate(t,e,o){(o=Object.assign({method:"POST",body:{duration:e}},o)).headers=o.headers||{},o.headers.Authorization||(o.headers.Authorization=this.client.authStore.token);const i=new el(this.client.baseURL,new ca,this.client.lang),n=await i.send(this.baseCollectionPath+"/impersonate/"+encodeURIComponent(t),o);return i.authStore.save(n==null?void 0:n.token,this.decode((n==null?void 0:n.record)||{})),i}_replaceQueryParams(t,e={}){let o=t,i="";t.indexOf("?")>=0&&(o=t.substring(0,t.indexOf("?")),i=t.substring(t.indexOf("?")+1));const n={},a=i.split("&");for(const s of a){if(s=="")continue;const l=s.split("=");n[decodeURIComponent(l[0].replace(/\+/g," "))]=decodeURIComponent((l[1]||"").replace(/\+/g," "))}for(let s in e)e.hasOwnProperty(s)&&(e[s]==null?delete n[s]:n[s]=e[s]);i="";for(let s in n)n.hasOwnProperty(s)&&(i!=""&&(i+="&"),i+=encodeURIComponent(s.replace(/%20/g,"+"))+"="+encodeURIComponent(n[s].replace(/%20/g,"+")));return i!=""?o+"?"+i:o}}function Xs(r){if(typeof window>"u"||!(window!=null&&window.open))throw new jt(new Error("Not in a browser context - please pass a custom urlCallback function."));let t=1024,e=768,o=window.innerWidth,i=window.innerHeight;t=t>o?o:t,e=e>i?i:e;let n=o/2-t/2,a=i/2-e/2;return window.open(r,"popup_window","width="+t+",height="+e+",top="+a+",left="+n+",resizable,menubar=no")}class id extends Js{get baseCrudPath(){return"/api/collections"}async import(t,e=!1,o){return o=Object.assign({method:"PUT",body:{collections:t,deleteMissing:e}},o),this.client.send(this.baseCrudPath+"/import",o).then(()=>!0)}async getScaffolds(t){return t=Object.assign({method:"GET"},t),this.client.send(this.baseCrudPath+"/meta/scaffolds",t)}async truncate(t,e){return e=Object.assign({method:"DELETE"},e),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t)+"/truncate",e).then(()=>!0)}}class nd extends _e{async getList(t=1,e=30,o){return(o=Object.assign({method:"GET"},o)).query=Object.assign({page:t,perPage:e},o.query),this.client.send("/api/logs",o)}async getOne(t,e){if(!t)throw new jt({url:this.client.buildURL("/api/logs/"),status:404,response:{code:404,message:"Missing required log id.",data:{}}});return e=Object.assign({method:"GET"},e),this.client.send("/api/logs/"+encodeURIComponent(t),e)}async getStats(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/logs/stats",t)}}class ad extends _e{async check(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/health",t)}}class sd extends _e{getUrl(t,e,o={}){return console.warn("Please replace pb.files.getUrl() with pb.files.getURL()"),this.getURL(t,e,o)}getURL(t,e,o={}){if(!e||!(t!=null&&t.id)||!(t!=null&&t.collectionId)&&!(t!=null&&t.collectionName))return"";const i=[];i.push("api"),i.push("files"),i.push(encodeURIComponent(t.collectionId||t.collectionName)),i.push(encodeURIComponent(t.id)),i.push(encodeURIComponent(e));let n=this.client.buildURL(i.join("/"));if(Object.keys(o).length){o.download===!1&&delete o.download;const a=new URLSearchParams(o);n+=(n.includes("?")?"&":"?")+a}return n}async getToken(t){return t=Object.assign({method:"POST"},t),this.client.send("/api/files/token",t).then(e=>(e==null?void 0:e.token)||"")}}class ld extends _e{async getFullList(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/backups",t)}async create(t,e){return e=Object.assign({method:"POST",body:{name:t}},e),this.client.send("/api/backups",e).then(()=>!0)}async upload(t,e){return e=Object.assign({method:"POST",body:t},e),this.client.send("/api/backups/upload",e).then(()=>!0)}async delete(t,e){return e=Object.assign({method:"DELETE"},e),this.client.send(`/api/backups/${encodeURIComponent(t)}`,e).then(()=>!0)}async restore(t,e){return e=Object.assign({method:"POST"},e),this.client.send(`/api/backups/${encodeURIComponent(t)}/restore`,e).then(()=>!0)}getDownloadUrl(t,e){return console.warn("Please replace pb.backups.getDownloadUrl() with pb.backups.getDownloadURL()"),this.getDownloadURL(t,e)}getDownloadURL(t,e){return this.client.buildURL(`/api/backups/${encodeURIComponent(e)}?token=${encodeURIComponent(t)}`)}}class cd extends _e{async getFullList(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/crons",t)}async run(t,e){return e=Object.assign({method:"POST"},e),this.client.send(`/api/crons/${encodeURIComponent(t)}`,e).then(()=>!0)}}function fa(r){return typeof Blob<"u"&&r instanceof Blob||typeof File<"u"&&r instanceof File||r!==null&&typeof r=="object"&&r.uri&&(typeof navigator<"u"&&navigator.product==="ReactNative"||typeof global<"u"&&global.HermesInternal)}function ha(r){return r&&(r.constructor.name==="FormData"||typeof FormData<"u"&&r instanceof FormData)}function Qs(r){for(const t in r){const e=Array.isArray(r[t])?r[t]:[r[t]];for(const o of e)if(fa(o))return!0}return!1}const dd=/^[\-\.\d]+$/;function tl(r){if(typeof r!="string")return r;if(r=="true")return!0;if(r=="false")return!1;if((r[0]==="-"||r[0]>="0"&&r[0]<="9")&&dd.test(r)){let t=+r;if(""+t===r)return t}return r}class ud extends _e{constructor(){super(...arguments),this.requests=[],this.subs={}}collection(t){return this.subs[t]||(this.subs[t]=new fd(this.requests,t)),this.subs[t]}async send(t){const e=new FormData,o=[];for(let i=0;i<this.requests.length;i++){const n=this.requests[i];if(o.push({method:n.method,url:n.url,headers:n.headers,body:n.json}),n.files)for(let a in n.files){const s=n.files[a]||[];for(let l of s)e.append("requests."+i+"."+a,l)}}return e.append("@jsonPayload",JSON.stringify({requests:o})),t=Object.assign({method:"POST",body:e},t),this.client.send("/api/batch",t)}}class fd{constructor(t,e){this.requests=[],this.requests=t,this.collectionIdOrName=e}upsert(t,e){e=Object.assign({body:t||{}},e);const o={method:"PUT",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(o,e),this.requests.push(o)}create(t,e){e=Object.assign({body:t||{}},e);const o={method:"POST",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(o,e),this.requests.push(o)}update(t,e,o){o=Object.assign({body:e||{}},o);const i={method:"PATCH",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(t)};this.prepareRequest(i,o),this.requests.push(i)}delete(t,e){e=Object.assign({},e);const o={method:"DELETE",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(t)};this.prepareRequest(o,e),this.requests.push(o)}prepareRequest(t,e){if(da(e),t.headers=e.headers,t.json={},t.files={},e.query!==void 0){const i=Ks(e.query);i&&(t.url+=(t.url.includes("?")?"&":"?")+i)}let o=e.body;ha(o)&&(o=function(n){let a={};return n.forEach((s,l)=>{if(l==="@jsonPayload"&&typeof s=="string")try{let c=JSON.parse(s);Object.assign(a,c)}catch(c){console.warn("@jsonPayload error:",c)}else a[l]!==void 0?(Array.isArray(a[l])||(a[l]=[a[l]]),a[l].push(tl(s))):a[l]=tl(s)}),a}(o));for(const i in o){const n=o[i];if(fa(n))t.files[i]=t.files[i]||[],t.files[i].push(n);else if(Array.isArray(n)){const a=[],s=[];for(const l of n)fa(l)?a.push(l):s.push(l);if(a.length>0&&a.length==n.length){t.files[i]=t.files[i]||[];for(let l of a)t.files[i].push(l)}else if(t.json[i]=s,a.length>0){let l=i;i.startsWith("+")||i.endsWith("+")||(l+="+"),t.files[l]=t.files[l]||[];for(let c of a)t.files[l].push(c)}}else t.json[i]=n}}}class el{get baseUrl(){return this.baseURL}set baseUrl(t){this.baseURL=t}constructor(t="/",e,o="en-US"){this.cancelControllers={},this.recordServices={},this.enableAutoCancellation=!0,this.baseURL=t,this.lang=o,e?this.authStore=e:typeof window<"u"&&window.Deno?this.authStore=new ca:this.authStore=new Q0,this.collections=new id(this),this.files=new sd(this),this.logs=new nd(this),this.settings=new td(this),this.realtime=new Ys(this),this.health=new ad(this),this.backups=new ld(this),this.crons=new cd(this)}get admins(){return this.collection("_superusers")}createBatch(){return new ud(this)}collection(t){return this.recordServices[t]||(this.recordServices[t]=new od(this,t)),this.recordServices[t]}autoCancellation(t){return this.enableAutoCancellation=!!t,this}cancelRequest(t){return this.cancelControllers[t]&&(this.cancelControllers[t].abort(),delete this.cancelControllers[t]),this}cancelAllRequests(){for(let t in this.cancelControllers)this.cancelControllers[t].abort();return this.cancelControllers={},this}filter(t,e){if(!e)return t;for(let o in e){let i=e[o];switch(typeof i){case"boolean":case"number":i=""+i;break;case"string":i="'"+i.replace(/'/g,"\\'")+"'";break;default:i=i===null?"null":i instanceof Date?"'"+i.toISOString().replace("T"," ")+"'":"'"+JSON.stringify(i).replace(/'/g,"\\'")+"'"}t=t.replaceAll("{:"+o+"}",i)}return t}getFileUrl(t,e,o={}){return console.warn("Please replace pb.getFileUrl() with pb.files.getURL()"),this.files.getURL(t,e,o)}buildUrl(t){return console.warn("Please replace pb.buildUrl() with pb.buildURL()"),this.buildURL(t)}buildURL(t){var o;let e=this.baseURL;return typeof window>"u"||!window.location||e.startsWith("https://")||e.startsWith("http://")||(e=(o=window.location.origin)!=null&&o.endsWith("/")?window.location.origin.substring(0,window.location.origin.length-1):window.location.origin||"",this.baseURL.startsWith("/")||(e+=window.location.pathname||"/",e+=e.endsWith("/")?"":"/"),e+=this.baseURL),t&&(e+=e.endsWith("/")?"":"/",e+=t.startsWith("/")?t.substring(1):t),e}async send(t,e){e=this.initSendOptions(t,e);let o=this.buildURL(t);if(this.beforeSend){const i=Object.assign({},await this.beforeSend(o,e));i.url!==void 0||i.options!==void 0?(o=i.url||o,e=i.options||e):Object.keys(i).length&&(e=i,console!=null&&console.warn&&console.warn("Deprecated format of beforeSend return: please use `return { url, options }`, instead of `return options`."))}if(e.query!==void 0){const i=Ks(e.query);i&&(o+=(o.includes("?")?"&":"?")+i),delete e.query}return this.getHeader(e.headers,"Content-Type")=="application/json"&&e.body&&typeof e.body!="string"&&(e.body=JSON.stringify(e.body)),(e.fetch||fetch)(o,e).then(async i=>{let n={};try{n=await i.json()}catch{}if(this.afterSend&&(n=await this.afterSend(i,n,e)),i.status>=400)throw new jt({url:i.url,status:i.status,data:n});return n}).catch(i=>{throw new jt(i)})}initSendOptions(t,e){if((e=Object.assign({method:"GET"},e)).body=function(i){if(typeof FormData>"u"||i===void 0||typeof i!="object"||i===null||ha(i)||!Qs(i))return i;const n=new FormData;for(const a in i){const s=i[a];if(typeof s!="object"||Qs({data:s})){const l=Array.isArray(s)?s:[s];for(let c of l)n.append(a,c)}else{let l={};l[a]=s,n.append("@jsonPayload",JSON.stringify(l))}}return n}(e.body),da(e),e.query=Object.assign({},e.params,e.query),e.requestKey===void 0&&(e.$autoCancel===!1||e.query.$autoCancel===!1?e.requestKey=null:(e.$cancelKey||e.query.$cancelKey)&&(e.requestKey=e.$cancelKey||e.query.$cancelKey)),delete e.$autoCancel,delete e.query.$autoCancel,delete e.$cancelKey,delete e.query.$cancelKey,this.getHeader(e.headers,"Content-Type")!==null||ha(e.body)||(e.headers=Object.assign({},e.headers,{"Content-Type":"application/json"})),this.getHeader(e.headers,"Accept-Language")===null&&(e.headers=Object.assign({},e.headers,{"Accept-Language":this.lang})),this.authStore.token&&this.getHeader(e.headers,"Authorization")===null&&(e.headers=Object.assign({},e.headers,{Authorization:this.authStore.token})),this.enableAutoCancellation&&e.requestKey!==null){const o=e.requestKey||(e.method||"GET")+t;delete e.requestKey,this.cancelRequest(o);const i=new AbortController;this.cancelControllers[o]=i,e.signal=i.signal}return e}getHeader(t,e){t=t||{},e=e.toLowerCase();for(let o in t)if(o.toLowerCase()==e)return t[o];return null}}const to=new el("https://feedback.wondermakers.dev"),Mt=r=>{const t=to.collection(r);return new Proxy({},{get:(e,o)=>typeof t[o]=="function"?async(...i)=>{try{return{result:await t[o](...i),error:null}}catch(n){return console.error(n),{result:null,error:n}}}:t[o]})};C.on("auth","logout",()=>to.authStore.clear());const er="auth";class hd{constructor(){F(this,fo,T(null));F(this,ho,T(null));F(this,po,T(!1));F(this,go,T(null))}get valid(){return p(g(this,fo))}set valid(t){E(g(this,fo),I(t))}get user(){return p(g(this,ho))}set user(t){E(g(this,ho),I(t))}get loading(){return p(g(this,po))}set loading(t){E(g(this,po),I(t))}get error(){return p(g(this,go))}set error(t){E(g(this,go),I(t))}init(){return C.on("app","initialized",()=>this.check()),B.ok(er,"initialized"),this}check(){const t=to.authStore.isValid;return this.valid=t,this.user=to.authStore.record,C.emit(er,t?"authenticated":"unauthenticated"),t}async login(t,e){this.loading=!0;const{result:o,error:i}=await Mt("users").authWithPassword(t,e);i?(this.error=Yi(i,{400:"Wrong credentials"}),this.valid=!1,B.error(er,"Login failed",i),C.emit(er,"login-failed")):(this.check(),B.ok(er,"Logged in",o),C.emit(er,"login-successful")),this.loading=!1}async logout(){this.valid=null,C.emit(er,"logout")}}fo=new WeakMap,ho=new WeakMap,po=new WeakMap,go=new WeakMap;const ot=new hd,Ee="pages";class pd{constructor(){F(this,vo,T(I({id:null,url:null,new:null,name:null})));F(this,bo,T(!0));F(this,mo,T(null));F(this,wo,T(!1))}get current(){return p(g(this,vo))}set current(t){E(g(this,vo),I(t))}get loading(){return p(g(this,bo))}set loading(t){E(g(this,bo),I(t))}get data(){return p(g(this,mo))}set data(t){E(g(this,mo),I(t))}get subscribed(){return p(g(this,wo))}set subscribed(t){E(g(this,wo),I(t))}async init(){return this.current.url=new URL(window.location.href),this.current.name=this.getCurrentName(),C.on("auth","authenticated",async()=>{!this.subscribed&&await this.getPages()}),B.ok(Ee,"initialized"),this}crud(t,e){switch(t){case"create":this.data.push(e);break;case"update":this.data=this.data.map(o=>o.id===e.id?e:o);break;case"delete":this.data=this.data.filter(o=>o.id!==e.id);break}}subscribe(){var n,a;this.subscribed=!0;const{origin:t}=(n=this==null?void 0:this.current)==null?void 0:n.url,e=[t,...((a=$==null?void 0:$.config)==null?void 0:a.allowedOrigins)||[]],i=`${_t.createOriginFilter(e)} && project = "${$.project.id}"`;Mt("pages").subscribe("*",s=>{B.info(Ee,"Received event",s),this.crud(s.action,s.record),this.checkCurrent()},{filter:i})}unsubscribe(){this.subscribed=!1,B.info(Ee,"Unsubscribing from pages"),Mt("pages").unsubscribe("*")}handleCurrentLink(t){const e=_t.getFubiElement(`[data-page-id="${t}"]`),o=_t.getFubiElement("#fubi-page-switcher");console.log("Pages loaded, should scroll to",e,"id",t),_t.scrollToElement({parent:o,element:e,axis:"x",behavior:"instant"})}checkCurrent(){const{origin:t,pathname:e}=this.current.url,o=this.has(t,e);o?(this.current=o,this.current.new=!1,this.current.url={origin:o.origin,pathname:o.pathname},B.ok(Ee,"Current page is Registered"),C.emit(Ee,"current-is-registered",o)):(B.warn(Ee,"Current page is New"),this.current.new=!0,this.current.id=null,C.emit(Ee,"current-not-registered",o))}getCurrentName(){var o,i;const t=this.current.url;if(!t)return"";const e=t.pathname==="/"?"Homepage":((o=document==null?void 0:document.querySelector('meta[name="page-title"]'))==null?void 0:o.content)||((i=document==null?void 0:document.querySelector('meta[property="og:title"]'))==null?void 0:i.content)||document.title||t.pathname;return this.current.name=e,e}async registerCurrent(){this.loading=!0;const t={project:$.project.id,origin:this.current.url.origin,pathname:this.current.url.pathname,name:this.current.name,created_by:ot.user.id,updated_by:ot.user.id},{result:e,error:o}=await Mt("pages").create(t);if(o){const i=Yi(o,{400:"Failed to create page record."});B.error(i)}else B.ok(Ee,"Page record created:",e),this.current.id=e.id;this.loading=!1}has(t,e){var i;const o=[t,...((i=$==null?void 0:$.config)==null?void 0:i.allowedOrigins)||[]];return this.data.find(n=>o.includes(n.origin)&&n.pathname===e)}async getPages(){var l,c,u;this.loading=!0;const{origin:t,pathname:e}=this.current.url;if(!((l=$==null?void 0:$.project)!=null&&l.id)){const f=`Project <u><b>${(c=$==null?void 0:$.config)==null?void 0:c.project}</b></u> not found.`;B.error(Ee,f),$.error=f,this.loading=!1;return}const o=[t,...((u=$==null?void 0:$.config)==null?void 0:u.allowedOrigins)||[]],n=`${_t.createOriginFilter(o)} && project = "${$.project.id}"`,{result:a,error:s}=await Mt("pages").getFullList({filter:n});if(s){const f=Yi(s,{400:"Failed to load pages"});B.error(f)}else this.data=a,this.checkCurrent(),this.subscribe();this.loading=!1}}vo=new WeakMap,bo=new WeakMap,mo=new WeakMap,wo=new WeakMap;const Lt=new pd,gd=new Map([["div","div"],["span","span"],["nav","menu"],["img","image"],["video","video"],["component","component"],["modal","modal"],["form","form"],["input","input"],["section","section"],["aside","aside"],["label","label"],["table","table"],["tr","table Row"],["th","table Header"],["td","table Data"],["svg","vector"],["path","Svg path"],["button","button"],["a","link"],["h1","heading 1"],["h2","heading 2"],["h3","heading 3"],["h4","heading 4"],["h5","heading 5"],["h6","heading 6"],["p","paragraph"],["ul","list"],["ol","numbered list"],["li","list Item"],["footer","footer"],["textarea","textarea"],["select","select"],["option","option"],["optgroup","option group"],["fieldset","fieldset"],["legend","legend"],["details","details"],["summary","summary"],["dialog","dialog"],["canvas","canvas"],["map","map"],["area","area"],["iframe","iframe"],["object","object"],["embed","embed"],["param","param"],["audio","audio"],["track","track"],["source","source"],["picture","picture"],["blockquote","block quote"],["hr","horizontal rule"],["address","address"],["time","time"],["mark","highlighted text"],["abbr","abbreviation"],["abbr","abbreviation"],["cite","citation"],["code","code"],["pre","preformatted text"],["kbd","keyboard input"],["samp","sample output"],["var","variable name"],["sub","subscript"],["sup","superscript"],["b","bold"],["i","italic"],["u","underline"],["s","strikethrough"],["small","small text"],["strong","strong emphasis"],["em","emphasis"],["del","deleted text"],["ins","inserted text"],["q","inline quote"],["cite","citation"],["abbr","abbreviation"],["time","time"],["data","data"],["meter","meter"],["progress","progress"],["output","output"],["progress","progress"],["template","template"],["slot","slot"],["summary","summary"],["details","details"]]),vd="elements";class bd{init(){return C.on("keys","pressed-esc",()=>this.closeAllOpenedElements()),B.ok(vd,"initialized"),this}isIgnored(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=t.classList.contains("fubi-ignore"),o=t.closest(".fubi-ignore-all"),i=t.closest(".fubi-ignore-stop");return e||o&&!i}isMeta(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const o=[{id:"fubi-meta-wrapper",name:"Global comment",icon:"globe"},{id:"fubi-meta-url",name:"URL",icon:"a"},{id:"fubi-meta-shareimage",name:"Share image",icon:"page"},{id:"fubi-meta-title",name:"Title",icon:"page"},{id:"fubi-meta-description",name:"Description",icon:"page"},{id:"fubi-meta-touchicon",name:"Touch icon",icon:"page"},{id:"fubi-meta-favicon-dark",name:"Favicon dark",icon:"page"},{id:"fubi-meta-favicon-light",name:"Favicon light",icon:"page"},{id:"fubi-meta-theme",name:"Theme",icon:"page"}].find(i=>t.id===i.id);return o?{...o}:!1}getElementDirection(t){const e=t.boundingClientRect,o=window.innerHeight;return e.bottom<=0?"up":e.top>=o?"down":null}elementInView(t,e){const o=new IntersectionObserver(i=>{const n=i[0],a=n.isIntersecting;let s=null;a||(s=this.getElementDirection(n)),e({inView:a,direction:s})},{threshold:0});return o.observe(t),o}hasDuplicateIds(t){if(!t||t.nodeType!==Node.ELEMENT_NODE||!_t.validatePath(this.getPath(t)))return!1;const o=t.id;return o?document.querySelectorAll(`#${o}`).length>1:!1}isInsideFubi(t){return!t||t.nodeType!==Node.ELEMENT_NODE?!1:t.closest("#fubi-wrapper-outter")!==null}analyzeElement(t){const e=this.getPath(t);return{hasComment:t==null?void 0:t.hasAttribute("data-fubi-comment"),isCommentActive:t==null?void 0:t.classList.contains("fubi-comment-active"),isAllowed:this.isElementAllowed(t),isMeta:this.isMeta(t),isInsideFubi:this.isInsideFubi(t),path:e,isPathValid:_t.validatePath(e),isIgnored:this.isIgnored(t),thread:t==null?void 0:t.getAttribute("data-fubi-comment"),id:t==null?void 0:t.id,hasDuplicateIds:this.hasDuplicateIds(t),tag:this.getTag(t),tagName:this.getTagName(t)}}getTagName(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return null;const e=t==null?void 0:t.getAttribute("data-type-component");return e||gd.get(this.getTag(t))}closeAllOpenedElements(){var e;((e=$==null?void 0:$.container)==null?void 0:e.querySelectorAll("#fubi-pages .opened")).forEach(o=>o.classList.remove("opened"))}getTag(t){return!t||t.nodeType!==Node.ELEMENT_NODE?null:t.hasAttribute("data-type-component")||t.getAttribute("data-type")==="component"?"component":(t.tagName||t.nodeName).toLowerCase()}isElementAllowed(t){const e=$.config.ignore,o=["html","body","head","title","path"],i=["fubi-backdrop","fubi-shadow-host"],n=["fubi-ignore","fubi-ignore-all","fubi-wrapper-outter","fubi-backdrop"];if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const a=this.getTag(t);return!(e.includes(a)||o.includes(a)||i.includes(t.id)||n.some(s=>t.classList.contains(s)))}getClosestAllowedElement(t){let e=t;for(;e;){if(e.classList&&e.classList.contains("fubi-ignore-all"))return null;e=e.parentElement}let o=t;for(;o&&o.nodeType===Node.ELEMENT_NODE;){if(this.isElementAllowed(o))return o;o=o.parentElement}return null}getElement(t){if(!t)return null;const e=t.split(" > ");let o=document;for(const i of e){const[n,...a]=i.split("#"),s=a.join("#"),l=s?`${n}#${s}`:n;if(o=o.querySelector(l),!o)return null}return o}getPath(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return"";const e=[];let o=t;for(;o&&o.nodeType===Node.ELEMENT_NODE;){const n=this.getTag(o);let a=n;if(o.id){a+=`#${o.id}`,e.unshift(a);break}else{let s=1,l=o;for(;l.previousElementSibling;)l=l.previousElementSibling,this.getTag(l)===n&&s++;s>1&&(a+=`:nth-of-type(${s})`)}e.unshift(a),o=o.parentNode}return e.join(" > ")}}const Nt=new bd,eo="isolation";class md{constructor(){F(this,xo,T(!1));F(this,yo,T(null));F(this,Co,T(null))}get active(){return p(g(this,xo))}set active(t){E(g(this,xo),I(t))}get current(){return p(g(this,yo))}set current(t){E(g(this,yo),I(t))}get content(){return p(g(this,Co))}set content(t){E(g(this,Co),I(t))}init(){return this.content=document==null?void 0:document.querySelector($.config.content||"body"),C.on("card","clicked",t=>{const{el:e}=_t.getThread(t);this.isolate(e)}),C.on("comments","url-param",({el:t})=>{this.isolate(t)}),C.on("events","click",t=>{ot.user&&this.handleClick(t)}),C.on("keys","pressed-esc",()=>this.current&&this.reset()),B.ok(eo,"initialized"),this}isolate(t){this.current=t;const e=Nt.analyzeElement(t);t&&(t.classList.add("fubi-isolated"),_t.scrollIntoView(t)),this.active=!0,C.emit(eo,"isolated",{el:t,info:e})}reset(){_t.enableScroll();const t=this.current;t&&t.classList.remove("fubi-isolated"),this.active=!1,this.current=null,C.emit(eo,"reset")}handleClick(t){const e=t.target,o=Nt.analyzeElement(e);let i=!0,n="";if(Y.active){t.preventDefault(),this.reset();return}if(o.isIgnored&&(n="Element is ignored"),!o.isAllowed&&!o.isMeta&&(n="Element is not allowed"),o.isPathValid||(n="Element path is not valid"),o.hasDuplicateIds&&(n="Element does not have unique ID:"),o.isInsideFubi&&(n="Element is inside Fubi",i=!1),n){B.warn(eo,n);return}t&&i&&t.preventDefault(),C.emit(eo,"clicked",{el:e,info:o}),this.isolate(e)}}xo=new WeakMap,yo=new WeakMap,Co=new WeakMap;const Y=new md,St="comments";let rl=new tr("fubi-mine-opened",!0),ol=new tr("fubi-other-opened",!0),il=new tr("fubi-done-opened",!1),wd=(Jl=class{constructor(){F(this,ko,T(!1));F(this,_o,T(null));F(this,Eo,T(null));F(this,Cn,j(()=>{if(!this.currentId)return null;const t=this.threads.find(e=>e.id===this.currentId);return t?{...t}:null}));F(this,So,T(I([])));F(this,Lo,T(I([])));F(this,Uo,T(null));F(this,kn,j(()=>this.data.filter(t=>t.type==="thread").map(this.addUnreadCount.bind(this)).map(this.addParticipants.bind(this)).sort(_t.sortDesc)));F(this,_n,j(()=>this.threads.filter(t=>t.status==="todo")));F(this,En,j(()=>this.todo.filter(t=>t.created_by===ot.user.id)));F(this,Sn,j(()=>this.todo.filter(t=>t.created_by!==ot.user.id)));F(this,Ln,j(()=>this.threads.filter(t=>t.status==="done")));F(this,Un,j(()=>this.data.filter(t=>{var e;return t.parent===((e=this==null?void 0:this.current)==null?void 0:e.id)}).sort(_t.sortAsc)));F(this,Fo,T(!1))}get loading(){return p(g(this,ko))}set loading(t){E(g(this,ko),I(t))}get error(){return p(g(this,_o))}set error(t){E(g(this,_o),I(t))}get urlParam(){return p(g(this,Eo))}set urlParam(t){E(g(this,Eo),I(t))}get current(){return p(g(this,Cn))}get data(){return p(g(this,So))}set data(t){E(g(this,So),I(t))}get read(){return p(g(this,Lo))}set read(t){E(g(this,Lo),I(t))}get currentId(){return p(g(this,Uo))}set currentId(t){E(g(this,Uo),I(t))}get threads(){return p(g(this,kn))}get todo(){return p(g(this,_n))}get mine(){return p(g(this,En))}get other(){return p(g(this,Sn))}get done(){return p(g(this,Ln))}get comments(){return p(g(this,Un))}get subscribed(){return p(g(this,Fo))}set subscribed(t){E(g(this,Fo),I(t))}get mineOpened(){return rl.current}set mineOpened(t){rl.current=t}get otherOpened(){return ol.current}set otherOpened(t){ol.current=t}get doneOpened(){return il.current}set doneOpened(t){il.current=t}init(){return C.on("isolation","reset",t=>this.reset()),C.on("check","clicked",t=>{this.setStatus(t,t.status==="done"?"todo":"done")}),C.on("card","clicked",t=>{const e=this.findThread({selector:t});e.id&&this.open(e)}),C.on("isolation","clicked",({el:t,info:e})=>{e.hasComment&&e.thread&&this.findThread({id:e.thread})&&this.open({id:e.thread})}),C.on("pages","current-is-registered",()=>{this.getReadThreads(),this.get(),this.subscribe()}),C.on("pages","current-not-registered",()=>{this.reset(),this.unsubscribe()}),C.on("navigation","goto",t=>{t==="comments"&&this.focusInput()}),C.on("comments","created",async t=>{Y.active&&this.currentId===null&&this.setCurrent(t.id)}),B.ok(St,"initialized"),this}checkForParam(){const e=new URLSearchParams(location.search).get("fubi");if(!e)return;const o=this.findThread({id:e});if(!o){B.error(St,"Comment ID from URL not found"),this.urlParam=!1,_t.removeUrlParam("fubi");return}const i=document.querySelector(o.selector);this.urlParam=e,this.open({id:e}),C.emit(St,"url-param",{id:e,el:i})}subscribe(){this.subscribed=!0,B.info(St,"Subscribing to comments"),Mt("comments").subscribe("*",t=>{this.crud(t.action,t.record),this.populate()},{filter:`page = "${Lt.current.id}"`,expand:"created_by"})}unsubscribe(){this.subscribed=!1,B.info(St,"Unsubscribing from comments"),Mt("comments").unsubscribe("*")}reset(){this.currentId=null}findThread({el:t=null,id:e=null,selector:o=null}){if(!t&&!e&&!o){console.error("No element, id or selector provided");return}const i=this.threads.find(n=>!!(t&&n.selector===t.getAttribute("data-fubi-comment")||e&&n.id===e||o&&n.selector===o));return{...i,selector:(i==null?void 0:i.selector)||o,id:(i==null?void 0:i.id)||e,el:(i==null?void 0:i.el)||t}}open(t){this.currentId=t.id,this.markReadThread(),C.emit(St,"opened",t)}async setCurrent(t){const e=await this.getFromArray(t,this.threads);if(!e){B.error(St,"Item not found in threads:",t);return}e.unread=!1,this.currentId=e.id,await this.updateThread(this.current)}addUnreadCount(t){if(t.updated_by===ot.user.id)return{...t,unread:!1};const e=this.read.find(a=>a.thread===t.id);if(!e)return{...t,unread:!0};if(this.currentId===t.id)return{...t,unread:!1};const o=e?new Date(e.lastVisit).getTime():0,n=new Date(t.updated).getTime()>o;return{...t,unread:n}}addParticipants(t){var s;const e=this.data.filter(l=>{var c;return l.type==="comment"&&l.parent===t.id&&((c=l.expand)==null?void 0:c.created_by)}),o=t.created_by,i=[],n=new Set([o]);return(s=t.expand)!=null&&s.created_by&&i.push(t.expand.created_by),[...e].sort(_t.sortAsc).forEach(l=>{const c=l.expand.created_by.id;n.has(c)||(n.add(c),i.push(l.expand.created_by))}),{...t,participants:i}}async getFromArray(t,e){const o=await e.find(i=>i.id===t);return o||(B.error(St,"Item not found in array:",t),null)}async updateThread(t){var i;const{result:e,error:o}=await Mt("comments").update(t.id,{...t,updated_by:(i=ot==null?void 0:ot.user)==null?void 0:i.id});if(o){this.error=o;return}B.info(St,"Updated thread:",e)}async setStatus(t,e){var a;const{result:o,error:i}=await Mt("comments").update(t.id,{...t,status:e,updated_by:ot.user.id}),n=e==="done"?"marked as done":"marked as todo";if(await this.add(n,"status",t==null?void 0:t.id,{status:e}),i){this.error=i;return}((a=this.current)==null?void 0:a.id)===t.id&&(this.current.status=e),this.populate(),B.info(St,"Set status:",e,"to comment:",t)}async add(t,e="thread",o=null,i=null){var l,c,u;const n={page:Lt.current.id,parent:o||((l=this==null?void 0:this.current)==null?void 0:l.id)||null,info:{resolution:(c=$==null?void 0:$.meta)==null?void 0:c.resolution,browser:(u=$==null?void 0:$.meta)==null?void 0:u.browser,...i},text:t,type:e,status:"todo",selector:Nt.getPath(Y.current),tag:Nt.getTag(Y.current),created_by:ot.user.id,update_by:ot.user.id},{result:a,error:s}=await Mt("comments").create(n);s?B.error(St,"Error adding comment:",s):C.emit(St,"created",a)}async markReadThread(){if(!this.current||this.current.type!=="thread")return;const t=this.current.id,e=this.read.find(o=>o.thread===t);try{e?await Mt("thread_views").update(e.id,{lastVisit:new Date().toISOString()}):await Mt("thread_views").create({user:ot.user.id,thread:t,lastVisit:new Date().toISOString()}),B.info(St,"Thread marked as read:",t),this.getReadThreads()}catch(o){console.error("Error marking thread as read:",o)}}focusInput(){var e,o;const t=document.querySelector("#fubi-comment-textarea")||((e=$==null?void 0:$.main)==null?void 0:e.querySelector("#fubi-comment-textarea"))||((o=$==null?void 0:$.container)==null?void 0:o.querySelector("#fubi-comment-textarea"));if(!t){B.error(St,"Input not found, selector:",t);return}t.focus()}async handleSendMessage(t){Lt.current.new&&await Lt.registerCurrent(),await this.add(t,this.current?"comment":"thread")}async get(){this.loading=!0,this.error=null;const{result:t,error:e}=await Mt("comments").getFullList({filter:`page = "${Lt.current.id}"`,expand:"created_by",requestKey:"comments"});if(e){this.error=e;return}this.data=t,this.populate(),this.loading=!1,B.ok(St,"Threads for page:",this.threads)}async getReadThreads(){this.loading=!0,this.error=null;const{result:t,error:e}=await Mt("thread_views").getFullList({filter:`user = "${ot.user.id}"`,requestKey:"thread_views"});if(e){this.error=e;return}this.read=t,this.loading=!1}populate(){var e;B.info(St,"Populating comments"),document.querySelectorAll("[data-fubi-comment]").forEach(o=>o.removeAttribute("data-fubi-comment")),(e=this==null?void 0:this.threads)==null||e.forEach(o=>{if(!(o!=null&&o.selector)){const n=`Comment <b>${o.id}</b> <br/>is a Thread but has no selector`;B.error(St,n),$.error=n;return}if(!_t.validatePath(o==null?void 0:o.selector)){B.error(St,`Invalid path for comment ${o==null?void 0:o.id}: ${o==null?void 0:o.selector}`),this.data=this.data.map(n=>n.id===o.id?{...n,invalid:!0}:n);return}const i=document==null?void 0:document.querySelector(o==null?void 0:o.selector);!i||i.nodeType!==Node.ELEMENT_NODE?(B.warn(St,`Element not found for comment ${o==null?void 0:o.id}: ${o==null?void 0:o.selector}`),this.data=this.data.map(n=>n.id===o.id?{...n,invalid:!0}:n)):(i.setAttribute("data-fubi-comment",o.id),i.classList[o.status==="done"?"remove":"add"]("fubi-comment-active"),o.status)}),!this.urlParam&&!Y.active&&this.checkForParam(),C.emit(St,"populated")}crud(t,e){switch(t){case"create":this.data.push(e);break;case"update":this.data=this.data.map(o=>o.id===e.id?e:o);break;case"delete":this.data=this.data.filter(o=>o.id!==e.id);break}}},ko=new WeakMap,_o=new WeakMap,Eo=new WeakMap,Cn=new WeakMap,So=new WeakMap,Lo=new WeakMap,Uo=new WeakMap,kn=new WeakMap,_n=new WeakMap,En=new WeakMap,Sn=new WeakMap,Ln=new WeakMap,Un=new WeakMap,Fo=new WeakMap,Jl);const R=new wd;function xd(r){E(r,r.v+1)}function yd(r){let t=0,e=Ct(0),o;return()=>{as()&&(p(e),Te(()=>(t===0&&(o=ee(()=>r(()=>xd(e)))),t+=1,()=>{os().then(()=>{t-=1,t===0&&(o==null||o(),o=void 0)})})))}}function Qi(r){return Object.prototype.toString.call(r)==="[object Date]"}function pa(r,t,e,o){if(typeof e=="number"||Qi(e)){const i=o-e,n=(e-t)/(r.dt||1/60),a=r.opts.stiffness*i,s=r.opts.damping*n,l=(a-s)*r.inv_mass,c=(n+l)*r.dt;return Math.abs(c)<r.opts.precision&&Math.abs(i)<r.opts.precision?o:(r.settled=!1,Qi(e)?new Date(e.getTime()+c):e+c)}else{if(Array.isArray(e))return e.map((i,n)=>pa(r,t[n],e[n],o[n]));if(typeof e=="object"){const i={};for(const n in e)i[n]=pa(r,t[n],e[n],o[n]);return i}else throw new Error(`Cannot spring ${typeof e} values`)}}const Aa=class Aa{constructor(t,e={}){F(this,Fn);F(this,dr,Ct(.15));F(this,ur,Ct(.8));F(this,fr,Ct(.01));F(this,Qt,Ct(void 0));F(this,Ne,Ct(void 0));F(this,hr);F(this,Mr,0);F(this,pr,1);F(this,Ao,0);F(this,Se,null);F(this,Rr,null);g(this,Qt).v=g(this,Ne).v=t,typeof e.stiffness=="number"&&(g(this,dr).v=en(e.stiffness,0,1)),typeof e.damping=="number"&&(g(this,ur).v=en(e.damping,0,1)),typeof e.precision=="number"&&(g(this,fr).v=e.precision)}static of(t,e){const o=new Aa(t(),e);return Te(()=>{o.set(t())}),o}set(t,e){var i,n;if((i=g(this,Rr))==null||i.reject(new Error("Aborted")),e!=null&&e.instant||g(this,Qt).v===void 0)return(n=g(this,Se))==null||n.abort(),yt(this,Se,null),E(g(this,Qt),E(g(this,Ne),t)),yt(this,hr,t),Promise.resolve();e!=null&&e.preserveMomentum&&(yt(this,pr,0),yt(this,Ao,e.preserveMomentum));var o=yt(this,Rr,Mc());return o.promise.catch($e),Ta(this,Fn,fc).call(this,t).then(()=>{o===g(this,Rr)&&o.resolve(void 0)}),o.promise}get current(){return p(g(this,Qt))}get damping(){return p(g(this,ur))}set damping(t){E(g(this,ur),en(t,0,1))}get precision(){return p(g(this,fr))}set precision(t){E(g(this,fr),t)}get stiffness(){return p(g(this,dr))}set stiffness(t){E(g(this,dr),en(t,0,1))}get target(){return p(g(this,Ne))}set target(t){this.set(t)}};dr=new WeakMap,ur=new WeakMap,fr=new WeakMap,Qt=new WeakMap,Ne=new WeakMap,hr=new WeakMap,Mr=new WeakMap,pr=new WeakMap,Ao=new WeakMap,Se=new WeakMap,Rr=new WeakMap,Fn=new WeakSet,fc=function(t){var o;if(E(g(this,Ne),t),(o=g(this,Qt)).v??(o.v=t),g(this,hr)??yt(this,hr,g(this,Qt).v),!g(this,Se)){yt(this,Mr,oe.now());var e=1e3/(g(this,Ao)*60);g(this,Se)??yt(this,Se,Jn(i=>{yt(this,pr,Math.min(g(this,pr)+e,1));const n=Math.min(i-g(this,Mr),1e3/30),a={inv_mass:g(this,pr),opts:{stiffness:g(this,dr).v,damping:g(this,ur).v,precision:g(this,fr).v},settled:!0,dt:n*60/1e3};var s=pa(a,g(this,hr),g(this,Qt).v,g(this,Ne).v);return yt(this,hr,g(this,Qt).v),yt(this,Mr,i),E(g(this,Qt),s),a.settled&&yt(this,Se,null),!a.settled}))}return g(this,Se).promise};let tn=Aa;function en(r,t,e){return Math.max(t,Math.min(e,r))}function Cd(r){return r}function nl(r){const t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)}function rr(r){return--r*r*(2.70158*r+1.70158)+1}function ro(r){const t=r-1;return t*t*t+1}function kd(r){return r===1?r:1-Math.pow(2,-10*r)}function rn(r){return r/=.5,r<1?.5*r*r:(r--,-.5*(r*(r-2)-1))}function _d(r){return--r*r*r*r*r+1}function ga(r,t){if(r===t||r!==r)return()=>r;const e=typeof r;if(e!==typeof t||Array.isArray(r)!==Array.isArray(t))throw new Error("Cannot interpolate values of different type");if(Array.isArray(r)){const o=t.map((i,n)=>ga(r[n],i));return i=>o.map(n=>n(i))}if(e==="object"){if(!r||!t)throw new Error("Object cannot be null");if(Qi(r)&&Qi(t)){const n=r.getTime(),s=t.getTime()-n;return l=>new Date(n+l*s)}const o=Object.keys(t),i={};return o.forEach(n=>{i[n]=ga(r[n],t[n])}),n=>{const a={};return o.forEach(s=>{a[s]=i[s](n)}),a}}if(e==="number"){const o=t-r;return i=>r+i*o}return()=>t}const $a=class $a{constructor(t,e={}){F(this,Le,Ct(void 0));F(this,Dr,Ct(void 0));F(this,$o);F(this,gr,null);g(this,Le).v=g(this,Dr).v=t,yt(this,$o,e)}static of(t,e){const o=new $a(t(),e);return Te(()=>{o.set(t())}),o}set(t,e){var f;E(g(this,Dr),t);let{delay:o=0,duration:i=400,easing:n=Cd,interpolate:a=ga}={...g(this,$o),...e};if(i===0)return(f=g(this,gr))==null||f.abort(),E(g(this,Le),t),Promise.resolve();const s=oe.now()+o;let l,c=!1,u=g(this,gr);return yt(this,gr,Jn(d=>{if(d<s)return!0;if(!c){c=!0;const v=g(this,Le).v;l=a(v,t),typeof i=="function"&&(i=i(v,t)),u==null||u.abort()}const h=d-s;return h>i?(E(g(this,Le),t),!1):(E(g(this,Le),l(n(h/i))),!0)})),g(this,gr).promise}get current(){return p(g(this,Le))}get target(){return p(g(this,Dr))}set target(t){this.set(t)}};Le=new WeakMap,Dr=new WeakMap,$o=new WeakMap,gr=new WeakMap;let va=$a;const Ed="cursor",on=16;let Sd=(Xl=class{constructor(){F(this,Io,T(!1));F(this,To,T(!1));Et(this,"outside",!1);Et(this,"scrolling",!1);F(this,Oo,T("default"));F(this,zo,T(""));F(this,Mo,T(""));F(this,Ro,T("default"));F(this,Do,T("right"));F(this,Po,T(0));F(this,Ho,T(0));F(this,Vo,T(!1));Et(this,"pos",new tn({x:0,y:0},{stiffness:.1,damping:.4}))}get enabled(){return p(g(this,Io))}set enabled(t){E(g(this,Io),I(t))}get visible(){return p(g(this,To))}set visible(t){E(g(this,To),I(t))}get icon(){return p(g(this,Oo))}set icon(t){E(g(this,Oo),I(t))}get title(){return p(g(this,zo))}set title(t){E(g(this,zo),I(t))}get text(){return p(g(this,Mo))}set text(t){E(g(this,Mo),I(t))}get mode(){return p(g(this,Ro))}set mode(t){E(g(this,Ro),I(t))}get align(){return p(g(this,Do))}set align(t){E(g(this,Do),I(t))}get width(){return p(g(this,Po))}set width(t){E(g(this,Po),I(t))}get height(){return p(g(this,Ho))}set height(t){E(g(this,Ho),I(t))}get inside(){return p(g(this,Vo))}set inside(t){E(g(this,Vo),I(t))}init(){return C.on("auth","authenticated",()=>{this.enable()}),C.on("app-component","mouseenter",()=>{this.inside=!0,this.hide()}),C.on("thread-list","mouseleave",()=>this.hide()),C.on("app-component","mouseleave",()=>{ot.user&&this.enabled&&$.opened&&(this.inside=!1)}),C.on("isolation","isolated",()=>{this.enabled&&this.set({icon:"back",title:"Click to leave",mode:"info"})}),C.on("isolation","reset",()=>{this.reset()}),C.on("auth","logout",()=>{this.disable()}),C.on("app","closed",()=>{this.disable()}),C.on("app","opened",()=>{ot.user&&this.enable()}),C.on("events","mousemove",t=>{this.outside&&(this.outside=!1),this.scrolling&&(this.scrolling=!1),this.enabled&&(this.move(t.clientX,t.clientY,!this.visible),Y.active&&!this.visible&&this.show())}),C.on("events","mouseout",t=>{t.toElement===null&&this.enabled&&(this.outside=!0,this.hide())}),C.on("events","scrollstart",()=>{this.enabled&&!Y.active&&(this.scrolling=!0,this.reset())}),C.on("hover","hover",({cursor:t})=>{this.enabled&&this.set(t)}),C.on("keys","pressed-option",()=>{this.enabled&&!Y.active&&this.hide()}),C.on("keys","released-option",()=>{this.enabled&&!Y.active&&this.hide()}),B.ok(Ed,"initialized"),this}disable(){this.enabled=!1,this.hide()}enable(){this.enabled=!0}hide(){this.visible=!1}show(){this.visible=!0}reset(){this.set({icon:"default",title:"",text:null,mode:"default",align:"right",width:0,height:0,visible:!1}),this.resetNativeCursor()}resetNativeCursor(){this.setNativeCursor("auto")}setNativeCursor(t){document.documentElement.style.setProperty("--fubi-cursor",t)}set(t){"icon"in t&&(this.icon=t.icon),"title"in t&&(this.title=t.title),"text"in t&&(this.text=t.text),"mode"in t&&(this.mode=t.mode),"align"in t&&(this.align=t.align),"width"in t&&(this.width=t.width),"height"in t&&(this.height=t.height),"visible"in t&&(t.visible?this.show():this.hide()),"native"in t&&this.setNativeCursor(t.native)}move(t,e,o=!1){const i=window.innerWidth-(this.width+on),n=window.innerHeight-(this.height+on);this.pos.set({x:Math.min(t+on,i),y:Math.min(e+on,n)},{instant:o})}getCursorInfo(t){let e=!this.inside,o="plus",i="Add comment",n=null,a=null,s="default";const l=[{condition:()=>!t.isPathValid,icon:"error",title:"Invalid selector",text:t.path,mode:"error"},{condition:()=>t.hasDuplicateIds,icon:"error",title:"Duplicate IDs",mode:"error",native:"not-allowed"},{condition:()=>t.isMeta&&t.id==="fubi-meta-wrapper",title:"Add Global comment"},{condition:()=>!t.isAllowed&&!t.isMeta,icon:"not-allowed",title:"",mode:"not-allowed",visible:!1,native:"not-allowed"},{condition:()=>Y.active,icon:"back",title:"Click to leave",mode:"info"},{condition:()=>t.hasComment&&!t.isCommentActive,icon:"checked",title:"Comment is done",mode:"done"},{condition:()=>t.hasComment&&t.isCommentActive,icon:"comment",title:"Open comment",mode:"thread"}];for(const c of l)if(c.condition()){o=c.icon??o,i=c.title??i,a=c.mode??a,e=c.visible??e,s=c.native??s;break}return{icon:o,title:i,text:n,mode:a,visible:e,native:s}}},Io=new WeakMap,To=new WeakMap,Oo=new WeakMap,zo=new WeakMap,Mo=new WeakMap,Ro=new WeakMap,Do=new WeakMap,Po=new WeakMap,Ho=new WeakMap,Vo=new WeakMap,Xl);const oo=new Sd,nn=Math.min,or=Math.max,an=Math.round,sn=Math.floor,ge=r=>({x:r,y:r}),Ld={left:"right",right:"left",bottom:"top",top:"bottom"},Ud={start:"end",end:"start"};function al(r,t,e){return or(r,nn(t,e))}function ln(r,t){return typeof r=="function"?r(t):r}function ir(r){return r.split("-")[0]}function cn(r){return r.split("-")[1]}function sl(r){return r==="x"?"y":"x"}function ll(r){return r==="y"?"height":"width"}function nr(r){return["top","bottom"].includes(ir(r))?"y":"x"}function cl(r){return sl(nr(r))}function Fd(r,t,e){e===void 0&&(e=!1);const o=cn(r),i=cl(r),n=ll(i);let a=i==="x"?o===(e?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[n]>t.floating[n]&&(a=dn(a)),[a,dn(a)]}function Ad(r){const t=dn(r);return[ba(r),t,ba(t)]}function ba(r){return r.replace(/start|end/g,t=>Ud[t])}function $d(r,t,e){const o=["left","right"],i=["right","left"],n=["top","bottom"],a=["bottom","top"];switch(r){case"top":case"bottom":return e?t?i:o:t?o:i;case"left":case"right":return t?n:a;default:return[]}}function Id(r,t,e,o){const i=cn(r);let n=$d(ir(r),e==="start",o);return i&&(n=n.map(a=>a+"-"+i),t&&(n=n.concat(n.map(ba)))),n}function dn(r){return r.replace(/left|right|bottom|top/g,t=>Ld[t])}function Td(r){return{top:0,right:0,bottom:0,left:0,...r}}function Od(r){return typeof r!="number"?Td(r):{top:r,right:r,bottom:r,left:r}}function un(r){const{x:t,y:e,width:o,height:i}=r;return{width:o,height:i,top:e,left:t,right:t+o,bottom:e+i,x:t,y:e}}function dl(r,t,e){let{reference:o,floating:i}=r;const n=nr(t),a=cl(t),s=ll(a),l=ir(t),c=n==="y",u=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,d=o[s]/2-i[s]/2;let h;switch(l){case"top":h={x:u,y:o.y-i.height};break;case"bottom":h={x:u,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-i.width,y:f};break;default:h={x:o.x,y:o.y}}switch(cn(t)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1);break}return h}const zd=async(r,t,e)=>{const{placement:o="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:r,floating:t,strategy:i}),{x:u,y:f}=dl(c,o,l),d=o,h={},v=0;for(let b=0;b<s.length;b++){const{name:w,fn:_}=s[b],{x:y,y:m,data:S,reset:L}=await _({x:u,y:f,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:r,floating:t}});u=y??u,f=m??f,h={...h,[w]:{...h[w],...S}},L&&v<=50&&(v++,typeof L=="object"&&(L.placement&&(d=L.placement),L.rects&&(c=L.rects===!0?await a.getElementRects({reference:r,floating:t,strategy:i}):L.rects),{x:u,y:f}=dl(c,d,l)),b=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:h}};async function ul(r,t){var e;t===void 0&&(t={});const{x:o,y:i,platform:n,rects:a,elements:s,strategy:l}=r,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ln(t,r),v=Od(h),w=s[d?f==="floating"?"reference":"floating":f],_=un(await n.getClippingRect({element:(e=await(n.isElement==null?void 0:n.isElement(w)))==null||e?w:w.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),y=f==="floating"?{x:o,y:i,width:a.floating.width,height:a.floating.height}:a.reference,m=await(n.getOffsetParent==null?void 0:n.getOffsetParent(s.floating)),S=await(n.isElement==null?void 0:n.isElement(m))?await(n.getScale==null?void 0:n.getScale(m))||{x:1,y:1}:{x:1,y:1},L=un(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:m,strategy:l}):y);return{top:(_.top-L.top+v.top)/S.y,bottom:(L.bottom-_.bottom+v.bottom)/S.y,left:(_.left-L.left+v.left)/S.x,right:(L.right-_.right+v.right)/S.x}}const Md=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(t){var e,o;const{placement:i,middlewareData:n,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:b=!0,...w}=ln(r,t);if((e=n.arrow)!=null&&e.alignmentOffset)return{};const _=ir(i),y=nr(s),m=ir(s)===s,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),L=d||(m||!b?[dn(s)]:Ad(s)),O=v!=="none";!d&&O&&L.push(...Id(s,b,v,S));const z=[s,...L],H=await ul(t,w),J=[];let X=((o=n.flip)==null?void 0:o.overflows)||[];if(u&&J.push(H[_]),f){const xt=Fd(i,a,S);J.push(H[xt[0]],H[xt[1]])}if(X=[...X,{placement:i,overflows:J}],!J.every(xt=>xt<=0)){var Q,G;const xt=(((Q=n.flip)==null?void 0:Q.index)||0)+1,Ut=z[xt];if(Ut){var gt;const Ft=f==="alignment"?y!==nr(Ut):!1,It=((gt=X[0])==null?void 0:gt.overflows[0])>0;if(!Ft||It)return{data:{index:xt,overflows:X},reset:{placement:Ut}}}let $t=(G=X.filter(Ft=>Ft.overflows[0]<=0).sort((Ft,It)=>Ft.overflows[1]-It.overflows[1])[0])==null?void 0:G.placement;if(!$t)switch(h){case"bestFit":{var ht;const Ft=(ht=X.filter(It=>{if(O){const qt=nr(It.placement);return qt===y||qt==="y"}return!0}).map(It=>[It.placement,It.overflows.filter(qt=>qt>0).reduce((qt,An)=>qt+An,0)]).sort((It,qt)=>It[1]-qt[1])[0])==null?void 0:ht[0];Ft&&($t=Ft);break}case"initialPlacement":$t=s;break}if(i!==$t)return{reset:{placement:$t}}}return{}}}};async function Rd(r,t){const{placement:e,platform:o,elements:i}=r,n=await(o.isRTL==null?void 0:o.isRTL(i.floating)),a=ir(e),s=cn(e),l=nr(e)==="y",c=["left","top"].includes(a)?-1:1,u=n&&l?-1:1,f=ln(t,r);let{mainAxis:d,crossAxis:h,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}const Dd=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(t){var e,o;const{x:i,y:n,placement:a,middlewareData:s}=t,l=await Rd(t,r);return a===((e=s.offset)==null?void 0:e.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:n+l.y,data:{...l,placement:a}}}}},Pd=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:_,y}=w;return{x:_,y}}},...l}=ln(r,t),c={x:e,y:o},u=await ul(t,l),f=nr(ir(i)),d=sl(f);let h=c[d],v=c[f];if(n){const w=d==="y"?"top":"left",_=d==="y"?"bottom":"right",y=h+u[w],m=h-u[_];h=al(y,h,m)}if(a){const w=f==="y"?"top":"left",_=f==="y"?"bottom":"right",y=v+u[w],m=v-u[_];v=al(y,v,m)}const b=s.fn({...t,[d]:h,[f]:v});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[d]:n,[f]:a}}}}}};function fn(){return typeof window<"u"}function Ar(r){return fl(r)?(r.nodeName||"").toLowerCase():"#document"}function Zt(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function ve(r){var t;return(t=(fl(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function fl(r){return fn()?r instanceof Node||r instanceof Zt(r).Node:!1}function ie(r){return fn()?r instanceof Element||r instanceof Zt(r).Element:!1}function be(r){return fn()?r instanceof HTMLElement||r instanceof Zt(r).HTMLElement:!1}function hl(r){return!fn()||typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof Zt(r).ShadowRoot}function io(r){const{overflow:t,overflowX:e,overflowY:o,display:i}=ne(r);return/auto|scroll|overlay|hidden|clip/.test(t+o+e)&&!["inline","contents"].includes(i)}function Hd(r){return["table","td","th"].includes(Ar(r))}function hn(r){return[":popover-open",":modal"].some(t=>{try{return r.matches(t)}catch{return!1}})}function ma(r){const t=wa(),e=ie(r)?ne(r):r;return["transform","translate","scale","rotate","perspective"].some(o=>e[o]?e[o]!=="none":!1)||(e.containerType?e.containerType!=="normal":!1)||!t&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!t&&(e.filter?e.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(e.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(e.contain||"").includes(o))}function Vd(r){let t=He(r);for(;be(t)&&!$r(t);){if(ma(t))return t;if(hn(t))return null;t=He(t)}return null}function wa(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function $r(r){return["html","body","#document"].includes(Ar(r))}function ne(r){return Zt(r).getComputedStyle(r)}function pn(r){return ie(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function He(r){if(Ar(r)==="html")return r;const t=r.assignedSlot||r.parentNode||hl(r)&&r.host||ve(r);return hl(t)?t.host:t}function pl(r){const t=He(r);return $r(t)?r.ownerDocument?r.ownerDocument.body:r.body:be(t)&&io(t)?t:pl(t)}function no(r,t,e){var o;t===void 0&&(t=[]),e===void 0&&(e=!0);const i=pl(r),n=i===((o=r.ownerDocument)==null?void 0:o.body),a=Zt(i);if(n){const s=xa(a);return t.concat(a,a.visualViewport||[],io(i)?i:[],s&&e?no(s):[])}return t.concat(i,no(i,[],e))}function xa(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function gl(r){const t=ne(r);let e=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=be(r),n=i?r.offsetWidth:e,a=i?r.offsetHeight:o,s=an(e)!==n||an(o)!==a;return s&&(e=n,o=a),{width:e,height:o,$:s}}function ya(r){return ie(r)?r:r.contextElement}function Ir(r){const t=ya(r);if(!be(t))return ge(1);const e=t.getBoundingClientRect(),{width:o,height:i,$:n}=gl(t);let a=(n?an(e.width):e.width)/o,s=(n?an(e.height):e.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Bd=ge(0);function vl(r){const t=Zt(r);return!wa()||!t.visualViewport?Bd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jd(r,t,e){return t===void 0&&(t=!1),!e||t&&e!==Zt(r)?!1:t}function ar(r,t,e,o){t===void 0&&(t=!1),e===void 0&&(e=!1);const i=r.getBoundingClientRect(),n=ya(r);let a=ge(1);t&&(o?ie(o)&&(a=Ir(o)):a=Ir(r));const s=jd(n,e,o)?vl(n):ge(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,f=i.height/a.y;if(n){const d=Zt(n),h=o&&ie(o)?Zt(o):o;let v=d,b=xa(v);for(;b&&o&&h!==v;){const w=Ir(b),_=b.getBoundingClientRect(),y=ne(b),m=_.left+(b.clientLeft+parseFloat(y.paddingLeft))*w.x,S=_.top+(b.clientTop+parseFloat(y.paddingTop))*w.y;l*=w.x,c*=w.y,u*=w.x,f*=w.y,l+=m,c+=S,v=Zt(b),b=xa(v)}}return un({width:u,height:f,x:l,y:c})}function Ca(r,t){const e=pn(r).scrollLeft;return t?t.left+e:ar(ve(r)).left+e}function bl(r,t,e){e===void 0&&(e=!1);const o=r.getBoundingClientRect(),i=o.left+t.scrollLeft-(e?0:Ca(r,o)),n=o.top+t.scrollTop;return{x:i,y:n}}function Nd(r){let{elements:t,rect:e,offsetParent:o,strategy:i}=r;const n=i==="fixed",a=ve(o),s=t?hn(t.floating):!1;if(o===a||s&&n)return e;let l={scrollLeft:0,scrollTop:0},c=ge(1);const u=ge(0),f=be(o);if((f||!f&&!n)&&((Ar(o)!=="body"||io(a))&&(l=pn(o)),be(o))){const h=ar(o);c=Ir(o),u.x=h.x+o.clientLeft,u.y=h.y+o.clientTop}const d=a&&!f&&!n?bl(a,l,!0):ge(0);return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-l.scrollLeft*c.x+u.x+d.x,y:e.y*c.y-l.scrollTop*c.y+u.y+d.y}}function Zd(r){return Array.from(r.getClientRects())}function qd(r){const t=ve(r),e=pn(r),o=r.ownerDocument.body,i=or(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=or(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Ca(r);const s=-e.scrollTop;return ne(o).direction==="rtl"&&(a+=or(t.clientWidth,o.clientWidth)-i),{width:i,height:n,x:a,y:s}}function Wd(r,t){const e=Zt(r),o=ve(r),i=e.visualViewport;let n=o.clientWidth,a=o.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const c=wa();(!c||c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}function Gd(r,t){const e=ar(r,!0,t==="fixed"),o=e.top+r.clientTop,i=e.left+r.clientLeft,n=be(r)?Ir(r):ge(1),a=r.clientWidth*n.x,s=r.clientHeight*n.y,l=i*n.x,c=o*n.y;return{width:a,height:s,x:l,y:c}}function ml(r,t,e){let o;if(t==="viewport")o=Wd(r,e);else if(t==="document")o=qd(ve(r));else if(ie(t))o=Gd(t,e);else{const i=vl(r);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return un(o)}function wl(r,t){const e=He(r);return e===t||!ie(e)||$r(e)?!1:ne(e).position==="fixed"||wl(e,t)}function Kd(r,t){const e=t.get(r);if(e)return e;let o=no(r,[],!1).filter(s=>ie(s)&&Ar(s)!=="body"),i=null;const n=ne(r).position==="fixed";let a=n?He(r):r;for(;ie(a)&&!$r(a);){const s=ne(a),l=ma(a);!l&&s.position==="fixed"&&(i=null),(n?!l&&!i:!l&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||io(a)&&!l&&wl(r,a))?o=o.filter(u=>u!==a):i=s,a=He(a)}return t.set(r,o),o}function Yd(r){let{element:t,boundary:e,rootBoundary:o,strategy:i}=r;const a=[...e==="clippingAncestors"?hn(t)?[]:Kd(t,this._c):[].concat(e),o],s=a[0],l=a.reduce((c,u)=>{const f=ml(t,u,i);return c.top=or(f.top,c.top),c.right=nn(f.right,c.right),c.bottom=nn(f.bottom,c.bottom),c.left=or(f.left,c.left),c},ml(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Jd(r){const{width:t,height:e}=gl(r);return{width:t,height:e}}function Xd(r,t,e){const o=be(t),i=ve(t),n=e==="fixed",a=ar(r,!0,n,t);let s={scrollLeft:0,scrollTop:0};const l=ge(0);function c(){l.x=Ca(i)}if(o||!o&&!n)if((Ar(t)!=="body"||io(i))&&(s=pn(t)),o){const h=ar(t,!0,n,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else i&&c();n&&!o&&i&&c();const u=i&&!o&&!n?bl(i,s):ge(0),f=a.left+s.scrollLeft-l.x-u.x,d=a.top+s.scrollTop-l.y-u.y;return{x:f,y:d,width:a.width,height:a.height}}function ka(r){return ne(r).position==="static"}function xl(r,t){if(!be(r)||ne(r).position==="fixed")return null;if(t)return t(r);let e=r.offsetParent;return ve(r)===e&&(e=e.ownerDocument.body),e}function yl(r,t){const e=Zt(r);if(hn(r))return e;if(!be(r)){let i=He(r);for(;i&&!$r(i);){if(ie(i)&&!ka(i))return i;i=He(i)}return e}let o=xl(r,t);for(;o&&Hd(o)&&ka(o);)o=xl(o,t);return o&&$r(o)&&ka(o)&&!ma(o)?e:o||Vd(r)||e}const Qd=async function(r){const t=this.getOffsetParent||yl,e=this.getDimensions,o=await e(r.floating);return{reference:Xd(r.reference,await t(r.floating),r.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function tu(r){return ne(r).direction==="rtl"}const eu={convertOffsetParentRelativeRectToViewportRelativeRect:Nd,getDocumentElement:ve,getClippingRect:Yd,getOffsetParent:yl,getElementRects:Qd,getClientRects:Zd,getDimensions:Jd,getScale:Ir,isElement:ie,isRTL:tu};function Cl(r,t){return r.x===t.x&&r.y===t.y&&r.width===t.width&&r.height===t.height}function ru(r,t){let e=null,o;const i=ve(r);function n(){var s;clearTimeout(o),(s=e)==null||s.disconnect(),e=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),n();const c=r.getBoundingClientRect(),{left:u,top:f,width:d,height:h}=c;if(s||t(),!d||!h)return;const v=sn(f),b=sn(i.clientWidth-(u+d)),w=sn(i.clientHeight-(f+h)),_=sn(u),m={rootMargin:-v+"px "+-b+"px "+-w+"px "+-_+"px",threshold:or(0,nn(1,l))||1};let S=!0;function L(O){const z=O[0].intersectionRatio;if(z!==l){if(!S)return a();z?a(!1,z):o=setTimeout(()=>{a(!1,1e-7)},1e3)}z===1&&!Cl(c,r.getBoundingClientRect())&&a(),S=!1}try{e=new IntersectionObserver(L,{...m,root:i.ownerDocument})}catch{e=new IntersectionObserver(L,m)}e.observe(r)}return a(!0),n}function kl(r,t,e,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:n=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,c=ya(r),u=i||n?[...c?no(c):[],...no(t)]:[];u.forEach(_=>{i&&_.addEventListener("scroll",e,{passive:!0}),n&&_.addEventListener("resize",e)});const f=c&&s?ru(c,e):null;let d=-1,h=null;a&&(h=new ResizeObserver(_=>{let[y]=_;y&&y.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var m;(m=h)==null||m.observe(t)})),e()}),c&&!l&&h.observe(c),h.observe(t));let v,b=l?ar(r):null;l&&w();function w(){const _=ar(r);b&&!Cl(b,_)&&e(),b=_,v=requestAnimationFrame(w)}return e(),()=>{var _;u.forEach(y=>{i&&y.removeEventListener("scroll",e),n&&y.removeEventListener("resize",e)}),f==null||f(),(_=h)==null||_.disconnect(),h=null,l&&cancelAnimationFrame(v)}}const _l=Dd,El=Pd,Sl=Md,Ll=(r,t,e)=>{const o=new Map,i={platform:eu,...e},n={...i.platform,_c:o};return zd(r,t,{...i,platform:n})},ou="highlight";let iu=(Ql=class{constructor(){F(this,Bo,T(null));F(this,jo,T(null));F(this,No,T(!1));F(this,Zo,T(!1));Et(this,"scrolling",!1);F(this,qo,T("select"));F(this,Wo,T("not-allowed"));F(this,Go,T("div"));F(this,Ko,T(I({icon:null,mode:null,text:null})));F(this,Yo,T("top-left"));F(this,Jo,T(null));F(this,Xo,T(!1));Et(this,"pos",new tn({x:0,y:0,w:0,h:0,r:4},{stiffness:.08,damping:.5}));F(this,Qo,T(4));Et(this,"scrollTimer",null);F(this,ti,T(0));F(this,ei,T(!1))}get ref(){return p(g(this,Bo))}set ref(t){E(g(this,Bo),I(t))}get refNote(){return p(g(this,jo))}set refNote(t){E(g(this,jo),I(t))}get enabled(){return p(g(this,No))}set enabled(t){E(g(this,No),I(t))}get visible(){return p(g(this,Zo))}set visible(t){E(g(this,Zo),I(t))}get mode(){return p(g(this,qo))}set mode(t){E(g(this,qo),I(t))}get tagIcon(){return p(g(this,Wo))}set tagIcon(t){E(g(this,Wo),I(t))}get tagName(){return p(g(this,Go))}set tagName(t){E(g(this,Go),I(t))}get note(){return p(g(this,Ko))}set note(t){E(g(this,Ko),I(t))}get noteAlign(){return p(g(this,Yo))}set noteAlign(t){E(g(this,Yo),I(t))}get el(){return p(g(this,Jo))}set el(t){E(g(this,Jo),I(t))}get infoAutoUpdate(){return p(g(this,Xo))}set infoAutoUpdate(t){E(g(this,Xo),I(t))}get padding(){return p(g(this,Qo))}set padding(t){E(g(this,Qo),I(t))}get scroll(){return p(g(this,ti))}set scroll(t){E(g(this,ti),I(t))}get scrollingToElement(){return p(g(this,ei))}set scrollingToElement(t){E(g(this,ei),I(t))}init(){return C.on("auth","authenticated",()=>{this.enable()}),C.on("resize","drag-start",()=>{Y.active||this.hide()}),C.on("app-component","mouseenter",()=>{Y.active||this.hide()}),C.on("thread-list","mouseleave",()=>{this.hide()}),C.on("auth","logout",()=>{this.disable()}),C.on("app","closed",()=>{this.disable()}),C.on("app","opened",()=>{ot.user&&this.enable()}),C.on("isolation","isolated",({el:t})=>{t||this.hide()}),C.on("isolation","reset",()=>{this.enabled&&this.reset()}),C.on("hover","hover",t=>{this.enabled&&this.handleHover(t)}),C.on("card","mouseenter",({target:t})=>{t||this.hide()}),C.on("events","scrollstart",()=>{Y.active||this.hide()}),C.on("events","scroll",()=>{Y.active&&this.set(Y.current)}),C.on("events","mouseout",t=>{t.toElement===null&&this.enabled&&!Y.active&&this.hide()}),C.on("keys","pressed-option",()=>{this.enabled&&!Y.active&&this.hide()}),C.on("keys","released-option",()=>{this.enabled&&!Y.active&&this.hide()}),B.ok(ou,"initialized"),this}enable(){this.enabled=!0}disable(){this.hide(),this.reset()}hide(){this.visible=!1}show(){this.visible=!0}handleHover(t){const{highlight:e}=t;console.log("tagIcon",e.tagIcon),e.visible?(this.tagIcon=e.tagIcon,this.tagName=e.tagName,this.noteAlign=e.noteAlign,this.mode=e.mode,this.note=e.note,this.padding=e.padding,this.show(),this.highlight(t.el)):this.hide()}enableAutoUpdate(){this.infoAutoUpdate||(this.infoAutoUpdate=!0,kl(this.ref,this.refNote,()=>this.positionNote()))}positionNote(){Ll(this.ref,this.refNote,{placement:"top-start",middleware:[Sl({fallbackAxisSideDirection:"start"}),El({mainAxis:!0,crossAxis:!0,padding:16}),_l({mainAxis:8,alignmentAxis:0,crossAxis:16})]}).then(({x:t,y:e})=>{Object.assign(this.refNote.style,{left:`${t}px`,top:`${e}px`})})}getHighlightInfo(t){let e=!0,o=t.tagName,i=t.tag,n=4;const a=[{condition:()=>!t.isPathValid,mode:"error",note:{icon:"error",text:"Invalid selector: "+t.path,mode:"error",native:"not-allowed"}},{condition:()=>t.hasDuplicateIds,mode:"error",note:{icon:"error",text:"ID not unique: #"+t.id,mode:"error"}},{condition:()=>Y.active,mode:"isolation",tagName:t.isMeta.name||t.tagName,tagIcon:t.isMeta.icon||t.tag,padding:8},{condition:()=>t.isMeta&&t.id==="fubi-meta-wrapper",visible:!1},{condition:()=>t.isMeta,tagName:t.isMeta.name,tagIcon:t.isMeta.icon,note:{icon:"info",text:"This is a global Meta element",mode:"info"}},{condition:()=>!t.isAllowed&&!t.isMeta,mode:"not-allowed",note:{icon:"info",text:"Commenting disabled for this element",mode:"info"}},{condition:()=>t.hasComment&&t.isCommentActive&&Y.active===!1,mode:"thread"},{condition:()=>t.hasComment&&!t.isCommentActive,mode:"done"}];let s=null,l={icon:null,text:null,mode:null};for(const c of a)if(c.condition()){n=c.padding??n,s=c.mode??s,l=c.note??l,e=c.visible??e,o=c.tagName??o,i=c.tagIcon??i;break}return{visible:e,mode:s,padding:n,tagIcon:i,tagName:o,note:l}}set(t){const e=t.getBoundingClientRect(),o=window.getComputedStyle(t),i=parseFloat(o.borderRadius)||4,n=this.isAtBodyEdge(e),a=this.getElementDimensions(e,n,i,this.padding);this.pos.set(a,{instant:!this.visible})}highlight(t){t&&(this.set(t),this.scrollingToElement=!1,this.infoAutoUpdate||this.enableAutoUpdate())}isAtBodyEdge(t){const e=this.padding,o=t.top+window.scrollY,i=t.left+window.scrollX,n=t.right+window.scrollX,a=t.bottom+window.scrollY,s=document.body.scrollWidth,l=document.body.scrollHeight;return o<=e||i<=e||n>=s-e||a>=l-e}getElementDimensions(t,e,o,i){const n=e?t.height-i*2:t.height+i*2,a=e?t.width-i*2:t.width+i*2,s=Math.min(n,a)/2,l=Math.max(0,Math.min(e?o-i:o+i,s));return{y:e?t.top+i+window.scrollY:t.top-i+window.scrollY,x:e?t.left+i:t.left-i,h:n,w:a,r:l}}reset(){this.hide()}},Bo=new WeakMap,jo=new WeakMap,No=new WeakMap,Zo=new WeakMap,qo=new WeakMap,Wo=new WeakMap,Go=new WeakMap,Ko=new WeakMap,Yo=new WeakMap,Jo=new WeakMap,Xo=new WeakMap,Qo=new WeakMap,ti=new WeakMap,ei=new WeakMap,Ql);const me=new iu,Tr="resize";let Ul=new tr("fubi-width",300),Fl=new tr("fubi-height",450),nu=(tc=class{constructor(){F(this,ri,T(!1));F(this,oi,T(0));F(this,ii,T(0));F(this,ni,T(0));F(this,ai,T(0));Et(this,"sizes",{min:{w:250,h:180},default:{w:300,h:450},max:{w:400,h:window.innerHeight-32}})}get resizing(){return p(g(this,ri))}set resizing(t){E(g(this,ri),I(t))}get x(){return p(g(this,oi))}set x(t){E(g(this,oi),I(t))}get y(){return p(g(this,ii))}set y(t){E(g(this,ii),I(t))}get startWidth(){return p(g(this,ni))}set startWidth(t){E(g(this,ni),I(t))}get startHeight(){return p(g(this,ai))}set startHeight(t){E(g(this,ai),I(t))}get width(){return Ul.current}get height(){return Fl.current}set width(t){Ul.current=t}set height(t){Fl.current=t}init(){return C.on("events","mouseup",()=>{this.resizing&&this.stop()}),C.on("events","mousemove",t=>{if(this.resizing){const e=this.x-t.clientX,o=this.y-t.clientY,i=this.startWidth+e,n=this.startHeight+o;this.resize(i,n)}}),C.on("threads-header","minimize",()=>this.minimize()),C.on("threads-header","maximize",()=>this.maximize()),C.on("auth","logout",()=>this.minimize()),B.ok(Tr,"initialized"),this}resize(t,e){const o=Math.max(this.sizes.min.w,Math.min(t,this.sizes.max.w)),i=Math.max(this.sizes.min.h,Math.min(e,this.sizes.max.h));this.width=o,this.height=i,B.info(Tr,"resizing",o,i)}minimize(){this.width=this.sizes.default.w,this.height=this.sizes.default.h,B.info(Tr,"minimize",this.width,this.height)}maximize(){this.width=this.sizes.max.w,this.height=this.sizes.max.h,B.info(Tr,"maximize",this.width,this.height)}start(t){C.emit(Tr,"drag-start"),this.resizing=!0,this.x=t.clientX,this.y=t.clientY,this.startWidth=this.width,this.startHeight=this.height}stop(){C.emit(Tr,"drag-end"),this.resizing=!1}},ri=new WeakMap,oi=new WeakMap,ii=new WeakMap,ni=new WeakMap,ai=new WeakMap,tc);const ft=new nu,_a="hover",au=50;class su{constructor(){F(this,si,T(!1));Et(this,"previous",null);Et(this,"outline",!1);Et(this,"timeout",null);Et(this,"observer",null);F(this,li,T(!1));F(this,ci,T(!1));F(this,di,T(null))}get enabled(){return p(g(this,si))}set enabled(t){E(g(this,si),I(t))}get scrolling(){return p(g(this,li))}set scrolling(t){E(g(this,li),I(t))}get inView(){return p(g(this,ci))}set inView(t){E(g(this,ci),I(t))}get direction(){return p(g(this,di))}set direction(t){E(g(this,di),I(t))}init(){return C.on("app","enabled",()=>{$.opened&&ot.user&&this.enable()}),C.on("auth","authenticated",()=>{$.opened&&ot.user&&this.enable()}),C.on("app","opened",()=>{ot.user&&this.enable()}),C.on("app","closed",()=>{this.disable()}),C.on("app-component","mouseleave",()=>{ot.user&&$.opened&&!Y.active&&!ft.resizing&&this.enable()}),C.on("app-component","mouseenter",()=>{this.disable()}),C.on("isolation","isolated",({el:t})=>{t?this.handleHover({target:t}):this.disable()}),C.on("isolation","reset",()=>{$.opened&&ot.user&&this.enable()}),C.on("events","scrollstart",()=>{this.enabled&&(this.scrolling=!0)}),C.on("resize","drag-start",()=>{console.log("reacting to drag-start"),this.enabled&&this.disable()}),C.on("resize","drag-end",()=>{console.log("reacting to drag-end"),$.opened&&ot.user&&!oo.inside&&this.enable()}),C.on("events","mousemove",t=>{this.outside&&!this.enabled&&(this.outside=!1,this.enable()),this.enabled&&this.handleHover(t,!(this.scrolling||!me.visible))}),C.on("events","mouseout",t=>{t.toElement===null&&this.enabled&&!Y.active&&(this.outside=!0,this.disable())}),C.on("card","mouseenter",t=>{!Y.active&&!ft.resizing&&$.opened&&this.handleHover(t)}),B.ok(_a,"initialized"),this}enable(){this.enabled=!0,document.documentElement.classList.add("fubi-hover-enabled")}disable(){B.info(_a,"disabled"),this.enabled=!1,this.clearTimeout(),this.reset(),document.documentElement.classList.remove("fubi-hover-enabled")}reset(){this.previous=null,this.inView=null,this.direction=null,this.observer&&(this.observer.disconnect(),this.observer=null)}hover(t){this.current={el:t,new:!(t!=null&&t.hasAttribute("data-fubi-comment"))||!1,tag:Nt.getTag(t),tagName:Nt.getTagName(t)}}clearTimeout(){this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}buildHoverPayload(t,e){const o=Nt.analyzeElement(t);return{el:t,elAllowed:e,cursor:oo.getCursorInfo(o),highlight:me.getHighlightInfo(o),info:o}}setupObserver(t,e){this.observer&&(this.observer.disconnect(),this.observer=null),this.observer=Nt.elementInView(t,o=>{this.inView=o.inView,this.direction=o.direction})}handleHover(t,e=!0){const o=t.target,i=Nt.getClosestAllowedElement(o);if(!o||this.previous===o&&!Y.active&&me.visible)return;this.clearTimeout(),this.previous=o,this.scrolling=!1;const n=this.buildHoverPayload(o,i);this.setupObserver(o,n.info);const a=()=>{C.emit(_a,"hover",n),this.hover(i),Y.active&&this.disable()};e?this.timeout=setTimeout(()=>{this.timeout=null,a()},au):a()}}si=new WeakMap,li=new WeakMap,ci=new WeakMap,di=new WeakMap;const Ve=new su,ao="keys";class lu{init(){return C.on("events","keydown",t=>this.handleKeyDown(t)),C.on("events","keyup",t=>this.handleKeyUp(t)),B.ok(ao,"initialized"),this}handleKeyDown(t){const{key:e,metaKey:o,ctrlKey:i}=t,n=j0();if(e==="Escape"){const a=document.activeElement;a&&a!==document.body&&a.blur(),C.emit(ao,"pressed-esc",{isolation:Y.active});return}if(!n)switch(e){case"c":!o&&!i&&!$.opened&&C.emit(ao,"pressed-c");break}(e==="Alt"||e==="Meta")&&C.emit(ao,"pressed-option")}handleKeyUp(t){const{key:e}=t;(e==="Alt"||e==="Meta")&&C.emit(ao,"released-option")}}const cu=new lu,Jt="events";class du{constructor(){F(this,ui,T(!1));F(this,fi,T(I({})));F(this,hi,T(!1));F(this,pi,T(I({})));F(this,gi,T(I({x:0,y:0})));F(this,vi,T(!1));Et(this,"scrollTimer",null);Et(this,"handleScroll",t=>{this.scrolling||(this.scrolling=!0,C.emit(Jt,"scrollstart",t)),C.emit(Jt,"scroll",t),this.scrollTimer&&clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.scrolling=!1,C.emit(Jt,"scrollend",t)},150)})}get enabled(){return p(g(this,ui))}set enabled(t){E(g(this,ui),I(t))}get listeners(){return p(g(this,fi))}set listeners(t){E(g(this,fi),I(t))}get keys(){return p(g(this,hi))}set keys(t){E(g(this,hi),I(t))}get paused(){return p(g(this,pi))}set paused(t){E(g(this,pi),I(t))}get cursor(){return p(g(this,gi))}set cursor(t){E(g(this,gi),I(t))}get scrolling(){return p(g(this,vi))}set scrolling(t){E(g(this,vi),I(t))}init(){return C.on("auth","authenticated",()=>{$.opened&&this.enableAll(),this.keys||this.enableKeys()}),C.on("auth","unauthenticated",()=>{this.keys||this.enableKeys()}),C.on("auth","logout",()=>{this.pauseAll()}),C.on("app-component","mouseenter",async()=>{this.enabled&&!ft.resizing&&await this.pauseAll()}),C.on("app-component","mouseleave",()=>{this.enabled&&!ft.resizing&&this.resumeAll()}),C.on("resize","drag-start",()=>{this.resume("mousemove"),this.resume("mouseup")}),C.on("resize","drag-end",()=>{this.listeners.mousemove&&!this.paused.mousemove&&this.resume("mousemove"),this.listeners.mouseup&&!this.paused.mouseup&&this.resume("mouseup")}),C.on("app","closed",()=>{this.pauseAll()}),C.on("app","opened",()=>{ot.user&&!oo.inside&&(this.enabled?this.resumeAll():this.enableAll()),this.keys||this.enableKeys()}),B.ok(Jt,"initialized"),this}add(t,e,o=document||window){this.listeners[t]&&o.removeEventListener(t,this.listeners[t]),this.listeners[t]=e,this.paused[t]=!1,o.addEventListener(t,e)}pause(t,e=document||window){this.listeners[t]&&!this.paused[t]&&(e.removeEventListener(t,this.listeners[t]),this.paused[t]=!0)}resume(t,e=document||window){this.listeners[t]&&this.paused[t]&&(e.addEventListener(t,this.listeners[t]),this.paused[t]=!1)}enableKeys(){this.add("keydown",t=>C.emit(Jt,"keydown",t)),this.add("keyup",t=>C.emit(Jt,"keyup",t)),this.keys=!0}enableAll(){this.add("scroll",t=>{this.handleScroll(t)}),this.add("mousemove",t=>C.emit(Jt,"mousemove",t)),this.add("mouseout",t=>{C.emit(Jt,"mouseout",t)}),this.add("click",t=>{C.emit(Jt,"click",t)}),this.add("mouseup",t=>{C.emit(Jt,"mouseup",t)}),this.add("resize",()=>C.emit(Jt,"resize",{w:window.innerWidth,h:window.innerHeight})),this.enabled=!0}pauseAll(){this.pause("mousemove"),this.pause("mouseout"),this.pause("scroll"),this.pause("click"),this.pause("mouseup"),this.pause("resize"),B.info(Jt,"pauseAll()")}resumeAll(){this.resume("scroll"),this.resume("mousemove"),this.resume("mouseout"),this.resume("click"),this.resume("mouseup"),this.resume("resize")}remove(t,e=document||window){this.listeners[t]&&(e.removeEventListener(t,this.listeners[t]),delete this.listeners[t],delete this.paused[t])}removeAll(){this.remove("scroll"),this.remove("mousemove"),this.remove("mouseout"),this.remove("click"),this.remove("mouseup"),this.remove("resize"),this.enabled=!1}}ui=new WeakMap,fi=new WeakMap,hi=new WeakMap,pi=new WeakMap,gi=new WeakMap,vi=new WeakMap;const uu=new du;let Al=new tr("fubi-enabled",!1),$l=new tr("fubi-opened",!1);const gn="app";let fu=(ec=class{constructor(){F(this,bi,T(I({})));F(this,mi,T(null));F(this,wi,T(null));F(this,xi,T(I({browser:null,resolution:null})));Et(this,"main",null);Et(this,"container",null)}get config(){return p(g(this,bi))}set config(t){E(g(this,bi),I(t))}get project(){return p(g(this,mi))}set project(t){E(g(this,mi),I(t))}get error(){return p(g(this,wi))}set error(t){E(g(this,wi),I(t))}get meta(){return p(g(this,xi))}set meta(t){E(g(this,xi),I(t))}get enabled(){return Al.current}get opened(){return $l.current}set enabled(t){Al.current=t}set opened(t){$l.current=t}enable(){this.enabled=!0,C.emit(gn,"enabled")}disable(){this.enabled=!1,C.emit(gn,"disabled")}close(){this.opened=!1,C.emit(gn,"closed")}open(){this.opened=!0,C.emit(gn,"opened")}async getProject(t){const{result:e,error:o}=await Mt("projects").getFirstListItem(`name = "${t}"`);if(o){const i=Yi(o,{404:`Project <u><b>${t}</b></u> not found.`});$.error=i,B.error(i);return}return this.project=e,e}async init(t={}){this.config=t,this.main=document.getElementById("fubi-shadow-host")||document.getElementById("fubi-container"),this.container=this.main&&this.main.shadowRoot?this.main.shadowRoot:this.main,this.meta={resolution:_t.getResolution(),browser:_t.getBrowser()},await this.getProject(t.project),B.info("","fubi starting, config:",{project:`${this.project.name}`,ignore:`${[...this.config.ignore]}`});const o=new URLSearchParams(location.search).has("fubi");if(!this.enabled&&!o){B.warn("fubi is disabled. Enable it by adding `?fubi` to the URL.");return}B.group("Initializing modules"),ot.init(),Lt.init(),R.init(),Ve.init(),Y.init(),Ji.init(),cu.init(),Nt.init(),uu.init(),me.init(),oo.init(),ft.init(),B.groupEnd(),C.on("auth","unauthenticated",()=>o&&(this.enable(),this.open())),C.on("keys","pressed-esc",i=>{!i.isolation&&this.opened&&this.close()}),C.on("keys","pressed-c",()=>{this.opened||this.open()}),C.on("toggle","clicked",()=>{this.open()}),C.on("comments","url-param",()=>{this.opened||this.open()}),C.emit("app","initialized")}},bi=new WeakMap,mi=new WeakMap,wi=new WeakMap,xi=new WeakMap,ec);const $=new fu,hu='/*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:rotateX(0);--tw-rotate-y:rotateY(0);--tw-rotate-z:rotateZ(0);--tw-skew-x:skewX(0);--tw-skew-y:skewY(0);--tw-scroll-snap-strictness:proximity;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-950:oklch(25.8% .092 26.042);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-700:oklch(55.3% .195 38.402);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-900:oklch(40.5% .101 131.063);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-900:oklch(39.3% .095 152.535);--color-green-950:oklch(26.6% .065 152.934);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-900:oklch(37.8% .077 168.94);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-sky-900:oklch(39.1% .09 240.876);--color-sky-950:oklch(29.3% .066 243.157);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-700:oklch(45.7% .24 277.023);--color-indigo-800:oklch(39.8% .195 277.366);--color-indigo-900:oklch(35.9% .144 278.697);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-900:oklch(41% .159 10.272);--color-slate-800:oklch(27.9% .041 260.031);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:#16191c;--color-neutral-950:#090b0b;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--leading-snug:1.375;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--drop-shadow-lg:0 4px 4px #00000026;--drop-shadow-xl:0 9px 7px #0000001a;--drop-shadow-2xl:0 25px 25px #00000026;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--ease-in-out-cubic:cubic-bezier(.6,0,.35,1);--ease-bounce-back:cubic-bezier(.175,.885,.32,1.275);--ease-spring:linear(0,.0443544,.148744,.280303,.417275,.546283,.660023,.755401,.832075,.891369,.93549,.966987,.988409,1.00209,1.01005,1.01397,1.01515,1.01462,1.01311,1.01114,1.00906,1.00709,1.00533,1.00386,1.00266,1.00174,1.00104,1.00055,1,1)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-0\\.5{top:calc(var(--spacing)*-.5)}.-top-1{top:calc(var(--spacing)*-1)}.top-0{top:calc(var(--spacing)*0)}.top-1{top:calc(var(--spacing)*1)}.top-1\\.5{top:calc(var(--spacing)*1.5)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.top-4{top:calc(var(--spacing)*4)}.top-\\[1px\\]{top:1px}.top-\\[68px\\]{top:68px}.top-px{top:1px}.-right-0\\.5{right:calc(var(--spacing)*-.5)}.right-0{right:calc(var(--spacing)*0)}.right-1\\.5{right:calc(var(--spacing)*1.5)}.right-2{right:calc(var(--spacing)*2)}.right-\\[1px\\]{right:1px}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-1\\.5{bottom:calc(var(--spacing)*1.5)}.-left-1{left:calc(var(--spacing)*-1)}.left-0{left:calc(var(--spacing)*0)}.left-1{left:calc(var(--spacing)*1)}.left-1\\.5{left:calc(var(--spacing)*1.5)}.left-1\\/2{left:50%}.left-4{left:calc(var(--spacing)*4)}.left-px{left:1px}.isolate{isolation:isolate}.z-0{z-index:0}.z-10{z-index:10}.z-\\[1\\]{z-index:1}.z-\\[3\\]{z-index:3}.z-\\[9\\]{z-index:9}.z-\\[10\\]{z-index:10}.z-\\[11\\]{z-index:11}.z-\\[12\\]{z-index:12}.z-\\[100\\]{z-index:100}.z-\\[999999\\]{z-index:999999}.z-\\[210000000\\]{z-index:210000000}.z-\\[210000002\\]{z-index:210000002}.z-\\[210000003\\]{z-index:210000003}.z-\\[2100000000\\]{z-index:2100000000}.z-\\[var\\(--index\\)\\]{z-index:var(--index)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-1{margin:calc(var(--spacing)*1)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-1\\.5{margin-inline:calc(var(--spacing)*1.5)}.mx-auto{margin-inline:auto}.my-0\\.5{margin-block:calc(var(--spacing)*.5)}.my-2{margin-block:calc(var(--spacing)*2)}.mt-0{margin-top:calc(var(--spacing)*0)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-3{margin-right:calc(var(--spacing)*3)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-12{margin-bottom:calc(var(--spacing)*12)}.mb-16{margin-bottom:calc(var(--spacing)*16)}.mb-auto{margin-bottom:auto}.-ml-2{margin-left:calc(var(--spacing)*-2)}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-auto{margin-left:auto}.line-clamp-4{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-0\\.5{width:calc(var(--spacing)*.5);height:calc(var(--spacing)*.5)}.size-1{width:calc(var(--spacing)*1);height:calc(var(--spacing)*1)}.size-1\\.5{width:calc(var(--spacing)*1.5);height:calc(var(--spacing)*1.5)}.size-2{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.size-3{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.size-3\\.5{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.size-\\[16px\\]{width:16px;height:16px}.size-\\[18px\\]{width:18px;height:18px}.size-\\[24px\\]{width:24px;height:24px}.size-\\[26px\\]{width:26px;height:26px}.size-\\[28px\\]{width:28px;height:28px}.size-px{width:1px;height:1px}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-16{height:calc(var(--spacing)*16)}.h-24{height:calc(var(--spacing)*24)}.h-32{height:calc(var(--spacing)*32)}.h-40{height:calc(var(--spacing)*40)}.h-\\[10px\\]{height:10px}.h-\\[12px\\]{height:12px}.h-\\[14px\\]{height:14px}.h-\\[16px\\]{height:16px}.h-\\[20px\\]{height:20px}.h-\\[22px\\]{height:22px}.h-\\[24px\\]{height:24px}.h-\\[26px\\]{height:26px}.h-\\[28px\\]{height:28px}.h-\\[30px\\]{height:30px}.h-\\[32px\\]{height:32px}.h-\\[34px\\]{height:34px}.h-\\[36px\\]{height:36px}.h-\\[37px\\]{height:37px}.h-\\[44px\\]{height:44px}.h-\\[70px\\]{height:70px}.h-\\[160px\\]{height:160px}.h-full{height:100%}.h-px{height:1px}.max-h-\\[107px\\]{max-height:107px}.min-h-\\[160px\\]{min-height:160px}.w-1{width:calc(var(--spacing)*1)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-\\[10px\\]{width:10px}.w-\\[13px\\]{width:13px}.w-\\[32px\\]{width:32px}.w-\\[48px\\]{width:48px}.w-\\[200px\\]{width:200px}.w-\\[240px\\]{width:240px}.w-\\[calc\\(100\\%-8px\\)\\]{width:calc(100% - 8px)}.w-auto{width:auto}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[56ch\\]{max-width:56ch}.max-w-\\[72ch\\]{max-width:72ch}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[512px\\]{max-width:512px}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-\\[150px\\]{min-width:150px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-left{transform-origin:0}.origin-top-left{transform-origin:0 0}.origin-top-right{transform-origin:100% 0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-\\[1\\%\\]{--tw-translate-x: -1% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-\\[7px\\]{--tw-translate-x: -7px ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-\\[calc\\(100\\%\\+1px\\)\\]{--tw-translate-x: calc((100% + 1px)*-1) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1\\/2{--tw-translate-x: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\\[calc\\(100\\%\\+4px\\)\\]{--tw-translate-x: calc(100% + 4px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\\[calc\\(100\\%\\+7px\\)\\]{--tw-translate-x: calc(100% + 7px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-\\[8px\\]{--tw-translate-y: -8px ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-\\[calc\\(50\\%\\+1px\\)\\]{--tw-translate-y: calc((50% + 1px)*-1) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\\[12\\%\\]{--tw-translate-y:12%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-px{--tw-translate-y:1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.-scale-x-\\[100\\%\\]{--tw-scale-x: -100% ;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-y-0{--tw-scale-y:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-y-100{--tw-scale-y:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-0{rotate:none}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.animate-bounce{animation:var(--animate-bounce)}.animate-spin{animation:var(--animate-spin)}.cursor-auto{cursor:auto}.cursor-context-menu{cursor:context-menu}.cursor-help{cursor:help}.cursor-not-allowed\\!{cursor:not-allowed!important}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer\\!{cursor:pointer!important}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-start{scroll-snap-align:start}.scroll-px-1\\.5{scroll-padding-inline:calc(var(--spacing)*1.5)}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-3\\.5{gap:calc(var(--spacing)*3.5)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}.gap-\\[28px\\]{gap:28px}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-zinc-700>:not(:last-child)){border-color:var(--color-zinc-700)}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-clip{overflow:clip}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[6px\\]{border-radius:6px}.rounded-\\[8px\\]{border-radius:8px}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[14px\\]{border-radius:14px}.rounded-\\[15px\\]{border-radius:15px}.rounded-\\[16px\\]{border-radius:16px}.rounded-\\[18px\\]{border-radius:18px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-\\[8px\\]{border-top-left-radius:8px;border-top-right-radius:8px}.rounded-t-\\[12px\\]{border-top-left-radius:12px;border-top-right-radius:12px}.rounded-t-\\[14px\\]{border-top-left-radius:14px;border-top-right-radius:14px}.rounded-t-\\[20px\\]\\!{border-top-left-radius:20px!important;border-top-right-radius:20px!important}.rounded-t-\\[22px\\]{border-top-left-radius:22px;border-top-right-radius:22px}.rounded-l-\\[10px\\]{border-top-left-radius:10px;border-bottom-left-radius:10px}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-tl-2xl{border-top-left-radius:var(--radius-2xl)}.rounded-tl-sm{border-top-left-radius:var(--radius-sm)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-tr-2xl{border-top-right-radius:var(--radius-2xl)}.rounded-tr-sm{border-top-right-radius:var(--radius-sm)}.rounded-b-\\[12px\\]{border-bottom-right-radius:12px;border-bottom-left-radius:12px}.rounded-b-\\[14px\\]{border-bottom-right-radius:14px;border-bottom-left-radius:14px}.rounded-br-2xl{border-bottom-right-radius:var(--radius-2xl)}.rounded-br-sm{border-bottom-right-radius:var(--radius-sm)}.rounded-bl-2xl{border-bottom-left-radius:var(--radius-2xl)}.rounded-bl-sm{border-bottom-left-radius:var(--radius-sm)}.border,.border-1{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-amber-800{border-color:var(--color-amber-800)}.border-emerald-800{border-color:var(--color-emerald-800)}.border-green-500\\/10{border-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.border-green-500\\/10{border-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.border-green-500\\/30{border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.border-green-500\\/30{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent)}}.border-indigo-800{border-color:var(--color-indigo-800)}.border-lime-500{border-color:var(--color-lime-500)}.border-lime-800{border-color:var(--color-lime-800)}.border-neutral-800{border-color:var(--color-neutral-800)}.border-neutral-800\\/30{border-color:#2626264d}@supports (color:color-mix(in lab,red,red)){.border-neutral-800\\/30{border-color:color-mix(in oklab,var(--color-neutral-800)30%,transparent)}}.border-neutral-900{border-color:var(--color-neutral-900)}.border-red-500\\/10{border-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.border-red-500\\/10{border-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.border-red-500\\/20{border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.border-red-500\\/20{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.border-rose-800{border-color:var(--color-rose-800)}.border-sky-500{border-color:var(--color-sky-500)}.border-sky-500\\/10{border-color:#00a5ef1a}@supports (color:color-mix(in lab,red,red)){.border-sky-500\\/10{border-color:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.border-sky-900\\/0{border-color:#0000}@supports (color:color-mix(in lab,red,red)){.border-sky-900\\/0{border-color:color-mix(in oklab,var(--color-sky-900)0%,transparent)}}.border-transparent,.border-white\\/0{border-color:#0000}@supports (color:color-mix(in lab,red,red)){.border-white\\/0{border-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.border-white\\/4{border-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.border-white\\/4{border-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.border-white\\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-white\\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.border-white\\/30{border-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.border-white\\/30{border-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.border-zinc-600{border-color:var(--color-zinc-600)}.border-zinc-700{border-color:var(--color-zinc-700)}.border-zinc-800{border-color:var(--color-zinc-800)}.border-t-sky-500\\/10{border-top-color:#00a5ef1a}@supports (color:color-mix(in lab,red,red)){.border-t-sky-500\\/10{border-top-color:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.border-t-white\\/4{border-top-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/4{border-top-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.border-t-white\\/5{border-top-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/5{border-top-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-t-white\\/20{border-top-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/20{border-top-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-t-white\\/70{border-top-color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/70{border-top-color:color-mix(in oklab,var(--color-white)70%,transparent)}}.border-b-black\\/0{border-bottom-color:#0000}@supports (color:color-mix(in lab,red,red)){.border-b-black\\/0{border-bottom-color:color-mix(in oklab,var(--color-black)0%,transparent)}}.border-b-black\\/15{border-bottom-color:#00000026}@supports (color:color-mix(in lab,red,red)){.border-b-black\\/15{border-bottom-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.border-b-black\\/20{border-bottom-color:#0003}@supports (color:color-mix(in lab,red,red)){.border-b-black\\/20{border-bottom-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.bg-\\[\\#0b1922\\]{background-color:#0b1922}.bg-\\[\\#111c13\\]{background-color:#111c13}.bg-\\[\\#081821\\]{background-color:#081821}.bg-\\[\\#131515\\]{background-color:#131515}.bg-\\[var\\(--bg-color\\)\\]{background-color:var(--bg-color)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\\/5{background-color:#f99c000d}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/5{background-color:color-mix(in oklab,var(--color-amber-500)5%,transparent)}}.bg-amber-500\\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-amber-500\\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-amber-600{background-color:var(--color-amber-600)}.bg-amber-700{background-color:var(--color-amber-700)}.bg-amber-800{background-color:var(--color-amber-800)}.bg-amber-900\\/20{background-color:#7b330633}@supports (color:color-mix(in lab,red,red)){.bg-amber-900\\/20{background-color:color-mix(in oklab,var(--color-amber-900)20%,transparent)}}.bg-amber-900\\/30{background-color:#7b33064d}@supports (color:color-mix(in lab,red,red)){.bg-amber-900\\/30{background-color:color-mix(in oklab,var(--color-amber-900)30%,transparent)}}.bg-amber-900\\/40{background-color:#7b330666}@supports (color:color-mix(in lab,red,red)){.bg-amber-900\\/40{background-color:color-mix(in oklab,var(--color-amber-900)40%,transparent)}}.bg-amber-900\\/50{background-color:#7b330680}@supports (color:color-mix(in lab,red,red)){.bg-amber-900\\/50{background-color:color-mix(in oklab,var(--color-amber-900)50%,transparent)}}.bg-black{background-color:var(--color-black)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-500\\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.bg-emerald-700{background-color:var(--color-emerald-700)}.bg-emerald-900\\/20{background-color:#004e3b33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-900\\/20{background-color:color-mix(in oklab,var(--color-emerald-900)20%,transparent)}}.bg-emerald-900\\/40{background-color:#004e3b66}@supports (color:color-mix(in lab,red,red)){.bg-emerald-900\\/40{background-color:color-mix(in oklab,var(--color-emerald-900)40%,transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\\/10{background-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.bg-green-500\\/10{background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-800{background-color:var(--color-indigo-800)}.bg-indigo-900\\/30{background-color:#312c854d}@supports (color:color-mix(in lab,red,red)){.bg-indigo-900\\/30{background-color:color-mix(in oklab,var(--color-indigo-900)30%,transparent)}}.bg-indigo-900\\/40{background-color:#312c8566}@supports (color:color-mix(in lab,red,red)){.bg-indigo-900\\/40{background-color:color-mix(in oklab,var(--color-indigo-900)40%,transparent)}}.bg-indigo-900\\/50{background-color:#312c8580}@supports (color:color-mix(in lab,red,red)){.bg-indigo-900\\/50{background-color:color-mix(in oklab,var(--color-indigo-900)50%,transparent)}}.bg-lime-500{background-color:var(--color-lime-500)}.bg-lime-500\\/10{background-color:#80cd001a}@supports (color:color-mix(in lab,red,red)){.bg-lime-500\\/10{background-color:color-mix(in oklab,var(--color-lime-500)10%,transparent)}}.bg-lime-500\\/20{background-color:#80cd0033}@supports (color:color-mix(in lab,red,red)){.bg-lime-500\\/20{background-color:color-mix(in oklab,var(--color-lime-500)20%,transparent)}}.bg-lime-900\\/20{background-color:#35530e33}@supports (color:color-mix(in lab,red,red)){.bg-lime-900\\/20{background-color:color-mix(in oklab,var(--color-lime-900)20%,transparent)}}.bg-neutral-700\\/15{background-color:#40404026}@supports (color:color-mix(in lab,red,red)){.bg-neutral-700\\/15{background-color:color-mix(in oklab,var(--color-neutral-700)15%,transparent)}}.bg-neutral-800{background-color:var(--color-neutral-800)}.bg-neutral-800\\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.bg-neutral-800\\/0{background-color:color-mix(in oklab,var(--color-neutral-800)0%,transparent)}}.bg-neutral-800\\/60{background-color:#26262699}@supports (color:color-mix(in lab,red,red)){.bg-neutral-800\\/60{background-color:color-mix(in oklab,var(--color-neutral-800)60%,transparent)}}.bg-neutral-800\\/70{background-color:#262626b3}@supports (color:color-mix(in lab,red,red)){.bg-neutral-800\\/70{background-color:color-mix(in oklab,var(--color-neutral-800)70%,transparent)}}.bg-neutral-800\\/80{background-color:#262626cc}@supports (color:color-mix(in lab,red,red)){.bg-neutral-800\\/80{background-color:color-mix(in oklab,var(--color-neutral-800)80%,transparent)}}.bg-neutral-900{background-color:var(--color-neutral-900)}.bg-neutral-900\\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.bg-neutral-900\\/0{background-color:color-mix(in oklab,var(--color-neutral-900)0%,transparent)}}.bg-neutral-950{background-color:var(--color-neutral-950)}.bg-neutral-950\\/80{background-color:#090b0bcc}@supports (color:color-mix(in lab,red,red)){.bg-neutral-950\\/80{background-color:color-mix(in oklab,var(--color-neutral-950)80%,transparent)}}.bg-red-400{background-color:var(--color-red-400)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/0{background-color:color-mix(in oklab,var(--color-red-500)0%,transparent)}}.bg-red-500\\/5{background-color:#fb2c360d}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/5{background-color:color-mix(in oklab,var(--color-red-500)5%,transparent)}}.bg-red-500\\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-red-950\\/80{background-color:#460809cc}@supports (color:color-mix(in lab,red,red)){.bg-red-950\\/80{background-color:color-mix(in oklab,var(--color-red-950)80%,transparent)}}.bg-rose-500{background-color:var(--color-rose-500)}.bg-rose-800{background-color:var(--color-rose-800)}.bg-rose-900\\/20{background-color:#8b083633}@supports (color:color-mix(in lab,red,red)){.bg-rose-900\\/20{background-color:color-mix(in oklab,var(--color-rose-900)20%,transparent)}}.bg-rose-900\\/30{background-color:#8b08364d}@supports (color:color-mix(in lab,red,red)){.bg-rose-900\\/30{background-color:color-mix(in oklab,var(--color-rose-900)30%,transparent)}}.bg-rose-900\\/50{background-color:#8b083680}@supports (color:color-mix(in lab,red,red)){.bg-rose-900\\/50{background-color:color-mix(in oklab,var(--color-rose-900)50%,transparent)}}.bg-sky-500{background-color:var(--color-sky-500)}.bg-sky-500\\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.bg-sky-500\\/0{background-color:color-mix(in oklab,var(--color-sky-500)0%,transparent)}}.bg-sky-500\\/10{background-color:#00a5ef1a}@supports (color:color-mix(in lab,red,red)){.bg-sky-500\\/10{background-color:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.bg-sky-500\\/20{background-color:#00a5ef33}@supports (color:color-mix(in lab,red,red)){.bg-sky-500\\/20{background-color:color-mix(in oklab,var(--color-sky-500)20%,transparent)}}.bg-sky-600{background-color:var(--color-sky-600)}.bg-sky-950\\/80{background-color:#052f4acc}@supports (color:color-mix(in lab,red,red)){.bg-sky-950\\/80{background-color:color-mix(in oklab,var(--color-sky-950)80%,transparent)}}.bg-white\\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.bg-white\\/0{background-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.bg-white\\/4{background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.bg-white\\/4{background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.bg-white\\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.bg-white\\/5{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.bg-white\\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-zinc-700{background-color:var(--color-zinc-700)}.bg-zinc-800{background-color:var(--color-zinc-800)}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-zinc-950{background-color:var(--color-zinc-950)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-radial{--tw-gradient-position:in oklab;background-image:radial-gradient(var(--tw-gradient-stops))}.from-neutral-200{--tw-gradient-from:var(--color-neutral-200);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-neutral-950{--tw-gradient-from:var(--color-neutral-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-neutral-950\\/0{--tw-gradient-from:#0000;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}@supports (color:color-mix(in lab,red,red)){.from-neutral-950\\/0{--tw-gradient-from:color-mix(in oklab,var(--color-neutral-950)0%,transparent)}}.from-white\\/80{--tw-gradient-from:#fffc;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}@supports (color:color-mix(in lab,red,red)){.from-white\\/80{--tw-gradient-from:color-mix(in oklab,var(--color-white)80%,transparent)}}.from-30\\%{--tw-gradient-from-position:30%}.to-neutral-100\\/80{--tw-gradient-to:#f5f5f5cc;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}@supports (color:color-mix(in lab,red,red)){.to-neutral-100\\/80{--tw-gradient-to:color-mix(in oklab,var(--color-neutral-100)80%,transparent)}}.to-neutral-200\\/30{--tw-gradient-to:#e5e5e54d;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}@supports (color:color-mix(in lab,red,red)){.to-neutral-200\\/30{--tw-gradient-to:color-mix(in oklab,var(--color-neutral-200)30%,transparent)}}.to-neutral-950{--tw-gradient-to:var(--color-neutral-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.fill-green-500\\/10{fill:#00c7581a}@supports (color:color-mix(in lab,red,red)){.fill-green-500\\/10{fill:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.fill-indigo-500\\/10{fill:#625fff1a}@supports (color:color-mix(in lab,red,red)){.fill-indigo-500\\/10{fill:color-mix(in oklab,var(--color-indigo-500)10%,transparent)}}.fill-neutral-400\\/10{fill:#a1a1a11a}@supports (color:color-mix(in lab,red,red)){.fill-neutral-400\\/10{fill:color-mix(in oklab,var(--color-neutral-400)10%,transparent)}}.fill-red-500\\/10{fill:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.fill-red-500\\/10{fill:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.fill-sky-500\\/10{fill:#00a5ef1a}@supports (color:color-mix(in lab,red,red)){.fill-sky-500\\/10{fill:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.fill-transparent{fill:#0000}.stroke-green-500{stroke:var(--color-green-500)}.stroke-indigo-500{stroke:var(--color-indigo-500)}.stroke-neutral-400\\/20{stroke:#a1a1a133}@supports (color:color-mix(in lab,red,red)){.stroke-neutral-400\\/20{stroke:color-mix(in oklab,var(--color-neutral-400)20%,transparent)}}.stroke-red-500{stroke:var(--color-red-500)}.stroke-sky-500{stroke:var(--color-sky-500)}.stroke-1{stroke-width:1px}.stroke-2{stroke-width:2px}.stroke-3{stroke-width:3px}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-2\\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-0{padding-inline:calc(var(--spacing)*0)}.px-0\\.5{padding-inline:calc(var(--spacing)*.5)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0{padding-block:calc(var(--spacing)*0)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-8{padding-block:calc(var(--spacing)*8)}.py-16{padding-block:calc(var(--spacing)*16)}.py-20{padding-block:calc(var(--spacing)*20)}.pt-1\\.5{padding-top:calc(var(--spacing)*1.5)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-8{padding-top:calc(var(--spacing)*8)}.pt-\\[3px\\]{padding-top:3px}.pt-px{padding-top:1px}.pr-1\\.5{padding-right:calc(var(--spacing)*1.5)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-2\\.5{padding-right:calc(var(--spacing)*2.5)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-\\[9px\\]{padding-right:9px}.pr-\\[10px\\]{padding-right:10px}.pr-\\[11px\\]{padding-right:11px}.pr-\\[42px\\]{padding-right:42px}.pb-0{padding-bottom:calc(var(--spacing)*0)}.pb-0\\.5{padding-bottom:calc(var(--spacing)*.5)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-\\[4px\\]{padding-bottom:4px}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-1\\.5{padding-left:calc(var(--spacing)*1.5)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-3\\.5{padding-left:calc(var(--spacing)*3.5)}.pl-10{padding-left:calc(var(--spacing)*10)}.pl-\\[7px\\]{padding-left:7px}.pl-\\[12px\\]{padding-left:12px}.pl-\\[18px\\]{padding-left:18px}.pl-\\[22px\\]{padding-left:22px}.text-center{text-align:center}.text-left{text-align:left}.align-text-bottom{vertical-align:text-bottom}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-\\[7px\\]\\/none{font-size:7px;line-height:1}.text-\\[9px\\]\\/none{font-size:9px;line-height:1}.text-\\[10px\\]\\/none{font-size:10px;line-height:1}.text-\\[11px\\]\\/none{font-size:11px;line-height:1}.text-\\[13px\\]\\/\\[13px\\]{font-size:13px;line-height:13px}.text-\\[13px\\]\\/\\[130\\%\\]{font-size:13px;line-height:130%}.text-\\[13px\\]\\/none{font-size:13px;line-height:1}.text-\\[40vh\\]\\/none{font-size:40vh;line-height:1}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-sm\\/none{font-size:var(--text-sm);line-height:1}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-xs\\/\\[140\\%\\]{font-size:var(--text-xs);line-height:140%}.text-xs\\/none{font-size:var(--text-xs);line-height:1}.text-\\[10px\\]{font-size:10px}.text-\\[13px\\]{font-size:13px}.text-\\[24px\\]{font-size:24px}.leading-none{--tw-leading:1;line-height:1}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.whitespace-break-spaces{white-space:break-spaces}.whitespace-nowrap{white-space:nowrap}.text-\\[var\\(--icon-color\\)\\]{color:var(--icon-color)}.text-amber-200\\/80{color:#fee685cc}@supports (color:color-mix(in lab,red,red)){.text-amber-200\\/80{color:color-mix(in oklab,var(--color-amber-200)80%,transparent)}}.text-amber-400{color:var(--color-amber-400)}.text-amber-500{color:var(--color-amber-500)}.text-black\\/4{color:#0000000a}@supports (color:color-mix(in lab,red,red)){.text-black\\/4{color:color-mix(in oklab,var(--color-black)4%,transparent)}}.text-black\\/40{color:#0006}@supports (color:color-mix(in lab,red,red)){.text-black\\/40{color:color-mix(in oklab,var(--color-black)40%,transparent)}}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-green-400{color:var(--color-green-400)}.text-green-500{color:var(--color-green-500)}.text-green-950{color:var(--color-green-950)}.text-indigo-400{color:var(--color-indigo-400)}.text-indigo-500{color:var(--color-indigo-500)}.text-lime-400{color:var(--color-lime-400)}.text-lime-500{color:var(--color-lime-500)}.text-neutral-50\\/30{color:#fafafa4d}@supports (color:color-mix(in lab,red,red)){.text-neutral-50\\/30{color:color-mix(in oklab,var(--color-neutral-50)30%,transparent)}}.text-neutral-200{color:var(--color-neutral-200)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-700{color:var(--color-neutral-700)}.text-neutral-800{color:var(--color-neutral-800)}.text-neutral-900{color:var(--color-neutral-900)}.text-orange-500\\/60{color:#fe6e0099}@supports (color:color-mix(in lab,red,red)){.text-orange-500\\/60{color:color-mix(in oklab,var(--color-orange-500)60%,transparent)}}.text-red-100{color:var(--color-red-100)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-rose-400{color:var(--color-rose-400)}.text-sky-300{color:var(--color-sky-300)}.text-sky-300\\/50{color:#77d4ff80}@supports (color:color-mix(in lab,red,red)){.text-sky-300\\/50{color:color-mix(in oklab,var(--color-sky-300)50%,transparent)}}.text-sky-500{color:var(--color-sky-500)}.text-white{color:var(--color-white)}.text-white\\/0{color:#0000}@supports (color:color-mix(in lab,red,red)){.text-white\\/0{color:color-mix(in oklab,var(--color-white)0%,transparent)}}.text-white\\/10{color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.text-white\\/10{color:color-mix(in oklab,var(--color-white)10%,transparent)}}.text-white\\/20{color:#fff3}@supports (color:color-mix(in lab,red,red)){.text-white\\/20{color:color-mix(in oklab,var(--color-white)20%,transparent)}}.text-white\\/30{color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.text-white\\/30{color:color-mix(in oklab,var(--color-white)30%,transparent)}}.text-white\\/40{color:#fff6}@supports (color:color-mix(in lab,red,red)){.text-white\\/40{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.text-white\\/50{color:#ffffff80}@supports (color:color-mix(in lab,red,red)){.text-white\\/50{color:color-mix(in oklab,var(--color-white)50%,transparent)}}.text-white\\/60{color:#fff9}@supports (color:color-mix(in lab,red,red)){.text-white\\/60{color:color-mix(in oklab,var(--color-white)60%,transparent)}}.text-white\\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.text-white\\/70{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.text-white\\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\\/80{color:color-mix(in oklab,var(--color-white)80%,transparent)}}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-900{color:var(--color-zinc-900)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-100{opacity:1}.mix-blend-multiply{mix-blend-mode:multiply}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-sky-500\\/0{--tw-ring-color:#0000}@supports (color:color-mix(in lab,red,red)){.ring-sky-500\\/0{--tw-ring-color:color-mix(in oklab,var(--color-sky-500)0%,transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.outline-1{outline-style:var(--tw-outline-style);outline-width:1px}.outline-\\[1\\.5px\\]{outline-style:var(--tw-outline-style);outline-width:1.5px}.outline-offset-1{outline-offset:1px}.outline-black\\/10{outline-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.outline-black\\/10{outline-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.outline-green-700{outline-color:var(--color-green-700)}.outline-indigo-400{outline-color:var(--color-indigo-400)}.outline-neutral-900{outline-color:var(--color-neutral-900)}.outline-orange-700\\/50{outline-color:#c53c0080}@supports (color:color-mix(in lab,red,red)){.outline-orange-700\\/50{outline-color:color-mix(in oklab,var(--color-orange-700)50%,transparent)}}.outline-red-500\\/50{outline-color:#fb2c3680}@supports (color:color-mix(in lab,red,red)){.outline-red-500\\/50{outline-color:color-mix(in oklab,var(--color-red-500)50%,transparent)}}.outline-red-500\\/80{outline-color:#fb2c36cc}@supports (color:color-mix(in lab,red,red)){.outline-red-500\\/80{outline-color:color-mix(in oklab,var(--color-red-500)80%,transparent)}}.outline-sky-300\\/20{outline-color:#77d4ff33}@supports (color:color-mix(in lab,red,red)){.outline-sky-300\\/20{outline-color:color-mix(in oklab,var(--color-sky-300)20%,transparent)}}.outline-sky-500{outline-color:var(--color-sky-500)}.outline-sky-500\\/10{outline-color:#00a5ef1a}@supports (color:color-mix(in lab,red,red)){.outline-sky-500\\/10{outline-color:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.outline-sky-500\\/50{outline-color:#00a5ef80}@supports (color:color-mix(in lab,red,red)){.outline-sky-500\\/50{outline-color:color-mix(in oklab,var(--color-sky-500)50%,transparent)}}.outline-white\\/0{outline-color:#0000}@supports (color:color-mix(in lab,red,red)){.outline-white\\/0{outline-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow-2xl{--tw-drop-shadow-size:drop-shadow(0 25px 25px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-2xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow-lg{--tw-drop-shadow-size:drop-shadow(0 4px 4px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-lg));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow-xl{--tw-drop-shadow-size:drop-shadow(0 9px 7px var(--tw-drop-shadow-color,#0000001a));--tw-drop-shadow:drop-shadow(var(--drop-shadow-xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur,.backdrop-blur-\\[8px\\]{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.delay-200{transition-delay:.2s}.delay-300{transition-delay:.3s}.duration-0{--tw-duration:0s;transition-duration:0s}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-400{--tw-duration:.4s;transition-duration:.4s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-800{--tw-duration:.8s;transition-duration:.8s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.ease-spring{--tw-ease:var(--ease-spring);transition-timing-function:var(--ease-spring)}.group-last\\:hidden:is(:where(.group):last-child *){display:none}.group-last\\:rounded-b-\\[12px\\]:is(:where(.group):last-child *){border-bottom-right-radius:12px;border-bottom-left-radius:12px}.group-last\\/wrapper\\:block:is(:where(.group\\/wrapper):last-child *){display:block}@media (hover:hover){.group-hover\\:h-\\[80px\\]:is(:where(.group):hover *){height:80px}.group-hover\\:bg-neutral-900:is(:where(.group):hover *){background-color:var(--color-neutral-900)}.group-hover\\:text-sky-100:is(:where(.group):hover *){color:var(--color-sky-100)}.group-hover\\:opacity-0:is(:where(.group):hover *){opacity:0}.group-hover\\/back\\:text-sky-500:is(:where(.group\\/back):hover *){color:var(--color-sky-500)}.group-hover\\/backdrop\\:translate-y-0:is(:where(.group\\/backdrop):hover *){--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.group-hover\\/card\\:w-\\[60px\\]:is(:where(.group\\/card):hover *){width:60px}.group-hover\\/card\\:scale-75:is(:where(.group\\/card):hover *){--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.group-hover\\/card\\:opacity-0:is(:where(.group\\/card):hover *){opacity:0}.group-hover\\/card\\:opacity-100:is(:where(.group\\/card):hover *){opacity:1}.group-hover\\/card\\:duration-400:is(:where(.group\\/card):hover *){--tw-duration:.4s;transition-duration:.4s}.group-hover\\/check\\:border-white\\/20:is(:where(.group\\/check):hover *){border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.group-hover\\/check\\:border-white\\/20:is(:where(.group\\/check):hover *){border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.group-hover\\/check\\:bg-green-500\\/80:is(:where(.group\\/check):hover *){background-color:#00c758cc}@supports (color:color-mix(in lab,red,red)){.group-hover\\/check\\:bg-green-500\\/80:is(:where(.group\\/check):hover *){background-color:color-mix(in oklab,var(--color-green-500)80%,transparent)}}.group-hover\\/check\\:opacity-100:is(:where(.group\\/check):hover *){opacity:1}.group-hover\\/header\\:translate-x-0:is(:where(.group\\/header):hover *){--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.group-hover\\/header\\:opacity-100:is(:where(.group\\/header):hover *){opacity:1}.group-hover\\/users\\:scale-0:is(:where(.group\\/users):hover *){--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}}.group-active\\:stroke-4:is(:where(.group):active *){stroke-width:4px}.group-active\\:text-sky-500:is(:where(.group):active *){color:var(--color-sky-500)}.group-active\\/check\\:border-green-500\\/30:is(:where(.group\\/check):active *){border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.group-active\\/check\\:border-green-500\\/30:is(:where(.group\\/check):active *){border-color:color-mix(in oklab,var(--color-green-500)30%,transparent)}}.group-active\\/check\\:text-green-500:is(:where(.group\\/check):active *){color:var(--color-green-500)}.group-disabled\\/card\\:w-\\[60px\\]:is(:is(:where(.group\\/card).disabled,.disabled :where(.group\\/card)) *){width:60px}.group-disabled\\/card\\:opacity-100:is(:is(:where(.group\\/card).disabled,.disabled :where(.group\\/card)) *),.peer-checked\\:opacity-100:is(:where(.peer):checked~*){opacity:1}.placeholder\\:text-neutral-700::placeholder{color:var(--color-neutral-700)}.first\\:ml-0:first-child{margin-left:calc(var(--spacing)*0)}.first\\:rounded-t-xl:first-child{border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}@media (hover:hover){.hover\\:z-\\[20\\]:hover{z-index:20}.hover\\:h-\\[80px\\]:hover{height:80px}.hover\\:scale-110\\!:hover{--tw-scale-x:110%!important;--tw-scale-y:110%!important;--tw-scale-z:110%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.hover\\:border-neutral-800:hover{border-color:var(--color-neutral-800)}.hover\\:border-sky-400\\/20:hover{border-color:#00bcfe33}@supports (color:color-mix(in lab,red,red)){.hover\\:border-sky-400\\/20:hover{border-color:color-mix(in oklab,var(--color-sky-400)20%,transparent)}}.hover\\:border-white\\/5:hover{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-white\\/5:hover{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.hover\\:border-white\\/60:hover{border-color:#fff9}@supports (color:color-mix(in lab,red,red)){.hover\\:border-white\\/60:hover{border-color:color-mix(in oklab,var(--color-white)60%,transparent)}}.hover\\:bg-\\[\\#0b2533\\]:hover{background-color:#0b2533}.hover\\:bg-\\[\\#1C1E1E\\]:hover{background-color:#1c1e1e}.hover\\:bg-\\[\\#152418\\]:hover{background-color:#152418}.hover\\:bg-amber-500:hover{background-color:var(--color-amber-500)}.hover\\:bg-emerald-600:hover{background-color:var(--color-emerald-600)}.hover\\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\\:bg-lime-600:hover{background-color:var(--color-lime-600)}.hover\\:bg-neutral-800:hover{background-color:var(--color-neutral-800)}.hover\\:bg-neutral-800\\/20:hover{background-color:#26262633}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-neutral-800\\/20:hover{background-color:color-mix(in oklab,var(--color-neutral-800)20%,transparent)}}.hover\\:bg-neutral-900:hover{background-color:var(--color-neutral-900)}.hover\\:bg-neutral-900\\/80:hover{background-color:#16191ccc}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-neutral-900\\/80:hover{background-color:color-mix(in oklab,var(--color-neutral-900)80%,transparent)}}.hover\\:bg-red-500\\/10:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/10:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.hover\\:bg-sky-500:hover{background-color:var(--color-sky-500)}.hover\\:bg-sky-600:hover{background-color:var(--color-sky-600)}.hover\\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\\:bg-white\\/4:hover{background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/4:hover{background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.hover\\:bg-white\\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/5:hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.hover\\:bg-zinc-600:hover{background-color:var(--color-zinc-600)}.hover\\:bg-zinc-700:hover{background-color:var(--color-zinc-700)}.hover\\:text-lime-400:hover{color:var(--color-lime-400)}.hover\\:text-neutral-400:hover{color:var(--color-neutral-400)}.hover\\:text-orange-500:hover{color:var(--color-orange-500)}.hover\\:text-red-300\\/80:hover{color:#ffa3a3cc}@supports (color:color-mix(in lab,red,red)){.hover\\:text-red-300\\/80:hover{color:color-mix(in oklab,var(--color-red-300)80%,transparent)}}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:text-white\\/50:hover{color:#ffffff80}@supports (color:color-mix(in lab,red,red)){.hover\\:text-white\\/50:hover{color:color-mix(in oklab,var(--color-white)50%,transparent)}}.hover\\:opacity-80:hover{opacity:.8}.hover\\:delay-0:hover{transition-delay:0s}.hover\\:ease-spring:hover{--tw-ease:var(--ease-spring);transition-timing-function:var(--ease-spring)}}.focus\\:border-neutral-500:focus{border-color:var(--color-neutral-500)}.focus\\:border-sky-400:focus{border-color:var(--color-sky-400)}.focus\\:border-white\\/30:focus{border-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.focus\\:border-white\\/30:focus{border-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.focus\\:text-neutral-300:focus{color:var(--color-neutral-300)}.focus\\:text-white:focus{color:var(--color-white)}.focus\\:ring-\\[3px\\]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-sky-400\\/0:focus{--tw-ring-color:#0000}@supports (color:color-mix(in lab,red,red)){.focus\\:ring-sky-400\\/0:focus{--tw-ring-color:color-mix(in oklab,var(--color-sky-400)0%,transparent)}}.focus\\:ring-sky-400\\/30:focus{--tw-ring-color:#00bcfe4d}@supports (color:color-mix(in lab,red,red)){.focus\\:ring-sky-400\\/30:focus{--tw-ring-color:color-mix(in oklab,var(--color-sky-400)30%,transparent)}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:border-white\\/0:active{border-color:#0000}@supports (color:color-mix(in lab,red,red)){.active\\:border-white\\/0:active{border-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.active\\:border-t-white\\/0:active{border-top-color:#0000}@supports (color:color-mix(in lab,red,red)){.active\\:border-t-white\\/0:active{border-top-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.active\\:border-b-black\\/0:active{border-bottom-color:#0000}@supports (color:color-mix(in lab,red,red)){.active\\:border-b-black\\/0:active{border-bottom-color:color-mix(in oklab,var(--color-black)0%,transparent)}}.active\\:bg-red-400\\/10:active{background-color:#ff65681a}@supports (color:color-mix(in lab,red,red)){.active\\:bg-red-400\\/10:active{background-color:color-mix(in oklab,var(--color-red-400)10%,transparent)}}.active\\:bg-sky-500\\/20:active{background-color:#00a5ef33}@supports (color:color-mix(in lab,red,red)){.active\\:bg-sky-500\\/20:active{background-color:color-mix(in oklab,var(--color-sky-500)20%,transparent)}}.active\\:bg-sky-700:active{background-color:var(--color-sky-700)}.active\\:bg-white\\/10:active{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.active\\:bg-white\\/10:active{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.active\\:bg-white\\/20:active{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.active\\:bg-white\\/20:active{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.active\\:from-neutral-800:active{--tw-gradient-from:var(--color-neutral-800);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.active\\:text-green-500:active{color:var(--color-green-500)}.active\\:text-green-950:active{color:var(--color-green-950)}.active\\:text-red-500:active{color:var(--color-red-500)}.active\\:text-sky-500:active{color:var(--color-sky-500)}.active\\:text-white:active{color:var(--color-white)}.active\\:outline-offset-0:active{outline-offset:0px}.disabled\\:pointer-events-none.disabled,.disabled .disabled\\:pointer-events-none{pointer-events:none}.disabled\\:cursor-not-allowed.disabled,.disabled .disabled\\:cursor-not-allowed{cursor:not-allowed}.disabled\\:bg-neutral-800.disabled,.disabled .disabled\\:bg-neutral-800{background-color:var(--color-neutral-800)}.disabled\\:bg-white\\/0.disabled,.disabled .disabled\\:bg-white\\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){:is(.disabled\\:bg-white\\/0.disabled,.disabled .disabled\\:bg-white\\/0){background-color:color-mix(in oklab,var(--color-white)0%,transparent)}}.disabled\\:bg-white\\/10.disabled,.disabled .disabled\\:bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){:is(.disabled\\:bg-white\\/10.disabled,.disabled .disabled\\:bg-white\\/10){background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.disabled\\:text-white\\/10.disabled,.disabled .disabled\\:text-white\\/10{color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){:is(.disabled\\:text-white\\/10.disabled,.disabled .disabled\\:text-white\\/10){color:color-mix(in oklab,var(--color-white)10%,transparent)}}.disabled\\:text-white\\/50.disabled,.disabled .disabled\\:text-white\\/50{color:#ffffff80}@supports (color:color-mix(in lab,red,red)){:is(.disabled\\:text-white\\/50.disabled,.disabled .disabled\\:text-white\\/50){color:color-mix(in oklab,var(--color-white)50%,transparent)}}.disabled\\:opacity-30.disabled,.disabled .disabled\\:opacity-30{opacity:.3}.disabled\\:select-text.disabled,.disabled .disabled\\:select-text{-webkit-user-select:text;user-select:text}.has-checked\\:border-sky-500:has(:checked){border-color:var(--color-sky-500)}.has-checked\\:bg-sky-500:has(:checked){background-color:var(--color-sky-500)}.has-focus-within\\:bg-neutral-900\\/80:has(:focus-within){background-color:#16191ccc}@supports (color:color-mix(in lab,red,red)){.has-focus-within\\:bg-neutral-900\\/80:has(:focus-within){background-color:color-mix(in oklab,var(--color-neutral-900)80%,transparent)}}.data-opened\\:border-b-black\\/20[data-opened]{border-bottom-color:#0003}@supports (color:color-mix(in lab,red,red)){.data-opened\\:border-b-black\\/20[data-opened]{border-bottom-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.nth-2\\:-mt-px:nth-child(2){margin-top:-1px}.nth-2\\:rounded-b-xl:nth-child(2){border-bottom-right-radius:var(--radius-xl);border-bottom-left-radius:var(--radius-xl)}@media (min-width:40rem){.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.md\\:mt-0{margin-top:calc(var(--spacing)*0)}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:px-6{padding-inline:calc(var(--spacing)*6)}.md\\:text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}}@media (min-width:64rem){.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.done\\:scale-75.done,.done .done\\:scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.done\\:text-white\\/30.done,.done .done\\:text-white\\/30{color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){:is(.done\\:text-white\\/30.done,.done .done\\:text-white\\/30){color:color-mix(in oklab,var(--color-white)30%,transparent)}}.done\\:opacity-0.done,.done .done\\:opacity-0{opacity:0}:is(.disabled\\:done\\:bg-white\\/0.disabled,.disabled .disabled\\:done\\:bg-white\\/0).done,.done :is(.disabled\\:done\\:bg-white\\/0.disabled,.disabled .disabled\\:done\\:bg-white\\/0){background-color:#0000}@supports (color:color-mix(in lab,red,red)){:is(:is(.disabled\\:done\\:bg-white\\/0.disabled,.disabled .disabled\\:done\\:bg-white\\/0).done,.done :is(.disabled\\:done\\:bg-white\\/0.disabled,.disabled .disabled\\:done\\:bg-white\\/0)){background-color:color-mix(in oklab,var(--color-white)0%,transparent)}}:is(.disabled\\:done\\:outline-white\\/5.disabled,.disabled .disabled\\:done\\:outline-white\\/5).done,.done :is(.disabled\\:done\\:outline-white\\/5.disabled,.disabled .disabled\\:done\\:outline-white\\/5){outline-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:is(:is(.disabled\\:done\\:outline-white\\/5.disabled,.disabled .disabled\\:done\\:outline-white\\/5).done,.done :is(.disabled\\:done\\:outline-white\\/5.disabled,.disabled .disabled\\:done\\:outline-white\\/5)){outline-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.new\\:border-t.new,.new .new\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.new\\:border-t-white\\/5.new,.new .new\\:border-t-white\\/5{border-top-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:is(.new\\:border-t-white\\/5.new,.new .new\\:border-t-white\\/5){border-top-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.new\\:bg-white\\/4.new,.new .new\\:bg-white\\/4{background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){:is(.new\\:bg-white\\/4.new,.new .new\\:bg-white\\/4){background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.new\\:text-white\\/60.new,.new .new\\:text-white\\/60{color:#fff9}@supports (color:color-mix(in lab,red,red)){:is(.new\\:text-white\\/60.new,.new .new\\:text-white\\/60){color:color-mix(in oklab,var(--color-white)60%,transparent)}}.new\\:shadow-lg.new,.new .new\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@media (hover:hover){:is(.new\\:hover\\:bg-white\\/8.new,.new .new\\:hover\\:bg-white\\/8):hover{background-color:#ffffff14}@supports (color:color-mix(in lab,red,red)){:is(.new\\:hover\\:bg-white\\/8.new,.new .new\\:hover\\:bg-white\\/8):hover{background-color:color-mix(in oklab,var(--color-white)8%,transparent)}}}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:h-1::-webkit-scrollbar{height:calc(var(--spacing)*1)}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:border-x-6::-webkit-scrollbar-thumb{border-inline-style:var(--tw-border-style);border-inline-width:6px}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:border-neutral-950::-webkit-scrollbar-thumb{border-color:var(--color-neutral-950)}@media (hover:hover){.hover\\:\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-white\\/20:hover::-webkit-scrollbar-thumb{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.hover\\:\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-white\\/20:hover::-webkit-scrollbar-thumb{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\:hover\\]\\:bg-white\\/30::-webkit-scrollbar-thumb:hover{background-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.\\[\\&\\:\\:-webkit-scrollbar-thumb\\:hover\\]\\:bg-white\\/30::-webkit-scrollbar-thumb:hover{background-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.\\[\\&\\:has\\(\\>\\.avatar\\:hover\\)\\>\\.avatar\\]\\:scale-50:has(>.avatar:hover)>.avatar{--tw-scale-x:50%;--tw-scale-y:50%;--tw-scale-z:50%;scale:var(--tw-scale-x)var(--tw-scale-y)}.\\[\\.wm-fubi-mine\\+\\.wm-fubi-mine\\]\\:mt-\\[2px\\]:is(.wm-fubi-mine+.wm-fubi-mine),.\\[\\.wm-fubi-other\\+\\.wm-fubi-other\\]\\:mt-\\[2px\\]:is(.wm-fubi-other+.wm-fubi-other){margin-top:2px}.invalid\\:\\[\\&\\:not\\(\\:placeholder-shown\\)\\]\\:ring-2:invalid:not(:placeholder-shown){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invalid\\:\\[\\&\\:not\\(\\:placeholder-shown\\)\\]\\:ring-red-500\\/30:invalid:not(:placeholder-shown){--tw-ring-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.invalid\\:\\[\\&\\:not\\(\\:placeholder-shown\\)\\]\\:ring-red-500\\/30:invalid:not(:placeholder-shown){--tw-ring-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.invalid\\:focus\\:\\[\\&\\:not\\(\\:placeholder-shown\\)\\]\\:border-red-500:invalid:focus:not(:placeholder-shown){border-color:var(--color-red-500)}.login-opened .\\[\\.login-opened_\\&\\]\\:translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-cyrillic-ext-400-normal.woff2)format("woff2"),url(./files/inter-cyrillic-ext-400-normal.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-cyrillic-400-normal.woff2)format("woff2"),url(./files/inter-cyrillic-400-normal.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-greek-ext-400-normal.woff2)format("woff2"),url(./files/inter-greek-ext-400-normal.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-greek-400-normal.woff2)format("woff2"),url(./files/inter-greek-400-normal.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-vietnamese-400-normal.woff2)format("woff2"),url(./files/inter-vietnamese-400-normal.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-latin-ext-400-normal.woff2)format("woff2"),url(./files/inter-latin-ext-400-normal.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./files/inter-latin-400-normal.woff2)format("woff2"),url(./files/inter-latin-400-normal.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-cyrillic-ext-500-normal.woff2)format("woff2"),url(./files/inter-cyrillic-ext-500-normal.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-cyrillic-500-normal.woff2)format("woff2"),url(./files/inter-cyrillic-500-normal.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-greek-ext-500-normal.woff2)format("woff2"),url(./files/inter-greek-ext-500-normal.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-greek-500-normal.woff2)format("woff2"),url(./files/inter-greek-500-normal.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-vietnamese-500-normal.woff2)format("woff2"),url(./files/inter-vietnamese-500-normal.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-latin-ext-500-normal.woff2)format("woff2"),url(./files/inter-latin-ext-500-normal.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./files/inter-latin-500-normal.woff2)format("woff2"),url(./files/inter-latin-500-normal.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-cyrillic-ext-600-normal.woff2)format("woff2"),url(./files/inter-cyrillic-ext-600-normal.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-cyrillic-600-normal.woff2)format("woff2"),url(./files/inter-cyrillic-600-normal.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-greek-ext-600-normal.woff2)format("woff2"),url(./files/inter-greek-ext-600-normal.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-greek-600-normal.woff2)format("woff2"),url(./files/inter-greek-600-normal.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-vietnamese-600-normal.woff2)format("woff2"),url(./files/inter-vietnamese-600-normal.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-latin-ext-600-normal.woff2)format("woff2"),url(./files/inter-latin-ext-600-normal.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./files/inter-latin-600-normal.woff2)format("woff2"),url(./files/inter-latin-600-normal.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-cyrillic-ext-700-normal.woff2)format("woff2"),url(./files/inter-cyrillic-ext-700-normal.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-cyrillic-700-normal.woff2)format("woff2"),url(./files/inter-cyrillic-700-normal.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-greek-ext-700-normal.woff2)format("woff2"),url(./files/inter-greek-ext-700-normal.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-greek-700-normal.woff2)format("woff2"),url(./files/inter-greek-700-normal.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-vietnamese-700-normal.woff2)format("woff2"),url(./files/inter-vietnamese-700-normal.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-latin-ext-700-normal.woff2)format("woff2"),url(./files/inter-latin-ext-700-normal.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./files/inter-latin-700-normal.woff2)format("woff2"),url(./files/inter-latin-700-normal.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}#fubi-container{--ease-gradient:linear-gradient(var(--ease-gradient-direction),rgba(var(--ease-gradient-rgb),1)0%,rgba(var(--ease-gradient-rgb),.99)6.67%,rgba(var(--ease-gradient-rgb),.96)13.33%,rgba(var(--ease-gradient-rgb),.92)20%,rgba(var(--ease-gradient-rgb),.85)26.67%,rgba(var(--ease-gradient-rgb),.77)33.33%,rgba(var(--ease-gradient-rgb),.67)40%,rgba(var(--ease-gradient-rgb),.56)46.67%,rgba(var(--ease-gradient-rgb),.44)53.33%,rgba(var(--ease-gradient-rgb),.33)60%,rgba(var(--ease-gradient-rgb),.23)66.67%,rgba(var(--ease-gradient-rgb),.15)73.33%,rgba(var(--ease-gradient-rgb),.08)80%,rgba(var(--ease-gradient-rgb),.04)86.67%,rgba(var(--ease-gradient-rgb),.01)93.33%,rgba(var(--ease-gradient-rgb),0)100%);font-family:Inter,sans-serif;font-weight:400}.fubi-hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.fubi-hide-scrollbar::-webkit-scrollbar{display:none}#fubi-container:has([data-open].fubi-menu-content) *{pointer-events:none}#fubi-container:has([data-open]) #fubi-wrapper-outter,#fubi-container:has([data-open]) [data-open],#fubi-container:has([data-open]) [data-open] *,#fubi-container:has([data-open]) .fubi-card-wrapper:has([data-open]),[data-open] *{pointer-events:auto!important}:root{--fubi-theme:0,166,244;--fubi-secondary-theme:255,185,0;--fubi-transitions:outline .2s ease-out 0s,outline-offset 0s ease-out 0s,background-color .3s ease-out 0s}.fubi-scroll-disabled{touch-action:none;overflow:hidden}#fubi-container{pointer-events:none;top:calc(var(--spacing)*0);right:calc(var(--spacing)*0);z-index:2100000002;width:100%;height:100%;color:var(--color-white);position:absolute}#fubi-wrapper-outter{pointer-events:auto;right:calc(var(--spacing)*4);bottom:calc(var(--spacing)*4);z-index:2002;--tw-translate-y: calc(100% + 16px) ;translate:var(--tw-translate-x)var(--tw-translate-y);justify-content:flex-end;align-items:flex-end;display:flex;position:fixed}#fubi-wrapper-outter.enabled{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y);--tw-duration:.3s;transition-duration:.3s}#fubi-wrapper-outter.resizing #fubi-wrapper{outline-color:#00a5ef99}@supports (color:color-mix(in lab,red,red)){#fubi-wrapper-outter.resizing #fubi-wrapper{outline-color:color-mix(in oklab,var(--color-sky-500)60%,transparent)}}#fubi-wrapper{z-index:10;border-top-style:var(--tw-border-style);background-color:var(--color-neutral-950);outline-style:var(--tw-outline-style);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:var(--ease-in-out-cubic);transition-duration:.3s;transition-timing-function:var(--ease-in-out-cubic);--fubi-height:450px;--fubi-width:300px;border-top-width:1px;border-top-color:#ffffff1a;outline-width:1px;outline-color:#26262633;justify-content:flex-end;align-items:flex-end;display:flex;overflow:clip}@supports (color:color-mix(in lab,red,red)){#fubi-wrapper{border-top-color:color-mix(in oklab,var(--color-white)10%,transparent);outline-color:color-mix(in oklab,var(--color-neutral-800)20%,transparent)}}#fubi-wrapper.closed{max-height:calc(var(--spacing)*12);min-height:calc(var(--spacing)*12);width:calc(var(--spacing)*12);border-radius:24px}#fubi-wrapper.opened{max-height:var(--fubi-height);min-height:0;width:var(--fubi-width);border-radius:18px}#fubi-wrapper.opened:has(.comments-opened){min-height:400px}#fubi-wrapper.opened:has(.login-opened){min-height:300px}#fubi-wrapper.fubi-resizing{transition-property:none}#fubi-toggle-button{pointer-events:none;right:calc(var(--spacing)*0);bottom:calc(var(--spacing)*0);width:calc(var(--spacing)*12);height:calc(var(--spacing)*12);--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y);color:var(--color-white);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:var(--ease-in-out);transition-duration:.3s;transition-timing-function:var(--ease-in-out);border-radius:3.40282e38px;justify-content:center;align-items:center;display:flex;position:absolute}#fubi-wrapper.closed #fubi-toggle-button{pointer-events:auto;--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}#fubi-wrapper.closed #fubi-toggle-button:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){#fubi-wrapper.closed #fubi-toggle-button:hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}#fubi-pages{width:100%;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.5s;--tw-ease:var(--ease-in-out-cubic);transition-duration:.5s;transition-timing-function:var(--ease-in-out-cubic);position:relative}#fubi-wrapper.closed #fubi-pages{pointer-events:none;opacity:0}.fubi-page{pointer-events:auto;height:var(--fubi-height);width:100%;min-height:0;max-height:calc(100vh - 32px);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.5s;--tw-ease:var(--ease-in-out);transition-duration:.5s;transition-timing-function:var(--ease-in-out);overflow-y:auto}.fubi-resizing .fubi-page{transition-property:none}#fubi-pages.login-opened .fubi-page{min-height:298px}#fubi-pages.comments-opened .fubi-page{min-height:400px}.fubi-page::-webkit-scrollbar{-ms-overflow-style:none;scrollbar-width:none;display:none}#fubi-page-comments{top:calc(var(--spacing)*0);left:calc(var(--spacing)*0);--tw-translate-y:100%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute}.fubi-highlight{outline:1px solid rgba(var(--fubi-theme),1);outline-offset:-1px;background-color:rgba(var(--fubi-theme),.1);transition:var(--fubi-transitions);cursor:default}.animate-dashes{animation:.5s linear infinite dashmove}.animate-dashes-small{animation:.5s linear infinite dashmove-small}@keyframes dashmove-small{to{stroke-dashoffset:8px}}@keyframes dashmove{to{stroke-dashoffset:12px}}.fubi-state-msg{pointer-events:none;justify-content:flex-start;align-items:flex-start;gap:calc(var(--spacing)*1);border-style:var(--tw-border-style);padding:calc(var(--spacing)*1);padding-right:calc(var(--spacing)*3);font-size:var(--text-xs);border-width:1px;align-self:center;line-height:120%;display:flex}.fubi-state-msg[data-type=info],.fubi-state-msg[data-type=loading]{color:var(--color-sky-500);background-color:#00a5ef1a;border-color:#77d4ff0d}@supports (color:color-mix(in lab,red,red)){:is(.fubi-state-msg[data-type=info],.fubi-state-msg[data-type=loading]){border-color:color-mix(in oklab,var(--color-sky-300)5%,transparent);background-color:color-mix(in oklab,var(--color-sky-500)10%,transparent)}}.fubi-state-msg[data-type=loading]{animation:var(--animate-pulse);background-color:var(--color-neutral-950);color:#ffffff4d;border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.fubi-state-msg[data-type=loading]{border-color:color-mix(in oklab,var(--color-white)5%,transparent);color:color-mix(in oklab,var(--color-white)30%,transparent)}}.fubi-state-msg[data-type=success]{color:var(--color-green-500);background-color:#00c7581a;border-color:#7bf1a80d}@supports (color:color-mix(in lab,red,red)){.fubi-state-msg[data-type=success]{border-color:color-mix(in oklab,var(--color-green-300)5%,transparent);background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.fubi-state-msg[data-type=error]{color:var(--color-red-500);background-color:#fb2c361a;border-color:#ffa3a30d}@supports (color:color-mix(in lab,red,red)){.fubi-state-msg[data-type=error]{border-color:color-mix(in oklab,var(--color-red-300)5%,transparent);background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.fubi-state-msg .fubi-state-msg-icon-wrapper{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5);background-color:currentColor;border-radius:3.40282e38px;justify-content:center;align-items:center;display:flex}@supports (color:color-mix(in lab,red,red)){.fubi-state-msg .fubi-state-msg-icon-wrapper{background-color:color-mix(in oklab,currentcolor 0%,transparent)}}#fubi-page-comments{bottom:calc(var(--spacing)*0);left:calc(var(--spacing)*0);z-index:10;--tw-translate-y:100%;translate:var(--tw-translate-x)var(--tw-translate-y);background-color:var(--color-neutral-950);border-top-left-radius:16px;border-bottom-left-radius:16px;position:absolute}#fubi-pages.comments-opened #fubi-page-comments{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}#fubi-page-threads{flex-direction:column;display:flex}#fubi-pages.login-opened #fubi-page-threads,#fubi-pages.comments-opened #fubi-page-threads{pointer-events:none;z-index:0;--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:.1}#fubi-threads-header{top:calc(var(--spacing)*0);left:calc(var(--spacing)*0);z-index:10;background-color:var(--color-sky-500);justify-content:space-between;align-items:center;display:flex;position:sticky}.fubi-threads-list-fade{--ease-gradient-direction:180deg;--ease-gradient-rgb:22,25,28;background:linear-gradient(var(--ease-gradient-direction),rgba(var(--ease-gradient-rgb),1)0%,rgba(var(--ease-gradient-rgb),.99)6.67%,rgba(var(--ease-gradient-rgb),.96)13.33%,rgba(var(--ease-gradient-rgb),.92)20%,rgba(var(--ease-gradient-rgb),.85)26.67%,rgba(var(--ease-gradient-rgb),.77)33.33%,rgba(var(--ease-gradient-rgb),.67)40%,rgba(var(--ease-gradient-rgb),.56)46.67%,rgba(var(--ease-gradient-rgb),.44)53.33%,rgba(var(--ease-gradient-rgb),.33)60%,rgba(var(--ease-gradient-rgb),.23)66.67%,rgba(var(--ease-gradient-rgb),.15)73.33%,rgba(var(--ease-gradient-rgb),.08)80%,rgba(var(--ease-gradient-rgb),.04)86.67%,rgba(var(--ease-gradient-rgb),.01)93.33%,rgba(var(--ease-gradient-rgb),0)100%);pointer-events:none;top:68px;left:calc(var(--spacing)*0);z-index:10;width:100%;height:64px;position:fixed}.fubi-threads-list-fade.bottom{--ease-gradient-direction:0deg;--ease-gradient-rgb:11,13,14;background:linear-gradient(var(--ease-gradient-direction),rgba(var(--ease-gradient-rgb),1)0%,rgba(var(--ease-gradient-rgb),.99)6.67%,rgba(var(--ease-gradient-rgb),.96)13.33%,rgba(var(--ease-gradient-rgb),.92)20%,rgba(var(--ease-gradient-rgb),.85)26.67%,rgba(var(--ease-gradient-rgb),.77)33.33%,rgba(var(--ease-gradient-rgb),.67)40%,rgba(var(--ease-gradient-rgb),.56)46.67%,rgba(var(--ease-gradient-rgb),.44)53.33%,rgba(var(--ease-gradient-rgb),.33)60%,rgba(var(--ease-gradient-rgb),.23)66.67%,rgba(var(--ease-gradient-rgb),.15)73.33%,rgba(var(--ease-gradient-rgb),.08)80%,rgba(var(--ease-gradient-rgb),.04)86.67%,rgba(var(--ease-gradient-rgb),.01)93.33%,rgba(var(--ease-gradient-rgb),0)100%);top:auto;bottom:calc(var(--spacing)*0);border-bottom-right-radius:12px;border-bottom-left-radius:12px;height:42px}.fubi-threads-list{z-index:-1;min-height:0;padding-inline:calc(var(--spacing)*1.5);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:var(--ease-in-out-cubic);transition-duration:.3s;transition-timing-function:var(--ease-in-out-cubic);flex-direction:column;flex:1;justify-content:flex-end;gap:1px;display:flex;position:relative}.fubi-threads-list.loading{max-height:0}#fubi-page-threads-backdrop{pointer-events:none;top:calc(var(--spacing)*0);left:calc(var(--spacing)*0);z-index:9;opacity:0;--tw-backdrop-blur:blur(8px);width:100%;height:100%;-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:var(--ease-in-out);transition-duration:.3s;transition-timing-function:var(--ease-in-out);background-color:#0009;border-radius:16px;position:fixed}@supports (color:color-mix(in lab,red,red)){#fubi-page-threads-backdrop{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}#fubi-page-threads:has(#fubi-page-switcher.opened) #fubi-page-threads-backdrop{pointer-events:auto;opacity:1}#fubi-page-threads:has(#user-menu:hover) #fubi-threads-list{pointer-events:none;opacity:.3;--tw-blur:blur(4px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}#fubi-threads-list-archived{background-color:var(--color-neutral-950);border-radius:8px 8px 12px 12px}.fubi-thread-button-wrapper{width:100%;display:flex;position:relative}.fubi-thread-button-wrapper.placeholder{-webkit-mask-image:linear-gradient(90deg,#000 85%,#0000 100%);mask-image:linear-gradient(90deg,#000 85%,#0000)}.fubi-thread-button-wrapper.new .fubi-thread-button{background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.new .fubi-thread-button{background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}.fubi-thread-button-wrapper.invalid .fubi-thread-button{border-style:var(--tw-border-style);background-color:#fb2c361a;border-width:1px;border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.invalid .fubi-thread-button{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent);background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}@media (hover:hover){.fubi-thread-button-wrapper.invalid .fubi-thread-button:hover{border-color:#fb2c3666}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.invalid .fubi-thread-button:hover{border-color:color-mix(in oklab,var(--color-red-500)40%,transparent)}}.fubi-thread-button-wrapper.invalid .fubi-thread-button:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.invalid .fubi-thread-button:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}}.fubi-thread-button-wrapper.invalid .fubi-thread-button .fubi-thread-button-text{color:var(--color-red-400)}.fubi-thread-button-wrapper.invalid .fubi-thread-button .fubi-thread-button-menu{color:var(--color-red-400);background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.invalid .fubi-thread-button .fubi-thread-button-menu{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.fubi-thread-button-wrapper:has(.fubi-thread-check-button:hover){pointer-events:none}.fubi-thread-button-wrapper:hover .fubi-thread-check-button{background-color:var(--color-neutral-950);border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper:hover .fubi-thread-check-button{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.fubi-thread-button-wrapper:hover .fubi-thread-check-button.done{background-color:#0000004d;border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper:hover .fubi-thread-check-button.done{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent);background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}.fubi-thread-button-wrapper .fubi-thread-check-button.done{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-white);background-color:#00c7580d;border-color:#00c7584d;margin-left:1px}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper .fubi-thread-check-button.done{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent);background-color:color-mix(in oklab,var(--color-green-500)5%,transparent)}}@media (hover:hover){.fubi-thread-button-wrapper .fubi-thread-check-button.done:hover{border-color:var(--color-green-500)}}.fubi-thread-button-wrapper .fubi-thread-check-button.done:active{background-color:var(--color-green-900);color:#0000}.fubi-thread-button-wrapper .fubi-thread-check-button.done:active .fubi-thread-check-button-icon{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y);--tw-duration:.1s;transition-duration:.1s}.fubi-thread-button-wrapper .fubi-thread-check-button.done .fubi-thread-check-button-icon{visibility:visible;--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:1;--tw-duration:.1s;--tw-ease:var(--ease-bounce-back);transition-duration:.1s;transition-timing-function:var(--ease-bounce-back)}.fubi-thread-button-wrapper.new .fubi-thread-button-text{color:var(--color-white)}.fubi-thread-button-wrapper.new .fubi-thread-check-button{background-color:var(--color-red-500);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-white);margin-left:1px}.fubi-thread-button-wrapper.new .fubi-thread-check-button:active{background-color:var(--color-green-900);color:#0000}.fubi-thread-button-wrapper.done .fubi-tag-icon{color:#ffffff4d!important}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.done .fubi-tag-icon{color:color-mix(in oklab,var(--color-white)30%,transparent)!important}}.fubi-thread-button-wrapper.done .fubi-thread-button-text{color:#fff3}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button-wrapper.done .fubi-thread-button-text{color:color-mix(in oklab,var(--color-white)20%,transparent)}}.fubi-thread-button-wrapper span{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal);opacity:.5}.fubi-thread-button{align-items:flex-start;gap:calc(var(--spacing)*1.5);width:100%;padding:calc(var(--spacing)*1.5);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;--tw-ease:var(--ease-in-out);transition-duration:.15s;transition-timing-function:var(--ease-in-out);will-change:transform;border-radius:8px;flex:1;display:flex}@media (hover:hover){.fubi-thread-button:hover{background-color:#ffffff0a}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button:hover{background-color:color-mix(in oklab,var(--color-white)4%,transparent)}}}.fubi-thread-button:active{background-color:#ffffff1a;scale:1}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button:active{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.fubi-thread-button .fubi-thread-button-text{gap:calc(var(--spacing)*1);padding-top:calc(var(--spacing)*1);text-align:left;--tw-font-weight:var(--font-weight-medium);font-size:13px;line-height:1;font-weight:var(--font-weight-medium);text-wrap:balance;color:#fff9;transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;--tw-ease:var(--ease-in-out);transition-duration:.2s;transition-timing-function:var(--ease-in-out);flex-direction:column;flex:1;display:flex}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button .fubi-thread-button-text{color:color-mix(in oklab,var(--color-white)60%,transparent)}}.fubi-thread-button .fubi-thread-button-text p{text-transform:capitalize}.fubi-thread-button .fubi-thread-button-text span{-webkit-line-clamp:3;--tw-font-weight:var(--font-weight-normal);font-size:12px;line-height:140%;font-weight:var(--font-weight-normal);text-overflow:ellipsis;color:#fff6;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.fubi-thread-button .fubi-thread-button-text span{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.fade-to-r{-webkit-mask-image:linear-gradient(90deg,#000 85%,#0000 100%);mask-image:linear-gradient(90deg,#000 85%,#0000)}.fade-to-b{-webkit-mask-image:linear-gradient(#000 0%,#0000 100%);mask-image:linear-gradient(#000,#0000)}.bounce-x{animation:1s .3s infinite bounce-x}@keyframes bounce-x{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:none}50%{animation-timing-function:cubic-bezier(.3,0,.2,1);transform:translate(-8px)}}:root,#fubi-container{--icon-default-color:var(--color-sky-500);--icon-div-color:var(--color-sky-500);--icon-nav-color:var(--color-indigo-500);--icon-img-color:var(--color-rose-500);--icon-video-color:var(--color-rose-500);--icon-component-color:var(--color-indigo-500);--icon-modal-color:var(--color-sky-500);--icon-form-color:var(--color-sky-500);--icon-input-color:var(--color-sky-500);--icon-section-color:var(--color-sky-500);--icon-aside-color:var(--color-sky-500);--icon-table-color:var(--color-amber-500);--icon-thead-color:var(--color-sky-500);--icon-th-color:#febc25;--icon-td-color:#fd982a;--icon-tr-color:#fd982a;--icon-svg-color:var(--color-emerald-400);--icon-button-color:var(--color-green-400);--icon-a-color:var(--color-sky-500);--icon-h1-color:#ffdf20;--icon-h2-color:#febc25;--icon-h3-color:#fd982a;--icon-h4-color:#fc742e;--icon-h5-color:#fb5133;--icon-h6-color:var(--color-red-500);--icon-p-color:var(--color-red-500);--icon-ul-color:var(--color-emerald-500);--icon-ol-color:var(--color-sky-500);--icon-li-color:var(--color-emerald-500);--icon-footer-color:var(--color-indigo-500);--icon-not-allowed-color:var(--color-red-400);--icon-info-color:var(--color-sky-500);--icon-error-color:var(--color-red-500);--icon-plus-color:var(--color-green-500);--icon-back-color:var(--color-sky-500);--icon-comment-color:var(--color-indigo-400);--icon-url-color:var(--color-sky-300)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-scroll-snap-strictness{syntax:"*";inherits:false;initial-value:proximity}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}',pu=":root{--wm-fubi-theme: 97, 95, 255;--wm-fubi-secondary-theme: 255, 185, 0;--wm-fubi-transitions: outline .3s ease-out 0s, outline-offset .3s ease-out 0s, background-color .3s ease-out 0s, transform .2s var(--ease-spring) 0s}#fubi-shadow-host{position:absolute;top:0;left:0}.fubi-hover-enabled:not(:has(#fubi-wrapper-outter:hover,.fubi-isolated)) [data-fubi-comment].fubi-comment-active,.fubi-hover-enabled:not(:has(#fubi-shadow-host:hover,.fubi-isolated)) [data-fubi-comment].fubi-comment-active{outline:2px dotted rgba(var(--wm-fubi-theme),1);outline-offset:-1px}.fubi-hover-enabled:not(:has(#fubi-wrapper-outter:hover)) [data-fubi-comment].fubi-comment-active:not(:has(*:hover)):hover,.fubi-hover-enabled:not(:has(#fubi-shadow-host:hover)) [data-fubi-comment].fubi-comment-active:not(:has(*:hover)):hover{outline:1px dashed rgba(var(--wm-fubi-theme),0);outline-offset:4px;opacity:1}.fubi-hover-enabled [data-fubi-comment].fubi-comment-active:not(:has(*:active)):active{transition:transform .1s ease-out 0s;transform:scale(.95)}.fubi-hover-enabled{--fubi-cursor: default}.fubi-hover-enabled:not(#fubi-wrapper,#fubi-wrapper *) *{cursor:var(--fubi-cursor)!important}.fubi-hover-enabled [data-cursor-icon=error]{cursor:not-allowed!important}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}@keyframes scale{0%{outline-offset:1px;outline-color:#fff0}10%{outline-offset:2px;outline-color:#ffffff4d}to{outline-offset:6px;outline-color:#fff0}}.fubi-hover-enabled .animate-scale{animation:scale 1s ease-out infinite}.fubi-cursor-not-allowed,.fubi-cursor-not-allowed *{cursor:not-allowed!important}";Kc();const gu=r=>r;function vn(r){const t=r-1;return t*t*t+1}function Il(r){const t=typeof r=="string"&&r.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return t?[parseFloat(t[1]),t[2]||"px"]:[r,"px"]}function Ea(r,{delay:t=0,duration:e=400,easing:o=gu}={}){const i=+getComputedStyle(r).opacity;return{delay:t,duration:e,easing:o,css:n=>`opacity: ${n*i}`}}function bn(r,{delay:t=0,duration:e=400,easing:o=vn,x:i=0,y:n=0,opacity:a=0}={}){const s=getComputedStyle(r),l=+s.opacity,c=s.transform==="none"?"":s.transform,u=l*(1-a),[f,d]=Il(i),[h,v]=Il(n);return{delay:t,duration:e,easing:o,css:(b,w)=>`
|
|
4
|
+
transform: ${c} translate(${(1-b)*f}${d}, ${(1-b)*h}${v});
|
|
5
|
+
opacity: ${l-u*w}`}}function Or(r,{delay:t=0,duration:e=400,easing:o=vn,axis:i="y"}={}){const n=getComputedStyle(r),a=+n.opacity,s=i==="y"?"height":"width",l=parseFloat(n[s]),c=i==="y"?["top","bottom"]:["left","right"],u=c.map(_=>`${_[0].toUpperCase()}${_.slice(1)}`),f=parseFloat(n[`padding${u[0]}`]),d=parseFloat(n[`padding${u[1]}`]),h=parseFloat(n[`margin${u[0]}`]),v=parseFloat(n[`margin${u[1]}`]),b=parseFloat(n[`border${u[0]}Width`]),w=parseFloat(n[`border${u[1]}Width`]);return{delay:t,duration:e,easing:o,css:_=>`overflow: hidden;opacity: ${Math.min(_*20,1)*a};${s}: ${_*l}px;padding-${c[0]}: ${_*f}px;padding-${c[1]}: ${_*d}px;margin-${c[0]}: ${_*h}px;margin-${c[1]}: ${_*v}px;border-${c[0]}-width: ${_*b}px;border-${c[1]}-width: ${_*w}px;min-${s}: 0`}}function Xt(r,{delay:t=0,duration:e=400,easing:o=vn,start:i=0,opacity:n=0}={}){const a=getComputedStyle(r),s=+a.opacity,l=a.transform==="none"?"":a.transform,c=1-i,u=s*(1-n);return{delay:t,duration:e,easing:o,css:(f,d)=>`
|
|
6
|
+
transform: ${l} scale(${1-c*d});
|
|
7
|
+
opacity: ${s-u*d}
|
|
8
|
+
`}}function Tl(r,t){for(const e in t)r[e]=t[e];return r}function vu({fallback:r,...t}){const e=new Map,o=new Map;function i(a,s,l){const{delay:c=0,duration:u=O=>Math.sqrt(O)*30,easing:f=vn}=Tl(Tl({},t),l),d=a.getBoundingClientRect(),h=s.getBoundingClientRect(),v=d.left-h.left,b=d.top-h.top,w=d.width/h.width,_=d.height/h.height,y=Math.sqrt(v*v+b*b),m=getComputedStyle(s),S=m.transform==="none"?"":m.transform,L=+m.opacity;return{delay:c,duration:typeof u=="function"?u(y):u,easing:f,css:(O,z)=>`
|
|
9
|
+
opacity: ${O*L};
|
|
81
10
|
transform-origin: top left;
|
|
82
|
-
transform: ${S} translate(${
|
|
83
|
-
`}}function s(o,a,l){return(c,u)=>(o.set(u.key,c),()=>{if(a.has(u.key)){const p=a.get(u.key);return a.delete(u.key),i(p,c,u)}return o.delete(u.key),e&&e(c,u,l)})}return[s(r,n,!1),s(n,r,!0)]}var x5=N('<svg><path d="M8 15C12.2342 15 16 11.866 16 8.00002C16 4.13401 12.2342 1 8 1C3.76582 1 0 4.13401 0 8.00002C0 9.76449 0.71499 11.3764 1.89486 12.6076C2.10482 12.8267 2.16632 13.1885 1.96378 13.4165C1.7305 13.6792 1.41972 13.927 1.03593 14.1805C0.79974 14.3364 0.85717 14.7429 1.12916 14.7681C2.43288 14.8885 2.99534 14.5057 3.50527 14.1587C3.64594 14.063 3.81825 14.0576 3.96808 14.1331C5.06478 14.6856 6.65884 15 8 15Z" fill="currentColor"></path></svg>');function Ol(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=x5();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var k5=V("<button><!></button>");function $l(e,t){let n=q(t,["$$slots","$$events","$$legacy","children"]);var r=k5();let i;var s=y(r);Te(s,()=>t.children),A(()=>i=j(r,i,{class:["tw-ep tw-xo tw-ls tw-tq tw-jm tw-zv tw-nj tw-wl tw-fn tw-lp tw-of","tw-ho tw-fq tw-ce tw-eq tw-wd tw-ed","tw-hf","tw-nd tw-ma tw-na tw-pa"],...n})),E(e,r)}var E5=N('<svg><path d="M14.6563 9.88196C14.6563 10.6976 14.8459 11.2625 15.2251 11.5763C15.6202 11.89 16.3235 12.0468 17.3349 12.0468C18.362 12.0468 19.0417 11.9059 19.3736 11.6236C19.6777 11.3628 19.849 10.9218 19.887 10.3008L19.8947 10.0233V3.90585H24.3514V15.7647H20.1794V12.1648H19.9423C19.8633 12.8234 19.6499 13.4429 19.3024 14.0231C18.9547 14.6035 18.4409 15.0823 17.7613 15.4588C17.0819 15.8195 16.1971 16 15.1069 16C14.0007 16 13.084 15.8036 12.3571 15.4115C11.6302 15.0194 11.0848 14.4862 10.7214 13.8118C10.3737 13.1373 10.1996 12.3684 10.1996 11.5056V3.90585H14.6563V9.88196Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M30.1426 6.96456H30.3796C30.5535 5.97643 30.9962 5.18442 31.7072 4.58837C32.4183 3.97661 33.4775 3.67057 34.884 3.67057C36.0533 3.67061 37.0408 3.92181 37.8467 4.42373C38.6684 4.91 39.2928 5.61582 39.7194 6.5413C40.1461 7.45106 40.3594 8.54909 40.3594 9.83529C40.3594 11.1058 40.1384 12.2038 39.6959 13.1293C39.2692 14.0548 38.6288 14.7682 37.7755 15.2702C36.9379 15.7564 35.9108 16 34.694 16C33.3035 16 32.237 15.7251 31.4943 15.1762C30.7516 14.6115 30.2852 13.7411 30.0956 12.5647H29.8585V15.7647H25.6865V0H30.1426V6.96456ZM33.0824 7.69375C32.0868 7.69375 31.3436 7.81936 30.8537 8.07033C30.4094 8.30563 30.1736 8.79613 30.1458 9.54134L30.1426 9.69399V9.85862L30.1477 10.0649C30.1702 10.5314 30.2711 10.9019 30.4508 11.1763C30.6721 11.4744 30.9964 11.6784 31.4231 11.7882C31.8656 11.898 32.4188 11.9528 33.0824 11.9528C33.7774 11.9528 34.3225 11.8903 34.7175 11.7649C35.1284 11.6237 35.4213 11.3961 35.5951 11.0824C35.7689 10.7687 35.8557 10.3529 35.8557 9.83529C35.8557 9.30204 35.7689 8.88624 35.5951 8.58821C35.4213 8.27449 35.1284 8.04687 34.7175 7.9057C34.3225 7.76461 33.7774 7.69376 33.0824 7.69375Z" fill="currentColor"></path><path d="M9.24512 3.15269H7.58585C6.74835 3.15269 6.20297 3.25473 5.9501 3.45862C5.83964 3.54634 5.78984 3.69551 5.79949 3.90585H9.24512V7.52912H6.06894V15.7647H1.61224V7.52912H0V3.90585H1.71011C1.82347 3.37689 2.03517 2.88261 2.34687 2.4235C2.85256 1.68625 3.60346 1.09776 4.59905 0.658545C5.59461 0.219376 6.82736 0 8.29697 0H9.24512V3.15269Z" fill="currentColor"></path><path d="M46 15.7647H41.5433V3.90585H46V15.7647Z" fill="currentColor"></path><path d="M46 2.82342H41.5433V0H46V2.82342Z" fill="currentColor"></path></svg>');function Tl(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=E5();let i;A(()=>i=j(r,i,{viewBox:"0 0 46 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var S5=V('<div class="flex tw-dm" id="fubi-auth-error"><div class="tw-uj tw-nm tw-ns tw-dm tw-ni tw-em tw-wv tw-dw rounded tw-ek tw-co tw-jv"><!></div></div>'),L5=()=>I.disable(),O5=V('<form><div class="flex tw-iq tw-ut"><input type="email" name="email" required placeholder="E-mail" autocomplete="email"> <input type="password" name="password" required placeholder="Password" autocomplete="current-password"></div> <!> <a href="/" class=" tw-bg tw-un tw-ev tw-ya tw-ns">Back to Website</a></form>'),$5=V('<div id="fubi-page-login" class="fubi-page"><!> <p class="fubi-login-subtitle">Simplest way to Feedback</p> <!> <!></div>');function T5(e,t){ot(t,!1);async function n(c){c.preventDefault();const{email:u,password:p}=c.target;await rt.login(u.value,p.value)}Ze();var r=$5(),i=y(r);Tl(i,{class:"tw-qq"});var s=$(i,4);{var o=c=>{var u=S5(),p=y(u),f=y(p);yr(f,()=>rt.error||I.error),Ct(3,p,()=>tn),Ct(3,u,()=>Xn),E(c,u)};nt(s,c=>{(rt.error||I.error)&&c(o)})}var a=$(s,2);{var l=c=>{var u=O5(),p=$(y(u),2);$l(p,{get disabled(){return rt.loading},children:(w,g)=>{var m=Cr();A(()=>tt(m,rt.loading?"Loading...":"Login")),E(w,m)},$$slots:{default:!0}});var f=$(p,2);f.__click=[L5],Zt("submit",u,w=>n(w)),E(c,u)};nt(a,c=>{I.error||c(l)})}E(e,r),at()}me(["click"]);var A5=N('<svg><path d="M3 13L13 3M3 3L13 13" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function M5(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=A5();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var I5=V("<a><p> </p> <div></div></a>");function Al(e,t){ot(t,!0);let n=Y(t,"name",3,"Page"),r=Y(t,"pathname",3,"/"),i=Y(t,"newPage",3,!1),s=Y(t,"active",3,!1),o=Y(t,"id",3,null);ys(()=>{(Tt.current.id===o()||o()==="new")&&Tt.handleCurrentLink(o())});var a=I5(),l=y(a),c=y(l),u=$(l,2);A(()=>{lt(a,"href",r()),U(a,1,z(["tw-rq tw-wv tw-kk flex tw-dm tw-ni tw-ut tw-ah tw-ns tw-gr tw-wo relative group tw-hn",s()&&"bg-sky-500/20 tw-lc relative tw-fq border-t-sky-500/10 outline-0 tw-of outline-sky-500","tw-oe tw-xl tw-fn",t.inbox?"tw-ci tw-xo tw-hn":s()?"tw-pm":"tw-vk tw-kf tw-ic"])),lt(a,"data-page-id",o()),U(l,1,z(["tw-ah tw-oe tw-xl tw-fn",i()&&"tw-qm"])),tt(c,n()),U(u,1,z(["absolute top-[1px] right-[1px] tw-gt tw-go tw-jm tw-sh tw-re",i()?"block":"hidden"]))}),E(e,a),at()}var F5=V('<div class="relative tw-rs flex tw-ot"><div id="fubi-page-switcher"><!> <!></div> <div></div></div>');function P5(e,t){ot(t,!0);let n=M(void 0),r=M(!1),i=M(0),s=M(0);function o(){x(i,T(h(n).scrollLeft)),x(s,T(h(n).scrollWidth)),x(r,h(s)-h(n).clientWidth-h(i)<8)}var a=F5(),l=y(a),c=y(l);vs(c,19,()=>Tt.data,({id:w,name:g,pathname:m,expand:C})=>m,(w,g,m)=>{let C=()=>h(g).id,_=()=>h(g).name,b=()=>h(g).pathname;const v=H(()=>Tt.current.id===C());Al(w,{get name(){return _()},get pathname(){return b()},newPage:!1,inbox:!1,get active(){return h(v)},get id(){return C()},get index(){return h(m)}})});var u=$(c,2);{var p=w=>{Al(w,{get name(){return Tt.current.name},get pathname(){return Tt.current.url.pathname},newPage:!0,active:!0,inbox:!1,id:"new",index:0})};nt(u,w=>{Tt.current.new&&w(p)})}gn(l,w=>x(n,w),()=>h(n));var f=$(l,2);A(()=>{U(l,1,z(["flex tw-dt tw-dm tw-pk tw-ut tw-lh tw-lt tw-rs tw-uq relative","tw-aa tw-c tw-f tw-a tw-b",!h(r)&&""])),U(f,1,z(["absolute tw-ss w-[48px] tw-iu tw-fs tw-iw tw-lc tw-se from-neutral-950/0 to-neutral-950 tw-kd tw-zl tw-fn",h(r)&&"tw-kp"]))}),Zt("scroll",l,o),E(e,a),at()}var R5=N('<svg><path d="M5 1H12C12.5523 1 13 1.44772 13 2V14C13 14.5523 12.5523 15 12 15H5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M4.53033 4.46967C4.82322 4.76256 4.82322 5.23744 4.53033 5.53033L2.81066 7.25H9C9.41421 7.25 9.75 7.58579 9.75 8C9.75 8.41421 9.41421 8.75 9 8.75H2.81066L4.53033 10.4697C4.82322 10.7626 4.82322 11.2374 4.53033 11.5303C4.23744 11.8232 3.76256 11.8232 3.46967 11.5303L0.46967 8.53033C0.176777 8.23744 0.176777 7.76256 0.46967 7.46967L3.46967 4.46967C3.76256 4.17678 4.23744 4.17678 4.53033 4.46967Z" fill="currentColor"></path></svg>');function H5(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=R5();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var V5=V('<button><!> <span class="tw-js"> </span></button>');function D5(e,t){const n=Y(t,"name",3,"element"),r=Y(t,"icon",3,null),i=Y(t,"iconSize",3,16),s=Y(t,"size",3,"tw-xn"),o=Y(t,"style",3,""),a=q(t,["$$slots","$$events","$$legacy","name","icon","iconSize","size","style"]);var l=V5();let c;var u=y(l);Te(u,r);var p=$(u,2),f=y(p);A(()=>{c=j(l,c,{class:[`flex tw-dm tw-ni tw-qb tw-vk tw-gr tw-jk tw-jb tw-vb tw-oe tw-vl ease-in-out shadow ${o()} ${s()}`],style:`--icon-size:${i()}px;`,...a}),tt(f,n())}),E(e,l)}var j5=N('<svg><rect x="1" y="3" width="14" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="7" width="14" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="11" width="14" height="2" rx="1" fill="currentColor"></rect></svg>');function Ml(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=j5();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}function ba(e,t={enabled:!0}){let{enabled:n,eventType:r,nodeForEvent:i,options:s}=Il(t);function o(l){l.target&&e&&!e.contains(l.target)&&!l.defaultPrevented&&e.dispatchEvent(new CustomEvent("clickoutside",{detail:l}))}let a;return t.enabled!==!1&&(a=fn(i,r,o,s)),{update(l){a==null||a(),{enabled:n,eventType:r,nodeForEvent:i,options:s}=Il(l),n&&(a=fn(i,r,o,s))},destroy(){a==null||a()}}}function Il(e={}){var t;return{enabled:e.enabled??!0,nodeForEvent:((t=e.limit)==null?void 0:t.parent)??document,eventType:e.event??"click",options:typeof e.options=="boolean"?{capture:e.options}:e.options}}var q5=V("<div><!></div> <div><!></div>",1);function U5(e,t){ot(t,!0);const n=()=>{va(h(r),h(i),{placement:"bottom-end",middleware:[ga({fallbackAxisSideDirection:"start"}),wa({mainAxis:!0,crossAxis:!0,padding:8}),pa({mainAxis:4,alignmentAxis:0,crossAxis:8})]}).then(({x:O,y:F})=>{Object.assign(h(i).style,{left:`${O}px`,top:`${F}px`})})};let r=M(void 0),i=M(void 0),s=()=>{},o=Y(t,"opened",15,!1),a=Y(t,"trigger",3,null),l=Y(t,"closeOnLeave",3,!0);Y(t,"from",3,"right"),Y(t,"backdrop",3,!0);let c=q(t,["$$slots","$$events","$$legacy","opened","trigger","closeOnLeave","children","from","backdrop"]);const u=()=>{l()&&f()},p=()=>{o(!0),s=ha(h(r),h(i),()=>n())},f=()=>{o(!1),s()};zt(()=>{o()?p():f()}),ys(()=>{k.on("app-component","mouseleave",()=>o(!1)),k.on("app","closed",()=>o(!1))});var w=q5(),g=mt(w);let m;var C=y(g);Te(C,a),gn(g,O=>x(r,O),()=>h(r));var _=$(g,2),b=()=>o(!1);let v;var S=y(_);Te(S,()=>t.children),Du(_,(O,F)=>ba==null?void 0:ba(O,F),()=>({enabled:o(),options:{passive:!0}})),gn(_,O=>x(i,O),()=>h(i)),A(()=>{m=j(g,m,{...c,class:"fubi-menu-wrapper",[wn]:{opened:o()}}),v=j(_,v,{class:["fubi-menu-content bg-neutral-800/60 tw-qj tw-kk drop-shadow-xl tw-rw z-[210000002] tw-lp outline-black/10 tw-fq tw-bf","tw-nj tw-xl tw-fn tw-nf","tw-iu tw-ts fixed tw-mu min-w-[150px]",!o()&&"-translate-y-[8px] tw-kp tw-lc"],...c,onclickoutside:b,onmouseleave:u,[wn]:{opened:o()}})}),E(e,w),at()}var B5=N('<svg><path fill-rule="evenodd" clip-rule="evenodd" d="M8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15ZM8 9C8.55228 9 9 8.55228 9 8V5C9 4.44772 8.55229 4 8 4C7.44772 4 7 4.44772 7 5L7 8C7 8.55228 7.44772 9 8 9ZM8 12C8.55228 12 9 11.5523 9 11C9 10.4477 8.55228 10 8 10C7.44772 10 7 10.4477 7 11C7 11.5523 7.44771 12 8 12Z" fill="currentColor"></path></svg>');function zs(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=B5();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var N5=V('<button><div class="flex tw-dm tw-wr"><!> <p class="tw-rs tw-zp tw-fu"><!></p></div> <p class="tw-sm tw-uk tw-gr ml-auto"> </p> <span class="tw-js"> </span></button>');function Ca(e,t){const n=Y(t,"icon",3,zs),r=Y(t,"alt",3,null),i=Y(t,"shortcut",3,null),s=Y(t,"color",3,null),o=q(t,["$$slots","$$events","$$legacy","icon","alt","shortcut","color","children"]),a=n();var l=N5();let c;var u=y(l),p=y(u);a(p,{class:"tw-tr tw-gr"});var f=$(p,2),w=y(f);Te(w,()=>t.children);var g=$(u,2),m=y(g),C=$(g,2),_=y(C);A(()=>{c=j(l,c,{class:["flex tw-ys tw-ov tw-dm tw-ck gap-5 tw-pe tw-ns h-[28px] tw-ik tw-ot","tw-v disabled:cursor-not-allowed tw-ua",s()==="red"?"tw-om tw-ec":"tw-yk tw-mf tw-kf"],...o}),tt(m,i()),tt(_,r())}),E(e,l)}var z5=V('<div class="w-[calc(100%-8px)] h-px tw-ko m-1"></div>');function Z5(e){var t=z5();E(e,t)}var W5=N('<svg><path d="M33 0H31C31 17.1208 17.1208 31 0 31V33C17.1208 33 31 46.8792 31 64H33C33 46.8792 46.8792 33 64 33V31C46.8792 31 33 17.1208 33 0Z" fill="currentColor"></path></svg>');function G5(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=W5();let i;A(()=>i=j(r,i,{width:"16",height:"16",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var K5=N('<svg><path d="M5 8.5L6.64645 10.1464C6.84171 10.3417 7.15829 10.3417 7.35355 10.1464L11 6.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"></path></svg>');function Fl(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=K5();let i;A(()=>i=j(r,i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",...n},void 0,!0)),E(e,r)}var Y5=N('<svg><path d="M7 0C10.866 0 14 3.13401 14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7C2.57702e-07 3.13401 3.13401 2.57711e-07 7 0ZM7 6C6.44772 6 6 6.44772 6 7V10C6 10.5523 6.44772 11 7 11C7.55228 11 8 10.5523 8 10V7C8 6.44772 7.55228 6 7 6ZM7 3C6.44772 3 6 3.44772 6 4C6 4.55228 6.44772 5 7 5C7.55228 5 8 4.55228 8 4C8 3.44772 7.55228 3 7 3Z" fill="currentColor"></path></svg>');function Zs(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=Y5();let i;A(()=>i=j(r,i,{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var J5=V('<div><div class="fubi-state-msg-icon-wrapper tw-gr"><!></div> <p class="tw-er"><!></p></div>');function X5(e,t){const n=Y(t,"type",3,"info"),r=Y(t,"absolute",3,!1),i=Y(t,"visible",3,!1),s=Y(t,"rounded",3,"tw-vi");var o=ne(),a=mt(o);{var l=c=>{var u=J5();let p;var f=y(u),w=y(f);{var g=b=>{G5(b,{class:"tw-zw tw-hl"})},m=b=>{var v=ne(),S=mt(v);{var O=P=>{Fl(P,{class:"tw-ax"})},F=P=>{var D=ne(),K=mt(D);{var Z=J=>{zs(J,{class:"tw-ax"})},Q=J=>{Zs(J,{class:"tw-ax"})};nt(K,J=>{n()==="error"?J(Z):J(Q,!1)},!0)}E(P,D)};nt(S,P=>{n()==="success"?P(O):P(F,!1)},!0)}E(b,v)};nt(w,b=>{n()==="loading"?b(g):b(m,!1)})}var C=$(f,2),_=y(C);Te(_,()=>t.children),A(()=>{p=U(u,1,`fubi-state-msg ${s()}`,null,p,{absolute:r()}),lt(u,"data-type",n())}),Ct(3,u,()=>tn,()=>({duration:200,easing:ol})),E(c,u)};nt(a,c=>{i()&&c(l)})}E(e,o)}const Q5=()=>I.close(),t0=()=>k.emit("threads-header","minimize"),e0=()=>k.emit("threads-header","maximize");var n0=V("<!> <!> <!> <!>",1),r0=V('<div class="flex tw-iq sticky tw-iu tw-ts tw-qt tw-di rounded-t-[22px]"><!> <div class="flex tw-bt pb-0.5 tw-nv tw-at tw-dm tw-fh"><div class="flex tw-ut"><button class="bg-red-400 tw-jm tw-ht hover:opacity-80"><span class="tw-js">close</span></button> <button class="bg-amber-400 tw-jm tw-ht hover:opacity-80 tw-v disabled:bg-neutral-800"><span class="tw-js">minimize</span></button> <button class="tw-ql tw-jm tw-ht hover:opacity-80 tw-v disabled:bg-neutral-800"><span class="tw-js">maximize</span></button></div> <div class="absolute tw-ar tw-qe"><!></div> <!></div> <div class="flex"><!></div></div>');function i0(e,t){ot(t,!0);let n=M(!1);var r=r0(),i=y(r);{var s=C=>{X5(C,{type:"error",rounded:"tw-rf tw-ot",visible:!0,children:(_,b)=>{var v=ne(),S=mt(v);yr(S,()=>(I==null?void 0:I.error)||R.error),E(_,v)},$$slots:{default:!0}})};nt(i,C=>{(I!=null&&I.error||R!=null&&R.error)&&C(s)})}var o=$(i,2),a=y(o),l=y(a);l.__click=[Q5];var c=$(l,2);c.__click=[t0];var u=$(c,2);u.__click=[e0];var p=$(a,2),f=y(p);Tl(f,{class:"tw-lw"});var w=$(p,2);U5(w,{backdrop:!0,get opened(){return h(n)},set opened(_){x(n,T(_))},trigger:_=>{D5(_,{name:"Menu",style:"tw-zn tw-xe tw-rb",onclick:v=>{v.stopPropagation(),x(n,!h(n))},icon:v=>{Ml(v,{class:"tw-ax"})},$$slots:{icon:!0}})},children:(_,b)=>{var v=n0(),S=mt(v);Ca(S,{icon:Zs,shortcut:"",disabled:!0,children:(D,K)=>{var Z=Cr("Page Info");E(D,Z)},$$slots:{default:!0}});var O=$(S,2);Ca(O,{icon:M5,onclick:()=>{x(n,!1),I.close()},shortcut:"esc",children:(D,K)=>{var Z=Cr("Close");E(D,Z)},$$slots:{default:!0}});var F=$(O,2);Z5(F);var P=$(F,2);Ca(P,{icon:H5,onclick:()=>{x(n,!1),rt.logout()},color:"red",children:(D,K)=>{var Z=Cr("Logout");E(D,Z)},$$slots:{default:!0}}),E(_,v)},$$slots:{trigger:!0,default:!0}});var g=$(o,2),m=y(g);P5(m,{}),A(()=>{c.disabled=pt.width<=pt.sizes.default.w&&pt.height<=pt.sizes.default.h,u.disabled=pt.width>=pt.sizes.max.w&&pt.height>=pt.sizes.max.h}),E(e,r),at()}me(["click"]);var s0=N('<svg><path d="M8.5 1H3.5C2.94772 1 2.5 1.44772 2.5 2V14C2.5 14.5523 2.94771 15 3.5 15H12.5C13.0523 15 13.5 14.5523 13.5 14V6.00003H9.5C8.94772 6.00003 8.5 5.55232 8.5 5.00003V1V1Z" fill="currentColor"></path><path d="M13.5 5L9.5 1V5H13.5Z" fill="currentColor"></path></svg>');function Pl(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=s0();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Cn=qo(()=>Tt),o0=V(`<div class="flex tw-iq tw-vt tw-cg tw-dm tw-ni tw-fk tw-ws tw-xs tw-kk tw-ci"><p class="tw-co tw-ns tw-bg"><b>Rename</b> this Page, before its registered</p> <div class="relative tw-cv group/input"><input type="text" class="tw-aq tw-tq tw-kv tw-co tw-ag tw-wv tw-di border tw-rc tw-ja tw-ti tw-si
|
|
84
|
-
|
|
85
|
-
height: ${i?
|
|
86
|
-
`}}const[
|
|
87
|
-
transform: ${
|
|
11
|
+
transform: ${S} translate(${z*v}px,${z*b}px) scale(${O+(1-O)*w}, ${O+(1-O)*_});
|
|
12
|
+
`}}function n(a,s,l){return(c,u)=>(a.set(u.key,c),()=>{if(s.has(u.key)){const f=s.get(u.key);return s.delete(u.key),i(f,c,u)}return a.delete(u.key),r&&r(c,u,l)})}return[n(o,e,!1),n(e,o,!0)]}var bu=N('<svg><path d="M8 15C12.2342 15 16 11.866 16 8.00002C16 4.13401 12.2342 1 8 1C3.76582 1 0 4.13401 0 8.00002C0 9.76449 0.71499 11.3764 1.89486 12.6076C2.10482 12.8267 2.16632 13.1885 1.96378 13.4165C1.7305 13.6792 1.41972 13.927 1.03593 14.1805C0.79974 14.3364 0.85717 14.7429 1.12916 14.7681C2.43288 14.8885 2.99534 14.5057 3.50527 14.1587C3.64594 14.063 3.81825 14.0576 3.96808 14.1331C5.06478 14.6856 6.65884 15 8 15Z" fill="currentColor"></path></svg>');function Ol(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=bu();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var mu=M("<button><!></button>");function zl(r,t){let e=P(t,["$$slots","$$events","$$legacy","children"]);var o=mu();let i;var n=x(o);Me(n,()=>t.children),A(()=>i=D(o,i,{class:["font-bold text-white text-sm h-[32px] rounded-full px-6 transition-all duration-200 ease-spring outline-1 outline-offset-1","bg-sky-600 border-t border-t-white/20 border-b border-b-black/20 outline-sky-300/20","hover:bg-sky-500","active:bg-sky-700 active:border-b-black/0 active:border-t-white/0 active:outline-offset-0"],...e})),k(r,o)}var wu=N('<svg><path d="M14.6563 9.88196C14.6563 10.6976 14.8459 11.2625 15.2251 11.5763C15.6202 11.89 16.3235 12.0468 17.3349 12.0468C18.362 12.0468 19.0417 11.9059 19.3736 11.6236C19.6777 11.3628 19.849 10.9218 19.887 10.3008L19.8947 10.0233V3.90585H24.3514V15.7647H20.1794V12.1648H19.9423C19.8633 12.8234 19.6499 13.4429 19.3024 14.0231C18.9547 14.6035 18.4409 15.0823 17.7613 15.4588C17.0819 15.8195 16.1971 16 15.1069 16C14.0007 16 13.084 15.8036 12.3571 15.4115C11.6302 15.0194 11.0848 14.4862 10.7214 13.8118C10.3737 13.1373 10.1996 12.3684 10.1996 11.5056V3.90585H14.6563V9.88196Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M30.1426 6.96456H30.3796C30.5535 5.97643 30.9962 5.18442 31.7072 4.58837C32.4183 3.97661 33.4775 3.67057 34.884 3.67057C36.0533 3.67061 37.0408 3.92181 37.8467 4.42373C38.6684 4.91 39.2928 5.61582 39.7194 6.5413C40.1461 7.45106 40.3594 8.54909 40.3594 9.83529C40.3594 11.1058 40.1384 12.2038 39.6959 13.1293C39.2692 14.0548 38.6288 14.7682 37.7755 15.2702C36.9379 15.7564 35.9108 16 34.694 16C33.3035 16 32.237 15.7251 31.4943 15.1762C30.7516 14.6115 30.2852 13.7411 30.0956 12.5647H29.8585V15.7647H25.6865V0H30.1426V6.96456ZM33.0824 7.69375C32.0868 7.69375 31.3436 7.81936 30.8537 8.07033C30.4094 8.30563 30.1736 8.79613 30.1458 9.54134L30.1426 9.69399V9.85862L30.1477 10.0649C30.1702 10.5314 30.2711 10.9019 30.4508 11.1763C30.6721 11.4744 30.9964 11.6784 31.4231 11.7882C31.8656 11.898 32.4188 11.9528 33.0824 11.9528C33.7774 11.9528 34.3225 11.8903 34.7175 11.7649C35.1284 11.6237 35.4213 11.3961 35.5951 11.0824C35.7689 10.7687 35.8557 10.3529 35.8557 9.83529C35.8557 9.30204 35.7689 8.88624 35.5951 8.58821C35.4213 8.27449 35.1284 8.04687 34.7175 7.9057C34.3225 7.76461 33.7774 7.69376 33.0824 7.69375Z" fill="currentColor"></path><path d="M9.24512 3.15269H7.58585C6.74835 3.15269 6.20297 3.25473 5.9501 3.45862C5.83964 3.54634 5.78984 3.69551 5.79949 3.90585H9.24512V7.52912H6.06894V15.7647H1.61224V7.52912H0V3.90585H1.71011C1.82347 3.37689 2.03517 2.88261 2.34687 2.4235C2.85256 1.68625 3.60346 1.09776 4.59905 0.658545C5.59461 0.219376 6.82736 0 8.29697 0H9.24512V3.15269Z" fill="currentColor"></path><path d="M46 15.7647H41.5433V3.90585H46V15.7647Z" fill="currentColor"></path><path d="M46 2.82342H41.5433V0H46V2.82342Z" fill="currentColor"></path></svg>');function Ml(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=wu();let i;A(()=>i=D(o,i,{viewBox:"0 0 46 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var xu=M("<input>");function Rl(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=xu();let i;A(()=>i=D(o,i,{class:["h-10 px-3 focus:outline-none focus:ring-[3px] text-sm/none w-[200px] transition-all duration-200 rounded first:rounded-t-xl nth-2:rounded-b-xl nth-2:-mt-px leading-none shadow bg-neutral-900 placeholder:text-neutral-700","border border-neutral-800","hover:border-sky-400/20","focus:border-sky-400 focus:ring-sky-400/30","invalid:[&:not(:placeholder-shown)]:ring-red-500/30 invalid:[&:not(:placeholder-shown)]:ring-2 invalid:focus:[&:not(:placeholder-shown)]:border-red-500"],...e})),k(r,o)}var yu=M('<div class="flex items-center" id="fubi-auth-error"><div class="bg-red-500/20 text-red-400 text-xs items-center justify-center leading-none px-2 py-2 rounded max-w-[200px] text-center my-2"><!></div></div>'),Cu=()=>$.disable(),ku=M('<form class="flex flex-col gap-2 items-center mt-2"><div class="flex flex-col gap-1"><!> <!></div> <!> <a href="/" class=" text-neutral-600 self-center mt-2 hover:text-neutral-400 text-xs">Back to Website</a></form>'),_u=M('<div id="fubi-page-login" class="translate-x-0 translate-y-full absolute top-1 left-1 bg-neutral-950 z-[12] rounded-t-[12px] flex flex-col items-center h-full justify-center gap-0 border border-neutral-800/30 w-[calc(100%-8px)] [.login-opened_&]:translate-y-0"><!> <p class="text-sm text-neutral-700 mb-2">Simplest way to Feedback</p> <!> <!></div>');function Eu(r,t){st(t,!1);async function e(c){c.preventDefault();const{email:u,password:f}=c.target;await ot.login(u.value,f.value)}Re();var o=_u(),i=x(o);Ml(i,{class:"h-[24px]"});var n=U(i,4);{var a=c=>{var u=yu(),f=x(u),d=x(f);Xr(d,()=>ot.error||$.error),ut(3,f,()=>Xt),ut(3,u,()=>Or),k(c,u)};rt(n,c=>{(ot.error||$.error)&&c(a)})}var s=U(n,2);{var l=c=>{var u=ku(),f=x(u),d=x(f);Rl(d,{type:"email",name:"email",required:!0,placeholder:"E-mail",autocomplete:"email"});var h=U(d,2);Rl(h,{type:"password",name:"password",required:!0,placeholder:"Password",autocomplete:"current-password"});var v=U(f,2);zl(v,{get disabled(){return ot.loading},children:(w,_)=>{var y=Jr();A(()=>et(y,ot.loading?"Loading...":"Login")),k(w,y)},$$slots:{default:!0}});var b=U(v,2);b.__click=[Cu],Vt("submit",u,w=>e(w)),k(c,u)};rt(s,c=>{$.error||c(l)})}k(r,o),lt()}pe(["click"]);var Su=N('<svg><path d="M3 13L13 3M3 3L13 13" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Lu(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Su();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Uu=M("<a><p> </p> <div></div></a>");function Dl(r,t){st(t,!0);let e=K(t,"name",3,"Page"),o=K(t,"pathname",3,"/"),i=K(t,"newPage",3,!1),n=K(t,"active",3,!1),a=K(t,"id",3,null);Qr(()=>{(Lt.current.id===a()||a()==="new")&&Lt.handleCurrentLink(a())});var s=Uu(),l=x(s),c=x(l),u=U(l,2);A(()=>{it(s,"href",o()),V(s,1,Z(["h-[26px] px-2 rounded-[8px] flex items-center justify-center gap-1 cursor-pointer! text-xs shrink-0 snap-start relative group font-medium",n()&&"bg-sky-500/20 pointer-events-none relative border-t border-t-sky-500/10 outline-0 outline-offset-1 outline-sky-500","transition-colors duration-300 ease-spring",t.inbox?"bg-neutral-900 text-white font-medium":n()?"text-sky-300":"text-white/30 hover:bg-white/5 hover:text-white/50"])),it(s,"data-page-id",a()),V(l,1,Z(["cursor-pointer! transition-colors duration-300 ease-spring",i()&&"text-sky-500"])),et(c,e()),V(u,1,Z(["absolute top-[1px] right-[1px] size-2 bg-sky-500 rounded-full translate-x-1/2 -translate-y-1/2",i()?"block":"hidden"]))}),k(r,s),lt()}var Fu=M('<div class="relative flex-1 flex w-full"><div id="fubi-page-switcher"><!> <!></div> <div></div></div>');function Au(r,t){st(t,!0);let e=T(void 0),o=T(!1),i=T(0),n=T(0);function a(){E(i,I(p(e).scrollLeft)),E(n,I(p(e).scrollWidth)),E(o,p(n)-p(e).clientWidth-p(i)<8)}var s=Fu(),l=x(s),c=x(l);Vi(c,19,()=>Lt.data,({id:h,name:v,pathname:b,expand:w})=>b,(h,v,b)=>{let w=()=>p(v).id,_=()=>p(v).name,y=()=>p(v).pathname;const m=j(()=>Lt.current.id===w());Dl(h,{get name(){return _()},get pathname(){return y()},newPage:!1,inbox:!1,get active(){return p(m)},get id(){return w()},get index(){return p(b)}})});var u=U(c,2);{var f=h=>{Dl(h,{get name(){return Lt.current.name},get pathname(){return Lt.current.url.pathname},newPage:!0,active:!0,inbox:!1,id:"new",index:0})};rt(u,h=>{Lt.current.new&&h(f)})}Qe(l,h=>E(e,h),()=>p(e));var d=U(l,2);A(()=>{V(l,1,Z(["flex px-1.5 items-center scroll-px-1.5 gap-1 overflow-x-auto snap-x flex-1 h-[34px] relative","[&::-webkit-scrollbar]:h-1 hover:[&::-webkit-scrollbar-thumb]:bg-white/20 [&::-webkit-scrollbar-thumb]:border-x-6 [&::-webkit-scrollbar-thumb]:border-neutral-950 [&::-webkit-scrollbar-thumb:hover]:bg-white/30",!p(o)&&""])),V(d,1,Z(["absolute h-full w-[48px] top-0 right-0 z-10 pointer-events-none bg-gradient-to-r from-neutral-950/0 to-neutral-950 transition-opacity duration-500 ease-spring",p(o)&&"opacity-0"]))}),Vt("scroll",l,a),k(r,s),lt()}var $u=N('<svg><path d="M5 1H12C12.5523 1 13 1.44772 13 2V14C13 14.5523 12.5523 15 12 15H5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path><path d="M4.53033 4.46967C4.82322 4.76256 4.82322 5.23744 4.53033 5.53033L2.81066 7.25H9C9.41421 7.25 9.75 7.58579 9.75 8C9.75 8.41421 9.41421 8.75 9 8.75H2.81066L4.53033 10.4697C4.82322 10.7626 4.82322 11.2374 4.53033 11.5303C4.23744 11.8232 3.76256 11.8232 3.46967 11.5303L0.46967 8.53033C0.176777 8.23744 0.176777 7.76256 0.46967 7.46967L3.46967 4.46967C3.76256 4.17678 4.23744 4.17678 4.53033 4.46967Z" fill="currentColor"></path></svg>');function Iu(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=$u();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Tu=M('<button><!> <span class="sr-only"> </span></button>');function Ou(r,t){const e=K(t,"name",3,"element"),o=K(t,"icon",3,null),i=K(t,"iconSize",3,16),n=K(t,"size",3,"size-[24px]"),a=K(t,"style",3,""),s=P(t,["$$slots","$$events","$$legacy","name","icon","iconSize","size","style"]);var l=Tu();let c;var u=x(l);Me(u,o);var f=U(u,2),d=x(f);A(()=>{c=D(l,c,{class:[`flex items-center justify-center hover:bg-neutral-800 text-white/30 shrink-0 rounded-[6px] active:bg-sky-500/20 active:text-sky-500 transition-colors duration-150 ease-in-out shadow ${a()} ${n()}`],style:`--icon-size:${i()}px;`,...s}),et(d,e())}),k(r,l)}var zu=N('<svg><rect x="1" y="3" width="14" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="7" width="14" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="11" width="14" height="2" rx="1" fill="currentColor"></rect></svg>');function Pl(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=zu();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}function Sa(r,t={enabled:!0}){let{enabled:e,eventType:o,nodeForEvent:i,options:n}=Hl(t);function a(l){l.target&&r&&!r.contains(l.target)&&!l.defaultPrevented&&r.dispatchEvent(new CustomEvent("clickoutside",{detail:l}))}let s;return t.enabled!==!1&&(s=Pi(i,o,a,n)),{update(l){s==null||s(),{enabled:e,eventType:o,nodeForEvent:i,options:n}=Hl(l),e&&(s=Pi(i,o,a,n))},destroy(){s==null||s()}}}function Hl(r={}){var t;return{enabled:r.enabled??!0,nodeForEvent:((t=r.limit)==null?void 0:t.parent)??document,eventType:r.event??"click",options:typeof r.options=="boolean"?{capture:r.options}:r.options}}var Mu=M("<div><!></div> <div><!></div>",1);function Ru(r,t){st(t,!0);const e=()=>{Ll(p(o),p(i),{placement:"bottom-end",middleware:[Sl({fallbackAxisSideDirection:"start"}),El({mainAxis:!0,crossAxis:!0,padding:8}),_l({mainAxis:4,alignmentAxis:0,crossAxis:8})]}).then(({x:L,y:O})=>{Object.assign(p(i).style,{left:`${L}px`,top:`${O}px`})})};let o=T(void 0),i=T(void 0),n=()=>{},a=K(t,"opened",15,!1),s=K(t,"trigger",3,null),l=K(t,"closeOnLeave",3,!0);K(t,"from",3,"right"),K(t,"backdrop",3,!0);let c=P(t,["$$slots","$$events","$$legacy","opened","trigger","closeOnLeave","children","from","backdrop"]);const u=()=>{l()&&d()},f=()=>{a(!0),n=kl(p(o),p(i),()=>e())},d=()=>{a(!1),n()};kr(()=>{a()?f():d()}),Qr(()=>{C.on("app-component","mouseleave",()=>a(!1)),C.on("app","closed",()=>a(!1))});var h=Mu(),v=wt(h);let b;var w=x(v);Me(w,s),Qe(v,L=>E(o,L),()=>p(o));var _=U(v,2),y=()=>a(!1);let m;var S=x(_);Me(S,()=>t.children),z1(_,(L,O)=>Sa==null?void 0:Sa(L,O),()=>({enabled:a(),options:{passive:!0}})),Qe(_,L=>E(i,L),()=>p(i)),A(()=>{b=D(v,b,{...c,class:"fubi-menu-wrapper",[Xe]:{opened:a()}}),m=D(_,m,{class:["fubi-menu-content bg-neutral-800/60 backdrop-blur rounded-[8px] drop-shadow-xl p-1 z-[210000002] outline-1 outline-black/10 border-t border-t-white/5","transition-all duration-300 ease-spring origin-top-right","top-0 left-0 fixed w-max min-w-[150px]",!a()&&"-translate-y-[8px] opacity-0 pointer-events-none"],...c,onclickoutside:y,onmouseleave:u,[Xe]:{opened:a()}})}),k(r,h),lt()}var Du=N('<svg><path fill-rule="evenodd" clip-rule="evenodd" d="M8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15ZM8 9C8.55228 9 9 8.55228 9 8V5C9 4.44772 8.55229 4 8 4C7.44772 4 7 4.44772 7 5L7 8C7 8.55228 7.44772 9 8 9ZM8 12C8.55228 12 9 11.5523 9 11C9 10.4477 8.55228 10 8 10C7.44772 10 7 10.4477 7 11C7 11.5523 7.44771 12 8 12Z" fill="currentColor"></path></svg>');function mn(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Du();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Pu=M('<button><div class="flex items-center gap-1.5"><!> <p class="flex-1 text-left pt-px"><!></p></div> <p class="text-xs/none text-white/20 shrink-0 ml-auto"> </p> <span class="sr-only"> </span></button>');function La(r,t){const e=K(t,"icon",3,mn),o=K(t,"alt",3,null),i=K(t,"shortcut",3,null),n=K(t,"color",3,null),a=P(t,["$$slots","$$events","$$legacy","icon","alt","shortcut","color","children"]),s=e();var l=Pu();let c;var u=x(l),f=x(u);s(f,{class:"w-[13px] shrink-0"});var d=U(f,2),h=x(d);Me(h,()=>t.children);var v=U(u,2),b=x(v),w=U(v,2),_=x(w);A(()=>{c=D(l,c,{class:["flex pl-1.5 pr-2 items-center justify-start gap-5 whitespace-nowrap text-xs h-[28px] rounded-[4px] w-full","disabled:pointer-events-none disabled:cursor-not-allowed disabled:text-white/10",n()==="red"?"text-red-500 hover:bg-red-500/10":"text-white/60 hover:text-white hover:bg-white/5"],...a}),et(b,i()),et(_,o())}),k(r,l)}var Hu=M('<div class="w-[calc(100%-8px)] h-px bg-white/5 m-1"></div>');function Vu(r){var t=Hu();k(r,t)}var Bu=N('<svg><path d="M33 0H31C31 17.1208 17.1208 31 0 31V33C17.1208 33 31 46.8792 31 64H33C33 46.8792 46.8792 33 64 33V31C46.8792 31 33 17.1208 33 0Z" fill="currentColor"></path></svg>');function ju(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Bu();let i;A(()=>i=D(o,i,{width:"16",height:"16",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Nu=N('<svg><path d="M5 8.5L6.64645 10.1464C6.84171 10.3417 7.15829 10.3417 7.35355 10.1464L11 6.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"></path></svg>');function Vl(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Nu();let i;A(()=>i=D(o,i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",...e},void 0,!0)),k(r,o)}var Zu=N('<svg><path d="M7 0C10.866 0 14 3.13401 14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7C2.57702e-07 3.13401 3.13401 2.57711e-07 7 0ZM7 6C6.44772 6 6 6.44772 6 7V10C6 10.5523 6.44772 11 7 11C7.55228 11 8 10.5523 8 10V7C8 6.44772 7.55228 6 7 6ZM7 3C6.44772 3 6 3.44772 6 4C6 4.55228 6.44772 5 7 5C7.55228 5 8 4.55228 8 4C8 3.44772 7.55228 3 7 3Z" fill="currentColor"></path></svg>');function wn(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Zu();let i;A(()=>i=D(o,i,{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var qu=M('<div><div class="fubi-state-msg-icon-wrapper shrink-0"><!></div> <p class="pt-[3px]"><!></p></div>');function Wu(r,t){const e=K(t,"type",3,"info"),o=K(t,"absolute",3,!1),i=K(t,"visible",3,!1),n=K(t,"rounded",3,"rounded-[15px]");var a=Yt(),s=wt(a);{var l=c=>{var u=qu();let f;var d=x(u),h=x(d);{var v=y=>{ju(y,{class:"w-3 animate-spin"})},b=y=>{var m=Yt(),S=wt(m);{var L=z=>{Vl(z,{class:"w-4"})},O=z=>{var H=Yt(),J=wt(H);{var X=G=>{mn(G,{class:"w-4"})},Q=G=>{wn(G,{class:"w-4"})};rt(J,G=>{e()==="error"?G(X):G(Q,!1)},!0)}k(z,H)};rt(S,z=>{e()==="success"?z(L):z(O,!1)},!0)}k(y,m)};rt(h,y=>{e()==="loading"?y(v):y(b,!1)})}var w=U(d,2),_=x(w);Me(_,()=>t.children),A(()=>{f=V(u,1,`fubi-state-msg ${n()}`,null,f,{absolute:o()}),it(u,"data-type",e())}),ut(3,u,()=>Xt,()=>({duration:200,easing:nl})),k(c,u)};rt(s,c=>{i()&&c(l)})}k(r,a)}const Gu=()=>$.close(),Ku=()=>C.emit("threads-header","minimize"),Yu=()=>C.emit("threads-header","maximize");var Ju=M("<!> <!> <!> <!>",1),Xu=M('<div class="flex flex-col sticky top-0 left-0 z-[11] bg-neutral-950 rounded-t-[22px]"><!> <div class="flex pt-1.5 pb-0.5 pl-3 pr-1.5 items-center justify-between"><div class="flex gap-1"><button class="bg-red-400 rounded-full size-3 hover:opacity-80"><span class="sr-only">close</span></button> <button class="bg-amber-400 rounded-full size-3 hover:opacity-80 disabled:pointer-events-none disabled:bg-neutral-800"><span class="sr-only">minimize</span></button> <button class="bg-green-500 rounded-full size-3 hover:opacity-80 disabled:pointer-events-none disabled:bg-neutral-800"><span class="sr-only">maximize</span></button></div> <div class="absolute left-1/2 -translate-x-1/2"><!></div> <!></div> <div class="flex"><!></div></div>');function Qu(r,t){st(t,!0);let e=T(!1);var o=Xu(),i=x(o);{var n=w=>{Wu(w,{type:"error",rounded:"rounded-t-[12px] w-full",visible:!0,children:(_,y)=>{var m=Yt(),S=wt(m);Xr(S,()=>($==null?void 0:$.error)||R.error),k(_,m)},$$slots:{default:!0}})};rt(i,w=>{($!=null&&$.error||R!=null&&R.error)&&w(n)})}var a=U(i,2),s=x(a),l=x(s);l.__click=[Gu];var c=U(l,2);c.__click=[Ku];var u=U(c,2);u.__click=[Yu];var f=U(s,2),d=x(f);Ml(d,{class:"h-4"});var h=U(f,2);Ru(h,{backdrop:!0,get opened(){return p(e)},set opened(_){E(e,I(_))},trigger:_=>{Ou(_,{name:"Menu",style:"size-[28px] bg-neutral-900/0 hover:bg-neutral-900",onclick:m=>{m.stopPropagation(),E(e,!p(e))},icon:m=>{Pl(m,{class:"w-4"})},$$slots:{icon:!0}})},children:(_,y)=>{var m=Ju(),S=wt(m);La(S,{icon:wn,shortcut:"",disabled:!0,children:(H,J)=>{var X=Jr("Page Info");k(H,X)},$$slots:{default:!0}});var L=U(S,2);La(L,{icon:Lu,onclick:()=>{E(e,!1),$.close()},shortcut:"esc",children:(H,J)=>{var X=Jr("Close");k(H,X)},$$slots:{default:!0}});var O=U(L,2);Vu(O);var z=U(O,2);La(z,{icon:Iu,onclick:()=>{E(e,!1),ot.logout()},color:"red",children:(H,J)=>{var X=Jr("Logout");k(H,X)},$$slots:{default:!0}}),k(_,m)},$$slots:{trigger:!0,default:!0}});var v=U(a,2),b=x(v);Au(b,{}),A(()=>{c.disabled=ft.width<=ft.sizes.default.w&&ft.height<=ft.sizes.default.h,u.disabled=ft.width>=ft.sizes.max.w&&ft.height>=ft.sizes.max.h}),k(r,o),lt()}pe(["click"]);var tf=N('<svg><path d="M8.5 1H3.5C2.94772 1 2.5 1.44772 2.5 2V14C2.5 14.5523 2.94771 15 3.5 15H12.5C13.0523 15 13.5 14.5523 13.5 14V6.00003H9.5C8.94772 6.00003 8.5 5.55232 8.5 5.00003V1V1Z" fill="currentColor"></path><path d="M13.5 5L9.5 1V5H13.5Z" fill="currentColor"></path></svg>');function Bl(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=tf();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var sr=ra(()=>Lt),ef=M(`<div class="flex flex-col gap-2 text-neutral-700 items-center justify-center min-h-[160px] mx-1.5 my-0.5 rounded-[8px] bg-neutral-900"><p class="text-center text-xs text-neutral-600"><b>Rename</b> this Page, before its registered</p> <div class="relative mt-0 group/input"><input type="text" class="w-[240px] h-[32px] pb-0 text-center text-neutral-500 px-2 bg-neutral-950 border border-neutral-900 hover:border-neutral-800 rounded-[10px] ring-sky-500/0
|
|
13
|
+
focus:outline-none focus:border-neutral-500 transition-colors duration-150 ease-in-out focus:text-neutral-300"> <div class="h-[30px] absolute left-px top-px rounded-l-[10px] w-[32px] bg-gradient-to-r from-neutral-950 from-30% flex items-center pl-1.5"><!></div></div> <!></div>`);function rf(r,t){st(t,!1),Re();var e=Yt(),o=wt(e);{var i=n=>{var a=ef(),s=U(x(a),2),l=x(s),c=U(l,2),u=x(c);Bl(u,{class:"size-4 text-neutral-500"});var f=U(s,2);zl(f,{onclick:async()=>sr().registerCurrent(),children:(d,h)=>{var v=Jr("Save");k(d,v)},$$slots:{default:!0}}),Vt("blur",l,d=>{!sr().current.name&&sr().getCurrentName()}),j1(l,()=>sr().current.name,d=>sr(sr().current.name=d)),ut(3,a,()=>bn,()=>({y:30,opacity:0,duration:500,easing:rr})),k(n,a)};rt(o,n=>{sr().current.new&&n(i)})}k(r,e),lt()}function of(r,{from:t,to:e},o={}){var{delay:i=0,duration:n=O=>Math.sqrt(O)*120,easing:a=ro}=o,s=getComputedStyle(r),l=s.transform==="none"?"":s.transform,[c,u]=s.transformOrigin.split(" ").map(parseFloat);c/=r.clientWidth,u/=r.clientHeight;var f=nf(r),d=r.clientWidth/e.width/f,h=r.clientHeight/e.height/f,v=t.left+t.width*c,b=t.top+t.height*u,w=e.left+e.width*c,_=e.top+e.height*u,y=(v-w)*d,m=(b-_)*h,S=t.width/e.width,L=t.height/e.height;return{delay:i,duration:typeof n=="function"?n(Math.sqrt(y*y+m*m)):n,easing:a,css:(O,z)=>{var H=z*y,J=z*m,X=O+z*S,Q=O+z*L;return`transform: ${l} translate(${H}px, ${J}px) scale(${X}, ${Q});`}}}function nf(r){if("currentCSSZoom"in r)return r.currentCSSZoom;for(var t=r,e=1;t!==null;)e*=+getComputedStyle(t).zoom,t=t.parentElement;return e}function af(r,{duration:t=600,delay:e=0,easing:o=ro,enabled:i=!0}){const n=r.offsetHeight;return{delay:e,duration:t,easing:o,css:a=>`
|
|
14
|
+
height: ${i?a*n:n}px;
|
|
15
|
+
`}}const[sf,lf]=vu({duration:r=>Math.sqrt(r*200),fallback(r,t){const e=getComputedStyle(r),o=e.transform==="none"?"":e.transform;return{duration:600,easing:_d,css:i=>`
|
|
16
|
+
transform: ${o} scale(${i});
|
|
88
17
|
opacity: ${i}
|
|
89
|
-
`}}});var h0=V('<img class="tw-jt tw-jm block absolute tw-yr relative tw-ih tw-jc">'),p0=V('<div class="tw-jt tw-lb flex tw-dm tw-ni tw-jm tw-ih tw-jc"><p class="tw-xo uppercase tw-oh"> </p></div>'),w0=V('<div class="hidden tw-ia tw-ga tw-fg tw-xl tw-fn tw-gt tw-fo tw-jm absolute tw-bq tw-eo tw-ih tw-jc"></div>'),g0=V('<div role="presentation"><!> <!></div>'),v0=V('<span class="absolute tw-pe "><!></span>'),m0=V('<div class="flex tw-wr"><div class="relative flex group/users [&:has(>.avatar:hover)>.avatar]:scale-50"></div> <p><!></p></div>');function b0(e,t){ot(t,!0);let n=Y(t,"users",19,()=>[]),r=M(null);const i=(w,g)=>{var m;return g?`${(m=I==null?void 0:I.config)==null?void 0:m.backend}/api/files/users/${w}/${g}`:null},s=(w,g)=>!w&&!g?"":`${(w==null?void 0:w.charAt(0))||""}${(g==null?void 0:g.charAt(0))||""}`,o=w=>{x(r,T(w))},a=()=>x(r,null);let l=H(()=>{if(h(r))return h(r);const w=n().map(g=>g.id===rt.user.id?"You":g.first_name);return n().length===1?w[0]:n().length===2?`${w[0]} <span class="tw-ro tw-hn">&</span> ${w[1]}`:`${w[0]} <span class="tw-ro tw-hn">&</span> ${n().length-1} others`});var c=m0(),u=y(c);vs(u,23,n,({id:w,avatar:g,first_name:m,last_name:C,color:_})=>w,(w,g,m)=>{let C=()=>h(g).id,_=()=>h(g).avatar,b=()=>h(g).first_name,v=()=>h(g).last_name,S=()=>h(g).color;var O=g0();U(O,1,z(["avatar group/wrapper relative tw-fu flex tw-dm tw-ni tw-st tw-oo tw-mw tw-gr tw-ds tw-lf tw-tb tw-xl tw-fn","tw-bm tw-ig"]));var F=y(O);{var P=Q=>{var J=h0();A(Ot=>{lt(J,"src",Ot),lt(J,"alt",b())},[()=>i(C(),_())]),E(Q,J)},D=Q=>{var J=p0(),Ot=y(J),ct=y(Ot);A(gt=>tt(ct,gt),[()=>s(b(),v())]),E(Q,J)};nt(F,Q=>{_()?Q(P):Q(D,!1)})}var K=$(F,2);{var Z=Q=>{var J=w0();Ct(3,J,()=>tn),E(Q,J)};nt(K,Q=>{t.unread&&Q(Z)})}A(()=>lt(O,"style",`--bg-color: ${S()||"#00A6F5"}; --index: ${n().length+1-h(m)};`)),Zt("mouseenter",O,()=>o(`${b()} ${v()}`)),Ct(3,O,()=>tn,()=>({duration:500,easing:Is})),E(w,O)});var p=$(u,2),f=y(p);Po(f,()=>h(l),w=>{var g=v0(),m=y(g);yr(m,()=>h(l)),Ct(1,g,()=>Ns,()=>({y:-20})),Ct(2,g,()=>Ns,()=>({y:20})),E(w,g)}),A(()=>U(p,1,z(["tw-bo relative",t.unread?"tw-xo tw-hn":"tw-al"]))),Zt("mouseleave",u,a),E(e,c),at()}var C0=N('<svg><circle cx="8" cy="1" r="1" fill="currentColor"></circle><circle cx="8" cy="15" r="1" fill="currentColor"></circle><circle cx="15" cy="8" r="1" fill="currentColor"></circle><circle cx="1" cy="8" r="1" fill="currentColor"></circle><circle cx="3.05044" cy="3.05029" r="1" fill="currentColor"></circle><circle cx="12.9499" cy="12.9497" r="1" fill="currentColor"></circle><circle cx="12.9499" cy="3.05029" r="1" fill="currentColor"></circle><circle cx="3.05044" cy="12.9497" r="1" fill="currentColor"></circle></svg>');function y0(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=C0();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}const _0=(e,t,n)=>{var r;x(t,!0),R.setStatus(n.comment,((r=n.comment)==null?void 0:r.status)==="done"?"todo":"done"),x(t,!1)};var x0=V("<!> <div></div>",1),k0=V("<button><!></button>");function E0(e,t){ot(t,!0);let n=M(!1);var r=k0();r.__click=[_0,n,t];var i=y(r);{var s=a=>{y0(a,{class:"tw-it tw-gj tw-hl"})},o=a=>{var l=x0(),c=mt(l);const u=H(()=>{var f;return["tw-iw relative tw-kd tw-wl tw-fn",((f=t.comment)==null?void 0:f.status)==="done"?"tw-jj tw-it":"tw-kp tw-t tw-k tw-it"]});Fl(c,{get class(){return h(u)}});var p=$(c,2);A(()=>{var f;return U(p,1,z(["tw-it tw-jm absolute tw-iu tw-ts","tw-nj tw-wl tw-fn",((f=t.comment)==null?void 0:f.status)==="done"?"tw-ql tw-l":"tw-ko tw-xk border-1 tw-ug group-hover/check:border-white/20 tw-h"]))}),E(a,l)};nt(i,a=>{h(n)?a(s):a(o,!1)})}A(()=>{var a,l;r.disabled=h(n),U(r,1,z(["tw-it tw-gr relative flex tw-bb group/check tw-oe tw-wl tw-fn tw-dm tw-ni",h(n)?"tw-lc":t.visible?"tw-rn":"tw-kp tw-w fubi-show-cursor",((a=t.comment)==null?void 0:a.status)==="done"?"tw-ij":"tw-wk tw-ab"])),lt(r,"data-cursor-text",((l=t.comment)==null?void 0:l.status)==="done"?"Mark as Not done":"Mark as Done")}),E(e,r),at()}me(["click"]);function S0(e){return Object.fromEntries(Object.keys(e).map(t=>[t,()=>e[t]]))}function en(e){return e instanceof HTMLElement}function Ws(e){return typeof e=="function"}function L0(e){return Ws(e)&&e.length===0}function xe(e,t){if(L0(e)){const r=e();return r===void 0?t:r}return e===void 0?t:e}const O0=typeof window<"u"?window:void 0;function $0(e){let t=e.activeElement;for(;t!=null&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}class T0{constructor(t={}){L(this,rr);L(this,Bi);const{window:n=O0,document:r=n==null?void 0:n.document}=t;n!==void 0&&(ht(this,rr,r),ht(this,Bi,E2(i=>{const s=fn(n,"focusin",i),o=fn(n,"focusout",i);return()=>{s(),o()}})))}get current(){var t;return(t=d(this,Bi))==null||t.call(this),d(this,rr)?$0(d(this,rr)):null}}rr=new WeakMap,Bi=new WeakMap,new T0;function A0(e){return typeof e=="function"}function Rl(e,t){if(A0(e)){const n=e;return n()??t??n()}return e??t??e}function M0(e,t){switch(e){case"post":zt(t);break;case"pre":a1(t);break}}function Hl(e,t,n,r={}){const{lazy:i=!1}=r;let s=!i,o=Array.isArray(e)?[]:void 0;M0(t,()=>{const a=Array.isArray(e)?e.map(c=>c()):e();if(!s){s=!0,o=a;return}const l=ee(()=>n(a,o));return o=a,l})}function Vl(e,t,n){Hl(e,"post",t,n)}function I0(e,t,n){Hl(e,"pre",t,n)}Vl.pre=I0;function Dl(e,t,n,r){zt(()=>{const i=Rl(e),s=Rl(t);if(i!=null)if(Array.isArray(s))for(const o of s)zt(()=>fn(i,o,n,r));else return fn(i,s,n,r)})}var jl=Object.prototype.hasOwnProperty;function ql(e,t,n){for(n of e.keys())if($r(n,t))return n}function $r(e,t){var n,r,i;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&$r(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(i=r,i&&typeof i=="object"&&(i=ql(t,i),!i)||!t.has(i))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(i=r[0],i&&typeof i=="object"&&(i=ql(t,i),!i)||!$r(r[1],t.get(i)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(jl.call(e,n)&&++r&&!jl.call(t,n)||!(n in t)||!$r(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function ya(e){return e===!0?"":e===!1?void 0:e}function F0(e){return Object.entries(e).map(([t,n])=>`${t}: ${n};`).join(" ")}const P0="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let R0=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=P0[n[e]&63];return t};function H0(e){return Object.keys(e)}function yn(e,t){return t.reduce((n,r)=>(n[r]=`data-melt-${e}-${r}`,n),{})}function V0(e){const t=R0();return Object.keys(e).reduce((n,r)=>(n[r]=`${r}-${t}`,n),{})}function ue(e,t){const n=yn(e,t),r=H0(n).reduce((i,s)=>(i[s]=`[${n[s]}]`,i),{});return{dataAttrs:n,dataSelectors:r,createIds:()=>V0(n)}}ue("accordion",["root","item","trigger","heading","content"]),yn("avatar",["image","fallback"]);class D0{constructor({value:t,onChange:n,...r}){L(this,$n,M());L(this,Tn);L(this,ir);L(this,sr);ht(this,Tn,t),ht(this,ir,n),ht(this,sr,"defaultValue"in r?r==null?void 0:r.defaultValue:void 0),d(this,$n).v=T(xe(t,d(this,sr)))}get current(){return Ws(d(this,Tn))?d(this,Tn).call(this)??d(this,sr)??h(d(this,$n)):h(d(this,$n))}set current(t){var n,r;if(this.current!==t){if(Ws(d(this,Tn))){(n=d(this,ir))==null||n.call(this,t);return}x(d(this,$n),T(t)),(r=d(this,ir))==null||r.call(this,t)}}}$n=new WeakMap,Tn=new WeakMap,ir=new WeakMap,sr=new WeakMap,ue("collapsible",["trigger","content"]);function _a(e,t,n,r){const i=Array.isArray(t)?t:[t];for(const s of i)e.addEventListener(s,n,r);return()=>{for(const s of i)e.removeEventListener(s,n,r)}}function xa(e){try{e.hidePopover()}catch{}}function Gs(e){try{e.showPopover()}catch{}}function j0(e){return e instanceof HTMLDialogElement?e.open:e.matches(":popover-open")}function q0({el:e}){const t=[],n=en(e.parentNode)?e.parentNode.closest("dialog, [popover]"):void 0;if(!en(n)){Gs(e);return}return Oo().then(()=>{j0(n)&&Gs(e),n instanceof HTMLDialogElement?t.push(_a(n,"close",()=>{xa(e)}),_a(n,"open",()=>{Gs(e)})):t.push(_a(n,"toggle",async r=>{await new Promise(s=>setTimeout(s)),r.newState==="open"?Gs(e):xa(e)}))}),()=>{t.forEach(r=>r())}}function Ul(e){return e!==null&&typeof e=="object"&&Object.getPrototypeOf(e)===Object.prototype}function ka(e,t){const n={...e};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=t[r],s=n[r];if(Array.isArray(i)){n[r]=Array.isArray(s)?[...s,...i]:[...i];continue}if(Ul(i)){n[r]=Object.prototype.hasOwnProperty.call(n,r)&&Ul(n[r])?ka(n[r],i):ka({},i);continue}n[r]=i}return n}const U0={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function B0(e){const t=H(()=>xe(e.node)),n=H(()=>xe(e.floating)),r=H(()=>xe(e.config,{}));let i=M(void 0);const s=()=>{const o=h(n).querySelector("[data-arrow]"),a=en(o)?o.offsetHeight/2:0,l=en(o)?c5({element:o,...h(r).arrow}):void 0,c={middleware:[wa(h(r).shift),ga(h(r).flip),l,pa(typeof h(r).offset=="number"?h(r).offset:{mainAxis:8+a,...h(r).offset}),h(r).sameWidth?l5({apply({rects:u,elements:p}){var f;Object.assign(((f=p.floating)==null?void 0:f.style)??{},{width:`${u.reference.width}px`,minWidth:`${u.reference.width}px`})}}):void 0]};va(h(t),h(n),ka(c,h(r).computePosition??{})).then(u=>{x(i,T(u));const{x:p,y:f,placement:w,middlewareData:g,strategy:m}=u,C=(b=h(n))=>{const v={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"center center","left-start":"top left","left-end":"bottom left",right:"center center","right-start":"top right","right-end":"bottom right"};Object.assign(b.style,{position:m,left:`${p}px`,top:`${f}px`});const[S,O="center"]=w.split("-");b.style.transformOrigin=v[w],b.dataset.side=S,b.dataset.align=O},_=(b=void 0)=>{const v=b??o;if(!en(v)||!g.arrow)return;const{x:S,y:O}=g.arrow,F=w.split("-")[0];Object.assign(v.style,{position:"absolute",left:S?`${S}px`:"",top:O?`${O}px`:"",[F]:`calc(100% - ${a}px)`,transform:U0[F],backgroundColor:"inherit",zIndex:"inherit"}),v.dataset.side=F};Ws(h(r).onCompute)?h(r).onCompute({...u,arrowApply:_,floatingApply:C}):h(r).onCompute===void 0&&(C(),_())})};return zt(()=>ha(h(t),h(n),s)),{get data(){return h(i)}}}ue("popover",["trigger","content","arrow"]),ue("combobox",["input","trigger","content","option"]),ue("fileupload",["dropzone","input"]),yn("pin-input",["root","input"]),yn("progress",["root","progress"]),ue("radio-group",["root","item","label","hidden-input"]),ue("select",["trigger","content","option"]),ue("slider",["root","thumb"]),yn("tabs",["trigger","content","trigger-list"]),yn("toggle",["trigger","hidden-input"]),ue("toaster",["root"]),ue("toaster-toast",["content","title","description","close"]);function N0(e){const t=[...e].sort(Z0);return z0(t)}function z0(e){if(e.length<=1)return[...e];const t=[];for(const r of e){for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if(!i||!s||(i.x-s.x)*(r.y-s.y)-(i.y-s.y)*(r.x-s.x)<0)break;t.pop()}t.push(r)}t.length>0&&t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];if(i){for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if(!s||!o||(s.x-o.x)*(i.y-o.y)-(s.y-o.y)*(i.x-o.x)<0)break;n.pop()}n.push(i)}}if(n.length>0&&n.pop(),t.length===1&&n.length===1){const r=t[0],i=n[0];if(r&&i&&r.x===i.x&&r.y===i.y)return t}return[...t,...n]}function Z0(e,t){return e.x!==t.x?e.x<t.x?-1:1:e.y!==t.y?e.y<t.y?-1:1:0}function Bl(e){const t=e.getBoundingClientRect();return[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.right,y:t.bottom},{x:t.left,y:t.bottom}]}function W0(e,t){let n=!1;for(let r=0,i=t.length-1;r<t.length;i=r++){const s=t[r],o=t[i];if(!s||!o)continue;const a=s.x,l=s.y,c=o.x,u=o.y;l>e.y!=u>e.y&&e.x<(c-a)*(e.y-l)/(u-l)+a&&(n=!n)}return n}function G0(e,t){return t?W0({x:e.clientX,y:e.clientY},t):!1}const{createIds:K0,dataAttrs:Ea,dataSelectors:Y0}=ue("tooltip",["trigger","content","arrow"]);let J0=(ic=class{constructor(t={}){L(this,yt);L(this,Et,K0());L(this,Ni,M());L(this,ke);L(this,so,H(()=>xe(d(this,ke).closeOnPointerDown,!0)));L(this,oo,H(()=>xe(d(this,ke).openDelay,1e3)));L(this,ao,H(()=>xe(d(this,ke).closeDelay,0)));L(this,lo,H(()=>xe(d(this,ke).disableHoverableContent,!1)));L(this,co,H(()=>xe(d(this,ke).forceVisible,!1)));L(this,uo,H(()=>{var n;const t=xe(d(this,ke).floatingConfig,{});return t.computePosition={...t.computePosition,middleware:[...((n=t.computePosition)==null?void 0:n.middleware)??[],{name:"grabInvokerRect",fn:({rects:r})=>{const i=Qc(this.invokerRect),s=r.reference;return $r(i,s)?{}:(this.invokerRect=r.reference,{})}}]},t}));L(this,fo,H(()=>this.open||this.forceVisible));L(this,or);L(this,Re,M(null));L(this,ar,M(!1));L(this,on,M(!1));L(this,An,M(!1));L(this,lr,M(!1));L(this,He,M(null));L(this,Ve,M(null));L(this,zi,M());ht(this,or,new D0({value:t.open,onChange:t.onOpenChange,defaultValue:!1})),ht(this,ke,t),Vl([()=>this.open,()=>h(d(this,Re))],()=>{if(!(!this.open||typeof document>"u"))return fn(document,"mousemove",n=>{const r=document.getElementById(d(this,Et).content),i=document.getElementById(d(this,Et).trigger);if(!r||!i){this.open&&Pt(this,yt,Ji).call(this);return}const s=this.graceAreaPolygon;x(d(this,lr),T(h(d(this,An))||h(d(this,on))||G0(n,s))),h(d(this,Re))==="pointer"&&(h(d(this,lr))||Pt(this,yt,Ji).call(this))})})}get invokerRect(){return h(d(this,Ni))}set invokerRect(t){x(d(this,Ni),T(t))}get closeOnPointerDown(){return h(d(this,so))}get openDelay(){return h(d(this,oo))}get closeDelay(){return h(d(this,ao))}get disableHoverableContent(){return h(d(this,lo))}get forceVisible(){return h(d(this,co))}get floatingConfig(){return h(d(this,uo))}get isVisible(){return h(d(this,fo))}get graceAreaPolygon(){var f;const t=document.getElementById(d(this,Et).content),n=document.getElementById(d(this,Et).trigger);if(!t||!n)return[];const r=6,[i,s,o,a]=Bl(n),l=this.disableHoverableContent?[]:Bl(t),c=(f=h(d(this,zi)))==null?void 0:f.placement,u=[...l];c!=null&&c.startsWith("top")?u.push(i,s):c!=null&&c.startsWith("right")?u.push(s,o):c!=null&&c.startsWith("bottom")?u.push(o,a):u.push(a,i);const p=u.reduce((w,g)=>[...w,{x:g.x+r,y:g.y+r},{x:g.x+r,y:g.y-r},{x:g.x-r,y:g.y+r},{x:g.x-r,y:g.y-r}],[]);return N0(p)}get open(){return d(this,or).current}set open(t){d(this,or).current=t}get trigger(){return zt(()=>{const t=document.getElementById(d(this,Et).content);if(en(t))return()=>x(d(this,on),!1)}),{[Ea.trigger]:"",id:d(this,Et).trigger,"aria-describedby":d(this,Et).content,"data-open":ya(this.open),onpointerdown:()=>{this.closeOnPointerDown&&(this.open=!1,x(d(this,ar),!0),Pt(this,yt,Yi).call(this))},onpointerenter:t=>{x(d(this,on),!0),t.pointerType!=="touch"&&Pt(this,yt,Ki).call(this,"pointer")},onpointermove:()=>{x(d(this,on),!0)},onpointerleave:t=>{x(d(this,on),!1),t.pointerType!=="touch"&&Pt(this,yt,Yi).call(this)},onfocus:()=>{h(d(this,ar))||Pt(this,yt,Ki).call(this,"focus")},onblur:()=>Pt(this,yt,Ji).call(this,!0),...d(this,yt,bo)}}get content(){return zt(()=>{const t=document.getElementById(d(this,Et).trigger),n=document.getElementById(d(this,Et).content);!t||!n||!this.open||B0({node:()=>t,floating:()=>n,config:{...this.floatingConfig,onCompute:({floatingApply:r,arrowApply:i,...s})=>{var o;x(d(this,zi),T(s)),(o=this.floatingConfig)!=null&&o.onCompute?this.floatingConfig.onCompute({floatingApply:r,arrowApply:i,...s}):(r(),i())}}})}),zt(()=>{const t=document.getElementById(d(this,Et).trigger),n=document.getElementById(d(this,Et).content);if(!(!t||!n))return this.isVisible?q0({el:n}):(xa(n),()=>x(d(this,An),!1))}),Dl(()=>document,"scroll",t=>Pt(this,yt,wc).call(this,t),{capture:!0}),Dl(()=>document,"keydown",t=>{const n=document.getElementById(d(this,Et).content);t.key!=="Escape"||!this.open||!n||(t.preventDefault(),[...n.querySelectorAll("[popover]")].filter(i=>en(i)?i.matches(Y0.content)?i.dataset.open!==void 0:i.matches(":popover-open"):!1).length)||(Pt(this,yt,Yi).call(this),setTimeout(()=>this.open=!1))}),{[Ea.content]:"",id:d(this,Et).content,popover:"manual",role:"tooltip",tabindex:-1,inert:!this.open,"data-open":ya(this.open),onpointerenter:()=>{x(d(this,An),!0),Pt(this,yt,Ki).call(this,"pointer")},onpointerleave:()=>{x(d(this,An),!1)},onpointerdown:()=>Pt(this,yt,Ki).call(this,"pointer"),...d(this,yt,bo),style:d(this,yt,bo).style+"overflow: visible;"}}get arrow(){return{[Ea.arrow]:"",id:d(this,Et).arrow,"data-arrow":"","aria-hidden":!0,"data-open":ya(this.open)}}},Et=new WeakMap,Ni=new WeakMap,ke=new WeakMap,so=new WeakMap,oo=new WeakMap,ao=new WeakMap,lo=new WeakMap,co=new WeakMap,uo=new WeakMap,fo=new WeakMap,or=new WeakMap,Re=new WeakMap,ar=new WeakMap,on=new WeakMap,An=new WeakMap,lr=new WeakMap,He=new WeakMap,Ve=new WeakMap,zi=new WeakMap,yt=new WeakSet,bo=function(){var t,n,r,i;return{onfocusout:async()=>{await new Promise(a=>setTimeout(a));const s=document.getElementById(d(this,Et).content),o=document.getElementById(d(this,Et).trigger);s!=null&&s.contains(document.activeElement)||o!=null&&o.contains(document.activeElement)||(this.open=!1)},style:F0({"--melt-invoker-width":`${((t=this.invokerRect)==null?void 0:t.width)??0}px`,"--melt-invoker-height":`${((n=this.invokerRect)==null?void 0:n.height)??0}px`,"--melt-invoker-x":`${((r=this.invokerRect)==null?void 0:r.x)??0}px`,"--melt-invoker-y":`${((i=this.invokerRect)==null?void 0:i.y)??0}px`})}},Ki=function(t){h(d(this,Ve))&&(window.clearTimeout(h(d(this,Ve))),x(d(this,Ve),null)),h(d(this,He))||x(d(this,He),T(window.setTimeout(()=>{this.open=!0,x(d(this,Re),T(h(d(this,Re))??t)),x(d(this,He),null)},this.openDelay)))},Yi=function(){h(d(this,He))&&(window.clearTimeout(h(d(this,He))),x(d(this,He),null))},Ji=function(t){const n=document.getElementById(d(this,Et).content);if(en(n)){if(Pt(this,yt,Yi).call(this),t&&h(d(this,lr))){x(d(this,Re),"pointer");return}h(d(this,Ve))||x(d(this,Ve),T(window.setTimeout(()=>{this.open=!1,x(d(this,Re),null),t&&x(d(this,ar),!1),x(d(this,Ve),null)},this.closeDelay)))}},wc=function(t){if(!this.open)return;const n=t.target;if(!(n instanceof Element)&&!(n instanceof Document))return;const r=document.getElementById(d(this,Et).trigger);(r&&n.contains(r)||this.open)&&Pt(this,yt,Ji).call(this)},ic);yn("tree",["root","item","group"]);function X0(e,t){ot(t,!0);let n=Y(t,"open",15,!1),r=q(t,["$$slots","$$events","$$legacy","open","children"]);const i=new J0({open:()=>n(),onOpenChange:a=>n(a),...S0(r)});var s=ne(),o=mt(s);Te(o,()=>t.children,()=>i),E(e,s),at()}var Q0=N('<svg><rect x="4" y="14" width="8" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="2" width="14" height="9" rx="1" stroke="currentColor" stroke-width="2"></rect><rect x="7" y="12" width="2" height="2" fill="currentColor"></rect></svg>');function t3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=Q0();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var e3=N('<svg><path d="M1 13H15" stroke="currentColor" stroke-width="2" stroke-linecap="round"></path><path d="M1 4.5V11.5H3V4.5H13V11.5H15V4.5C15 3.39543 14.1046 2.5 13 2.5H3C1.89543 2.5 1 3.39543 1 4.5Z" fill="currentColor"></path></svg>');function n3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=e3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var r3=N('<svg><path d="M10 1.5H2C1.44771 1.5 1 1.94772 1 2.5V13.5C1 14.0523 1.44772 14.5 2 14.5H10C10.5523 14.5 11 14.0523 11 13.5V2.5C11 1.94772 10.5523 1.5 10 1.5Z" stroke="currentColor"></path></svg>');function i3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=r3();let i;A(()=>i=j(r,i,{viewBox:"0 0 12 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var s3=N('<svg><path d="M7.25 2H2.75C1.92157 2 1.25 2.67157 1.25 3.5V12.5C1.25 13.3284 1.92157 14 2.75 14H7.25C8.07843 14 8.75 13.3284 8.75 12.5V3.5C8.75 2.67157 8.07843 2 7.25 2Z" stroke="currentColor"></path><path d="M4 3.5H6" stroke="currentColor" stroke-linecap="round"></path></svg>');function o3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=s3();let i;A(()=>i=j(r,i,{viewBox:"0 0 10 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var a3=V("<div><!></div>");function Sa(e,t){ot(t,!0);const n=Y(t,"height",3,"tw-lw"),r={desktop:t3,laptop:n3,tablet:i3,mobile:o3},i=H(()=>{var a,l,c;return((a=t.resolution)==null?void 0:a.w)>=1920?r.desktop:((l=t.resolution)==null?void 0:l.w)>1280?r.laptop:((c=t.resolution)==null?void 0:c.w)>768?r.tablet:r.mobile});var s=a3(),o=y(s);ms(o,()=>h(i),(a,l)=>{l(a,{get class(){return n()}})}),A(()=>{var a,l;U(s,1,`${n()} group/resolution relative`),lt(s,"data-cursor-text",`${(a=t.resolution)==null?void 0:a.w}×${(l=t.resolution)==null?void 0:l.h}`)}),E(e,s),at()}var l3=N('<svg><path d="M8 6C9.10457 6 10 6.89543 10 8C10 9.10457 9.10457 10 8 10C6.89543 10 6 9.10457 6 8C6 6.89543 6.89543 6 8 6Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C8.55228 0 9 0.447715 9 1V1.57617C11.7891 2.00682 13.9921 4.21092 14.4229 7H15C15.5523 7 16 7.44772 16 8C16 8.55228 15.5523 9 15 9H14.4229C13.9921 11.789 11.789 13.9921 9 14.4229V15C9 15.5523 8.55228 16 8 16C7.44772 16 7 15.5523 7 15V14.4229C4.21096 13.9921 2.00785 11.789 1.57715 9H1C0.447715 9 7.08709e-08 8.55228 0 8C4.72473e-08 7.44772 0.447715 7 1 7H1.57715C2.00786 4.21092 4.2109 2.00682 7 1.57617V1C7 0.447715 7.44772 0 8 0ZM8 3.5C5.51472 3.5 3.5 5.51472 3.5 8C3.5 10.4853 5.51472 12.5 8 12.5C10.4853 12.5 12.5 10.4853 12.5 8C12.5 5.51472 10.4853 3.5 8 3.5Z" fill="currentColor"></path></svg>');function c3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=l3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var u3=N('<svg><path fill-rule="evenodd" clip-rule="evenodd" d="M6.70797 1.73697C7.28854 0.754343 8.7104 0.754343 9.29098 1.73697L15.789 12.734C16.3797 13.7338 15.6592 14.9974 14.498 14.9977H1.50191C0.340581 14.9976 -0.379873 13.7339 0.210897 12.734L6.70797 1.73697ZM7.99996 11.3932C7.44002 11.3935 6.98653 11.8542 6.98629 12.4225C6.98629 12.9911 7.43987 13.4525 7.99996 13.4528C8.56026 13.4528 9.01461 12.9912 9.01461 12.4225C9.01436 11.854 8.56011 11.3932 7.99996 11.3932ZM7.99996 4.18521C7.43994 4.18546 6.9864 4.64604 6.98629 5.21451V9.33365C6.98629 9.90222 7.43987 10.3637 7.99996 10.3639C8.56026 10.3639 9.01461 9.90237 9.01461 9.33365V5.21451C9.0145 4.64589 8.56019 4.18521 7.99996 4.18521Z" fill="currentColor"></path></svg>');function d3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=u3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var f3=N('<svg><path d="M8 11.9983C10.2091 11.9983 12 10.2074 12 7.99829C12 5.78915 10.2091 3.99829 8 3.99829C5.79086 3.99829 4 5.78915 4 7.99829C4 10.2074 5.79086 11.9983 8 11.9983Z" fill="white"></path><path d="M8.00008 4.00001H14.9271C14.2252 2.78381 13.2154 1.77385 11.9994 1.07168C10.7833 0.369518 9.40378 -9.79568e-05 7.99955 1.94733e-08C6.59531 9.79957e-05 5.21586 0.369906 3.99988 1.07224C2.78391 1.77457 1.77428 2.78468 1.07251 4.00098L4.53604 10L4.53914 9.99921C4.18681 9.39164 4.00088 8.70191 4.00009 7.99957C3.9993 7.29722 4.18368 6.60708 4.53465 5.99872C4.88561 5.39035 5.39076 4.88526 5.99917 4.53436C6.60757 4.18346 7.29773 3.99915 8.00008 4.00001Z" fill="#D93025"></path><path d="M7.99992 11.1667C9.74882 11.1667 11.1666 9.74894 11.1666 8.00004C11.1666 6.25114 9.74882 4.83337 7.99992 4.83337C6.25102 4.83337 4.83325 6.25114 4.83325 8.00004C4.83325 9.74894 6.25102 11.1667 7.99992 11.1667Z" fill="#1A73E8"></path><path d="M11.4637 10.0009L8.00021 15.9999C9.40444 16.0001 10.784 15.6306 12.0001 14.9285C13.2162 14.2265 14.226 13.2166 14.9281 12.0004C15.6301 10.7843 15.9996 9.40474 15.9993 8.00051C15.9991 6.59629 15.6291 5.21687 14.9266 4.00098H7.99961L7.99878 4.00408C8.70113 4.00272 9.39142 4.18655 10.0001 4.53704C10.6087 4.88752 11.1142 5.39227 11.4656 6.0004C11.817 6.60854 12.0018 7.29856 12.0015 8.0009C12.0012 8.70325 11.8157 9.3931 11.4637 10.0009Z" fill="#FCC934"></path><path d="M4.53613 10.001L1.07259 4.00195C0.370303 5.21795 0.000540618 6.59742 0.000488287 8.00166C0.000435955 9.40589 0.370095 10.7854 1.0723 12.0014C1.7745 13.2175 2.78449 14.2272 4.00071 14.9291C5.21694 15.631 6.59653 16.0004 8.00076 16L11.4643 10.0009L11.4621 9.99865C11.112 10.6076 10.6077 11.1135 9.99984 11.4653C9.39199 11.8172 8.70212 12.0026 7.99977 12.0028C7.29742 12.003 6.60743 11.8181 5.99934 11.4667C5.39124 11.1152 4.88655 10.6097 4.53613 10.001Z" fill="#1E8E3E"></path></svg>');function h3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=f3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var p3=N('<svg><path d="M15.2877 5.41538C14.946 4.61928 14.2527 3.75972 13.7098 3.488C14.097 4.21374 14.3657 4.99314 14.5064 5.7985L14.5078 5.81127C13.6185 3.66581 12.1111 2.79937 10.8792 0.915221C10.8169 0.819932 10.7546 0.724448 10.6939 0.623658C10.6592 0.566093 10.6314 0.514224 10.6073 0.466482C10.5562 0.370713 10.5168 0.269502 10.49 0.1649C10.49 0.160073 10.4882 0.155402 10.4849 0.151778C10.4816 0.148155 10.4771 0.145832 10.4721 0.145253C10.4673 0.143965 10.4621 0.143965 10.4573 0.145253C10.4563 0.145253 10.4547 0.147021 10.4534 0.147414C10.4522 0.147807 10.4496 0.149575 10.4478 0.150361L10.4508 0.145253C8.47517 1.26513 7.80445 3.3379 7.74356 4.37526C6.95431 4.42765 6.1997 4.70912 5.57818 5.18295C5.51336 5.1298 5.44561 5.08009 5.37523 5.03403C5.19603 4.42672 5.1884 3.784 5.35311 3.17286C4.62757 3.51311 3.98289 3.99547 3.45987 4.58942H3.45622C3.1445 4.20689 3.16642 2.94555 3.18428 2.68208C3.09206 2.71796 3.00403 2.7632 2.92167 2.81706C2.64649 3.00719 2.38923 3.22054 2.15293 3.4546C1.88364 3.71892 1.63769 4.0046 1.41767 4.30866V4.30984V4.30846C0.912044 5.00232 0.553378 5.78626 0.36237 6.61503L0.351817 6.66532C0.337002 6.73232 0.283629 7.06789 0.274496 7.14078C0.274496 7.14648 0.273279 7.15178 0.27267 7.15748C0.203822 7.50393 0.161158 7.85477 0.14502 8.20722V8.24652C0.148496 10.152 0.889732 11.987 2.2224 13.3892C3.55508 14.7915 5.38234 15.6591 7.34348 15.8208C9.30462 15.9825 11.2571 15.4266 12.8156 14.2627C14.374 13.0988 15.4251 11.4116 15.7614 9.53419C15.7746 9.43595 15.7853 9.3387 15.7971 9.23948C15.9591 7.94315 15.7837 6.62817 15.2869 5.4142L15.2877 5.41538ZM6.22231 11.3763C6.25905 11.3934 6.29355 11.4119 6.33129 11.4282L6.33677 11.4315C6.29862 11.4138 6.26047 11.3954 6.22231 11.3763ZM14.508 5.81343V5.80616L14.5094 5.81421L14.508 5.81343Z" fill="url(#paint0_linear_232_10596)"></path><path d="M15.2878 5.41529C14.9461 4.61919 14.2528 3.75963 13.7099 3.48792C14.0971 4.21366 14.3657 4.99306 14.5065 5.79841V5.80568L14.5079 5.81373C15.1143 7.49337 15.0266 9.3349 14.2632 10.9534C13.3617 12.826 11.1805 14.7453 7.76496 14.651C4.07548 14.5498 0.824351 11.8984 0.217555 8.42679C0.106952 7.87923 0.217555 7.60162 0.273161 7.15661C0.197312 7.50228 0.154984 7.85404 0.146729 8.20733V8.24663C0.150205 10.1521 0.891441 11.9871 2.22411 13.3893C3.55678 14.7916 5.38405 15.6592 7.34519 15.8209C9.30633 15.9826 11.2588 15.4267 12.8173 14.2628C14.3757 13.0989 15.4268 11.4118 15.7631 9.5343C15.7763 9.43606 15.787 9.33881 15.7988 9.23959C15.9608 7.94326 15.7854 6.62828 15.2886 5.41431L15.2878 5.41529Z" fill="url(#paint1_radial_232_10596)"></path><path d="M15.2878 5.41529C14.9461 4.61919 14.2528 3.75963 13.7099 3.48792C14.0971 4.21366 14.3657 4.99306 14.5065 5.79841V5.80568L14.5079 5.81373C15.1143 7.49337 15.0266 9.3349 14.2632 10.9534C13.3617 12.826 11.1805 14.7453 7.76496 14.651C4.07548 14.5498 0.824351 11.8984 0.217555 8.42679C0.106952 7.87923 0.217555 7.60162 0.273161 7.15661C0.197312 7.50228 0.154984 7.85404 0.146729 8.20733V8.24663C0.150205 10.1521 0.891441 11.9871 2.22411 13.3893C3.55678 14.7916 5.38405 15.6592 7.34519 15.8209C9.30633 15.9826 11.2588 15.4267 12.8173 14.2628C14.3757 13.0989 15.4268 11.4118 15.7631 9.5343C15.7763 9.43606 15.787 9.33881 15.7988 9.23959C15.9608 7.94326 15.7854 6.62828 15.2886 5.41431L15.2878 5.41529Z" fill="url(#paint2_radial_232_10596)"></path><path d="M11.4643 6.30929C11.4813 6.32088 11.4972 6.33247 11.5132 6.34406C11.3156 6.0049 11.0697 5.69437 10.7826 5.42163C8.33717 3.05416 10.1419 0.289824 10.4461 0.148365L10.4492 0.144043C8.47355 1.26392 7.80283 3.33669 7.74194 4.37405C7.83367 4.36796 7.92459 4.3605 8.01835 4.3605C8.71928 4.36181 9.40735 4.54278 10.0126 4.885C10.6179 5.22723 11.1187 5.71851 11.4643 6.3089V6.30929Z" fill="url(#paint3_radial_232_10596)"></path><path d="M8.0224 6.78266C8.00941 6.97206 7.31819 7.62533 7.07649 7.62533C4.84007 7.62533 4.47681 8.93519 4.47681 8.93519C4.57584 10.0382 5.36975 10.9471 6.32946 11.4264C6.3733 11.4484 6.41774 11.4683 6.46219 11.4877C6.53917 11.5207 6.61615 11.5513 6.69313 11.5793C7.02251 11.6921 7.36748 11.7566 7.71657 11.7705C11.6374 11.9485 12.3964 7.23199 9.56719 5.86259C10.2346 5.77852 10.9104 5.93739 11.4637 6.30838C11.1181 5.718 10.6173 5.22672 10.012 4.88449C9.40674 4.54227 8.71866 4.3613 8.01773 4.35999C7.92438 4.35999 7.83306 4.36745 7.74133 4.37354C6.95208 4.42593 6.19746 4.7074 5.57594 5.18123C5.69588 5.27947 5.83124 5.41071 6.11637 5.68282C6.65011 6.19188 8.01895 6.7192 8.022 6.78109L8.0224 6.78266Z" fill="url(#paint4_radial_232_10596)"></path><path d="M8.0224 6.78266C8.00941 6.97206 7.31819 7.62533 7.07649 7.62533C4.84007 7.62533 4.47681 8.93519 4.47681 8.93519C4.57584 10.0382 5.36975 10.9471 6.32946 11.4264C6.3733 11.4484 6.41774 11.4683 6.46219 11.4877C6.53917 11.5207 6.61615 11.5513 6.69313 11.5793C7.02251 11.6921 7.36748 11.7566 7.71657 11.7705C11.6374 11.9485 12.3964 7.23199 9.56719 5.86259C10.2346 5.77852 10.9104 5.93739 11.4637 6.30838C11.1181 5.718 10.6173 5.22672 10.012 4.88449C9.40674 4.54227 8.71866 4.3613 8.01773 4.35999C7.92438 4.35999 7.83306 4.36745 7.74133 4.37354C6.95208 4.42593 6.19746 4.7074 5.57594 5.18123C5.69588 5.27947 5.83124 5.41071 6.11637 5.68282C6.65011 6.19188 8.01895 6.7192 8.022 6.78109L8.0224 6.78266Z" fill="url(#paint5_radial_232_10596)"></path><path d="M5.20955 4.93006C5.27328 4.96935 5.32584 5.00354 5.37191 5.03438C5.19271 4.42708 5.18507 3.78435 5.34979 3.17322C4.62424 3.51347 3.97956 3.99583 3.45654 4.58977C3.4949 4.58879 4.63584 4.56894 5.20955 4.93006Z" fill="url(#paint6_radial_232_10596)"></path><path d="M0.216091 8.42718C0.82309 11.8988 4.07401 14.5512 7.76349 14.6514C11.179 14.7449 13.3606 12.8254 14.2617 10.9538C15.0251 9.33529 15.1128 7.49376 14.5064 5.81412V5.80685C14.5064 5.80116 14.5052 5.79782 14.5064 5.79958L14.5079 5.81235C14.7869 7.57607 13.8603 9.28399 12.4115 10.4412L12.407 10.451C9.58408 12.677 6.88293 11.7937 6.33702 11.4334C6.29886 11.4157 6.26071 11.3973 6.22256 11.3782C4.5769 10.6166 3.89685 9.16591 4.04296 7.92029C3.65232 7.92587 3.26839 7.82165 2.93769 7.62027C2.60699 7.41889 2.34371 7.12898 2.17976 6.78567C2.61178 6.52946 3.10437 6.38462 3.6106 6.36495C4.11683 6.34528 4.61983 6.45143 5.07168 6.67329C6.00303 7.08256 7.06281 7.12289 8.02448 6.78567C8.02143 6.72378 6.65259 6.19626 6.11885 5.6874C5.83372 5.41529 5.69836 5.28424 5.57842 5.18581C5.5136 5.13266 5.44585 5.08294 5.37548 5.03689C5.3288 5.00604 5.27624 4.97264 5.21313 4.93256C4.63941 4.57145 3.49847 4.59129 3.46072 4.59227H3.45707C3.14535 4.20974 3.16727 2.9484 3.18513 2.68494C3.09291 2.72082 3.00488 2.76606 2.92252 2.81991C2.64734 3.01004 2.39009 3.22339 2.15378 3.45746C1.88353 3.72103 1.63656 4.00606 1.41548 4.30955C0.909854 5.00341 0.551188 5.78715 0.36018 6.61592C0.356324 6.63144 0.0768728 7.81419 0.21467 8.42757L0.216091 8.42718Z" fill="url(#paint7_radial_232_10596)"></path><path d="M10.7823 5.42122C11.0695 5.69426 11.3154 6.00512 11.5129 6.34463C11.5561 6.37626 11.5965 6.4077 11.6308 6.43815C13.4141 8.02956 12.4797 10.2792 12.4101 10.4383C13.8587 9.28285 14.7845 7.57375 14.5065 5.80945C13.6168 3.66202 12.1077 2.79559 10.8779 0.911436C10.8156 0.816148 10.7533 0.720664 10.6926 0.619874C10.6579 0.562308 10.6301 0.51044 10.606 0.462698C10.5549 0.366929 10.5155 0.265717 10.4887 0.161116C10.4887 0.156289 10.4869 0.151618 10.4836 0.147994C10.4803 0.144371 10.4758 0.142048 10.4708 0.141468C10.466 0.140181 10.4608 0.140181 10.456 0.141468C10.455 0.141468 10.4534 0.143237 10.4521 0.14363C10.4509 0.144023 10.4483 0.145791 10.4465 0.146577C10.1423 0.286267 8.3379 3.05238 10.7833 5.41788L10.7823 5.42122Z" fill="url(#paint8_radial_232_10596)"></path><path d="M11.6306 6.43884C11.5963 6.40839 11.5559 6.37695 11.5127 6.34532C11.4967 6.33373 11.4809 6.32214 11.4638 6.31055C10.9106 5.93955 10.2347 5.78069 9.56732 5.86475C12.3963 7.23415 11.6373 11.9494 7.7167 11.7726C7.36761 11.7587 7.02263 11.6943 6.69326 11.5815C6.61628 11.5536 6.5393 11.523 6.46231 11.4899C6.41787 11.4703 6.37343 11.4506 6.32959 11.4286L6.33507 11.4319C6.88179 11.7933 9.58214 12.676 12.4051 10.4496L12.4095 10.4398C12.4799 10.2806 13.4143 8.03104 11.6302 6.43963L11.6306 6.43884Z" fill="url(#paint9_radial_232_10596)"></path><path d="M4.47686 8.93408C4.47686 8.93408 4.83992 7.62422 7.07654 7.62422C7.31825 7.62422 8.01008 6.97095 8.02246 6.78155C7.06079 7.11878 6.00101 7.07844 5.06965 6.66917C4.61781 6.44731 4.11481 6.34116 3.60858 6.36083C3.10235 6.3805 2.60976 6.52535 2.17773 6.78155C2.34169 7.12486 2.60497 7.41477 2.93567 7.61615C3.26637 7.81754 3.6503 7.92175 4.04094 7.91617C3.89523 9.1612 4.57508 10.6117 6.22054 11.3741C6.25727 11.3911 6.29177 11.4096 6.32952 11.4259C5.36899 10.9455 4.5759 10.0371 4.47686 8.93467V8.93408Z" fill="url(#paint10_radial_232_10596)"></path><path d="M15.2878 5.41538C14.9461 4.61928 14.2528 3.75972 13.7099 3.488C14.097 4.21374 14.3657 4.99314 14.5065 5.7985L14.5079 5.81127C13.6186 3.66581 12.1112 2.79937 10.8793 0.915221C10.817 0.819932 10.7547 0.724448 10.694 0.623658C10.6593 0.566093 10.6315 0.514224 10.6074 0.466482C10.5563 0.370713 10.5169 0.269502 10.4901 0.1649C10.4901 0.160073 10.4883 0.155402 10.485 0.151778C10.4817 0.148155 10.4771 0.145832 10.4722 0.145253C10.4673 0.143965 10.4622 0.143965 10.4574 0.145253C10.4564 0.145253 10.4547 0.147021 10.4535 0.147414C10.4523 0.147807 10.4497 0.149575 10.4478 0.150361L10.4509 0.145253C8.47525 1.26513 7.80453 3.3379 7.74365 4.37526C7.83538 4.36917 7.92629 4.36171 8.02005 4.36171C8.72098 4.36302 9.40905 4.54399 10.0143 4.88621C10.6196 5.22844 11.1204 5.71972 11.466 6.31011C10.9127 5.93911 10.2369 5.78025 9.56951 5.86431C12.3985 7.23371 11.6395 11.949 7.71889 11.7722C7.3698 11.7583 7.02482 11.6939 6.69545 11.581C6.61847 11.5531 6.54149 11.5226 6.4645 11.4895C6.42006 11.4698 6.37562 11.4502 6.33178 11.4282L6.33726 11.4315C6.29911 11.4138 6.26095 11.3954 6.2228 11.3763C6.25953 11.3934 6.29403 11.4119 6.33178 11.4282C5.37126 10.9476 4.57816 10.0391 4.47913 8.93692C4.47913 8.93692 4.84219 7.62705 7.07881 7.62705C7.32051 7.62705 8.01234 6.97378 8.02472 6.78439C8.02168 6.7225 6.65283 6.19497 6.1191 5.68612C5.83396 5.414 5.6986 5.28296 5.57866 5.18453C5.51384 5.13137 5.4461 5.08166 5.37572 5.0356C5.19652 4.4283 5.18888 3.78557 5.3536 3.17444C4.62806 3.51468 3.98337 3.99704 3.46036 4.59099H3.45671C3.14499 4.20846 3.1669 2.94712 3.18476 2.68365C3.09255 2.71953 3.00452 2.76478 2.92216 2.81863C2.64697 3.00876 2.38972 3.22211 2.15341 3.45617C1.88413 3.72049 1.63818 4.00617 1.41816 4.31023C0.912533 5.00409 0.553867 5.78783 0.362858 6.6166L0.352305 6.6669C0.337491 6.73389 0.271129 7.07418 0.26159 7.14727C0.200891 7.49853 0.162126 7.85302 0.145508 8.2088V8.24809C0.148984 10.1536 0.89022 11.9885 2.22289 13.3908C3.55556 14.793 5.38283 15.6607 7.34397 15.8224C9.30511 15.9841 11.2576 15.4281 12.816 14.2643C14.3745 13.1004 15.4256 11.4132 15.7619 9.53576C15.7751 9.43752 15.7858 9.34027 15.7976 9.24105C15.9596 7.94472 15.7842 6.62975 15.2874 5.41577L15.2878 5.41538Z" fill="url(#paint11_linear_232_10596)"></path><defs><linearGradient id="paint0_linear_232_10596" x1="14.2466" y1="2.57754" x2="1.5971" y2="15.1842" gradientUnits="userSpaceOnUse"><stop offset="0.048" stop-color="#FFF44F"></stop><stop offset="0.111" stop-color="#FFE847"></stop><stop offset="0.225" stop-color="#FFC830"></stop><stop offset="0.368" stop-color="#FF980E"></stop><stop offset="0.401" stop-color="#FF8B16"></stop><stop offset="0.462" stop-color="#FF672A"></stop><stop offset="0.534" stop-color="#FF3647"></stop><stop offset="0.705" stop-color="#E31587"></stop></linearGradient><radialGradient id="paint1_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(13.7414 1.91222) scale(16.3977 15.8748)"><stop offset="0.129" stop-color="#FFBD4F"></stop><stop offset="0.186" stop-color="#FFAC31"></stop><stop offset="0.247" stop-color="#FF9D17"></stop><stop offset="0.283" stop-color="#FF980E"></stop><stop offset="0.403" stop-color="#FF563B"></stop><stop offset="0.467" stop-color="#FF3750"></stop><stop offset="0.71" stop-color="#F5156C"></stop><stop offset="0.782" stop-color="#EB0878"></stop><stop offset="0.86" stop-color="#E50080"></stop></radialGradient><radialGradient id="paint2_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.65314 8.39575) scale(16.3977 15.8748)"><stop offset="0.3" stop-color="#960E18"></stop><stop offset="0.351" stop-color="#B11927" stop-opacity="0.74"></stop><stop offset="0.435" stop-color="#DB293D" stop-opacity="0.343"></stop><stop offset="0.497" stop-color="#F5334B" stop-opacity="0.094"></stop><stop offset="0.53" stop-color="#FF3750" stop-opacity="0"></stop></radialGradient><radialGradient id="paint3_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.68247 -1.62419) scale(11.8782 11.4994)"><stop offset="0.132" stop-color="#FFF44F"></stop><stop offset="0.252" stop-color="#FFDC3E"></stop><stop offset="0.506" stop-color="#FF9D12"></stop><stop offset="0.526" stop-color="#FF980E"></stop></radialGradient><radialGradient id="paint4_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(5.82657 12.5216) scale(7.80717 7.55822)"><stop offset="0.353" stop-color="#3A8EE6"></stop><stop offset="0.472" stop-color="#5C79F0"></stop><stop offset="0.669" stop-color="#9059FF"></stop><stop offset="1" stop-color="#C139E6"></stop></radialGradient><radialGradient id="paint5_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(8.44614 7.03297) rotate(-13.1735) scale(4.13285 4.70054)"><stop offset="0.206" stop-color="#9059FF" stop-opacity="0"></stop><stop offset="0.278" stop-color="#8C4FF3" stop-opacity="0.064"></stop><stop offset="0.747" stop-color="#7716A8" stop-opacity="0.45"></stop><stop offset="0.975" stop-color="#6E008B" stop-opacity="0.6"></stop></radialGradient><radialGradient id="paint6_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.45003 1.32286) scale(5.61743 5.4383)"><stop stop-color="#FFE226"></stop><stop offset="0.121" stop-color="#FFDB27"></stop><stop offset="0.295" stop-color="#FFC82A"></stop><stop offset="0.502" stop-color="#FFA930"></stop><stop offset="0.732" stop-color="#FF7E37"></stop><stop offset="0.792" stop-color="#FF7139"></stop></radialGradient><radialGradient id="paint7_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.9149 -2.21366) scale(23.9674 23.2032)"><stop offset="0.113" stop-color="#FFF44F"></stop><stop offset="0.456" stop-color="#FF980E"></stop><stop offset="0.622" stop-color="#FF5634"></stop><stop offset="0.716" stop-color="#FF3647"></stop><stop offset="0.904" stop-color="#E31587"></stop></radialGradient><radialGradient id="paint8_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.92267 -0.927134) rotate(83.7791) scale(17.0099 11.5226)"><stop stop-color="#FFF44F"></stop><stop offset="0.06" stop-color="#FFE847"></stop><stop offset="0.168" stop-color="#FFC830"></stop><stop offset="0.304" stop-color="#FF980E"></stop><stop offset="0.356" stop-color="#FF8B16"></stop><stop offset="0.455" stop-color="#FF672A"></stop><stop offset="0.57" stop-color="#FF3647"></stop><stop offset="0.737" stop-color="#E31587"></stop></radialGradient><radialGradient id="paint9_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.45003 3.28745) scale(14.9609 14.4838)"><stop offset="0.137" stop-color="#FFF44F"></stop><stop offset="0.48" stop-color="#FF980E"></stop><stop offset="0.592" stop-color="#FF5634"></stop><stop offset="0.655" stop-color="#FF3647"></stop><stop offset="0.904" stop-color="#E31587"></stop></radialGradient><radialGradient id="paint10_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.3059 4.0734) scale(16.3754 15.8532)"><stop offset="0.094" stop-color="#FFF44F"></stop><stop offset="0.231" stop-color="#FFE141"></stop><stop offset="0.509" stop-color="#FFAF1E"></stop><stop offset="0.626" stop-color="#FF980E"></stop></radialGradient><linearGradient id="paint11_linear_232_10596" x1="14.0884" y1="2.51271" x2="3.33933" y2="13.6179" gradientUnits="userSpaceOnUse"><stop offset="0.167" stop-color="#FFF44F" stop-opacity="0.8"></stop><stop offset="0.266" stop-color="#FFF44F" stop-opacity="0.634"></stop><stop offset="0.489" stop-color="#FFF44F" stop-opacity="0.217"></stop><stop offset="0.6" stop-color="#FFF44F" stop-opacity="0"></stop></linearGradient></defs></svg>');function w3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=p3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var g3=N('<svg><g opacity="0.53" filter="url(#filter0_f_232_10586)"><path d="M16.7069 9.61423C16.7069 10.5841 16.5076 11.5445 16.1203 12.4406C15.733 13.3367 15.1653 14.1509 14.4497 14.8367C13.7341 15.5225 12.8845 16.0666 11.9495 16.4377C11.0145 16.8089 10.0123 16.9999 9.0003 16.9999C7.98826 16.9999 6.98612 16.8089 6.05111 16.4377C5.11611 16.0666 4.26654 15.5225 3.55091 14.8367C2.83529 14.1509 2.26762 13.3367 1.88033 12.4406C1.49304 11.5445 1.2937 10.5841 1.2937 9.61423C1.2937 7.65541 2.10564 5.77683 3.55091 4.39174C4.99618 3.00665 6.95639 2.22852 9.0003 2.22852C10.0123 2.22852 11.0145 2.41955 11.9495 2.79072C12.8845 3.16189 13.7341 3.70591 14.4497 4.39174C15.1653 5.07757 15.733 5.89176 16.1203 6.78784C16.5076 7.68391 16.7069 8.64432 16.7069 9.61423Z" fill="black"></path></g><path d="M17 8.96195C17 10.0075 16.7931 11.0429 16.391 12.0089C15.989 12.9748 15.3997 13.8526 14.6569 14.5919C13.914 15.3312 13.0321 15.9177 12.0615 16.3178C11.0909 16.718 10.0506 16.9239 9 16.9239C6.87826 16.9239 4.84344 16.0851 3.34314 14.5919C1.84285 13.0987 1 11.0736 1 8.96195C1 6.85031 1.84285 4.82516 3.34314 3.332C4.84344 1.83885 6.87826 1 9 1C10.0506 1 11.0909 1.20594 12.0615 1.60607C13.0321 2.00619 13.914 2.59267 14.6569 3.332C15.3997 4.07134 15.989 4.94906 16.391 5.91504C16.7931 6.88103 17 7.91638 17 8.96195Z" fill="url(#paint0_linear_232_10586)" stroke="#CDCDCD" stroke-width="0.023754" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16.373 8.96196C16.373 10.9081 15.5962 12.7746 14.2134 14.1508C12.8307 15.5269 10.9553 16.3 8.99984 16.3C7.04436 16.3 5.16898 15.5269 3.78625 14.1508C2.40352 12.7746 1.62671 10.9081 1.62671 8.96196C1.62671 7.01579 2.40352 5.14932 3.78625 3.77317C5.16898 2.39702 7.04436 1.6239 8.99984 1.6239C10.9553 1.6239 12.8307 2.39702 14.2134 3.77317C15.5962 5.14932 16.373 7.01579 16.373 8.96196Z" fill="url(#paint1_radial_232_10586)"></path><path d="M8.99994 2.00671C8.94038 2.00671 8.89244 2.05443 8.89244 2.1137V3.34774C8.89244 3.40702 8.94038 3.45473 8.99994 3.45473C9.05949 3.45473 9.10743 3.40702 9.10743 3.34774V2.1137C9.10743 2.05443 9.05949 2.00671 8.99994 2.00671ZM8.29669 2.05095C8.28956 2.05019 8.28223 2.05019 8.27483 2.05104C8.21559 2.05719 8.17289 2.1096 8.17907 2.16855L8.23326 2.68482C8.23944 2.74377 8.2921 2.78628 8.35133 2.78013C8.41057 2.77397 8.45328 2.72156 8.44709 2.66261L8.39295 2.14635C8.38753 2.09476 8.34653 2.05577 8.29669 2.05095ZM9.7081 2.05146C9.65825 2.05624 9.61724 2.09523 9.61179 2.14681L9.55723 2.66303C9.551 2.72198 9.59371 2.77444 9.65294 2.78064C9.71217 2.78684 9.76483 2.74437 9.77106 2.68542L9.82562 2.16915C9.83185 2.11021 9.78914 2.05779 9.72991 2.0516C9.7225 2.05083 9.71523 2.05083 9.7081 2.05146ZM7.57428 2.15521C7.56713 2.15527 7.55985 2.15597 7.55257 2.1575C7.49431 2.16977 7.45733 2.22635 7.46966 2.28434L7.72646 3.4916C7.73879 3.54959 7.79564 3.58639 7.8539 3.57411C7.91216 3.56184 7.94914 3.50531 7.93681 3.44732L7.68002 2.24001C7.66921 2.18927 7.62436 2.15482 7.57428 2.15521ZM10.4305 2.15623C10.3804 2.15572 10.3355 2.19027 10.3247 2.241L10.067 3.44812C10.0546 3.5061 10.0916 3.56269 10.1498 3.57501C10.2081 3.58734 10.2649 3.55056 10.2773 3.49259L10.535 2.28546C10.5474 2.22749 10.5104 2.17089 10.4522 2.15858C10.4449 2.15705 10.4376 2.15623 10.4305 2.15623ZM6.88485 2.34868C6.87093 2.34741 6.85656 2.34893 6.8424 2.35361C6.78576 2.37193 6.75496 2.43202 6.77337 2.48839L6.93454 2.98208C6.95296 3.03845 7.01338 3.06911 7.07002 3.05079C7.12666 3.03246 7.15741 2.97233 7.139 2.91596L6.97783 2.42227C6.96404 2.37999 6.9266 2.35221 6.88485 2.34868ZM11.116 2.34893C11.0742 2.35247 11.0368 2.38026 11.023 2.42253L10.8617 2.91618C10.8433 2.97255 10.8741 3.03268 10.9307 3.05101C10.9874 3.06933 11.0478 3.0387 11.0662 2.98235L11.2275 2.48866C11.2459 2.43229 11.2151 2.37215 11.1585 2.35383C11.1443 2.34925 11.1299 2.34776 11.116 2.34893ZM6.20309 2.59698C6.18912 2.59723 6.17498 2.60028 6.16138 2.60631C6.10699 2.63038 6.08263 2.69334 6.10682 2.74751L6.61043 3.87517C6.63462 3.92932 6.69788 3.95354 6.7523 3.92947C6.8067 3.9054 6.8311 3.84243 6.80691 3.78827L6.30325 2.66061C6.28512 2.61998 6.24498 2.59617 6.20309 2.59698ZM11.8055 2.60076C11.7636 2.6 11.7234 2.62367 11.7052 2.66425L11.2001 3.79122C11.1758 3.84535 11.2 3.90837 11.2544 3.93251C11.3088 3.95666 11.3721 3.93253 11.3964 3.8784L11.9015 2.75143C11.9258 2.6973 11.9016 2.63429 11.8472 2.61014C11.8336 2.60411 11.8194 2.60107 11.8055 2.60076ZM5.57026 2.93022C5.54963 2.92869 5.52836 2.93327 5.50902 2.9444C5.45745 2.97404 5.4399 3.03921 5.46968 3.09054L5.73047 3.54009C5.76024 3.59142 5.82573 3.60888 5.8773 3.57924C5.92888 3.54961 5.94642 3.48444 5.91665 3.4331L5.65586 2.98356C5.63724 2.95147 5.60466 2.93261 5.57026 2.93022ZM12.4296 2.93022C12.3952 2.9325 12.3627 2.95146 12.3441 2.98355L12.0832 3.4331C12.0534 3.48443 12.071 3.5496 12.1226 3.57924C12.1742 3.60887 12.2397 3.59141 12.2695 3.54008L12.5302 3.09053C12.56 3.0392 12.5425 2.97403 12.4909 2.94439C12.4716 2.93328 12.4502 2.92879 12.4296 2.93022ZM4.95577 3.31166C4.93508 3.31242 4.91437 3.31903 4.89629 3.33207C4.84809 3.36687 4.83743 3.43351 4.87241 3.48149L5.60048 4.48037C5.63545 4.52834 5.70245 4.53895 5.75066 4.50416C5.79887 4.46935 5.80952 4.40271 5.77454 4.35474L5.04642 3.35586C5.02456 3.32587 4.99023 3.31049 4.95577 3.31166ZM13.0518 3.3171C13.0173 3.31583 12.983 3.3312 12.9611 3.36115L12.2316 4.35906C12.1966 4.40699 12.2072 4.47365 12.2553 4.50852C12.3035 4.54339 12.3705 4.5329 12.4055 4.48499L13.1349 3.48708C13.17 3.43915 13.1594 3.37248 13.1112 3.33761C13.0932 3.32455 13.0725 3.31783 13.0518 3.3171ZM4.4065 3.77011C4.37906 3.76858 4.35106 3.77771 4.32893 3.79754C4.28467 3.83719 4.28111 3.90457 4.32096 3.94862L4.66994 4.33445C4.70978 4.3785 4.77748 4.38204 4.82175 4.34238C4.86601 4.30272 4.86957 4.2353 4.82971 4.19125L4.48078 3.80547C4.46086 3.78343 4.43395 3.77154 4.4065 3.77011ZM13.5942 3.77087C13.5667 3.7724 13.5398 3.78422 13.5199 3.80624L13.1709 4.19198C13.131 4.23602 13.1346 4.30344 13.1788 4.3431C13.2231 4.38276 13.2908 4.37921 13.3306 4.33517L13.6797 3.94944C13.7195 3.90539 13.716 3.83797 13.6717 3.79831C13.6496 3.77849 13.6216 3.76944 13.5942 3.77087ZM3.88006 4.27338C3.85262 4.27491 3.82575 4.28672 3.80583 4.30875C3.76599 4.3528 3.76955 4.42018 3.8138 4.45983L4.73534 5.28547C4.7796 5.32512 4.84729 5.32158 4.88714 5.27754C4.92698 5.23349 4.92347 5.16611 4.87919 5.12645L3.95762 4.30082C3.93547 4.281 3.90751 4.27194 3.88006 4.27338ZM14.1231 4.27699C14.0957 4.27546 14.0677 4.28456 14.0455 4.30437L13.1234 5.12936C13.0791 5.16898 13.0755 5.23636 13.1153 5.28044C13.1551 5.32452 13.2229 5.3281 13.2672 5.28847L14.1893 4.46348C14.2336 4.42386 14.2372 4.35648 14.1974 4.3124C14.1775 4.29037 14.1506 4.27844 14.1231 4.27699ZM3.44229 4.83362C3.40782 4.83235 3.37346 4.8478 3.35159 4.87776C3.31658 4.92571 3.3272 4.99234 3.37539 5.02718L3.79735 5.3323C3.84553 5.36714 3.91247 5.35662 3.94748 5.30866C3.98248 5.26071 3.97189 5.19403 3.92373 5.15919L3.50177 4.85408C3.48371 4.84101 3.46296 4.83436 3.44229 4.83362ZM14.5605 4.83751C14.5398 4.83827 14.5191 4.84485 14.501 4.85792L14.0789 5.16276C14.0307 5.19757 14.02 5.26425 14.055 5.31222C14.09 5.3602 14.1569 5.37076 14.2051 5.33596L14.6273 5.03112C14.6755 4.99632 14.6861 4.92968 14.6512 4.88171C14.6293 4.85172 14.595 4.83633 14.5605 4.83751ZM3.03318 5.43121C2.99878 5.4335 2.96624 5.45246 2.94763 5.48454C2.91785 5.53587 2.93539 5.60105 2.98697 5.63068L4.06077 6.2477C4.11235 6.27734 4.17783 6.25988 4.20761 6.20855C4.23739 6.15722 4.21984 6.09204 4.16827 6.06241L3.09447 5.44538C3.07513 5.43428 3.05382 5.42979 3.03318 5.43121ZM14.9667 5.43121C14.9461 5.42969 14.9247 5.43426 14.9054 5.44539L13.8316 6.06242C13.78 6.09205 13.7625 6.15723 13.7923 6.20856C13.822 6.25989 13.8875 6.27735 13.9391 6.24771L15.013 5.63069C15.0645 5.60106 15.0821 5.53588 15.0523 5.48455C15.0337 5.45247 15.0011 5.4336 14.9667 5.43121ZM2.72387 6.06818C2.68197 6.06716 2.6418 6.09103 2.62361 6.13162C2.59934 6.18575 2.62359 6.24877 2.67798 6.27291L3.15436 6.48439C3.20875 6.50854 3.27207 6.48441 3.29633 6.43028C3.32059 6.37614 3.2963 6.31313 3.24191 6.28898L2.76557 6.07751C2.75199 6.07146 2.73783 6.06846 2.72387 6.06818ZM15.2781 6.07258C15.2641 6.07283 15.2499 6.07588 15.2363 6.08191L14.7599 6.29301C14.7055 6.31713 14.6811 6.38011 14.7054 6.43426C14.7296 6.48841 14.7929 6.51262 14.8473 6.48851L15.3238 6.27736C15.3782 6.25326 15.4025 6.19026 15.3783 6.13611C15.3601 6.0955 15.32 6.07175 15.2781 6.07258ZM2.44819 6.73393C2.40644 6.73741 2.369 6.76517 2.35517 6.80744C2.33673 6.86379 2.36743 6.92395 2.42406 6.94231L3.603 7.32463C3.65962 7.34298 3.72006 7.3124 3.73851 7.25606C3.75695 7.19971 3.72626 7.13955 3.66962 7.12119L2.49069 6.73887C2.47654 6.73427 2.46211 6.73276 2.44819 6.73393ZM15.5533 6.7385C15.5393 6.73723 15.525 6.73876 15.5108 6.74343L14.3316 7.12492C14.275 7.14325 14.2442 7.20338 14.2626 7.25975C14.281 7.31612 14.3414 7.34674 14.3981 7.32841L15.5772 6.94692C15.6339 6.9286 15.6647 6.86846 15.6463 6.8121C15.6325 6.76982 15.595 6.74203 15.5533 6.7385ZM2.27644 7.43278C2.22636 7.43227 2.18144 7.46686 2.17061 7.51759C2.15822 7.57557 2.19518 7.63216 2.25342 7.64448L2.76363 7.75239C2.82188 7.76472 2.87873 7.72794 2.89112 7.66997C2.9035 7.61199 2.86655 7.55541 2.8083 7.54308L2.29815 7.43517C2.29087 7.43365 2.28359 7.43278 2.27644 7.43278ZM15.7237 7.43379C15.7165 7.43385 15.7093 7.43481 15.702 7.43608L15.1918 7.54394C15.1336 7.55627 15.0966 7.61281 15.109 7.67078C15.1214 7.72876 15.1782 7.76556 15.2365 7.75325L15.7466 7.64539C15.8049 7.63306 15.8419 7.57648 15.8295 7.5185C15.8187 7.46777 15.7737 7.43337 15.7237 7.43379ZM2.14644 8.13573C2.09659 8.14048 2.05555 8.17941 2.05008 8.23098C2.04382 8.28993 2.08643 8.34241 2.14565 8.34863L3.37873 8.47838C3.43795 8.48461 3.49068 8.44216 3.49694 8.38322C3.5032 8.32428 3.46055 8.2718 3.40132 8.26557L2.16825 8.13582C2.16084 8.13506 2.15356 8.13506 2.14644 8.13573ZM15.8546 8.14495C15.8475 8.14419 15.8401 8.14419 15.8327 8.14504L14.5995 8.27313C14.5403 8.27928 14.4976 8.33169 14.5038 8.39064C14.5099 8.44959 14.5626 8.4921 14.6218 8.48595L15.855 8.35786C15.9143 8.35171 15.957 8.2993 15.9508 8.24035C15.9454 8.18876 15.9044 8.14978 15.8546 8.14495ZM2.12556 8.85529C2.066 8.85529 2.01807 8.90301 2.01807 8.96228C2.01807 9.02155 2.066 9.06926 2.12556 9.06926H2.64713C2.70668 9.06926 2.75467 9.02155 2.75467 8.96228C2.75467 8.90301 2.70668 8.85529 2.64713 8.85529H2.12556ZM15.3527 8.85529C15.2932 8.85529 15.2452 8.90301 15.2452 8.96228C15.2452 9.02155 15.2932 9.06926 15.3527 9.06926H15.8743C15.9339 9.06926 15.9818 9.02155 15.9818 8.96228C15.9818 8.90301 15.9339 8.85529 15.8743 8.85529H15.3527ZM3.39988 9.43852C3.39276 9.43775 3.38548 9.43776 3.37807 9.43861L2.14481 9.56669C2.08558 9.57284 2.04288 9.62525 2.04905 9.6842C2.05523 9.74316 2.10789 9.78566 2.16712 9.77951L3.40039 9.65142C3.45962 9.64527 3.50232 9.59286 3.49614 9.53391C3.49073 9.48233 3.44973 9.44334 3.39988 9.43852ZM14.5993 9.44609C14.5495 9.45084 14.5085 9.48977 14.503 9.54135C14.4967 9.60029 14.5393 9.65277 14.5986 9.659L15.8316 9.78875C15.8909 9.79498 15.9436 9.75253 15.9498 9.69359C15.9561 9.63464 15.9134 9.58216 15.8542 9.57593L14.6212 9.44619C14.6138 9.44542 14.6065 9.44542 14.5993 9.44609ZM2.78515 10.1689C2.778 10.1689 2.77072 10.1696 2.76345 10.1711L2.25324 10.279C2.19499 10.2913 2.15806 10.3479 2.17043 10.4059C2.18282 10.4639 2.23967 10.5006 2.29792 10.4883L2.80812 10.3805C2.86638 10.3682 2.90331 10.3116 2.89094 10.2536C2.88011 10.2029 2.83523 10.1684 2.78515 10.1689ZM15.2146 10.1699C15.1645 10.1694 15.1196 10.2039 15.1088 10.2546C15.0964 10.3126 15.1333 10.3692 15.1916 10.3815L15.7018 10.4894C15.76 10.5018 15.8169 10.465 15.8293 10.4071C15.8416 10.3491 15.8047 10.2925 15.7464 10.2801L15.2363 10.1722C15.229 10.1707 15.2217 10.1699 15.2146 10.1699ZM3.64429 10.5913C3.63037 10.59 3.616 10.5915 3.60184 10.5962L2.42263 10.9777C2.36599 10.996 2.33523 11.0561 2.35364 11.1125C2.37205 11.1689 2.43247 11.1995 2.48911 11.1812L3.66827 10.7997C3.72491 10.7813 3.75572 10.7212 3.73731 10.6648C3.72349 10.6226 3.68604 10.5948 3.64429 10.5913ZM14.3544 10.595C14.3127 10.5985 14.2752 10.6263 14.2614 10.6685C14.243 10.7249 14.2737 10.7851 14.3303 10.8034L15.5092 11.1857C15.5659 11.2041 15.6263 11.1735 15.6447 11.1172C15.6632 11.0608 15.6325 11.0007 15.5759 10.9823L14.3969 10.6C14.3828 10.5954 14.3683 10.5939 14.3544 10.595ZM3.19431 11.4268C3.18034 11.4271 3.1662 11.4301 3.1526 11.4361L2.67608 11.6472C2.62167 11.6713 2.59739 11.7343 2.62161 11.7885C2.64585 11.8426 2.70913 11.8668 2.76353 11.8427L3.24005 11.6316C3.29446 11.6075 3.31874 11.5445 3.29452 11.4903C3.27636 11.4497 3.2362 11.426 3.19431 11.4268ZM14.8038 11.4309C14.762 11.4299 14.7218 11.4537 14.7036 11.4943C14.6793 11.5485 14.7036 11.6115 14.758 11.6356L15.2343 11.8471C15.2887 11.8712 15.352 11.8471 15.3763 11.793C15.4005 11.7388 15.3763 11.6758 15.3219 11.6517L14.8456 11.4402C14.832 11.4342 14.8178 11.4312 14.8038 11.4309ZM4.12206 11.6627C4.10142 11.6612 4.08011 11.6658 4.06077 11.6769L2.98697 12.2939C2.93539 12.3236 2.91785 12.3887 2.94763 12.4401C2.9774 12.4914 3.04289 12.5089 3.09447 12.4792L4.16827 11.8622C4.21984 11.8326 4.23739 11.7674 4.20761 11.7161C4.18899 11.684 4.15646 11.6651 4.12206 11.6627ZM13.8779 11.6627C13.8435 11.665 13.8109 11.684 13.7923 11.7161C13.7625 11.7674 13.78 11.8326 13.8316 11.8622L14.9054 12.4792C14.957 12.5089 15.0225 12.4914 15.0523 12.4401C15.0821 12.3887 15.0645 12.3236 15.013 12.2939L13.9391 11.6769C13.9198 11.6658 13.8985 11.6613 13.8779 11.6627ZM3.85422 12.5682C3.83354 12.569 3.81282 12.5756 3.79474 12.5887L3.3726 12.8935C3.3244 12.9283 3.31373 12.9949 3.3487 13.0429C3.38367 13.0909 3.45063 13.1015 3.49883 13.0667L3.92102 12.7618C3.96923 12.727 3.97989 12.6604 3.94492 12.6124C3.92306 12.5824 3.88868 12.567 3.85422 12.5682ZM14.1431 12.5718C14.1086 12.5705 14.0743 12.586 14.0524 12.6159C14.0174 12.6639 14.028 12.7306 14.0762 12.7654L14.4982 13.0705C14.5463 13.1054 14.6133 13.0948 14.6483 13.0468C14.6833 12.9989 14.6727 12.9323 14.6245 12.8974L14.2026 12.5923C14.1845 12.5792 14.1638 12.5725 14.1431 12.5718ZM4.81032 12.6087C4.78288 12.6072 4.7549 12.6163 4.73275 12.6361L3.81061 13.4611C3.76632 13.5007 3.76273 13.5681 3.80254 13.6122C3.84235 13.6563 3.91005 13.6598 3.95434 13.6202L4.87648 12.7952C4.92077 12.7556 4.92437 12.6882 4.88455 12.6442C4.86466 12.6221 4.83776 12.6102 4.81032 12.6087ZM13.187 12.6117C13.1596 12.6132 13.1326 12.625 13.1127 12.6471C13.0729 12.6911 13.0764 12.7585 13.1207 12.7981L14.0422 13.6238C14.0865 13.6634 14.1542 13.6599 14.1941 13.6158C14.2339 13.5718 14.2304 13.5044 14.1861 13.4648L13.2645 12.6391C13.2424 12.6193 13.2144 12.6103 13.187 12.6117ZM5.68514 13.3954C5.65068 13.3942 5.61629 13.4095 5.59439 13.4395L4.86498 14.4374C4.82994 14.4853 4.84048 14.552 4.88862 14.5869C4.93678 14.6217 5.00377 14.6112 5.0388 14.5633L5.76822 13.5654C5.80325 13.5175 5.79271 13.4508 5.74457 13.4159C5.72651 13.4029 5.70581 13.3962 5.68514 13.3954ZM12.3088 13.3999C12.2881 13.4007 12.2673 13.4073 12.2493 13.4203C12.2011 13.4551 12.1904 13.5218 12.2254 13.5697L12.9534 14.5686C12.9884 14.6166 13.0554 14.6272 13.1036 14.5924C13.1518 14.5576 13.1624 14.491 13.1275 14.443L12.3994 13.4441C12.3775 13.4141 12.3432 13.3987 12.3088 13.3999ZM4.74351 13.554C4.71607 13.5556 4.68916 13.5674 4.66924 13.5894L4.32026 13.9752C4.2804 14.0192 4.28393 14.0866 4.3282 14.1263C4.37246 14.1659 4.44015 14.1624 4.48 14.1183L4.82902 13.7326C4.86888 13.6885 4.8653 13.6211 4.82106 13.5815C4.79891 13.5616 4.77096 13.5526 4.74351 13.554ZM13.2557 13.5546C13.2283 13.553 13.2003 13.5622 13.1782 13.582C13.1339 13.6216 13.1304 13.689 13.1702 13.7331L13.5191 14.1189C13.559 14.1629 13.6267 14.1665 13.6709 14.1268C13.7152 14.0872 13.7188 14.0197 13.6789 13.9757L13.33 13.5899C13.31 13.5679 13.2832 13.556 13.2557 13.5546ZM6.70373 13.9825C6.66184 13.9815 6.62172 14.0053 6.60352 14.0459L6.09833 15.1729C6.07406 15.227 6.09831 15.29 6.1527 15.3142C6.20709 15.3383 6.27041 15.3142 6.29467 15.2601L6.79986 14.1331C6.82412 14.079 6.79987 14.016 6.74548 13.9918C6.7319 13.9858 6.71769 13.9828 6.70373 13.9825ZM11.2893 13.9856C11.2754 13.9858 11.2612 13.9888 11.2476 13.9949C11.1932 14.0189 11.1688 14.0819 11.193 14.1361L11.6966 15.2637C11.7208 15.3179 11.7841 15.3421 11.8385 15.318C11.8929 15.294 11.9173 15.231 11.8931 15.1768L11.3895 14.0492C11.3714 14.0086 11.3312 13.9848 11.2893 13.9856ZM5.81602 14.3309C5.78162 14.3332 5.74907 14.3522 5.73047 14.3843L5.46968 14.8338C5.4399 14.8851 5.45745 14.9503 5.50902 14.9799C5.5606 15.0096 5.62609 14.9921 5.65586 14.9408L5.91665 14.4912C5.94642 14.4399 5.92888 14.3747 5.8773 14.3451C5.85797 14.334 5.83666 14.3295 5.81602 14.3309ZM12.1839 14.3309C12.1632 14.3294 12.142 14.334 12.1226 14.3451C12.071 14.3747 12.0535 14.4399 12.0833 14.4913L12.3441 14.9408C12.3738 14.9921 12.4393 15.0096 12.4909 14.98C12.5425 14.9503 12.56 14.8851 12.5302 14.8338L12.2695 14.3843C12.2508 14.3522 12.2183 14.3333 12.1839 14.3309ZM7.82838 14.347C7.7783 14.3465 7.73343 14.3811 7.7226 14.4318L7.46493 15.6389C7.45254 15.6969 7.48949 15.7535 7.54774 15.7658C7.606 15.7782 7.66286 15.7414 7.67523 15.6834L7.93291 14.4763C7.94529 14.4183 7.90834 14.3617 7.85009 14.3494C7.84281 14.3479 7.83553 14.347 7.82838 14.347ZM10.1677 14.3478C10.1605 14.3479 10.1533 14.3486 10.146 14.3501C10.0878 14.3624 10.0508 14.4189 10.0631 14.4769L10.3199 15.6842C10.3323 15.7422 10.3891 15.779 10.4474 15.7667C10.5056 15.7544 10.5426 15.6979 10.5303 15.6399L10.2734 14.4326C10.2626 14.3819 10.2178 14.3474 10.1677 14.3478ZM8.99994 14.4696C8.94038 14.4696 8.89244 14.5173 8.89244 14.5766V15.8106C8.89244 15.8699 8.94038 15.9176 8.99994 15.9176C9.05949 15.9176 9.10743 15.8699 9.10743 15.8106V14.5766C9.10743 14.5173 9.05949 14.4696 8.99994 14.4696ZM7.02668 14.8683C6.98493 14.8719 6.94747 14.8996 6.93366 14.9419L6.77244 15.4356C6.75403 15.492 6.7848 15.5521 6.84143 15.5704C6.89807 15.5888 6.95849 15.5581 6.9769 15.5017L7.13812 15.0081C7.15653 14.9517 7.12576 14.8916 7.06913 14.8733C7.05499 14.8687 7.0406 14.8672 7.02668 14.8683ZM10.9724 14.8686C10.9584 14.8673 10.9441 14.8688 10.9299 14.8735C10.8733 14.8918 10.8425 14.9519 10.8609 15.0083L11.022 15.502C11.0405 15.5584 11.1009 15.589 11.1575 15.5707C11.2142 15.5523 11.245 15.4923 11.2266 15.4359L11.0653 14.9422C11.0515 14.8999 11.0141 14.8721 10.9724 14.8686ZM8.32517 15.1435C8.27532 15.1483 8.23426 15.1873 8.22881 15.2388L8.1743 15.7551C8.16807 15.8141 8.21074 15.8665 8.26996 15.8727C8.32919 15.8789 8.3819 15.8364 8.38813 15.7775L8.44264 15.2612C8.44888 15.2023 8.40621 15.1498 8.34698 15.1436C8.33958 15.1429 8.3323 15.1429 8.32517 15.1435ZM9.67038 15.1441C9.66326 15.1433 9.65593 15.1433 9.64852 15.1441C9.58929 15.1503 9.54658 15.2027 9.55276 15.2617L9.60695 15.778C9.61313 15.8369 9.66579 15.8794 9.72503 15.8732C9.78426 15.8671 9.82697 15.8147 9.82079 15.7557L9.76664 15.2394C9.76123 15.1879 9.72023 15.1489 9.67038 15.1441Z" fill="#F4F2F3"></path><g opacity="0.409" filter="url(#filter1_f_232_10586)"><path d="M14.0382 4.68274L8.15683 8.08356L4.43823 13.9098L9.87824 9.89966L14.0382 4.68274Z" fill="black"></path></g><path d="M9.84301 9.84055L8.15723 8.08353L14.1374 4.07983L9.84301 9.84055Z" fill="#FF5150"></path><path d="M9.84292 9.84063L8.15713 8.08362L3.86279 13.8443L9.84292 9.84063Z" fill="#F1F1F1"></path><path opacity="0.243" d="M3.86279 13.8443L9.84292 9.84055L14.1373 4.07983L3.86279 13.8443Z" fill="black"></path><defs><filter id="filter0_f_232_10586" x="0.688705" y="1.62352" width="16.6231" height="15.9814" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="0.302498" result="effect1_foregroundBlur_232_10586"></feGaussianBlur></filter><filter id="filter1_f_232_10586" x="4.26628" y="4.51078" width="9.94377" height="9.57096" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="0.0859783" result="effect1_foregroundBlur_232_10586"></feGaussianBlur></filter><linearGradient id="paint0_linear_232_10586" x1="8.99971" y1="16.9237" x2="8.99971" y2="0.999958" gradientUnits="userSpaceOnUse"><stop stop-color="#BDBDBD"></stop><stop offset="1" stop-color="white"></stop></linearGradient><radialGradient id="paint1_radial_232_10586" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.03308 7.89198) scale(7.99997 7.96192)"><stop stop-color="#06C2E7"></stop><stop offset="0.25" stop-color="#0DB8EC"></stop><stop offset="0.5" stop-color="#12AEF1"></stop><stop offset="0.75" stop-color="#1F86F9"></stop><stop offset="1" stop-color="#107DDD"></stop></radialGradient></defs></svg>');function v3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=g3();let i;A(()=>i=j(r,i,{viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var m3=N('<svg><path d="M7.99962 0.00107943C3.58157 0.00107943 0 3.58265 0 8.0007C0 12.2909 3.37753 15.7923 7.61864 15.991C7.7452 15.997 7.87197 16.0004 7.99974 16.0004C10.0479 16.0004 11.9157 15.2302 13.331 13.9646C12.3933 14.5864 11.297 14.9443 10.1254 14.9443C8.22031 14.9443 6.51416 13.9992 5.36668 12.5088C4.48211 11.4647 3.90919 9.92121 3.87016 8.18901V7.81228C3.90917 6.08014 4.48209 4.53635 5.36646 3.49244C6.51411 2.0021 8.2202 1.05702 10.1251 1.05702C11.2971 1.05702 12.3936 1.41484 13.3314 2.03712C11.923 0.777236 10.0664 0.00868366 8.02971 0.00112034C8.01956 0.00112034 8.00961 0.000724167 7.99946 0.000724167L7.99962 0.00107943Z" fill="url(#paint0_linear_232_10612)"></path><path d="M5.3667 3.49288C6.10082 2.62623 7.04889 2.10363 8.0847 2.10363C10.4136 2.10363 12.3012 4.74402 12.3012 8.00105C12.3012 11.2581 10.4135 13.8985 8.0847 13.8985C7.04889 13.8985 6.10082 13.3761 5.3669 12.5094C6.51435 13.9997 8.22036 14.9448 10.1256 14.9448C11.2973 14.9448 12.3936 14.587 13.3312 13.9651C14.9686 12.5003 15.9997 10.3711 15.9997 8.0011C15.9997 5.63136 14.9688 3.50234 13.3318 2.03765C12.3939 1.41537 11.2974 1.05755 10.1256 1.05755C8.22055 1.05755 6.51418 2.00254 5.3667 3.49288Z" fill="url(#paint1_linear_232_10612)"></path><defs><linearGradient id="paint0_linear_232_10612" x1="6.66588" y1="0.261846" x2="6.66588" y2="15.7678" gradientUnits="userSpaceOnUse"><stop stop-color="#FF1B2D"></stop><stop offset="0.3" stop-color="#FF1B2D"></stop><stop offset="0.614" stop-color="#FF1B2D"></stop><stop offset="1" stop-color="#A70014"></stop></linearGradient><linearGradient id="paint1_linear_232_10612" x1="10.683" y1="1.17591" x2="10.683" y2="14.8901" gradientUnits="userSpaceOnUse"><stop stop-color="#9C0000"></stop><stop offset="0.7" stop-color="#FF4B4B"></stop><stop offset="1" stop-color="#FF4B4B"></stop></linearGradient></defs></svg>');function b3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=m3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var C3=N('<svg><path d="M14.4437 11.9062C14.2291 12.0177 14.0079 12.1159 13.7812 12.2C13.0634 12.4672 12.3033 12.6027 11.5375 12.6C8.5812 12.6 6.0062 10.5688 6.0062 7.95625C6.01004 7.60643 6.10703 7.26394 6.28719 6.96405C6.46734 6.66415 6.72416 6.41768 7.0312 6.25C4.3562 6.3625 3.6687 9.15 3.6687 10.7812C3.6687 15.4062 7.92495 15.8687 8.8437 15.8687C9.33745 15.8687 10.0812 15.725 10.5312 15.5813L10.6125 15.5562C12.3346 14.9611 13.8027 13.7972 14.775 12.2563C14.8032 12.2094 14.8153 12.1546 14.8095 12.1003C14.8036 12.0459 14.7801 11.9949 14.7425 11.9552C14.7049 11.9155 14.6553 11.8892 14.6013 11.8804C14.5474 11.8715 14.492 11.8806 14.4437 11.9062Z" fill="url(#paint0_linear_232_10617)"></path><path opacity="0.35" d="M14.4437 11.9062C14.2291 12.0177 14.0079 12.1159 13.7812 12.2C13.0634 12.4672 12.3033 12.6027 11.5375 12.6C8.5812 12.6 6.0062 10.5688 6.0062 7.95625C6.01004 7.60643 6.10703 7.26394 6.28719 6.96405C6.46734 6.66415 6.72416 6.41768 7.0312 6.25C4.3562 6.3625 3.6687 9.15 3.6687 10.7812C3.6687 15.4062 7.92495 15.8687 8.8437 15.8687C9.33745 15.8687 10.0812 15.725 10.5312 15.5813L10.6125 15.5562C12.3346 14.9611 13.8027 13.7972 14.775 12.2563C14.8032 12.2094 14.8153 12.1546 14.8095 12.1003C14.8036 12.0459 14.7801 11.9949 14.7425 11.9552C14.7049 11.9155 14.6553 11.8892 14.6013 11.8804C14.5474 11.8715 14.492 11.8806 14.4437 11.9062Z" fill="url(#paint1_radial_232_10617)"></path><path d="M6.60619 15.0812C6.04987 14.7357 5.56764 14.2832 5.18744 13.75C4.75328 13.1557 4.45442 12.4736 4.31185 11.7516C4.16928 11.0296 4.18644 10.2851 4.36213 9.57046C4.53782 8.85578 4.86779 8.1882 5.32887 7.61458C5.78996 7.04097 6.37099 6.5752 7.03119 6.24998C7.23119 6.15623 7.56244 5.99373 8.00619 5.99998C8.31845 6.00239 8.62591 6.07699 8.90456 6.21794C9.1832 6.35889 9.42548 6.56237 9.61244 6.81248C9.86392 7.15065 10.0018 7.55982 10.0062 7.98123C10.0062 7.96873 11.5374 3.00623 5.00619 3.00623C2.26244 3.00623 0.00619129 5.60623 0.00619129 7.89373C-0.00472213 9.10207 0.253615 10.2977 0.762441 11.3937C1.59574 13.1681 3.05153 14.5748 4.85346 15.3467C6.6554 16.1186 8.67804 16.2021 10.5374 15.5812C9.88601 15.787 9.19768 15.8488 8.52 15.7625C7.84233 15.6762 7.19149 15.4437 6.61244 15.0812H6.60619Z" fill="url(#paint2_linear_232_10617)"></path><path opacity="0.41" d="M6.60619 15.0812C6.04987 14.7357 5.56764 14.2832 5.18744 13.75C4.75328 13.1557 4.45442 12.4736 4.31185 11.7516C4.16928 11.0296 4.18644 10.2851 4.36213 9.57046C4.53782 8.85578 4.86779 8.1882 5.32887 7.61458C5.78996 7.04097 6.37099 6.5752 7.03119 6.24998C7.23119 6.15623 7.56244 5.99373 8.00619 5.99998C8.31845 6.00239 8.62591 6.07699 8.90456 6.21794C9.1832 6.35889 9.42548 6.56237 9.61244 6.81248C9.86392 7.15065 10.0018 7.55982 10.0062 7.98123C10.0062 7.96873 11.5374 3.00623 5.00619 3.00623C2.26244 3.00623 0.00619129 5.60623 0.00619129 7.89373C-0.00472213 9.10207 0.253615 10.2977 0.762441 11.3937C1.59574 13.1681 3.05153 14.5748 4.85346 15.3467C6.6554 16.1186 8.67804 16.2021 10.5374 15.5812C9.88601 15.787 9.19768 15.8488 8.52 15.7625C7.84233 15.6762 7.19149 15.4437 6.61244 15.0812H6.60619Z" fill="url(#paint3_radial_232_10617)"></path><path d="M9.525 9.3C9.46875 9.3625 9.3125 9.45625 9.3125 9.65C9.3125 9.8125 9.41875 9.975 9.6125 10.1062C10.5062 10.7312 12.2 10.6438 12.2062 10.6438C12.8725 10.6433 13.5265 10.4642 14.1 10.125C14.6774 9.78729 15.1565 9.30452 15.4897 8.72458C15.823 8.14463 15.9989 7.48764 16 6.81875C16.0188 5.41875 15.5 4.4875 15.2937 4.075C13.9625 1.4875 11.1063 3.91651e-08 8 3.91651e-08C5.89762 -0.000207848 3.87965 0.827187 2.38255 2.30323C0.885453 3.77928 0.0295648 5.78532 0 7.8875C0.03125 5.60625 2.3 3.7625 5 3.7625C5.21875 3.7625 6.46875 3.78125 7.625 4.3875C8.43732 4.79116 9.11001 5.42902 9.55625 6.21875C9.9375 6.88125 10.0062 7.725 10.0062 8.0625C10.0062 8.4 9.8375 8.89375 9.51875 9.30625L9.525 9.3Z" fill="url(#paint4_radial_232_10617)"></path><path d="M9.525 9.3C9.46875 9.3625 9.3125 9.45625 9.3125 9.65C9.3125 9.8125 9.41875 9.975 9.6125 10.1062C10.5062 10.7312 12.2 10.6438 12.2062 10.6438C12.8725 10.6433 13.5265 10.4642 14.1 10.125C14.6774 9.78729 15.1565 9.30452 15.4897 8.72458C15.823 8.14463 15.9989 7.48764 16 6.81875C16.0188 5.41875 15.5 4.4875 15.2937 4.075C13.9625 1.4875 11.1063 3.91651e-08 8 3.91651e-08C5.89762 -0.000207848 3.87965 0.827187 2.38255 2.30323C0.885453 3.77928 0.0295648 5.78532 0 7.8875C0.03125 5.60625 2.3 3.7625 5 3.7625C5.21875 3.7625 6.46875 3.78125 7.625 4.3875C8.43732 4.79116 9.11001 5.42902 9.55625 6.21875C9.9375 6.88125 10.0062 7.725 10.0062 8.0625C10.0062 8.4 9.8375 8.89375 9.51875 9.30625L9.525 9.3Z" fill="url(#paint5_radial_232_10617)"></path><defs><linearGradient id="paint0_linear_232_10617" x1="3.6687" y1="11.0625" x2="14.8187" y2="11.0625" gradientUnits="userSpaceOnUse"><stop stop-color="#0C59A4"></stop><stop offset="1" stop-color="#114A8B"></stop></linearGradient><radialGradient id="paint1_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.82495 11.1466) scale(5.9625 5.66437)"><stop offset="0.7" stop-opacity="0"></stop><stop offset="0.9" stop-opacity="0.5"></stop><stop offset="1"></stop></radialGradient><linearGradient id="paint2_linear_232_10617" x1="9.54369" y1="6.22498" x2="2.58744" y2="13.8062" gradientUnits="userSpaceOnUse"><stop stop-color="#1B9DE2"></stop><stop offset="0.2" stop-color="#1595DF"></stop><stop offset="0.7" stop-color="#0680D7"></stop><stop offset="1" stop-color="#0078D4"></stop></linearGradient><radialGradient id="paint3_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(4.40963 12.4335) rotate(-81.3844) scale(8.96163 7.24009)"><stop offset="0.8" stop-opacity="0"></stop><stop offset="0.9" stop-opacity="0.5"></stop><stop offset="1"></stop></radialGradient><radialGradient id="paint4_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(1.61812 2.95725) rotate(92.2906) scale(12.6601 26.9634)"><stop stop-color="#35C1F1"></stop><stop offset="0.1" stop-color="#34C1ED"></stop><stop offset="0.2" stop-color="#2FC2DF"></stop><stop offset="0.3" stop-color="#2BC3D2"></stop><stop offset="0.7" stop-color="#36C752"></stop></radialGradient><radialGradient id="paint5_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(15.0038 4.83125) rotate(73.7398) scale(6.08125 4.94527)"><stop stop-color="#66EB6E"></stop><stop offset="1" stop-color="#66EB6E" stop-opacity="0"></stop></radialGradient></defs></svg>');function y3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=C3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var _3=N('<svg><rect opacity="0.2" x="1" y="1" width="14" height="14" rx="2" fill="currentColor"></rect><rect x="1.5" y="1.5" width="13" height="13" rx="1.5" stroke="currentColor"></rect></svg>');function La(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=_3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var x3=V("<div><!></div>");function Nl(e,t){ot(t,!0);const n=Y(t,"size",3,"tw-it"),r={Chrome:h3,Firefox:w3,Safari:v3,Opera:b3,Edge:y3},i=H(()=>{var a;return r[(a=t.browser)==null?void 0:a.name]||La});var s=x3(),o=y(s);ms(o,()=>h(i),(a,l)=>{l(a,{get class(){return n()}})}),A(()=>{var a,l;U(s,1,z(n())),lt(s,"data-cursor-text",`${(a=t.browser)==null?void 0:a.name} / ${(l=t.browser)==null?void 0:l.v}`)}),E(e,s),at()}var k3=V('<button><!></button> <div><div class="tw-qq flex tw-cr tw-pp tw-wr tw-ko tw-ui border tw-ji tw-dm tw-ni tw-ns"><!> <div class="flex tw-vr"><p> </p> <span class="tw-xk">×</span> <p> </p></div></div> <div class="tw-qq flex tw-cr tw-pp tw-wr tw-ko tw-ui border tw-ji tw-dm tw-ni tw-ns"><!> <div class="flex tw-vt tw-dm"><p> </p> <div class="tw-hw tw-qq tw-ko"></div> <p> </p></div></div></div>',1),E3=V("<div><div><div><!></div> <!> <div><!></div></div></div>");function S3(e,t){ot(t,!0);const n=Y(t,"opened",3,!1),r=Y(t,"disabled",3,!1),i=()=>{const C=document.querySelector(t.selector);C&&kt.scrollIntoView(C),_e.scrollingToElement=!0};let s=M(!1);var o=E3();let a;var l=y(o);U(l,1,z(["tw-lw flex tw-wr","group-hover/card:w-[60px] tw-ax tw-hk group-disabled/card:w-[60px]","tw-nj tw-wl tw-fn"]));var c=y(l);c.__mouseover=i;var u=y(c);{var p=C=>{d3(C,{class:"tw-it tw-gr"})},f=C=>{c3(C,{class:"tw-it"})};nt(u,C=>{t.invalid?C(p):C(f,!1)})}var w=$(c,2);X0(w,{floatingConfig:{computePosition:{placement:"top-end",strategy:"fixed"}},openDelay:100,closeOnPointerDown:!1,get open(){return h(s)},set open(_){x(s,T(_))},children:(_,b=Oe)=>{var v=k3(),S=mt(v);let O;var F=y(S);Sa(F,{height:"tw-lw",get resolution(){return t.resolution}});var P=$(S,2);let D;var K=y(P),Z=y(K);Sa(Z,{height:"tw-kw",get resolution(){return t.resolution}});var Q=$(Z,2),J=y(Q),Ot=y(J),ct=$(J,4),gt=y(ct),At=$(K,2),$t=y(At);Nl($t,{size:"tw-ht",get browser(){return t.browser}});var It=$($t,2),Mt=y(It),jt=y(Mt),cr=$(Mt,4),Aa=y(cr);A(()=>{var ho,Zi,po,wo;O=j(S,O,{class:["tw-vk tw-w tw-mf tw-ke fubi-show-cursor","tw-kp tw-w group-disabled/card:opacity-100"],...b().trigger}),D=j(P,D,{class:"bg-neutral-800/60 tw-qj tw-wi drop-shadow-xl p-1.5 z-[210000002] tw-lp outline-black/10 tw-fq tw-bf tw-al flex tw-iq tw-ut tw-mn",...b().content}),tt(Ot,(ho=t.resolution)==null?void 0:ho.w),tt(gt,(Zi=t.resolution)==null?void 0:Zi.h),tt(jt,(po=t.browser)==null?void 0:po.name),tt(Aa,(wo=t.browser)==null?void 0:wo.v)}),E(_,v)},$$slots:{default:!0}});var g=$(w,2),m=y(g);E0(m,{get comment(){return t.comment},get visible(){return r()}}),A(()=>{a=U(o,1,z(["tw-lw flex tw-nj tw-am tw-fn tw-ju tw-gs absolute"]),null,a,{opened:n()}),U(c,1,z(["tw-nj tw-wl tw-fn fubi-show-cursor tw-vk tw-mf",t.invalid?"text-orange-500/60 hover:text-orange-500":r()||Qe.inView?"tw-kp tw-lc":"tw-kp tw-w"]))}),E(e,o),at()}me(["mouseover"]);var L3=V("<img>"),O3=V("<div> <!></div>");function $3(e,t){ot(t,!0);let n=Y(t,"small",3,!1),r=H(()=>{var c,u,p,f;return`${((u=(c=t.user)==null?void 0:c.first_name)==null?void 0:u.charAt(0))||""}${((f=(p=t.user)==null?void 0:p.last_name)==null?void 0:f.charAt(0))||""}`}),i=H(()=>{var c,u,p;return`${(c=I==null?void 0:I.config)==null?void 0:c.backend}/api/files/users/${(u=t.user)==null?void 0:u.id}/${(p=t.user)==null?void 0:p.avatar}`});var s=O3(),o=y(s),a=$(o);{var l=c=>{var u=L3();A(()=>{var p,f;lt(u,"src",`${h(i)}`),lt(u,"alt",`${(p=t.user)==null?void 0:p.first_name} ${(f=t.user)==null?void 0:f.last_name}`),U(u,1,z(["absolute tw-yr tw-im tw-jm",n()?"tw-jr":"tw-jt"]))}),E(c,u)};nt(a,c=>{var u;h(i)&&((u=t.user)!=null&&u.avatar)&&c(l)})}A(()=>{var c;lt(s,"style",`--bg-color: ${((c=t.user)==null?void 0:c.color)||"#00A6F5"};`),U(s,1,z(["tw-jm tw-lb tw-xo uppercase tw-fu flex tw-dm tw-lp tw-jh tw-ni tw-hn relative tw-ba tw-am tw-s tw-nj tw-fn tw-fa done:scale-75 done:opacity-0",n()?"tw-jr tw-nh":"tw-jt tw-oh"])),tt(o,`${h(r)??""} `)}),E(e,s),at()}var T3=(e,t,n)=>!t()&&n(),A3=V('<div><!> <button><!> <p class="tw-kj tw-wk new:text-white/60 tw-zp tw-ct done:text-white/30 line-clamp-4"> </p></button></div>');function zl(e,t){ot(t,!0);const n="card";let r=Y(t,"disabled",3,!1),i=H(()=>t.comment||{id:0,selector:null,tag:null,status:"done",invalid:!1,text:"",participants:[],unread:!1,expand:{created_by:{first_name:"",last_name:""}}}),s=H(()=>h(i).selector),o=H(()=>h(i).tag),a=H(()=>h(i).status),l=H(()=>h(i).invalid),c=H(()=>h(i).text),u=H(()=>h(i).participants),p=H(()=>h(i).unread);const f=()=>{k.emit(n,"mouseenter",{target:document.querySelector(h(s))})},w=()=>{k.emit(n,"clicked",h(s))};var g=A3();let m;var C=y(g);const _=H(()=>{var P,D;return(D=(P=t.comment)==null?void 0:P.info)==null?void 0:D.resolution}),b=H(()=>{var P,D;return(D=(P=t.comment)==null?void 0:P.info)==null?void 0:D.browser});S3(C,{get comment(){return t.comment},get selector(){return h(s)},get tag(){return h(o)},get resolution(){return h(_)},get browser(){return h(b)},get invalid(){return h(l)},get disabled(){return r()}});var v=$(C,2);v.__click=[T3,r,w];var S=y(v);b0(S,{get users(){return h(u)},get unread(){return h(p)}});var O=$(S,2),F=y(O);A(()=>{var P;lt(g,"data-fubi-selector",h(s)),m=U(g,1,z(["fubi-card-wrapper flex tw-iq tw-ut group/card relative outline tw-jh","fubi-ignore-stop fubi-hide-cursor fubi-show-hover"]),null,m,{new:((P=t.comment)==null?void 0:P.unread)>0&&h(a)!=="done",done:h(a)==="done",invalid:h(l),disabled:r()}),U(v,1,z(["flex tw-iq tw-wr","tw-sw tw-eg tw-vl ease-in-out tw-ti",!h(l)&&"new:bg-white/4 new:hover:bg-white/8 new:border-t new:border-t-white/5 new:shadow-lg",!h(l)&&"tw-ac disabled:done:bg-white/0 disabled:done:outline-white/5","tw-jf disabled:select-text"])),tt(F,h(c))}),Zt("mouseenter",v,()=>!r()&&f()),E(e,g),at()}me(["click"]);var M3=N('<svg><path d="M9 1L5 5L1 1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Zl(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=M3();let i;A(()=>i=j(r,i,{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}const I3=(e,t)=>{t(!t())};var F3=V('<div class="absolute tw-gq tw-ts tw-ot tw-kq tw-lc tw-qt hidden"></div>'),P3=V('<div><div><button><div class="flex tw-vr tw-ip"><p class="tw-rm tw-ep tw-xo"> </p> <div><span class="tw-js">Toggle visibility</span> <!></div></div> <div><span> </span> <div></div></div></button> <div></div></div> <div><div data-lenis-prevent=""></div></div> <!></div>');function Oa(e,t){ot(t,!0);let n=Y(t,"opened",15),r=Y(t,"type",3,"default"),i=M(0),s=new ea(0,{duration:500,easing:Is});const o="thread-list";zt(()=>{s.set(n()?h(i)<0?0:h(i):0)});const a=()=>{k.emit(o,"mouseleave")};var l=ne(),c=mt(l);{var u=p=>{var f=P3(),w=y(f);U(w,1,z(["sticky tw-yo tw-ts tw-iw group/header tw-di tw-pf"]));var g=y(w);g.__click=[I3,n];var m=y(g),C=y(m),_=y(C),b=$(C,2),v=$(y(b),2);const S=H(()=>["tw-sr tw-tb tw-yl tw-fn tw-xo",n()?"tw-fr":"tw-tp"]);Zl(v,{get class(){return h(S)}});var O=$(m,2);U(O,1,z(["tw-wn tw-vf tw-fu flex tw-dm tw-ni tw-co tw-hn tw-jm tw-oe tw-yl tw-fn tw-jo relative tw-yk"]));var F=y(O),P=y(F),D=$(F,2),K=$(g,2),Z=$(w,2),Q=y(Z);vs(Q,31,()=>t.comments,ct=>ct.id,(ct,gt,At)=>{var $t=ne(),It=mt($t);Vu(It,()=>"div",!1,(Mt,jt)=>{Zu(Mt,()=>l0,()=>({duration:500,easing:Is})),Ct(1,Mt,()=>f0,()=>({key:h(At)})),Ct(2,Mt,()=>d0,()=>({key:h(At)})),zl(jt,{get comment(){return h(gt)},get index(){return h(At)}})}),E(ct,$t)});var J=$(Z,2);{var Ot=ct=>{var gt=F3();E(ct,gt)};nt(J,ct=>{t.comments.length>0&&ct(Ot)})}A(()=>{lt(f,"data-opened",n()?"true":null),U(f,1,z(["tw-cx relative group tw-iv tw-ui tw-pf",r()==="default"&&"tw-ll",r()==="done"&&"tw-kl",r()==="mine"&&"tw-il",!n()&&"tw-hk"])),lt(g,"data-opened",n()?"true":null),U(g,1,z(["tw-tq tw-qp tw-mp flex tw-fh tw-dm tw-sf tw-eq tw-ze tw-q tw-ts tw-iw tw-ot tw-nj tw-yl tw-fn tw-fq",t.comments.length>0&&"tw-oa",r()==="default"&&"tw-ll tw-yc tw-ki",r()==="done"&&"tw-kl tw-xc tw-wb",r()==="mine"&&"tw-il tw-wc tw-ae",n()?"":"tw-pf"])),tt(_,t.name),U(b,1,z(["tw-yw tw-nj tw-yl tw-fn flex tw-dm",n()?"tw-mq":"tw-lq tw-gg tw-kp tw-n tw-o"])),tt(P,t.comments.length),U(D,1,z(["tw-ft tw-jm tw-fo tw-iu tw-fs absolute","hidden"])),U(K,1,z(["absolute tw-gq tw-ts tw-ot tw-nq tw-lc tw-qt tw-hg tw-fe",(!n()||t.comments.length===0)&&"hidden"])),lt(Z,"style",`height: ${s.current??""}px`),U(Z,1,z(["tw-z tw-pu relative tw-hk",!n()&&"tw-lc"])),U(Q,1,z(["flex tw-iq tw-ut relative tw-rs tw-nn",t.comments.length>0?"tw-rw":"tw-qw"]))}),Zt("mouseleave",Z,a),jo(Q,"clientHeight",ct=>x(i,ct)),Ct(3,f,()=>Xn,()=>({duration:500,easing:Is})),E(p,f)};nt(c,p=>{t.comments.length>0&&p(u)})}E(e,l),at()}me(["click"]);var R3=V('<div class="flex py-4 tw-dm tw-ni tw-jo tw-ws mb-0.5 rounded-t-[8px] rounded-b-[12px]"><div class="flex tw-dm tw-ni tw-ns tw-xk tw-fq border-t-white/4 tw-cw tw-xv tw-wm tw-vo">No comments</div></div>'),H3=V('<div id="fubi-page-threads" class="fubi-page"><!> <div id="fubi-page-threads-backdrop"></div> <div id="fubi-threads-list-wrapper"><!> <!> <div class="flex tw-iq tw-ut tw-lv"><!> <!> <!></div></div></div>');function V3(e,t){ot(t,!0);let n=M(null),r=M(null),i=M(0),s=M(0);function o(){x(i,T(h(n).scrollTop)),x(s,T(h(r).clientHeight))}var a=H3(),l=y(a);i0(l,{});var c=$(l,4);let u;var p=y(c);{var f=v=>{a0(v,{})};nt(p,v=>{(Tt.current.new||Tt.data===null)&&v(f)})}var w=$(p,2);{var g=v=>{var S=R3();E(v,S)};nt(w,v=>{R.data.length===0&&!Tt.loading&&!Tt.current.new&&v(g)})}var m=$(w,2),C=y(m);Oa(C,{name:"Mine",type:"mine",get comments(){return R.mine},get opened(){return R.mineOpened},set opened(v){R.mineOpened=v}});var _=$(C,2);Oa(_,{name:"Other",get comments(){return R.other},get opened(){return R.otherOpened},set opened(v){R.otherOpened=v}});var b=$(_,2);Oa(b,{name:"Done",type:"done",get comments(){return R.done},get opened(){return R.doneOpened},set opened(v){R.doneOpened=v}}),gn(c,v=>x(r,v),()=>h(r)),gn(a,v=>x(n,v),()=>h(n)),A(()=>u=U(c,1,"",null,u,{loading:Tt.loading})),Zt("scroll",a,o),E(e,a),at()}var D3=N('<svg><path d="M3.03324 1.01662L15.2111 7.10557C15.9482 7.4741 15.9482 8.5259 15.2111 8.89443L3.03324 14.9834C2.255 15.3725 1.38547 14.6509 1.62451 13.8142L2.79278 9.72528C2.91544 9.29598 3.30782 9 3.7543 9H7C7.55228 9 8 8.55229 8 8C8 7.44772 7.55228 7 7 7H3.7543C3.30782 7 2.91543 6.70402 2.79278 6.27472L1.62451 2.18577C1.38547 1.34914 2.255 0.627499 3.03324 1.01662Z" fill="currentColor"></path></svg>');function j3(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=D3();let i;A(()=>i=j(r,i,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var q3=N('<svg><path d="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z" fill="currentColor"></path></svg>');function Wl(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=q3();let i;A(()=>i=j(r,i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",...n},void 0,!0)),E(e,r)}var U3=V("<div><div><!></div> <p> </p></div>"),B3=V('<div><div><!> <div><div> </div> <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7 0H17C17 10 8.5 16 0 16C7 12.5 7 7.5 7 0Z" fill="currentColor"></path></svg></div></div></div>');function N3(e,t){ot(t,!0);const n=Y(t,"total",3,0),r=Y(t,"hideAuthor",3,!1),i=Y(t,"latest",3,!1);var s=B3(),o=y(s),a=y(o);{var l=w=>{var g=U3(),m=y(g),C=y(m);$3(C,{get user(){return t.author},small:!0});var _=$(m,2);U(_,1,z(["tw-ag tw-uf tw-br"]));var b=y(_);A(()=>{U(g,1,z(["relative tw-gv",t.mine?"tw-bv":"tw-av"])),U(m,1,z(["tw-vn tw-ps tw-u absolute",t.mine?"tw-x tw-fs":"tw-p tw-ts"])),tt(b,t.mine?"You":t.name)}),E(w,g)};nt(a,w=>{var g;t.previousAuthor!==((g=t.author)==null?void 0:g.id)&&!r()&&w(l)})}var c=$(a,2),u=y(c),p=y(u),f=$(u,2);A(()=>{U(s,1,z(["wm-fubi-message tw-xv",t.mine?"wm-fubi-mine tw-gv tw-g":"wm-fubi-other tw-ev tw-e"])),U(o,1,z(["tw-ot flex tw-iq",t.mine?"tw-ip":"tw-mn"])),U(c,1,z(["tw-dw tw-xv tw-on tw-hd relative",t.mine?"tw-rj tw-qh":"tw-bi tw-dg",t.mine?"tw-zi tw-xi":"tw-aj tw-yi",t.previousAuthor!==t.author&&t.nextAuthor!==t.author&&t.mine&&"tw-aj tw-yi",(t.previousAuthor!==t.author||t.previousType!=="comment")&&t.nextAuthor===t.author&&t.mine&&t.previousType!=="comment"&&"tw-aj tw-mk",t.previousAuthor===t.author&&(t.nextAuthor!==t.author||t.nextType!=="comment")&&t.mine&&"tw-ok tw-yi",t.previousAuthor===t.author&&t.nextAuthor===t.author&&t.mine&&t.previousType==="comment"&&t.nextType==="comment"&&"tw-ok tw-mk",!t.mine&&t.previousAuthor!==t.author&&t.nextAuthor!==t.author&&"tw-zi tw-xi",!t.mine&&(t.previousAuthor!==t.author||t.previousType!=="comment")&&t.nextAuthor===t.author&&"tw-zi tw-lk",!t.mine&&t.previousAuthor===t.author&&(t.nextAuthor!==t.author||t.nextType!=="comment")&&"tw-nk tw-xi",!t.mine&&t.previousAuthor===t.author&&t.nextAuthor===t.author&&t.previousType==="comment"&&t.nextType==="comment"&&"tw-nk tw-lk"])),U(u,1,z(["tw-zp tw-ta",t.mine?"tw-xo":"tw-zf"])),tt(p,t.text),U(f,0,z(["absolute tw-gq tw-hh tw-tb tw-xl ease-in-out",t.mine?"tw-fs tw-y tw-jg":"tw-ts tw-mc",t.nextAuthor!==t.author||t.nextType!=="comment"?"tw-tn":"tw-vp"]))}),Ct(1,o,()=>Ns,()=>({duration:500,y:i()?100:-50,opacity:0,delay:50*(n()+1-t.index),easing:kr})),Ct(1,s,()=>u0,()=>({duration:500,easing:kr,enabled:i()})),Ct(2,s,()=>Sl),E(e,s),at()}var z3=V("<button><!></button>");function Z3(e,t){const n=q(t,["$$slots","$$events","$$legacy","children"]);var r=z3();let i;var s=y(r);Te(s,()=>t.children),A(()=>i=j(r,i,{class:"flex tw-dm tw-ni tw-io tw-ad tw-to tw-yn border tw-ii tw-sb tw-ut tw-nc tw-za tw-eg tw-vl ease-in-out tw-yb group/back tw-yk tw-mf ",...n})),E(e,r)}var W3=N('<svg><rect x="1.5" y="1.5" width="13" height="13" rx="1.5" stroke="currentColor"></rect><rect opacity="0.2" x="2" y="2" width="12" height="12" fill="currentColor"></rect><path fill-rule="evenodd" clip-rule="evenodd" d="M3 2C2.44772 2 2 2.44772 2 3V13L5 10L7 12L11 8L14 11V3C14 2.44772 13.5523 2 13 2H3ZM5 7C6.10457 7 7 6.10457 7 5C7 3.89543 6.10457 3 5 3C3.89543 3 3 3.89543 3 5C3 6.10457 3.89543 7 5 7Z" fill="currentColor"></path></svg>');function G3(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=W3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var K3=N('<svg><rect x="1.5" y="1.5" width="13" height="13" rx="1.5" stroke="currentColor"></rect><rect opacity="0.2" x="2" y="2" width="12" height="12" fill="currentColor"></rect><path d="M6.75725 5.45435L10.2854 7.57125C10.6091 7.76546 10.6091 8.23455 10.2854 8.42875L6.75725 10.5457C6.42399 10.7456 6 10.5056 6 10.1169V5.8831C6 5.49445 6.42399 5.25439 6.75725 5.45435Z" fill="currentColor"></path></svg>');function Y3(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=K3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var J3=N('<svg><path d="M10.6186 4.88137L9.13137 6.36863C8.73535 6.76465 8.53735 6.96265 8.30902 7.03684C8.10817 7.1021 7.89183 7.1021 7.69098 7.03684C7.46265 6.96265 7.26465 6.76465 6.86863 6.36863L5.38137 4.88137C4.98535 4.48535 4.78735 4.28735 4.71316 4.05902C4.6479 3.85817 4.6479 3.64183 4.71316 3.44098C4.78735 3.21265 4.98535 3.01465 5.38137 2.61863L6.86863 1.13137C7.26465 0.735354 7.46265 0.537345 7.69098 0.463157C7.89183 0.397899 8.10817 0.397899 8.30902 0.463157C8.53735 0.537345 8.73535 0.735354 9.13137 1.13137L10.6186 2.61863C11.0146 3.01465 11.2127 3.21265 11.2868 3.44098C11.3521 3.64183 11.3521 3.85817 11.2868 4.05902C11.2127 4.28735 11.0146 4.48535 10.6186 4.88137Z" fill="currentColor"></path><path d="M10.6186 13.3814L9.13137 14.8686C8.73535 15.2646 8.53735 15.4627 8.30902 15.5368C8.10817 15.6021 7.89183 15.6021 7.69098 15.5368C7.46265 15.4627 7.26465 15.2646 6.86863 14.8686L5.38137 13.3814C4.98535 12.9854 4.78735 12.7873 4.71316 12.559C4.6479 12.3582 4.6479 12.1418 4.71316 11.941C4.78735 11.7127 4.98535 11.5146 5.38137 11.1186L6.86863 9.63137C7.26465 9.23535 7.46265 9.03735 7.69098 8.96316C7.89183 8.8979 8.10817 8.8979 8.30902 8.96316C8.53735 9.03735 8.73535 9.23535 9.13137 9.63137L10.6186 11.1186C11.0146 11.5146 11.2127 11.7127 11.2868 11.941C11.3521 12.1418 11.3521 12.3582 11.2868 12.559C11.2127 12.7873 11.0146 12.9854 10.6186 13.3814Z" fill="currentColor"></path><path d="M6.36863 9.13137L4.88137 10.6186C4.48535 11.0146 4.28735 11.2127 4.05902 11.2868C3.85817 11.3521 3.64183 11.3521 3.44098 11.2868C3.21265 11.2127 3.01465 11.0146 2.61863 10.6186L1.13137 9.13137C0.735354 8.73535 0.537345 8.53735 0.463157 8.30902C0.397899 8.10817 0.397899 7.89183 0.463157 7.69098C0.537345 7.46265 0.735354 7.26465 1.13137 6.86863L2.61863 5.38137C3.01465 4.98535 3.21265 4.78735 3.44098 4.71316C3.64183 4.6479 3.85817 4.6479 4.05902 4.71316C4.28735 4.78735 4.48535 4.98535 4.88137 5.38137L6.36863 6.86863C6.76465 7.26465 6.96265 7.46265 7.03684 7.69098C7.1021 7.89183 7.1021 8.10817 7.03684 8.30902C6.96265 8.53735 6.76465 8.73535 6.36863 9.13137Z" fill="currentColor"></path><path d="M14.8686 9.13137L13.3814 10.6186C12.9854 11.0146 12.7873 11.2127 12.559 11.2868C12.3582 11.3521 12.1418 11.3521 11.941 11.2868C11.7127 11.2127 11.5146 11.0146 11.1186 10.6186L9.63137 9.13137C9.23535 8.73535 9.03735 8.53735 8.96316 8.30902C8.8979 8.10817 8.8979 7.89183 8.96316 7.69098C9.03735 7.46265 9.23535 7.26465 9.63137 6.86863L11.1186 5.38137C11.5146 4.98535 11.7127 4.78735 11.941 4.71316C12.1418 4.6479 12.3582 4.6479 12.559 4.71316C12.7873 4.78735 12.9854 4.98535 13.3814 5.38137L14.8686 6.86863C15.2646 7.26465 15.4627 7.46265 15.5368 7.69098C15.6021 7.89183 15.6021 8.10817 15.5368 8.30902C15.4627 8.53735 15.2646 8.73535 14.8686 9.13137Z" fill="currentColor"></path></svg>');function X3(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=J3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Q3=N('<svg><rect opacity="0.2" x="1" width="14" height="16" rx="1" fill="currentColor"></rect><path fill-rule="evenodd" clip-rule="evenodd" d="M2 0C1.44772 0 1 0.447715 1 1V15C1 15.5523 1.44772 16 2 16H14C14.5523 16 15 15.5523 15 15V1C15 0.447715 14.5523 0 14 0H2ZM14 2C14 2.55228 13.5523 3 13 3C12.4477 3 12 2.55228 12 2C12 1.44772 12.4477 1 13 1C13.5523 1 14 1.44772 14 2ZM2 5.5C2 4.94772 2.44772 4.5 3 4.5H11C11.5523 4.5 12 4.94772 12 5.5C12 6.05228 11.5523 6.5 11 6.5H3C2.44772 6.5 2 6.05228 2 5.5ZM7 12.5C7 12.2239 7.22386 12 7.5 12H13.5C13.7761 12 14 12.2239 14 12.5V14C14 14.2761 13.7761 14.5 13.5 14.5H7.5C7.22386 14.5 7 14.2761 7 14V12.5ZM2.5 7.5C2.22386 7.5 2 7.72386 2 8C2 8.27614 2.22386 8.5 2.5 8.5H8.5C8.77614 8.5 9 8.27614 9 8C9 7.72386 8.77614 7.5 8.5 7.5H2.5Z" fill="currentColor"></path></svg>');function tf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=Q3();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var ef=N('<svg><rect y="12" width="12" height="4" rx="1" fill="currentColor"></rect><rect opacity="0.2" x="1" y="6" width="14" height="2" fill="currentColor"></rect><rect x="0.5" y="5.5" width="15" height="3" rx="1" stroke="currentColor"></rect><rect opacity="0.2" x="1" y="1" width="14" height="2" fill="currentColor"></rect><rect x="0.5" y="0.5" width="15" height="3" rx="1" stroke="currentColor"></rect></svg>');function nf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=ef();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var rf=N('<svg><path d="M2 5.5H14C14.8284 5.5 15.5 6.17157 15.5 7V9C15.5 9.82843 14.8284 10.5 14 10.5H2C1.17157 10.5 0.5 9.82843 0.5 9V7C0.5 6.17157 1.17157 5.5 2 5.5Z" stroke="currentColor"></path><path opacity="0.5" d="M3 8H5.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path opacity="0.5" d="M8 8H12.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><rect opacity="0.1" x="1" y="6" width="14" height="4" rx="1" fill="currentColor"></rect></svg>');function sf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=rf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var of=N('<svg><rect y="5" width="16" height="6" rx="1" fill="currentColor"></rect><rect opacity="0.2" width="16" height="16" rx="2" fill="currentColor"></rect></svg>');function af(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=of();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var lf=N('<svg><rect opacity="0.2" width="16" height="16" rx="2" fill="currentColor"></rect><path d="M0 2C0 0.895431 0.895431 0 2 0H6C6.55228 0 7 0.447715 7 1V15C7 15.5523 6.55228 16 6 16H2C0.89543 16 0 15.1046 0 14V2Z" fill="currentColor"></path></svg>');function cf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=lf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var uf=N('<svg><rect opacity="0.2" x="1" y="2" width="14" height="12" fill="currentColor"></rect><rect x="0.5" y="2" width="15" height="12" rx="0.5" stroke="currentColor"></rect><path d="M1 6H15" stroke="currentColor" stroke-linecap="round"></path><path d="M8 13.5L8 2.5" stroke="currentColor" stroke-linecap="round"></path><path d="M1 10H15" stroke="currentColor" stroke-linecap="round"></path></svg>');function df(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=uf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var ff=N('<svg><rect opacity="0.05" x="1" y="2.5" width="14" height="3" fill="currentColor"></rect><path opacity="0.2" fill-rule="evenodd" clip-rule="evenodd" d="M0 2.5C0 1.94772 0.447715 1.5 1 1.5H15C15.5523 1.5 16 1.94772 16 2.5V13.5C16 14.0523 15.5523 14.5 15 14.5H1C0.447715 14.5 0 14.0523 0 13.5V2.5ZM1 2.5H7.5V5.5H1V2.5ZM8.5 5.5V2.5L15 2.5V5.5H8.5ZM1 6.5H7.5V9.5H1V6.5ZM1 10.5V13.5H7.5V10.5H1ZM8.5 10.5V13.5H15V10.5H8.5ZM15 9.5V6.5H8.5V9.5H15Z" fill="currentColor"></path><rect x="0.5" y="2" width="7.5" height="4" stroke="currentColor" stroke-linejoin="round"></rect></svg>');function hf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=ff();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var pf=N('<svg><path opacity="0.2" fill-rule="evenodd" clip-rule="evenodd" d="M0 2.5C0 1.94772 0.447715 1.5 1 1.5H15C15.5523 1.5 16 1.94772 16 2.5V13.5C16 14.0523 15.5523 14.5 15 14.5H1C0.447715 14.5 0 14.0523 0 13.5V2.5ZM1 2.5H7.5V5.5H1V2.5ZM8.5 5.5V2.5L15 2.5V5.5H8.5ZM1 6.5H7.5V9.5H1V6.5ZM1 10.5V13.5H7.5V10.5H1ZM8.5 10.5V13.5H15V10.5H8.5ZM15 9.5V6.5H8.5V9.5H15Z" fill="currentColor"></path><rect x="0.5" y="6" width="7.5" height="4" stroke="currentColor" stroke-linejoin="round"></rect></svg>');function wf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=pf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var gf=N('<svg><rect opacity="0.2" width="16" height="16" rx="2" fill="currentColor"></rect><rect x="8" y="2" width="8.58579" height="8.58579" rx="1" transform="rotate(45 8 2)" fill="currentColor"></rect></svg>');function vf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=gf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var mf=N('<svg><path d="M9 16V9L14 14L10.75 13.25L9 16Z" fill="currentColor"></path><path d="M14 3H2C0.895431 3 0 3.89543 0 5V9.5C0 10.6046 0.895431 11.5 2 11.5H8V10.5H2C1.44772 10.5 1 10.0523 1 9.5V5C1 4.44772 1.44772 4 2 4H14C14.5523 4 15 4.44772 15 5V9.5C15 10.0523 14.5523 10.5 14 10.5H11.9142L12.9142 11.5H14C15.1046 11.5 16 10.6046 16 9.5V5C16 3.89543 15.1046 3 14 3Z" fill="currentColor"></path><path opacity="0.2" d="M2 4C1.44772 4 1 4.44772 1 5V9.5C1 10.0523 1.44772 10.5 2 10.5H8V9.00003C8 8.59557 8.24364 8.23093 8.61732 8.07615C8.99099 7.92137 9.42111 8.00692 9.70711 8.29292L11.9142 10.5H14C14.5523 10.5 15 10.0523 15 9.5V5C15 4.44772 14.5523 4 14 4H2Z" fill="currentColor"></path></svg>');function bf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=mf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Cf=N('<svg><path fill-rule="evenodd" clip-rule="evenodd" d="M7.29305 1.63634C9.24568 -0.316282 12.4115 -0.316281 14.3642 1.63635C16.3167 3.58896 16.3167 6.75477 14.3642 8.70739L12.9498 10.1216C12.5593 10.5122 11.9261 10.5121 11.5356 10.1216C11.1451 9.73106 11.1451 9.09789 11.5357 8.70738L12.9499 7.29322C12.9499 7.2932 12.9499 7.29323 12.9499 7.29322C14.1214 6.12163 14.1214 4.22209 12.95 3.05056C11.7784 1.87898 9.87884 1.87898 8.70726 3.05056L7.29304 4.46477C6.90252 4.85529 6.26935 4.85529 5.87883 4.46477C5.48831 4.07424 5.48831 3.44107 5.87883 3.05055L7.29305 1.63634C7.29305 1.63634 7.29305 1.63634 7.29305 1.63634Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4.4638 5.87883C4.85432 6.26936 4.85432 6.90252 4.46379 7.29305L3.04958 8.70725C3.04957 8.70725 3.04958 8.70725 3.04958 8.70725C1.87801 9.87883 1.87801 11.7783 3.04958 12.9499C4.22115 14.1215 6.12064 14.1215 7.29222 12.9499L8.70643 11.5357C9.09696 11.1452 9.73012 11.1452 10.1206 11.5357C10.5112 11.9262 10.5112 12.5594 10.1206 12.9499L8.70643 14.3641C6.75381 16.3167 3.58798 16.3167 1.63536 14.3641C-0.317255 12.4115 -0.317256 9.24567 1.63536 7.29304L3.04958 5.87883C3.44011 5.48831 4.07327 5.48831 4.4638 5.87883Z" fill="currentColor"></path><path opacity="0.5" fill-rule="evenodd" clip-rule="evenodd" d="M11.5348 4.46477C11.9254 4.85529 11.9254 5.48846 11.5348 5.87898L5.878 11.5358C5.48748 11.9263 4.85431 11.9263 4.46379 11.5358C4.07327 11.1453 4.07327 10.5121 4.46379 10.1216L10.1206 4.46477C10.5111 4.07424 11.1443 4.07424 11.5348 4.46477Z" fill="currentColor"></path></svg>');function yf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=Cf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var _f=N('<svg><path d="M12 5H9V7H12V11H9V13H16V11H14V3H12V5Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function xf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=_f();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var kf=N('<svg><path d="M16 3H9V5H14V7H9V13H16V11H11V9H16V3Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function Ef(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=kf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Sf=N('<svg><path d="M16 3H9V5H14V7H9V9H14V11H9V13H16V3Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function Lf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=Sf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Of=N('<svg><path d="M11 3H9V9H14V13H16V3H14V7H11V3Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function $f(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=Of();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Tf=N('<svg><path d="M9 3H16V5H11V7H16V13H9V11H14V9H9V3Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function Af(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=Tf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Mf=N('<svg><path fill-rule="evenodd" clip-rule="evenodd" d="M16 3H9V13H16V7H11V5H16V3ZM14 9H11V11H14V9Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function If(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=Mf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Ff=N('<svg><path fill-rule="evenodd" clip-rule="evenodd" d="M4 13V3H12V9H6V13H4ZM10 5H6V7H10V5Z" fill="currentColor"></path></svg>');function Pf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=Ff();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Rf=N('<svg><rect opacity="0.5" x="4" y="3" width="11" height="2" rx="1" fill="currentColor"></rect><rect opacity="0.5" x="4" y="7" width="11" height="2" rx="1" fill="currentColor"></rect><rect opacity="0.5" x="4" y="11" width="11" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="3" width="2" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="7" width="2" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="11" width="2" height="2" rx="1" fill="currentColor"></rect></svg>');function Gl(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=Rf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Hf=N('<svg><rect opacity="0.5" x="4" y="7" width="11" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="7" width="2" height="2" rx="1" fill="currentColor"></rect></svg>');function Vf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=Hf();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var Df=N('<svg><rect opacity="0.2" width="16" height="16" rx="2" fill="currentColor"></rect><path d="M0 11C0 10.4477 0.447715 10 1 10H15C15.5523 10 16 10.4477 16 11V14C16 15.1046 15.1046 16 14 16H2C0.895431 16 0 15.1046 0 14V11Z" fill="currentColor"></path></svg>');function jf(e,t){const n=q(t,["$$slots","$$events","$$legacy"]);var r=Df();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}function Kl(e,t){ot(t,!0);const n=new Map([["default",La],["div",La],["nav",Ml],["img",G3],["video",Y3],["component",X3],["modal",tf],["form",nf],["input",sf],["section",af],["aside",cf],["table",df],["th",hf],["td",wf],["svg",vf],["button",bf],["a",yf],["h1",xf],["h2",Ef],["h3",Lf],["h4",$f],["h5",Af],["h6",If],["p",Pf],["ul",Gl],["ol",Gl],["li",Vf],["footer",jf],["page",Pl]]),r=Y(t,"name",3,"default"),i=Y(t,"size",3,""),s=H(()=>n.get(r())||n.get("default"));var o=ne(),a=mt(o);const l=H(()=>`fubi-tag-icon tw-nj tw-zl ease-in-out tw-gr tw-la ${i()||"tw-ax"}`),c=H(()=>`--icon-color: var(--icon-${r()}-color);`);ms(a,()=>h(s),(u,p)=>{p(u,{get class(){return h(l)},get style(){return h(c)}})}),E(e,o),at()}var qf=V('<div class="tw-ao tw-vk flex tw-dm tw-ut"><p class="tw-pe"></p> <div class="tw-hr tw-jm tw-wm tw-oj"></div> <p></p></div>');function Uf(e,t){ot(t,!0);const r=Y(t,"datetime",3,new Date),{date:i,time:s}=N1(r());var o=qf(),a=y(o);a.textContent=i;var l=$(a,4);l.textContent=s,E(e,o),at()}var Bf=V('<p class="tw-pe"> </p> <div class="tw-ft tw-jm tw-gr tw-ko hidden"></div> <p> </p>',1),Nf=V("<p>Now</p>"),zf=V('<div class="tw-io tw-ti tw-rv flex tw-dm tw-ni tw-ns tw-uk">This element has no comments</div>'),Zf=V('<div class="flex tw-ni tw-sv"><!></div>'),Wf=V('<div class="tw-vf tw-co flex tw-iq tw-dm tw-ni tw-ut tw-et"><div class="tw-xk tw-gn tw-dm tw-ni tw-ko tw-cw tw-wv tw-jm"><span> </span> changed status <div class="tw-uk tw-ln tw-ni"><!></div> <span> </span></div></div>'),Gf=V("<!> <!> <!>",1),Kf=V(`<p class="tw-ns tw-vk tw-vq tw-co flex tw-dm tw-ni tw-zb">Can't comment on Done threads</p>`),Yf=(e,t)=>t(e),Jf=(e,t)=>t(),Xf=V('<div><div contenteditable="true" role="textbox" aria-multiline="true" tabindex="0" id="fubi-comment-textarea" data-lenis-prevent=""></div> <button class="tw-kt rounded tw-if tw-nd tw-oe tw-wl ease-in-out tw-v tw-ua flex tw-ni tw-dm absolute tw-no tw-sp tw-qm tw-mf"><!></button> <div id="wm-fubi-comments-bottom-anchor"></div></div>'),Qf=V('<div id="fubi-page-comments" class="fubi-page flex tw-iq rounded-t-[20px]!"><div class="absolute tw-os tw-zq tw-ou"><!></div> <div class="tw-rs flex tw-iq rounded-[18px] relative tw-nu tw-ss"><div class="flex tw-df tw-ut tw-gk fubi-hide-scrollbar tw-rs tw-ip relative tw-nu" data-lenis-prevent=""><div class="tw-ot flex tw-iq tw-tt tw-nn tw-rs" data-lenis-prevent=""><div class="flex tw-rv tw-vs"><div class="flex tw-ut tw-wv tw-eu tw-zk tw-ot relative tw-nn"><div><!> <p class="capitalize tw-pe"> </p></div> <div class="tw-qq flex tw-dm tw-ni tw-ns tw-wr"><!></div></div></div> <div class="tw-rw tw-as flex tw-iq tw-ut tw-jo tw-iv tw-wi"><!> <div class="flex tw-ut tw-lh tw-rw"><div class="tw-qq flex tw-cr tw-pp tw-wr tw-ko tw-ui border tw-ji tw-dm tw-ni tw-ns"><!> <div class="flex tw-vr"><p> </p> <span class="tw-xk">×</span> <p> </p></div></div> <div class="tw-qq flex tw-cr tw-pp tw-wr tw-ko tw-ui border tw-ji tw-dm tw-ni tw-ns"><!> <div class="flex tw-vt tw-dm"><p> </p> <div class="tw-hw tw-qq tw-ko"></div> <p> </p></div></div></div></div> <!> <div><!></div></div></div></div></div>');function t4(e,t){ot(t,!0);let n=M("Start commenting..."),r=M(!0);const i=()=>{R.handleSendMessage(h(n)),x(n,"")},s=W=>{W.key==="Enter"&&!W.shiftKey&&(i(),W.preventDefault())},o=()=>{h(r)&&(x(n,""),x(r,!1))},a=()=>{h(n).length||(x(n,"Start commenting..."),x(r,!0))};let l=H(()=>Kt.getTag(X==null?void 0:X.current)),c=H(()=>{var W;return N1((W=R==null?void 0:R.current)==null?void 0:W.created)}),u=H(()=>h(c).date),p=H(()=>h(c).time);const f=(W,G)=>{var Xt;if(G===0)return!1;const ut=new Date(W==null?void 0:W.created),Ut=new Date((Xt=R==null?void 0:R.comments[G-1])==null?void 0:Xt.created);return ut&&Ut?ut-Ut>1e3*60*10:!1};var w=Qf(),g=y(w),m=y(g);Z3(m,{onclick:()=>X.reset(),children:(W,G)=>{Wl(W,{class:"tw-kw tw-jd tw-r tw-nj tw-xl ease-in-out"})},$$slots:{default:!0}});var C=$(g,2),_=y(C),b=y(_),v=y(b),S=y(v),O=y(S),F=y(O);{var P=W=>{const G=H(()=>Kt.getTag(X==null?void 0:X.current));Kl(W,{size:"tw-ax",get name(){return h(G)}})},D=W=>{zs(W,{class:"tw-it tw-gr"})};nt(F,W=>{h(l)?W(P):W(D,!1)})}var K=$(F,2),Z=y(K),Q=$(O,2),J=y(Q);{var Ot=W=>{var G=Bf(),ut=mt(G),Ut=y(ut),Xt=$(ut,4),De=y(Xt);A(()=>{tt(Ut,h(u)),tt(De,h(p))}),Ct(3,Xt,()=>Sl),E(W,G)},ct=W=>{var G=Nf();E(W,G)};nt(J,W=>{var G;(G=R==null?void 0:R.current)!=null&&G.created?W(Ot):W(ct,!1)})}var gt=$(v,2),At=y(gt);{var $t=W=>{const G=H(()=>R==null?void 0:R.current);zl(W,{get comment(){return h(G)},disabled:!0})},It=W=>{var G=zf();E(W,G)};nt(At,W=>{R!=null&&R.current?W($t):W(It,!1)})}var Mt=$(At,2),jt=y(Mt),cr=y(jt);const Aa=H(()=>{var W,G,ut;return((G=(W=R==null?void 0:R.current)==null?void 0:W.info)==null?void 0:G.resolution)||((ut=I==null?void 0:I.meta)==null?void 0:ut.resolution)});Sa(cr,{height:"tw-kw",get resolution(){return h(Aa)}});var ho=$(cr,2),Zi=y(ho),po=y(Zi),wo=$(Zi,4),D4=y(wo),j4=$(jt,2),sc=y(j4);const q4=H(()=>{var W,G,ut;return((G=(W=R==null?void 0:R.current)==null?void 0:W.info)==null?void 0:G.browser)||((ut=I==null?void 0:I.meta)==null?void 0:ut.browser)});Nl(sc,{size:"tw-ht",get browser(){return h(q4)}});var U4=$(sc,2),oc=y(U4),B4=y(oc),N4=$(oc,4),z4=y(N4),ac=$(gt,2);vs(ac,17,()=>R==null?void 0:R.comments,Iu,(W,G,ut)=>{var Ut=Gf(),Xt=mt(Ut);{var De=Bt=>{var Ft=Zf(),an=y(Ft);const je=H(()=>{var qe;return(qe=h(G))==null?void 0:qe.created});Uf(an,{get datetime(){return h(je)}}),E(Bt,Ft)};nt(Xt,Bt=>{f(h(G),ut)&&Bt(De)})}var Wi=$(Xt,2);{var go=Bt=>{var Ft=Wf(),an=y(Ft),je=y(an),qe=y(je),Mn=$(je,2),ur=y(Mn);Wl(ur,{class:"tw-jw tw-so tw-ln"});var In=$(Mn,2),dr=y(In);A(()=>{var Fn,dt,fe,Gi,cc,uc,dc;tt(qe,(fe=(dt=(Fn=h(G))==null?void 0:Fn.expand)==null?void 0:dt.created_by)==null?void 0:fe.first_name),U(In,1,z(["capitalize",((cc=(Gi=h(G))==null?void 0:Gi.info)==null?void 0:cc.status)==="done"&&"tw-hj"])),tt(dr,(dc=(uc=h(G))==null?void 0:uc.info)==null?void 0:dc.status)}),Ct(3,Ft,()=>Xn,()=>({duration:500,easing:kr})),E(Bt,Ft)};nt(Wi,Bt=>{var Ft;((Ft=h(G))==null?void 0:Ft.type)==="status"&&Bt(go)})}var vo=$(Wi,2);{var mo=Bt=>{const Ft=H(()=>{var dt,fe,Gi;return(Gi=(fe=(dt=h(G))==null?void 0:dt.expand)==null?void 0:fe.created_by)==null?void 0:Gi.first_name}),an=H(()=>{var dt,fe;return(fe=(dt=h(G))==null?void 0:dt.expand)==null?void 0:fe.created_by}),je=H(()=>{var dt;return(dt=R.comments[ut-1])==null?void 0:dt.created_by}),qe=H(()=>{var dt;return(dt=R.comments[ut-1])==null?void 0:dt.type}),Mn=H(()=>{var dt;return(dt=R.comments[ut+1])==null?void 0:dt.created_by}),ur=H(()=>{var dt;return(dt=R.comments[ut+1])==null?void 0:dt.type}),In=H(()=>{var dt;return(dt=h(G))==null?void 0:dt.text}),dr=H(()=>{var dt;return((dt=h(G))==null?void 0:dt.created_by)===_r.authStore.record.id}),Fn=H(()=>ut===R.comments.length-1);N3(Bt,{index:ut,get total(){return R.comments.length},get name(){return h(Ft)},get author(){return h(an)},get previousAuthor(){return h(je)},get previousType(){return h(qe)},get nextAuthor(){return h(Mn)},get nextType(){return h(ur)},get text(){return h(In)},get mine(){return h(dr)},get latest(){return h(Fn)}})};nt(vo,Bt=>{var Ft;((Ft=h(G))==null?void 0:Ft.type)==="comment"&&Bt(mo)})}E(W,Ut)});var lc=$(ac,2),Z4=y(lc);{var W4=W=>{var G=Kf();E(W,G)},G4=W=>{var G=Xf();U(G,1,z(["relative"]));var ut=y(G);ut.__keydown=[Yf,s];var Ut=$(ut,2);Ut.__click=[Jf,i];var Xt=y(Ut);j3(Xt,{}),A(()=>{U(ut,1,z(["tw-vc tw-ef tw-nb tw-xe border tw-ii tw-cb tw-nj tw-wl tw-sw tw-rp tw-fm tw-nt tw-ff tw-bo tw-dk tw-gk fubi-hide-scrollbar tw-to",h(r)?"tw-vk":"tw-xo"])),Ut.disabled=h(n).length<1||h(n)==="Start commenting..."}),Zt("blur",ut,a),Zt("focus",ut,o),Ku("innerText",ut,()=>h(n),De=>x(n,De)),E(W,G)};nt(Z4,W=>{var G;((G=R==null?void 0:R.current)==null?void 0:G.status)==="done"?W(W4):W(G4,!1)})}A(W=>{var G,ut,Ut,Xt,De,Wi,go,vo,mo,Bt,Ft,an,je,qe,Mn,ur,In,dr,Fn,dt,fe;U(O,1,z(["tw-qq flex tw-cr tw-pp tw-wr tw-ui border tw-dm tw-ni tw-ns absolute tw-ar tw-qe",h(l)?"tw-ji tw-ko":"tw-sl tw-zd tw-nm"])),tt(Z,W),tt(po,((Ut=(ut=(G=R==null?void 0:R.current)==null?void 0:G.info)==null?void 0:ut.resolution)==null?void 0:Ut.w)||((De=(Xt=I==null?void 0:I.meta)==null?void 0:Xt.resolution)==null?void 0:De.w)),tt(D4,((vo=(go=(Wi=R==null?void 0:R.current)==null?void 0:Wi.info)==null?void 0:go.resolution)==null?void 0:vo.h)||((Bt=(mo=I==null?void 0:I.meta)==null?void 0:mo.resolution)==null?void 0:Bt.h)),tt(B4,((je=(an=(Ft=R==null?void 0:R.current)==null?void 0:Ft.info)==null?void 0:an.browser)==null?void 0:je.name)||((Mn=(qe=I==null?void 0:I.meta)==null?void 0:qe.browser)==null?void 0:Mn.name)),tt(z4,((dr=(In=(ur=R==null?void 0:R.current)==null?void 0:ur.info)==null?void 0:In.browser)==null?void 0:dr.v)||((dt=(Fn=I==null?void 0:I.meta)==null?void 0:Fn.browser)==null?void 0:dt.v)),U(lc,1,z(["tw-rw tw-gr flex tw-iq tw-ut tw-ot tw-ts tw-gv sticky tw-gq tw-vd tw-qj tw-j tw-fq tw-ki tw-pt",((fe=R==null?void 0:R.current)==null?void 0:fe.status)==="todo"&&"tw-sa"]))},[()=>h(l)?Kt.getTagName(X==null?void 0:X.current):"Missing"]),E(e,w),at()}me(["keydown","click"]);var e4=V('<div class="tw-vw fixed tw-iu tw-ts tw-ot tw-lc tw-co tw-i tw-md tw-tb tw-xl ease-out flex tw-ck"><p class="tw-qu tw-yv tw-sm tw-jm tw-ci border tw-qc flex tw-dm tw-ni"><span><span class="tw-fp tw-qm">[ESC]</span> or Click to Leave isolation...</span></p></div>'),n4=V('<button id="fubi-backdrop" data-cursor-text="Click to Leave isolation..."><!></button>');function r4(e,t){ot(t,!1),Ze();var n=n4(),r=y(n);{var i=s=>{var o=e4();E(s,o)};nt(r,s=>{X.active&&s(i)})}A(()=>U(n,1,z(["fixed tw-yr tw-pj",X.active?"tw-lc fubi-show-cursor tw-we tw-ra tw-oe duration-0":"tw-lc"]))),Zt("click",n,()=>X.reset()),E(e,n),at()}var i4=(e,t)=>t(),s4=V('<button id="fubi-toggle-button"><!></button>');function o4(e,t){ot(t,!1);const n="toggle",r=()=>{k.emit(n,"clicked")};Ze();var i=s4();i.__click=[i4,r];var s=y(i);Ol(s,{class:"tw-jt"}),E(e,i),at()}me(["click"]);var a4=N('<svg><path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM11.8535 5.64648C11.6582 5.45131 11.3417 5.45125 11.1465 5.64648L7 9.79297L5.35352 8.14648L5.27539 8.08203C5.08132 7.95396 4.81731 7.97566 4.64648 8.14648C4.47576 8.31733 4.45395 8.58137 4.58203 8.77539L4.64648 8.85352L6.29297 10.5L6.36914 10.5684C6.76185 10.8886 7.34093 10.866 7.70703 10.5L11.8535 6.35352C12.0488 6.15825 12.0488 5.84175 11.8535 5.64648Z" fill="#00C950"></path></svg>');function l4(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=a4();let i;A(()=>i=j(r,i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",...n},void 0,!0)),E(e,r)}var c4=N('<svg><circle cx="8" cy="8" r="7" stroke="currentColor" stroke-width="2"></circle><path d="M3 13L13 3" stroke="currentColor" stroke-width="2"></path></svg>');function u4(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=c4();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var d4=N('<svg><path d="M8 13V3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 8L13 8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function f4(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=d4();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}var h4=N('<svg><path d="M6.40625 1.08813C6.76562 1.24749 7 1.60685 7 2.00058V4.00049H10.5C13.5375 4.00049 16 6.46288 16 9.50025C16 13.0407 13.4531 14.6219 12.8688 14.9406C12.7906 14.9844 12.7031 15 12.6156 15C12.275 15 12 14.7219 12 14.3844C12 14.15 12.1344 13.9344 12.3063 13.7751C12.6 13.4969 13 12.9501 13 12.0001C13 10.344 11.6562 9.00027 10 9.00027H7V11.0002C7 11.3939 6.76875 11.7533 6.40625 11.9126C6.04375 12.072 5.625 12.0064 5.33125 11.7439L0.33125 7.2441C0.121875 7.05348 0 6.78474 0 6.50038C0 6.21602 0.11875 5.94728 0.33125 5.75667L5.33125 1.25687C5.625 0.991255 6.04688 0.925633 6.40625 1.08813Z" fill="currentColor"></path></svg>');function p4(e,t){let n=q(t,["$$slots","$$events","$$legacy"]);var r=h4();let i;A(()=>i=j(r,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},void 0,!0)),E(e,r)}function Yl(e,t){ot(t,!0);const n=new Map([["default",Zs],["info",Zs],["error",zs],["comment",Ol],["checked",l4],["plus",f4],["not-allowed",u4],["back",p4]]),r=Y(t,"name",3,"default"),i=Y(t,"size",3,""),s=H(()=>n.get(r())||n.get("default"));var o=ne(),a=mt(o);const l=H(()=>`fubi-tag-icon tw-nj tw-zl ease-in-out tw-gr tw-la ${i()||"tw-ax"}`),c=H(()=>`--icon-color: var(--icon-${r()}-color);`);ms(a,()=>h(s),(u,p)=>{p(u,{get class(){return h(l)},get style(){return h(c)}})}),E(e,o),at()}var w4=V('<div class="fixed tw-ku tw-us tw-rw tw-cq tw-xo tw-ns flex tw-iq rounded border tw-ki tw-zo"><!></div>');function Jl(e,t){let n=Y(t,"hide",3,!1);var r=ne(),i=mt(r);{var s=o=>{var a=w4(),l=y(a);Te(l,()=>t.children??Oe),E(o,a)};nt(i,o=>{n()||o(s)})}E(e,r)}var g4=V('<div id="fubi-direction" style="transition: top 0.4s ease-in-out; will-change: top;"><div><!> <svg fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="1" y="1" stroke-linecap="round" stroke-dasharray="4 4"></rect></svg></div></div>');function v4(e,t){ot(t,!1),Ze();var n=ne(),r=mt(n);{var i=s=>{var o=g4(),a=y(o),l=y(a);const c=Eo(()=>["tw-gt",Qe.direction==="up"&&"tw-so"]);Zl(l,{get class(){return h(c)}});var u=$(l,2);lt(u,"style",`
|
|
18
|
+
`}}});var cf=M('<img class="size-5 rounded-full block absolute inset-0 relative outline-[1.5px] outline-neutral-900">'),df=M('<div class="size-5 bg-[var(--bg-color)] flex items-center justify-center rounded-full outline-[1.5px] outline-neutral-900"><p class="text-white uppercase text-[9px]/none"> </p></div>'),uf=M('<div class="hidden group-last/wrapper:block group-hover/users:scale-0 transition-scale duration-300 ease-spring size-2 bg-red-500 rounded-full absolute -top-0.5 -right-0.5 outline-[1.5px] outline-neutral-900"></div>'),ff=M('<div role="presentation"><!> <!></div>'),hf=M('<span class="absolute whitespace-nowrap "><!></span>'),pf=M('<div class="flex gap-1.5"><div class="relative flex group/users [&:has(>.avatar:hover)>.avatar]:scale-50"></div> <p><!></p></div>');function gf(r,t){st(t,!0);let e=K(t,"users",19,()=>[]),o=T(null);const i=(h,v)=>{var b;return v?`${(b=$==null?void 0:$.config)==null?void 0:b.backend}/api/files/users/${h}/${v}`:null},n=(h,v)=>!h&&!v?"":`${(h==null?void 0:h.charAt(0))||""}${(v==null?void 0:v.charAt(0))||""}`,a=h=>{E(o,I(h))},s=()=>E(o,null);let l=j(()=>{if(p(o))return p(o);const h=e().map(v=>v.id===ot.user.id?"You":v.first_name);return e().length===1?h[0]:e().length===2?`${h[0]} <span class="opacity-30 font-medium">&</span> ${h[1]}`:`${h[0]} <span class="opacity-30 font-medium">&</span> ${e().length-1} others`});var c=pf(),u=x(c);Vi(u,23,e,({id:h,avatar:v,first_name:b,last_name:w,color:_})=>h,(h,v,b)=>{let w=()=>p(v).id,_=()=>p(v).avatar,y=()=>p(v).first_name,m=()=>p(v).last_name,S=()=>p(v).color;var L=ff();V(L,1,Z(["avatar group/wrapper relative pt-px flex items-center justify-center -ml-2 first:ml-0 h-5 shrink-0 min-w-5 hover:scale-110! transition-transform duration-300 ease-spring","hover:z-[20] z-[var(--index)]"]));var O=x(L);{var z=Q=>{var G=cf();A(gt=>{it(G,"src",gt),it(G,"alt",y())},[()=>i(w(),_())]),k(Q,G)},H=Q=>{var G=df(),gt=x(G),ht=x(gt);A(xt=>et(ht,xt),[()=>n(y(),m())]),k(Q,G)};rt(O,Q=>{_()?Q(z):Q(H,!1)})}var J=U(O,2);{var X=Q=>{var G=uf();ut(3,G,()=>Xt),k(Q,G)};rt(J,Q=>{t.unread&&Q(X)})}A(()=>it(L,"style",`--bg-color: ${S()||"#00A6F5"}; --index: ${e().length+1-p(b)};`)),Vt("mouseenter",L,()=>a(`${y()} ${m()}`)),ut(3,L,()=>Xt,()=>({duration:500,easing:rn})),k(h,L)});var f=U(u,2),d=x(f);Yn(d,()=>p(l),h=>{var v=hf(),b=x(v);Xr(b,()=>p(l)),ut(1,v,()=>bn,()=>({y:-20})),ut(2,v,()=>bn,()=>({y:20})),k(h,v)}),A(()=>V(f,1,Z(["text-[13px] relative",t.unread?"text-white font-medium":"text-white/80"]))),Vt("mouseleave",u,s),k(r,c),lt()}var vf=N('<svg><circle cx="8" cy="1" r="1" fill="currentColor"></circle><circle cx="8" cy="15" r="1" fill="currentColor"></circle><circle cx="15" cy="8" r="1" fill="currentColor"></circle><circle cx="1" cy="8" r="1" fill="currentColor"></circle><circle cx="3.05044" cy="3.05029" r="1" fill="currentColor"></circle><circle cx="12.9499" cy="12.9497" r="1" fill="currentColor"></circle><circle cx="12.9499" cy="3.05029" r="1" fill="currentColor"></circle><circle cx="3.05044" cy="12.9497" r="1" fill="currentColor"></circle></svg>');function bf(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=vf();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}const mf=(r,t,e)=>{var o;E(t,!0),R.setStatus(e.comment,((o=e.comment)==null?void 0:o.status)==="done"?"todo":"done"),E(t,!1)};var wf=M("<!> <div></div>",1),xf=M("<button><!></button>");function yf(r,t){st(t,!0);let e=T(!1);var o=xf();o.__click=[mf,e,t];var i=x(o);{var n=s=>{bf(s,{class:"size-4 text-amber-500 animate-spin"})},a=s=>{var l=wf(),c=wt(l);const u=j(()=>{var d;return["z-10 relative transition-opacity duration-200 ease-spring",((d=t.comment)==null?void 0:d.status)==="done"?"text-green-950 size-4":"opacity-0 group-hover/check:opacity-100 group-active/check:text-green-500 size-4"]});Vl(c,{get class(){return p(u)}});var f=U(c,2);A(()=>{var d;return V(f,1,Z(["size-4 rounded-full absolute top-0 left-0","transition-all duration-200 ease-spring",((d=t.comment)==null?void 0:d.status)==="done"?"bg-green-500 group-hover/check:bg-green-500/80":"bg-white/5 text-white/50 border-1 border-white/10 group-hover/check:border-white/20 group-active/check:border-green-500/30"]))}),k(s,l)};rt(i,s=>{p(e)?s(n):s(a,!1)})}A(()=>{var s,l;o.disabled=p(e),V(o,1,Z(["size-4 shrink-0 relative flex active:text-green-950 group/check transition-colors duration-200 ease-spring items-center justify-center",p(e)?"pointer-events-none":t.visible?"opacity-100":"opacity-0 group-hover/card:opacity-100 fubi-show-cursor",((s=t.comment)==null?void 0:s.status)==="done"?"text-green-500":"text-white/40 active:text-green-500"])),it(o,"data-cursor-text",((l=t.comment)==null?void 0:l.status)==="done"?"Mark as Not done":"Mark as Done")}),k(r,o),lt()}pe(["click"]);const Cf=typeof window<"u"?window:void 0;function kf(r){let t=r.activeElement;for(;t!=null&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}class _f{constructor(t={}){F(this,Pr);F(this,yi);const{window:e=Cf,document:o=e==null?void 0:e.document}=t;e!==void 0&&(yt(this,Pr,o),yt(this,yi,yd(i=>{const n=Pi(e,"focusin",i),a=Pi(e,"focusout",i);return()=>{n(),a()}})))}get current(){var t;return(t=g(this,yi))==null||t.call(this),g(this,Pr)?kf(g(this,Pr)):null}}Pr=new WeakMap,yi=new WeakMap,new _f;const Ef="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let Sf=(r=21)=>{let t="",e=crypto.getRandomValues(new Uint8Array(r|=0));for(;r--;)t+=Ef[e[r]&63];return t};function Lf(r){return Object.keys(r)}function lr(r,t){return t.reduce((e,o)=>(e[o]=`data-melt-${r}-${o}`,e),{})}function Uf(r){const t=Sf();return Object.keys(r).reduce((e,o)=>(e[o]=`${o}-${t}`,e),{})}function ae(r,t){const e=lr(r,t),o=Lf(e).reduce((i,n)=>(i[n]=`[${e[n]}]`,i),{});return{dataAttrs:e,dataSelectors:o,createIds:()=>Uf(e)}}ae("accordion",["root","item","trigger","heading","content"]),lr("avatar",["image","fallback"]),ae("collapsible",["trigger","content"]),ae("popover",["trigger","content","arrow"]),ae("combobox",["input","trigger","content","option"]),ae("fileupload",["dropzone","input"]),lr("pin-input",["root","input"]),lr("progress",["root","progress"]),ae("radio-group",["root","item","label","hidden-input"]),ae("select",["trigger","content","option"]),ae("slider",["root","thumb"]),lr("tabs",["trigger","content","trigger-list"]),lr("toggle",["trigger","hidden-input"]),ae("toaster",["root"]),ae("toaster-toast",["content","title","description","close"]),ae("tooltip",["trigger","content","arrow"]),lr("tree",["root","item","group"]);var Ff=N('<svg><rect x="4" y="14" width="8" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="2" width="14" height="9" rx="1" stroke="currentColor" stroke-width="2"></rect><rect x="7" y="12" width="2" height="2" fill="currentColor"></rect></svg>');function Af(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Ff();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var $f=N('<svg><path d="M1 13H15" stroke="currentColor" stroke-width="2" stroke-linecap="round"></path><path d="M1 4.5V11.5H3V4.5H13V11.5H15V4.5C15 3.39543 14.1046 2.5 13 2.5H3C1.89543 2.5 1 3.39543 1 4.5Z" fill="currentColor"></path></svg>');function If(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=$f();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Tf=N('<svg><path d="M10 1.5H2C1.44771 1.5 1 1.94772 1 2.5V13.5C1 14.0523 1.44772 14.5 2 14.5H10C10.5523 14.5 11 14.0523 11 13.5V2.5C11 1.94772 10.5523 1.5 10 1.5Z" stroke="currentColor"></path></svg>');function Of(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Tf();let i;A(()=>i=D(o,i,{viewBox:"0 0 12 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var zf=N('<svg><path d="M7.25 2H2.75C1.92157 2 1.25 2.67157 1.25 3.5V12.5C1.25 13.3284 1.92157 14 2.75 14H7.25C8.07843 14 8.75 13.3284 8.75 12.5V3.5C8.75 2.67157 8.07843 2 7.25 2Z" stroke="currentColor"></path><path d="M4 3.5H6" stroke="currentColor" stroke-linecap="round"></path></svg>');function Mf(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=zf();let i;A(()=>i=D(o,i,{viewBox:"0 0 10 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Rf=M("<div><!></div>");function jl(r,t){st(t,!0);const e=K(t,"height",3,"h-4"),o={desktop:Af,laptop:If,tablet:Of,mobile:Mf},i=j(()=>{var s,l,c;return((s=t.resolution)==null?void 0:s.w)>=1920?o.desktop:((l=t.resolution)==null?void 0:l.w)>1280?o.laptop:((c=t.resolution)==null?void 0:c.w)>768?o.tablet:o.mobile});var n=Rf(),a=x(n);Bi(a,()=>p(i),(s,l)=>{l(s,{get class(){return e()}})}),A(()=>{var s,l;V(n,1,`${e()} group/resolution relative`),it(n,"data-cursor-text",`${(s=t.resolution)==null?void 0:s.w}×${(l=t.resolution)==null?void 0:l.h}`)}),k(r,n),lt()}var Df=N('<svg><path d="M8 6C9.10457 6 10 6.89543 10 8C10 9.10457 9.10457 10 8 10C6.89543 10 6 9.10457 6 8C6 6.89543 6.89543 6 8 6Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C8.55228 0 9 0.447715 9 1V1.57617C11.7891 2.00682 13.9921 4.21092 14.4229 7H15C15.5523 7 16 7.44772 16 8C16 8.55228 15.5523 9 15 9H14.4229C13.9921 11.789 11.789 13.9921 9 14.4229V15C9 15.5523 8.55228 16 8 16C7.44772 16 7 15.5523 7 15V14.4229C4.21096 13.9921 2.00785 11.789 1.57715 9H1C0.447715 9 7.08709e-08 8.55228 0 8C4.72473e-08 7.44772 0.447715 7 1 7H1.57715C2.00786 4.21092 4.2109 2.00682 7 1.57617V1C7 0.447715 7.44772 0 8 0ZM8 3.5C5.51472 3.5 3.5 5.51472 3.5 8C3.5 10.4853 5.51472 12.5 8 12.5C10.4853 12.5 12.5 10.4853 12.5 8C12.5 5.51472 10.4853 3.5 8 3.5Z" fill="currentColor"></path></svg>');function Pf(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Df();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Hf=N('<svg><path fill-rule="evenodd" clip-rule="evenodd" d="M6.70797 1.73697C7.28854 0.754343 8.7104 0.754343 9.29098 1.73697L15.789 12.734C16.3797 13.7338 15.6592 14.9974 14.498 14.9977H1.50191C0.340581 14.9976 -0.379873 13.7339 0.210897 12.734L6.70797 1.73697ZM7.99996 11.3932C7.44002 11.3935 6.98653 11.8542 6.98629 12.4225C6.98629 12.9911 7.43987 13.4525 7.99996 13.4528C8.56026 13.4528 9.01461 12.9912 9.01461 12.4225C9.01436 11.854 8.56011 11.3932 7.99996 11.3932ZM7.99996 4.18521C7.43994 4.18546 6.9864 4.64604 6.98629 5.21451V9.33365C6.98629 9.90222 7.43987 10.3637 7.99996 10.3639C8.56026 10.3639 9.01461 9.90237 9.01461 9.33365V5.21451C9.0145 4.64589 8.56019 4.18521 7.99996 4.18521Z" fill="currentColor"></path></svg>');function Vf(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Hf();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Bf=N('<svg><path d="M8 11.9983C10.2091 11.9983 12 10.2074 12 7.99829C12 5.78915 10.2091 3.99829 8 3.99829C5.79086 3.99829 4 5.78915 4 7.99829C4 10.2074 5.79086 11.9983 8 11.9983Z" fill="white"></path><path d="M8.00008 4.00001H14.9271C14.2252 2.78381 13.2154 1.77385 11.9994 1.07168C10.7833 0.369518 9.40378 -9.79568e-05 7.99955 1.94733e-08C6.59531 9.79957e-05 5.21586 0.369906 3.99988 1.07224C2.78391 1.77457 1.77428 2.78468 1.07251 4.00098L4.53604 10L4.53914 9.99921C4.18681 9.39164 4.00088 8.70191 4.00009 7.99957C3.9993 7.29722 4.18368 6.60708 4.53465 5.99872C4.88561 5.39035 5.39076 4.88526 5.99917 4.53436C6.60757 4.18346 7.29773 3.99915 8.00008 4.00001Z" fill="#D93025"></path><path d="M7.99992 11.1667C9.74882 11.1667 11.1666 9.74894 11.1666 8.00004C11.1666 6.25114 9.74882 4.83337 7.99992 4.83337C6.25102 4.83337 4.83325 6.25114 4.83325 8.00004C4.83325 9.74894 6.25102 11.1667 7.99992 11.1667Z" fill="#1A73E8"></path><path d="M11.4637 10.0009L8.00021 15.9999C9.40444 16.0001 10.784 15.6306 12.0001 14.9285C13.2162 14.2265 14.226 13.2166 14.9281 12.0004C15.6301 10.7843 15.9996 9.40474 15.9993 8.00051C15.9991 6.59629 15.6291 5.21687 14.9266 4.00098H7.99961L7.99878 4.00408C8.70113 4.00272 9.39142 4.18655 10.0001 4.53704C10.6087 4.88752 11.1142 5.39227 11.4656 6.0004C11.817 6.60854 12.0018 7.29856 12.0015 8.0009C12.0012 8.70325 11.8157 9.3931 11.4637 10.0009Z" fill="#FCC934"></path><path d="M4.53613 10.001L1.07259 4.00195C0.370303 5.21795 0.000540618 6.59742 0.000488287 8.00166C0.000435955 9.40589 0.370095 10.7854 1.0723 12.0014C1.7745 13.2175 2.78449 14.2272 4.00071 14.9291C5.21694 15.631 6.59653 16.0004 8.00076 16L11.4643 10.0009L11.4621 9.99865C11.112 10.6076 10.6077 11.1135 9.99984 11.4653C9.39199 11.8172 8.70212 12.0026 7.99977 12.0028C7.29742 12.003 6.60743 11.8181 5.99934 11.4667C5.39124 11.1152 4.88655 10.6097 4.53613 10.001Z" fill="#1E8E3E"></path></svg>');function jf(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Bf();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Nf=N('<svg><path d="M15.2877 5.41538C14.946 4.61928 14.2527 3.75972 13.7098 3.488C14.097 4.21374 14.3657 4.99314 14.5064 5.7985L14.5078 5.81127C13.6185 3.66581 12.1111 2.79937 10.8792 0.915221C10.8169 0.819932 10.7546 0.724448 10.6939 0.623658C10.6592 0.566093 10.6314 0.514224 10.6073 0.466482C10.5562 0.370713 10.5168 0.269502 10.49 0.1649C10.49 0.160073 10.4882 0.155402 10.4849 0.151778C10.4816 0.148155 10.4771 0.145832 10.4721 0.145253C10.4673 0.143965 10.4621 0.143965 10.4573 0.145253C10.4563 0.145253 10.4547 0.147021 10.4534 0.147414C10.4522 0.147807 10.4496 0.149575 10.4478 0.150361L10.4508 0.145253C8.47517 1.26513 7.80445 3.3379 7.74356 4.37526C6.95431 4.42765 6.1997 4.70912 5.57818 5.18295C5.51336 5.1298 5.44561 5.08009 5.37523 5.03403C5.19603 4.42672 5.1884 3.784 5.35311 3.17286C4.62757 3.51311 3.98289 3.99547 3.45987 4.58942H3.45622C3.1445 4.20689 3.16642 2.94555 3.18428 2.68208C3.09206 2.71796 3.00403 2.7632 2.92167 2.81706C2.64649 3.00719 2.38923 3.22054 2.15293 3.4546C1.88364 3.71892 1.63769 4.0046 1.41767 4.30866V4.30984V4.30846C0.912044 5.00232 0.553378 5.78626 0.36237 6.61503L0.351817 6.66532C0.337002 6.73232 0.283629 7.06789 0.274496 7.14078C0.274496 7.14648 0.273279 7.15178 0.27267 7.15748C0.203822 7.50393 0.161158 7.85477 0.14502 8.20722V8.24652C0.148496 10.152 0.889732 11.987 2.2224 13.3892C3.55508 14.7915 5.38234 15.6591 7.34348 15.8208C9.30462 15.9825 11.2571 15.4266 12.8156 14.2627C14.374 13.0988 15.4251 11.4116 15.7614 9.53419C15.7746 9.43595 15.7853 9.3387 15.7971 9.23948C15.9591 7.94315 15.7837 6.62817 15.2869 5.4142L15.2877 5.41538ZM6.22231 11.3763C6.25905 11.3934 6.29355 11.4119 6.33129 11.4282L6.33677 11.4315C6.29862 11.4138 6.26047 11.3954 6.22231 11.3763ZM14.508 5.81343V5.80616L14.5094 5.81421L14.508 5.81343Z" fill="url(#paint0_linear_232_10596)"></path><path d="M15.2878 5.41529C14.9461 4.61919 14.2528 3.75963 13.7099 3.48792C14.0971 4.21366 14.3657 4.99306 14.5065 5.79841V5.80568L14.5079 5.81373C15.1143 7.49337 15.0266 9.3349 14.2632 10.9534C13.3617 12.826 11.1805 14.7453 7.76496 14.651C4.07548 14.5498 0.824351 11.8984 0.217555 8.42679C0.106952 7.87923 0.217555 7.60162 0.273161 7.15661C0.197312 7.50228 0.154984 7.85404 0.146729 8.20733V8.24663C0.150205 10.1521 0.891441 11.9871 2.22411 13.3893C3.55678 14.7916 5.38405 15.6592 7.34519 15.8209C9.30633 15.9826 11.2588 15.4267 12.8173 14.2628C14.3757 13.0989 15.4268 11.4118 15.7631 9.5343C15.7763 9.43606 15.787 9.33881 15.7988 9.23959C15.9608 7.94326 15.7854 6.62828 15.2886 5.41431L15.2878 5.41529Z" fill="url(#paint1_radial_232_10596)"></path><path d="M15.2878 5.41529C14.9461 4.61919 14.2528 3.75963 13.7099 3.48792C14.0971 4.21366 14.3657 4.99306 14.5065 5.79841V5.80568L14.5079 5.81373C15.1143 7.49337 15.0266 9.3349 14.2632 10.9534C13.3617 12.826 11.1805 14.7453 7.76496 14.651C4.07548 14.5498 0.824351 11.8984 0.217555 8.42679C0.106952 7.87923 0.217555 7.60162 0.273161 7.15661C0.197312 7.50228 0.154984 7.85404 0.146729 8.20733V8.24663C0.150205 10.1521 0.891441 11.9871 2.22411 13.3893C3.55678 14.7916 5.38405 15.6592 7.34519 15.8209C9.30633 15.9826 11.2588 15.4267 12.8173 14.2628C14.3757 13.0989 15.4268 11.4118 15.7631 9.5343C15.7763 9.43606 15.787 9.33881 15.7988 9.23959C15.9608 7.94326 15.7854 6.62828 15.2886 5.41431L15.2878 5.41529Z" fill="url(#paint2_radial_232_10596)"></path><path d="M11.4643 6.30929C11.4813 6.32088 11.4972 6.33247 11.5132 6.34406C11.3156 6.0049 11.0697 5.69437 10.7826 5.42163C8.33717 3.05416 10.1419 0.289824 10.4461 0.148365L10.4492 0.144043C8.47355 1.26392 7.80283 3.33669 7.74194 4.37405C7.83367 4.36796 7.92459 4.3605 8.01835 4.3605C8.71928 4.36181 9.40735 4.54278 10.0126 4.885C10.6179 5.22723 11.1187 5.71851 11.4643 6.3089V6.30929Z" fill="url(#paint3_radial_232_10596)"></path><path d="M8.0224 6.78266C8.00941 6.97206 7.31819 7.62533 7.07649 7.62533C4.84007 7.62533 4.47681 8.93519 4.47681 8.93519C4.57584 10.0382 5.36975 10.9471 6.32946 11.4264C6.3733 11.4484 6.41774 11.4683 6.46219 11.4877C6.53917 11.5207 6.61615 11.5513 6.69313 11.5793C7.02251 11.6921 7.36748 11.7566 7.71657 11.7705C11.6374 11.9485 12.3964 7.23199 9.56719 5.86259C10.2346 5.77852 10.9104 5.93739 11.4637 6.30838C11.1181 5.718 10.6173 5.22672 10.012 4.88449C9.40674 4.54227 8.71866 4.3613 8.01773 4.35999C7.92438 4.35999 7.83306 4.36745 7.74133 4.37354C6.95208 4.42593 6.19746 4.7074 5.57594 5.18123C5.69588 5.27947 5.83124 5.41071 6.11637 5.68282C6.65011 6.19188 8.01895 6.7192 8.022 6.78109L8.0224 6.78266Z" fill="url(#paint4_radial_232_10596)"></path><path d="M8.0224 6.78266C8.00941 6.97206 7.31819 7.62533 7.07649 7.62533C4.84007 7.62533 4.47681 8.93519 4.47681 8.93519C4.57584 10.0382 5.36975 10.9471 6.32946 11.4264C6.3733 11.4484 6.41774 11.4683 6.46219 11.4877C6.53917 11.5207 6.61615 11.5513 6.69313 11.5793C7.02251 11.6921 7.36748 11.7566 7.71657 11.7705C11.6374 11.9485 12.3964 7.23199 9.56719 5.86259C10.2346 5.77852 10.9104 5.93739 11.4637 6.30838C11.1181 5.718 10.6173 5.22672 10.012 4.88449C9.40674 4.54227 8.71866 4.3613 8.01773 4.35999C7.92438 4.35999 7.83306 4.36745 7.74133 4.37354C6.95208 4.42593 6.19746 4.7074 5.57594 5.18123C5.69588 5.27947 5.83124 5.41071 6.11637 5.68282C6.65011 6.19188 8.01895 6.7192 8.022 6.78109L8.0224 6.78266Z" fill="url(#paint5_radial_232_10596)"></path><path d="M5.20955 4.93006C5.27328 4.96935 5.32584 5.00354 5.37191 5.03438C5.19271 4.42708 5.18507 3.78435 5.34979 3.17322C4.62424 3.51347 3.97956 3.99583 3.45654 4.58977C3.4949 4.58879 4.63584 4.56894 5.20955 4.93006Z" fill="url(#paint6_radial_232_10596)"></path><path d="M0.216091 8.42718C0.82309 11.8988 4.07401 14.5512 7.76349 14.6514C11.179 14.7449 13.3606 12.8254 14.2617 10.9538C15.0251 9.33529 15.1128 7.49376 14.5064 5.81412V5.80685C14.5064 5.80116 14.5052 5.79782 14.5064 5.79958L14.5079 5.81235C14.7869 7.57607 13.8603 9.28399 12.4115 10.4412L12.407 10.451C9.58408 12.677 6.88293 11.7937 6.33702 11.4334C6.29886 11.4157 6.26071 11.3973 6.22256 11.3782C4.5769 10.6166 3.89685 9.16591 4.04296 7.92029C3.65232 7.92587 3.26839 7.82165 2.93769 7.62027C2.60699 7.41889 2.34371 7.12898 2.17976 6.78567C2.61178 6.52946 3.10437 6.38462 3.6106 6.36495C4.11683 6.34528 4.61983 6.45143 5.07168 6.67329C6.00303 7.08256 7.06281 7.12289 8.02448 6.78567C8.02143 6.72378 6.65259 6.19626 6.11885 5.6874C5.83372 5.41529 5.69836 5.28424 5.57842 5.18581C5.5136 5.13266 5.44585 5.08294 5.37548 5.03689C5.3288 5.00604 5.27624 4.97264 5.21313 4.93256C4.63941 4.57145 3.49847 4.59129 3.46072 4.59227H3.45707C3.14535 4.20974 3.16727 2.9484 3.18513 2.68494C3.09291 2.72082 3.00488 2.76606 2.92252 2.81991C2.64734 3.01004 2.39009 3.22339 2.15378 3.45746C1.88353 3.72103 1.63656 4.00606 1.41548 4.30955C0.909854 5.00341 0.551188 5.78715 0.36018 6.61592C0.356324 6.63144 0.0768728 7.81419 0.21467 8.42757L0.216091 8.42718Z" fill="url(#paint7_radial_232_10596)"></path><path d="M10.7823 5.42122C11.0695 5.69426 11.3154 6.00512 11.5129 6.34463C11.5561 6.37626 11.5965 6.4077 11.6308 6.43815C13.4141 8.02956 12.4797 10.2792 12.4101 10.4383C13.8587 9.28285 14.7845 7.57375 14.5065 5.80945C13.6168 3.66202 12.1077 2.79559 10.8779 0.911436C10.8156 0.816148 10.7533 0.720664 10.6926 0.619874C10.6579 0.562308 10.6301 0.51044 10.606 0.462698C10.5549 0.366929 10.5155 0.265717 10.4887 0.161116C10.4887 0.156289 10.4869 0.151618 10.4836 0.147994C10.4803 0.144371 10.4758 0.142048 10.4708 0.141468C10.466 0.140181 10.4608 0.140181 10.456 0.141468C10.455 0.141468 10.4534 0.143237 10.4521 0.14363C10.4509 0.144023 10.4483 0.145791 10.4465 0.146577C10.1423 0.286267 8.3379 3.05238 10.7833 5.41788L10.7823 5.42122Z" fill="url(#paint8_radial_232_10596)"></path><path d="M11.6306 6.43884C11.5963 6.40839 11.5559 6.37695 11.5127 6.34532C11.4967 6.33373 11.4809 6.32214 11.4638 6.31055C10.9106 5.93955 10.2347 5.78069 9.56732 5.86475C12.3963 7.23415 11.6373 11.9494 7.7167 11.7726C7.36761 11.7587 7.02263 11.6943 6.69326 11.5815C6.61628 11.5536 6.5393 11.523 6.46231 11.4899C6.41787 11.4703 6.37343 11.4506 6.32959 11.4286L6.33507 11.4319C6.88179 11.7933 9.58214 12.676 12.4051 10.4496L12.4095 10.4398C12.4799 10.2806 13.4143 8.03104 11.6302 6.43963L11.6306 6.43884Z" fill="url(#paint9_radial_232_10596)"></path><path d="M4.47686 8.93408C4.47686 8.93408 4.83992 7.62422 7.07654 7.62422C7.31825 7.62422 8.01008 6.97095 8.02246 6.78155C7.06079 7.11878 6.00101 7.07844 5.06965 6.66917C4.61781 6.44731 4.11481 6.34116 3.60858 6.36083C3.10235 6.3805 2.60976 6.52535 2.17773 6.78155C2.34169 7.12486 2.60497 7.41477 2.93567 7.61615C3.26637 7.81754 3.6503 7.92175 4.04094 7.91617C3.89523 9.1612 4.57508 10.6117 6.22054 11.3741C6.25727 11.3911 6.29177 11.4096 6.32952 11.4259C5.36899 10.9455 4.5759 10.0371 4.47686 8.93467V8.93408Z" fill="url(#paint10_radial_232_10596)"></path><path d="M15.2878 5.41538C14.9461 4.61928 14.2528 3.75972 13.7099 3.488C14.097 4.21374 14.3657 4.99314 14.5065 5.7985L14.5079 5.81127C13.6186 3.66581 12.1112 2.79937 10.8793 0.915221C10.817 0.819932 10.7547 0.724448 10.694 0.623658C10.6593 0.566093 10.6315 0.514224 10.6074 0.466482C10.5563 0.370713 10.5169 0.269502 10.4901 0.1649C10.4901 0.160073 10.4883 0.155402 10.485 0.151778C10.4817 0.148155 10.4771 0.145832 10.4722 0.145253C10.4673 0.143965 10.4622 0.143965 10.4574 0.145253C10.4564 0.145253 10.4547 0.147021 10.4535 0.147414C10.4523 0.147807 10.4497 0.149575 10.4478 0.150361L10.4509 0.145253C8.47525 1.26513 7.80453 3.3379 7.74365 4.37526C7.83538 4.36917 7.92629 4.36171 8.02005 4.36171C8.72098 4.36302 9.40905 4.54399 10.0143 4.88621C10.6196 5.22844 11.1204 5.71972 11.466 6.31011C10.9127 5.93911 10.2369 5.78025 9.56951 5.86431C12.3985 7.23371 11.6395 11.949 7.71889 11.7722C7.3698 11.7583 7.02482 11.6939 6.69545 11.581C6.61847 11.5531 6.54149 11.5226 6.4645 11.4895C6.42006 11.4698 6.37562 11.4502 6.33178 11.4282L6.33726 11.4315C6.29911 11.4138 6.26095 11.3954 6.2228 11.3763C6.25953 11.3934 6.29403 11.4119 6.33178 11.4282C5.37126 10.9476 4.57816 10.0391 4.47913 8.93692C4.47913 8.93692 4.84219 7.62705 7.07881 7.62705C7.32051 7.62705 8.01234 6.97378 8.02472 6.78439C8.02168 6.7225 6.65283 6.19497 6.1191 5.68612C5.83396 5.414 5.6986 5.28296 5.57866 5.18453C5.51384 5.13137 5.4461 5.08166 5.37572 5.0356C5.19652 4.4283 5.18888 3.78557 5.3536 3.17444C4.62806 3.51468 3.98337 3.99704 3.46036 4.59099H3.45671C3.14499 4.20846 3.1669 2.94712 3.18476 2.68365C3.09255 2.71953 3.00452 2.76478 2.92216 2.81863C2.64697 3.00876 2.38972 3.22211 2.15341 3.45617C1.88413 3.72049 1.63818 4.00617 1.41816 4.31023C0.912533 5.00409 0.553867 5.78783 0.362858 6.6166L0.352305 6.6669C0.337491 6.73389 0.271129 7.07418 0.26159 7.14727C0.200891 7.49853 0.162126 7.85302 0.145508 8.2088V8.24809C0.148984 10.1536 0.89022 11.9885 2.22289 13.3908C3.55556 14.793 5.38283 15.6607 7.34397 15.8224C9.30511 15.9841 11.2576 15.4281 12.816 14.2643C14.3745 13.1004 15.4256 11.4132 15.7619 9.53576C15.7751 9.43752 15.7858 9.34027 15.7976 9.24105C15.9596 7.94472 15.7842 6.62975 15.2874 5.41577L15.2878 5.41538Z" fill="url(#paint11_linear_232_10596)"></path><defs><linearGradient id="paint0_linear_232_10596" x1="14.2466" y1="2.57754" x2="1.5971" y2="15.1842" gradientUnits="userSpaceOnUse"><stop offset="0.048" stop-color="#FFF44F"></stop><stop offset="0.111" stop-color="#FFE847"></stop><stop offset="0.225" stop-color="#FFC830"></stop><stop offset="0.368" stop-color="#FF980E"></stop><stop offset="0.401" stop-color="#FF8B16"></stop><stop offset="0.462" stop-color="#FF672A"></stop><stop offset="0.534" stop-color="#FF3647"></stop><stop offset="0.705" stop-color="#E31587"></stop></linearGradient><radialGradient id="paint1_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(13.7414 1.91222) scale(16.3977 15.8748)"><stop offset="0.129" stop-color="#FFBD4F"></stop><stop offset="0.186" stop-color="#FFAC31"></stop><stop offset="0.247" stop-color="#FF9D17"></stop><stop offset="0.283" stop-color="#FF980E"></stop><stop offset="0.403" stop-color="#FF563B"></stop><stop offset="0.467" stop-color="#FF3750"></stop><stop offset="0.71" stop-color="#F5156C"></stop><stop offset="0.782" stop-color="#EB0878"></stop><stop offset="0.86" stop-color="#E50080"></stop></radialGradient><radialGradient id="paint2_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.65314 8.39575) scale(16.3977 15.8748)"><stop offset="0.3" stop-color="#960E18"></stop><stop offset="0.351" stop-color="#B11927" stop-opacity="0.74"></stop><stop offset="0.435" stop-color="#DB293D" stop-opacity="0.343"></stop><stop offset="0.497" stop-color="#F5334B" stop-opacity="0.094"></stop><stop offset="0.53" stop-color="#FF3750" stop-opacity="0"></stop></radialGradient><radialGradient id="paint3_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.68247 -1.62419) scale(11.8782 11.4994)"><stop offset="0.132" stop-color="#FFF44F"></stop><stop offset="0.252" stop-color="#FFDC3E"></stop><stop offset="0.506" stop-color="#FF9D12"></stop><stop offset="0.526" stop-color="#FF980E"></stop></radialGradient><radialGradient id="paint4_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(5.82657 12.5216) scale(7.80717 7.55822)"><stop offset="0.353" stop-color="#3A8EE6"></stop><stop offset="0.472" stop-color="#5C79F0"></stop><stop offset="0.669" stop-color="#9059FF"></stop><stop offset="1" stop-color="#C139E6"></stop></radialGradient><radialGradient id="paint5_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(8.44614 7.03297) rotate(-13.1735) scale(4.13285 4.70054)"><stop offset="0.206" stop-color="#9059FF" stop-opacity="0"></stop><stop offset="0.278" stop-color="#8C4FF3" stop-opacity="0.064"></stop><stop offset="0.747" stop-color="#7716A8" stop-opacity="0.45"></stop><stop offset="0.975" stop-color="#6E008B" stop-opacity="0.6"></stop></radialGradient><radialGradient id="paint6_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.45003 1.32286) scale(5.61743 5.4383)"><stop stop-color="#FFE226"></stop><stop offset="0.121" stop-color="#FFDB27"></stop><stop offset="0.295" stop-color="#FFC82A"></stop><stop offset="0.502" stop-color="#FFA930"></stop><stop offset="0.732" stop-color="#FF7E37"></stop><stop offset="0.792" stop-color="#FF7139"></stop></radialGradient><radialGradient id="paint7_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.9149 -2.21366) scale(23.9674 23.2032)"><stop offset="0.113" stop-color="#FFF44F"></stop><stop offset="0.456" stop-color="#FF980E"></stop><stop offset="0.622" stop-color="#FF5634"></stop><stop offset="0.716" stop-color="#FF3647"></stop><stop offset="0.904" stop-color="#E31587"></stop></radialGradient><radialGradient id="paint8_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.92267 -0.927134) rotate(83.7791) scale(17.0099 11.5226)"><stop stop-color="#FFF44F"></stop><stop offset="0.06" stop-color="#FFE847"></stop><stop offset="0.168" stop-color="#FFC830"></stop><stop offset="0.304" stop-color="#FF980E"></stop><stop offset="0.356" stop-color="#FF8B16"></stop><stop offset="0.455" stop-color="#FF672A"></stop><stop offset="0.57" stop-color="#FF3647"></stop><stop offset="0.737" stop-color="#E31587"></stop></radialGradient><radialGradient id="paint9_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.45003 3.28745) scale(14.9609 14.4838)"><stop offset="0.137" stop-color="#FFF44F"></stop><stop offset="0.48" stop-color="#FF980E"></stop><stop offset="0.592" stop-color="#FF5634"></stop><stop offset="0.655" stop-color="#FF3647"></stop><stop offset="0.904" stop-color="#E31587"></stop></radialGradient><radialGradient id="paint10_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.3059 4.0734) scale(16.3754 15.8532)"><stop offset="0.094" stop-color="#FFF44F"></stop><stop offset="0.231" stop-color="#FFE141"></stop><stop offset="0.509" stop-color="#FFAF1E"></stop><stop offset="0.626" stop-color="#FF980E"></stop></radialGradient><linearGradient id="paint11_linear_232_10596" x1="14.0884" y1="2.51271" x2="3.33933" y2="13.6179" gradientUnits="userSpaceOnUse"><stop offset="0.167" stop-color="#FFF44F" stop-opacity="0.8"></stop><stop offset="0.266" stop-color="#FFF44F" stop-opacity="0.634"></stop><stop offset="0.489" stop-color="#FFF44F" stop-opacity="0.217"></stop><stop offset="0.6" stop-color="#FFF44F" stop-opacity="0"></stop></linearGradient></defs></svg>');function Zf(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Nf();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var qf=N('<svg><g opacity="0.53" filter="url(#filter0_f_232_10586)"><path d="M16.7069 9.61423C16.7069 10.5841 16.5076 11.5445 16.1203 12.4406C15.733 13.3367 15.1653 14.1509 14.4497 14.8367C13.7341 15.5225 12.8845 16.0666 11.9495 16.4377C11.0145 16.8089 10.0123 16.9999 9.0003 16.9999C7.98826 16.9999 6.98612 16.8089 6.05111 16.4377C5.11611 16.0666 4.26654 15.5225 3.55091 14.8367C2.83529 14.1509 2.26762 13.3367 1.88033 12.4406C1.49304 11.5445 1.2937 10.5841 1.2937 9.61423C1.2937 7.65541 2.10564 5.77683 3.55091 4.39174C4.99618 3.00665 6.95639 2.22852 9.0003 2.22852C10.0123 2.22852 11.0145 2.41955 11.9495 2.79072C12.8845 3.16189 13.7341 3.70591 14.4497 4.39174C15.1653 5.07757 15.733 5.89176 16.1203 6.78784C16.5076 7.68391 16.7069 8.64432 16.7069 9.61423Z" fill="black"></path></g><path d="M17 8.96195C17 10.0075 16.7931 11.0429 16.391 12.0089C15.989 12.9748 15.3997 13.8526 14.6569 14.5919C13.914 15.3312 13.0321 15.9177 12.0615 16.3178C11.0909 16.718 10.0506 16.9239 9 16.9239C6.87826 16.9239 4.84344 16.0851 3.34314 14.5919C1.84285 13.0987 1 11.0736 1 8.96195C1 6.85031 1.84285 4.82516 3.34314 3.332C4.84344 1.83885 6.87826 1 9 1C10.0506 1 11.0909 1.20594 12.0615 1.60607C13.0321 2.00619 13.914 2.59267 14.6569 3.332C15.3997 4.07134 15.989 4.94906 16.391 5.91504C16.7931 6.88103 17 7.91638 17 8.96195Z" fill="url(#paint0_linear_232_10586)" stroke="#CDCDCD" stroke-width="0.023754" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16.373 8.96196C16.373 10.9081 15.5962 12.7746 14.2134 14.1508C12.8307 15.5269 10.9553 16.3 8.99984 16.3C7.04436 16.3 5.16898 15.5269 3.78625 14.1508C2.40352 12.7746 1.62671 10.9081 1.62671 8.96196C1.62671 7.01579 2.40352 5.14932 3.78625 3.77317C5.16898 2.39702 7.04436 1.6239 8.99984 1.6239C10.9553 1.6239 12.8307 2.39702 14.2134 3.77317C15.5962 5.14932 16.373 7.01579 16.373 8.96196Z" fill="url(#paint1_radial_232_10586)"></path><path d="M8.99994 2.00671C8.94038 2.00671 8.89244 2.05443 8.89244 2.1137V3.34774C8.89244 3.40702 8.94038 3.45473 8.99994 3.45473C9.05949 3.45473 9.10743 3.40702 9.10743 3.34774V2.1137C9.10743 2.05443 9.05949 2.00671 8.99994 2.00671ZM8.29669 2.05095C8.28956 2.05019 8.28223 2.05019 8.27483 2.05104C8.21559 2.05719 8.17289 2.1096 8.17907 2.16855L8.23326 2.68482C8.23944 2.74377 8.2921 2.78628 8.35133 2.78013C8.41057 2.77397 8.45328 2.72156 8.44709 2.66261L8.39295 2.14635C8.38753 2.09476 8.34653 2.05577 8.29669 2.05095ZM9.7081 2.05146C9.65825 2.05624 9.61724 2.09523 9.61179 2.14681L9.55723 2.66303C9.551 2.72198 9.59371 2.77444 9.65294 2.78064C9.71217 2.78684 9.76483 2.74437 9.77106 2.68542L9.82562 2.16915C9.83185 2.11021 9.78914 2.05779 9.72991 2.0516C9.7225 2.05083 9.71523 2.05083 9.7081 2.05146ZM7.57428 2.15521C7.56713 2.15527 7.55985 2.15597 7.55257 2.1575C7.49431 2.16977 7.45733 2.22635 7.46966 2.28434L7.72646 3.4916C7.73879 3.54959 7.79564 3.58639 7.8539 3.57411C7.91216 3.56184 7.94914 3.50531 7.93681 3.44732L7.68002 2.24001C7.66921 2.18927 7.62436 2.15482 7.57428 2.15521ZM10.4305 2.15623C10.3804 2.15572 10.3355 2.19027 10.3247 2.241L10.067 3.44812C10.0546 3.5061 10.0916 3.56269 10.1498 3.57501C10.2081 3.58734 10.2649 3.55056 10.2773 3.49259L10.535 2.28546C10.5474 2.22749 10.5104 2.17089 10.4522 2.15858C10.4449 2.15705 10.4376 2.15623 10.4305 2.15623ZM6.88485 2.34868C6.87093 2.34741 6.85656 2.34893 6.8424 2.35361C6.78576 2.37193 6.75496 2.43202 6.77337 2.48839L6.93454 2.98208C6.95296 3.03845 7.01338 3.06911 7.07002 3.05079C7.12666 3.03246 7.15741 2.97233 7.139 2.91596L6.97783 2.42227C6.96404 2.37999 6.9266 2.35221 6.88485 2.34868ZM11.116 2.34893C11.0742 2.35247 11.0368 2.38026 11.023 2.42253L10.8617 2.91618C10.8433 2.97255 10.8741 3.03268 10.9307 3.05101C10.9874 3.06933 11.0478 3.0387 11.0662 2.98235L11.2275 2.48866C11.2459 2.43229 11.2151 2.37215 11.1585 2.35383C11.1443 2.34925 11.1299 2.34776 11.116 2.34893ZM6.20309 2.59698C6.18912 2.59723 6.17498 2.60028 6.16138 2.60631C6.10699 2.63038 6.08263 2.69334 6.10682 2.74751L6.61043 3.87517C6.63462 3.92932 6.69788 3.95354 6.7523 3.92947C6.8067 3.9054 6.8311 3.84243 6.80691 3.78827L6.30325 2.66061C6.28512 2.61998 6.24498 2.59617 6.20309 2.59698ZM11.8055 2.60076C11.7636 2.6 11.7234 2.62367 11.7052 2.66425L11.2001 3.79122C11.1758 3.84535 11.2 3.90837 11.2544 3.93251C11.3088 3.95666 11.3721 3.93253 11.3964 3.8784L11.9015 2.75143C11.9258 2.6973 11.9016 2.63429 11.8472 2.61014C11.8336 2.60411 11.8194 2.60107 11.8055 2.60076ZM5.57026 2.93022C5.54963 2.92869 5.52836 2.93327 5.50902 2.9444C5.45745 2.97404 5.4399 3.03921 5.46968 3.09054L5.73047 3.54009C5.76024 3.59142 5.82573 3.60888 5.8773 3.57924C5.92888 3.54961 5.94642 3.48444 5.91665 3.4331L5.65586 2.98356C5.63724 2.95147 5.60466 2.93261 5.57026 2.93022ZM12.4296 2.93022C12.3952 2.9325 12.3627 2.95146 12.3441 2.98355L12.0832 3.4331C12.0534 3.48443 12.071 3.5496 12.1226 3.57924C12.1742 3.60887 12.2397 3.59141 12.2695 3.54008L12.5302 3.09053C12.56 3.0392 12.5425 2.97403 12.4909 2.94439C12.4716 2.93328 12.4502 2.92879 12.4296 2.93022ZM4.95577 3.31166C4.93508 3.31242 4.91437 3.31903 4.89629 3.33207C4.84809 3.36687 4.83743 3.43351 4.87241 3.48149L5.60048 4.48037C5.63545 4.52834 5.70245 4.53895 5.75066 4.50416C5.79887 4.46935 5.80952 4.40271 5.77454 4.35474L5.04642 3.35586C5.02456 3.32587 4.99023 3.31049 4.95577 3.31166ZM13.0518 3.3171C13.0173 3.31583 12.983 3.3312 12.9611 3.36115L12.2316 4.35906C12.1966 4.40699 12.2072 4.47365 12.2553 4.50852C12.3035 4.54339 12.3705 4.5329 12.4055 4.48499L13.1349 3.48708C13.17 3.43915 13.1594 3.37248 13.1112 3.33761C13.0932 3.32455 13.0725 3.31783 13.0518 3.3171ZM4.4065 3.77011C4.37906 3.76858 4.35106 3.77771 4.32893 3.79754C4.28467 3.83719 4.28111 3.90457 4.32096 3.94862L4.66994 4.33445C4.70978 4.3785 4.77748 4.38204 4.82175 4.34238C4.86601 4.30272 4.86957 4.2353 4.82971 4.19125L4.48078 3.80547C4.46086 3.78343 4.43395 3.77154 4.4065 3.77011ZM13.5942 3.77087C13.5667 3.7724 13.5398 3.78422 13.5199 3.80624L13.1709 4.19198C13.131 4.23602 13.1346 4.30344 13.1788 4.3431C13.2231 4.38276 13.2908 4.37921 13.3306 4.33517L13.6797 3.94944C13.7195 3.90539 13.716 3.83797 13.6717 3.79831C13.6496 3.77849 13.6216 3.76944 13.5942 3.77087ZM3.88006 4.27338C3.85262 4.27491 3.82575 4.28672 3.80583 4.30875C3.76599 4.3528 3.76955 4.42018 3.8138 4.45983L4.73534 5.28547C4.7796 5.32512 4.84729 5.32158 4.88714 5.27754C4.92698 5.23349 4.92347 5.16611 4.87919 5.12645L3.95762 4.30082C3.93547 4.281 3.90751 4.27194 3.88006 4.27338ZM14.1231 4.27699C14.0957 4.27546 14.0677 4.28456 14.0455 4.30437L13.1234 5.12936C13.0791 5.16898 13.0755 5.23636 13.1153 5.28044C13.1551 5.32452 13.2229 5.3281 13.2672 5.28847L14.1893 4.46348C14.2336 4.42386 14.2372 4.35648 14.1974 4.3124C14.1775 4.29037 14.1506 4.27844 14.1231 4.27699ZM3.44229 4.83362C3.40782 4.83235 3.37346 4.8478 3.35159 4.87776C3.31658 4.92571 3.3272 4.99234 3.37539 5.02718L3.79735 5.3323C3.84553 5.36714 3.91247 5.35662 3.94748 5.30866C3.98248 5.26071 3.97189 5.19403 3.92373 5.15919L3.50177 4.85408C3.48371 4.84101 3.46296 4.83436 3.44229 4.83362ZM14.5605 4.83751C14.5398 4.83827 14.5191 4.84485 14.501 4.85792L14.0789 5.16276C14.0307 5.19757 14.02 5.26425 14.055 5.31222C14.09 5.3602 14.1569 5.37076 14.2051 5.33596L14.6273 5.03112C14.6755 4.99632 14.6861 4.92968 14.6512 4.88171C14.6293 4.85172 14.595 4.83633 14.5605 4.83751ZM3.03318 5.43121C2.99878 5.4335 2.96624 5.45246 2.94763 5.48454C2.91785 5.53587 2.93539 5.60105 2.98697 5.63068L4.06077 6.2477C4.11235 6.27734 4.17783 6.25988 4.20761 6.20855C4.23739 6.15722 4.21984 6.09204 4.16827 6.06241L3.09447 5.44538C3.07513 5.43428 3.05382 5.42979 3.03318 5.43121ZM14.9667 5.43121C14.9461 5.42969 14.9247 5.43426 14.9054 5.44539L13.8316 6.06242C13.78 6.09205 13.7625 6.15723 13.7923 6.20856C13.822 6.25989 13.8875 6.27735 13.9391 6.24771L15.013 5.63069C15.0645 5.60106 15.0821 5.53588 15.0523 5.48455C15.0337 5.45247 15.0011 5.4336 14.9667 5.43121ZM2.72387 6.06818C2.68197 6.06716 2.6418 6.09103 2.62361 6.13162C2.59934 6.18575 2.62359 6.24877 2.67798 6.27291L3.15436 6.48439C3.20875 6.50854 3.27207 6.48441 3.29633 6.43028C3.32059 6.37614 3.2963 6.31313 3.24191 6.28898L2.76557 6.07751C2.75199 6.07146 2.73783 6.06846 2.72387 6.06818ZM15.2781 6.07258C15.2641 6.07283 15.2499 6.07588 15.2363 6.08191L14.7599 6.29301C14.7055 6.31713 14.6811 6.38011 14.7054 6.43426C14.7296 6.48841 14.7929 6.51262 14.8473 6.48851L15.3238 6.27736C15.3782 6.25326 15.4025 6.19026 15.3783 6.13611C15.3601 6.0955 15.32 6.07175 15.2781 6.07258ZM2.44819 6.73393C2.40644 6.73741 2.369 6.76517 2.35517 6.80744C2.33673 6.86379 2.36743 6.92395 2.42406 6.94231L3.603 7.32463C3.65962 7.34298 3.72006 7.3124 3.73851 7.25606C3.75695 7.19971 3.72626 7.13955 3.66962 7.12119L2.49069 6.73887C2.47654 6.73427 2.46211 6.73276 2.44819 6.73393ZM15.5533 6.7385C15.5393 6.73723 15.525 6.73876 15.5108 6.74343L14.3316 7.12492C14.275 7.14325 14.2442 7.20338 14.2626 7.25975C14.281 7.31612 14.3414 7.34674 14.3981 7.32841L15.5772 6.94692C15.6339 6.9286 15.6647 6.86846 15.6463 6.8121C15.6325 6.76982 15.595 6.74203 15.5533 6.7385ZM2.27644 7.43278C2.22636 7.43227 2.18144 7.46686 2.17061 7.51759C2.15822 7.57557 2.19518 7.63216 2.25342 7.64448L2.76363 7.75239C2.82188 7.76472 2.87873 7.72794 2.89112 7.66997C2.9035 7.61199 2.86655 7.55541 2.8083 7.54308L2.29815 7.43517C2.29087 7.43365 2.28359 7.43278 2.27644 7.43278ZM15.7237 7.43379C15.7165 7.43385 15.7093 7.43481 15.702 7.43608L15.1918 7.54394C15.1336 7.55627 15.0966 7.61281 15.109 7.67078C15.1214 7.72876 15.1782 7.76556 15.2365 7.75325L15.7466 7.64539C15.8049 7.63306 15.8419 7.57648 15.8295 7.5185C15.8187 7.46777 15.7737 7.43337 15.7237 7.43379ZM2.14644 8.13573C2.09659 8.14048 2.05555 8.17941 2.05008 8.23098C2.04382 8.28993 2.08643 8.34241 2.14565 8.34863L3.37873 8.47838C3.43795 8.48461 3.49068 8.44216 3.49694 8.38322C3.5032 8.32428 3.46055 8.2718 3.40132 8.26557L2.16825 8.13582C2.16084 8.13506 2.15356 8.13506 2.14644 8.13573ZM15.8546 8.14495C15.8475 8.14419 15.8401 8.14419 15.8327 8.14504L14.5995 8.27313C14.5403 8.27928 14.4976 8.33169 14.5038 8.39064C14.5099 8.44959 14.5626 8.4921 14.6218 8.48595L15.855 8.35786C15.9143 8.35171 15.957 8.2993 15.9508 8.24035C15.9454 8.18876 15.9044 8.14978 15.8546 8.14495ZM2.12556 8.85529C2.066 8.85529 2.01807 8.90301 2.01807 8.96228C2.01807 9.02155 2.066 9.06926 2.12556 9.06926H2.64713C2.70668 9.06926 2.75467 9.02155 2.75467 8.96228C2.75467 8.90301 2.70668 8.85529 2.64713 8.85529H2.12556ZM15.3527 8.85529C15.2932 8.85529 15.2452 8.90301 15.2452 8.96228C15.2452 9.02155 15.2932 9.06926 15.3527 9.06926H15.8743C15.9339 9.06926 15.9818 9.02155 15.9818 8.96228C15.9818 8.90301 15.9339 8.85529 15.8743 8.85529H15.3527ZM3.39988 9.43852C3.39276 9.43775 3.38548 9.43776 3.37807 9.43861L2.14481 9.56669C2.08558 9.57284 2.04288 9.62525 2.04905 9.6842C2.05523 9.74316 2.10789 9.78566 2.16712 9.77951L3.40039 9.65142C3.45962 9.64527 3.50232 9.59286 3.49614 9.53391C3.49073 9.48233 3.44973 9.44334 3.39988 9.43852ZM14.5993 9.44609C14.5495 9.45084 14.5085 9.48977 14.503 9.54135C14.4967 9.60029 14.5393 9.65277 14.5986 9.659L15.8316 9.78875C15.8909 9.79498 15.9436 9.75253 15.9498 9.69359C15.9561 9.63464 15.9134 9.58216 15.8542 9.57593L14.6212 9.44619C14.6138 9.44542 14.6065 9.44542 14.5993 9.44609ZM2.78515 10.1689C2.778 10.1689 2.77072 10.1696 2.76345 10.1711L2.25324 10.279C2.19499 10.2913 2.15806 10.3479 2.17043 10.4059C2.18282 10.4639 2.23967 10.5006 2.29792 10.4883L2.80812 10.3805C2.86638 10.3682 2.90331 10.3116 2.89094 10.2536C2.88011 10.2029 2.83523 10.1684 2.78515 10.1689ZM15.2146 10.1699C15.1645 10.1694 15.1196 10.2039 15.1088 10.2546C15.0964 10.3126 15.1333 10.3692 15.1916 10.3815L15.7018 10.4894C15.76 10.5018 15.8169 10.465 15.8293 10.4071C15.8416 10.3491 15.8047 10.2925 15.7464 10.2801L15.2363 10.1722C15.229 10.1707 15.2217 10.1699 15.2146 10.1699ZM3.64429 10.5913C3.63037 10.59 3.616 10.5915 3.60184 10.5962L2.42263 10.9777C2.36599 10.996 2.33523 11.0561 2.35364 11.1125C2.37205 11.1689 2.43247 11.1995 2.48911 11.1812L3.66827 10.7997C3.72491 10.7813 3.75572 10.7212 3.73731 10.6648C3.72349 10.6226 3.68604 10.5948 3.64429 10.5913ZM14.3544 10.595C14.3127 10.5985 14.2752 10.6263 14.2614 10.6685C14.243 10.7249 14.2737 10.7851 14.3303 10.8034L15.5092 11.1857C15.5659 11.2041 15.6263 11.1735 15.6447 11.1172C15.6632 11.0608 15.6325 11.0007 15.5759 10.9823L14.3969 10.6C14.3828 10.5954 14.3683 10.5939 14.3544 10.595ZM3.19431 11.4268C3.18034 11.4271 3.1662 11.4301 3.1526 11.4361L2.67608 11.6472C2.62167 11.6713 2.59739 11.7343 2.62161 11.7885C2.64585 11.8426 2.70913 11.8668 2.76353 11.8427L3.24005 11.6316C3.29446 11.6075 3.31874 11.5445 3.29452 11.4903C3.27636 11.4497 3.2362 11.426 3.19431 11.4268ZM14.8038 11.4309C14.762 11.4299 14.7218 11.4537 14.7036 11.4943C14.6793 11.5485 14.7036 11.6115 14.758 11.6356L15.2343 11.8471C15.2887 11.8712 15.352 11.8471 15.3763 11.793C15.4005 11.7388 15.3763 11.6758 15.3219 11.6517L14.8456 11.4402C14.832 11.4342 14.8178 11.4312 14.8038 11.4309ZM4.12206 11.6627C4.10142 11.6612 4.08011 11.6658 4.06077 11.6769L2.98697 12.2939C2.93539 12.3236 2.91785 12.3887 2.94763 12.4401C2.9774 12.4914 3.04289 12.5089 3.09447 12.4792L4.16827 11.8622C4.21984 11.8326 4.23739 11.7674 4.20761 11.7161C4.18899 11.684 4.15646 11.6651 4.12206 11.6627ZM13.8779 11.6627C13.8435 11.665 13.8109 11.684 13.7923 11.7161C13.7625 11.7674 13.78 11.8326 13.8316 11.8622L14.9054 12.4792C14.957 12.5089 15.0225 12.4914 15.0523 12.4401C15.0821 12.3887 15.0645 12.3236 15.013 12.2939L13.9391 11.6769C13.9198 11.6658 13.8985 11.6613 13.8779 11.6627ZM3.85422 12.5682C3.83354 12.569 3.81282 12.5756 3.79474 12.5887L3.3726 12.8935C3.3244 12.9283 3.31373 12.9949 3.3487 13.0429C3.38367 13.0909 3.45063 13.1015 3.49883 13.0667L3.92102 12.7618C3.96923 12.727 3.97989 12.6604 3.94492 12.6124C3.92306 12.5824 3.88868 12.567 3.85422 12.5682ZM14.1431 12.5718C14.1086 12.5705 14.0743 12.586 14.0524 12.6159C14.0174 12.6639 14.028 12.7306 14.0762 12.7654L14.4982 13.0705C14.5463 13.1054 14.6133 13.0948 14.6483 13.0468C14.6833 12.9989 14.6727 12.9323 14.6245 12.8974L14.2026 12.5923C14.1845 12.5792 14.1638 12.5725 14.1431 12.5718ZM4.81032 12.6087C4.78288 12.6072 4.7549 12.6163 4.73275 12.6361L3.81061 13.4611C3.76632 13.5007 3.76273 13.5681 3.80254 13.6122C3.84235 13.6563 3.91005 13.6598 3.95434 13.6202L4.87648 12.7952C4.92077 12.7556 4.92437 12.6882 4.88455 12.6442C4.86466 12.6221 4.83776 12.6102 4.81032 12.6087ZM13.187 12.6117C13.1596 12.6132 13.1326 12.625 13.1127 12.6471C13.0729 12.6911 13.0764 12.7585 13.1207 12.7981L14.0422 13.6238C14.0865 13.6634 14.1542 13.6599 14.1941 13.6158C14.2339 13.5718 14.2304 13.5044 14.1861 13.4648L13.2645 12.6391C13.2424 12.6193 13.2144 12.6103 13.187 12.6117ZM5.68514 13.3954C5.65068 13.3942 5.61629 13.4095 5.59439 13.4395L4.86498 14.4374C4.82994 14.4853 4.84048 14.552 4.88862 14.5869C4.93678 14.6217 5.00377 14.6112 5.0388 14.5633L5.76822 13.5654C5.80325 13.5175 5.79271 13.4508 5.74457 13.4159C5.72651 13.4029 5.70581 13.3962 5.68514 13.3954ZM12.3088 13.3999C12.2881 13.4007 12.2673 13.4073 12.2493 13.4203C12.2011 13.4551 12.1904 13.5218 12.2254 13.5697L12.9534 14.5686C12.9884 14.6166 13.0554 14.6272 13.1036 14.5924C13.1518 14.5576 13.1624 14.491 13.1275 14.443L12.3994 13.4441C12.3775 13.4141 12.3432 13.3987 12.3088 13.3999ZM4.74351 13.554C4.71607 13.5556 4.68916 13.5674 4.66924 13.5894L4.32026 13.9752C4.2804 14.0192 4.28393 14.0866 4.3282 14.1263C4.37246 14.1659 4.44015 14.1624 4.48 14.1183L4.82902 13.7326C4.86888 13.6885 4.8653 13.6211 4.82106 13.5815C4.79891 13.5616 4.77096 13.5526 4.74351 13.554ZM13.2557 13.5546C13.2283 13.553 13.2003 13.5622 13.1782 13.582C13.1339 13.6216 13.1304 13.689 13.1702 13.7331L13.5191 14.1189C13.559 14.1629 13.6267 14.1665 13.6709 14.1268C13.7152 14.0872 13.7188 14.0197 13.6789 13.9757L13.33 13.5899C13.31 13.5679 13.2832 13.556 13.2557 13.5546ZM6.70373 13.9825C6.66184 13.9815 6.62172 14.0053 6.60352 14.0459L6.09833 15.1729C6.07406 15.227 6.09831 15.29 6.1527 15.3142C6.20709 15.3383 6.27041 15.3142 6.29467 15.2601L6.79986 14.1331C6.82412 14.079 6.79987 14.016 6.74548 13.9918C6.7319 13.9858 6.71769 13.9828 6.70373 13.9825ZM11.2893 13.9856C11.2754 13.9858 11.2612 13.9888 11.2476 13.9949C11.1932 14.0189 11.1688 14.0819 11.193 14.1361L11.6966 15.2637C11.7208 15.3179 11.7841 15.3421 11.8385 15.318C11.8929 15.294 11.9173 15.231 11.8931 15.1768L11.3895 14.0492C11.3714 14.0086 11.3312 13.9848 11.2893 13.9856ZM5.81602 14.3309C5.78162 14.3332 5.74907 14.3522 5.73047 14.3843L5.46968 14.8338C5.4399 14.8851 5.45745 14.9503 5.50902 14.9799C5.5606 15.0096 5.62609 14.9921 5.65586 14.9408L5.91665 14.4912C5.94642 14.4399 5.92888 14.3747 5.8773 14.3451C5.85797 14.334 5.83666 14.3295 5.81602 14.3309ZM12.1839 14.3309C12.1632 14.3294 12.142 14.334 12.1226 14.3451C12.071 14.3747 12.0535 14.4399 12.0833 14.4913L12.3441 14.9408C12.3738 14.9921 12.4393 15.0096 12.4909 14.98C12.5425 14.9503 12.56 14.8851 12.5302 14.8338L12.2695 14.3843C12.2508 14.3522 12.2183 14.3333 12.1839 14.3309ZM7.82838 14.347C7.7783 14.3465 7.73343 14.3811 7.7226 14.4318L7.46493 15.6389C7.45254 15.6969 7.48949 15.7535 7.54774 15.7658C7.606 15.7782 7.66286 15.7414 7.67523 15.6834L7.93291 14.4763C7.94529 14.4183 7.90834 14.3617 7.85009 14.3494C7.84281 14.3479 7.83553 14.347 7.82838 14.347ZM10.1677 14.3478C10.1605 14.3479 10.1533 14.3486 10.146 14.3501C10.0878 14.3624 10.0508 14.4189 10.0631 14.4769L10.3199 15.6842C10.3323 15.7422 10.3891 15.779 10.4474 15.7667C10.5056 15.7544 10.5426 15.6979 10.5303 15.6399L10.2734 14.4326C10.2626 14.3819 10.2178 14.3474 10.1677 14.3478ZM8.99994 14.4696C8.94038 14.4696 8.89244 14.5173 8.89244 14.5766V15.8106C8.89244 15.8699 8.94038 15.9176 8.99994 15.9176C9.05949 15.9176 9.10743 15.8699 9.10743 15.8106V14.5766C9.10743 14.5173 9.05949 14.4696 8.99994 14.4696ZM7.02668 14.8683C6.98493 14.8719 6.94747 14.8996 6.93366 14.9419L6.77244 15.4356C6.75403 15.492 6.7848 15.5521 6.84143 15.5704C6.89807 15.5888 6.95849 15.5581 6.9769 15.5017L7.13812 15.0081C7.15653 14.9517 7.12576 14.8916 7.06913 14.8733C7.05499 14.8687 7.0406 14.8672 7.02668 14.8683ZM10.9724 14.8686C10.9584 14.8673 10.9441 14.8688 10.9299 14.8735C10.8733 14.8918 10.8425 14.9519 10.8609 15.0083L11.022 15.502C11.0405 15.5584 11.1009 15.589 11.1575 15.5707C11.2142 15.5523 11.245 15.4923 11.2266 15.4359L11.0653 14.9422C11.0515 14.8999 11.0141 14.8721 10.9724 14.8686ZM8.32517 15.1435C8.27532 15.1483 8.23426 15.1873 8.22881 15.2388L8.1743 15.7551C8.16807 15.8141 8.21074 15.8665 8.26996 15.8727C8.32919 15.8789 8.3819 15.8364 8.38813 15.7775L8.44264 15.2612C8.44888 15.2023 8.40621 15.1498 8.34698 15.1436C8.33958 15.1429 8.3323 15.1429 8.32517 15.1435ZM9.67038 15.1441C9.66326 15.1433 9.65593 15.1433 9.64852 15.1441C9.58929 15.1503 9.54658 15.2027 9.55276 15.2617L9.60695 15.778C9.61313 15.8369 9.66579 15.8794 9.72503 15.8732C9.78426 15.8671 9.82697 15.8147 9.82079 15.7557L9.76664 15.2394C9.76123 15.1879 9.72023 15.1489 9.67038 15.1441Z" fill="#F4F2F3"></path><g opacity="0.409" filter="url(#filter1_f_232_10586)"><path d="M14.0382 4.68274L8.15683 8.08356L4.43823 13.9098L9.87824 9.89966L14.0382 4.68274Z" fill="black"></path></g><path d="M9.84301 9.84055L8.15723 8.08353L14.1374 4.07983L9.84301 9.84055Z" fill="#FF5150"></path><path d="M9.84292 9.84063L8.15713 8.08362L3.86279 13.8443L9.84292 9.84063Z" fill="#F1F1F1"></path><path opacity="0.243" d="M3.86279 13.8443L9.84292 9.84055L14.1373 4.07983L3.86279 13.8443Z" fill="black"></path><defs><filter id="filter0_f_232_10586" x="0.688705" y="1.62352" width="16.6231" height="15.9814" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="0.302498" result="effect1_foregroundBlur_232_10586"></feGaussianBlur></filter><filter id="filter1_f_232_10586" x="4.26628" y="4.51078" width="9.94377" height="9.57096" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="0.0859783" result="effect1_foregroundBlur_232_10586"></feGaussianBlur></filter><linearGradient id="paint0_linear_232_10586" x1="8.99971" y1="16.9237" x2="8.99971" y2="0.999958" gradientUnits="userSpaceOnUse"><stop stop-color="#BDBDBD"></stop><stop offset="1" stop-color="white"></stop></linearGradient><radialGradient id="paint1_radial_232_10586" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.03308 7.89198) scale(7.99997 7.96192)"><stop stop-color="#06C2E7"></stop><stop offset="0.25" stop-color="#0DB8EC"></stop><stop offset="0.5" stop-color="#12AEF1"></stop><stop offset="0.75" stop-color="#1F86F9"></stop><stop offset="1" stop-color="#107DDD"></stop></radialGradient></defs></svg>');function Wf(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=qf();let i;A(()=>i=D(o,i,{viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Gf=N('<svg><path d="M7.99962 0.00107943C3.58157 0.00107943 0 3.58265 0 8.0007C0 12.2909 3.37753 15.7923 7.61864 15.991C7.7452 15.997 7.87197 16.0004 7.99974 16.0004C10.0479 16.0004 11.9157 15.2302 13.331 13.9646C12.3933 14.5864 11.297 14.9443 10.1254 14.9443C8.22031 14.9443 6.51416 13.9992 5.36668 12.5088C4.48211 11.4647 3.90919 9.92121 3.87016 8.18901V7.81228C3.90917 6.08014 4.48209 4.53635 5.36646 3.49244C6.51411 2.0021 8.2202 1.05702 10.1251 1.05702C11.2971 1.05702 12.3936 1.41484 13.3314 2.03712C11.923 0.777236 10.0664 0.00868366 8.02971 0.00112034C8.01956 0.00112034 8.00961 0.000724167 7.99946 0.000724167L7.99962 0.00107943Z" fill="url(#paint0_linear_232_10612)"></path><path d="M5.3667 3.49288C6.10082 2.62623 7.04889 2.10363 8.0847 2.10363C10.4136 2.10363 12.3012 4.74402 12.3012 8.00105C12.3012 11.2581 10.4135 13.8985 8.0847 13.8985C7.04889 13.8985 6.10082 13.3761 5.3669 12.5094C6.51435 13.9997 8.22036 14.9448 10.1256 14.9448C11.2973 14.9448 12.3936 14.587 13.3312 13.9651C14.9686 12.5003 15.9997 10.3711 15.9997 8.0011C15.9997 5.63136 14.9688 3.50234 13.3318 2.03765C12.3939 1.41537 11.2974 1.05755 10.1256 1.05755C8.22055 1.05755 6.51418 2.00254 5.3667 3.49288Z" fill="url(#paint1_linear_232_10612)"></path><defs><linearGradient id="paint0_linear_232_10612" x1="6.66588" y1="0.261846" x2="6.66588" y2="15.7678" gradientUnits="userSpaceOnUse"><stop stop-color="#FF1B2D"></stop><stop offset="0.3" stop-color="#FF1B2D"></stop><stop offset="0.614" stop-color="#FF1B2D"></stop><stop offset="1" stop-color="#A70014"></stop></linearGradient><linearGradient id="paint1_linear_232_10612" x1="10.683" y1="1.17591" x2="10.683" y2="14.8901" gradientUnits="userSpaceOnUse"><stop stop-color="#9C0000"></stop><stop offset="0.7" stop-color="#FF4B4B"></stop><stop offset="1" stop-color="#FF4B4B"></stop></linearGradient></defs></svg>');function Kf(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Gf();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Yf=N('<svg><path d="M14.4437 11.9062C14.2291 12.0177 14.0079 12.1159 13.7812 12.2C13.0634 12.4672 12.3033 12.6027 11.5375 12.6C8.5812 12.6 6.0062 10.5688 6.0062 7.95625C6.01004 7.60643 6.10703 7.26394 6.28719 6.96405C6.46734 6.66415 6.72416 6.41768 7.0312 6.25C4.3562 6.3625 3.6687 9.15 3.6687 10.7812C3.6687 15.4062 7.92495 15.8687 8.8437 15.8687C9.33745 15.8687 10.0812 15.725 10.5312 15.5813L10.6125 15.5562C12.3346 14.9611 13.8027 13.7972 14.775 12.2563C14.8032 12.2094 14.8153 12.1546 14.8095 12.1003C14.8036 12.0459 14.7801 11.9949 14.7425 11.9552C14.7049 11.9155 14.6553 11.8892 14.6013 11.8804C14.5474 11.8715 14.492 11.8806 14.4437 11.9062Z" fill="url(#paint0_linear_232_10617)"></path><path opacity="0.35" d="M14.4437 11.9062C14.2291 12.0177 14.0079 12.1159 13.7812 12.2C13.0634 12.4672 12.3033 12.6027 11.5375 12.6C8.5812 12.6 6.0062 10.5688 6.0062 7.95625C6.01004 7.60643 6.10703 7.26394 6.28719 6.96405C6.46734 6.66415 6.72416 6.41768 7.0312 6.25C4.3562 6.3625 3.6687 9.15 3.6687 10.7812C3.6687 15.4062 7.92495 15.8687 8.8437 15.8687C9.33745 15.8687 10.0812 15.725 10.5312 15.5813L10.6125 15.5562C12.3346 14.9611 13.8027 13.7972 14.775 12.2563C14.8032 12.2094 14.8153 12.1546 14.8095 12.1003C14.8036 12.0459 14.7801 11.9949 14.7425 11.9552C14.7049 11.9155 14.6553 11.8892 14.6013 11.8804C14.5474 11.8715 14.492 11.8806 14.4437 11.9062Z" fill="url(#paint1_radial_232_10617)"></path><path d="M6.60619 15.0812C6.04987 14.7357 5.56764 14.2832 5.18744 13.75C4.75328 13.1557 4.45442 12.4736 4.31185 11.7516C4.16928 11.0296 4.18644 10.2851 4.36213 9.57046C4.53782 8.85578 4.86779 8.1882 5.32887 7.61458C5.78996 7.04097 6.37099 6.5752 7.03119 6.24998C7.23119 6.15623 7.56244 5.99373 8.00619 5.99998C8.31845 6.00239 8.62591 6.07699 8.90456 6.21794C9.1832 6.35889 9.42548 6.56237 9.61244 6.81248C9.86392 7.15065 10.0018 7.55982 10.0062 7.98123C10.0062 7.96873 11.5374 3.00623 5.00619 3.00623C2.26244 3.00623 0.00619129 5.60623 0.00619129 7.89373C-0.00472213 9.10207 0.253615 10.2977 0.762441 11.3937C1.59574 13.1681 3.05153 14.5748 4.85346 15.3467C6.6554 16.1186 8.67804 16.2021 10.5374 15.5812C9.88601 15.787 9.19768 15.8488 8.52 15.7625C7.84233 15.6762 7.19149 15.4437 6.61244 15.0812H6.60619Z" fill="url(#paint2_linear_232_10617)"></path><path opacity="0.41" d="M6.60619 15.0812C6.04987 14.7357 5.56764 14.2832 5.18744 13.75C4.75328 13.1557 4.45442 12.4736 4.31185 11.7516C4.16928 11.0296 4.18644 10.2851 4.36213 9.57046C4.53782 8.85578 4.86779 8.1882 5.32887 7.61458C5.78996 7.04097 6.37099 6.5752 7.03119 6.24998C7.23119 6.15623 7.56244 5.99373 8.00619 5.99998C8.31845 6.00239 8.62591 6.07699 8.90456 6.21794C9.1832 6.35889 9.42548 6.56237 9.61244 6.81248C9.86392 7.15065 10.0018 7.55982 10.0062 7.98123C10.0062 7.96873 11.5374 3.00623 5.00619 3.00623C2.26244 3.00623 0.00619129 5.60623 0.00619129 7.89373C-0.00472213 9.10207 0.253615 10.2977 0.762441 11.3937C1.59574 13.1681 3.05153 14.5748 4.85346 15.3467C6.6554 16.1186 8.67804 16.2021 10.5374 15.5812C9.88601 15.787 9.19768 15.8488 8.52 15.7625C7.84233 15.6762 7.19149 15.4437 6.61244 15.0812H6.60619Z" fill="url(#paint3_radial_232_10617)"></path><path d="M9.525 9.3C9.46875 9.3625 9.3125 9.45625 9.3125 9.65C9.3125 9.8125 9.41875 9.975 9.6125 10.1062C10.5062 10.7312 12.2 10.6438 12.2062 10.6438C12.8725 10.6433 13.5265 10.4642 14.1 10.125C14.6774 9.78729 15.1565 9.30452 15.4897 8.72458C15.823 8.14463 15.9989 7.48764 16 6.81875C16.0188 5.41875 15.5 4.4875 15.2937 4.075C13.9625 1.4875 11.1063 3.91651e-08 8 3.91651e-08C5.89762 -0.000207848 3.87965 0.827187 2.38255 2.30323C0.885453 3.77928 0.0295648 5.78532 0 7.8875C0.03125 5.60625 2.3 3.7625 5 3.7625C5.21875 3.7625 6.46875 3.78125 7.625 4.3875C8.43732 4.79116 9.11001 5.42902 9.55625 6.21875C9.9375 6.88125 10.0062 7.725 10.0062 8.0625C10.0062 8.4 9.8375 8.89375 9.51875 9.30625L9.525 9.3Z" fill="url(#paint4_radial_232_10617)"></path><path d="M9.525 9.3C9.46875 9.3625 9.3125 9.45625 9.3125 9.65C9.3125 9.8125 9.41875 9.975 9.6125 10.1062C10.5062 10.7312 12.2 10.6438 12.2062 10.6438C12.8725 10.6433 13.5265 10.4642 14.1 10.125C14.6774 9.78729 15.1565 9.30452 15.4897 8.72458C15.823 8.14463 15.9989 7.48764 16 6.81875C16.0188 5.41875 15.5 4.4875 15.2937 4.075C13.9625 1.4875 11.1063 3.91651e-08 8 3.91651e-08C5.89762 -0.000207848 3.87965 0.827187 2.38255 2.30323C0.885453 3.77928 0.0295648 5.78532 0 7.8875C0.03125 5.60625 2.3 3.7625 5 3.7625C5.21875 3.7625 6.46875 3.78125 7.625 4.3875C8.43732 4.79116 9.11001 5.42902 9.55625 6.21875C9.9375 6.88125 10.0062 7.725 10.0062 8.0625C10.0062 8.4 9.8375 8.89375 9.51875 9.30625L9.525 9.3Z" fill="url(#paint5_radial_232_10617)"></path><defs><linearGradient id="paint0_linear_232_10617" x1="3.6687" y1="11.0625" x2="14.8187" y2="11.0625" gradientUnits="userSpaceOnUse"><stop stop-color="#0C59A4"></stop><stop offset="1" stop-color="#114A8B"></stop></linearGradient><radialGradient id="paint1_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.82495 11.1466) scale(5.9625 5.66437)"><stop offset="0.7" stop-opacity="0"></stop><stop offset="0.9" stop-opacity="0.5"></stop><stop offset="1"></stop></radialGradient><linearGradient id="paint2_linear_232_10617" x1="9.54369" y1="6.22498" x2="2.58744" y2="13.8062" gradientUnits="userSpaceOnUse"><stop stop-color="#1B9DE2"></stop><stop offset="0.2" stop-color="#1595DF"></stop><stop offset="0.7" stop-color="#0680D7"></stop><stop offset="1" stop-color="#0078D4"></stop></linearGradient><radialGradient id="paint3_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(4.40963 12.4335) rotate(-81.3844) scale(8.96163 7.24009)"><stop offset="0.8" stop-opacity="0"></stop><stop offset="0.9" stop-opacity="0.5"></stop><stop offset="1"></stop></radialGradient><radialGradient id="paint4_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(1.61812 2.95725) rotate(92.2906) scale(12.6601 26.9634)"><stop stop-color="#35C1F1"></stop><stop offset="0.1" stop-color="#34C1ED"></stop><stop offset="0.2" stop-color="#2FC2DF"></stop><stop offset="0.3" stop-color="#2BC3D2"></stop><stop offset="0.7" stop-color="#36C752"></stop></radialGradient><radialGradient id="paint5_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(15.0038 4.83125) rotate(73.7398) scale(6.08125 4.94527)"><stop stop-color="#66EB6E"></stop><stop offset="1" stop-color="#66EB6E" stop-opacity="0"></stop></radialGradient></defs></svg>');function Jf(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Yf();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Xf=N('<svg><rect opacity="0.2" x="1" y="1" width="14" height="14" rx="2" fill="currentColor"></rect><rect x="1.5" y="1.5" width="13" height="13" rx="1.5" stroke="currentColor"></rect></svg>');function Ua(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Xf();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Qf=M("<div><!></div>");function th(r,t){st(t,!0);const e=K(t,"size",3,"size-4"),o={Chrome:jf,Firefox:Zf,Safari:Wf,Opera:Kf,Edge:Jf},i=j(()=>{var s;return o[(s=t.browser)==null?void 0:s.name]||Ua});var n=Qf(),a=x(n);Bi(a,()=>p(i),(s,l)=>{l(s,{get class(){return e()}})}),A(()=>{var s,l;V(n,1,Z(e())),it(n,"data-cursor-text",`${(s=t.browser)==null?void 0:s.name} / ${(l=t.browser)==null?void 0:l.v}`)}),k(r,n),lt()}var eh=M("<div><div><div><!></div> <button><!></button> <div><!></div></div></div>");function rh(r,t){st(t,!0);const e=K(t,"opened",3,!1),o=K(t,"disabled",3,!1),i=()=>{const w=document.querySelector(t.selector);w&&_t.scrollIntoView(w),me.scrollingToElement=!0};var n=eh();let a;var s=x(n);V(s,1,Z(["h-4 flex gap-1.5","group-hover/card:w-[60px] w-4 overflow-clip group-disabled/card:w-[60px]","transition-all duration-200 ease-spring"]));var l=x(s);l.__mouseover=i;var c=x(l);{var u=w=>{Vf(w,{class:"size-4 shrink-0"})},f=w=>{Pf(w,{class:"size-4"})};rt(c,w=>{t.invalid?w(u):w(f,!1)})}var d=U(l,2);V(d,1,Z(["text-white/30 group-hover/card:opacity-100 hover:text-white hover:ease-spring fubi-show-cursor","opacity-0 group-hover/card:opacity-100 group-disabled/card:opacity-100"]));var h=x(d);jl(h,{height:"h-4",get resolution(){return t.resolution}});var v=U(d,2),b=x(v);yf(b,{get comment(){return t.comment},get visible(){return o()}}),A(()=>{a=V(n,1,Z(["h-4 flex transition-all duration-800 ease-spring top-2 right-2 absolute"]),null,a,{opened:e()}),V(l,1,Z(["transition-all duration-200 ease-spring fubi-show-cursor text-white/30 hover:text-white",t.invalid?"text-orange-500/60 hover:text-orange-500":o()||Ve.inView?"opacity-0 pointer-events-none":"opacity-0 group-hover/card:opacity-100"]))}),k(r,n),lt()}pe(["mouseover"]);var oh=M("<img>"),ih=M("<div> <!></div>");function nh(r,t){st(t,!0);let e=K(t,"small",3,!1),o=j(()=>{var c,u,f,d;return`${((u=(c=t.user)==null?void 0:c.first_name)==null?void 0:u.charAt(0))||""}${((d=(f=t.user)==null?void 0:f.last_name)==null?void 0:d.charAt(0))||""}`}),i=j(()=>{var c,u,f;return`${(c=$==null?void 0:$.config)==null?void 0:c.backend}/api/files/users/${(u=t.user)==null?void 0:u.id}/${(f=t.user)==null?void 0:f.avatar}`});var n=ih(),a=x(n),s=U(a);{var l=c=>{var u=oh();A(()=>{var f,d;it(u,"src",`${p(i)}`),it(u,"alt",`${(f=t.user)==null?void 0:f.first_name} ${(d=t.user)==null?void 0:d.last_name}`),V(u,1,Z(["absolute inset-0 object-cover rounded-full",e()?"size-3.5":"size-5"]))}),k(c,u)};rt(s,c=>{var u;p(i)&&((u=t.user)!=null&&u.avatar)&&c(l)})}A(()=>{var c;it(n,"style",`--bg-color: ${((c=t.user)==null?void 0:c.color)||"#00A6F5"};`),V(n,1,Z(["rounded-full bg-[var(--bg-color)] text-white uppercase pt-px flex items-center outline-1 outline-white/0 justify-center font-medium relative group-hover/card:opacity-0 duration-800 group-hover/card:duration-400 transition-all ease-spring group-hover/card:scale-75 done:scale-75 done:opacity-0",e()?"size-3.5 text-[7px]/none":"size-5 text-[9px]/none"])),et(a,`${p(o)??""} `)}),k(r,n),lt()}var ah=(r,t,e)=>!t()&&e(),sh=M('<div><!> <button><!> <p class="text-xs/[140%] text-white/40 new:text-white/60 text-left px-0.5 done:text-white/30 line-clamp-4"> </p></button></div>');function Nl(r,t){st(t,!0);const e="card";let o=K(t,"disabled",3,!1),i=j(()=>t.comment||{id:0,selector:null,tag:null,status:"done",invalid:!1,text:"",participants:[],unread:!1,expand:{created_by:{first_name:"",last_name:""}}}),n=j(()=>p(i).selector),a=j(()=>p(i).tag),s=j(()=>p(i).status),l=j(()=>p(i).invalid),c=j(()=>p(i).text),u=j(()=>p(i).participants),f=j(()=>p(i).unread);const d=()=>{C.emit(e,"mouseenter",{target:document.querySelector(p(n))})},h=()=>{C.emit(e,"clicked",p(n))};var v=sh();let b;var w=x(v);const _=j(()=>{var z,H;return(H=(z=t.comment)==null?void 0:z.info)==null?void 0:H.resolution}),y=j(()=>{var z,H;return(H=(z=t.comment)==null?void 0:z.info)==null?void 0:H.browser});rh(w,{get comment(){return t.comment},get selector(){return p(n)},get tag(){return p(a)},get resolution(){return p(_)},get browser(){return p(y)},get invalid(){return p(l)},get disabled(){return o()}});var m=U(w,2);m.__click=[ah,o,h];var S=x(m);gf(S,{get users(){return p(u)},get unread(){return p(f)}});var L=U(S,2),O=x(L);A(()=>{var z;it(v,"data-fubi-selector",p(n)),b=V(v,1,Z(["fubi-card-wrapper flex flex-col gap-1 group/card relative outline outline-white/0","fubi-ignore-stop fubi-hide-cursor fubi-show-hover"]),null,b,{new:((z=t.comment)==null?void 0:z.unread)>0&&p(s)!=="done",done:p(s)==="done",invalid:p(l),disabled:o()}),V(m,1,Z(["flex flex-col gap-1.5","p-2 transition-color duration-150 ease-in-out rounded-[10px]",!p(l)&&"new:bg-white/4 new:hover:bg-white/8 new:border-t new:border-t-white/5 new:shadow-lg",!p(l)&&"disabled:bg-white/0 disabled:done:bg-white/0 disabled:done:outline-white/5","hover:bg-white/4 disabled:select-text"])),et(O,p(c))}),Vt("mouseenter",m,()=>!o()&&d()),k(r,v),lt()}pe(["click"]);var lh=N('<svg><path d="M9 1L5 5L1 1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Zl(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=lh();let i;A(()=>i=D(o,i,{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}const ch=(r,t)=>{t(!t())};var dh=M('<div class="absolute bottom-0 left-0 w-full h-[10px] pointer-events-none z-[11] hidden"></div>'),uh=M('<div><div><button><div class="flex gap-0.5 items-end"><p class="text-sm/none font-bold text-white"> </p> <div><span class="sr-only">Toggle visibility</span> <!></div></div> <div><span> </span> <div></div></div></button> <div></div></div> <div><div data-lenis-prevent=""></div></div> <!></div>');function Fa(r,t){st(t,!0);let e=K(t,"opened",15),o=K(t,"type",3,"default"),i=T(0),n=new va(0,{duration:500,easing:rn});const a="thread-list";kr(()=>{n.set(e()?p(i)<0?0:p(i):0)});const s=()=>{C.emit(a,"mouseleave")};var l=Yt(),c=wt(l);{var u=f=>{var d=uh(),h=x(d);V(h,1,Z(["sticky top-[68px] left-0 z-10 group/header bg-neutral-950 rounded-b-[14px]"]));var v=x(h);v.__click=[ch,e];var b=x(v),w=x(b),_=x(w),y=U(w,2),m=U(x(y),2);const S=j(()=>["w-[10px] transition-transform duration-400 ease-spring text-white",e()?"rotate-0":"rotate-90"]);Zl(m,{get class(){return p(S)}});var L=U(b,2);V(L,1,Z(["size-[18px] text-[11px]/none pt-px flex items-center justify-center text-center font-medium rounded-full transition-colors duration-400 ease-spring bg-white/4 relative text-white/60"]));var O=x(L),z=x(O),H=U(O,2),J=U(v,2),X=U(h,2),Q=x(X);Vi(Q,31,()=>t.comments,ht=>ht.id,(ht,xt,Ut)=>{var $t=Yt(),Ft=wt($t);O1(Ft,()=>"div",!1,(It,qt)=>{B1(It,()=>of,()=>({duration:500,easing:rn})),ut(1,It,()=>lf,()=>({key:p(Ut)})),ut(2,It,()=>sf,()=>({key:p(Ut)})),Nl(qt,{get comment(){return p(xt)},get index(){return p(Ut)}})}),k(ht,$t)});var G=U(X,2);{var gt=ht=>{var xt=dh();k(ht,xt)};rt(G,ht=>{t.comments.length>0&&ht(gt)})}A(()=>{it(d,"data-opened",e()?"true":null),V(d,1,Z(["z-0 relative group mx-1 rounded-[14px] rounded-b-[14px]",o()==="default"&&"bg-[#131515]",o()==="done"&&"bg-[#111c13]",o()==="mine"&&"bg-[#081821]",!e()&&"overflow-clip"])),it(v,"data-opened",e()?"true":null),V(v,1,Z(["h-[32px] pr-[11px] pl-[12px] flex justify-between items-center rounded-t-[14px] border-b border-b-black/0 data-opened:border-b-black/20 left-0 z-10 w-full transition-all duration-400 ease-spring border-t",t.comments.length>0&&"active:from-neutral-800",o()==="default"&&"bg-[#131515] hover:bg-[#1C1E1E] border-white/5",o()==="done"&&"bg-[#111c13] hover:bg-[#152418] border-green-500/10",o()==="mine"&&"bg-[#081821] hover:bg-[#0b2533] border-sky-500/10",e()?"":"rounded-b-[14px]"])),et(_,t.name),V(y,1,Z(["w-2 transition-all duration-400 ease-spring flex items-center",e()?"h-[14px]":"h-[12px] translate-x-full opacity-0 group-hover/header:translate-x-0 group-hover/header:opacity-100"])),et(z,t.comments.length),V(H,1,Z(["size-1 rounded-full bg-red-500 top-0 right-0 absolute","hidden"])),V(J,1,Z(["absolute bottom-0 left-0 w-full h-[16px] pointer-events-none z-[11] translate-y-full group-last:hidden",(!e()||t.comments.length===0)&&"hidden"])),it(X,"style",`height: ${n.current??""}px`),V(X,1,Z(["group-last:rounded-b-[12px] z-[9] relative overflow-clip",!e()&&"pointer-events-none"])),V(Q,1,Z(["flex flex-col gap-1 relative flex-1 justify-end",t.comments.length>0?"p-1":"p-0"]))}),Vt("mouseleave",X,s),ea(Q,"clientHeight",ht=>E(i,ht)),ut(3,d,()=>Or,()=>({duration:500,easing:rn})),k(f,d)};rt(c,f=>{t.comments.length>0&&f(u)})}k(r,l),lt()}pe(["click"]);var fh=M('<div class="flex py-4 items-center justify-center bg-white/4 mx-1.5 mb-0.5 rounded-t-[8px] rounded-b-[12px]"><div class="flex items-center justify-center text-xs text-white/50 border-t border-t-white/4 py-1 px-3 bg-white/10 rounded-xl">No comments</div></div>'),hh=M('<div id="fubi-page-threads" class="fubi-page"><!> <div id="fubi-page-threads-backdrop"></div> <div id="fubi-threads-list-wrapper"><!> <!> <div class="flex flex-col gap-1 pb-1"><!> <!> <!></div></div></div>');function ph(r,t){st(t,!0);let e=T(null),o=T(null),i=T(0),n=T(0);function a(){E(i,I(p(e).scrollTop)),E(n,I(p(o).clientHeight))}var s=hh(),l=x(s);Qu(l,{});var c=U(l,4);let u;var f=x(c);{var d=m=>{rf(m,{})};rt(f,m=>{(Lt.current.new||Lt.data===null)&&m(d)})}var h=U(f,2);{var v=m=>{var S=fh();k(m,S)};rt(h,m=>{R.data.length===0&&!Lt.loading&&!Lt.current.new&&m(v)})}var b=U(h,2),w=x(b);Fa(w,{name:"Mine",type:"mine",get comments(){return R.mine},get opened(){return R.mineOpened},set opened(m){R.mineOpened=m}});var _=U(w,2);Fa(_,{name:"Other",get comments(){return R.other},get opened(){return R.otherOpened},set opened(m){R.otherOpened=m}});var y=U(_,2);Fa(y,{name:"Done",type:"done",get comments(){return R.done},get opened(){return R.doneOpened},set opened(m){R.doneOpened=m}}),Qe(c,m=>E(o,m),()=>p(o)),Qe(s,m=>E(e,m),()=>p(e)),A(()=>u=V(c,1,"",null,u,{loading:Lt.loading})),Vt("scroll",s,a),k(r,s),lt()}var gh=N('<svg><path d="M3.03324 1.01662L15.2111 7.10557C15.9482 7.4741 15.9482 8.5259 15.2111 8.89443L3.03324 14.9834C2.255 15.3725 1.38547 14.6509 1.62451 13.8142L2.79278 9.72528C2.91544 9.29598 3.30782 9 3.7543 9H7C7.55228 9 8 8.55229 8 8C8 7.44772 7.55228 7 7 7H3.7543C3.30782 7 2.91543 6.70402 2.79278 6.27472L1.62451 2.18577C1.38547 1.34914 2.255 0.627499 3.03324 1.01662Z" fill="currentColor"></path></svg>');function vh(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=gh();let i;A(()=>i=D(o,i,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var bh=N('<svg><path d="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z" fill="currentColor"></path></svg>');function ql(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=bh();let i;A(()=>i=D(o,i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",...e},void 0,!0)),k(r,o)}var mh=M("<div><div><!></div> <p> </p></div>"),wh=M('<div><div><!> <div><div> </div> <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7 0H17C17 10 8.5 16 0 16C7 12.5 7 7.5 7 0Z" fill="currentColor"></path></svg></div></div></div>');function xh(r,t){st(t,!0);const e=K(t,"total",3,0),o=K(t,"hideAuthor",3,!1),i=K(t,"latest",3,!1);var n=wh(),a=x(n),s=x(a);{var l=h=>{var v=mh(),b=x(v),w=x(b);nh(w,{get user(){return t.author},small:!0});var _=U(b,2);V(_,1,Z(["text-neutral-500 text-[10px]/none pb-[4px]"]));var y=x(_);A(()=>{V(v,1,Z(["relative mt-4",t.mine?"mr-3":"ml-3"])),V(b,1,Z(["size-[16px] top-1/2 -translate-y-[calc(50%+1px)] absolute",t.mine?"translate-x-[calc(100%+4px)] right-0":"-translate-x-[calc(100%+1px)] left-0"])),et(y,t.mine?"You":t.name)}),k(h,v)};rt(s,h=>{var v;t.previousAuthor!==((v=t.author)==null?void 0:v.id)&&!o()&&h(l)})}var c=U(s,2),u=x(c),f=x(u),d=U(u,2);A(()=>{V(n,1,Z(["wm-fubi-message px-3",t.mine?"wm-fubi-mine mt-4 [.wm-fubi-mine+.wm-fubi-mine]:mt-[2px]":"wm-fubi-other mt-2 [.wm-fubi-other+.wm-fubi-other]:mt-[2px]"])),V(a,1,Z(["w-full flex flex-col",t.mine?"items-end":"items-start"])),V(c,1,Z(["py-2 px-3 max-w-[80%] text-[13px]/[130%] relative",t.mine?"bg-indigo-500 text-indigo-500":"bg-neutral-800 text-neutral-800",t.mine?"rounded-tl-2xl rounded-bl-2xl":"rounded-tr-2xl rounded-br-2xl",t.previousAuthor!==t.author&&t.nextAuthor!==t.author&&t.mine&&"rounded-tr-2xl rounded-br-2xl",(t.previousAuthor!==t.author||t.previousType!=="comment")&&t.nextAuthor===t.author&&t.mine&&t.previousType!=="comment"&&"rounded-tr-2xl rounded-br-sm",t.previousAuthor===t.author&&(t.nextAuthor!==t.author||t.nextType!=="comment")&&t.mine&&"rounded-tr-sm rounded-br-2xl",t.previousAuthor===t.author&&t.nextAuthor===t.author&&t.mine&&t.previousType==="comment"&&t.nextType==="comment"&&"rounded-tr-sm rounded-br-sm",!t.mine&&t.previousAuthor!==t.author&&t.nextAuthor!==t.author&&"rounded-tl-2xl rounded-bl-2xl",!t.mine&&(t.previousAuthor!==t.author||t.previousType!=="comment")&&t.nextAuthor===t.author&&"rounded-tl-2xl rounded-bl-sm",!t.mine&&t.previousAuthor===t.author&&(t.nextAuthor!==t.author||t.nextType!=="comment")&&"rounded-tl-sm rounded-bl-2xl",!t.mine&&t.previousAuthor===t.author&&t.nextAuthor===t.author&&t.previousType==="comment"&&t.nextType==="comment"&&"rounded-tl-sm rounded-bl-sm"])),V(u,1,Z(["text-left whitespace-break-spaces",t.mine?"text-white":"text-neutral-200"])),et(f,t.text),V(d,0,Z(["absolute bottom-0 origin-top-left transition-transform duration-300 ease-in-out",t.mine?"right-0 translate-x-[calc(100%+7px)] -scale-x-[100%]":"left-0 -translate-x-[7px]",t.nextAuthor!==t.author||t.nextType!=="comment"?"scale-y-100":"scale-y-0"]))}),ut(1,a,()=>bn,()=>({duration:500,y:i()?100:-50,opacity:0,delay:50*(e()+1-t.index),easing:ro})),ut(1,n,()=>af,()=>({duration:500,easing:ro,enabled:i()})),ut(2,n,()=>Ea),k(r,n),lt()}var yh=M("<button><!></button>");function Ch(r,t){const e=P(t,["$$slots","$$events","$$legacy","children"]);var o=yh();let i;var n=x(o);Me(n,()=>t.children),A(()=>i=D(o,i,{class:"flex items-center justify-center bg-white/0 hover:bg-slate-800 rounded-lg size-[26px] border border-white/0 hover:border-white/5 gap-1 active:bg-white/10 active:border-white/0 transition-color duration-150 ease-in-out cursor-context-menu group/back text-white/60 hover:text-white ",...e})),k(r,o)}var kh=N('<svg><rect x="1.5" y="1.5" width="13" height="13" rx="1.5" stroke="currentColor"></rect><rect opacity="0.2" x="2" y="2" width="12" height="12" fill="currentColor"></rect><path fill-rule="evenodd" clip-rule="evenodd" d="M3 2C2.44772 2 2 2.44772 2 3V13L5 10L7 12L11 8L14 11V3C14 2.44772 13.5523 2 13 2H3ZM5 7C6.10457 7 7 6.10457 7 5C7 3.89543 6.10457 3 5 3C3.89543 3 3 3.89543 3 5C3 6.10457 3.89543 7 5 7Z" fill="currentColor"></path></svg>');function _h(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=kh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Eh=N('<svg><rect x="1.5" y="1.5" width="13" height="13" rx="1.5" stroke="currentColor"></rect><rect opacity="0.2" x="2" y="2" width="12" height="12" fill="currentColor"></rect><path d="M6.75725 5.45435L10.2854 7.57125C10.6091 7.76546 10.6091 8.23455 10.2854 8.42875L6.75725 10.5457C6.42399 10.7456 6 10.5056 6 10.1169V5.8831C6 5.49445 6.42399 5.25439 6.75725 5.45435Z" fill="currentColor"></path></svg>');function Sh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Eh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Lh=N('<svg><path d="M10.6186 4.88137L9.13137 6.36863C8.73535 6.76465 8.53735 6.96265 8.30902 7.03684C8.10817 7.1021 7.89183 7.1021 7.69098 7.03684C7.46265 6.96265 7.26465 6.76465 6.86863 6.36863L5.38137 4.88137C4.98535 4.48535 4.78735 4.28735 4.71316 4.05902C4.6479 3.85817 4.6479 3.64183 4.71316 3.44098C4.78735 3.21265 4.98535 3.01465 5.38137 2.61863L6.86863 1.13137C7.26465 0.735354 7.46265 0.537345 7.69098 0.463157C7.89183 0.397899 8.10817 0.397899 8.30902 0.463157C8.53735 0.537345 8.73535 0.735354 9.13137 1.13137L10.6186 2.61863C11.0146 3.01465 11.2127 3.21265 11.2868 3.44098C11.3521 3.64183 11.3521 3.85817 11.2868 4.05902C11.2127 4.28735 11.0146 4.48535 10.6186 4.88137Z" fill="currentColor"></path><path d="M10.6186 13.3814L9.13137 14.8686C8.73535 15.2646 8.53735 15.4627 8.30902 15.5368C8.10817 15.6021 7.89183 15.6021 7.69098 15.5368C7.46265 15.4627 7.26465 15.2646 6.86863 14.8686L5.38137 13.3814C4.98535 12.9854 4.78735 12.7873 4.71316 12.559C4.6479 12.3582 4.6479 12.1418 4.71316 11.941C4.78735 11.7127 4.98535 11.5146 5.38137 11.1186L6.86863 9.63137C7.26465 9.23535 7.46265 9.03735 7.69098 8.96316C7.89183 8.8979 8.10817 8.8979 8.30902 8.96316C8.53735 9.03735 8.73535 9.23535 9.13137 9.63137L10.6186 11.1186C11.0146 11.5146 11.2127 11.7127 11.2868 11.941C11.3521 12.1418 11.3521 12.3582 11.2868 12.559C11.2127 12.7873 11.0146 12.9854 10.6186 13.3814Z" fill="currentColor"></path><path d="M6.36863 9.13137L4.88137 10.6186C4.48535 11.0146 4.28735 11.2127 4.05902 11.2868C3.85817 11.3521 3.64183 11.3521 3.44098 11.2868C3.21265 11.2127 3.01465 11.0146 2.61863 10.6186L1.13137 9.13137C0.735354 8.73535 0.537345 8.53735 0.463157 8.30902C0.397899 8.10817 0.397899 7.89183 0.463157 7.69098C0.537345 7.46265 0.735354 7.26465 1.13137 6.86863L2.61863 5.38137C3.01465 4.98535 3.21265 4.78735 3.44098 4.71316C3.64183 4.6479 3.85817 4.6479 4.05902 4.71316C4.28735 4.78735 4.48535 4.98535 4.88137 5.38137L6.36863 6.86863C6.76465 7.26465 6.96265 7.46265 7.03684 7.69098C7.1021 7.89183 7.1021 8.10817 7.03684 8.30902C6.96265 8.53735 6.76465 8.73535 6.36863 9.13137Z" fill="currentColor"></path><path d="M14.8686 9.13137L13.3814 10.6186C12.9854 11.0146 12.7873 11.2127 12.559 11.2868C12.3582 11.3521 12.1418 11.3521 11.941 11.2868C11.7127 11.2127 11.5146 11.0146 11.1186 10.6186L9.63137 9.13137C9.23535 8.73535 9.03735 8.53735 8.96316 8.30902C8.8979 8.10817 8.8979 7.89183 8.96316 7.69098C9.03735 7.46265 9.23535 7.26465 9.63137 6.86863L11.1186 5.38137C11.5146 4.98535 11.7127 4.78735 11.941 4.71316C12.1418 4.6479 12.3582 4.6479 12.559 4.71316C12.7873 4.78735 12.9854 4.98535 13.3814 5.38137L14.8686 6.86863C15.2646 7.26465 15.4627 7.46265 15.5368 7.69098C15.6021 7.89183 15.6021 8.10817 15.5368 8.30902C15.4627 8.53735 15.2646 8.73535 14.8686 9.13137Z" fill="currentColor"></path></svg>');function Uh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Lh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Fh=N('<svg><rect opacity="0.2" x="1" width="14" height="16" rx="1" fill="currentColor"></rect><path fill-rule="evenodd" clip-rule="evenodd" d="M2 0C1.44772 0 1 0.447715 1 1V15C1 15.5523 1.44772 16 2 16H14C14.5523 16 15 15.5523 15 15V1C15 0.447715 14.5523 0 14 0H2ZM14 2C14 2.55228 13.5523 3 13 3C12.4477 3 12 2.55228 12 2C12 1.44772 12.4477 1 13 1C13.5523 1 14 1.44772 14 2ZM2 5.5C2 4.94772 2.44772 4.5 3 4.5H11C11.5523 4.5 12 4.94772 12 5.5C12 6.05228 11.5523 6.5 11 6.5H3C2.44772 6.5 2 6.05228 2 5.5ZM7 12.5C7 12.2239 7.22386 12 7.5 12H13.5C13.7761 12 14 12.2239 14 12.5V14C14 14.2761 13.7761 14.5 13.5 14.5H7.5C7.22386 14.5 7 14.2761 7 14V12.5ZM2.5 7.5C2.22386 7.5 2 7.72386 2 8C2 8.27614 2.22386 8.5 2.5 8.5H8.5C8.77614 8.5 9 8.27614 9 8C9 7.72386 8.77614 7.5 8.5 7.5H2.5Z" fill="currentColor"></path></svg>');function Ah(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Fh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var $h=N('<svg><rect y="12" width="12" height="4" rx="1" fill="currentColor"></rect><rect opacity="0.2" x="1" y="6" width="14" height="2" fill="currentColor"></rect><rect x="0.5" y="5.5" width="15" height="3" rx="1" stroke="currentColor"></rect><rect opacity="0.2" x="1" y="1" width="14" height="2" fill="currentColor"></rect><rect x="0.5" y="0.5" width="15" height="3" rx="1" stroke="currentColor"></rect></svg>');function Ih(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=$h();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Th=N('<svg><path d="M2 5.5H14C14.8284 5.5 15.5 6.17157 15.5 7V9C15.5 9.82843 14.8284 10.5 14 10.5H2C1.17157 10.5 0.5 9.82843 0.5 9V7C0.5 6.17157 1.17157 5.5 2 5.5Z" stroke="currentColor"></path><path opacity="0.5" d="M3 8H5.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path opacity="0.5" d="M8 8H12.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><rect opacity="0.1" x="1" y="6" width="14" height="4" rx="1" fill="currentColor"></rect></svg>');function Oh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Th();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var zh=N('<svg><rect y="5" width="16" height="6" rx="1" fill="currentColor"></rect><rect opacity="0.2" width="16" height="16" rx="2" fill="currentColor"></rect></svg>');function Mh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=zh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Rh=N('<svg><rect opacity="0.2" width="16" height="16" rx="2" fill="currentColor"></rect><path d="M0 2C0 0.895431 0.895431 0 2 0H6C6.55228 0 7 0.447715 7 1V15C7 15.5523 6.55228 16 6 16H2C0.89543 16 0 15.1046 0 14V2Z" fill="currentColor"></path></svg>');function Dh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Rh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Ph=N('<svg><rect opacity="0.2" x="1" y="2" width="14" height="12" fill="currentColor"></rect><rect x="0.5" y="2" width="15" height="12" rx="0.5" stroke="currentColor"></rect><path d="M1 6H15" stroke="currentColor" stroke-linecap="round"></path><path d="M8 13.5L8 2.5" stroke="currentColor" stroke-linecap="round"></path><path d="M1 10H15" stroke="currentColor" stroke-linecap="round"></path></svg>');function Hh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Ph();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Vh=N('<svg><rect opacity="0.05" x="1" y="2.5" width="14" height="3" fill="currentColor"></rect><path opacity="0.2" fill-rule="evenodd" clip-rule="evenodd" d="M0 2.5C0 1.94772 0.447715 1.5 1 1.5H15C15.5523 1.5 16 1.94772 16 2.5V13.5C16 14.0523 15.5523 14.5 15 14.5H1C0.447715 14.5 0 14.0523 0 13.5V2.5ZM1 2.5H7.5V5.5H1V2.5ZM8.5 5.5V2.5L15 2.5V5.5H8.5ZM1 6.5H7.5V9.5H1V6.5ZM1 10.5V13.5H7.5V10.5H1ZM8.5 10.5V13.5H15V10.5H8.5ZM15 9.5V6.5H8.5V9.5H15Z" fill="currentColor"></path><rect x="0.5" y="2" width="7.5" height="4" stroke="currentColor" stroke-linejoin="round"></rect></svg>');function Bh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Vh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var jh=N('<svg><path opacity="0.2" fill-rule="evenodd" clip-rule="evenodd" d="M0 2.5C0 1.94772 0.447715 1.5 1 1.5H15C15.5523 1.5 16 1.94772 16 2.5V13.5C16 14.0523 15.5523 14.5 15 14.5H1C0.447715 14.5 0 14.0523 0 13.5V2.5ZM1 2.5H7.5V5.5H1V2.5ZM8.5 5.5V2.5L15 2.5V5.5H8.5ZM1 6.5H7.5V9.5H1V6.5ZM1 10.5V13.5H7.5V10.5H1ZM8.5 10.5V13.5H15V10.5H8.5ZM15 9.5V6.5H8.5V9.5H15Z" fill="currentColor"></path><rect x="0.5" y="6" width="7.5" height="4" stroke="currentColor" stroke-linejoin="round"></rect></svg>');function Nh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=jh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Zh=N('<svg><rect opacity="0.2" width="16" height="16" rx="2" fill="currentColor"></rect><rect x="8" y="2" width="8.58579" height="8.58579" rx="1" transform="rotate(45 8 2)" fill="currentColor"></rect></svg>');function qh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Zh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Wh=N('<svg><path d="M9 16V9L14 14L10.75 13.25L9 16Z" fill="currentColor"></path><path d="M14 3H2C0.895431 3 0 3.89543 0 5V9.5C0 10.6046 0.895431 11.5 2 11.5H8V10.5H2C1.44772 10.5 1 10.0523 1 9.5V5C1 4.44772 1.44772 4 2 4H14C14.5523 4 15 4.44772 15 5V9.5C15 10.0523 14.5523 10.5 14 10.5H11.9142L12.9142 11.5H14C15.1046 11.5 16 10.6046 16 9.5V5C16 3.89543 15.1046 3 14 3Z" fill="currentColor"></path><path opacity="0.2" d="M2 4C1.44772 4 1 4.44772 1 5V9.5C1 10.0523 1.44772 10.5 2 10.5H8V9.00003C8 8.59557 8.24364 8.23093 8.61732 8.07615C8.99099 7.92137 9.42111 8.00692 9.70711 8.29292L11.9142 10.5H14C14.5523 10.5 15 10.0523 15 9.5V5C15 4.44772 14.5523 4 14 4H2Z" fill="currentColor"></path></svg>');function Gh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Wh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Kh=N('<svg><path fill-rule="evenodd" clip-rule="evenodd" d="M7.29305 1.63634C9.24568 -0.316282 12.4115 -0.316281 14.3642 1.63635C16.3167 3.58896 16.3167 6.75477 14.3642 8.70739L12.9498 10.1216C12.5593 10.5122 11.9261 10.5121 11.5356 10.1216C11.1451 9.73106 11.1451 9.09789 11.5357 8.70738L12.9499 7.29322C12.9499 7.2932 12.9499 7.29323 12.9499 7.29322C14.1214 6.12163 14.1214 4.22209 12.95 3.05056C11.7784 1.87898 9.87884 1.87898 8.70726 3.05056L7.29304 4.46477C6.90252 4.85529 6.26935 4.85529 5.87883 4.46477C5.48831 4.07424 5.48831 3.44107 5.87883 3.05055L7.29305 1.63634C7.29305 1.63634 7.29305 1.63634 7.29305 1.63634Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4.4638 5.87883C4.85432 6.26936 4.85432 6.90252 4.46379 7.29305L3.04958 8.70725C3.04957 8.70725 3.04958 8.70725 3.04958 8.70725C1.87801 9.87883 1.87801 11.7783 3.04958 12.9499C4.22115 14.1215 6.12064 14.1215 7.29222 12.9499L8.70643 11.5357C9.09696 11.1452 9.73012 11.1452 10.1206 11.5357C10.5112 11.9262 10.5112 12.5594 10.1206 12.9499L8.70643 14.3641C6.75381 16.3167 3.58798 16.3167 1.63536 14.3641C-0.317255 12.4115 -0.317256 9.24567 1.63536 7.29304L3.04958 5.87883C3.44011 5.48831 4.07327 5.48831 4.4638 5.87883Z" fill="currentColor"></path><path opacity="0.5" fill-rule="evenodd" clip-rule="evenodd" d="M11.5348 4.46477C11.9254 4.85529 11.9254 5.48846 11.5348 5.87898L5.878 11.5358C5.48748 11.9263 4.85431 11.9263 4.46379 11.5358C4.07327 11.1453 4.07327 10.5121 4.46379 10.1216L10.1206 4.46477C10.5111 4.07424 11.1443 4.07424 11.5348 4.46477Z" fill="currentColor"></path></svg>');function Yh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Kh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Jh=N('<svg><path d="M12 5H9V7H12V11H9V13H16V11H14V3H12V5Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function Xh(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Jh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Qh=N('<svg><path d="M16 3H9V5H14V7H9V13H16V11H11V9H16V3Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function tp(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=Qh();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var ep=N('<svg><path d="M16 3H9V5H14V7H9V9H14V11H9V13H16V3Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function rp(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=ep();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var op=N('<svg><path d="M11 3H9V9H14V13H16V3H14V7H11V3Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function ip(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=op();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var np=N('<svg><path d="M9 3H16V5H11V7H16V13H9V11H14V9H9V3Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function ap(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=np();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var sp=N('<svg><path fill-rule="evenodd" clip-rule="evenodd" d="M16 3H9V13H16V7H11V5H16V3ZM14 9H11V11H14V9Z" fill="currentColor"></path><path opacity="0.5" d="M0 13V3H2V7H5V3H7V13H5V9H2V13H0Z" fill="currentColor"></path></svg>');function lp(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=sp();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var cp=N('<svg><path fill-rule="evenodd" clip-rule="evenodd" d="M4 13V3H12V9H6V13H4ZM10 5H6V7H10V5Z" fill="currentColor"></path></svg>');function dp(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=cp();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var up=N('<svg><rect opacity="0.5" x="4" y="3" width="11" height="2" rx="1" fill="currentColor"></rect><rect opacity="0.5" x="4" y="7" width="11" height="2" rx="1" fill="currentColor"></rect><rect opacity="0.5" x="4" y="11" width="11" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="3" width="2" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="7" width="2" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="11" width="2" height="2" rx="1" fill="currentColor"></rect></svg>');function Wl(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=up();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var fp=N('<svg><rect opacity="0.5" x="4" y="7" width="11" height="2" rx="1" fill="currentColor"></rect><rect x="1" y="7" width="2" height="2" rx="1" fill="currentColor"></rect></svg>');function hp(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=fp();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var pp=N('<svg><rect opacity="0.2" width="16" height="16" rx="2" fill="currentColor"></rect><path d="M0 11C0 10.4477 0.447715 10 1 10H15C15.5523 10 16 10.4477 16 11V14C16 15.1046 15.1046 16 14 16H2C0.895431 16 0 15.1046 0 14V11Z" fill="currentColor"></path></svg>');function gp(r,t){const e=P(t,["$$slots","$$events","$$legacy"]);var o=pp();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}function Gl(r,t){st(t,!0);const e=new Map([["default",Ua],["div",Ua],["nav",Pl],["img",_h],["video",Sh],["component",Uh],["modal",Ah],["form",Ih],["input",Oh],["section",Mh],["aside",Dh],["table",Hh],["th",Bh],["td",Nh],["svg",qh],["button",Gh],["a",Yh],["h1",Xh],["h2",tp],["h3",rp],["h4",ip],["h5",ap],["h6",lp],["p",dp],["ul",Wl],["ol",Wl],["li",hp],["footer",gp],["page",Bl]]),o=K(t,"name",3,"default"),i=K(t,"size",3,""),n=j(()=>e.get(o())||e.get("default"));var a=Yt(),s=wt(a);const l=j(()=>`fubi-tag-icon transition-all duration-500 ease-in-out shrink-0 text-[var(--icon-color)] ${i()||"w-4"}`),c=j(()=>`--icon-color: var(--icon-${o()}-color);`);Bi(s,()=>p(n),(u,f)=>{f(u,{get class(){return p(l)},get style(){return p(c)}})}),k(r,a),lt()}var vp=M('<div class="text-[10px] text-white/30 flex items-center gap-1"><p class="whitespace-nowrap"></p> <div class="size-0.5 rounded-full bg-white/10 translate-y-px"></div> <p></p></div>');function bp(r,t){st(t,!0);const o=K(t,"datetime",3,new Date),{date:i,time:n}=Ns(o());var a=vp(),s=x(a);s.textContent=i;var l=U(s,4);l.textContent=n,k(r,a),lt()}var mp=M('<p class="whitespace-nowrap"> </p> <div class="size-1 rounded-full shrink-0 bg-white/5 hidden"></div> <p> </p>',1),wp=M("<p>Now</p>"),xp=M('<div class="bg-white/0 rounded-[10px] pt-2 flex items-center justify-center text-xs text-white/20">This element has no comments</div>'),yp=M('<div class="flex justify-center pt-4"><!></div>'),Cp=M('<div class="text-[11px]/none text-center flex flex-col items-center justify-center gap-1 py-1.5"><div class="text-white/50 flex-inline items-center justify-center bg-white/5 py-1 px-2 rounded-full"><span> </span> changed status <div class="text-white/20 inline-flex justify-center"><!></div> <span> </span></div></div>'),kp=M("<!> <!> <!>",1),_p=M(`<p class="text-xs text-white/30 h-[36px] text-center flex items-center justify-center cursor-not-allowed!">Can't comment on Done threads</p>`),Ep=(r,t)=>t(r),Sp=(r,t)=>t(),Lp=M('<div><div contenteditable="true" role="textbox" aria-multiline="true" tabindex="0" id="fubi-comment-textarea" data-lenis-prevent=""></div> <button class="size-6 rounded hover:bg-sky-600 active:bg-sky-700 transition-colors duration-200 ease-in-out disabled:pointer-events-none disabled:text-white/10 flex justify-center items-center absolute bottom-1.5 right-1.5 text-sky-500 hover:text-white"><!></button> <div id="wm-fubi-comments-bottom-anchor"></div></div>'),Up=M('<div id="fubi-page-comments" class="fubi-page flex flex-col rounded-t-[20px]!"><div class="absolute top-1.5 left-1.5 z-[3]"><!></div> <div class="flex-1 flex flex-col rounded-[18px] relative z-[1] h-full"><div class="flex flex-col-reverse gap-1 overflow-auto fubi-hide-scrollbar flex-1 items-end relative z-[1]" data-lenis-prevent=""><div class="w-full flex flex-col gap-0 justify-end flex-1" data-lenis-prevent=""><div class="flex pt-2 mb-1.5"><div class="flex gap-1 px-2 pl-10 text-white/70 w-full relative justify-end"><div><!> <p class="capitalize whitespace-nowrap"> </p></div> <div class="h-[24px] flex items-center justify-center text-xs gap-1.5"><!></div></div></div> <div class="p-1 mb-auto flex flex-col gap-1 bg-white/4 mx-1 rounded-[16px]"><!> <div class="flex gap-1 overflow-x-auto p-1"><div class="h-[24px] flex pl-[7px] pr-[10px] gap-1.5 bg-white/5 rounded-[14px] border border-white/4 items-center justify-center text-xs"><!> <div class="flex gap-0.5"><p> </p> <span class="text-white/50">×</span> <p> </p></div></div> <div class="h-[24px] flex pl-[7px] pr-[10px] gap-1.5 bg-white/5 rounded-[14px] border border-white/4 items-center justify-center text-xs"><!> <div class="flex gap-2 items-center"><p> </p> <div class="w-px h-[24px] bg-white/5"></div> <p> </p></div></div></div></div> <!> <div><!></div></div></div></div></div>');function Fp(r,t){st(t,!0);let e=T("Start commenting..."),o=T(!0);const i=()=>{R.handleSendMessage(p(e)),E(e,"")},n=q=>{q.key==="Enter"&&!q.shiftKey&&(i(),q.preventDefault())},a=()=>{p(o)&&(E(e,""),E(o,!1))},s=()=>{p(e).length||(E(e,"Start commenting..."),E(o,!0))};let l=j(()=>Nt.getTag(Y==null?void 0:Y.current)),c=j(()=>{var q;return Ns((q=R==null?void 0:R.current)==null?void 0:q.created)}),u=j(()=>p(c).date),f=j(()=>p(c).time);const d=(q,W)=>{var Wt;if(W===0)return!1;const ct=new Date(q==null?void 0:q.created),Dt=new Date((Wt=R==null?void 0:R.comments[W-1])==null?void 0:Wt.created);return ct&&Dt?ct-Dt>1e3*60*10:!1};var h=Up(),v=x(h),b=x(v);Ch(b,{onclick:()=>Y.reset(),children:(q,W)=>{ql(q,{class:"h-3 text-neutral-50/30 group-hover/back:text-sky-500 transition-all duration-300 ease-in-out"})},$$slots:{default:!0}});var w=U(v,2),_=x(w),y=x(_),m=x(y),S=x(m),L=x(S),O=x(L);{var z=q=>{const W=j(()=>Nt.getTag(Y==null?void 0:Y.current));Gl(q,{size:"w-4",get name(){return p(W)}})},H=q=>{mn(q,{class:"size-4 shrink-0"})};rt(O,q=>{p(l)?q(z):q(H,!1)})}var J=U(O,2),X=x(J),Q=U(L,2),G=x(Q);{var gt=q=>{var W=mp(),ct=wt(W),Dt=x(ct),Wt=U(ct,4),Ue=x(Wt);A(()=>{et(Dt,p(u)),et(Ue,p(f))}),ut(3,Wt,()=>Ea),k(q,W)},ht=q=>{var W=wp();k(q,W)};rt(G,q=>{var W;(W=R==null?void 0:R.current)!=null&&W.created?q(gt):q(ht,!1)})}var xt=U(m,2),Ut=x(xt);{var $t=q=>{const W=j(()=>R==null?void 0:R.current);Nl(q,{get comment(){return p(W)},disabled:!0})},Ft=q=>{var W=xp();k(q,W)};rt(Ut,q=>{R!=null&&R.current?q($t):q(Ft,!1)})}var It=U(Ut,2),qt=x(It),An=x(qt);const b2=j(()=>{var q,W,ct;return((W=(q=R==null?void 0:R.current)==null?void 0:q.info)==null?void 0:W.resolution)||((ct=$==null?void 0:$.meta)==null?void 0:ct.resolution)});jl(An,{height:"h-3",get resolution(){return p(b2)}});var m2=U(An,2),rc=x(m2),w2=x(rc),x2=U(rc,4),y2=x(x2),C2=U(qt,2),oc=x(C2);const k2=j(()=>{var q,W,ct;return((W=(q=R==null?void 0:R.current)==null?void 0:q.info)==null?void 0:W.browser)||((ct=$==null?void 0:$.meta)==null?void 0:ct.browser)});th(oc,{size:"size-3",get browser(){return p(k2)}});var _2=U(oc,2),ic=x(_2),E2=x(ic),S2=U(ic,4),L2=x(S2),nc=U(xt,2);Vi(nc,17,()=>R==null?void 0:R.comments,F1,(q,W,ct)=>{var Dt=kp(),Wt=wt(Dt);{var Ue=Pt=>{var At=yp(),Ze=x(At);const Fe=j(()=>{var Ae;return(Ae=p(W))==null?void 0:Ae.created});bp(Ze,{get datetime(){return p(Fe)}}),k(Pt,At)};rt(Wt,Pt=>{d(p(W),ct)&&Pt(Ue)})}var Ci=U(Wt,2);{var $n=Pt=>{var At=Cp(),Ze=x(At),Fe=x(Ze),Ae=x(Fe),vr=U(Fe,2),Hr=x(vr);ql(Hr,{class:"h-2 rotate-180 inline-flex"});var br=U(vr,2),Vr=x(br);A(()=>{var mr,dt,le,ki,sc,lc,cc;et(Ae,(le=(dt=(mr=p(W))==null?void 0:mr.expand)==null?void 0:dt.created_by)==null?void 0:le.first_name),V(br,1,Z(["capitalize",((sc=(ki=p(W))==null?void 0:ki.info)==null?void 0:sc.status)==="done"&&"text-green-400"])),et(Vr,(cc=(lc=p(W))==null?void 0:lc.info)==null?void 0:cc.status)}),ut(3,At,()=>Or,()=>({duration:500,easing:ro})),k(Pt,At)};rt(Ci,Pt=>{var At;((At=p(W))==null?void 0:At.type)==="status"&&Pt($n)})}var In=U(Ci,2);{var Tn=Pt=>{const At=j(()=>{var dt,le,ki;return(ki=(le=(dt=p(W))==null?void 0:dt.expand)==null?void 0:le.created_by)==null?void 0:ki.first_name}),Ze=j(()=>{var dt,le;return(le=(dt=p(W))==null?void 0:dt.expand)==null?void 0:le.created_by}),Fe=j(()=>{var dt;return(dt=R.comments[ct-1])==null?void 0:dt.created_by}),Ae=j(()=>{var dt;return(dt=R.comments[ct-1])==null?void 0:dt.type}),vr=j(()=>{var dt;return(dt=R.comments[ct+1])==null?void 0:dt.created_by}),Hr=j(()=>{var dt;return(dt=R.comments[ct+1])==null?void 0:dt.type}),br=j(()=>{var dt;return(dt=p(W))==null?void 0:dt.text}),Vr=j(()=>{var dt;return((dt=p(W))==null?void 0:dt.created_by)===to.authStore.record.id}),mr=j(()=>ct===R.comments.length-1);xh(Pt,{index:ct,get total(){return R.comments.length},get name(){return p(At)},get author(){return p(Ze)},get previousAuthor(){return p(Fe)},get previousType(){return p(Ae)},get nextAuthor(){return p(vr)},get nextType(){return p(Hr)},get text(){return p(br)},get mine(){return p(Vr)},get latest(){return p(mr)}})};rt(In,Pt=>{var At;((At=p(W))==null?void 0:At.type)==="comment"&&Pt(Tn)})}k(q,Dt)});var ac=U(nc,2),U2=x(ac);{var F2=q=>{var W=_p();k(q,W)},A2=q=>{var W=Lp();V(W,1,Z(["relative"]));var ct=x(W);ct.__keydown=[Ep,n];var Dt=U(ct,2);Dt.__click=[Sp,i];var Wt=x(Dt);vh(Wt,{}),A(()=>{V(ct,1,Z(["focus:outline-none focus:ring-[3px] focus:ring-sky-400/0 bg-neutral-900/0 border border-white/0 focus:border-white/30 transition-all duration-200 p-2 pr-[42px] leading-snug w-auto focus:text-white text-[13px] max-h-[107px] overflow-auto fubi-hide-scrollbar rounded-lg",p(o)?"text-white/30":"text-white"])),Dt.disabled=p(e).length<1||p(e)==="Start commenting..."}),Vt("blur",ct,s),Vt("focus",ct,a),Z1("innerText",ct,()=>p(e),Ue=>E(e,Ue)),k(q,W)};rt(U2,q=>{var W;((W=R==null?void 0:R.current)==null?void 0:W.status)==="done"?q(F2):q(A2,!1)})}A(q=>{var W,ct,Dt,Wt,Ue,Ci,$n,In,Tn,Pt,At,Ze,Fe,Ae,vr,Hr,br,Vr,mr,dt,le;V(L,1,Z(["h-[24px] flex pl-[7px] pr-[10px] gap-1.5 rounded-[14px] border items-center justify-center text-xs absolute left-1/2 -translate-x-1/2",p(l)?"border-white/4 bg-white/5":"bg-red-500/5 border-red-500/20 text-red-400"])),et(X,q),et(w2,((Dt=(ct=(W=R==null?void 0:R.current)==null?void 0:W.info)==null?void 0:ct.resolution)==null?void 0:Dt.w)||((Ue=(Wt=$==null?void 0:$.meta)==null?void 0:Wt.resolution)==null?void 0:Ue.w)),et(y2,((In=($n=(Ci=R==null?void 0:R.current)==null?void 0:Ci.info)==null?void 0:$n.resolution)==null?void 0:In.h)||((Pt=(Tn=$==null?void 0:$.meta)==null?void 0:Tn.resolution)==null?void 0:Pt.h)),et(E2,((Fe=(Ze=(At=R==null?void 0:R.current)==null?void 0:At.info)==null?void 0:Ze.browser)==null?void 0:Fe.name)||((vr=(Ae=$==null?void 0:$.meta)==null?void 0:Ae.browser)==null?void 0:vr.name)),et(L2,((Vr=(br=(Hr=R==null?void 0:R.current)==null?void 0:Hr.info)==null?void 0:br.browser)==null?void 0:Vr.v)||((dt=(mr=$==null?void 0:$.meta)==null?void 0:mr.browser)==null?void 0:dt.v)),V(ac,1,Z(["p-1 shrink-0 flex flex-col gap-1 w-full left-0 mt-4 sticky bottom-0 bg-neutral-950/80 backdrop-blur has-focus-within:bg-neutral-900/80 border-t border-white/5 z-[10]",((le=R==null?void 0:R.current)==null?void 0:le.status)==="todo"&&"hover:bg-neutral-900/80"]))},[()=>p(l)?Nt.getTagName(Y==null?void 0:Y.current):"Missing"]),k(r,h),lt()}pe(["keydown","click"]);var Ap=M('<div id="fubi-meta" class="z-[100] fixed top-0 left-0 w-full h-full bg-radial from-neutral-200 from-30% to-neutral-200/30 backdrop-blur-[8px]"><div id="fubi-meta-wrapper" class="w-full h-full flex flex-col items-center justify-center gap-[28px] text-xs text-black/40"><div class="flex flex-col gap-1 max-w-[512px] w-full group pointer-events-none"><p class="group-hover:opacity-0 transition-opacity duration-200 ease-in-out">URL</p> <div id="fubi-meta-url" class="pointer-events-auto rounded-[8px]"><div class="pointer-events-none w-full h-[32px] rounded-[8px] bg-gradient-to-b from-white/80 to-neutral-100/80 border-t border-t-white/70 border-b border-b-black/15 flex items-center justify-center shadow-xs text-sm text-center"> </div></div></div> <div class="flex flex-col gap-1 max-w-[512px] w-full group pointer-events-none"><p class="group-hover:opacity-0 transition-opacity duration-200 ease-in-out">Share image</p> <div id="fubi-meta-shareimage" class="pointer-events-auto rounded-[8px]"><img alt="share" class="pointer-events-none w-full rounded-[8px] object-cover border-t border-t-white/20 shadow-lg"></div></div> <div class="flex flex-col gap-1 max-w-[512px] w-full group pointer-events-none"><p class="group-hover:opacity-0 transition-opacity duration-200 ease-in-out">Page title</p> <div id="fubi-meta-title" class="pointer-events-auto"><p class="pointer-events-none text-[24px] text-neutral-900 font-bold"> </p></div></div> <div class="flex flex-col gap-1 max-w-[512px] w-full group pointer-events-none"><p class="group-hover:opacity-0 transition-opacity duration-200 ease-in-out">Page description</p> <div id="fubi-meta-description" class="pointer-events-auto"><p class="pointer-events-none text-neutral-600 text-base font-medium"> </p></div></div></div></div>');function $p(r,t){st(t,!0);let e=T(!1),o=null,i=T(null),n=T(null),a=T(""),s=T(""),l=b=>{let w=document.querySelector(b);return console.log(w),w?w.getAttribute("content"):null},c=()=>{const b=new URL(window.location.href);return console.log(b),b};const u=()=>{o=setTimeout(()=>{E(e,!0)},150)},f=()=>{clearTimeout(o),E(e,!1)};Qr(()=>(C.on("keys","pressed-option",()=>$.opened&&ot.user&&!Y.active&&u()),C.on("keys","released-option",()=>!Y.active&&!0&&f()),C.on("isolation","reset",()=>p(e)&&!0&&f()),C.on("events","mouseout",b=>b.toElement===null&&!0&&f()),E(i,I(c())),E(n,I(l("meta[property='og:image']")||l("meta[name='twitter:image']")||l("meta[name='share-image']")||l("meta[name='image']")||l("meta[name='og:image:secure_url']")||l("meta[name='og:image:url']"))),E(a,I(l("meta[property='og:title']")||l("meta[name='twitter:title']")||l("meta[name='title']")||l("meta[name='og:title:secure_url']")||l("meta[name='og:title:url']"))),E(s,I(l("meta[property='og:description']")||l("meta[name='twitter:description']")||l("meta[name='description']")||l("meta[name='og:description:secure_url']")||l("meta[name='og:description:url']"))),()=>o&&clearTimeout(o)));var d=Yt(),h=wt(d);{var v=b=>{var w=Ap(),_=x(w),y=x(_),m=U(x(y),2),S=x(m),L=x(S),O=U(y,2),z=U(x(O),2),H=x(z);it(H,"width",1200),it(H,"height",630);var J=U(O,2),X=U(x(J),2),Q=x(X),G=x(Q),gt=U(J,2),ht=U(x(gt),2),xt=x(ht),Ut=x(xt);A(()=>{var $t,Ft;et(L,(($t=p(i))==null?void 0:$t.hostname)+((Ft=p(i))==null?void 0:Ft.pathname)),it(H,"src",p(n)),et(G,p(a)),et(Ut,p(s))}),ut(3,S,()=>Xt,()=>({start:.9,opacity:0,duration:500,delay:50,easing:rr})),ut(3,H,()=>Xt,()=>({start:.9,opacity:0,duration:500,delay:100,easing:rr})),ut(3,Q,()=>Xt,()=>({start:.9,opacity:0,duration:500,delay:150,easing:rr})),ut(3,xt,()=>Xt,()=>({start:.9,opacity:0,duration:500,delay:200,easing:rr})),ut(3,w,()=>Ea,()=>({duration:200})),k(b,w)};rt(h,b=>{p(e)&&b(v)})}k(r,d),lt()}var Ip=M('<div class="p-6 fixed top-0 left-0 w-full pointer-events-none text-center group-hover/backdrop:translate-y-0 -translate-y-full transition-transform duration-300 ease-out flex justify-start"><p class="h-10 px-4 text-xs/none rounded-full bg-neutral-900 border border-neutral-800 flex items-center justify-center"><span><span class="font-mono text-sky-500">[ESC]</span> or Click to Leave isolation...</span></p></div>'),Tp=M('<button id="fubi-backdrop" data-cursor-text="Click to Leave isolation..."><!></button>');function Op(r,t){st(t,!1),Re();var e=Tp(),o=x(e);{var i=n=>{var a=Ip();k(n,a)};rt(o,n=>{Y.active&&n(i)})}A(()=>V(e,1,Z(["fixed inset-0 z-[2100000000]",Y.active?"pointer-events-none fubi-show-cursor bg-neutral-800/0 hover:bg-neutral-800/20 transition-colors duration-0":"pointer-events-none"]))),Vt("click",e,()=>Y.reset()),k(r,e),lt()}var zp=(r,t)=>t(),Mp=M('<button id="fubi-toggle-button"><!></button>');function Rp(r,t){st(t,!1);const e="toggle",o=()=>{C.emit(e,"clicked")};Re();var i=Mp();i.__click=[zp,o];var n=x(i);Ol(n,{class:"size-5"}),k(r,i),lt()}pe(["click"]);var Dp=N('<svg><path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM11.8535 5.64648C11.6582 5.45131 11.3417 5.45125 11.1465 5.64648L7 9.79297L5.35352 8.14648L5.27539 8.08203C5.08132 7.95396 4.81731 7.97566 4.64648 8.14648C4.47576 8.31733 4.45395 8.58137 4.58203 8.77539L4.64648 8.85352L6.29297 10.5L6.36914 10.5684C6.76185 10.8886 7.34093 10.866 7.70703 10.5L11.8535 6.35352C12.0488 6.15825 12.0488 5.84175 11.8535 5.64648Z" fill="#00C950"></path></svg>');function Pp(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Dp();let i;A(()=>i=D(o,i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",...e},void 0,!0)),k(r,o)}var Hp=N('<svg><circle cx="8" cy="8" r="7" stroke="currentColor" stroke-width="2"></circle><path d="M3 13L13 3" stroke="currentColor" stroke-width="2"></path></svg>');function Vp(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Hp();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Bp=N('<svg><path d="M8 13V3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 8L13 8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function jp(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Bp();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}var Np=N('<svg><path d="M6.40625 1.08813C6.76562 1.24749 7 1.60685 7 2.00058V4.00049H10.5C13.5375 4.00049 16 6.46288 16 9.50025C16 13.0407 13.4531 14.6219 12.8688 14.9406C12.7906 14.9844 12.7031 15 12.6156 15C12.275 15 12 14.7219 12 14.3844C12 14.15 12.1344 13.9344 12.3063 13.7751C12.6 13.4969 13 12.9501 13 12.0001C13 10.344 11.6562 9.00027 10 9.00027H7V11.0002C7 11.3939 6.76875 11.7533 6.40625 11.9126C6.04375 12.072 5.625 12.0064 5.33125 11.7439L0.33125 7.2441C0.121875 7.05348 0 6.78474 0 6.50038C0 6.21602 0.11875 5.94728 0.33125 5.75667L5.33125 1.25687C5.625 0.991255 6.04688 0.925633 6.40625 1.08813Z" fill="currentColor"></path></svg>');function Zp(r,t){let e=P(t,["$$slots","$$events","$$legacy"]);var o=Np();let i;A(()=>i=D(o,i,{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},void 0,!0)),k(r,o)}function Kl(r,t){st(t,!0);const e=new Map([["default",wn],["info",wn],["error",mn],["comment",Ol],["checked",Pp],["plus",jp],["not-allowed",Vp],["back",Zp]]),o=K(t,"name",3,"default"),i=K(t,"size",3,""),n=j(()=>e.get(o())||e.get("default"));var a=Yt(),s=wt(a);const l=j(()=>`fubi-tag-icon transition-all duration-500 ease-in-out shrink-0 text-[var(--icon-color)] ${i()||"w-4"}`),c=j(()=>`--icon-color: var(--icon-${o()}-color);`);Bi(s,()=>p(n),(u,f)=>{f(u,{get class(){return p(l)},get style(){return p(c)}})}),k(r,a),lt()}var qp=M('<div class="fixed top-4 left-4 p-1 bg-black text-white text-xs flex flex-col rounded border border-white/5 z-[999999]"><!></div>');function Yl(r,t){let e=K(t,"hide",3,!1);var o=Yt(),i=wt(o);{var n=a=>{var s=qp(),l=x(s);Me(l,()=>t.children??$e),k(a,s)};rt(i,a=>{e()||a(n)})}k(r,o)}var Wp=M('<div id="fubi-direction" style="transition: top 0.4s ease-in-out; will-change: top;"><div><!> <svg fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="1" y="1" stroke-linecap="round" stroke-dasharray="4 4"></rect></svg></div></div>');function Gp(r,t){st(t,!1),Re();var e=Yt(),o=wt(e);{var i=n=>{var a=Wp(),s=x(a),l=x(s);const c=Vn(()=>["size-2",Ve.direction==="up"&&"rotate-180"]);Zl(l,{get class(){return p(c)}});var u=U(l,2);it(u,"style",`
|
|
90
19
|
width: 32px;
|
|
91
20
|
height: 32px;
|
|
92
21
|
will-change: stroke, fill;
|
|
93
22
|
transition: stroke 0.2s ease-in-out, fill 0.2s ease-in-out;
|
|
94
|
-
`);var
|
|
23
|
+
`);var f=x(u);it(f,"width",30),it(f,"height",30),it(f,"rx",18),A(()=>{V(a,1,Z(["w-6 py-0 z-[210000000]",Ve.direction==="down"&&"",Ve.direction==="up"&&""])),V(s,1,Z(["size-6 rounded-full bg-neutral-800/80 text-white backdrop-blur border border-transparent border-t-white/5 flex items-center justify-center drop-shadow-2xl relative",Ve.direction==="down"&&"animate-bounce",Ve.direction==="up"&&"animate-bounce"])),V(u,0,Z(["absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 stroke-2 animate-dashes-small",me.mode==="error"&&" stroke-red-500",me.mode==="done"&&" stroke-green-500",me.mode==="thread"&&" stroke-indigo-500",me.mode==="isolation"&&" stroke-indigo-500"]))}),ut(3,a,()=>Xt,()=>({start:.5,opacity:0,duration:200,easing:rr})),k(n,a)};rt(o,n=>{Ve.inView===!1&&n(i)})}k(r,e),lt()}var tt=ra(()=>me),Kp=M("<p> </p> <p> </p> <p> </p>",1),Yp=M('<div class="size-3.5 absolute"><!></div>'),Jp=M('<div><!> <p class="z-10 whitespace-nowrap"> </p></div>'),Xp=M('<!> <div id="fubi-highlight"><svg fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="1" y="1" stroke-linecap="round"></rect></svg></div> <div id="fubi-higlight-info"><div id="fubi-higlight-note" class="p-1 pl-1.5 pr-2.5 bg-neutral-800/70 rounded-[8px] flex gap-1 border-t border-b border-t-white/5 border-b-black/20 backdrop-blur "><div class="relative size-3.5 shrink-0"><!></div> <p class="text-[13px]/[13px] text-white font-medium capitalize text-left flex-1 drop-shadow whitespace-nowrap"> </p></div> <div><!></div> <div class="h-[24px] w-[32px]"><!></div></div>',1);function Qp(r,t){st(t,!1),Re();var e=Xp(),o=wt(e);Yl(o,{hide:!0,children:(y,m)=>{var S=Kp(),L=wt(S),O=x(L),z=U(L,2),H=x(z),J=U(z,2),X=x(J);A(()=>{et(O,`Enabled: ${tt().enabled??""}`),et(H,`Visible: ${tt().visible??""}`),et(X,`Scrolling: ${tt().scrolling??""}`)}),k(y,S)},$$slots:{default:!0}});var i=U(o,2),n=x(i);it(n,"style",`
|
|
95
24
|
width: 100%;
|
|
96
25
|
height: 100%;
|
|
97
26
|
will-change: stroke, fill;
|
|
98
27
|
transition: stroke 0.2s ease-in-out, fill 0.2s ease-in-out;
|
|
99
|
-
`);var
|
|
100
|
-
width: ${
|
|
101
|
-
height: ${
|
|
102
|
-
transform: translate(${
|
|
28
|
+
`);var a=x(n);Qe(i,y=>tt(tt().ref=y),()=>{var y;return(y=tt())==null?void 0:y.ref});var s=U(i,2),l=x(s),c=x(l),u=x(c);Yn(u,()=>tt().tagIcon,y=>{var m=Yp(),S=x(m);Gl(S,{size:"w-3.5",get name(){return tt().tagIcon}}),ut(3,m,()=>Xt,()=>({start:0,opacity:0,duration:150,easing:nl,delay:0})),k(y,m)});var f=U(c,2),d=x(f),h=U(l,2),v=x(h);{var b=y=>{var m=Jp(),S=x(m);Kl(S,{get name(){return tt().note.icon},size:"size-3.5"});var L=U(S,2),O=x(L);A(()=>{var z,H,J,X,Q,G;V(m,1,Z(["origin-left text-xs h-[22px] flex items-center pl-1 pr-2 rounded-full border gap-1 backdrop-blur outline-1 outline-offset-1",((H=(z=tt())==null?void 0:z.note)==null?void 0:H.mode)==="info"&&"border-sky-500/10 outline-sky-500/10 bg-sky-950/80 text-sky-300",((X=(J=tt())==null?void 0:J.note)==null?void 0:X.mode)==="error"&&"border-red-500/10 outline-red-500/80 bg-red-950/80 text-red-100"])),et(O,(G=(Q=tt())==null?void 0:Q.note)==null?void 0:G.text)}),ut(3,m,()=>Xt,()=>({start:.5,opacity:0,duration:400,easing:kd})),k(y,m)};rt(v,y=>{var m,S;(S=(m=tt())==null?void 0:m.note)!=null&&S.text&&y(b)})}var w=U(h,2),_=x(w);Gp(_,{}),Qe(s,y=>tt(tt().refNote=y),()=>{var y;return(y=tt())==null?void 0:y.refNote}),A(()=>{var y,m;it(i,"style",`
|
|
29
|
+
width: ${tt().pos.current.w+2}px;
|
|
30
|
+
height: ${tt().pos.current.h+2}px;
|
|
31
|
+
transform: translate(${tt().pos.current.x-1}px, ${tt().pos.current.y-1}px);
|
|
103
32
|
will-change: width, height, transform;
|
|
104
33
|
transition: opacity 0.2s ease-in-out;
|
|
105
|
-
`),
|
|
106
|
-
stroke-dasharray: ${
|
|
107
|
-
`),
|
|
108
|
-
`),
|
|
34
|
+
`),V(i,1,Z(["pointer-events-none absolute top-0 left-0 transition-opacity duration-200 z-[210000000]",tt().visible?"opacity-100":"opacity-0"])),V(n,0,Z(["absolute top-0 left-0",tt().mode===null&&"fill-sky-500/10 stroke-sky-500",tt().mode==="error"&&"fill-red-500/10 stroke-red-500",tt().mode==="done"&&"fill-green-500/10 stroke-green-500",tt().mode==="thread"&&"fill-indigo-500/10 stroke-indigo-500",tt().mode==="not-allowed"&&"fill-neutral-400/10 stroke-neutral-400/20",tt().mode==="isolation"?"fill-transparent stroke-indigo-500 animate-dashes stroke-3":"stroke-1"])),it(a,"width",tt().pos.current.w),it(a,"height",tt().pos.current.h),it(a,"rx",tt().pos.current.r<4?4:tt().pos.current.r),it(a,"style",`
|
|
35
|
+
stroke-dasharray: ${tt().mode===null?"0 0":tt().mode==="isolation"?"4 8":"4 4"}
|
|
36
|
+
`),V(s,1,Z(["pointer-events-none z-[210000000] flex gap-1.5 items-center","absolute top-0 left-0 w-max",tt().visible?"opacity-100":"opacity-0"])),et(d,tt().tagName),V(h,1,Z(["relative h-[22px] transition-opacity duration-200",((m=(y=tt())==null?void 0:y.note)!=null&&m.text,"opacity-100")]))}),k(r,e),lt()}var bt=ra(()=>oo),t2=M('<div class="size-4 absolute"><!></div>'),e2=M('<div class="relative size-4 shrink-0 "><!></div>'),r2=M('<div class="w-full"><p class="text-xs/none font-bold text-left flex-1"><span class="whitespace-nowrap"><!></span></p></div>'),o2=M('<p class="text-xs/none text-white/50 font-normal text-left flex-1 pl-[22px]"><span class="whitespace-nowrap"><!></span></p>'),i2=M('<div id="fubi-cursor"><div><div class="flex flex-col gap-0.5"><div class="flex gap-1 items-center"><!> <!></div> <!></div></div></div>');function n2(r,t){st(t,!1),Re();var e=i2(),o=x(e),i=x(o),n=x(i),a=x(n);{var s=d=>{var h=e2(),v=x(h);Yn(v,()=>bt().icon,b=>{var w=t2(),_=x(w);Kl(_,{size:"w-4",get name(){return bt().icon}}),ut(3,w,()=>Xt,()=>({start:0,opacity:0,duration:150,easing:rr,delay:0})),k(b,w)}),ut(3,h,()=>Or,()=>({duration:200,axis:"x"})),k(d,h)};rt(a,d=>{bt().icon&&d(s)})}var l=U(a,2);{var c=d=>{var h=r2(),v=x(h),b=x(v),w=x(b);Xr(w,()=>bt().mode==="drag"?"Click or Drag to comment":bt().title),ut(3,h,()=>Or,()=>({duration:200,axis:"y"})),k(d,h)};rt(l,d=>{bt().title&&d(c)})}var u=U(n,2);{var f=d=>{var h=o2(),v=x(h),b=x(v);Xr(b,()=>bt().text),ut(3,h,()=>Or,()=>({duration:200,axis:"y"})),k(d,h)};rt(u,d=>{bt().text&&d(f)})}A(()=>{V(e,1,Z(["fixed z-[210000003] pointer-events-none transition-opacity duration-200 bg-red-500/0 size-px",bt().visible?"opacity-100":"opacity-0"])),it(e,"style",`transform: translate(${bt().pos.current.x}px, ${bt().pos.current.y}px); will-change: transform;`),V(o,1,Z(["flex flex-col pl-1.5 pr-3 justify-center backdrop-blur gap-0 rounded-[14px] border-t border-t-white/5 shrink-0 absolute transition-all ease-spring drop-shadow-lg ",bt().align==="left"?"-translate-x-full origin-top-right":"origin-top-left",bt().visible?"scale-100 duration-800":"scale-0 duration-400",bt().text?"h-[44px]":"h-[26px]","outline-1 outline-offset-1",bt().mode===null&&"outline-green-700",bt().mode==="done"&&"outline-green-700",bt().mode==="thread"&&"outline-indigo-400",bt().mode==="info"&&"outline-sky-500/50",bt().mode==="not-allowed"&&"outline-orange-700/50",bt().mode==="error"&&"outline-red-500/50",bt().mode==="not-allowed"?"bg-neutral-700/15 text-neutral-500":"bg-neutral-800/80 text-white"]))}),ea(o,"clientWidth",d=>bt(bt().width=d)),ea(o,"clientHeight",d=>bt(bt().height=d)),k(r,e),lt()}var a2=M("<p> </p> <p> </p> <p>-</p> <p> </p> <p> </p> <p>-</p> <p> </p> <p> </p>",1),s2=r=>ft.start(r),l2=()=>ft.stop(),c2=r=>ft.start(r),d2=()=>ft.stop(),u2=M('<button class="group absolute -top-1 -left-1 z-[100] cursor-nwse-resize w-2"><span class="sr-only">Resize</span> <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="pointer-events-none stroke-2 group-active:text-sky-500 group-active:stroke-4 text-white/0 group-hover:text-sky-100 size-[24px] transition-all duration-400 ease-spring"><path d="M21.6017 2.40039C10.997 2.40039 2.40015 10.9972 2.40015 21.602" stroke="currentColor" stroke-linecap="round"></path></svg></button> <button class="group absolute -top-1 -left-1 z-[100] cursor-nwse-resize h-2"><span class="sr-only">Resize</span> <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="pointer-events-none stroke-2 group-active:text-sky-500 group-active:stroke-4 text-white/0 group-hover:text-sky-100 size-[24px] transition-all duration-400 ease-spring"><path d="M21.6017 2.40039C10.997 2.40039 2.40015 10.9972 2.40015 21.602" stroke="currentColor" stroke-linecap="round"></path></svg></button>',1),f2=M("<!> <!>",1);function h2(r,t){st(t,!1),Re();var e=f2(),o=wt(e);Yl(o,{hide:!0,children:(a,s)=>{var l=a2(),c=wt(l),u=x(c),f=U(c,2),d=x(f),h=U(f,4),v=x(h),b=U(h,2),w=x(b),_=U(b,4),y=x(_),m=U(_,2),S=x(m);A(()=>{et(u,`min w: ${ft.sizes.min.w??""}`),et(d,`min h: ${ft.sizes.min.h??""}`),et(v,`default w: ${ft.sizes.default.w??""}`),et(w,`default h: ${ft.sizes.default.h??""}`),et(y,`max w: ${ft.sizes.max.w??""}`),et(S,`max h: ${ft.sizes.max.h??""}, current: ${window.innerHeight??""}`)}),k(a,l)},$$slots:{default:!0}});var i=U(o,2);{var n=a=>{var s=u2(),l=wt(s);l.__mousedown=[s2],l.__mouseup=[l2];var c=U(l,2);c.__mousedown=[c2],c.__mouseup=[d2],k(a,s)};rt(i,a=>{$.opened&&a(n)})}k(r,e),lt()}pe(["mousedown","mouseup"]);var p2=M('<!> <!> <!> <div id="fubi-container"><aside id="fubi-wrapper-outter" data-lenis-prevent=""><!> <div id="fubi-wrapper"><div id="fubi-pages"><!> <!> <!></div> <!></div></aside></div>',1);function g2(r,t){st(t,!0);const e="app-component";let o=null;const i="fubi-global-styles",n="fubi-tailwind-properties",a=K(t,"options",19,()=>({})),l={...{backend:"https://feedback.wondermakers.dev",project:"cms",allowedOrigins:[],ignore:["div","path"],target:"html",content:"body",shadowRoot:null},...a()},c=()=>{C.emit(e,"mouseenter")},u=()=>{C.emit(e,"mouseleave")};function f(G){const gt=/@property[^}]+}/g,ht=G.match(gt)||[];if(ht.length>0&&!document.getElementById(n)){const Ut=document.createElement("style");Ut.id=n,Ut.textContent=ht.join(`
|
|
37
|
+
`),document.head.appendChild(Ut)}return G.replace(gt,"")}Qr(()=>{if(l.shadowRoot){const gt=f(hu),ht=document.createElement("style");ht.textContent=gt,l.shadowRoot.appendChild(ht)}const G=document.getElementById(i);if(G)o=G,console.log("Fubi global styles already present in document head.");else{const gt=f(pu);o=document.createElement("style"),o.id=i,o.textContent=gt,document.head.appendChild(o)}$.init(l),l.shadowRoot&&($.shadowRoot=l.shadowRoot)}),q1(()=>{const G=document.getElementById(i);G&&G.parentNode&&G.parentNode.removeChild(G);const gt=document.getElementById(n);gt&>.parentNode&>.parentNode.removeChild(gt)});var d=p2(),h=wt(d);Qp(h,{});var v=U(h,2);Op(v,{});var b=U(v,2);n2(b,{});var w=U(b,2),_=x(w);let y;var m=x(_);h2(m,{});var S=U(m,2);let L;var O=x(S);let z;var H=x(O);Eu(H,{});var J=U(H,2);ph(J,{});var X=U(J,2);Fp(X,{});var Q=U(O,2);Rp(Q,{}),A(()=>{y=V(_,1,Z(["fubi-ignore-all fubi-hide-cursor fubi-hide-hover"]),null,y,{enabled:$.enabled,disabled:!$.enabled,resizing:ft.resizing}),L=V(S,1,"fubi-ignore-stop",null,L,{opened:$.opened,closed:!$.opened,"fubi-resizing":ft.resizing}),it(S,"style",`--fubi-width: ${ft.width}px; --fubi-height: ${ft.height}px;`),z=V(O,1,"",null,z,{"login-opened":Ji.current==="login","comments-opened":Ji.current==="comments"})}),Vt("mouseenter",_,c),Vt("mouseleave",_,u),k(r,d),lt()}function v2(r={}){let t=document.getElementById("fubi-meta");t||(t=document.createElement("div"),t.id="fubi-meta",document.body.appendChild(t));const e=bs($p,{target:t}),o=document.createElement("div");o.id="fubi-shadow-host";const i=r.target||document.documentElement;(typeof i=="string"?document.querySelector(i):i).appendChild(o);const a=o.attachShadow({mode:"open"}),s=document.createElement("div");s.id="fubi-container",a.appendChild(s);const l=bs(g2,{target:s,props:{options:{...r,shadowRoot:a}}});return{destroy:()=>{l.$destroy?l.$destroy():l.destroy&&l.destroy(),e.$destroy?e.$destroy():e.destroy&&e.destroy(),o.parentNode&&o.parentNode.removeChild(o),t&&t.parentNode&&t.parentNode.removeChild(t)},app:l,meta:e}}return v2}();
|