easea-app-widget 1.1.7 → 1.1.9
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(`/*! tailwindcss v4.1.13 | 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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--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-duration:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@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-amber-500:oklch(76.9% .188 70.08);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-300:oklch(86.5% .127 207.078);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-900:oklch(37.9% .146 265.522);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-900:oklch(38.1% .176 304.987);--color-gray-200:oklch(92.8% .006 264.531);--color-white:#fff;--spacing:.25rem;--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);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)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);--radius-brand:calc(var(--radius-brand) - 2px)}}@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%;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}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}}@layer components{.rounded-brand{border-radius:var(--radius-brand)}}@layer utilities{.\\@container\\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);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}.static{position:static}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.top-\\[1px\\]{top:1px}.top-\\[60\\%\\]{top:60%}.top-full{top:100%}.-right-full{right:-100%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-6{right:calc(var(--spacing)*6)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-6{bottom:calc(var(--spacing)*6)}.-left-full{left:-100%}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-6{left:calc(var(--spacing)*6)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[99999\\]{z-index:99999}.col-span-2{grid-column:span 2/span 2}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.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}}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.mt-1\\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-6{margin-left:calc(var(--spacing)*6)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.aspect-\\[4\\/2\\.5\\]{aspect-ratio:4/2.5}.aspect-\\[4\\/2\\]{aspect-ratio:4/2}.aspect-square{aspect-ratio:1}.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-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.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-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-18{height:calc(var(--spacing)*18)}.h-64{height:calc(var(--spacing)*64)}.h-\\[1px\\]{height:1px}.h-\\[var\\(--radix-navigation-menu-viewport-height\\)\\]{height:var(--radix-navigation-menu-viewport-height)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.min-h-\\[300px\\]{min-height:300px}.w-2{width:calc(var(--spacing)*2)}.w-2\\/3{width:66.6667%}.w-3{width:calc(var(--spacing)*3)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-20{width:calc(var(--spacing)*20)}.w-\\[200px\\]{width:200px}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-96{max-width:calc(var(--spacing)*96)}.max-w-\\[70px\\]{max-width:70px}.max-w-\\[250px\\]{max-width:250px}.max-w-max{max-width:max-content}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[50px\\]{min-width:50px}.min-w-\\[250px\\]{min-width:250px}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.-translate-x-1\\/2{--tw-translate-x: -50% ;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)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.scroll-m-20{scroll-margin:calc(var(--spacing)*20)}.scroll-my-1{scroll-margin-block:calc(var(--spacing)*1)}.list-none{list-style-type:none}.auto-rows-min{grid-auto-rows:min-content}.grid-rows-\\[auto_auto\\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-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-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.self-center{align-self:center}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-brand{border-radius:calc(var(--radius-brand) - 2px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-\\[0\\.5px\\]{border-style:var(--tw-border-style);border-width:.5px}.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-none{--tw-border-style:none;border-style:none}.border-amber-500{border-color:var(--color-amber-500)}.border-blue-400{border-color:var(--color-blue-400)}.border-blue-500{border-color:var(--color-blue-500)}.border-destructive{border-color:var(--destructive)}.border-green-500{border-color:var(--color-green-500)}.border-input{border-color:var(--input)}.border-purple-400{border-color:var(--color-purple-400)}.bg-\\[\\#FAFAFA\\]{background-color:#fafafa}.bg-accent{background-color:var(--accent)}.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-background{background-color:var(--background)}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-cyan-300{background-color:var(--color-cyan-300)}.bg-destructive,.bg-destructive\\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.bg-destructive\\/10{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.bg-foreground\\/50{background-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/50{background-color:color-mix(in oklab,var(--foreground)50%,transparent)}}.bg-gray-200{background-color:var(--color-gray-200)}.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-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.fill-primary{fill:var(--primary)}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.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-6{padding-block:calc(var(--spacing)*6)}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-2\\.5{padding-right:calc(var(--spacing)*2.5)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-10{padding-bottom:calc(var(--spacing)*10)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-right{text-align:right}.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-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))}.leading-none{--tw-leading:1;line-height:1}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.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-nowrap{white-space:nowrap}.text-\\[\\#010b23\\]{color:#010b23}.text-blue-900{color:var(--color-blue-900)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-foreground{color:var(--foreground)}.text-green-700{color:var(--color-green-700)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-purple-900{color:var(--color-purple-900)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.italic{font-style:italic}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.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-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--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-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)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;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))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[disabled\\=true\\]\\:opacity-50:is(:where(.group)[data-disabled=true] *){opacity:.5}.group-data-\\[state\\=open\\]\\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:top-full:is(:where(.group\\/navigation-menu)[data-viewport=false] *){top:100%}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:mt-1\\.5:is(:where(.group\\/navigation-menu)[data-viewport=false] *){margin-top:calc(var(--spacing)*1.5)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:overflow-hidden:is(:where(.group\\/navigation-menu)[data-viewport=false] *){overflow:hidden}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:rounded-md:is(:where(.group\\/navigation-menu)[data-viewport=false] *){border-radius:calc(var(--radius) - 2px)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:border:is(:where(.group\\/navigation-menu)[data-viewport=false] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:bg-popover:is(:where(.group\\/navigation-menu)[data-viewport=false] *){background-color:var(--popover)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:text-popover-foreground:is(:where(.group\\/navigation-menu)[data-viewport=false] *){color:var(--popover-foreground)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:shadow:is(:where(.group\\/navigation-menu)[data-viewport=false] *){--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)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:duration-200:is(:where(.group\\/navigation-menu)[data-viewport=false] *){--tw-duration:.2s;transition-duration:.2s}.peer-focus-visible\\:outline-2:is(:where(.peer):focus-visible~*){outline-style:var(--tw-outline-style);outline-width:2px}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-has-data-state\\:border-2:is(:where(.peer):has([data-state])~*){border-style:var(--tw-border-style);border-width:2px}.peer-has-data-state\\:border-primary:is(:where(.peer):has([data-state])~*){border-color:var(--primary)}.selection\\:bg-primary ::selection{background-color:var(--primary)}.selection\\:bg-primary::selection{background-color:var(--primary)}.selection\\:text-primary-foreground ::selection{color:var(--primary-foreground)}.selection\\:text-primary-foreground::selection{color:var(--primary-foreground)}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-7::file-selector-button{height:calc(var(--spacing)*7)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder{color:var(--muted-foreground)}@media (hover:hover){.hover\\:bg-accent:hover,.hover\\:bg-accent\\/40:hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-accent\\/40:hover{background-color:color-mix(in oklab,var(--accent)40%,transparent)}}.hover\\:bg-destructive\\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-destructive\\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}.hover\\:bg-primary\\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}.hover\\:bg-secondary\\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-secondary\\/80:hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:underline:hover{text-decoration-line:underline}}.focus\\:bg-accent:focus{background-color:var(--accent)}.focus\\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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-visible\\:ring-\\[3px\\]:focus-visible{--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-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.has-data-\\[slot\\=card-action\\]\\:grid-cols-\\[1fr_auto\\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-\\[\\>svg\\]\\:px-2\\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\\[\\>svg\\]\\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\\[\\>svg\\]\\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.data-\\[active\\=true\\]\\:bg-accent\\/50[data-active=true]{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.data-\\[active\\=true\\]\\:bg-accent\\/50[data-active=true]{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.data-\\[active\\=true\\]\\:text-accent-foreground[data-active=true]{color:var(--accent-foreground)}@media (hover:hover){.data-\\[active\\=true\\]\\:hover\\:bg-accent[data-active=true]:hover{background-color:var(--accent)}}.data-\\[active\\=true\\]\\:focus\\:bg-accent[data-active=true]:focus{background-color:var(--accent)}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[error\\=true\\]\\:text-destructive[data-error=true]{color:var(--destructive)}.data-\\[motion\\=from-end\\]\\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x:calc(var(--spacing)*52)}.data-\\[motion\\=from-start\\]\\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x:calc(var(--spacing)*52*-1)}.data-\\[motion\\=to-end\\]\\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x:calc(var(--spacing)*52)}.data-\\[motion\\=to-start\\]\\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x:calc(var(--spacing)*52*-1)}.data-\\[motion\\^\\=from-\\]\\:animate-in[data-motion^=from-]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[motion\\^\\=from-\\]\\:fade-in[data-motion^=from-]{--tw-enter-opacity:0}.data-\\[motion\\^\\=to-\\]\\:animate-out[data-motion^=to-]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[motion\\^\\=to-\\]\\:fade-out[data-motion^=to-]{--tw-exit-opacity:0}.data-\\[placeholder\\]\\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(var(--spacing)*2*-1)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(var(--spacing)*2)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(var(--spacing)*2*-1)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(var(--spacing)*2)}.data-\\[size\\=default\\]\\:h-12[data-size=default]{height:calc(var(--spacing)*12)}.data-\\[size\\=sm\\]\\:h-8[data-size=sm]{height:calc(var(--spacing)*8)}:is(.\\*\\*\\:data-\\[slot\\=navigation-menu-link\\]\\:focus\\:ring-0 *)[data-slot=navigation-menu-link]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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)}:is(.\\*\\*\\:data-\\[slot\\=navigation-menu-link\\]\\:focus\\:outline-none *)[data-slot=navigation-menu-link]:focus{--tw-outline-style:none;outline-style:none}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing)*2)}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:animate-out:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:fade-out-0:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-opacity:0}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:zoom-out-95:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-scale:.95}.data-\\[state\\=hidden\\]\\:animate-out[data-state=hidden]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=hidden\\]\\:fade-out[data-state=hidden]{--tw-exit-opacity:0}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=open\\]\\:bg-accent\\/50[data-state=open]{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.data-\\[state\\=open\\]\\:bg-accent\\/50[data-state=open]{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.data-\\[state\\=open\\]\\:text-accent-foreground[data-state=open]{color:var(--accent-foreground)}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\\[state\\=open\\]\\:zoom-in-90[data-state=open]{--tw-enter-scale:.9}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:animate-in:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:fade-in-0:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-opacity:0}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:zoom-in-95:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-scale:.95}@media (hover:hover){.data-\\[state\\=open\\]\\:hover\\:bg-accent[data-state=open]:hover{background-color:var(--accent)}}.data-\\[state\\=open\\]\\:focus\\:bg-accent[data-state=open]:focus{background-color:var(--accent)}.data-\\[state\\=visible\\]\\:animate-in[data-state=visible]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=visible\\]\\:fade-in[data-state=visible]{--tw-enter-opacity:0}@media (min-width:40rem){.sm\\:max-w-\\[400px\\]{max-width:400px}.sm\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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 (min-width:48rem){.md\\:absolute{position:absolute}.md\\:w-\\[var\\(--radix-navigation-menu-viewport-width\\)\\]{width:var(--radix-navigation-menu-viewport-width)}.md\\:w-auto{width:auto}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.dark\\:border-input:is(.dark *){border-color:var(--input)}.dark\\:bg-destructive\\/60:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-destructive\\/60:is(.dark *){background-color:color-mix(in oklab,var(--destructive)60%,transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}@media (hover:hover){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-6 svg:not([class*=size-]){width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'text-\\'\\]\\)\\]\\:text-muted-foreground svg:not([class*=text-]){color:var(--muted-foreground)}.\\[\\.border-b\\]\\:pb-6.border-b{padding-bottom:calc(var(--spacing)*6)}.\\[\\.border-t\\]\\:pt-6.border-t{padding-top:calc(var(--spacing)*6)}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing)*2)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:host{--radius:.625rem;--radius-brand:.625rem;--background:oklch(100% 0 0);--foreground:oklch(14.1% .005 285.823);--card:oklch(100% 0 0);--card-foreground:oklch(14.1% .005 285.823);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.1% .005 285.823);--primary:oklch(21% .006 285.885);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(96.7% .001 286.375);--secondary-foreground:oklch(21% .006 285.885);--muted:oklch(96.7% .001 286.375);--muted-foreground:oklch(55.2% .016 285.938);--accent:oklch(96.7% .001 286.375);--accent-foreground:oklch(21% .006 285.885);--destructive:oklch(57.7% .245 27.325);--border:oklch(92% .004 286.32);--input:oklch(92% .004 286.32);--ring:oklch(70.5% .015 286.067);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.1% .005 285.823);--sidebar-primary:oklch(21% .006 285.885);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(96.7% .001 286.375);--sidebar-accent-foreground:oklch(21% .006 285.885);--sidebar-border:oklch(92% .004 286.32);--sidebar-ring:oklch(70.5% .015 286.067)}.dark{--background:oklch(14.1% .005 285.823);--foreground:oklch(98.5% 0 0);--card:oklch(21% .006 285.885);--card-foreground:oklch(98.5% 0 0);--popover:oklch(21% .006 285.885);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92% .004 286.32);--primary-foreground:oklch(21% .006 285.885);--secondary:oklch(27.4% .006 286.033);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27.4% .006 286.033);--muted-foreground:oklch(70.5% .015 286.067);--accent:oklch(27.4% .006 286.033);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.2% .016 285.938);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(21% .006 285.885);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(27.4% .006 286.033);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.2% .016 285.938)}.rdp-root{--rdp-accent-color:var(--primary);--rdp-accent-background-color:var(--primary);--rdp-chevron-disabled-opacity:.1;--rdp-disabled-opacity:.1;--rdp-day_button-border-radius:var(--radius);--rdp-week_number-border-radius:var(--radius)}@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-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}`)),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(`/*! tailwindcss v4.1.13 | 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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--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-duration:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@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-amber-500:oklch(76.9% .188 70.08);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-300:oklch(86.5% .127 207.078);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-900:oklch(37.9% .146 265.522);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-900:oklch(38.1% .176 304.987);--color-gray-200:oklch(92.8% .006 264.531);--color-white:#fff;--spacing:.25rem;--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);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)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);--radius-brand:calc(var(--radius-brand) - 2px)}}@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%;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}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}}@layer components{.rounded-brand{border-radius:var(--radius-brand)}}@layer utilities{.\\@container\\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);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}.static{position:static}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.top-\\[1px\\]{top:1px}.top-\\[60\\%\\]{top:60%}.top-full{top:100%}.-right-full{right:-100%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-6{right:calc(var(--spacing)*6)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-6{bottom:calc(var(--spacing)*6)}.-left-full{left:-100%}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-6{left:calc(var(--spacing)*6)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[99999\\]{z-index:99999}.col-span-2{grid-column:span 2/span 2}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.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}}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.mt-1\\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-6{margin-left:calc(var(--spacing)*6)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.aspect-\\[4\\/2\\.5\\]{aspect-ratio:4/2.5}.aspect-\\[4\\/2\\]{aspect-ratio:4/2}.aspect-square{aspect-ratio:1}.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-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.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-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-18{height:calc(var(--spacing)*18)}.h-64{height:calc(var(--spacing)*64)}.h-\\[1px\\]{height:1px}.h-\\[var\\(--radix-navigation-menu-viewport-height\\)\\]{height:var(--radix-navigation-menu-viewport-height)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.min-h-\\[300px\\]{min-height:300px}.w-2{width:calc(var(--spacing)*2)}.w-2\\/3{width:66.6667%}.w-3{width:calc(var(--spacing)*3)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-20{width:calc(var(--spacing)*20)}.w-\\[200px\\]{width:200px}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-17{max-width:calc(var(--spacing)*17)}.max-w-96{max-width:calc(var(--spacing)*96)}.max-w-\\[70px\\]{max-width:70px}.max-w-\\[250px\\]{max-width:250px}.max-w-max{max-width:max-content}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[50px\\]{min-width:50px}.min-w-\\[250px\\]{min-width:250px}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.-translate-x-1\\/2{--tw-translate-x: -50% ;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)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.scroll-m-20{scroll-margin:calc(var(--spacing)*20)}.scroll-my-1{scroll-margin-block:calc(var(--spacing)*1)}.list-none{list-style-type:none}.auto-rows-min{grid-auto-rows:min-content}.grid-rows-\\[auto_auto\\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-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-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.self-center{align-self:center}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-brand{border-radius:calc(var(--radius-brand) - 2px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-\\[0\\.5px\\]{border-style:var(--tw-border-style);border-width:.5px}.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-none{--tw-border-style:none;border-style:none}.border-amber-500{border-color:var(--color-amber-500)}.border-blue-400{border-color:var(--color-blue-400)}.border-blue-500{border-color:var(--color-blue-500)}.border-destructive{border-color:var(--destructive)}.border-green-500{border-color:var(--color-green-500)}.border-input{border-color:var(--input)}.border-purple-400{border-color:var(--color-purple-400)}.bg-\\[\\#FAFAFA\\]{background-color:#fafafa}.bg-accent{background-color:var(--accent)}.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-background{background-color:var(--background)}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-cyan-300{background-color:var(--color-cyan-300)}.bg-destructive,.bg-destructive\\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.bg-destructive\\/10{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.bg-foreground\\/50{background-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/50{background-color:color-mix(in oklab,var(--foreground)50%,transparent)}}.bg-gray-200{background-color:var(--color-gray-200)}.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-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.fill-primary{fill:var(--primary)}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.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-6{padding-block:calc(var(--spacing)*6)}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-2\\.5{padding-right:calc(var(--spacing)*2.5)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-10{padding-bottom:calc(var(--spacing)*10)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-right{text-align:right}.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-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))}.leading-none{--tw-leading:1;line-height:1}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.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-nowrap{white-space:nowrap}.text-\\[\\#010b23\\]{color:#010b23}.text-blue-900{color:var(--color-blue-900)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-foreground{color:var(--foreground)}.text-green-700{color:var(--color-green-700)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-purple-900{color:var(--color-purple-900)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.italic{font-style:italic}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.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-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--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-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)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;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))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[disabled\\=true\\]\\:opacity-50:is(:where(.group)[data-disabled=true] *){opacity:.5}.group-data-\\[state\\=open\\]\\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:top-full:is(:where(.group\\/navigation-menu)[data-viewport=false] *){top:100%}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:mt-1\\.5:is(:where(.group\\/navigation-menu)[data-viewport=false] *){margin-top:calc(var(--spacing)*1.5)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:overflow-hidden:is(:where(.group\\/navigation-menu)[data-viewport=false] *){overflow:hidden}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:rounded-md:is(:where(.group\\/navigation-menu)[data-viewport=false] *){border-radius:calc(var(--radius) - 2px)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:border:is(:where(.group\\/navigation-menu)[data-viewport=false] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:bg-popover:is(:where(.group\\/navigation-menu)[data-viewport=false] *){background-color:var(--popover)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:text-popover-foreground:is(:where(.group\\/navigation-menu)[data-viewport=false] *){color:var(--popover-foreground)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:shadow:is(:where(.group\\/navigation-menu)[data-viewport=false] *){--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)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:duration-200:is(:where(.group\\/navigation-menu)[data-viewport=false] *){--tw-duration:.2s;transition-duration:.2s}.peer-focus-visible\\:outline-2:is(:where(.peer):focus-visible~*){outline-style:var(--tw-outline-style);outline-width:2px}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-has-data-state\\:border-2:is(:where(.peer):has([data-state])~*){border-style:var(--tw-border-style);border-width:2px}.peer-has-data-state\\:border-primary:is(:where(.peer):has([data-state])~*){border-color:var(--primary)}.selection\\:bg-primary ::selection{background-color:var(--primary)}.selection\\:bg-primary::selection{background-color:var(--primary)}.selection\\:text-primary-foreground ::selection{color:var(--primary-foreground)}.selection\\:text-primary-foreground::selection{color:var(--primary-foreground)}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-7::file-selector-button{height:calc(var(--spacing)*7)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder{color:var(--muted-foreground)}@media (hover:hover){.hover\\:bg-accent:hover,.hover\\:bg-accent\\/40:hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-accent\\/40:hover{background-color:color-mix(in oklab,var(--accent)40%,transparent)}}.hover\\:bg-destructive\\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-destructive\\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}.hover\\:bg-primary\\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}.hover\\:bg-secondary\\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-secondary\\/80:hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:underline:hover{text-decoration-line:underline}}.focus\\:bg-accent:focus{background-color:var(--accent)}.focus\\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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-visible\\:ring-\\[3px\\]:focus-visible{--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-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.has-data-\\[slot\\=card-action\\]\\:grid-cols-\\[1fr_auto\\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-\\[\\>svg\\]\\:px-2\\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\\[\\>svg\\]\\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\\[\\>svg\\]\\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.data-\\[active\\=true\\]\\:bg-accent\\/50[data-active=true]{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.data-\\[active\\=true\\]\\:bg-accent\\/50[data-active=true]{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.data-\\[active\\=true\\]\\:text-accent-foreground[data-active=true]{color:var(--accent-foreground)}@media (hover:hover){.data-\\[active\\=true\\]\\:hover\\:bg-accent[data-active=true]:hover{background-color:var(--accent)}}.data-\\[active\\=true\\]\\:focus\\:bg-accent[data-active=true]:focus{background-color:var(--accent)}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[error\\=true\\]\\:text-destructive[data-error=true]{color:var(--destructive)}.data-\\[motion\\=from-end\\]\\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x:calc(var(--spacing)*52)}.data-\\[motion\\=from-start\\]\\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x:calc(var(--spacing)*52*-1)}.data-\\[motion\\=to-end\\]\\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x:calc(var(--spacing)*52)}.data-\\[motion\\=to-start\\]\\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x:calc(var(--spacing)*52*-1)}.data-\\[motion\\^\\=from-\\]\\:animate-in[data-motion^=from-]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[motion\\^\\=from-\\]\\:fade-in[data-motion^=from-]{--tw-enter-opacity:0}.data-\\[motion\\^\\=to-\\]\\:animate-out[data-motion^=to-]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[motion\\^\\=to-\\]\\:fade-out[data-motion^=to-]{--tw-exit-opacity:0}.data-\\[placeholder\\]\\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(var(--spacing)*2*-1)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(var(--spacing)*2)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(var(--spacing)*2*-1)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(var(--spacing)*2)}.data-\\[size\\=default\\]\\:h-12[data-size=default]{height:calc(var(--spacing)*12)}.data-\\[size\\=sm\\]\\:h-8[data-size=sm]{height:calc(var(--spacing)*8)}:is(.\\*\\*\\:data-\\[slot\\=navigation-menu-link\\]\\:focus\\:ring-0 *)[data-slot=navigation-menu-link]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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)}:is(.\\*\\*\\:data-\\[slot\\=navigation-menu-link\\]\\:focus\\:outline-none *)[data-slot=navigation-menu-link]:focus{--tw-outline-style:none;outline-style:none}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing)*2)}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:animate-out:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:fade-out-0:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-opacity:0}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:zoom-out-95:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-scale:.95}.data-\\[state\\=hidden\\]\\:animate-out[data-state=hidden]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=hidden\\]\\:fade-out[data-state=hidden]{--tw-exit-opacity:0}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=open\\]\\:bg-accent\\/50[data-state=open]{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.data-\\[state\\=open\\]\\:bg-accent\\/50[data-state=open]{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.data-\\[state\\=open\\]\\:text-accent-foreground[data-state=open]{color:var(--accent-foreground)}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\\[state\\=open\\]\\:zoom-in-90[data-state=open]{--tw-enter-scale:.9}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:animate-in:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:fade-in-0:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-opacity:0}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:zoom-in-95:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-scale:.95}@media (hover:hover){.data-\\[state\\=open\\]\\:hover\\:bg-accent[data-state=open]:hover{background-color:var(--accent)}}.data-\\[state\\=open\\]\\:focus\\:bg-accent[data-state=open]:focus{background-color:var(--accent)}.data-\\[state\\=visible\\]\\:animate-in[data-state=visible]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=visible\\]\\:fade-in[data-state=visible]{--tw-enter-opacity:0}@media (min-width:40rem){.sm\\:max-w-\\[400px\\]{max-width:400px}.sm\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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 (min-width:48rem){.md\\:absolute{position:absolute}.md\\:w-\\[var\\(--radix-navigation-menu-viewport-width\\)\\]{width:var(--radix-navigation-menu-viewport-width)}.md\\:w-auto{width:auto}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.dark\\:border-input:is(.dark *){border-color:var(--input)}.dark\\:bg-destructive\\/60:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-destructive\\/60:is(.dark *){background-color:color-mix(in oklab,var(--destructive)60%,transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}@media (hover:hover){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-6 svg:not([class*=size-]){width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'text-\\'\\]\\)\\]\\:text-muted-foreground svg:not([class*=text-]){color:var(--muted-foreground)}.\\[\\.border-b\\]\\:pb-6.border-b{padding-bottom:calc(var(--spacing)*6)}.\\[\\.border-t\\]\\:pt-6.border-t{padding-top:calc(var(--spacing)*6)}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing)*2)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:host{--radius:.625rem;--radius-brand:.625rem;--background:oklch(100% 0 0);--foreground:oklch(14.1% .005 285.823);--card:oklch(100% 0 0);--card-foreground:oklch(14.1% .005 285.823);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.1% .005 285.823);--primary:oklch(21% .006 285.885);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(96.7% .001 286.375);--secondary-foreground:oklch(21% .006 285.885);--muted:oklch(96.7% .001 286.375);--muted-foreground:oklch(55.2% .016 285.938);--accent:oklch(96.7% .001 286.375);--accent-foreground:oklch(21% .006 285.885);--destructive:oklch(57.7% .245 27.325);--border:oklch(92% .004 286.32);--input:oklch(92% .004 286.32);--ring:oklch(70.5% .015 286.067);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.1% .005 285.823);--sidebar-primary:oklch(21% .006 285.885);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(96.7% .001 286.375);--sidebar-accent-foreground:oklch(21% .006 285.885);--sidebar-border:oklch(92% .004 286.32);--sidebar-ring:oklch(70.5% .015 286.067)}.dark{--background:oklch(14.1% .005 285.823);--foreground:oklch(98.5% 0 0);--card:oklch(21% .006 285.885);--card-foreground:oklch(98.5% 0 0);--popover:oklch(21% .006 285.885);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92% .004 286.32);--primary-foreground:oklch(21% .006 285.885);--secondary:oklch(27.4% .006 286.033);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27.4% .006 286.033);--muted-foreground:oklch(70.5% .015 286.067);--accent:oklch(27.4% .006 286.033);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.2% .016 285.938);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(21% .006 285.885);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(27.4% .006 286.033);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.2% .016 285.938)}.rdp-root{--rdp-accent-color:var(--primary);--rdp-accent-background-color:var(--primary);--rdp-chevron-disabled-opacity:.1;--rdp-disabled-opacity:.1;--rdp-day_button-border-radius:var(--radius);--rdp-week_number-border-radius:var(--radius)}@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-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}`)),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
(function(Om){typeof define=="function"&&define.amd?define(Om):Om()})((function(){"use strict";function Om(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in e)){const s=Object.getOwnPropertyDescriptor(i,r);s&&Object.defineProperty(e,r,s.get?s:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Nm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function XS(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,r.get?r:{enumerable:!0,get:function(){return e[i]}})}),n}var jb={exports:{}},zf={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.js
|
|
@@ -174,7 +174,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
174
174
|
`)},mN=function(){var e=parseInt(document.body.getAttribute(_c)||"0",10);return isFinite(e)?e:0},mj=function(){T.useEffect(function(){return document.body.setAttribute(_c,(mN()+1).toString()),function(){var e=mN()-1;e<=0?document.body.removeAttribute(_c):document.body.setAttribute(_c,e.toString())}},[])},gj=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,r=i===void 0?"margin":i;mj();var s=T.useMemo(function(){return fj(r)},[r]);return T.createElement(hj,{styles:pj(s,!t,r,n?"":"!important")})},N0=!1;if(typeof window<"u")try{var eg=Object.defineProperty({},"passive",{get:function(){return N0=!0,!0}});window.addEventListener("test",eg,eg),window.removeEventListener("test",eg,eg)}catch{N0=!1}var Tc=N0?{passive:!1}:!1,vj=function(e){return e.tagName==="TEXTAREA"},gN=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!vj(e)&&n[t]==="visible")},yj=function(e){return gN(e,"overflowY")},bj=function(e){return gN(e,"overflowX")},vN=function(e,t){var n=t.ownerDocument,i=t;do{typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&(i=i.host);var r=yN(e,i);if(r){var s=bN(e,i),c=s[1],h=s[2];if(c>h)return!0}i=i.parentNode}while(i&&i!==n.body);return!1},wj=function(e){var t=e.scrollTop,n=e.scrollHeight,i=e.clientHeight;return[t,n,i]},xj=function(e){var t=e.scrollLeft,n=e.scrollWidth,i=e.clientWidth;return[t,n,i]},yN=function(e,t){return e==="v"?yj(t):bj(t)},bN=function(e,t){return e==="v"?wj(t):xj(t)},Sj=function(e,t){return e==="h"&&t==="rtl"?-1:1},Aj=function(e,t,n,i,r){var s=Sj(e,window.getComputedStyle(t).direction),c=s*i,h=n.target,m=t.contains(h),v=!1,b=c>0,w=0,S=0;do{if(!h)break;var N=bN(e,h),A=N[0],O=N[1],_=N[2],M=O-_-s*A;(A||M)&&yN(e,h)&&(w+=M,S+=A);var I=h.parentNode;h=I&&I.nodeType===Node.DOCUMENT_FRAGMENT_NODE?I.host:I}while(!m&&h!==document.body||m&&(t.contains(h)||t===h));return(b&&Math.abs(w)<1||!b&&Math.abs(S)<1)&&(v=!0),v},tg=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},wN=function(e){return[e.deltaX,e.deltaY]},xN=function(e){return e&&"current"in e?e.current:e},Oj=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Nj=function(e){return`
|
|
175
175
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
176
176
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
177
|
-
`)},kj=0,Cc=[];function Ej(e){var t=T.useRef([]),n=T.useRef([0,0]),i=T.useRef(),r=T.useState(kj++)[0],s=T.useState(pN)[0],c=T.useRef(e);T.useEffect(function(){c.current=e},[e]),T.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var O=q6([e.lockRef.current],(e.shards||[]).map(xN),!0).filter(Boolean);return O.forEach(function(_){return _.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),O.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var h=T.useCallback(function(O,_){if("touches"in O&&O.touches.length===2||O.type==="wheel"&&O.ctrlKey)return!c.current.allowPinchZoom;var M=tg(O),I=n.current,j="deltaX"in O?O.deltaX:I[0]-M[0],H="deltaY"in O?O.deltaY:I[1]-M[1],L,$=O.target,U=Math.abs(j)>Math.abs(H)?"h":"v";if("touches"in O&&U==="h"&&$.type==="range")return!1;var Q=vN(U,$);if(!Q)return!0;if(Q?L=U:(L=U==="v"?"h":"v",Q=vN(U,$)),!Q)return!1;if(!i.current&&"changedTouches"in O&&(j||H)&&(i.current=L),!L)return!0;var ne=i.current||L;return Aj(ne,_,O,ne==="h"?j:H)},[]),m=T.useCallback(function(O){var _=O;if(!(!Cc.length||Cc[Cc.length-1]!==s)){var M="deltaY"in _?wN(_):tg(_),I=t.current.filter(function(L){return L.name===_.type&&(L.target===_.target||_.target===L.shadowParent)&&Oj(L.delta,M)})[0];if(I&&I.should){_.cancelable&&_.preventDefault();return}if(!I){var j=(c.current.shards||[]).map(xN).filter(Boolean).filter(function(L){return L.contains(_.target)}),H=j.length>0?h(_,j[0]):!c.current.noIsolation;H&&_.cancelable&&_.preventDefault()}}},[]),v=T.useCallback(function(O,_,M,I){var j={name:O,delta:_,target:M,should:I,shadowParent:Dj(M)};t.current.push(j),setTimeout(function(){t.current=t.current.filter(function(H){return H!==j})},1)},[]),b=T.useCallback(function(O){n.current=tg(O),i.current=void 0},[]),w=T.useCallback(function(O){v(O.type,wN(O),O.target,h(O,e.lockRef.current))},[]),S=T.useCallback(function(O){v(O.type,tg(O),O.target,h(O,e.lockRef.current))},[]);T.useEffect(function(){return Cc.push(s),e.setCallbacks({onScrollCapture:w,onWheelCapture:w,onTouchMoveCapture:S}),document.addEventListener("wheel",m,Tc),document.addEventListener("touchmove",m,Tc),document.addEventListener("touchstart",b,Tc),function(){Cc=Cc.filter(function(O){return O!==s}),document.removeEventListener("wheel",m,Tc),document.removeEventListener("touchmove",m,Tc),document.removeEventListener("touchstart",b,Tc)}},[]);var N=e.removeScrollBar,A=e.inert;return T.createElement(T.Fragment,null,A?T.createElement(s,{styles:Nj(r)}):null,N?T.createElement(gj,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Dj(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const _j=rj(hN,Ej);var SN=T.forwardRef(function(e,t){return T.createElement(Jm,Ya({},e,{ref:t,sideCar:_j}))});SN.classNames=Jm.classNames;var Tj=[" ","Enter","ArrowUp","ArrowDown"],Cj=[" ","Enter"],Ul="Select",[ng,rg,zj]=pO(Ul),[zc,IW]=Ac(Ul,[zj,XO]),ig=XO(),[Ij,Ds]=zc(Ul),[Mj,Rj]=zc(Ul),AN=e=>{const{__scopeSelect:t,children:n,open:i,defaultOpen:r,onOpenChange:s,value:c,defaultValue:h,onValueChange:m,dir:v,name:b,autoComplete:w,disabled:S,required:N,form:A}=e,O=ig(t),[_,M]=T.useState(null),[I,j]=T.useState(null),[H,L]=T.useState(!1),$=r0(v),[U,Q]=qm({prop:i,defaultProp:r??!1,onChange:s,caller:Ul}),[ne,Y]=qm({prop:c,defaultProp:h,onChange:m,caller:Ul}),J=T.useRef(null),re=_?A||!!_.closest("form"):!0,[F,V]=T.useState(new Set),te=Array.from(F).map(P=>P.props.value).join(";");return E.jsx(R6,{...O,children:E.jsxs(Ij,{required:N,scope:t,trigger:_,onTriggerChange:M,valueNode:I,onValueNodeChange:j,valueNodeHasChildren:H,onValueNodeHasChildrenChange:L,contentId:Pm(),value:ne,onValueChange:Y,open:U,onOpenChange:Q,dir:$,triggerPointerDownPosRef:J,disabled:S,children:[E.jsx(ng.Provider,{scope:t,children:E.jsx(Mj,{scope:e.__scopeSelect,onNativeOptionAdd:T.useCallback(P=>{V(X=>new Set(X).add(P))},[]),onNativeOptionRemove:T.useCallback(P=>{V(X=>{const q=new Set(X);return q.delete(P),q})},[]),children:n})}),re?E.jsxs(GN,{"aria-hidden":!0,required:N,tabIndex:-1,name:b,autoComplete:w,value:ne,onChange:P=>Y(P.target.value),disabled:S,form:A,children:[ne===void 0?E.jsx("option",{value:""}):null,Array.from(F)]},te):null]})})};AN.displayName=Ul;var ON="SelectTrigger",NN=T.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:i=!1,...r}=e,s=ig(n),c=Ds(ON,n),h=c.disabled||i,m=In(t,c.onTriggerChange),v=rg(n),b=T.useRef("touch"),[w,S,N]=WN(O=>{const _=v().filter(j=>!j.disabled),M=_.find(j=>j.value===c.value),I=YN(_,O,M);I!==void 0&&c.onValueChange(I.value)}),A=O=>{h||(c.onOpenChange(!0),N()),O&&(c.triggerPointerDownPosRef.current={x:Math.round(O.pageX),y:Math.round(O.pageY)})};return E.jsx(j6,{asChild:!0,...s,children:E.jsx(hn.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:h,"data-disabled":h?"":void 0,"data-placeholder":ZN(c.value)?"":void 0,...r,ref:m,onClick:an(r.onClick,O=>{O.currentTarget.focus(),b.current!=="mouse"&&A(O)}),onPointerDown:an(r.onPointerDown,O=>{b.current=O.pointerType;const _=O.target;_.hasPointerCapture(O.pointerId)&&_.releasePointerCapture(O.pointerId),O.button===0&&O.ctrlKey===!1&&O.pointerType==="mouse"&&(A(O),O.preventDefault())}),onKeyDown:an(r.onKeyDown,O=>{const _=w.current!=="";!(O.ctrlKey||O.altKey||O.metaKey)&&O.key.length===1&&S(O.key),!(_&&O.key===" ")&&Tj.includes(O.key)&&(A(),O.preventDefault())})})})});NN.displayName=ON;var kN="SelectValue",EN=T.forwardRef((e,t)=>{const{__scopeSelect:n,className:i,style:r,children:s,placeholder:c="",...h}=e,m=Ds(kN,n),{onValueNodeHasChildrenChange:v}=m,b=s!==void 0,w=In(t,m.onValueNodeChange);return Lr(()=>{v(b)},[v,b]),E.jsx(hn.span,{...h,ref:w,style:{pointerEvents:"none"},children:ZN(m.value)?E.jsx(E.Fragment,{children:c}):s})});EN.displayName=kN;var jj="SelectIcon",DN=T.forwardRef((e,t)=>{const{__scopeSelect:n,children:i,...r}=e;return E.jsx(hn.span,{"aria-hidden":!0,...r,ref:t,children:i||"▼"})});DN.displayName=jj;var Ll="SelectContent",_N=T.forwardRef((e,t)=>{const n=Ds(Ll,e.__scopeSelect),[i,r]=T.useState();if(Lr(()=>{r(new DocumentFragment)},[]),!n.open){const s=i;return s?Lf.createPortal(E.jsx(TN,{scope:e.__scopeSelect,children:E.jsx(ng.Slot,{scope:e.__scopeSelect,children:E.jsx("div",{children:e.children})})}),s):null}return E.jsx(CN,{...e,ref:t})});_N.displayName=Ll;var pa=10,[TN,_s]=zc(Ll),Pj="SelectContentImpl",Uj=Mf("SelectContent.RemoveScroll"),CN=T.forwardRef((e,t)=>{const{__scopeSelect:n,position:i="item-aligned",onCloseAutoFocus:r,onEscapeKeyDown:s,onPointerDownOutside:c,side:h,sideOffset:m,align:v,alignOffset:b,arrowPadding:w,collisionBoundary:S,collisionPadding:N,sticky:A,hideWhenDetached:O,avoidCollisions:_,...M}=e,I=Ds(Ll,n),[j,H]=T.useState(null),[L,$]=T.useState(null),U=In(t,Te=>H(Te)),[Q,ne]=T.useState(null),[Y,J]=T.useState(null),re=rg(n),[F,V]=T.useState(!1),te=T.useRef(!1);T.useEffect(()=>{if(j)return Y6(j)},[j]),s4();const P=T.useCallback(Te=>{const[Be,...ut]=re().map(wt=>wt.ref.current),[dt]=ut.slice(-1),ft=document.activeElement;for(const wt of Te)if(wt===ft||(wt?.scrollIntoView({block:"nearest"}),wt===Be&&L&&(L.scrollTop=0),wt===dt&&L&&(L.scrollTop=L.scrollHeight),wt?.focus(),document.activeElement!==ft))return},[re,L]),X=T.useCallback(()=>P([Q,j]),[P,Q,j]);T.useEffect(()=>{F&&X()},[F,X]);const{onOpenChange:q,triggerPointerDownPosRef:me}=I;T.useEffect(()=>{if(j){let Te={x:0,y:0};const Be=dt=>{Te={x:Math.abs(Math.round(dt.pageX)-(me.current?.x??0)),y:Math.abs(Math.round(dt.pageY)-(me.current?.y??0))}},ut=dt=>{Te.x<=10&&Te.y<=10?dt.preventDefault():j.contains(dt.target)||q(!1),document.removeEventListener("pointermove",Be),me.current=null};return me.current!==null&&(document.addEventListener("pointermove",Be),document.addEventListener("pointerup",ut,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Be),document.removeEventListener("pointerup",ut,{capture:!0})}}},[j,q,me]),T.useEffect(()=>{const Te=()=>q(!1);return window.addEventListener("blur",Te),window.addEventListener("resize",Te),()=>{window.removeEventListener("blur",Te),window.removeEventListener("resize",Te)}},[q]);const[B,ae]=WN(Te=>{const Be=re().filter(ft=>!ft.disabled),ut=Be.find(ft=>ft.ref.current===document.activeElement),dt=YN(Be,Te,ut);dt&&setTimeout(()=>dt.ref.current.focus())}),Ae=T.useCallback((Te,Be,ut)=>{const dt=!te.current&&!ut;(I.value!==void 0&&I.value===Be||dt)&&(ne(Te),dt&&(te.current=!0))},[I.value]),ye=T.useCallback(()=>j?.focus(),[j]),De=T.useCallback((Te,Be,ut)=>{const dt=!te.current&&!ut;(I.value!==void 0&&I.value===Be||dt)&&J(Te)},[I.value]),Re=i==="popper"?k0:zN,je=Re===k0?{side:h,sideOffset:m,align:v,alignOffset:b,arrowPadding:w,collisionBoundary:S,collisionPadding:N,sticky:A,hideWhenDetached:O,avoidCollisions:_}:{};return E.jsx(TN,{scope:n,content:j,viewport:L,onViewportChange:$,itemRefCallback:Ae,selectedItem:Q,onItemLeave:ye,itemTextRefCallback:De,focusSelectedItem:X,selectedItemText:Y,position:i,isPositioned:F,searchRef:B,children:E.jsx(SN,{as:Uj,allowPinchZoom:!0,children:E.jsx(SO,{asChild:!0,trapped:I.open,onMountAutoFocus:Te=>{Te.preventDefault()},onUnmountAutoFocus:an(r,Te=>{I.trigger?.focus({preventScroll:!0}),Te.preventDefault()}),children:E.jsx(vO,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:Te=>Te.preventDefault(),onDismiss:()=>I.onOpenChange(!1),children:E.jsx(Re,{role:"listbox",id:I.contentId,"data-state":I.open?"open":"closed",dir:I.dir,onContextMenu:Te=>Te.preventDefault(),...M,...je,onPlaced:()=>V(!0),ref:U,style:{display:"flex",flexDirection:"column",outline:"none",...M.style},onKeyDown:an(M.onKeyDown,Te=>{const Be=Te.ctrlKey||Te.altKey||Te.metaKey;if(Te.key==="Tab"&&Te.preventDefault(),!Be&&Te.key.length===1&&ae(Te.key),["ArrowUp","ArrowDown","Home","End"].includes(Te.key)){let dt=re().filter(ft=>!ft.disabled).map(ft=>ft.ref.current);if(["ArrowUp","End"].includes(Te.key)&&(dt=dt.slice().reverse()),["ArrowUp","ArrowDown"].includes(Te.key)){const ft=Te.target,wt=dt.indexOf(ft);dt=dt.slice(wt+1)}setTimeout(()=>P(dt)),Te.preventDefault()}})})})})})})});CN.displayName=Pj;var Lj="SelectItemAlignedPosition",zN=T.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:i,...r}=e,s=Ds(Ll,n),c=_s(Ll,n),[h,m]=T.useState(null),[v,b]=T.useState(null),w=In(t,U=>b(U)),S=rg(n),N=T.useRef(!1),A=T.useRef(!0),{viewport:O,selectedItem:_,selectedItemText:M,focusSelectedItem:I}=c,j=T.useCallback(()=>{if(s.trigger&&s.valueNode&&h&&v&&O&&_&&M){const U=s.trigger.getBoundingClientRect(),Q=v.getBoundingClientRect(),ne=s.valueNode.getBoundingClientRect(),Y=M.getBoundingClientRect();if(s.dir!=="rtl"){const ft=Y.left-Q.left,wt=ne.left-ft,An=U.left-wt,Wt=U.width+An,ur=Math.max(Wt,Q.width),Ii=window.innerWidth-pa,en=hO(wt,[pa,Math.max(pa,Ii-ur)]);h.style.minWidth=Wt+"px",h.style.left=en+"px"}else{const ft=Q.right-Y.right,wt=window.innerWidth-ne.right-ft,An=window.innerWidth-U.right-wt,Wt=U.width+An,ur=Math.max(Wt,Q.width),Ii=window.innerWidth-pa,en=hO(wt,[pa,Math.max(pa,Ii-ur)]);h.style.minWidth=Wt+"px",h.style.right=en+"px"}const J=S(),re=window.innerHeight-pa*2,F=O.scrollHeight,V=window.getComputedStyle(v),te=parseInt(V.borderTopWidth,10),P=parseInt(V.paddingTop,10),X=parseInt(V.borderBottomWidth,10),q=parseInt(V.paddingBottom,10),me=te+P+F+q+X,B=Math.min(_.offsetHeight*5,me),ae=window.getComputedStyle(O),Ae=parseInt(ae.paddingTop,10),ye=parseInt(ae.paddingBottom,10),De=U.top+U.height/2-pa,Re=re-De,je=_.offsetHeight/2,Te=_.offsetTop+je,Be=te+P+Te,ut=me-Be;if(Be<=De){const ft=J.length>0&&_===J[J.length-1].ref.current;h.style.bottom="0px";const wt=v.clientHeight-O.offsetTop-O.offsetHeight,An=Math.max(Re,je+(ft?ye:0)+wt+X),Wt=Be+An;h.style.height=Wt+"px"}else{const ft=J.length>0&&_===J[0].ref.current;h.style.top="0px";const An=Math.max(De,te+O.offsetTop+(ft?Ae:0)+je)+ut;h.style.height=An+"px",O.scrollTop=Be-De+O.offsetTop}h.style.margin=`${pa}px 0`,h.style.minHeight=B+"px",h.style.maxHeight=re+"px",i?.(),requestAnimationFrame(()=>N.current=!0)}},[S,s.trigger,s.valueNode,h,v,O,_,M,s.dir,i]);Lr(()=>j(),[j]);const[H,L]=T.useState();Lr(()=>{v&&L(window.getComputedStyle(v).zIndex)},[v]);const $=T.useCallback(U=>{U&&A.current===!0&&(j(),I?.(),A.current=!1)},[j,I]);return E.jsx(Fj,{scope:n,contentWrapper:h,shouldExpandOnScrollRef:N,onScrollButtonChange:$,children:E.jsx("div",{ref:m,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:H},children:E.jsx(hn.div,{...r,ref:w,style:{boxSizing:"border-box",maxHeight:"100%",...r.style}})})})});zN.displayName=Lj;var Bj="SelectPopperPosition",k0=T.forwardRef((e,t)=>{const{__scopeSelect:n,align:i="start",collisionPadding:r=pa,...s}=e,c=ig(n);return E.jsx(P6,{...c,...s,ref:t,align:i,collisionPadding:r,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});k0.displayName=Bj;var[Fj,E0]=zc(Ll,{}),D0="SelectViewport",IN=T.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:i,...r}=e,s=_s(D0,n),c=E0(D0,n),h=In(t,s.onViewportChange),m=T.useRef(0);return E.jsxs(E.Fragment,{children:[E.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),E.jsx(ng.Slot,{scope:n,children:E.jsx(hn.div,{"data-radix-select-viewport":"",role:"presentation",...r,ref:h,style:{position:"relative",flex:1,overflow:"hidden auto",...r.style},onScroll:an(r.onScroll,v=>{const b=v.currentTarget,{contentWrapper:w,shouldExpandOnScrollRef:S}=c;if(S?.current&&w){const N=Math.abs(m.current-b.scrollTop);if(N>0){const A=window.innerHeight-pa*2,O=parseFloat(w.style.minHeight),_=parseFloat(w.style.height),M=Math.max(O,_);if(M<A){const I=M+N,j=Math.min(A,I),H=I-j;w.style.height=j+"px",w.style.bottom==="0px"&&(b.scrollTop=H>0?H:0,w.style.justifyContent="flex-end")}}}m.current=b.scrollTop})})})]})});IN.displayName=D0;var MN="SelectGroup",[Hj,Qj]=zc(MN),Gj=T.forwardRef((e,t)=>{const{__scopeSelect:n,...i}=e,r=Pm();return E.jsx(Hj,{scope:n,id:r,children:E.jsx(hn.div,{role:"group","aria-labelledby":r,...i,ref:t})})});Gj.displayName=MN;var RN="SelectLabel",Zj=T.forwardRef((e,t)=>{const{__scopeSelect:n,...i}=e,r=Qj(RN,n);return E.jsx(hn.div,{id:r.id,...i,ref:t})});Zj.displayName=RN;var ag="SelectItem",[Wj,jN]=zc(ag),PN=T.forwardRef((e,t)=>{const{__scopeSelect:n,value:i,disabled:r=!1,textValue:s,...c}=e,h=Ds(ag,n),m=_s(ag,n),v=h.value===i,[b,w]=T.useState(s??""),[S,N]=T.useState(!1),A=In(t,I=>m.itemRefCallback?.(I,i,r)),O=Pm(),_=T.useRef("touch"),M=()=>{r||(h.onValueChange(i),h.onOpenChange(!1))};if(i==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return E.jsx(Wj,{scope:n,value:i,disabled:r,textId:O,isSelected:v,onItemTextChange:T.useCallback(I=>{w(j=>j||(I?.textContent??"").trim())},[]),children:E.jsx(ng.ItemSlot,{scope:n,value:i,disabled:r,textValue:b,children:E.jsx(hn.div,{role:"option","aria-labelledby":O,"data-highlighted":S?"":void 0,"aria-selected":v&&S,"data-state":v?"checked":"unchecked","aria-disabled":r||void 0,"data-disabled":r?"":void 0,tabIndex:r?void 0:-1,...c,ref:A,onFocus:an(c.onFocus,()=>N(!0)),onBlur:an(c.onBlur,()=>N(!1)),onClick:an(c.onClick,()=>{_.current!=="mouse"&&M()}),onPointerUp:an(c.onPointerUp,()=>{_.current==="mouse"&&M()}),onPointerDown:an(c.onPointerDown,I=>{_.current=I.pointerType}),onPointerMove:an(c.onPointerMove,I=>{_.current=I.pointerType,r?m.onItemLeave?.():_.current==="mouse"&&I.currentTarget.focus({preventScroll:!0})}),onPointerLeave:an(c.onPointerLeave,I=>{I.currentTarget===document.activeElement&&m.onItemLeave?.()}),onKeyDown:an(c.onKeyDown,I=>{m.searchRef?.current!==""&&I.key===" "||(Cj.includes(I.key)&&M(),I.key===" "&&I.preventDefault())})})})})});PN.displayName=ag;var Qf="SelectItemText",UN=T.forwardRef((e,t)=>{const{__scopeSelect:n,className:i,style:r,...s}=e,c=Ds(Qf,n),h=_s(Qf,n),m=jN(Qf,n),v=Rj(Qf,n),[b,w]=T.useState(null),S=In(t,M=>w(M),m.onItemTextChange,M=>h.itemTextRefCallback?.(M,m.value,m.disabled)),N=b?.textContent,A=T.useMemo(()=>E.jsx("option",{value:m.value,disabled:m.disabled,children:N},m.value),[m.disabled,m.value,N]),{onNativeOptionAdd:O,onNativeOptionRemove:_}=v;return Lr(()=>(O(A),()=>_(A)),[O,_,A]),E.jsxs(E.Fragment,{children:[E.jsx(hn.span,{id:m.textId,...s,ref:S}),m.isSelected&&c.valueNode&&!c.valueNodeHasChildren?Lf.createPortal(s.children,c.valueNode):null]})});UN.displayName=Qf;var LN="SelectItemIndicator",BN=T.forwardRef((e,t)=>{const{__scopeSelect:n,...i}=e;return jN(LN,n).isSelected?E.jsx(hn.span,{"aria-hidden":!0,...i,ref:t}):null});BN.displayName=LN;var _0="SelectScrollUpButton",FN=T.forwardRef((e,t)=>{const n=_s(_0,e.__scopeSelect),i=E0(_0,e.__scopeSelect),[r,s]=T.useState(!1),c=In(t,i.onScrollButtonChange);return Lr(()=>{if(n.viewport&&n.isPositioned){let h=function(){const v=m.scrollTop>0;s(v)};const m=n.viewport;return h(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[n.viewport,n.isPositioned]),r?E.jsx(QN,{...e,ref:c,onAutoScroll:()=>{const{viewport:h,selectedItem:m}=n;h&&m&&(h.scrollTop=h.scrollTop-m.offsetHeight)}}):null});FN.displayName=_0;var T0="SelectScrollDownButton",HN=T.forwardRef((e,t)=>{const n=_s(T0,e.__scopeSelect),i=E0(T0,e.__scopeSelect),[r,s]=T.useState(!1),c=In(t,i.onScrollButtonChange);return Lr(()=>{if(n.viewport&&n.isPositioned){let h=function(){const v=m.scrollHeight-m.clientHeight,b=Math.ceil(m.scrollTop)<v;s(b)};const m=n.viewport;return h(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[n.viewport,n.isPositioned]),r?E.jsx(QN,{...e,ref:c,onAutoScroll:()=>{const{viewport:h,selectedItem:m}=n;h&&m&&(h.scrollTop=h.scrollTop+m.offsetHeight)}}):null});HN.displayName=T0;var QN=T.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:i,...r}=e,s=_s("SelectScrollButton",n),c=T.useRef(null),h=rg(n),m=T.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return T.useEffect(()=>()=>m(),[m]),Lr(()=>{h().find(b=>b.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[h]),E.jsx(hn.div,{"aria-hidden":!0,...r,ref:t,style:{flexShrink:0,...r.style},onPointerDown:an(r.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(i,50))}),onPointerMove:an(r.onPointerMove,()=>{s.onItemLeave?.(),c.current===null&&(c.current=window.setInterval(i,50))}),onPointerLeave:an(r.onPointerLeave,()=>{m()})})}),Yj="SelectSeparator",qj=T.forwardRef((e,t)=>{const{__scopeSelect:n,...i}=e;return E.jsx(hn.div,{"aria-hidden":!0,...i,ref:t})});qj.displayName=Yj;var C0="SelectArrow",Vj=T.forwardRef((e,t)=>{const{__scopeSelect:n,...i}=e,r=ig(n),s=Ds(C0,n),c=_s(C0,n);return s.open&&c.position==="popper"?E.jsx(U6,{...r,...i,ref:t}):null});Vj.displayName=C0;var $j="SelectBubbleInput",GN=T.forwardRef(({__scopeSelect:e,value:t,...n},i)=>{const r=T.useRef(null),s=In(i,r),c=sN(t);return T.useEffect(()=>{const h=r.current;if(!h)return;const m=window.HTMLSelectElement.prototype,b=Object.getOwnPropertyDescriptor(m,"value").set;if(c!==t&&b){const w=new Event("change",{bubbles:!0});b.call(h,t),h.dispatchEvent(w)}},[c,t]),E.jsx(hn.select,{...n,style:{...lN,...n.style},ref:s,defaultValue:t})});GN.displayName=$j;function ZN(e){return e===""||e===void 0}function WN(e){const t=Os(e),n=T.useRef(""),i=T.useRef(0),r=T.useCallback(c=>{const h=n.current+c;t(h),(function m(v){n.current=v,window.clearTimeout(i.current),v!==""&&(i.current=window.setTimeout(()=>m(""),1e3))})(h)},[t]),s=T.useCallback(()=>{n.current="",window.clearTimeout(i.current)},[]);return T.useEffect(()=>()=>window.clearTimeout(i.current),[]),[n,r,s]}function YN(e,t,n){const r=t.length>1&&Array.from(t).every(v=>v===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let c=Kj(e,Math.max(s,0));r.length===1&&(c=c.filter(v=>v!==n));const m=c.find(v=>v.textValue.toLowerCase().startsWith(r.toLowerCase()));return m!==n?m:void 0}function Kj(e,t){return e.map((n,i)=>e[(t+i)%e.length])}var Xj=AN,Jj=NN,eP=EN,tP=DN,nP=_N,rP=IN,iP=PN,aP=UN,oP=BN,sP=FN,lP=HN;function uP({...e}){return E.jsx(Xj,{"data-slot":"select",...e})}function cP({...e}){return E.jsx(eP,{"data-slot":"select-value",...e})}function dP({className:e,size:t="default",children:n,...i}){return E.jsxs(Jj,{"data-slot":"select-trigger","data-size":t,className:bt("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-brand border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-12 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...i,children:[n,E.jsx(tP,{asChild:!0,children:E.jsx(KA,{className:"size-4 opacity-50"})})]})}function fP({className:e,children:t,position:n="popper",...i}){return E.jsxs(nP,{"data-slot":"select-content",className:bt("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-[99999] max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...i,children:[E.jsx(hP,{}),E.jsx(rP,{className:bt("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),E.jsx(pP,{})]})}function qN({className:e,children:t,...n}){return E.jsxs(iP,{"data-slot":"select-item",className:bt("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...n,children:[E.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:E.jsx(oP,{children:E.jsx(gR,{className:"size-4"})})}),E.jsx(aP,{children:t})]})}function hP({className:e,...t}){return E.jsx(sP,{"data-slot":"select-scroll-up-button",className:bt("flex cursor-default items-center justify-center py-1",e),...t,children:E.jsx(vR,{className:"size-4"})})}function pP({className:e,...t}){return E.jsx(lP,{"data-slot":"select-scroll-down-button",className:bt("flex cursor-default items-center justify-center py-1",e),...t,children:E.jsx(KA,{className:"size-4"})})}const mP=e=>typeof e=="object"&&e!==null&&("disabled"in e?typeof e.disabled=="boolean":!0),gP=({size:e="default",onChange:t,options:n,getValue:i,getLabel:r,placeholder:s,onBlur:c,noOptionsText:h,...m})=>E.jsxs(uP,{...m,onValueChange:v=>{t?.(v)},children:[E.jsx(dP,{size:e,children:E.jsx(cP,{onBlur:c,placeholder:s})}),E.jsx(fP,{position:"popper",children:n.length===0?E.jsx(qN,{value:"No options",disabled:!0,children:h||"No options available"}):n.map(v=>E.jsx(qN,{value:i(v),disabled:mP(v)?v.disabled:void 0,children:r(v)},i(v)))})]}),vP=[{label:"EN",value:"en"},{label:"IT",value:"it"}],yP=()=>{const{i18n:e}=_n(),[t,n]=T.useState(e.language),i=r=>{e.changeLanguage(r),n(r)};return E.jsx(gP,{size:"sm",options:vP,getLabel:({label:r})=>r,getValue:({value:r})=>r,value:t,onChange:i})},bP=({showBackButton:e=!1,onBack:t})=>{const{t:n}=_n(),i=T.useContext(qA);return E.jsxs("div",{className:bt("flex bg-background py-1 px-4 justify-end sticky z-20 top-0 gap-4 border-b",e&&"justify-between"),children:[e&&E.jsx(pr,{"aria-label":n("go_back"),variant:"ghost",size:"icon",onClick:t,children:E.jsx(pR,{})}),E.jsxs("div",{className:"flex gap-4",children:[E.jsx(yP,{}),E.jsx(pr,{"aria-label":n("close_drawer"),variant:"ghost",size:"icon",onClick:i?.close,children:E.jsx(JA,{})})]})]})},VN=2147483647,wP=({direction:e,open:t,setOpen:n,children:i,disableFocusTrap:r=!1,showHeaderBackButton:s=!1,onBack:c})=>{const h=T.useRef(null);return T.useEffect(()=>{t?(document.body.style.overflow="hidden",h.current?.focus()):document.body.style.overflow="auto"},[t]),E.jsx(qA.Provider,{value:{close:()=>n(!1)},children:E.jsxs("div",{children:[E.jsx(xP,{open:t}),E.jsx(YA.FocusTrap,{active:!r&&t,children:E.jsxs("div",{ref:h,className:bt("bg-background fixed flex flex-col top-0 bottom-0 w-full sm:max-w-[400px] transition-all duration-300 sm:shadow-xl overflow-hidden",e==="left"?"left-0":"right-0",t?e==="left"?"left-0":"right-0":e==="left"?"-left-full":"-right-full"),style:{zIndex:VN},children:[E.jsx(bP,{showBackButton:s,onBack:c}),E.jsx("div",{className:"flex flex-1 flex-col overflow-scroll",children:i})]})})]})})},xP=({open:e})=>E.jsx("div",{className:bt("bg-foreground/50 fixed flex top-0 left-0 flex-col w-full h-full",e?"block":"hidden"),style:{zIndex:VN-1}});class Bl extends Error{response;request;constructor(t,n){const i=`${Bl.extractMessage(t)}: ${JSON.stringify({response:t,request:n})}`;super(i),Object.setPrototypeOf(this,Bl.prototype),this.response=t,this.request=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Bl)}static extractMessage(t){return t.errors?.[0]?.message??`GraphQL Error (Code: ${String(t.status)})`}}const $N=e=>e.toUpperCase(),z0=e=>typeof e=="function"?e():e,KN=(e,t)=>e.map((n,i)=>[n,t[i]]),Ic=e=>{let t={};return e instanceof Headers?t=SP(e):Array.isArray(e)?e.forEach(([n,i])=>{n&&i!==void 0&&(t[n]=i)}):e&&(t=e),t},SP=e=>{const t={};return e.forEach((n,i)=>{t[i]=n}),t},AP=e=>{try{const t=e();return OP(t)?t.catch(n=>XN(n)):t}catch(t){return XN(t)}},XN=e=>e instanceof Error?e:new Error(String(e)),OP=e=>typeof e=="object"&&e!==null&&"then"in e&&typeof e.then=="function"&&"catch"in e&&typeof e.catch=="function"&&"finally"in e&&typeof e.finally=="function",I0=e=>{throw new Error(`Unhandled case: ${String(e)}`)},og=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),NP=(e,t)=>e.documents?e:{documents:e,requestHeaders:t,signal:void 0},kP=(e,t,n)=>e.query?e:{query:e,variables:t,requestHeaders:n,signal:void 0};function sg(e,t){if(!!!e)throw new Error(t)}function EP(e){return typeof e=="object"&&e!==null}function DP(e,t){if(!!!e)throw new Error("Unexpected invariant triggered.")}const _P=/\r\n|[\n\r]/g;function M0(e,t){let n=0,i=1;for(const r of e.body.matchAll(_P)){if(typeof r.index=="number"||DP(!1),r.index>=t)break;n=r.index+r[0].length,i+=1}return{line:i,column:t+1-n}}function TP(e){return JN(e.source,M0(e.source,e.start))}function JN(e,t){const n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,s=e.locationOffset.line-1,c=t.line+s,h=t.line===1?n:0,m=t.column+h,v=`${e.name}:${c}:${m}
|
|
177
|
+
`)},kj=0,Cc=[];function Ej(e){var t=T.useRef([]),n=T.useRef([0,0]),i=T.useRef(),r=T.useState(kj++)[0],s=T.useState(pN)[0],c=T.useRef(e);T.useEffect(function(){c.current=e},[e]),T.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var O=q6([e.lockRef.current],(e.shards||[]).map(xN),!0).filter(Boolean);return O.forEach(function(_){return _.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),O.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var h=T.useCallback(function(O,_){if("touches"in O&&O.touches.length===2||O.type==="wheel"&&O.ctrlKey)return!c.current.allowPinchZoom;var M=tg(O),I=n.current,j="deltaX"in O?O.deltaX:I[0]-M[0],H="deltaY"in O?O.deltaY:I[1]-M[1],L,$=O.target,U=Math.abs(j)>Math.abs(H)?"h":"v";if("touches"in O&&U==="h"&&$.type==="range")return!1;var Q=vN(U,$);if(!Q)return!0;if(Q?L=U:(L=U==="v"?"h":"v",Q=vN(U,$)),!Q)return!1;if(!i.current&&"changedTouches"in O&&(j||H)&&(i.current=L),!L)return!0;var ne=i.current||L;return Aj(ne,_,O,ne==="h"?j:H)},[]),m=T.useCallback(function(O){var _=O;if(!(!Cc.length||Cc[Cc.length-1]!==s)){var M="deltaY"in _?wN(_):tg(_),I=t.current.filter(function(L){return L.name===_.type&&(L.target===_.target||_.target===L.shadowParent)&&Oj(L.delta,M)})[0];if(I&&I.should){_.cancelable&&_.preventDefault();return}if(!I){var j=(c.current.shards||[]).map(xN).filter(Boolean).filter(function(L){return L.contains(_.target)}),H=j.length>0?h(_,j[0]):!c.current.noIsolation;H&&_.cancelable&&_.preventDefault()}}},[]),v=T.useCallback(function(O,_,M,I){var j={name:O,delta:_,target:M,should:I,shadowParent:Dj(M)};t.current.push(j),setTimeout(function(){t.current=t.current.filter(function(H){return H!==j})},1)},[]),b=T.useCallback(function(O){n.current=tg(O),i.current=void 0},[]),w=T.useCallback(function(O){v(O.type,wN(O),O.target,h(O,e.lockRef.current))},[]),S=T.useCallback(function(O){v(O.type,tg(O),O.target,h(O,e.lockRef.current))},[]);T.useEffect(function(){return Cc.push(s),e.setCallbacks({onScrollCapture:w,onWheelCapture:w,onTouchMoveCapture:S}),document.addEventListener("wheel",m,Tc),document.addEventListener("touchmove",m,Tc),document.addEventListener("touchstart",b,Tc),function(){Cc=Cc.filter(function(O){return O!==s}),document.removeEventListener("wheel",m,Tc),document.removeEventListener("touchmove",m,Tc),document.removeEventListener("touchstart",b,Tc)}},[]);var N=e.removeScrollBar,A=e.inert;return T.createElement(T.Fragment,null,A?T.createElement(s,{styles:Nj(r)}):null,N?T.createElement(gj,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Dj(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const _j=rj(hN,Ej);var SN=T.forwardRef(function(e,t){return T.createElement(Jm,Ya({},e,{ref:t,sideCar:_j}))});SN.classNames=Jm.classNames;var Tj=[" ","Enter","ArrowUp","ArrowDown"],Cj=[" ","Enter"],Ul="Select",[ng,rg,zj]=pO(Ul),[zc,IW]=Ac(Ul,[zj,XO]),ig=XO(),[Ij,Ds]=zc(Ul),[Mj,Rj]=zc(Ul),AN=e=>{const{__scopeSelect:t,children:n,open:i,defaultOpen:r,onOpenChange:s,value:c,defaultValue:h,onValueChange:m,dir:v,name:b,autoComplete:w,disabled:S,required:N,form:A}=e,O=ig(t),[_,M]=T.useState(null),[I,j]=T.useState(null),[H,L]=T.useState(!1),$=r0(v),[U,Q]=qm({prop:i,defaultProp:r??!1,onChange:s,caller:Ul}),[ne,Y]=qm({prop:c,defaultProp:h,onChange:m,caller:Ul}),J=T.useRef(null),re=_?A||!!_.closest("form"):!0,[F,V]=T.useState(new Set),te=Array.from(F).map(P=>P.props.value).join(";");return E.jsx(R6,{...O,children:E.jsxs(Ij,{required:N,scope:t,trigger:_,onTriggerChange:M,valueNode:I,onValueNodeChange:j,valueNodeHasChildren:H,onValueNodeHasChildrenChange:L,contentId:Pm(),value:ne,onValueChange:Y,open:U,onOpenChange:Q,dir:$,triggerPointerDownPosRef:J,disabled:S,children:[E.jsx(ng.Provider,{scope:t,children:E.jsx(Mj,{scope:e.__scopeSelect,onNativeOptionAdd:T.useCallback(P=>{V(X=>new Set(X).add(P))},[]),onNativeOptionRemove:T.useCallback(P=>{V(X=>{const q=new Set(X);return q.delete(P),q})},[]),children:n})}),re?E.jsxs(GN,{"aria-hidden":!0,required:N,tabIndex:-1,name:b,autoComplete:w,value:ne,onChange:P=>Y(P.target.value),disabled:S,form:A,children:[ne===void 0?E.jsx("option",{value:""}):null,Array.from(F)]},te):null]})})};AN.displayName=Ul;var ON="SelectTrigger",NN=T.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:i=!1,...r}=e,s=ig(n),c=Ds(ON,n),h=c.disabled||i,m=In(t,c.onTriggerChange),v=rg(n),b=T.useRef("touch"),[w,S,N]=WN(O=>{const _=v().filter(j=>!j.disabled),M=_.find(j=>j.value===c.value),I=YN(_,O,M);I!==void 0&&c.onValueChange(I.value)}),A=O=>{h||(c.onOpenChange(!0),N()),O&&(c.triggerPointerDownPosRef.current={x:Math.round(O.pageX),y:Math.round(O.pageY)})};return E.jsx(j6,{asChild:!0,...s,children:E.jsx(hn.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:h,"data-disabled":h?"":void 0,"data-placeholder":ZN(c.value)?"":void 0,...r,ref:m,onClick:an(r.onClick,O=>{O.currentTarget.focus(),b.current!=="mouse"&&A(O)}),onPointerDown:an(r.onPointerDown,O=>{b.current=O.pointerType;const _=O.target;_.hasPointerCapture(O.pointerId)&&_.releasePointerCapture(O.pointerId),O.button===0&&O.ctrlKey===!1&&O.pointerType==="mouse"&&(A(O),O.preventDefault())}),onKeyDown:an(r.onKeyDown,O=>{const _=w.current!=="";!(O.ctrlKey||O.altKey||O.metaKey)&&O.key.length===1&&S(O.key),!(_&&O.key===" ")&&Tj.includes(O.key)&&(A(),O.preventDefault())})})})});NN.displayName=ON;var kN="SelectValue",EN=T.forwardRef((e,t)=>{const{__scopeSelect:n,className:i,style:r,children:s,placeholder:c="",...h}=e,m=Ds(kN,n),{onValueNodeHasChildrenChange:v}=m,b=s!==void 0,w=In(t,m.onValueNodeChange);return Lr(()=>{v(b)},[v,b]),E.jsx(hn.span,{...h,ref:w,style:{pointerEvents:"none"},children:ZN(m.value)?E.jsx(E.Fragment,{children:c}):s})});EN.displayName=kN;var jj="SelectIcon",DN=T.forwardRef((e,t)=>{const{__scopeSelect:n,children:i,...r}=e;return E.jsx(hn.span,{"aria-hidden":!0,...r,ref:t,children:i||"▼"})});DN.displayName=jj;var Ll="SelectContent",_N=T.forwardRef((e,t)=>{const n=Ds(Ll,e.__scopeSelect),[i,r]=T.useState();if(Lr(()=>{r(new DocumentFragment)},[]),!n.open){const s=i;return s?Lf.createPortal(E.jsx(TN,{scope:e.__scopeSelect,children:E.jsx(ng.Slot,{scope:e.__scopeSelect,children:E.jsx("div",{children:e.children})})}),s):null}return E.jsx(CN,{...e,ref:t})});_N.displayName=Ll;var pa=10,[TN,_s]=zc(Ll),Pj="SelectContentImpl",Uj=Mf("SelectContent.RemoveScroll"),CN=T.forwardRef((e,t)=>{const{__scopeSelect:n,position:i="item-aligned",onCloseAutoFocus:r,onEscapeKeyDown:s,onPointerDownOutside:c,side:h,sideOffset:m,align:v,alignOffset:b,arrowPadding:w,collisionBoundary:S,collisionPadding:N,sticky:A,hideWhenDetached:O,avoidCollisions:_,...M}=e,I=Ds(Ll,n),[j,H]=T.useState(null),[L,$]=T.useState(null),U=In(t,Te=>H(Te)),[Q,ne]=T.useState(null),[Y,J]=T.useState(null),re=rg(n),[F,V]=T.useState(!1),te=T.useRef(!1);T.useEffect(()=>{if(j)return Y6(j)},[j]),s4();const P=T.useCallback(Te=>{const[Be,...ut]=re().map(wt=>wt.ref.current),[dt]=ut.slice(-1),ft=document.activeElement;for(const wt of Te)if(wt===ft||(wt?.scrollIntoView({block:"nearest"}),wt===Be&&L&&(L.scrollTop=0),wt===dt&&L&&(L.scrollTop=L.scrollHeight),wt?.focus(),document.activeElement!==ft))return},[re,L]),X=T.useCallback(()=>P([Q,j]),[P,Q,j]);T.useEffect(()=>{F&&X()},[F,X]);const{onOpenChange:q,triggerPointerDownPosRef:me}=I;T.useEffect(()=>{if(j){let Te={x:0,y:0};const Be=dt=>{Te={x:Math.abs(Math.round(dt.pageX)-(me.current?.x??0)),y:Math.abs(Math.round(dt.pageY)-(me.current?.y??0))}},ut=dt=>{Te.x<=10&&Te.y<=10?dt.preventDefault():j.contains(dt.target)||q(!1),document.removeEventListener("pointermove",Be),me.current=null};return me.current!==null&&(document.addEventListener("pointermove",Be),document.addEventListener("pointerup",ut,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Be),document.removeEventListener("pointerup",ut,{capture:!0})}}},[j,q,me]),T.useEffect(()=>{const Te=()=>q(!1);return window.addEventListener("blur",Te),window.addEventListener("resize",Te),()=>{window.removeEventListener("blur",Te),window.removeEventListener("resize",Te)}},[q]);const[B,ae]=WN(Te=>{const Be=re().filter(ft=>!ft.disabled),ut=Be.find(ft=>ft.ref.current===document.activeElement),dt=YN(Be,Te,ut);dt&&setTimeout(()=>dt.ref.current.focus())}),Ae=T.useCallback((Te,Be,ut)=>{const dt=!te.current&&!ut;(I.value!==void 0&&I.value===Be||dt)&&(ne(Te),dt&&(te.current=!0))},[I.value]),ye=T.useCallback(()=>j?.focus(),[j]),De=T.useCallback((Te,Be,ut)=>{const dt=!te.current&&!ut;(I.value!==void 0&&I.value===Be||dt)&&J(Te)},[I.value]),Re=i==="popper"?k0:zN,je=Re===k0?{side:h,sideOffset:m,align:v,alignOffset:b,arrowPadding:w,collisionBoundary:S,collisionPadding:N,sticky:A,hideWhenDetached:O,avoidCollisions:_}:{};return E.jsx(TN,{scope:n,content:j,viewport:L,onViewportChange:$,itemRefCallback:Ae,selectedItem:Q,onItemLeave:ye,itemTextRefCallback:De,focusSelectedItem:X,selectedItemText:Y,position:i,isPositioned:F,searchRef:B,children:E.jsx(SN,{as:Uj,allowPinchZoom:!0,children:E.jsx(SO,{asChild:!0,trapped:I.open,onMountAutoFocus:Te=>{Te.preventDefault()},onUnmountAutoFocus:an(r,Te=>{I.trigger?.focus({preventScroll:!0}),Te.preventDefault()}),children:E.jsx(vO,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:Te=>Te.preventDefault(),onDismiss:()=>I.onOpenChange(!1),children:E.jsx(Re,{role:"listbox",id:I.contentId,"data-state":I.open?"open":"closed",dir:I.dir,onContextMenu:Te=>Te.preventDefault(),...M,...je,onPlaced:()=>V(!0),ref:U,style:{display:"flex",flexDirection:"column",outline:"none",...M.style},onKeyDown:an(M.onKeyDown,Te=>{const Be=Te.ctrlKey||Te.altKey||Te.metaKey;if(Te.key==="Tab"&&Te.preventDefault(),!Be&&Te.key.length===1&&ae(Te.key),["ArrowUp","ArrowDown","Home","End"].includes(Te.key)){let dt=re().filter(ft=>!ft.disabled).map(ft=>ft.ref.current);if(["ArrowUp","End"].includes(Te.key)&&(dt=dt.slice().reverse()),["ArrowUp","ArrowDown"].includes(Te.key)){const ft=Te.target,wt=dt.indexOf(ft);dt=dt.slice(wt+1)}setTimeout(()=>P(dt)),Te.preventDefault()}})})})})})})});CN.displayName=Pj;var Lj="SelectItemAlignedPosition",zN=T.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:i,...r}=e,s=Ds(Ll,n),c=_s(Ll,n),[h,m]=T.useState(null),[v,b]=T.useState(null),w=In(t,U=>b(U)),S=rg(n),N=T.useRef(!1),A=T.useRef(!0),{viewport:O,selectedItem:_,selectedItemText:M,focusSelectedItem:I}=c,j=T.useCallback(()=>{if(s.trigger&&s.valueNode&&h&&v&&O&&_&&M){const U=s.trigger.getBoundingClientRect(),Q=v.getBoundingClientRect(),ne=s.valueNode.getBoundingClientRect(),Y=M.getBoundingClientRect();if(s.dir!=="rtl"){const ft=Y.left-Q.left,wt=ne.left-ft,An=U.left-wt,Wt=U.width+An,ur=Math.max(Wt,Q.width),Ii=window.innerWidth-pa,en=hO(wt,[pa,Math.max(pa,Ii-ur)]);h.style.minWidth=Wt+"px",h.style.left=en+"px"}else{const ft=Q.right-Y.right,wt=window.innerWidth-ne.right-ft,An=window.innerWidth-U.right-wt,Wt=U.width+An,ur=Math.max(Wt,Q.width),Ii=window.innerWidth-pa,en=hO(wt,[pa,Math.max(pa,Ii-ur)]);h.style.minWidth=Wt+"px",h.style.right=en+"px"}const J=S(),re=window.innerHeight-pa*2,F=O.scrollHeight,V=window.getComputedStyle(v),te=parseInt(V.borderTopWidth,10),P=parseInt(V.paddingTop,10),X=parseInt(V.borderBottomWidth,10),q=parseInt(V.paddingBottom,10),me=te+P+F+q+X,B=Math.min(_.offsetHeight*5,me),ae=window.getComputedStyle(O),Ae=parseInt(ae.paddingTop,10),ye=parseInt(ae.paddingBottom,10),De=U.top+U.height/2-pa,Re=re-De,je=_.offsetHeight/2,Te=_.offsetTop+je,Be=te+P+Te,ut=me-Be;if(Be<=De){const ft=J.length>0&&_===J[J.length-1].ref.current;h.style.bottom="0px";const wt=v.clientHeight-O.offsetTop-O.offsetHeight,An=Math.max(Re,je+(ft?ye:0)+wt+X),Wt=Be+An;h.style.height=Wt+"px"}else{const ft=J.length>0&&_===J[0].ref.current;h.style.top="0px";const An=Math.max(De,te+O.offsetTop+(ft?Ae:0)+je)+ut;h.style.height=An+"px",O.scrollTop=Be-De+O.offsetTop}h.style.margin=`${pa}px 0`,h.style.minHeight=B+"px",h.style.maxHeight=re+"px",i?.(),requestAnimationFrame(()=>N.current=!0)}},[S,s.trigger,s.valueNode,h,v,O,_,M,s.dir,i]);Lr(()=>j(),[j]);const[H,L]=T.useState();Lr(()=>{v&&L(window.getComputedStyle(v).zIndex)},[v]);const $=T.useCallback(U=>{U&&A.current===!0&&(j(),I?.(),A.current=!1)},[j,I]);return E.jsx(Fj,{scope:n,contentWrapper:h,shouldExpandOnScrollRef:N,onScrollButtonChange:$,children:E.jsx("div",{ref:m,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:H},children:E.jsx(hn.div,{...r,ref:w,style:{boxSizing:"border-box",maxHeight:"100%",...r.style}})})})});zN.displayName=Lj;var Bj="SelectPopperPosition",k0=T.forwardRef((e,t)=>{const{__scopeSelect:n,align:i="start",collisionPadding:r=pa,...s}=e,c=ig(n);return E.jsx(P6,{...c,...s,ref:t,align:i,collisionPadding:r,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});k0.displayName=Bj;var[Fj,E0]=zc(Ll,{}),D0="SelectViewport",IN=T.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:i,...r}=e,s=_s(D0,n),c=E0(D0,n),h=In(t,s.onViewportChange),m=T.useRef(0);return E.jsxs(E.Fragment,{children:[E.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),E.jsx(ng.Slot,{scope:n,children:E.jsx(hn.div,{"data-radix-select-viewport":"",role:"presentation",...r,ref:h,style:{position:"relative",flex:1,overflow:"hidden auto",...r.style},onScroll:an(r.onScroll,v=>{const b=v.currentTarget,{contentWrapper:w,shouldExpandOnScrollRef:S}=c;if(S?.current&&w){const N=Math.abs(m.current-b.scrollTop);if(N>0){const A=window.innerHeight-pa*2,O=parseFloat(w.style.minHeight),_=parseFloat(w.style.height),M=Math.max(O,_);if(M<A){const I=M+N,j=Math.min(A,I),H=I-j;w.style.height=j+"px",w.style.bottom==="0px"&&(b.scrollTop=H>0?H:0,w.style.justifyContent="flex-end")}}}m.current=b.scrollTop})})})]})});IN.displayName=D0;var MN="SelectGroup",[Hj,Qj]=zc(MN),Gj=T.forwardRef((e,t)=>{const{__scopeSelect:n,...i}=e,r=Pm();return E.jsx(Hj,{scope:n,id:r,children:E.jsx(hn.div,{role:"group","aria-labelledby":r,...i,ref:t})})});Gj.displayName=MN;var RN="SelectLabel",Zj=T.forwardRef((e,t)=>{const{__scopeSelect:n,...i}=e,r=Qj(RN,n);return E.jsx(hn.div,{id:r.id,...i,ref:t})});Zj.displayName=RN;var ag="SelectItem",[Wj,jN]=zc(ag),PN=T.forwardRef((e,t)=>{const{__scopeSelect:n,value:i,disabled:r=!1,textValue:s,...c}=e,h=Ds(ag,n),m=_s(ag,n),v=h.value===i,[b,w]=T.useState(s??""),[S,N]=T.useState(!1),A=In(t,I=>m.itemRefCallback?.(I,i,r)),O=Pm(),_=T.useRef("touch"),M=()=>{r||(h.onValueChange(i),h.onOpenChange(!1))};if(i==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return E.jsx(Wj,{scope:n,value:i,disabled:r,textId:O,isSelected:v,onItemTextChange:T.useCallback(I=>{w(j=>j||(I?.textContent??"").trim())},[]),children:E.jsx(ng.ItemSlot,{scope:n,value:i,disabled:r,textValue:b,children:E.jsx(hn.div,{role:"option","aria-labelledby":O,"data-highlighted":S?"":void 0,"aria-selected":v&&S,"data-state":v?"checked":"unchecked","aria-disabled":r||void 0,"data-disabled":r?"":void 0,tabIndex:r?void 0:-1,...c,ref:A,onFocus:an(c.onFocus,()=>N(!0)),onBlur:an(c.onBlur,()=>N(!1)),onClick:an(c.onClick,()=>{_.current!=="mouse"&&M()}),onPointerUp:an(c.onPointerUp,()=>{_.current==="mouse"&&M()}),onPointerDown:an(c.onPointerDown,I=>{_.current=I.pointerType}),onPointerMove:an(c.onPointerMove,I=>{_.current=I.pointerType,r?m.onItemLeave?.():_.current==="mouse"&&I.currentTarget.focus({preventScroll:!0})}),onPointerLeave:an(c.onPointerLeave,I=>{I.currentTarget===document.activeElement&&m.onItemLeave?.()}),onKeyDown:an(c.onKeyDown,I=>{m.searchRef?.current!==""&&I.key===" "||(Cj.includes(I.key)&&M(),I.key===" "&&I.preventDefault())})})})})});PN.displayName=ag;var Qf="SelectItemText",UN=T.forwardRef((e,t)=>{const{__scopeSelect:n,className:i,style:r,...s}=e,c=Ds(Qf,n),h=_s(Qf,n),m=jN(Qf,n),v=Rj(Qf,n),[b,w]=T.useState(null),S=In(t,M=>w(M),m.onItemTextChange,M=>h.itemTextRefCallback?.(M,m.value,m.disabled)),N=b?.textContent,A=T.useMemo(()=>E.jsx("option",{value:m.value,disabled:m.disabled,children:N},m.value),[m.disabled,m.value,N]),{onNativeOptionAdd:O,onNativeOptionRemove:_}=v;return Lr(()=>(O(A),()=>_(A)),[O,_,A]),E.jsxs(E.Fragment,{children:[E.jsx(hn.span,{id:m.textId,...s,ref:S}),m.isSelected&&c.valueNode&&!c.valueNodeHasChildren?Lf.createPortal(s.children,c.valueNode):null]})});UN.displayName=Qf;var LN="SelectItemIndicator",BN=T.forwardRef((e,t)=>{const{__scopeSelect:n,...i}=e;return jN(LN,n).isSelected?E.jsx(hn.span,{"aria-hidden":!0,...i,ref:t}):null});BN.displayName=LN;var _0="SelectScrollUpButton",FN=T.forwardRef((e,t)=>{const n=_s(_0,e.__scopeSelect),i=E0(_0,e.__scopeSelect),[r,s]=T.useState(!1),c=In(t,i.onScrollButtonChange);return Lr(()=>{if(n.viewport&&n.isPositioned){let h=function(){const v=m.scrollTop>0;s(v)};const m=n.viewport;return h(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[n.viewport,n.isPositioned]),r?E.jsx(QN,{...e,ref:c,onAutoScroll:()=>{const{viewport:h,selectedItem:m}=n;h&&m&&(h.scrollTop=h.scrollTop-m.offsetHeight)}}):null});FN.displayName=_0;var T0="SelectScrollDownButton",HN=T.forwardRef((e,t)=>{const n=_s(T0,e.__scopeSelect),i=E0(T0,e.__scopeSelect),[r,s]=T.useState(!1),c=In(t,i.onScrollButtonChange);return Lr(()=>{if(n.viewport&&n.isPositioned){let h=function(){const v=m.scrollHeight-m.clientHeight,b=Math.ceil(m.scrollTop)<v;s(b)};const m=n.viewport;return h(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[n.viewport,n.isPositioned]),r?E.jsx(QN,{...e,ref:c,onAutoScroll:()=>{const{viewport:h,selectedItem:m}=n;h&&m&&(h.scrollTop=h.scrollTop+m.offsetHeight)}}):null});HN.displayName=T0;var QN=T.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:i,...r}=e,s=_s("SelectScrollButton",n),c=T.useRef(null),h=rg(n),m=T.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return T.useEffect(()=>()=>m(),[m]),Lr(()=>{h().find(b=>b.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[h]),E.jsx(hn.div,{"aria-hidden":!0,...r,ref:t,style:{flexShrink:0,...r.style},onPointerDown:an(r.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(i,50))}),onPointerMove:an(r.onPointerMove,()=>{s.onItemLeave?.(),c.current===null&&(c.current=window.setInterval(i,50))}),onPointerLeave:an(r.onPointerLeave,()=>{m()})})}),Yj="SelectSeparator",qj=T.forwardRef((e,t)=>{const{__scopeSelect:n,...i}=e;return E.jsx(hn.div,{"aria-hidden":!0,...i,ref:t})});qj.displayName=Yj;var C0="SelectArrow",Vj=T.forwardRef((e,t)=>{const{__scopeSelect:n,...i}=e,r=ig(n),s=Ds(C0,n),c=_s(C0,n);return s.open&&c.position==="popper"?E.jsx(U6,{...r,...i,ref:t}):null});Vj.displayName=C0;var $j="SelectBubbleInput",GN=T.forwardRef(({__scopeSelect:e,value:t,...n},i)=>{const r=T.useRef(null),s=In(i,r),c=sN(t);return T.useEffect(()=>{const h=r.current;if(!h)return;const m=window.HTMLSelectElement.prototype,b=Object.getOwnPropertyDescriptor(m,"value").set;if(c!==t&&b){const w=new Event("change",{bubbles:!0});b.call(h,t),h.dispatchEvent(w)}},[c,t]),E.jsx(hn.select,{...n,style:{...lN,...n.style},ref:s,defaultValue:t})});GN.displayName=$j;function ZN(e){return e===""||e===void 0}function WN(e){const t=Os(e),n=T.useRef(""),i=T.useRef(0),r=T.useCallback(c=>{const h=n.current+c;t(h),(function m(v){n.current=v,window.clearTimeout(i.current),v!==""&&(i.current=window.setTimeout(()=>m(""),1e3))})(h)},[t]),s=T.useCallback(()=>{n.current="",window.clearTimeout(i.current)},[]);return T.useEffect(()=>()=>window.clearTimeout(i.current),[]),[n,r,s]}function YN(e,t,n){const r=t.length>1&&Array.from(t).every(v=>v===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let c=Kj(e,Math.max(s,0));r.length===1&&(c=c.filter(v=>v!==n));const m=c.find(v=>v.textValue.toLowerCase().startsWith(r.toLowerCase()));return m!==n?m:void 0}function Kj(e,t){return e.map((n,i)=>e[(t+i)%e.length])}var Xj=AN,Jj=NN,eP=EN,tP=DN,nP=_N,rP=IN,iP=PN,aP=UN,oP=BN,sP=FN,lP=HN;function uP({...e}){return E.jsx(Xj,{"data-slot":"select",...e})}function cP({...e}){return E.jsx(eP,{"data-slot":"select-value",...e})}function dP({className:e,size:t="default",children:n,...i}){return E.jsxs(Jj,{"data-slot":"select-trigger","data-size":t,className:bt("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-brand border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-12 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...i,children:[n,E.jsx(tP,{asChild:!0,children:E.jsx(KA,{className:"size-4 opacity-50"})})]})}function fP({className:e,children:t,position:n="popper",...i}){return E.jsxs(nP,{"data-slot":"select-content",className:bt("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-[99999] max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...i,children:[E.jsx(hP,{}),E.jsx(rP,{className:bt("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),E.jsx(pP,{})]})}function qN({className:e,children:t,...n}){return E.jsxs(iP,{"data-slot":"select-item",className:bt("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...n,children:[E.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:E.jsx(oP,{children:E.jsx(gR,{className:"size-4"})})}),E.jsx(aP,{children:t})]})}function hP({className:e,...t}){return E.jsx(sP,{"data-slot":"select-scroll-up-button",className:bt("flex cursor-default items-center justify-center py-1",e),...t,children:E.jsx(vR,{className:"size-4"})})}function pP({className:e,...t}){return E.jsx(lP,{"data-slot":"select-scroll-down-button",className:bt("flex cursor-default items-center justify-center py-1",e),...t,children:E.jsx(KA,{className:"size-4"})})}const mP=e=>typeof e=="object"&&e!==null&&("disabled"in e?typeof e.disabled=="boolean":!0),gP=({size:e="default",onChange:t,options:n,getValue:i,getLabel:r,placeholder:s,onBlur:c,noOptionsText:h,className:m,...v})=>E.jsxs(uP,{...v,onValueChange:b=>{t?.(b)},children:[E.jsx(dP,{size:e,className:m,children:E.jsx(cP,{onBlur:c,placeholder:s})}),E.jsx(fP,{position:"popper",children:n.length===0?E.jsx(qN,{value:"No options",disabled:!0,children:h||"No options available"}):n.map(b=>E.jsx(qN,{value:i(b),disabled:mP(b)?b.disabled:void 0,children:r(b)},i(b)))})]}),vP=[{label:"English",value:"en",flag:"🇬🇧"},{label:"Italiano",value:"it",flag:"🇮🇹"}],yP=()=>{const{i18n:e}=_n(),[t,n]=T.useState(e.language),i=r=>{e.changeLanguage(r),n(r)};return T.useEffect(()=>{e.language!==t&&n(e.language)},[e.language,t]),E.jsx(gP,{size:"sm",options:vP,getLabel:({label:r,flag:s})=>`${s} ${r}`,getValue:({value:r})=>r,value:t,className:"max-w-17",onChange:i})},bP=({showBackButton:e=!1,onBack:t})=>{const{t:n}=_n(),i=T.useContext(qA);return E.jsxs("div",{className:bt("flex bg-background py-1 px-4 justify-end sticky z-20 top-0 gap-4 border-b",e&&"justify-between"),children:[e&&E.jsx(pr,{"aria-label":n("go_back"),variant:"ghost",size:"icon",onClick:t,children:E.jsx(pR,{})}),E.jsxs("div",{className:"flex gap-4",children:[E.jsx(yP,{}),E.jsx(pr,{"aria-label":n("close_drawer"),variant:"ghost",size:"icon",onClick:i?.close,children:E.jsx(JA,{})})]})]})},VN=2147483647,wP=({direction:e,open:t,setOpen:n,children:i,disableFocusTrap:r=!1,showHeaderBackButton:s=!1,onBack:c})=>{const h=T.useRef(null);return T.useEffect(()=>{t?(document.body.style.overflow="hidden",h.current?.focus()):document.body.style.overflow="auto"},[t]),E.jsx(qA.Provider,{value:{close:()=>n(!1)},children:E.jsxs("div",{children:[E.jsx(xP,{open:t}),E.jsx(YA.FocusTrap,{active:!r&&t,children:E.jsxs("div",{ref:h,className:bt("bg-background fixed flex flex-col top-0 bottom-0 w-full sm:max-w-[400px] transition-all duration-300 sm:shadow-xl overflow-hidden",e==="left"?"left-0":"right-0",t?e==="left"?"left-0":"right-0":e==="left"?"-left-full":"-right-full"),style:{zIndex:VN},children:[E.jsx(bP,{showBackButton:s,onBack:c}),E.jsx("div",{className:"flex flex-1 flex-col overflow-scroll",children:i})]})})]})})},xP=({open:e})=>E.jsx("div",{className:bt("bg-foreground/50 fixed flex top-0 left-0 flex-col w-full h-full",e?"block":"hidden"),style:{zIndex:VN-1}});class Bl extends Error{response;request;constructor(t,n){const i=`${Bl.extractMessage(t)}: ${JSON.stringify({response:t,request:n})}`;super(i),Object.setPrototypeOf(this,Bl.prototype),this.response=t,this.request=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Bl)}static extractMessage(t){return t.errors?.[0]?.message??`GraphQL Error (Code: ${String(t.status)})`}}const $N=e=>e.toUpperCase(),z0=e=>typeof e=="function"?e():e,KN=(e,t)=>e.map((n,i)=>[n,t[i]]),Ic=e=>{let t={};return e instanceof Headers?t=SP(e):Array.isArray(e)?e.forEach(([n,i])=>{n&&i!==void 0&&(t[n]=i)}):e&&(t=e),t},SP=e=>{const t={};return e.forEach((n,i)=>{t[i]=n}),t},AP=e=>{try{const t=e();return OP(t)?t.catch(n=>XN(n)):t}catch(t){return XN(t)}},XN=e=>e instanceof Error?e:new Error(String(e)),OP=e=>typeof e=="object"&&e!==null&&"then"in e&&typeof e.then=="function"&&"catch"in e&&typeof e.catch=="function"&&"finally"in e&&typeof e.finally=="function",I0=e=>{throw new Error(`Unhandled case: ${String(e)}`)},og=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),NP=(e,t)=>e.documents?e:{documents:e,requestHeaders:t,signal:void 0},kP=(e,t,n)=>e.query?e:{query:e,variables:t,requestHeaders:n,signal:void 0};function sg(e,t){if(!!!e)throw new Error(t)}function EP(e){return typeof e=="object"&&e!==null}function DP(e,t){if(!!!e)throw new Error("Unexpected invariant triggered.")}const _P=/\r\n|[\n\r]/g;function M0(e,t){let n=0,i=1;for(const r of e.body.matchAll(_P)){if(typeof r.index=="number"||DP(!1),r.index>=t)break;n=r.index+r[0].length,i+=1}return{line:i,column:t+1-n}}function TP(e){return JN(e.source,M0(e.source,e.start))}function JN(e,t){const n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,s=e.locationOffset.line-1,c=t.line+s,h=t.line===1?n:0,m=t.column+h,v=`${e.name}:${c}:${m}
|
|
178
178
|
`,b=i.split(/\r\n|[\n\r]/g),w=b[r];if(w.length>120){const S=Math.floor(m/80),N=m%80,A=[];for(let O=0;O<w.length;O+=80)A.push(w.slice(O,O+80));return v+ek([[`${c} |`,A[0]],...A.slice(1,S+1).map(O=>["|",O]),["|","^".padStart(N)],["|",A[S+1]]])}return v+ek([[`${c-1} |`,b[r-1]],[`${c} |`,w],["|","^".padStart(m)],[`${c+1} |`,b[r+1]]])}function ek(e){const t=e.filter(([i,r])=>r!==void 0),n=Math.max(...t.map(([i])=>i.length));return t.map(([i,r])=>i.padStart(n)+(r?" "+r:"")).join(`
|
|
179
179
|
`)}function CP(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class R0 extends Error{constructor(t,...n){var i,r,s;const{nodes:c,source:h,positions:m,path:v,originalError:b,extensions:w}=CP(n);super(t),this.name="GraphQLError",this.path=v??void 0,this.originalError=b??void 0,this.nodes=tk(Array.isArray(c)?c:c?[c]:void 0);const S=tk((i=this.nodes)===null||i===void 0?void 0:i.map(A=>A.loc).filter(A=>A!=null));this.source=h??(S==null||(r=S[0])===null||r===void 0?void 0:r.source),this.positions=m??S?.map(A=>A.start),this.locations=m&&h?m.map(A=>M0(h,A)):S?.map(A=>M0(A.source,A.start));const N=EP(b?.extensions)?b?.extensions:void 0;this.extensions=(s=w??N)!==null&&s!==void 0?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),b!=null&&b.stack?Object.defineProperty(this,"stack",{value:b.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,R0):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=`
|
|
180
180
|
|
|
@@ -224,8 +224,8 @@ spurious results.`)}}return!1};class dk{constructor(t,n="GraphQL request",i={lin
|
|
|
224
224
|
`))}function hk(e){var t;return(t=e?.some(n=>n.includes(`
|
|
225
225
|
`)))!==null&&t!==void 0?t:!1}const pk="Accept",B0="Content-Type",F0="application/json",mk="application/graphql-response+json",gk=e=>e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim(),mU=e=>{const t=e.toLowerCase();return t.includes(mk)||t.includes(F0)},vk=e=>{try{if(Array.isArray(e))return{_tag:"Batch",executionResults:e.map(yk)};if(og(e))return{_tag:"Single",executionResult:yk(e)};throw new Error(`Invalid execution result: result is not object or array.
|
|
226
226
|
Got:
|
|
227
|
-
${String(e)}`)}catch(t){return t}},yk=e=>{if(typeof e!="object"||e===null)throw new Error("Invalid execution result: result is not object");let t,n,i;if("errors"in e){if(!og(e.errors)&&!Array.isArray(e.errors))throw new Error("Invalid execution result: errors is not plain object OR array");t=e.errors}if("data"in e){if(!og(e.data)&&e.data!==null)throw new Error("Invalid execution result: data is not plain object");n=e.data}if("extensions"in e){if(!og(e.extensions))throw new Error("Invalid execution result: extensions is not plain object");i=e.extensions}return{data:n,errors:t,extensions:i}},gU=e=>e._tag==="Batch"?e.executionResults.some(bk):bk(e.executionResult),bk=e=>Array.isArray(e.errors)?e.errors.length>0:!!e.errors,wk=e=>typeof e=="object"&&e!==null&&"kind"in e&&e.kind===nt.OPERATION_DEFINITION,vU=e=>{let t;const n=e.definitions.filter(wk);return n.length===1&&(t=n[0].name?.value),t},yU=e=>{let t=!1;const n=e.definitions.filter(wk);return n.length===1&&(t=n[0].operation==="mutation"),t},H0=(e,t)=>{const n=typeof e=="string"?e:fU(e);let i=!1,r;if(t)return{expression:n,isMutation:i,operationName:r};const s=AP(()=>typeof e=="string"?rU(e):e);return s instanceof Error?{expression:n,isMutation:i,operationName:r}:(r=vU(s),i=yU(s),{expression:n,operationName:r,isMutation:i})},Q0=JSON,G0=async e=>{const t={...e,method:e.request._tag==="Single"?e.request.document.isMutation?"POST":$N(e.method??"post"):e.request.hasMutations?"POST":$N(e.method??"post"),fetchOptions:{...e.fetchOptions,errorPolicy:e.fetchOptions.errorPolicy??"none"}},i=await wU(t.method)(t);if(!i.ok)return new Bl({status:i.status,headers:i.headers},{query:e.request._tag==="Single"?e.request.document.expression:e.request.query,variables:e.request.variables});const r=await bU(i,e.fetchOptions.jsonSerializer??Q0);if(r instanceof Error)throw r;const s={status:i.status,headers:i.headers};if(gU(r)&&t.fetchOptions.errorPolicy==="none"){const c=r._tag==="Batch"?{...r.executionResults,...s}:{...r.executionResult,...s};return new Bl(c,{query:e.request._tag==="Single"?e.request.document.expression:e.request.query,variables:e.request.variables})}switch(r._tag){case"Single":return{...s,...xk(t)(r.executionResult)};case"Batch":return{...s,data:r.executionResults.map(xk(t))};default:I0(r)}},xk=e=>t=>({extensions:t.extensions,data:t.data,errors:e.fetchOptions.errorPolicy==="all"?t.errors:void 0}),bU=async(e,t)=>{const n=e.headers.get(B0),i=await e.text();return n&&mU(n)?vk(t.parse(i)):vk(i)},wU=e=>async t=>{const n=new Headers(t.headers);let i=null,r;n.has(pk)||n.set(pk,[mk,F0].join(", ")),e==="POST"?(r=(t.fetchOptions.jsonSerializer??Q0).stringify(xU(t)),typeof r=="string"&&!n.has(B0)&&n.set(B0,F0)):i=SU(t);const s={method:e,headers:n,body:r,...t.fetchOptions};let c=new URL(t.url),h=s;if(t.middleware){const v=await Promise.resolve(t.middleware({...s,url:t.url,operationName:t.request._tag==="Single"?t.request.document.operationName:void 0,variables:t.request.variables})),{url:b,...w}=v;c=new URL(b),h=w}return i&&i.forEach((v,b)=>{c.searchParams.append(b,v)}),await(t.fetch??fetch)(c,h)},xU=e=>{switch(e.request._tag){case"Single":return{query:e.request.document.expression,variables:e.request.variables,operationName:e.request.document.operationName};case"Batch":return KN(e.request.query,e.request.variables??[]).map(([t,n])=>({query:t,variables:n}));default:throw I0(e.request)}},SU=e=>{const t=e.fetchOptions.jsonSerializer??Q0,n=new URLSearchParams;switch(e.request._tag){case"Single":return n.append("query",gk(e.request.document.expression)),e.request.variables&&n.append("variables",t.stringify(e.request.variables)),e.request.document.operationName&&n.append("operationName",e.request.document.operationName),n;case"Batch":{const i=e.request.variables?.map(c=>t.stringify(c))??[],r=e.request.query.map(gk),s=KN(r,i).map(([c,h])=>({query:c,variables:h}));return n.append("query",t.stringify(s)),n}default:throw I0(e.request)}};class AU{url;requestConfig;constructor(t,n={}){this.url=t,this.requestConfig=n}rawRequest=async(...t)=>{const[n,i,r]=t,s=kP(n,i,r),{headers:c,fetch:h=globalThis.fetch,method:m="POST",requestMiddleware:v,responseMiddleware:b,excludeOperationName:w,...S}=this.requestConfig,{url:N}=this;s.signal!==void 0&&(S.signal=s.signal);const A=H0(s.query,w),O=await G0({url:N,request:{_tag:"Single",document:A,variables:s.variables},headers:{...Ic(z0(c)),...Ic(s.requestHeaders)},fetch:h,method:m,fetchOptions:S,middleware:v});if(b&&await b(O,{operationName:A.operationName,variables:i,url:this.url}),O instanceof Error)throw O;return O};async request(t,...n){const[i,r]=n,s=OU(t,i,r),{headers:c,fetch:h=globalThis.fetch,method:m="POST",requestMiddleware:v,responseMiddleware:b,excludeOperationName:w,...S}=this.requestConfig,{url:N}=this;s.signal!==void 0&&(S.signal=s.signal);const A=H0(s.document,w),O=await G0({url:N,request:{_tag:"Single",document:A,variables:s.variables},headers:{...Ic(z0(c)),...Ic(s.requestHeaders)},fetch:h,method:m,fetchOptions:S,middleware:v});if(b&&await b(O,{operationName:A.operationName,variables:s.variables,url:this.url}),O instanceof Error)throw O;return O.data}async batchRequests(t,n){const i=NP(t,n),{headers:r,excludeOperationName:s,...c}=this.requestConfig;i.signal!==void 0&&(c.signal=i.signal);const h=i.documents.map(({document:S})=>H0(S,s)),m=h.map(({expression:S})=>S),v=h.some(({isMutation:S})=>S),b=i.documents.map(({variables:S})=>S),w=await G0({url:this.url,request:{_tag:"Batch",operationName:void 0,query:m,hasMutations:v,variables:b},headers:{...Ic(z0(r)),...Ic(i.requestHeaders)},fetch:this.requestConfig.fetch??globalThis.fetch,method:this.requestConfig.method||"POST",fetchOptions:c,middleware:this.requestConfig.requestMiddleware});if(this.requestConfig.responseMiddleware&&await this.requestConfig.responseMiddleware(w,{operationName:void 0,variables:b,url:this.url}),w instanceof Error)throw w;return w.data}setHeaders(t){return this.requestConfig.headers=t,this}setHeader(t,n){const{headers:i}=this.requestConfig;return i?i[t]=n:this.requestConfig.headers={[t]:n},this}setEndpoint(t){return this.url=t,this}}const OU=(e,t,n)=>e.document?e:{document:e,variables:t,requestHeaders:n,signal:void 0},Hl=(e,...t)=>e.reduce((n,i,r)=>`${n}${i}${r in t?String(t[r]):""}`,"");var jc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},NU={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},kU=class{#e=NU;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Ql=new kU;function EU(e){setTimeout(e,0)}var Ts=typeof window>"u"||"Deno"in globalThis;function Br(){}function DU(e,t){return typeof e=="function"?e(t):e}function Z0(e){return typeof e=="number"&&e>=0&&e!==1/0}function Sk(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Cs(e,t){return typeof e=="function"?e(t):e}function qi(e,t){return typeof e=="function"?e(t):e}function Ak(e,t){const{type:n="all",exact:i,fetchStatus:r,predicate:s,queryKey:c,stale:h}=e;if(c){if(i){if(t.queryHash!==W0(c,t.options))return!1}else if(!Wf(t.queryKey,c))return!1}if(n!=="all"){const m=t.isActive();if(n==="active"&&!m||n==="inactive"&&m)return!1}return!(typeof h=="boolean"&&t.isStale()!==h||r&&r!==t.state.fetchStatus||s&&!s(t))}function Ok(e,t){const{exact:n,status:i,predicate:r,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Gl(t.options.mutationKey)!==Gl(s))return!1}else if(!Wf(t.options.mutationKey,s))return!1}return!(i&&t.state.status!==i||r&&!r(t))}function W0(e,t){return(t?.queryKeyHashFn||Gl)(e)}function Gl(e){return JSON.stringify(e,(t,n)=>Y0(n)?Object.keys(n).sort().reduce((i,r)=>(i[r]=n[r],i),{}):n)}function Wf(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Wf(e[n],t[n])):!1}var _U=Object.prototype.hasOwnProperty;function Nk(e,t){if(e===t)return e;const n=kk(e)&&kk(t);if(!n&&!(Y0(e)&&Y0(t)))return t;const r=(n?e:Object.keys(e)).length,s=n?t:Object.keys(t),c=s.length,h=n?new Array(c):{};let m=0;for(let v=0;v<c;v++){const b=n?v:s[v],w=e[b],S=t[b];if(w===S){h[b]=w,(n?v<r:_U.call(e,b))&&m++;continue}if(w===null||S===null||typeof w!="object"||typeof S!="object"){h[b]=S;continue}const N=Nk(w,S);h[b]=N,N===w&&m++}return r===c&&m===r?e:h}function fg(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function kk(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Y0(e){if(!Ek(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ek(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ek(e){return Object.prototype.toString.call(e)==="[object Object]"}function TU(e){return new Promise(t=>{Ql.setTimeout(t,e)})}function q0(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Nk(e,t):t}function CU(e,t,n=0){const i=[...e,t];return n&&i.length>n?i.slice(1):i}function zU(e,t,n=0){const i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var V0=Symbol();function Dk(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===V0?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function _k(e,t){return typeof e=="function"?e(...t):!!e}var IU=class extends jc{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!Ts&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},$0=new IU;function K0(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});n.status="pending",n.catch(()=>{});function i(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{i({status:"fulfilled",value:r}),e(r)},n.reject=r=>{i({status:"rejected",reason:r}),t(r)},n}var MU=EU;function RU(){let e=[],t=0,n=h=>{h()},i=h=>{h()},r=MU;const s=h=>{t?e.push(h):r(()=>{n(h)})},c=()=>{const h=e;e=[],h.length&&r(()=>{i(()=>{h.forEach(m=>{n(m)})})})};return{batch:h=>{let m;t++;try{m=h()}finally{t--,t||c()}return m},batchCalls:h=>(...m)=>{s(()=>{h(...m)})},schedule:s,setNotifyFunction:h=>{n=h},setBatchNotifyFunction:h=>{i=h},setScheduler:h=>{r=h}}}var Vn=RU(),jU=class extends jc{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!Ts&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},hg=new jU;function PU(e){return Math.min(1e3*2**e,3e4)}function Tk(e){return(e??"online")==="online"?hg.isOnline():!0}var X0=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Ck(e){let t=!1,n=0,i;const r=K0(),s=()=>r.status!=="pending",c=O=>{if(!s()){const _=new X0(O);S(_),e.onCancel?.(_)}},h=()=>{t=!0},m=()=>{t=!1},v=()=>$0.isFocused()&&(e.networkMode==="always"||hg.isOnline())&&e.canRun(),b=()=>Tk(e.networkMode)&&e.canRun(),w=O=>{s()||(i?.(),r.resolve(O))},S=O=>{s()||(i?.(),r.reject(O))},N=()=>new Promise(O=>{i=_=>{(s()||v())&&O(_)},e.onPause?.()}).then(()=>{i=void 0,s()||e.onContinue?.()}),A=()=>{if(s())return;let O;const _=n===0?e.initialPromise:void 0;try{O=_??e.fn()}catch(M){O=Promise.reject(M)}Promise.resolve(O).then(w).catch(M=>{if(s())return;const I=e.retry??(Ts?0:3),j=e.retryDelay??PU,H=typeof j=="function"?j(n,M):j,L=I===!0||typeof I=="number"&&n<I||typeof I=="function"&&I(n,M);if(t||!L){S(M);return}n++,e.onFail?.(n,M),TU(H).then(()=>v()?void 0:N()).then(()=>{t?S(M):A()})})};return{promise:r,status:()=>r.status,cancel:c,continue:()=>(i?.(),r),cancelRetry:h,continueRetry:m,canStart:b,start:()=>(b()?A():N().then(A),r)}}var zk=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Z0(this.gcTime)&&(this.#e=Ql.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ts?1/0:300*1e3))}clearGcTimeout(){this.#e&&(Ql.clearTimeout(this.#e),this.#e=void 0)}},UU=class extends zk{#e;#t;#n;#i;#r;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#n=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=Mk(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=Mk(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=q0(this.state.data,e,this.options);return this.#a({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#a({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(Br).catch(Br):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>qi(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===V0||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Cs(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Sk(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#s?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const h=this.observers.find(m=>m.options.queryFn);h&&this.setOptions(h.options)}const n=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},r=()=>{const h=Dk(this.options,t),v=(()=>{const b={client:this.#i,queryKey:this.queryKey,meta:this.meta};return i(b),b})();return this.#s=!1,this.options.persister?this.options.persister(h,v,this):h(v)},c=(()=>{const h={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:r};return i(h),h})();this.options.behavior?.onFetch(c,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#a({type:"fetch",meta:c.fetchOptions?.meta}),this.#r=Ck({initialPromise:t?.initialPromise,fn:c.fetchFn,onCancel:h=>{h instanceof X0&&h.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(h,m)=>{this.#a({type:"failed",failureCount:h,error:m})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{const h=await this.#r.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#n.config.onSuccess?.(h,this),this.#n.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof X0){if(h.silent)return this.#r.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#a({type:"error",error:h}),this.#n.config.onError?.(h,this),this.#n.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#a(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...Ik(n.data,this.options),fetchMeta:e.meta??null};case"success":const i={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?i:void 0,i;case"error":const r=e.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Vn.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function Ik(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Tk(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Mk(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,i=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var LU=class extends jc{constructor(e,t){super(),this.options=t,this.#e=e,this.#a=null,this.#s=K0(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#i=void 0;#r;#o;#s;#a;#m;#f;#h;#u;#c;#l;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Rk(this.#t,this.options)?this.#d():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return J0(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return J0(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#w(),this.#x(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof qi(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#t.setOptions(this.options),t._defaulted&&!fg(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const i=this.hasListeners();i&&jk(this.#t,n,this.options,t)&&this.#d(),this.updateResult(),i&&(this.#t!==n||qi(this.options.enabled,this.#t)!==qi(t.enabled,this.#t)||Cs(this.options.staleTime,this.#t)!==Cs(t.staleTime,this.#t))&&this.#g();const r=this.#v();i&&(this.#t!==n||qi(this.options.enabled,this.#t)!==qi(t.enabled,this.#t)||r!==this.#l)&&this.#y(r)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return FU(this,n)&&(this.#i=n,this.#o=this.options,this.#r=this.#t.state),n}getCurrentResult(){return this.#i}trackResult(e,t){return new Proxy(e,{get:(n,i)=>(this.trackProp(i),t?.(i),i==="promise"&&!this.options.experimental_prefetchInRender&&this.#s.status==="pending"&&this.#s.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(n,i))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#d(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Br)),t}#g(){this.#w();const e=Cs(this.options.staleTime,this.#t);if(Ts||this.#i.isStale||!Z0(e))return;const n=Sk(this.#i.dataUpdatedAt,e)+1;this.#u=Ql.setTimeout(()=>{this.#i.isStale||this.updateResult()},n)}#v(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(e){this.#x(),this.#l=e,!(Ts||qi(this.options.enabled,this.#t)===!1||!Z0(this.#l)||this.#l===0)&&(this.#c=Ql.setInterval(()=>{(this.options.refetchIntervalInBackground||$0.isFocused())&&this.#d()},this.#l))}#b(){this.#g(),this.#y(this.#v())}#w(){this.#u&&(Ql.clearTimeout(this.#u),this.#u=void 0)}#x(){this.#c&&(Ql.clearInterval(this.#c),this.#c=void 0)}createResult(e,t){const n=this.#t,i=this.options,r=this.#i,s=this.#r,c=this.#o,m=e!==n?e.state:this.#n,{state:v}=e;let b={...v},w=!1,S;if(t._optimisticResults){const Q=this.hasListeners(),ne=!Q&&Rk(e,t),Y=Q&&jk(e,n,t,i);(ne||Y)&&(b={...b,...Ik(v.data,e.options)}),t._optimisticResults==="isRestoring"&&(b.fetchStatus="idle")}let{error:N,errorUpdatedAt:A,status:O}=b;S=b.data;let _=!1;if(t.placeholderData!==void 0&&S===void 0&&O==="pending"){let Q;r?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(Q=r.data,_=!0):Q=typeof t.placeholderData=="function"?t.placeholderData(this.#h?.state.data,this.#h):t.placeholderData,Q!==void 0&&(O="success",S=q0(r?.data,Q,t),w=!0)}if(t.select&&S!==void 0&&!_)if(r&&S===s?.data&&t.select===this.#m)S=this.#f;else try{this.#m=t.select,S=t.select(S),S=q0(r?.data,S,t),this.#f=S,this.#a=null}catch(Q){this.#a=Q}this.#a&&(N=this.#a,S=this.#f,A=Date.now(),O="error");const M=b.fetchStatus==="fetching",I=O==="pending",j=O==="error",H=I&&M,L=S!==void 0,U={status:O,fetchStatus:b.fetchStatus,isPending:I,isSuccess:O==="success",isError:j,isInitialLoading:H,isLoading:H,data:S,dataUpdatedAt:b.dataUpdatedAt,error:N,errorUpdatedAt:A,failureCount:b.fetchFailureCount,failureReason:b.fetchFailureReason,errorUpdateCount:b.errorUpdateCount,isFetched:b.dataUpdateCount>0||b.errorUpdateCount>0,isFetchedAfterMount:b.dataUpdateCount>m.dataUpdateCount||b.errorUpdateCount>m.errorUpdateCount,isFetching:M,isRefetching:M&&!I,isLoadingError:j&&!L,isPaused:b.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:j&&L,isStale:ew(e,t),refetch:this.refetch,promise:this.#s,isEnabled:qi(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const Q=J=>{U.status==="error"?J.reject(U.error):U.data!==void 0&&J.resolve(U.data)},ne=()=>{const J=this.#s=U.promise=K0();Q(J)},Y=this.#s;switch(Y.status){case"pending":e.queryHash===n.queryHash&&Q(Y);break;case"fulfilled":(U.status==="error"||U.data!==Y.value)&&ne();break;case"rejected":(U.status!=="error"||U.error!==Y.reason)&&ne();break}}return U}updateResult(){const e=this.#i,t=this.createResult(this.#t,this.options);if(this.#r=this.#t.state,this.#o=this.options,this.#r.data!==void 0&&(this.#h=this.#t),fg(t,e))return;this.#i=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:i}=this.options,r=typeof i=="function"?i():i;if(r==="all"||!r&&!this.#p.size)return!0;const s=new Set(r??this.#p);return this.options.throwOnError&&s.add("error"),Object.keys(this.#i).some(c=>{const h=c;return this.#i[h]!==e[h]&&s.has(h)})};this.#A({listeners:n()})}#S(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#A(e){Vn.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#i)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function BU(e,t){return qi(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Rk(e,t){return BU(e,t)||e.state.data!==void 0&&J0(e,t,t.refetchOnMount)}function J0(e,t,n){if(qi(t.enabled,e)!==!1&&Cs(t.staleTime,e)!=="static"){const i=typeof n=="function"?n(e):n;return i==="always"||i!==!1&&ew(e,t)}return!1}function jk(e,t,n,i){return(e!==t||qi(i.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&ew(e,n)}function ew(e,t){return qi(t.enabled,e)!==!1&&e.isStaleByTime(Cs(t.staleTime,e))}function FU(e,t){return!fg(e.getCurrentResult(),t)}function Pk(e){return{onFetch:(t,n)=>{const i=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],c=t.state.data?.pageParams||[];let h={pages:[],pageParams:[]},m=0;const v=async()=>{let b=!1;const w=A=>{Object.defineProperty(A,"signal",{enumerable:!0,get:()=>(t.signal.aborted?b=!0:t.signal.addEventListener("abort",()=>{b=!0}),t.signal)})},S=Dk(t.options,t.fetchOptions),N=async(A,O,_)=>{if(b)return Promise.reject();if(O==null&&A.pages.length)return Promise.resolve(A);const I=(()=>{const $={client:t.client,queryKey:t.queryKey,pageParam:O,direction:_?"backward":"forward",meta:t.options.meta};return w($),$})(),j=await S(I),{maxPages:H}=t.options,L=_?zU:CU;return{pages:L(A.pages,j,H),pageParams:L(A.pageParams,O,H)}};if(r&&s.length){const A=r==="backward",O=A?HU:Uk,_={pages:s,pageParams:c},M=O(i,_);h=await N(_,M,A)}else{const A=e??s.length;do{const O=m===0?c[0]??i.initialPageParam:Uk(i,h);if(m>0&&O==null)break;h=await N(h,O),m++}while(m<A)}return h};t.options.persister?t.fetchFn=()=>t.options.persister?.(v,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=v}}}function Uk(e,{pages:t,pageParams:n}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,n[i],n):void 0}function HU(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var QU=class extends zk{#e;#t;#n;#i;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Lk(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=Ck({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(s,c)=>{this.#r({type:"failed",failureCount:s,error:c})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const i=this.state.status==="pending",r=!this.#i.canStart();try{if(i)t();else{this.#r({type:"pending",variables:e,isPaused:r}),await this.#n.config.onMutate?.(e,this,n);const c=await this.options.onMutate?.(e,n);c!==this.state.context&&this.#r({type:"pending",context:c,variables:e,isPaused:r})}const s=await this.#i.start();return await this.#n.config.onSuccess?.(s,e,this.state.context,this,n),await this.options.onSuccess?.(s,e,this.state.context,n),await this.#n.config.onSettled?.(s,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(s,null,e,this.state.context,n),this.#r({type:"success",data:s}),s}catch(s){try{throw await this.#n.config.onError?.(s,e,this.state.context,this,n),await this.options.onError?.(s,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,s,e,this.state.context,n),s}finally{this.#r({type:"error",error:s})}}finally{this.#n.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Vn.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function Lk(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Bk=class extends jc{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const i=new QU({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){this.#e.add(e);const t=pg(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=pg(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const i=n.indexOf(e);i!==-1&&n.splice(i,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=pg(e);if(typeof t=="string"){const i=this.#t.get(t)?.find(r=>r.state.status==="pending");return!i||i===e}else return!0}runNext(e){const t=pg(e);return typeof t=="string"?this.#t.get(t)?.find(i=>i!==e&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Vn.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>Ok(t,n))}findAll(e={}){return this.getAll().filter(t=>Ok(e,t))}notify(e){Vn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Vn.batch(()=>Promise.all(e.map(t=>t.continue().catch(Br))))}};function pg(e){return e.options.scope?.id}var GU=class extends jc{#e;#t=void 0;#n;#i;constructor(t,n){super(),this.#e=t,this.setOptions(n),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#e.defaultMutationOptions(t),fg(this.options,n)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Gl(n.mutationKey)!==Gl(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#o(t)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#r(),this.#o()}mutate(t,n){return this.#i=n,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(t)}#r(){const t=this.#n?.state??Lk();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#o(t){Vn.batch(()=>{if(this.#i&&this.hasListeners()){const n=this.#t.variables,i=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#i.onSuccess?.(t.data,n,i,r),this.#i.onSettled?.(t.data,null,n,i,r)):t?.type==="error"&&(this.#i.onError?.(t.error,n,i,r),this.#i.onSettled?.(void 0,t.error,n,i,r))}this.listeners.forEach(n=>{n(this.#t)})})}},Fk=class extends jc{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const i=t.queryKey,r=t.queryHash??W0(i,t);let s=this.get(r);return s||(s=new UU({client:e,queryKey:i,queryHash:r,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(s)),s}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Vn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>Ak(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>Ak(e,n)):t}notify(e){Vn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Vn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Vn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ZU=class{#e;#t;#n;#i;#r;#o;#s;#a;constructor(e={}){this.#e=e.queryCache||new Fk,this.#t=e.mutationCache||new Bk,this.#n=e.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#s=$0.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#a=hg.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#s?.(),this.#s=void 0,this.#a?.(),this.#a=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),i=n.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Cs(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const i=n.data;return[t,i]})}setQueryData(e,t,n){const i=this.defaultQueryOptions({queryKey:e}),s=this.#e.get(i.queryHash)?.state.data,c=DU(t,s);if(c!==void 0)return this.#e.build(this,i).setData(c,{...n,manual:!0})}setQueriesData(e,t,n){return Vn.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;Vn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return Vn.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},i=Vn.batch(()=>this.#e.findAll(e).map(r=>r.cancel(n)));return Promise.all(i).then(Br).catch(Br)}invalidateQueries(e,t={}){return Vn.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},i=Vn.batch(()=>this.#e.findAll(e).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let s=r.fetch(void 0,n);return n.throwOnError||(s=s.catch(Br)),r.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(i).then(Br)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(Cs(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Br).catch(Br)}fetchInfiniteQuery(e){return e.behavior=Pk(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Br).catch(Br)}ensureInfiniteQueryData(e){return e.behavior=Pk(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return hg.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#i.set(Gl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#i.values()],n={};return t.forEach(i=>{Wf(e,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(e,t){this.#r.set(Gl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(i=>{Wf(e,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=W0(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===V0&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Hk=T.createContext(void 0),tw=e=>{const t=T.useContext(Hk);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},WU=({client:e,children:t})=>(T.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(Hk.Provider,{value:e,children:t})),Qk=T.createContext(!1),YU=()=>T.useContext(Qk);Qk.Provider;function qU(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var VU=T.createContext(qU()),$U=()=>T.useContext(VU),KU=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},XU=e=>{T.useEffect(()=>{e.clearReset()},[e])},JU=({result:e,errorResetBoundary:t,throwOnError:n,query:i,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(r&&e.data===void 0||_k(n,[e.error,i])),eL=e=>{if(e.suspense){const n=r=>r==="static"?r:Math.max(r??1e3,1e3),i=e.staleTime;e.staleTime=typeof i=="function"?(...r)=>n(i(...r)):n(i),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},tL=(e,t)=>e.isLoading&&e.isFetching&&!t,nL=(e,t)=>e?.suspense&&t.isPending,Gk=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function rL(e,t,n){const i=YU(),r=$U(),s=tw(),c=s.defaultQueryOptions(e);s.getDefaultOptions().queries?._experimental_beforeQuery?.(c),c._optimisticResults=i?"isRestoring":"optimistic",eL(c),KU(c,r),XU(r);const h=!s.getQueryCache().get(c.queryHash),[m]=T.useState(()=>new t(s,c)),v=m.getOptimisticResult(c),b=!i&&e.subscribed!==!1;if(T.useSyncExternalStore(T.useCallback(w=>{const S=b?m.subscribe(Vn.batchCalls(w)):Br;return m.updateResult(),S},[m,b]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),T.useEffect(()=>{m.setOptions(c)},[c,m]),nL(c,v))throw Gk(c,m,r);if(JU({result:v,errorResetBoundary:r,throwOnError:c.throwOnError,query:s.getQueryCache().get(c.queryHash),suspense:c.suspense}))throw v.error;return s.getDefaultOptions().queries?._experimental_afterQuery?.(c,v),c.experimental_prefetchInRender&&!Ts&&tL(v,i)&&(h?Gk(c,m,r):s.getQueryCache().get(c.queryHash)?.promise)?.catch(Br).finally(()=>{m.updateResult()}),c.notifyOnChangeProps?v:m.trackResult(v)}function nw(e,t){return rL(e,LU)}function iL(e,t){const n=tw(),i=n.getQueryCache();return T.useSyncExternalStore(T.useCallback(r=>i.subscribe(Vn.batchCalls(r)),[i]),()=>n.isFetching(e),()=>n.isFetching(e))}function aL(e,t){const n=tw(),[i]=T.useState(()=>new GU(n,e));T.useEffect(()=>{i.setOptions(e)},[i,e]);const r=T.useSyncExternalStore(T.useCallback(c=>i.subscribe(Vn.batchCalls(c)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),s=T.useCallback((c,h)=>{i.mutate(c,h).catch(Br)},[i]);if(r.error&&_k(i.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:s,mutateAsync:r.mutate}}const oL={DEV:!1},{DEV:sL}=oL,lL=sL,uL="https://api.easea.app/graphql",cL="1.1.7",Zk=e=>{let t;const n=new Set,i=(v,b)=>{const w=typeof v=="function"?v(t):v;if(!Object.is(w,t)){const S=t;t=b??(typeof w!="object"||w===null)?w:Object.assign({},t,w),n.forEach(N=>N(t,S))}},r=()=>t,h={setState:i,getState:r,getInitialState:()=>m,subscribe:v=>(n.add(v),()=>n.delete(v))},m=t=e(i,r,h);return h},dL=(e=>e?Zk(e):Zk),fL=e=>e;function hL(e,t=fL){const n=xe.useSyncExternalStore(e.subscribe,xe.useCallback(()=>t(e.getState()),[e,t]),xe.useCallback(()=>t(e.getInitialState()),[e,t]));return xe.useDebugValue(n),n}const pL=e=>{const t=dL(e),n=i=>hL(t,i);return Object.assign(n,t),n},mL=(e=>pL),Wk={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},Yf=new Map,mg=e=>{const t=Yf.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,i])=>[n,i.getState()])):{}},gL=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const i=Yf.get(n.name);if(i)return{type:"tracked",store:e,...i};const r={connection:t.connect(n),stores:{}};return Yf.set(n.name,r),{type:"tracked",store:e,...r}},vL=(e,t)=>{if(t===void 0)return;const n=Yf.get(e);n&&(delete n.stores[t],Object.keys(n.stores).length===0&&Yf.delete(e))},yL=e=>{var t,n;if(!e)return;const i=e.split(`
|
|
228
|
-
`),r=i.findIndex(c=>c.includes("api.setState"));if(r<0)return;const s=((t=i[r+1])==null?void 0:t.trim())||"";return(n=/.+ (.+) .+/.exec(s))==null?void 0:n[1]},bL=(e,t={})=>(n,i,r)=>{const{enabled:s,anonymousActionType:c,store:h,...m}=t;let v;try{v=(s??(Wk?"
|
|
227
|
+
${String(e)}`)}catch(t){return t}},yk=e=>{if(typeof e!="object"||e===null)throw new Error("Invalid execution result: result is not object");let t,n,i;if("errors"in e){if(!og(e.errors)&&!Array.isArray(e.errors))throw new Error("Invalid execution result: errors is not plain object OR array");t=e.errors}if("data"in e){if(!og(e.data)&&e.data!==null)throw new Error("Invalid execution result: data is not plain object");n=e.data}if("extensions"in e){if(!og(e.extensions))throw new Error("Invalid execution result: extensions is not plain object");i=e.extensions}return{data:n,errors:t,extensions:i}},gU=e=>e._tag==="Batch"?e.executionResults.some(bk):bk(e.executionResult),bk=e=>Array.isArray(e.errors)?e.errors.length>0:!!e.errors,wk=e=>typeof e=="object"&&e!==null&&"kind"in e&&e.kind===nt.OPERATION_DEFINITION,vU=e=>{let t;const n=e.definitions.filter(wk);return n.length===1&&(t=n[0].name?.value),t},yU=e=>{let t=!1;const n=e.definitions.filter(wk);return n.length===1&&(t=n[0].operation==="mutation"),t},H0=(e,t)=>{const n=typeof e=="string"?e:fU(e);let i=!1,r;if(t)return{expression:n,isMutation:i,operationName:r};const s=AP(()=>typeof e=="string"?rU(e):e);return s instanceof Error?{expression:n,isMutation:i,operationName:r}:(r=vU(s),i=yU(s),{expression:n,operationName:r,isMutation:i})},Q0=JSON,G0=async e=>{const t={...e,method:e.request._tag==="Single"?e.request.document.isMutation?"POST":$N(e.method??"post"):e.request.hasMutations?"POST":$N(e.method??"post"),fetchOptions:{...e.fetchOptions,errorPolicy:e.fetchOptions.errorPolicy??"none"}},i=await wU(t.method)(t);if(!i.ok)return new Bl({status:i.status,headers:i.headers},{query:e.request._tag==="Single"?e.request.document.expression:e.request.query,variables:e.request.variables});const r=await bU(i,e.fetchOptions.jsonSerializer??Q0);if(r instanceof Error)throw r;const s={status:i.status,headers:i.headers};if(gU(r)&&t.fetchOptions.errorPolicy==="none"){const c=r._tag==="Batch"?{...r.executionResults,...s}:{...r.executionResult,...s};return new Bl(c,{query:e.request._tag==="Single"?e.request.document.expression:e.request.query,variables:e.request.variables})}switch(r._tag){case"Single":return{...s,...xk(t)(r.executionResult)};case"Batch":return{...s,data:r.executionResults.map(xk(t))};default:I0(r)}},xk=e=>t=>({extensions:t.extensions,data:t.data,errors:e.fetchOptions.errorPolicy==="all"?t.errors:void 0}),bU=async(e,t)=>{const n=e.headers.get(B0),i=await e.text();return n&&mU(n)?vk(t.parse(i)):vk(i)},wU=e=>async t=>{const n=new Headers(t.headers);let i=null,r;n.has(pk)||n.set(pk,[mk,F0].join(", ")),e==="POST"?(r=(t.fetchOptions.jsonSerializer??Q0).stringify(xU(t)),typeof r=="string"&&!n.has(B0)&&n.set(B0,F0)):i=SU(t);const s={method:e,headers:n,body:r,...t.fetchOptions};let c=new URL(t.url),h=s;if(t.middleware){const v=await Promise.resolve(t.middleware({...s,url:t.url,operationName:t.request._tag==="Single"?t.request.document.operationName:void 0,variables:t.request.variables})),{url:b,...w}=v;c=new URL(b),h=w}return i&&i.forEach((v,b)=>{c.searchParams.append(b,v)}),await(t.fetch??fetch)(c,h)},xU=e=>{switch(e.request._tag){case"Single":return{query:e.request.document.expression,variables:e.request.variables,operationName:e.request.document.operationName};case"Batch":return KN(e.request.query,e.request.variables??[]).map(([t,n])=>({query:t,variables:n}));default:throw I0(e.request)}},SU=e=>{const t=e.fetchOptions.jsonSerializer??Q0,n=new URLSearchParams;switch(e.request._tag){case"Single":return n.append("query",gk(e.request.document.expression)),e.request.variables&&n.append("variables",t.stringify(e.request.variables)),e.request.document.operationName&&n.append("operationName",e.request.document.operationName),n;case"Batch":{const i=e.request.variables?.map(c=>t.stringify(c))??[],r=e.request.query.map(gk),s=KN(r,i).map(([c,h])=>({query:c,variables:h}));return n.append("query",t.stringify(s)),n}default:throw I0(e.request)}};class AU{url;requestConfig;constructor(t,n={}){this.url=t,this.requestConfig=n}rawRequest=async(...t)=>{const[n,i,r]=t,s=kP(n,i,r),{headers:c,fetch:h=globalThis.fetch,method:m="POST",requestMiddleware:v,responseMiddleware:b,excludeOperationName:w,...S}=this.requestConfig,{url:N}=this;s.signal!==void 0&&(S.signal=s.signal);const A=H0(s.query,w),O=await G0({url:N,request:{_tag:"Single",document:A,variables:s.variables},headers:{...Ic(z0(c)),...Ic(s.requestHeaders)},fetch:h,method:m,fetchOptions:S,middleware:v});if(b&&await b(O,{operationName:A.operationName,variables:i,url:this.url}),O instanceof Error)throw O;return O};async request(t,...n){const[i,r]=n,s=OU(t,i,r),{headers:c,fetch:h=globalThis.fetch,method:m="POST",requestMiddleware:v,responseMiddleware:b,excludeOperationName:w,...S}=this.requestConfig,{url:N}=this;s.signal!==void 0&&(S.signal=s.signal);const A=H0(s.document,w),O=await G0({url:N,request:{_tag:"Single",document:A,variables:s.variables},headers:{...Ic(z0(c)),...Ic(s.requestHeaders)},fetch:h,method:m,fetchOptions:S,middleware:v});if(b&&await b(O,{operationName:A.operationName,variables:s.variables,url:this.url}),O instanceof Error)throw O;return O.data}async batchRequests(t,n){const i=NP(t,n),{headers:r,excludeOperationName:s,...c}=this.requestConfig;i.signal!==void 0&&(c.signal=i.signal);const h=i.documents.map(({document:S})=>H0(S,s)),m=h.map(({expression:S})=>S),v=h.some(({isMutation:S})=>S),b=i.documents.map(({variables:S})=>S),w=await G0({url:this.url,request:{_tag:"Batch",operationName:void 0,query:m,hasMutations:v,variables:b},headers:{...Ic(z0(r)),...Ic(i.requestHeaders)},fetch:this.requestConfig.fetch??globalThis.fetch,method:this.requestConfig.method||"POST",fetchOptions:c,middleware:this.requestConfig.requestMiddleware});if(this.requestConfig.responseMiddleware&&await this.requestConfig.responseMiddleware(w,{operationName:void 0,variables:b,url:this.url}),w instanceof Error)throw w;return w.data}setHeaders(t){return this.requestConfig.headers=t,this}setHeader(t,n){const{headers:i}=this.requestConfig;return i?i[t]=n:this.requestConfig.headers={[t]:n},this}setEndpoint(t){return this.url=t,this}}const OU=(e,t,n)=>e.document?e:{document:e,variables:t,requestHeaders:n,signal:void 0},Hl=(e,...t)=>e.reduce((n,i,r)=>`${n}${i}${r in t?String(t[r]):""}`,"");var jc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},NU={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},kU=class{#e=NU;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Ql=new kU;function EU(e){setTimeout(e,0)}var Ts=typeof window>"u"||"Deno"in globalThis;function Br(){}function DU(e,t){return typeof e=="function"?e(t):e}function Z0(e){return typeof e=="number"&&e>=0&&e!==1/0}function Sk(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Cs(e,t){return typeof e=="function"?e(t):e}function qi(e,t){return typeof e=="function"?e(t):e}function Ak(e,t){const{type:n="all",exact:i,fetchStatus:r,predicate:s,queryKey:c,stale:h}=e;if(c){if(i){if(t.queryHash!==W0(c,t.options))return!1}else if(!Wf(t.queryKey,c))return!1}if(n!=="all"){const m=t.isActive();if(n==="active"&&!m||n==="inactive"&&m)return!1}return!(typeof h=="boolean"&&t.isStale()!==h||r&&r!==t.state.fetchStatus||s&&!s(t))}function Ok(e,t){const{exact:n,status:i,predicate:r,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Gl(t.options.mutationKey)!==Gl(s))return!1}else if(!Wf(t.options.mutationKey,s))return!1}return!(i&&t.state.status!==i||r&&!r(t))}function W0(e,t){return(t?.queryKeyHashFn||Gl)(e)}function Gl(e){return JSON.stringify(e,(t,n)=>Y0(n)?Object.keys(n).sort().reduce((i,r)=>(i[r]=n[r],i),{}):n)}function Wf(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Wf(e[n],t[n])):!1}var _U=Object.prototype.hasOwnProperty;function Nk(e,t){if(e===t)return e;const n=kk(e)&&kk(t);if(!n&&!(Y0(e)&&Y0(t)))return t;const r=(n?e:Object.keys(e)).length,s=n?t:Object.keys(t),c=s.length,h=n?new Array(c):{};let m=0;for(let v=0;v<c;v++){const b=n?v:s[v],w=e[b],S=t[b];if(w===S){h[b]=w,(n?v<r:_U.call(e,b))&&m++;continue}if(w===null||S===null||typeof w!="object"||typeof S!="object"){h[b]=S;continue}const N=Nk(w,S);h[b]=N,N===w&&m++}return r===c&&m===r?e:h}function fg(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function kk(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Y0(e){if(!Ek(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ek(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ek(e){return Object.prototype.toString.call(e)==="[object Object]"}function TU(e){return new Promise(t=>{Ql.setTimeout(t,e)})}function q0(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Nk(e,t):t}function CU(e,t,n=0){const i=[...e,t];return n&&i.length>n?i.slice(1):i}function zU(e,t,n=0){const i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var V0=Symbol();function Dk(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===V0?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function _k(e,t){return typeof e=="function"?e(...t):!!e}var IU=class extends jc{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!Ts&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},$0=new IU;function K0(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});n.status="pending",n.catch(()=>{});function i(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{i({status:"fulfilled",value:r}),e(r)},n.reject=r=>{i({status:"rejected",reason:r}),t(r)},n}var MU=EU;function RU(){let e=[],t=0,n=h=>{h()},i=h=>{h()},r=MU;const s=h=>{t?e.push(h):r(()=>{n(h)})},c=()=>{const h=e;e=[],h.length&&r(()=>{i(()=>{h.forEach(m=>{n(m)})})})};return{batch:h=>{let m;t++;try{m=h()}finally{t--,t||c()}return m},batchCalls:h=>(...m)=>{s(()=>{h(...m)})},schedule:s,setNotifyFunction:h=>{n=h},setBatchNotifyFunction:h=>{i=h},setScheduler:h=>{r=h}}}var Vn=RU(),jU=class extends jc{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!Ts&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},hg=new jU;function PU(e){return Math.min(1e3*2**e,3e4)}function Tk(e){return(e??"online")==="online"?hg.isOnline():!0}var X0=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Ck(e){let t=!1,n=0,i;const r=K0(),s=()=>r.status!=="pending",c=O=>{if(!s()){const _=new X0(O);S(_),e.onCancel?.(_)}},h=()=>{t=!0},m=()=>{t=!1},v=()=>$0.isFocused()&&(e.networkMode==="always"||hg.isOnline())&&e.canRun(),b=()=>Tk(e.networkMode)&&e.canRun(),w=O=>{s()||(i?.(),r.resolve(O))},S=O=>{s()||(i?.(),r.reject(O))},N=()=>new Promise(O=>{i=_=>{(s()||v())&&O(_)},e.onPause?.()}).then(()=>{i=void 0,s()||e.onContinue?.()}),A=()=>{if(s())return;let O;const _=n===0?e.initialPromise:void 0;try{O=_??e.fn()}catch(M){O=Promise.reject(M)}Promise.resolve(O).then(w).catch(M=>{if(s())return;const I=e.retry??(Ts?0:3),j=e.retryDelay??PU,H=typeof j=="function"?j(n,M):j,L=I===!0||typeof I=="number"&&n<I||typeof I=="function"&&I(n,M);if(t||!L){S(M);return}n++,e.onFail?.(n,M),TU(H).then(()=>v()?void 0:N()).then(()=>{t?S(M):A()})})};return{promise:r,status:()=>r.status,cancel:c,continue:()=>(i?.(),r),cancelRetry:h,continueRetry:m,canStart:b,start:()=>(b()?A():N().then(A),r)}}var zk=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Z0(this.gcTime)&&(this.#e=Ql.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ts?1/0:300*1e3))}clearGcTimeout(){this.#e&&(Ql.clearTimeout(this.#e),this.#e=void 0)}},UU=class extends zk{#e;#t;#n;#i;#r;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#n=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=Mk(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=Mk(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=q0(this.state.data,e,this.options);return this.#a({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#a({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(Br).catch(Br):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>qi(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===V0||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Cs(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Sk(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#s?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const h=this.observers.find(m=>m.options.queryFn);h&&this.setOptions(h.options)}const n=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},r=()=>{const h=Dk(this.options,t),v=(()=>{const b={client:this.#i,queryKey:this.queryKey,meta:this.meta};return i(b),b})();return this.#s=!1,this.options.persister?this.options.persister(h,v,this):h(v)},c=(()=>{const h={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:r};return i(h),h})();this.options.behavior?.onFetch(c,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#a({type:"fetch",meta:c.fetchOptions?.meta}),this.#r=Ck({initialPromise:t?.initialPromise,fn:c.fetchFn,onCancel:h=>{h instanceof X0&&h.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(h,m)=>{this.#a({type:"failed",failureCount:h,error:m})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{const h=await this.#r.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#n.config.onSuccess?.(h,this),this.#n.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof X0){if(h.silent)return this.#r.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#a({type:"error",error:h}),this.#n.config.onError?.(h,this),this.#n.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#a(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...Ik(n.data,this.options),fetchMeta:e.meta??null};case"success":const i={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?i:void 0,i;case"error":const r=e.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Vn.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function Ik(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Tk(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Mk(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,i=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var LU=class extends jc{constructor(e,t){super(),this.options=t,this.#e=e,this.#a=null,this.#s=K0(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#i=void 0;#r;#o;#s;#a;#m;#f;#h;#u;#c;#l;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Rk(this.#t,this.options)?this.#d():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return J0(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return J0(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#w(),this.#x(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof qi(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#t.setOptions(this.options),t._defaulted&&!fg(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const i=this.hasListeners();i&&jk(this.#t,n,this.options,t)&&this.#d(),this.updateResult(),i&&(this.#t!==n||qi(this.options.enabled,this.#t)!==qi(t.enabled,this.#t)||Cs(this.options.staleTime,this.#t)!==Cs(t.staleTime,this.#t))&&this.#g();const r=this.#v();i&&(this.#t!==n||qi(this.options.enabled,this.#t)!==qi(t.enabled,this.#t)||r!==this.#l)&&this.#y(r)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return FU(this,n)&&(this.#i=n,this.#o=this.options,this.#r=this.#t.state),n}getCurrentResult(){return this.#i}trackResult(e,t){return new Proxy(e,{get:(n,i)=>(this.trackProp(i),t?.(i),i==="promise"&&!this.options.experimental_prefetchInRender&&this.#s.status==="pending"&&this.#s.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(n,i))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#d(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Br)),t}#g(){this.#w();const e=Cs(this.options.staleTime,this.#t);if(Ts||this.#i.isStale||!Z0(e))return;const n=Sk(this.#i.dataUpdatedAt,e)+1;this.#u=Ql.setTimeout(()=>{this.#i.isStale||this.updateResult()},n)}#v(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(e){this.#x(),this.#l=e,!(Ts||qi(this.options.enabled,this.#t)===!1||!Z0(this.#l)||this.#l===0)&&(this.#c=Ql.setInterval(()=>{(this.options.refetchIntervalInBackground||$0.isFocused())&&this.#d()},this.#l))}#b(){this.#g(),this.#y(this.#v())}#w(){this.#u&&(Ql.clearTimeout(this.#u),this.#u=void 0)}#x(){this.#c&&(Ql.clearInterval(this.#c),this.#c=void 0)}createResult(e,t){const n=this.#t,i=this.options,r=this.#i,s=this.#r,c=this.#o,m=e!==n?e.state:this.#n,{state:v}=e;let b={...v},w=!1,S;if(t._optimisticResults){const Q=this.hasListeners(),ne=!Q&&Rk(e,t),Y=Q&&jk(e,n,t,i);(ne||Y)&&(b={...b,...Ik(v.data,e.options)}),t._optimisticResults==="isRestoring"&&(b.fetchStatus="idle")}let{error:N,errorUpdatedAt:A,status:O}=b;S=b.data;let _=!1;if(t.placeholderData!==void 0&&S===void 0&&O==="pending"){let Q;r?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(Q=r.data,_=!0):Q=typeof t.placeholderData=="function"?t.placeholderData(this.#h?.state.data,this.#h):t.placeholderData,Q!==void 0&&(O="success",S=q0(r?.data,Q,t),w=!0)}if(t.select&&S!==void 0&&!_)if(r&&S===s?.data&&t.select===this.#m)S=this.#f;else try{this.#m=t.select,S=t.select(S),S=q0(r?.data,S,t),this.#f=S,this.#a=null}catch(Q){this.#a=Q}this.#a&&(N=this.#a,S=this.#f,A=Date.now(),O="error");const M=b.fetchStatus==="fetching",I=O==="pending",j=O==="error",H=I&&M,L=S!==void 0,U={status:O,fetchStatus:b.fetchStatus,isPending:I,isSuccess:O==="success",isError:j,isInitialLoading:H,isLoading:H,data:S,dataUpdatedAt:b.dataUpdatedAt,error:N,errorUpdatedAt:A,failureCount:b.fetchFailureCount,failureReason:b.fetchFailureReason,errorUpdateCount:b.errorUpdateCount,isFetched:b.dataUpdateCount>0||b.errorUpdateCount>0,isFetchedAfterMount:b.dataUpdateCount>m.dataUpdateCount||b.errorUpdateCount>m.errorUpdateCount,isFetching:M,isRefetching:M&&!I,isLoadingError:j&&!L,isPaused:b.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:j&&L,isStale:ew(e,t),refetch:this.refetch,promise:this.#s,isEnabled:qi(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const Q=J=>{U.status==="error"?J.reject(U.error):U.data!==void 0&&J.resolve(U.data)},ne=()=>{const J=this.#s=U.promise=K0();Q(J)},Y=this.#s;switch(Y.status){case"pending":e.queryHash===n.queryHash&&Q(Y);break;case"fulfilled":(U.status==="error"||U.data!==Y.value)&&ne();break;case"rejected":(U.status!=="error"||U.error!==Y.reason)&&ne();break}}return U}updateResult(){const e=this.#i,t=this.createResult(this.#t,this.options);if(this.#r=this.#t.state,this.#o=this.options,this.#r.data!==void 0&&(this.#h=this.#t),fg(t,e))return;this.#i=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:i}=this.options,r=typeof i=="function"?i():i;if(r==="all"||!r&&!this.#p.size)return!0;const s=new Set(r??this.#p);return this.options.throwOnError&&s.add("error"),Object.keys(this.#i).some(c=>{const h=c;return this.#i[h]!==e[h]&&s.has(h)})};this.#A({listeners:n()})}#S(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#A(e){Vn.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#i)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function BU(e,t){return qi(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Rk(e,t){return BU(e,t)||e.state.data!==void 0&&J0(e,t,t.refetchOnMount)}function J0(e,t,n){if(qi(t.enabled,e)!==!1&&Cs(t.staleTime,e)!=="static"){const i=typeof n=="function"?n(e):n;return i==="always"||i!==!1&&ew(e,t)}return!1}function jk(e,t,n,i){return(e!==t||qi(i.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&ew(e,n)}function ew(e,t){return qi(t.enabled,e)!==!1&&e.isStaleByTime(Cs(t.staleTime,e))}function FU(e,t){return!fg(e.getCurrentResult(),t)}function Pk(e){return{onFetch:(t,n)=>{const i=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],c=t.state.data?.pageParams||[];let h={pages:[],pageParams:[]},m=0;const v=async()=>{let b=!1;const w=A=>{Object.defineProperty(A,"signal",{enumerable:!0,get:()=>(t.signal.aborted?b=!0:t.signal.addEventListener("abort",()=>{b=!0}),t.signal)})},S=Dk(t.options,t.fetchOptions),N=async(A,O,_)=>{if(b)return Promise.reject();if(O==null&&A.pages.length)return Promise.resolve(A);const I=(()=>{const $={client:t.client,queryKey:t.queryKey,pageParam:O,direction:_?"backward":"forward",meta:t.options.meta};return w($),$})(),j=await S(I),{maxPages:H}=t.options,L=_?zU:CU;return{pages:L(A.pages,j,H),pageParams:L(A.pageParams,O,H)}};if(r&&s.length){const A=r==="backward",O=A?HU:Uk,_={pages:s,pageParams:c},M=O(i,_);h=await N(_,M,A)}else{const A=e??s.length;do{const O=m===0?c[0]??i.initialPageParam:Uk(i,h);if(m>0&&O==null)break;h=await N(h,O),m++}while(m<A)}return h};t.options.persister?t.fetchFn=()=>t.options.persister?.(v,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=v}}}function Uk(e,{pages:t,pageParams:n}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,n[i],n):void 0}function HU(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var QU=class extends zk{#e;#t;#n;#i;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Lk(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=Ck({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(s,c)=>{this.#r({type:"failed",failureCount:s,error:c})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const i=this.state.status==="pending",r=!this.#i.canStart();try{if(i)t();else{this.#r({type:"pending",variables:e,isPaused:r}),await this.#n.config.onMutate?.(e,this,n);const c=await this.options.onMutate?.(e,n);c!==this.state.context&&this.#r({type:"pending",context:c,variables:e,isPaused:r})}const s=await this.#i.start();return await this.#n.config.onSuccess?.(s,e,this.state.context,this,n),await this.options.onSuccess?.(s,e,this.state.context,n),await this.#n.config.onSettled?.(s,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(s,null,e,this.state.context,n),this.#r({type:"success",data:s}),s}catch(s){try{throw await this.#n.config.onError?.(s,e,this.state.context,this,n),await this.options.onError?.(s,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,s,e,this.state.context,n),s}finally{this.#r({type:"error",error:s})}}finally{this.#n.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Vn.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function Lk(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Bk=class extends jc{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const i=new QU({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){this.#e.add(e);const t=pg(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=pg(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const i=n.indexOf(e);i!==-1&&n.splice(i,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=pg(e);if(typeof t=="string"){const i=this.#t.get(t)?.find(r=>r.state.status==="pending");return!i||i===e}else return!0}runNext(e){const t=pg(e);return typeof t=="string"?this.#t.get(t)?.find(i=>i!==e&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Vn.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>Ok(t,n))}findAll(e={}){return this.getAll().filter(t=>Ok(e,t))}notify(e){Vn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Vn.batch(()=>Promise.all(e.map(t=>t.continue().catch(Br))))}};function pg(e){return e.options.scope?.id}var GU=class extends jc{#e;#t=void 0;#n;#i;constructor(t,n){super(),this.#e=t,this.setOptions(n),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#e.defaultMutationOptions(t),fg(this.options,n)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Gl(n.mutationKey)!==Gl(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#o(t)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#r(),this.#o()}mutate(t,n){return this.#i=n,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(t)}#r(){const t=this.#n?.state??Lk();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#o(t){Vn.batch(()=>{if(this.#i&&this.hasListeners()){const n=this.#t.variables,i=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#i.onSuccess?.(t.data,n,i,r),this.#i.onSettled?.(t.data,null,n,i,r)):t?.type==="error"&&(this.#i.onError?.(t.error,n,i,r),this.#i.onSettled?.(void 0,t.error,n,i,r))}this.listeners.forEach(n=>{n(this.#t)})})}},Fk=class extends jc{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const i=t.queryKey,r=t.queryHash??W0(i,t);let s=this.get(r);return s||(s=new UU({client:e,queryKey:i,queryHash:r,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(s)),s}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Vn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>Ak(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>Ak(e,n)):t}notify(e){Vn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Vn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Vn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ZU=class{#e;#t;#n;#i;#r;#o;#s;#a;constructor(e={}){this.#e=e.queryCache||new Fk,this.#t=e.mutationCache||new Bk,this.#n=e.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#s=$0.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#a=hg.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#s?.(),this.#s=void 0,this.#a?.(),this.#a=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),i=n.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Cs(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const i=n.data;return[t,i]})}setQueryData(e,t,n){const i=this.defaultQueryOptions({queryKey:e}),s=this.#e.get(i.queryHash)?.state.data,c=DU(t,s);if(c!==void 0)return this.#e.build(this,i).setData(c,{...n,manual:!0})}setQueriesData(e,t,n){return Vn.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;Vn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return Vn.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},i=Vn.batch(()=>this.#e.findAll(e).map(r=>r.cancel(n)));return Promise.all(i).then(Br).catch(Br)}invalidateQueries(e,t={}){return Vn.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},i=Vn.batch(()=>this.#e.findAll(e).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let s=r.fetch(void 0,n);return n.throwOnError||(s=s.catch(Br)),r.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(i).then(Br)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(Cs(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Br).catch(Br)}fetchInfiniteQuery(e){return e.behavior=Pk(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Br).catch(Br)}ensureInfiniteQueryData(e){return e.behavior=Pk(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return hg.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#i.set(Gl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#i.values()],n={};return t.forEach(i=>{Wf(e,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(e,t){this.#r.set(Gl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(i=>{Wf(e,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=W0(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===V0&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Hk=T.createContext(void 0),tw=e=>{const t=T.useContext(Hk);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},WU=({client:e,children:t})=>(T.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(Hk.Provider,{value:e,children:t})),Qk=T.createContext(!1),YU=()=>T.useContext(Qk);Qk.Provider;function qU(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var VU=T.createContext(qU()),$U=()=>T.useContext(VU),KU=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},XU=e=>{T.useEffect(()=>{e.clearReset()},[e])},JU=({result:e,errorResetBoundary:t,throwOnError:n,query:i,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(r&&e.data===void 0||_k(n,[e.error,i])),eL=e=>{if(e.suspense){const n=r=>r==="static"?r:Math.max(r??1e3,1e3),i=e.staleTime;e.staleTime=typeof i=="function"?(...r)=>n(i(...r)):n(i),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},tL=(e,t)=>e.isLoading&&e.isFetching&&!t,nL=(e,t)=>e?.suspense&&t.isPending,Gk=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function rL(e,t,n){const i=YU(),r=$U(),s=tw(),c=s.defaultQueryOptions(e);s.getDefaultOptions().queries?._experimental_beforeQuery?.(c),c._optimisticResults=i?"isRestoring":"optimistic",eL(c),KU(c,r),XU(r);const h=!s.getQueryCache().get(c.queryHash),[m]=T.useState(()=>new t(s,c)),v=m.getOptimisticResult(c),b=!i&&e.subscribed!==!1;if(T.useSyncExternalStore(T.useCallback(w=>{const S=b?m.subscribe(Vn.batchCalls(w)):Br;return m.updateResult(),S},[m,b]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),T.useEffect(()=>{m.setOptions(c)},[c,m]),nL(c,v))throw Gk(c,m,r);if(JU({result:v,errorResetBoundary:r,throwOnError:c.throwOnError,query:s.getQueryCache().get(c.queryHash),suspense:c.suspense}))throw v.error;return s.getDefaultOptions().queries?._experimental_afterQuery?.(c,v),c.experimental_prefetchInRender&&!Ts&&tL(v,i)&&(h?Gk(c,m,r):s.getQueryCache().get(c.queryHash)?.promise)?.catch(Br).finally(()=>{m.updateResult()}),c.notifyOnChangeProps?v:m.trackResult(v)}function nw(e,t){return rL(e,LU)}function iL(e,t){const n=tw(),i=n.getQueryCache();return T.useSyncExternalStore(T.useCallback(r=>i.subscribe(Vn.batchCalls(r)),[i]),()=>n.isFetching(e),()=>n.isFetching(e))}function aL(e,t){const n=tw(),[i]=T.useState(()=>new GU(n,e));T.useEffect(()=>{i.setOptions(e)},[i,e]);const r=T.useSyncExternalStore(T.useCallback(c=>i.subscribe(Vn.batchCalls(c)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),s=T.useCallback((c,h)=>{i.mutate(c,h).catch(Br)},[i]);if(r.error&&_k(i.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:s,mutateAsync:r.mutate}}const oL={DEV:!1},{DEV:sL}=oL,lL=sL,uL="https://api.easea.app/graphql",cL="1.1.8",Zk=e=>{let t;const n=new Set,i=(v,b)=>{const w=typeof v=="function"?v(t):v;if(!Object.is(w,t)){const S=t;t=b??(typeof w!="object"||w===null)?w:Object.assign({},t,w),n.forEach(N=>N(t,S))}},r=()=>t,h={setState:i,getState:r,getInitialState:()=>m,subscribe:v=>(n.add(v),()=>n.delete(v))},m=t=e(i,r,h);return h},dL=(e=>e?Zk(e):Zk),fL=e=>e;function hL(e,t=fL){const n=xe.useSyncExternalStore(e.subscribe,xe.useCallback(()=>t(e.getState()),[e,t]),xe.useCallback(()=>t(e.getInitialState()),[e,t]));return xe.useDebugValue(n),n}const pL=e=>{const t=dL(e),n=i=>hL(t,i);return Object.assign(n,t),n},mL=(e=>pL),Wk={BASE_URL:"/",DEV:!1,MODE:"widget",PROD:!0,SSR:!1},Yf=new Map,mg=e=>{const t=Yf.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,i])=>[n,i.getState()])):{}},gL=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const i=Yf.get(n.name);if(i)return{type:"tracked",store:e,...i};const r={connection:t.connect(n),stores:{}};return Yf.set(n.name,r),{type:"tracked",store:e,...r}},vL=(e,t)=>{if(t===void 0)return;const n=Yf.get(e);n&&(delete n.stores[t],Object.keys(n.stores).length===0&&Yf.delete(e))},yL=e=>{var t,n;if(!e)return;const i=e.split(`
|
|
228
|
+
`),r=i.findIndex(c=>c.includes("api.setState"));if(r<0)return;const s=((t=i[r+1])==null?void 0:t.trim())||"";return(n=/.+ (.+) .+/.exec(s))==null?void 0:n[1]},bL=(e,t={})=>(n,i,r)=>{const{enabled:s,anonymousActionType:c,store:h,...m}=t;let v;try{v=(s??(Wk?"widget":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!v)return e(n,i,r);const{connection:b,...w}=gL(h,v,m);let S=!0;r.setState=((O,_,M)=>{const I=n(O,_);if(!S)return I;const j=M===void 0?{type:c||yL(new Error().stack)||"anonymous"}:typeof M=="string"?{type:M}:M;return h===void 0?(b?.send(j,i()),I):(b?.send({...j,type:`${h}/${j.type}`},{...mg(m.name),[h]:r.getState()}),I)}),r.devtools={cleanup:()=>{b&&typeof b.unsubscribe=="function"&&b.unsubscribe(),vL(m.name,h)}};const N=(...O)=>{const _=S;S=!1,n(...O),S=_},A=e(r.setState,i,r);if(w.type==="untracked"?b?.init(A):(w.stores[w.store]=r,b?.init(Object.fromEntries(Object.entries(w.stores).map(([O,_])=>[O,O===w.store?A:_.getState()])))),r.dispatchFromDevtools&&typeof r.dispatch=="function"){let O=!1;const _=r.dispatch;r.dispatch=(...M)=>{(Wk?"widget":void 0)!=="production"&&M[0].type==="__setState"&&!O&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),O=!0),_(...M)}}return b.subscribe(O=>{var _;switch(O.type){case"ACTION":if(typeof O.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return rw(O.payload,M=>{if(M.type==="__setState"){if(h===void 0){N(M.state);return}Object.keys(M.state).length!==1&&console.error(`
|
|
229
229
|
[zustand devtools middleware] Unsupported __setState action format.
|
|
230
230
|
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|
|
231
231
|
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
|
|
@@ -389,4 +389,4 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
389
389
|
`).replace(/\n/gm,"\\n").replace(/(\\n)[\s\t]+/gm,"\\n"),i=(t.location||"").replace(/,/gm,",").replace(/;/gm,";").replace(/\r\n/gm,`
|
|
390
390
|
`).replace(/\n/gm,"\\n").replace(/(\\n)[\s\t]+/gm,"\\n"),{start:r,end:s}=H1(t,t.allDay?"allDay":"dateTimeUTC"),c=Kc(new Date).utc().format(zI.dateTimeUTC),h=[{key:"BEGIN",value:"VCALENDAR"},{key:"VERSION",value:"2.0"},{key:"PRODID",value:"-//AnandChowdhary//calendar-link//EN"},{key:"BEGIN",value:"VEVENT"},{key:"URL",value:t.url},{key:"DTSTART",value:r},{key:"DTEND",value:s},{key:"DTSTAMP",value:c},...t.allDay?[{key:"X-MICROSOFT-CDO-ALLDAYEVENT",value:"TRUE"},{key:"X-MICROSOFT-MSNCALENDAR-ALLDAYEVENT",value:"TRUE"}]:[],{key:"RRULE",value:t.rRule},{key:"SUMMARY",value:t.title},{key:"DESCRIPTION",value:n},{key:"LOCATION",value:i},{key:"ORGANIZER",value:t.organizer},{key:"STATUS",value:t.status},{key:"UID",value:t.uid||Math.floor(1e5*Math.random()).toString().replace(".","")},{key:"END",value:"VEVENT"},{key:"END",value:"VCALENDAR"}];let m="";return h.forEach(v=>{if(v.value)if(v.key=="ORGANIZER"){const b=v.value;m+=`${v.key};${encodeURIComponent(`CN=${b.name}:MAILTO:${b.email}\r
|
|
391
391
|
`)}`}else m+=`${v.key}:${encodeURIComponent(`${v.value}\r
|
|
392
|
-
`)}`}),`data:text/calendar;charset=utf8,${m}`},UZ=({size:e=48})=>E.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 48 48",children:[E.jsx("path",{fill:"#fff",d:"M13 13h22v22H13z"}),E.jsx("path",{fill:"#1e88e5",d:"m25.68 20.92 1.008 1.44 1.584-1.152v8.352H30V18.616h-1.44zM22.943 23.745c.625-.574 1.013-1.37 1.013-2.249 0-1.747-1.533-3.168-3.417-3.168-1.602 0-2.972 1.009-3.33 2.453l1.657.421c.165-.664.868-1.146 1.673-1.146.942 0 1.709.646 1.709 1.44s-.767 1.44-1.709 1.44h-.997v1.728h.997c1.081 0 1.993.751 1.993 1.64 0 .904-.866 1.64-1.931 1.64-.962 0-1.784-.61-1.914-1.418L17 26.802c.262 1.636 1.81 2.87 3.6 2.87 2.007 0 3.64-1.511 3.64-3.368 0-1.023-.504-1.941-1.297-2.559"}),E.jsx("path",{fill:"#fbc02d",d:"M34 42H14l-1-4 1-4h20l1 4z"}),E.jsx("path",{fill:"#4caf50",d:"m38 35 4-1V14l-4-1-4 1v20z"}),E.jsx("path",{fill:"#1e88e5",d:"m34 14 1-4-1-4H9a3 3 0 0 0-3 3v25l4 1 4-1V14z"}),E.jsx("path",{fill:"#e53935",d:"M34 34v8l8-8z"}),E.jsx("path",{fill:"#1565c0",d:"M39 6h-5v8h8V9a3 3 0 0 0-3-3M9 42h5v-8H6v5a3 3 0 0 0 3 3"})]}),LZ=({size:e=32})=>E.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"none",viewBox:"0 0 32 32",children:[E.jsx("rect",{width:"20",height:"28",x:"10",y:"2",fill:"#1066B5",rx:"2"}),E.jsx("rect",{width:"20",height:"28",x:"10",y:"2",fill:"url(#paint0_linear_87_7742)",rx:"2"}),E.jsx("path",{fill:"#32A9E7",d:"M10 5h10v10H10z"}),E.jsx("path",{fill:"#167EB4",d:"M10 15h10v10H10z"}),E.jsx("path",{fill:"#32A9E7",d:"M20 15h10v10H20z"}),E.jsx("path",{fill:"#58D9FD",d:"M20 5h10v10H20z"}),E.jsx("mask",{id:"mask0_87_7742",width:"24",height:"16",x:"8",y:"14",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:E.jsx("path",{fill:"url(#paint1_linear_87_7742)",d:"M8 14h22a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2z"})}),E.jsxs("g",{mask:"url(#mask0_87_7742)",children:[E.jsx("path",{fill:"#135298",d:"M32 14v4h-2v-4z"}),E.jsx("path",{fill:"url(#paint2_linear_87_7742)",d:"M32 30V16L7 30z"}),E.jsx("path",{fill:"url(#paint3_linear_87_7742)",d:"M8 30V16l25 14z"})]}),E.jsx("path",{fill:"#000",fillOpacity:"0.3",d:"M8 12a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H8z"}),E.jsx("rect",{width:"18",height:"18",y:"7",fill:"url(#paint4_linear_87_7742)",rx:"2"}),E.jsx("path",{fill:"#fff",d:"M14 16.07v-.167C14 13.023 11.927 11 9.016 11 6.089 11 4 13.036 4 15.93v.167C4 18.977 6.073 21 9 21c2.911 0 5-2.036 5-4.93m-2.358.027c0 1.911-1.075 3.06-2.626 3.06s-2.643-1.176-2.643-3.088v-.166c0-1.911 1.076-3.06 2.627-3.06 1.535 0 2.642 1.176 2.642 3.088z"}),E.jsxs("defs",{children:[E.jsxs("linearGradient",{id:"paint0_linear_87_7742",x1:"10",x2:"30",y1:"16",y2:"16",gradientUnits:"userSpaceOnUse",children:[E.jsx("stop",{stopColor:"#064484"}),E.jsx("stop",{offset:"1",stopColor:"#0F65B5"})]}),E.jsxs("linearGradient",{id:"paint1_linear_87_7742",x1:"8",x2:"32",y1:"26.769",y2:"26.769",gradientUnits:"userSpaceOnUse",children:[E.jsx("stop",{stopColor:"#1B366F"}),E.jsx("stop",{offset:"1",stopColor:"#2657B0"})]}),E.jsxs("linearGradient",{id:"paint2_linear_87_7742",x1:"32",x2:"8",y1:"23",y2:"23",gradientUnits:"userSpaceOnUse",children:[E.jsx("stop",{stopColor:"#44DCFD"}),E.jsx("stop",{offset:"0.453",stopColor:"#259ED0"})]}),E.jsxs("linearGradient",{id:"paint3_linear_87_7742",x1:"8",x2:"32",y1:"23",y2:"23",gradientUnits:"userSpaceOnUse",children:[E.jsx("stop",{stopColor:"#259ED0"}),E.jsx("stop",{offset:"1",stopColor:"#44DCFD"})]}),E.jsxs("linearGradient",{id:"paint4_linear_87_7742",x1:"0",x2:"18",y1:"16",y2:"16",gradientUnits:"userSpaceOnUse",children:[E.jsx("stop",{stopColor:"#064484"}),E.jsx("stop",{offset:"1",stopColor:"#0F65B5"})]})]})]}),BZ=({size:e=20})=>E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"-1.5 0 20 20",children:E.jsx("g",{id:"Page-1",fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:E.jsx("g",{id:"Dribbble-Light-Preview",fill:"#000",transform:"translate(-102 -7439)",children:E.jsx("g",{id:"icons",transform:"translate(56 160)",children:E.jsx("path",{id:"apple-[#173]",d:"M57.57 7282.193c.73-.845 1.221-2.022 1.087-3.193-1.05.04-2.322.671-3.075 1.515-.677.749-1.267 1.946-1.108 3.094 1.172.087 2.368-.57 3.097-1.416m2.628 7.432c.03 3.027 2.77 4.034 2.801 4.047-.022.07-.438 1.435-1.444 2.845-.87 1.218-1.774 2.43-3.196 2.457-1.398.025-1.848-.794-3.447-.794-1.597 0-2.097.768-3.42.819-1.373.049-2.42-1.318-3.296-2.532-1.794-2.483-3.164-7.017-1.324-10.077.915-1.52 2.548-2.482 4.321-2.506 1.348-.025 2.621.869 3.445.869.825 0 2.372-1.075 3.998-.917.68.027 2.591.263 3.818 1.984-.1.059-2.28 1.275-2.256 3.805"})})})})}),FZ=({passengers:e,location:t,date:n,activity:i,priceDetail:r})=>{const{t:s}=_n(),c=ru(),h=Ki({control:c.control,name:"startTime"}),m=Ki({control:c.control,name:"endTime"}),{start:v,end:b}=uI({date:n,startTime:h,endTime:m}),w={title:i?.name||"",start:v,end:b,location:t?.address||""},S=RZ(w),N=PZ(w),A=jZ(w);return E.jsxs("div",{className:"flex flex-col gap-6",children:[E.jsx(j1,{passengers:e,location:t,date:n,activity:i,priceDetail:r}),E.jsx(TI,{topIcon:E.jsx(yR,{className:"text-green-700 w-10 h-10"}),title:s("booking_success"),description:s("booking_success_description"),variant:"success",titleClassName:"text-xl",descriptionClassName:"text-md",className:"text-center flex flex-col gap-2 items-center justify-center"}),E.jsx(pr,{variant:"secondary",size:"default",asChild:!0,className:"[&_svg:not([class*='size-'])]:size-6",children:E.jsxs("a",{href:N,target:"_blank",children:[E.jsx(BZ,{}),s("add_to_apple_calendar")]})}),E.jsx(pr,{variant:"secondary",size:"default",asChild:!0,className:"[&_svg:not([class*='size-'])]:size-6",children:E.jsxs("a",{href:S,target:"_blank",children:[E.jsx(UZ,{}),s("add_to_google_calendar")]})}),E.jsx(pr,{variant:"secondary",size:"default",asChild:!0,className:"[&_svg:not([class*='size-'])]:size-6",children:E.jsxs("a",{href:A,target:"_blank",children:[E.jsx(LZ,{size:60}),s("add_to_outlook_calendar")]})})]})},HZ=e=>Vt.config({customError:t=>t.code==="invalid_type"?e("invalid_type"):t.code==="too_small"?t.minimum===1?e("field_required"):e("field_required_with_minimum",{minimum:t.minimum}):e("field_required")}),QZ=({visible:e=!0})=>{const{t}=_n();return e?E.jsxs("div",{className:"flex w-full text-muted-foreground justify-center text-sm items-center gap-1",children:[t("powered_by"),E.jsx(pr,{asChild:!0,variant:"link",className:"p-0 text-[#010b23]",size:"sm",children:E.jsx("a",{href:"https://www.easea.app",target:"__blank",children:"easea.app"})})]}):null},GZ=e=>{const t=T.useMemo(()=>new MutationObserver(()=>{const n=document.documentElement.lang||navigator.language;Un.changeLanguage(Uc.includes(n)?n:cw)}),[]);T.useEffect(()=>{if(e)Un.changeLanguage(e);else{const n=document.documentElement.lang||navigator.language;Un.changeLanguage(Uc.includes(n)?n:cw),t.observe(document.documentElement,{attributes:!0,attributeFilter:["lang"]})}return()=>t.disconnect()},[t,e])},ZZ={adults:"2",children:"",infants:"",departureAddressId:"",activityId:"",timeSlotId:"",startTime:"",endTime:"",date:null,bookingType:null,bookingId:"",boatId:"",customerInfo:{name:"",email:"",phone:""}},WZ=({widgetKey:e,shadowRoot:t,targetElementId:n,lang:i})=>{const{t:r}=_n();GZ(i),VF({widgetKey:e}),HZ(r);const s=xH({resolver:kH(SH),defaultValues:ZZ}),{setValue:c,control:h}=s||{},m=T.useRef(null),[v,b]=T.useState(!1),[w,S]=T.useState(Ht.location),[N,A]=T.useState(ai.now().getTime()),[O,_]=T.useState(null),[M,I]=T.useState(null),[j,H]=T.useState(null),[L,$]=T.useState(!1),{data:U,isLoading:Q}=_F(e),{data:ne,isLoading:Y}=CF(!!U),{mutateAsync:J,isPending:re}=ZF(),F=Ki({control:h,name:"departureAddressId"}),V=Ki({control:h,name:"activityId"}),te=Ki({control:h,name:"adults"}),P=Ki({control:h,name:"children"}),X=Ki({control:h,name:"infants"}),q=Ki({control:h,name:"date"}),me=nH(r),B=DM(U?.position),ae=T.useMemo(()=>({adults:isNaN(Number(te))?void 0:Number(te),children:isNaN(Number(P))?void 0:Number(P),infants:isNaN(Number(X))?void 0:Number(X)}),[te,P,X]),Ae=T.useMemo(()=>ne?.find(We=>We.addressId===F),[ne,F]),ye=T.useMemo(()=>Ae?.availableActivities?.find(We=>We.id===V),[Ae?.availableActivities,V]),De=T.useMemo(()=>w!=Ht.success&&((ne?.length||0)>1?w>Ht.location:w>Ht.activity),[ne,w]),Re=T.useCallback(We=>{c("departureAddressId",We),S(Ht.activity)},[c]),je=We=>{c("activityId",We),S(Ht.passengers)},Te=async(We,Z)=>{c("timeSlotId",Z.timeSlotId),c("startTime",Z.startTime),c("endTime",Z.endTime),c("date",We),c("bookingType",Z.bookingType),c("bookingId",Z.bookingId),c("boatId",Z.boatId),Z.bookingType&&((await Wt())?.isPrivate&&(await ur())?.length?S(Ht.addons):S(Ht.checkout))},Be=()=>{w===Ht.activity&&ut(),w===Ht.passengers&&dt(),w===Ht.date&&ft(),w===Ht.addons&&S(Ht.date),w===Ht.checkout&&An()},ut=()=>{c("activityId",""),S(Ht.location)},dt=()=>{c("adults","2"),c("children",""),c("infants",""),S(Ht.activity)},ft=()=>{S(Ht.passengers)},wt=()=>{c("timeSlotId",""),c("startTime",""),c("endTime",""),c("date",null),c("bookingType",null),c("bookingId",""),c("boatId",""),S(Ht.date)},An=()=>{O?.isPrivate&&M?.length?S(Ht.addons):wt()},Wt=async()=>{const We=s.getValues();if(We.bookingType&&!$i.isNil(We.date)){const Z={activityId:V,timeSlotId:We.timeSlotId,date:We.date,adults:te?Number(te):void 0,children:P?Number(P):void 0,infants:X?Number(X):null,bookingType:We.bookingType,boatId:We.boatId},oe=await LF(Z);return _(oe),oe}},ur=async()=>{const We=s.getValues();if(We.bookingType&&!$i.isNil(We.date)){const Z=await QF({date:We.date,timeSlotId:We.timeSlotId,departureAddressId:F,bookingType:We.bookingType,adults:te?Number(te):void 0,children:P?Number(P):void 0,infants:X?Number(X):null,currentBoatIdSelected:We.boatId});return I(Z),Z}},Ii=()=>{w===Ht.addons&&S(Ht.checkout),w===Ht.checkout&&s.handleSubmit(en)()},en=async We=>{const{start:Z,end:oe}=uI({date:We.date,startTime:We.startTime,endTime:We.endTime});if(!$i.isNil(Z)&&!$i.isNil(oe)&&We.bookingType){const ge={activityId:V,boatId:We.boatId,bookingType:We.bookingType,adults:We.adults?Number(We.adults):0,childrens:We?.children?Number(We.children):0,infants:We.infants?Number(We.infants):void 0,startDate:Z,endDate:oe,departureAddressId:We.departureAddressId,timeSlotId:We.timeSlotId,bookingId:We.bookingId,customerInfo:{name:We.customerInfo.name,email:We.customerInfo.email,phoneNumber:We.customerInfo.phone}},Ie=await J(ge);H(Ie),Ie.valid&&S(Ht.success)}},Wo=()=>{b(!1),H(null),A(ai.now().getTime()),_(null),I(null),s.reset()};return T.useEffect(()=>{if(v)if(ne?.length===1){const[We]=ne||[];Re(We.addressId)}else S(Ht.location)},[ne,Re,v]),T.useEffect(()=>{t.host instanceof HTMLElement&&(U?.styles?.brandColor&&t.host.style.setProperty("--primary",U.styles.brandColor),U?.styles?.ctaTextColor&&t.host.style.setProperty("--primary-foreground",U.styles.ctaTextColor),U?.styles?.borderRadius&&t.host.style.setProperty("--radius-brand",U?.styles?.borderRadius))},[U,t]),T.useEffect(()=>{if(n){const We=oe=>{const ge=document.getElementById(n);ge&&(oe.target===ge||ge.contains(oe.target))&&b(!0)};return document.addEventListener("click",We),document.getElementById(n)||$(!0),()=>document.removeEventListener("click",We)}else $(!0)},[n,$]),Q||!U?.active?null:E.jsxs("div",{ref:m,children:[E.jsxs(wP,{open:v,direction:B,setOpen:We=>{We?b(We):Wo()},showHeaderBackButton:De,onBack:Be,children:[E.jsx(FG,{activity:ye,currentStep:w,onEditPassengers:ft,onEditActivity:dt,dateSelected:N,setDateSelected:A,passengers:ae}),E.jsx(aH,{...s,children:E.jsx("form",{noValidate:!0,children:E.jsx("div",{className:"p-4",children:E.jsxs(KF,{currentStep:w,stepsInfo:me,children:[E.jsx(tH,{locations:ne||[],onSelect:Re,isLoading:Y}),E.jsx(CH,{activities:Ae?.availableActivities||[],isLoading:Y,onSelect:je}),E.jsx(HH,{onNext:()=>S(Ht.date),passengersLimit:ye?.maxPassengers}),E.jsx(QG,{departureAddressId:F,activityId:V,setDateSelected:A,onSlotSelect:Te,passengers:ae,date:N}),E.jsx(kZ,{priceDetail:O,activity:ye,passengers:ae,location:Ae,date:q,availableBoats:M,onBoatChange:Wt}),E.jsx(IZ,{priceDetail:O,activity:ye,passengers:ae,location:Ae,date:q,errorMessage:j?.valid===!1?j?.message:null}),E.jsx(FZ,{priceDetail:O,activity:ye,passengers:ae,location:Ae,date:q})]})})})}),E.jsxs(EZ,{className:"p-0 flex-col",children:[w>=Ht.addons&&w<Ht.success?E.jsx(DZ,{total:O?.total||0,mode:"request",onNext:Ii,currentStep:w,loading:re}):null,E.jsx(QZ,{visible:U?.showEaseaLogo})]})]}),L?E.jsx(pr,{onClick:()=>b(!0),className:bt("bottom-6",v?"hidden":"fixed",B==="left"?"left-6":"right-6"),children:r("book_now")}):null]})},YZ=`/*! tailwindcss v4.1.13 | 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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--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-duration:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@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-amber-500:oklch(76.9% .188 70.08);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-300:oklch(86.5% .127 207.078);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-900:oklch(37.9% .146 265.522);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-900:oklch(38.1% .176 304.987);--color-gray-200:oklch(92.8% .006 264.531);--color-white:#fff;--spacing:.25rem;--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);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)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);--radius-brand:calc(var(--radius-brand) - 2px)}}@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%;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}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}}@layer components{.rounded-brand{border-radius:var(--radius-brand)}}@layer utilities{.\\@container\\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);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}.static{position:static}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.top-\\[1px\\]{top:1px}.top-\\[60\\%\\]{top:60%}.top-full{top:100%}.-right-full{right:-100%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-6{right:calc(var(--spacing)*6)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-6{bottom:calc(var(--spacing)*6)}.-left-full{left:-100%}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-6{left:calc(var(--spacing)*6)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[99999\\]{z-index:99999}.col-span-2{grid-column:span 2/span 2}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.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}}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.mt-1\\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-6{margin-left:calc(var(--spacing)*6)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.aspect-\\[4\\/2\\.5\\]{aspect-ratio:4/2.5}.aspect-\\[4\\/2\\]{aspect-ratio:4/2}.aspect-square{aspect-ratio:1}.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-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.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-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-18{height:calc(var(--spacing)*18)}.h-64{height:calc(var(--spacing)*64)}.h-\\[1px\\]{height:1px}.h-\\[var\\(--radix-navigation-menu-viewport-height\\)\\]{height:var(--radix-navigation-menu-viewport-height)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.min-h-\\[300px\\]{min-height:300px}.w-2{width:calc(var(--spacing)*2)}.w-2\\/3{width:66.6667%}.w-3{width:calc(var(--spacing)*3)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-20{width:calc(var(--spacing)*20)}.w-\\[200px\\]{width:200px}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-96{max-width:calc(var(--spacing)*96)}.max-w-\\[70px\\]{max-width:70px}.max-w-\\[250px\\]{max-width:250px}.max-w-max{max-width:max-content}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[50px\\]{min-width:50px}.min-w-\\[250px\\]{min-width:250px}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.-translate-x-1\\/2{--tw-translate-x: -50% ;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)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.scroll-m-20{scroll-margin:calc(var(--spacing)*20)}.scroll-my-1{scroll-margin-block:calc(var(--spacing)*1)}.list-none{list-style-type:none}.auto-rows-min{grid-auto-rows:min-content}.grid-rows-\\[auto_auto\\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-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-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.self-center{align-self:center}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-brand{border-radius:calc(var(--radius-brand) - 2px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-\\[0\\.5px\\]{border-style:var(--tw-border-style);border-width:.5px}.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-none{--tw-border-style:none;border-style:none}.border-amber-500{border-color:var(--color-amber-500)}.border-blue-400{border-color:var(--color-blue-400)}.border-blue-500{border-color:var(--color-blue-500)}.border-destructive{border-color:var(--destructive)}.border-green-500{border-color:var(--color-green-500)}.border-input{border-color:var(--input)}.border-purple-400{border-color:var(--color-purple-400)}.bg-\\[\\#FAFAFA\\]{background-color:#fafafa}.bg-accent{background-color:var(--accent)}.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-background{background-color:var(--background)}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-cyan-300{background-color:var(--color-cyan-300)}.bg-destructive,.bg-destructive\\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.bg-destructive\\/10{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.bg-foreground\\/50{background-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/50{background-color:color-mix(in oklab,var(--foreground)50%,transparent)}}.bg-gray-200{background-color:var(--color-gray-200)}.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-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.fill-primary{fill:var(--primary)}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.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-6{padding-block:calc(var(--spacing)*6)}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-2\\.5{padding-right:calc(var(--spacing)*2.5)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-10{padding-bottom:calc(var(--spacing)*10)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-right{text-align:right}.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-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))}.leading-none{--tw-leading:1;line-height:1}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.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-nowrap{white-space:nowrap}.text-\\[\\#010b23\\]{color:#010b23}.text-blue-900{color:var(--color-blue-900)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-foreground{color:var(--foreground)}.text-green-700{color:var(--color-green-700)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-purple-900{color:var(--color-purple-900)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.italic{font-style:italic}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.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-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--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-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)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;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))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[disabled\\=true\\]\\:opacity-50:is(:where(.group)[data-disabled=true] *){opacity:.5}.group-data-\\[state\\=open\\]\\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:top-full:is(:where(.group\\/navigation-menu)[data-viewport=false] *){top:100%}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:mt-1\\.5:is(:where(.group\\/navigation-menu)[data-viewport=false] *){margin-top:calc(var(--spacing)*1.5)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:overflow-hidden:is(:where(.group\\/navigation-menu)[data-viewport=false] *){overflow:hidden}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:rounded-md:is(:where(.group\\/navigation-menu)[data-viewport=false] *){border-radius:calc(var(--radius) - 2px)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:border:is(:where(.group\\/navigation-menu)[data-viewport=false] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:bg-popover:is(:where(.group\\/navigation-menu)[data-viewport=false] *){background-color:var(--popover)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:text-popover-foreground:is(:where(.group\\/navigation-menu)[data-viewport=false] *){color:var(--popover-foreground)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:shadow:is(:where(.group\\/navigation-menu)[data-viewport=false] *){--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)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:duration-200:is(:where(.group\\/navigation-menu)[data-viewport=false] *){--tw-duration:.2s;transition-duration:.2s}.peer-focus-visible\\:outline-2:is(:where(.peer):focus-visible~*){outline-style:var(--tw-outline-style);outline-width:2px}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-has-data-state\\:border-2:is(:where(.peer):has([data-state])~*){border-style:var(--tw-border-style);border-width:2px}.peer-has-data-state\\:border-primary:is(:where(.peer):has([data-state])~*){border-color:var(--primary)}.selection\\:bg-primary ::selection{background-color:var(--primary)}.selection\\:bg-primary::selection{background-color:var(--primary)}.selection\\:text-primary-foreground ::selection{color:var(--primary-foreground)}.selection\\:text-primary-foreground::selection{color:var(--primary-foreground)}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-7::file-selector-button{height:calc(var(--spacing)*7)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder{color:var(--muted-foreground)}@media (hover:hover){.hover\\:bg-accent:hover,.hover\\:bg-accent\\/40:hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-accent\\/40:hover{background-color:color-mix(in oklab,var(--accent)40%,transparent)}}.hover\\:bg-destructive\\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-destructive\\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}.hover\\:bg-primary\\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}.hover\\:bg-secondary\\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-secondary\\/80:hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:underline:hover{text-decoration-line:underline}}.focus\\:bg-accent:focus{background-color:var(--accent)}.focus\\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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-visible\\:ring-\\[3px\\]:focus-visible{--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-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.has-data-\\[slot\\=card-action\\]\\:grid-cols-\\[1fr_auto\\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-\\[\\>svg\\]\\:px-2\\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\\[\\>svg\\]\\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\\[\\>svg\\]\\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.data-\\[active\\=true\\]\\:bg-accent\\/50[data-active=true]{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.data-\\[active\\=true\\]\\:bg-accent\\/50[data-active=true]{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.data-\\[active\\=true\\]\\:text-accent-foreground[data-active=true]{color:var(--accent-foreground)}@media (hover:hover){.data-\\[active\\=true\\]\\:hover\\:bg-accent[data-active=true]:hover{background-color:var(--accent)}}.data-\\[active\\=true\\]\\:focus\\:bg-accent[data-active=true]:focus{background-color:var(--accent)}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[error\\=true\\]\\:text-destructive[data-error=true]{color:var(--destructive)}.data-\\[motion\\=from-end\\]\\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x:calc(var(--spacing)*52)}.data-\\[motion\\=from-start\\]\\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x:calc(var(--spacing)*52*-1)}.data-\\[motion\\=to-end\\]\\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x:calc(var(--spacing)*52)}.data-\\[motion\\=to-start\\]\\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x:calc(var(--spacing)*52*-1)}.data-\\[motion\\^\\=from-\\]\\:animate-in[data-motion^=from-]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[motion\\^\\=from-\\]\\:fade-in[data-motion^=from-]{--tw-enter-opacity:0}.data-\\[motion\\^\\=to-\\]\\:animate-out[data-motion^=to-]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[motion\\^\\=to-\\]\\:fade-out[data-motion^=to-]{--tw-exit-opacity:0}.data-\\[placeholder\\]\\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(var(--spacing)*2*-1)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(var(--spacing)*2)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(var(--spacing)*2*-1)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(var(--spacing)*2)}.data-\\[size\\=default\\]\\:h-12[data-size=default]{height:calc(var(--spacing)*12)}.data-\\[size\\=sm\\]\\:h-8[data-size=sm]{height:calc(var(--spacing)*8)}:is(.\\*\\*\\:data-\\[slot\\=navigation-menu-link\\]\\:focus\\:ring-0 *)[data-slot=navigation-menu-link]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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)}:is(.\\*\\*\\:data-\\[slot\\=navigation-menu-link\\]\\:focus\\:outline-none *)[data-slot=navigation-menu-link]:focus{--tw-outline-style:none;outline-style:none}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing)*2)}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:animate-out:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:fade-out-0:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-opacity:0}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:zoom-out-95:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-scale:.95}.data-\\[state\\=hidden\\]\\:animate-out[data-state=hidden]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=hidden\\]\\:fade-out[data-state=hidden]{--tw-exit-opacity:0}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=open\\]\\:bg-accent\\/50[data-state=open]{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.data-\\[state\\=open\\]\\:bg-accent\\/50[data-state=open]{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.data-\\[state\\=open\\]\\:text-accent-foreground[data-state=open]{color:var(--accent-foreground)}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\\[state\\=open\\]\\:zoom-in-90[data-state=open]{--tw-enter-scale:.9}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:animate-in:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:fade-in-0:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-opacity:0}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:zoom-in-95:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-scale:.95}@media (hover:hover){.data-\\[state\\=open\\]\\:hover\\:bg-accent[data-state=open]:hover{background-color:var(--accent)}}.data-\\[state\\=open\\]\\:focus\\:bg-accent[data-state=open]:focus{background-color:var(--accent)}.data-\\[state\\=visible\\]\\:animate-in[data-state=visible]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=visible\\]\\:fade-in[data-state=visible]{--tw-enter-opacity:0}@media (min-width:40rem){.sm\\:max-w-\\[400px\\]{max-width:400px}.sm\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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 (min-width:48rem){.md\\:absolute{position:absolute}.md\\:w-\\[var\\(--radix-navigation-menu-viewport-width\\)\\]{width:var(--radix-navigation-menu-viewport-width)}.md\\:w-auto{width:auto}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.dark\\:border-input:is(.dark *){border-color:var(--input)}.dark\\:bg-destructive\\/60:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-destructive\\/60:is(.dark *){background-color:color-mix(in oklab,var(--destructive)60%,transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}@media (hover:hover){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-6 svg:not([class*=size-]){width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'text-\\'\\]\\)\\]\\:text-muted-foreground svg:not([class*=text-]){color:var(--muted-foreground)}.\\[\\.border-b\\]\\:pb-6.border-b{padding-bottom:calc(var(--spacing)*6)}.\\[\\.border-t\\]\\:pt-6.border-t{padding-top:calc(var(--spacing)*6)}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing)*2)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:host{--radius:.625rem;--radius-brand:.625rem;--background:oklch(100% 0 0);--foreground:oklch(14.1% .005 285.823);--card:oklch(100% 0 0);--card-foreground:oklch(14.1% .005 285.823);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.1% .005 285.823);--primary:oklch(21% .006 285.885);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(96.7% .001 286.375);--secondary-foreground:oklch(21% .006 285.885);--muted:oklch(96.7% .001 286.375);--muted-foreground:oklch(55.2% .016 285.938);--accent:oklch(96.7% .001 286.375);--accent-foreground:oklch(21% .006 285.885);--destructive:oklch(57.7% .245 27.325);--border:oklch(92% .004 286.32);--input:oklch(92% .004 286.32);--ring:oklch(70.5% .015 286.067);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.1% .005 285.823);--sidebar-primary:oklch(21% .006 285.885);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(96.7% .001 286.375);--sidebar-accent-foreground:oklch(21% .006 285.885);--sidebar-border:oklch(92% .004 286.32);--sidebar-ring:oklch(70.5% .015 286.067)}.dark{--background:oklch(14.1% .005 285.823);--foreground:oklch(98.5% 0 0);--card:oklch(21% .006 285.885);--card-foreground:oklch(98.5% 0 0);--popover:oklch(21% .006 285.885);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92% .004 286.32);--primary-foreground:oklch(21% .006 285.885);--secondary:oklch(27.4% .006 286.033);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27.4% .006 286.033);--muted-foreground:oklch(70.5% .015 286.067);--accent:oklch(27.4% .006 286.033);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.2% .016 285.938);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(21% .006 285.885);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(27.4% .006 286.033);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.2% .016 285.938)}.rdp-root{--rdp-accent-color:var(--primary);--rdp-accent-background-color:var(--primary);--rdp-chevron-disabled-opacity:.1;--rdp-disabled-opacity:.1;--rdp-day_button-border-radius:var(--radius);--rdp-week_number-border-radius:var(--radius)}@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-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}`,qZ=({children:e})=>{const t=ev();return E.jsx(WU,{client:t,children:e})};function VZ(e){let t=document.getElementById("easea-widget-root"),n;t||(t=document.createElement("div"),t.id=zA,document.body.appendChild(t)),t.shadowRoot?n=t.shadowRoot:n=t.attachShadow({mode:"open"});const i=new CSSStyleSheet;i.replaceSync(YZ),n.adoptedStyleSheets=[i];const r=QI.createRoot(n);console.info("Widget Version:",cL),r.render(E.jsx(qZ,{children:E.jsx(WZ,{lang:e.lang||"",widgetKey:e.key,shadowRoot:n,targetElementId:e.targetElementId})}))}window.EaseaWidget={init:VZ}}));
|
|
392
|
+
`)}`}),`data:text/calendar;charset=utf8,${m}`},UZ=({size:e=48})=>E.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 48 48",children:[E.jsx("path",{fill:"#fff",d:"M13 13h22v22H13z"}),E.jsx("path",{fill:"#1e88e5",d:"m25.68 20.92 1.008 1.44 1.584-1.152v8.352H30V18.616h-1.44zM22.943 23.745c.625-.574 1.013-1.37 1.013-2.249 0-1.747-1.533-3.168-3.417-3.168-1.602 0-2.972 1.009-3.33 2.453l1.657.421c.165-.664.868-1.146 1.673-1.146.942 0 1.709.646 1.709 1.44s-.767 1.44-1.709 1.44h-.997v1.728h.997c1.081 0 1.993.751 1.993 1.64 0 .904-.866 1.64-1.931 1.64-.962 0-1.784-.61-1.914-1.418L17 26.802c.262 1.636 1.81 2.87 3.6 2.87 2.007 0 3.64-1.511 3.64-3.368 0-1.023-.504-1.941-1.297-2.559"}),E.jsx("path",{fill:"#fbc02d",d:"M34 42H14l-1-4 1-4h20l1 4z"}),E.jsx("path",{fill:"#4caf50",d:"m38 35 4-1V14l-4-1-4 1v20z"}),E.jsx("path",{fill:"#1e88e5",d:"m34 14 1-4-1-4H9a3 3 0 0 0-3 3v25l4 1 4-1V14z"}),E.jsx("path",{fill:"#e53935",d:"M34 34v8l8-8z"}),E.jsx("path",{fill:"#1565c0",d:"M39 6h-5v8h8V9a3 3 0 0 0-3-3M9 42h5v-8H6v5a3 3 0 0 0 3 3"})]}),LZ=({size:e=32})=>E.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"none",viewBox:"0 0 32 32",children:[E.jsx("rect",{width:"20",height:"28",x:"10",y:"2",fill:"#1066B5",rx:"2"}),E.jsx("rect",{width:"20",height:"28",x:"10",y:"2",fill:"url(#paint0_linear_87_7742)",rx:"2"}),E.jsx("path",{fill:"#32A9E7",d:"M10 5h10v10H10z"}),E.jsx("path",{fill:"#167EB4",d:"M10 15h10v10H10z"}),E.jsx("path",{fill:"#32A9E7",d:"M20 15h10v10H20z"}),E.jsx("path",{fill:"#58D9FD",d:"M20 5h10v10H20z"}),E.jsx("mask",{id:"mask0_87_7742",width:"24",height:"16",x:"8",y:"14",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:E.jsx("path",{fill:"url(#paint1_linear_87_7742)",d:"M8 14h22a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2z"})}),E.jsxs("g",{mask:"url(#mask0_87_7742)",children:[E.jsx("path",{fill:"#135298",d:"M32 14v4h-2v-4z"}),E.jsx("path",{fill:"url(#paint2_linear_87_7742)",d:"M32 30V16L7 30z"}),E.jsx("path",{fill:"url(#paint3_linear_87_7742)",d:"M8 30V16l25 14z"})]}),E.jsx("path",{fill:"#000",fillOpacity:"0.3",d:"M8 12a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H8z"}),E.jsx("rect",{width:"18",height:"18",y:"7",fill:"url(#paint4_linear_87_7742)",rx:"2"}),E.jsx("path",{fill:"#fff",d:"M14 16.07v-.167C14 13.023 11.927 11 9.016 11 6.089 11 4 13.036 4 15.93v.167C4 18.977 6.073 21 9 21c2.911 0 5-2.036 5-4.93m-2.358.027c0 1.911-1.075 3.06-2.626 3.06s-2.643-1.176-2.643-3.088v-.166c0-1.911 1.076-3.06 2.627-3.06 1.535 0 2.642 1.176 2.642 3.088z"}),E.jsxs("defs",{children:[E.jsxs("linearGradient",{id:"paint0_linear_87_7742",x1:"10",x2:"30",y1:"16",y2:"16",gradientUnits:"userSpaceOnUse",children:[E.jsx("stop",{stopColor:"#064484"}),E.jsx("stop",{offset:"1",stopColor:"#0F65B5"})]}),E.jsxs("linearGradient",{id:"paint1_linear_87_7742",x1:"8",x2:"32",y1:"26.769",y2:"26.769",gradientUnits:"userSpaceOnUse",children:[E.jsx("stop",{stopColor:"#1B366F"}),E.jsx("stop",{offset:"1",stopColor:"#2657B0"})]}),E.jsxs("linearGradient",{id:"paint2_linear_87_7742",x1:"32",x2:"8",y1:"23",y2:"23",gradientUnits:"userSpaceOnUse",children:[E.jsx("stop",{stopColor:"#44DCFD"}),E.jsx("stop",{offset:"0.453",stopColor:"#259ED0"})]}),E.jsxs("linearGradient",{id:"paint3_linear_87_7742",x1:"8",x2:"32",y1:"23",y2:"23",gradientUnits:"userSpaceOnUse",children:[E.jsx("stop",{stopColor:"#259ED0"}),E.jsx("stop",{offset:"1",stopColor:"#44DCFD"})]}),E.jsxs("linearGradient",{id:"paint4_linear_87_7742",x1:"0",x2:"18",y1:"16",y2:"16",gradientUnits:"userSpaceOnUse",children:[E.jsx("stop",{stopColor:"#064484"}),E.jsx("stop",{offset:"1",stopColor:"#0F65B5"})]})]})]}),BZ=({size:e=20})=>E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"-1.5 0 20 20",children:E.jsx("g",{id:"Page-1",fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:E.jsx("g",{id:"Dribbble-Light-Preview",fill:"#000",transform:"translate(-102 -7439)",children:E.jsx("g",{id:"icons",transform:"translate(56 160)",children:E.jsx("path",{id:"apple-[#173]",d:"M57.57 7282.193c.73-.845 1.221-2.022 1.087-3.193-1.05.04-2.322.671-3.075 1.515-.677.749-1.267 1.946-1.108 3.094 1.172.087 2.368-.57 3.097-1.416m2.628 7.432c.03 3.027 2.77 4.034 2.801 4.047-.022.07-.438 1.435-1.444 2.845-.87 1.218-1.774 2.43-3.196 2.457-1.398.025-1.848-.794-3.447-.794-1.597 0-2.097.768-3.42.819-1.373.049-2.42-1.318-3.296-2.532-1.794-2.483-3.164-7.017-1.324-10.077.915-1.52 2.548-2.482 4.321-2.506 1.348-.025 2.621.869 3.445.869.825 0 2.372-1.075 3.998-.917.68.027 2.591.263 3.818 1.984-.1.059-2.28 1.275-2.256 3.805"})})})})}),FZ=({passengers:e,location:t,date:n,activity:i,priceDetail:r})=>{const{t:s}=_n(),c=ru(),h=Ki({control:c.control,name:"startTime"}),m=Ki({control:c.control,name:"endTime"}),{start:v,end:b}=uI({date:n,startTime:h,endTime:m}),w={title:i?.name||"",start:v,end:b,location:t?.address||""},S=RZ(w),N=PZ(w),A=jZ(w);return E.jsxs("div",{className:"flex flex-col gap-6",children:[E.jsx(j1,{passengers:e,location:t,date:n,activity:i,priceDetail:r}),E.jsx(TI,{topIcon:E.jsx(yR,{className:"text-green-700 w-10 h-10"}),title:s("booking_success"),description:s("booking_success_description"),variant:"success",titleClassName:"text-xl",descriptionClassName:"text-md",className:"text-center flex flex-col gap-2 items-center justify-center"}),E.jsx(pr,{variant:"secondary",size:"default",asChild:!0,className:"[&_svg:not([class*='size-'])]:size-6",children:E.jsxs("a",{href:N,target:"_blank",children:[E.jsx(BZ,{}),s("add_to_apple_calendar")]})}),E.jsx(pr,{variant:"secondary",size:"default",asChild:!0,className:"[&_svg:not([class*='size-'])]:size-6",children:E.jsxs("a",{href:S,target:"_blank",children:[E.jsx(UZ,{}),s("add_to_google_calendar")]})}),E.jsx(pr,{variant:"secondary",size:"default",asChild:!0,className:"[&_svg:not([class*='size-'])]:size-6",children:E.jsxs("a",{href:A,target:"_blank",children:[E.jsx(LZ,{size:60}),s("add_to_outlook_calendar")]})})]})},HZ=e=>Vt.config({customError:t=>t.code==="invalid_type"?e("invalid_type"):t.code==="too_small"?t.minimum===1?e("field_required"):e("field_required_with_minimum",{minimum:t.minimum}):e("field_required")}),QZ=({visible:e=!0})=>{const{t}=_n();return e?E.jsxs("div",{className:"flex w-full text-muted-foreground justify-center text-sm items-center gap-1",children:[t("powered_by"),E.jsx(pr,{asChild:!0,variant:"link",className:"p-0 text-[#010b23]",size:"sm",children:E.jsx("a",{href:"https://www.easea.app",target:"__blank",children:"easea.app"})})]}):null},GZ=e=>{const t=T.useMemo(()=>new MutationObserver(()=>{const n=document.documentElement.lang||navigator.language;Un.changeLanguage(Uc.includes(n)?n:cw)}),[]);T.useEffect(()=>{if(e)Un.changeLanguage(e);else{const n=document.documentElement.lang||navigator.language;Un.changeLanguage(Uc.includes(n)?n:cw),t.observe(document.documentElement,{attributes:!0,attributeFilter:["lang"]})}return()=>t.disconnect()},[t,e])},ZZ={adults:"2",children:"",infants:"",departureAddressId:"",activityId:"",timeSlotId:"",startTime:"",endTime:"",date:null,bookingType:null,bookingId:"",boatId:"",customerInfo:{name:"",email:"",phone:""}},WZ=({widgetKey:e,shadowRoot:t,targetElementId:n,lang:i})=>{const{t:r}=_n();GZ(i),VF({widgetKey:e}),HZ(r);const s=xH({resolver:kH(SH),defaultValues:ZZ}),{setValue:c,control:h}=s||{},m=T.useRef(null),[v,b]=T.useState(!1),[w,S]=T.useState(Ht.location),[N,A]=T.useState(ai.now().getTime()),[O,_]=T.useState(null),[M,I]=T.useState(null),[j,H]=T.useState(null),[L,$]=T.useState(!1),{data:U,isLoading:Q}=_F(e),{data:ne,isLoading:Y}=CF(!!U),{mutateAsync:J,isPending:re}=ZF(),F=Ki({control:h,name:"departureAddressId"}),V=Ki({control:h,name:"activityId"}),te=Ki({control:h,name:"adults"}),P=Ki({control:h,name:"children"}),X=Ki({control:h,name:"infants"}),q=Ki({control:h,name:"date"}),me=nH(r),B=DM(U?.position),ae=T.useMemo(()=>({adults:isNaN(Number(te))?void 0:Number(te),children:isNaN(Number(P))?void 0:Number(P),infants:isNaN(Number(X))?void 0:Number(X)}),[te,P,X]),Ae=T.useMemo(()=>ne?.find(We=>We.addressId===F),[ne,F]),ye=T.useMemo(()=>Ae?.availableActivities?.find(We=>We.id===V),[Ae?.availableActivities,V]),De=T.useMemo(()=>w!=Ht.success&&((ne?.length||0)>1?w>Ht.location:w>Ht.activity),[ne,w]),Re=T.useCallback(We=>{c("departureAddressId",We),S(Ht.activity)},[c]),je=We=>{c("activityId",We),S(Ht.passengers)},Te=async(We,Z)=>{c("timeSlotId",Z.timeSlotId),c("startTime",Z.startTime),c("endTime",Z.endTime),c("date",We),c("bookingType",Z.bookingType),c("bookingId",Z.bookingId),c("boatId",Z.boatId),Z.bookingType&&((await Wt())?.isPrivate&&(await ur())?.length?S(Ht.addons):S(Ht.checkout))},Be=()=>{w===Ht.activity&&ut(),w===Ht.passengers&&dt(),w===Ht.date&&ft(),w===Ht.addons&&S(Ht.date),w===Ht.checkout&&An()},ut=()=>{c("activityId",""),S(Ht.location)},dt=()=>{c("adults","2"),c("children",""),c("infants",""),S(Ht.activity)},ft=()=>{S(Ht.passengers)},wt=()=>{c("timeSlotId",""),c("startTime",""),c("endTime",""),c("date",null),c("bookingType",null),c("bookingId",""),c("boatId",""),S(Ht.date)},An=()=>{O?.isPrivate&&M?.length?S(Ht.addons):wt()},Wt=async()=>{const We=s.getValues();if(We.bookingType&&!$i.isNil(We.date)){const Z={activityId:V,timeSlotId:We.timeSlotId,date:We.date,adults:te?Number(te):void 0,children:P?Number(P):void 0,infants:X?Number(X):null,bookingType:We.bookingType,boatId:We.boatId},oe=await LF(Z);return _(oe),oe}},ur=async()=>{const We=s.getValues();if(We.bookingType&&!$i.isNil(We.date)){const Z=await QF({date:We.date,timeSlotId:We.timeSlotId,departureAddressId:F,bookingType:We.bookingType,adults:te?Number(te):void 0,children:P?Number(P):void 0,infants:X?Number(X):null,currentBoatIdSelected:We.boatId});return I(Z),Z}},Ii=()=>{w===Ht.addons&&S(Ht.checkout),w===Ht.checkout&&s.handleSubmit(en)()},en=async We=>{const{start:Z,end:oe}=uI({date:We.date,startTime:We.startTime,endTime:We.endTime});if(!$i.isNil(Z)&&!$i.isNil(oe)&&We.bookingType){const ge={activityId:V,boatId:We.boatId,bookingType:We.bookingType,adults:We.adults?Number(We.adults):0,childrens:We?.children?Number(We.children):0,infants:We.infants?Number(We.infants):void 0,startDate:Z,endDate:oe,departureAddressId:We.departureAddressId,timeSlotId:We.timeSlotId,bookingId:We.bookingId,customerInfo:{name:We.customerInfo.name,email:We.customerInfo.email,phoneNumber:We.customerInfo.phone}},Ie=await J(ge);H(Ie),Ie.valid&&S(Ht.success)}},Wo=()=>{b(!1),H(null),A(ai.now().getTime()),_(null),I(null),s.reset()};return T.useEffect(()=>{if(v)if(ne?.length===1){const[We]=ne||[];Re(We.addressId)}else S(Ht.location)},[ne,Re,v]),T.useEffect(()=>{t.host instanceof HTMLElement&&(U?.styles?.brandColor&&t.host.style.setProperty("--primary",U.styles.brandColor),U?.styles?.ctaTextColor&&t.host.style.setProperty("--primary-foreground",U.styles.ctaTextColor),U?.styles?.borderRadius&&t.host.style.setProperty("--radius-brand",U?.styles?.borderRadius))},[U,t]),T.useEffect(()=>{if(n){const We=oe=>{const ge=document.getElementById(n);ge&&(oe.target===ge||ge.contains(oe.target))&&b(!0)};return document.addEventListener("click",We),document.getElementById(n)||$(!0),()=>document.removeEventListener("click",We)}else $(!0)},[n,$]),Q||!U?.active?null:E.jsxs("div",{ref:m,children:[E.jsxs(wP,{open:v,direction:B,setOpen:We=>{We?b(We):Wo()},showHeaderBackButton:De,onBack:Be,children:[E.jsx(FG,{activity:ye,currentStep:w,onEditPassengers:ft,onEditActivity:dt,dateSelected:N,setDateSelected:A,passengers:ae}),E.jsx(aH,{...s,children:E.jsx("form",{noValidate:!0,children:E.jsx("div",{className:"p-4",children:E.jsxs(KF,{currentStep:w,stepsInfo:me,children:[E.jsx(tH,{locations:ne||[],onSelect:Re,isLoading:Y}),E.jsx(CH,{activities:Ae?.availableActivities||[],isLoading:Y,onSelect:je}),E.jsx(HH,{onNext:()=>S(Ht.date),passengersLimit:ye?.maxPassengers}),E.jsx(QG,{departureAddressId:F,activityId:V,setDateSelected:A,onSlotSelect:Te,passengers:ae,date:N}),E.jsx(kZ,{priceDetail:O,activity:ye,passengers:ae,location:Ae,date:q,availableBoats:M,onBoatChange:Wt}),E.jsx(IZ,{priceDetail:O,activity:ye,passengers:ae,location:Ae,date:q,errorMessage:j?.valid===!1?j?.message:null}),E.jsx(FZ,{priceDetail:O,activity:ye,passengers:ae,location:Ae,date:q})]})})})}),E.jsxs(EZ,{className:"p-0 flex-col",children:[w>=Ht.addons&&w<Ht.success?E.jsx(DZ,{total:O?.total||0,mode:"request",onNext:Ii,currentStep:w,loading:re}):null,E.jsx(QZ,{visible:U?.showEaseaLogo})]})]}),L?E.jsx(pr,{onClick:()=>b(!0),className:bt("bottom-6",v?"hidden":"fixed",B==="left"?"left-6":"right-6"),children:r("book_now")}):null]})},YZ=`/*! tailwindcss v4.1.13 | 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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--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-duration:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@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-amber-500:oklch(76.9% .188 70.08);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-300:oklch(86.5% .127 207.078);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-900:oklch(37.9% .146 265.522);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-900:oklch(38.1% .176 304.987);--color-gray-200:oklch(92.8% .006 264.531);--color-white:#fff;--spacing:.25rem;--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);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)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);--radius-brand:calc(var(--radius-brand) - 2px)}}@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%;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}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}}@layer components{.rounded-brand{border-radius:var(--radius-brand)}}@layer utilities{.\\@container\\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);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}.static{position:static}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.top-\\[1px\\]{top:1px}.top-\\[60\\%\\]{top:60%}.top-full{top:100%}.-right-full{right:-100%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-6{right:calc(var(--spacing)*6)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-6{bottom:calc(var(--spacing)*6)}.-left-full{left:-100%}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-6{left:calc(var(--spacing)*6)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[99999\\]{z-index:99999}.col-span-2{grid-column:span 2/span 2}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.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}}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.mt-1\\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-6{margin-left:calc(var(--spacing)*6)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.aspect-\\[4\\/2\\.5\\]{aspect-ratio:4/2.5}.aspect-\\[4\\/2\\]{aspect-ratio:4/2}.aspect-square{aspect-ratio:1}.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-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.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-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-18{height:calc(var(--spacing)*18)}.h-64{height:calc(var(--spacing)*64)}.h-\\[1px\\]{height:1px}.h-\\[var\\(--radix-navigation-menu-viewport-height\\)\\]{height:var(--radix-navigation-menu-viewport-height)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.min-h-\\[300px\\]{min-height:300px}.w-2{width:calc(var(--spacing)*2)}.w-2\\/3{width:66.6667%}.w-3{width:calc(var(--spacing)*3)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-20{width:calc(var(--spacing)*20)}.w-\\[200px\\]{width:200px}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.max-w-17{max-width:calc(var(--spacing)*17)}.max-w-96{max-width:calc(var(--spacing)*96)}.max-w-\\[70px\\]{max-width:70px}.max-w-\\[250px\\]{max-width:250px}.max-w-max{max-width:max-content}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[50px\\]{min-width:50px}.min-w-\\[250px\\]{min-width:250px}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.-translate-x-1\\/2{--tw-translate-x: -50% ;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)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.scroll-m-20{scroll-margin:calc(var(--spacing)*20)}.scroll-my-1{scroll-margin-block:calc(var(--spacing)*1)}.list-none{list-style-type:none}.auto-rows-min{grid-auto-rows:min-content}.grid-rows-\\[auto_auto\\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-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-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.self-center{align-self:center}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-brand{border-radius:calc(var(--radius-brand) - 2px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-\\[0\\.5px\\]{border-style:var(--tw-border-style);border-width:.5px}.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-none{--tw-border-style:none;border-style:none}.border-amber-500{border-color:var(--color-amber-500)}.border-blue-400{border-color:var(--color-blue-400)}.border-blue-500{border-color:var(--color-blue-500)}.border-destructive{border-color:var(--destructive)}.border-green-500{border-color:var(--color-green-500)}.border-input{border-color:var(--input)}.border-purple-400{border-color:var(--color-purple-400)}.bg-\\[\\#FAFAFA\\]{background-color:#fafafa}.bg-accent{background-color:var(--accent)}.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-background{background-color:var(--background)}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-cyan-300{background-color:var(--color-cyan-300)}.bg-destructive,.bg-destructive\\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.bg-destructive\\/10{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.bg-foreground\\/50{background-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\\/50{background-color:color-mix(in oklab,var(--foreground)50%,transparent)}}.bg-gray-200{background-color:var(--color-gray-200)}.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-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.fill-primary{fill:var(--primary)}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.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-6{padding-block:calc(var(--spacing)*6)}.pt-0{padding-top:calc(var(--spacing)*0)}.pr-2\\.5{padding-right:calc(var(--spacing)*2.5)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-10{padding-bottom:calc(var(--spacing)*10)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-right{text-align:right}.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-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))}.leading-none{--tw-leading:1;line-height:1}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.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-nowrap{white-space:nowrap}.text-\\[\\#010b23\\]{color:#010b23}.text-blue-900{color:var(--color-blue-900)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-foreground{color:var(--foreground)}.text-green-700{color:var(--color-green-700)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-purple-900{color:var(--color-purple-900)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.italic{font-style:italic}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.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-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--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-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)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;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))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[disabled\\=true\\]\\:opacity-50:is(:where(.group)[data-disabled=true] *){opacity:.5}.group-data-\\[state\\=open\\]\\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:top-full:is(:where(.group\\/navigation-menu)[data-viewport=false] *){top:100%}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:mt-1\\.5:is(:where(.group\\/navigation-menu)[data-viewport=false] *){margin-top:calc(var(--spacing)*1.5)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:overflow-hidden:is(:where(.group\\/navigation-menu)[data-viewport=false] *){overflow:hidden}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:rounded-md:is(:where(.group\\/navigation-menu)[data-viewport=false] *){border-radius:calc(var(--radius) - 2px)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:border:is(:where(.group\\/navigation-menu)[data-viewport=false] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:bg-popover:is(:where(.group\\/navigation-menu)[data-viewport=false] *){background-color:var(--popover)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:text-popover-foreground:is(:where(.group\\/navigation-menu)[data-viewport=false] *){color:var(--popover-foreground)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:shadow:is(:where(.group\\/navigation-menu)[data-viewport=false] *){--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)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:duration-200:is(:where(.group\\/navigation-menu)[data-viewport=false] *){--tw-duration:.2s;transition-duration:.2s}.peer-focus-visible\\:outline-2:is(:where(.peer):focus-visible~*){outline-style:var(--tw-outline-style);outline-width:2px}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-has-data-state\\:border-2:is(:where(.peer):has([data-state])~*){border-style:var(--tw-border-style);border-width:2px}.peer-has-data-state\\:border-primary:is(:where(.peer):has([data-state])~*){border-color:var(--primary)}.selection\\:bg-primary ::selection{background-color:var(--primary)}.selection\\:bg-primary::selection{background-color:var(--primary)}.selection\\:text-primary-foreground ::selection{color:var(--primary-foreground)}.selection\\:text-primary-foreground::selection{color:var(--primary-foreground)}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-7::file-selector-button{height:calc(var(--spacing)*7)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder{color:var(--muted-foreground)}@media (hover:hover){.hover\\:bg-accent:hover,.hover\\:bg-accent\\/40:hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-accent\\/40:hover{background-color:color-mix(in oklab,var(--accent)40%,transparent)}}.hover\\:bg-destructive\\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-destructive\\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}.hover\\:bg-primary\\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}.hover\\:bg-secondary\\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-secondary\\/80:hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:underline:hover{text-decoration-line:underline}}.focus\\:bg-accent:focus{background-color:var(--accent)}.focus\\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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-visible\\:ring-\\[3px\\]:focus-visible{--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-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.has-data-\\[slot\\=card-action\\]\\:grid-cols-\\[1fr_auto\\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-\\[\\>svg\\]\\:px-2\\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\\[\\>svg\\]\\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\\[\\>svg\\]\\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.data-\\[active\\=true\\]\\:bg-accent\\/50[data-active=true]{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.data-\\[active\\=true\\]\\:bg-accent\\/50[data-active=true]{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.data-\\[active\\=true\\]\\:text-accent-foreground[data-active=true]{color:var(--accent-foreground)}@media (hover:hover){.data-\\[active\\=true\\]\\:hover\\:bg-accent[data-active=true]:hover{background-color:var(--accent)}}.data-\\[active\\=true\\]\\:focus\\:bg-accent[data-active=true]:focus{background-color:var(--accent)}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[error\\=true\\]\\:text-destructive[data-error=true]{color:var(--destructive)}.data-\\[motion\\=from-end\\]\\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x:calc(var(--spacing)*52)}.data-\\[motion\\=from-start\\]\\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x:calc(var(--spacing)*52*-1)}.data-\\[motion\\=to-end\\]\\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x:calc(var(--spacing)*52)}.data-\\[motion\\=to-start\\]\\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x:calc(var(--spacing)*52*-1)}.data-\\[motion\\^\\=from-\\]\\:animate-in[data-motion^=from-]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[motion\\^\\=from-\\]\\:fade-in[data-motion^=from-]{--tw-enter-opacity:0}.data-\\[motion\\^\\=to-\\]\\:animate-out[data-motion^=to-]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[motion\\^\\=to-\\]\\:fade-out[data-motion^=to-]{--tw-exit-opacity:0}.data-\\[placeholder\\]\\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(var(--spacing)*2*-1)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(var(--spacing)*2)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(var(--spacing)*2*-1)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(var(--spacing)*2)}.data-\\[size\\=default\\]\\:h-12[data-size=default]{height:calc(var(--spacing)*12)}.data-\\[size\\=sm\\]\\:h-8[data-size=sm]{height:calc(var(--spacing)*8)}:is(.\\*\\*\\:data-\\[slot\\=navigation-menu-link\\]\\:focus\\:ring-0 *)[data-slot=navigation-menu-link]:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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)}:is(.\\*\\*\\:data-\\[slot\\=navigation-menu-link\\]\\:focus\\:outline-none *)[data-slot=navigation-menu-link]:focus{--tw-outline-style:none;outline-style:none}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing)*2)}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:animate-out:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:fade-out-0:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-opacity:0}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=closed\\]\\:zoom-out-95:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-scale:.95}.data-\\[state\\=hidden\\]\\:animate-out[data-state=hidden]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=hidden\\]\\:fade-out[data-state=hidden]{--tw-exit-opacity:0}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=open\\]\\:bg-accent\\/50[data-state=open]{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.data-\\[state\\=open\\]\\:bg-accent\\/50[data-state=open]{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.data-\\[state\\=open\\]\\:text-accent-foreground[data-state=open]{color:var(--accent-foreground)}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\\[state\\=open\\]\\:zoom-in-90[data-state=open]{--tw-enter-scale:.9}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:animate-in:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:fade-in-0:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-opacity:0}.group-data-\\[viewport\\=false\\]\\/navigation-menu\\:data-\\[state\\=open\\]\\:zoom-in-95:is(:where(.group\\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-scale:.95}@media (hover:hover){.data-\\[state\\=open\\]\\:hover\\:bg-accent[data-state=open]:hover{background-color:var(--accent)}}.data-\\[state\\=open\\]\\:focus\\:bg-accent[data-state=open]:focus{background-color:var(--accent)}.data-\\[state\\=visible\\]\\:animate-in[data-state=visible]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=visible\\]\\:fade-in[data-state=visible]{--tw-enter-opacity:0}@media (min-width:40rem){.sm\\:max-w-\\[400px\\]{max-width:400px}.sm\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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 (min-width:48rem){.md\\:absolute{position:absolute}.md\\:w-\\[var\\(--radix-navigation-menu-viewport-width\\)\\]{width:var(--radix-navigation-menu-viewport-width)}.md\\:w-auto{width:auto}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.dark\\:border-input:is(.dark *){border-color:var(--input)}.dark\\:bg-destructive\\/60:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-destructive\\/60:is(.dark *){background-color:color-mix(in oklab,var(--destructive)60%,transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}@media (hover:hover){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-6 svg:not([class*=size-]){width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'text-\\'\\]\\)\\]\\:text-muted-foreground svg:not([class*=text-]){color:var(--muted-foreground)}.\\[\\.border-b\\]\\:pb-6.border-b{padding-bottom:calc(var(--spacing)*6)}.\\[\\.border-t\\]\\:pt-6.border-t{padding-top:calc(var(--spacing)*6)}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing)*2)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:host{--radius:.625rem;--radius-brand:.625rem;--background:oklch(100% 0 0);--foreground:oklch(14.1% .005 285.823);--card:oklch(100% 0 0);--card-foreground:oklch(14.1% .005 285.823);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.1% .005 285.823);--primary:oklch(21% .006 285.885);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(96.7% .001 286.375);--secondary-foreground:oklch(21% .006 285.885);--muted:oklch(96.7% .001 286.375);--muted-foreground:oklch(55.2% .016 285.938);--accent:oklch(96.7% .001 286.375);--accent-foreground:oklch(21% .006 285.885);--destructive:oklch(57.7% .245 27.325);--border:oklch(92% .004 286.32);--input:oklch(92% .004 286.32);--ring:oklch(70.5% .015 286.067);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.1% .005 285.823);--sidebar-primary:oklch(21% .006 285.885);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(96.7% .001 286.375);--sidebar-accent-foreground:oklch(21% .006 285.885);--sidebar-border:oklch(92% .004 286.32);--sidebar-ring:oklch(70.5% .015 286.067)}.dark{--background:oklch(14.1% .005 285.823);--foreground:oklch(98.5% 0 0);--card:oklch(21% .006 285.885);--card-foreground:oklch(98.5% 0 0);--popover:oklch(21% .006 285.885);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92% .004 286.32);--primary-foreground:oklch(21% .006 285.885);--secondary:oklch(27.4% .006 286.033);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27.4% .006 286.033);--muted-foreground:oklch(70.5% .015 286.067);--accent:oklch(27.4% .006 286.033);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.2% .016 285.938);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(21% .006 285.885);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(27.4% .006 286.033);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.2% .016 285.938)}.rdp-root{--rdp-accent-color:var(--primary);--rdp-accent-background-color:var(--primary);--rdp-chevron-disabled-opacity:.1;--rdp-disabled-opacity:.1;--rdp-day_button-border-radius:var(--radius);--rdp-week_number-border-radius:var(--radius)}@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-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}`,qZ=({children:e})=>{const t=ev();return E.jsx(WU,{client:t,children:e})};function VZ(e){let t=document.getElementById("easea-widget-root"),n;t||(t=document.createElement("div"),t.id=zA,document.body.appendChild(t)),t.shadowRoot?n=t.shadowRoot:n=t.attachShadow({mode:"open"});const i=new CSSStyleSheet;i.replaceSync(YZ),n.adoptedStyleSheets=[i];const r=QI.createRoot(n);console.info("Widget Version:",cL),r.render(E.jsx(qZ,{children:E.jsx(WZ,{lang:e.lang||"",widgetKey:e.key,shadowRoot:n,targetElementId:e.targetElementId})}))}window.EaseaWidget={init:VZ}}));
|