tanya-chatbot 0.7.4 → 0.7.6

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.
@@ -2,16 +2,16 @@ import { useEffect as be, useState as C, useRef as Re, forwardRef as _n, createE
2
2
  import { jsx as a, jsxs as d, Fragment as xe } from "react/jsx-runtime";
3
3
  import { createHttpLink as Eo, ApolloClient as Oo, InMemoryCache as Ao, ApolloProvider as jo } from "@apollo/client";
4
4
  import { Provider as $o, useDispatch as In, useSelector as Yt } from "react-redux";
5
- import { createSlice as Fn, configureStore as Do } from "@reduxjs/toolkit";
5
+ import { createSlice as Fn, configureStore as Lo } from "@reduxjs/toolkit";
6
6
  import * as Pn from "@radix-ui/react-popover";
7
7
  import "clsx";
8
8
  import "tailwind-merge";
9
9
  import ge from "axios";
10
10
  import "crypto-js";
11
- import { Icon as Lo } from "@iconify/react";
11
+ import { Icon as Do } from "@iconify/react";
12
12
  import { toast as Me } from "react-toastify";
13
13
  import { createPortal as zo } from "react-dom";
14
- const Mo = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-full{top:100%}.z-40{z-index:40}.z-50{z-index:50}.m-1{margin:.25rem}.m-3{margin:.75rem}.m-\\[15px\\]{margin:15px}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-1{margin-bottom:.25rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-24{margin-bottom:6rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mr-2{margin-right:.5rem}.mr-6{margin-right:1.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.h-20{height:5rem}.h-28{height:7rem}.h-3{height:.75rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[120px\\]{height:120px}.h-\\[150px\\]{height:150px}.h-\\[200px\\]{height:200px}.h-\\[60px\\]{height:60px}.h-\\[90vh\\]{height:90vh}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.w-28{width:7rem}.w-3{width:.75rem}.w-3\\/4{width:75%}.w-5\\/6{width:83.333333%}.w-6{width:1.5rem}.w-72{width:18rem}.w-8{width:2rem}.w-\\[100vw\\]{width:100vw}.w-\\[120px\\]{width:120px}.w-\\[150px\\]{width:150px}.w-\\[60px\\]{width:60px}.w-\\[64\\.7vw\\]{width:64.7vw}.w-\\[96\\%\\]{width:96%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[75\\%\\]{max-width:75%}.max-w-\\[90\\%\\]{max-width:90%}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-y-2{row-gap:.5rem}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[5px\\]{border-radius:5px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:.75rem}.rounded-l-\\[20px\\]{border-top-left-radius:20px;border-bottom-left-radius:20px}.rounded-l-xl{border-top-left-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-r-xl{border-top-right-radius:.75rem;border-bottom-right-radius:.75rem}.rounded-bl-2xl{border-bottom-left-radius:1rem}.rounded-bl-xl{border-bottom-left-radius:.75rem}.rounded-br-xl{border-bottom-right-radius:.75rem}.rounded-tr-\\[20px\\]{border-top-right-radius:20px}.rounded-tr-\\[5px\\]{border-top-right-radius:5px}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b-2{border-bottom-width:2px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-none{border-style:none}.border-\\[\\#C9C2DE\\]{--tw-border-opacity: 1;border-color:rgb(201 194 222 / var(--tw-border-opacity, 1))}.border-\\[\\#E5E5E5\\]{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.bg-\\[\\#553D94\\]{--tw-bg-opacity: 1;background-color:rgb(85 61 148 / var(--tw-bg-opacity, 1))}.bg-\\[\\#6851C6\\]{--tw-bg-opacity: 1;background-color:rgb(104 81 198 / var(--tw-bg-opacity, 1))}.bg-\\[\\#804C9E0D\\]{background-color:#804c9e0d}.bg-\\[\\#A21CAF\\]{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity, 1))}.bg-\\[\\#AB192D\\]{--tw-bg-opacity: 1;background-color:rgb(171 25 45 / var(--tw-bg-opacity, 1))}.bg-\\[\\#E2DBFF\\]{--tw-bg-opacity: 1;background-color:rgb(226 219 255 / var(--tw-bg-opacity, 1))}.bg-\\[\\#E3DEEF\\]{--tw-bg-opacity: 1;background-color:rgb(227 222 239 / var(--tw-bg-opacity, 1))}.bg-\\[\\#F3F3F3\\]{--tw-bg-opacity: 1;background-color:rgb(243 243 243 / var(--tw-bg-opacity, 1))}.bg-\\[\\#FFFFFF\\],.bg-\\[\\#ffffff\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-black\\/30{background-color:#0000004d}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity, 1))}.bg-popover{background-color:hsl(var(--popover))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\\/70{background-color:#ffffffb3}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\\.5{padding:.125rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\\[1px\\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pl-2{padding-left:.5rem}.pr-5{padding-right:1.25rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.font-nunitoSans{font-family:Nunito Sans}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[14px\\]{font-size:14px}.text-\\[15px\\]{font-size:15px}.text-\\[16px\\]{font-size:16px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm,.text-sm\\/5{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-\\[\\#000000\\]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-\\[\\#14121F\\]{--tw-text-opacity: 1;color:rgb(20 18 31 / var(--tw-text-opacity, 1))}.text-\\[\\#18181B\\]{--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity, 1))}.text-\\[\\#232323\\]{--tw-text-opacity: 1;color:rgb(35 35 35 / var(--tw-text-opacity, 1))}.text-\\[\\#323135\\]{--tw-text-opacity: 1;color:rgb(50 49 53 / var(--tw-text-opacity, 1))}.text-\\[\\#494949\\]{--tw-text-opacity: 1;color:rgb(73 73 73 / var(--tw-text-opacity, 1))}.text-\\[\\#555555\\]{--tw-text-opacity: 1;color:rgb(85 85 85 / var(--tw-text-opacity, 1))}.text-\\[\\#5B5B5B\\]{--tw-text-opacity: 1;color:rgb(91 91 91 / var(--tw-text-opacity, 1))}.text-\\[\\#68656E\\]{--tw-text-opacity: 1;color:rgb(104 101 110 / var(--tw-text-opacity, 1))}.text-\\[\\#959595\\]{--tw-text-opacity: 1;color:rgb(149 149 149 / var(--tw-text-opacity, 1))}.text-\\[\\#EC5050\\]{--tw-text-opacity: 1;color:rgb(236 80 80 / var(--tw-text-opacity, 1))}.text-\\[\\#FBFBFC\\]{--tw-text-opacity: 1;color:rgb(251 251 252 / var(--tw-text-opacity, 1))}.text-\\[\\#FFFFFF\\]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-green-900{--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity, 1))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-95{opacity:.95}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_2px_2px_0px_\\#9292BC40\\]{--tw-shadow: 0px 2px 2px 0px #9292BC40;--tw-shadow-colored: 0px 2px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_4px_10px_0px_\\#5F499840\\]{--tw-shadow: 0px 4px 10px 0px #5F499840;--tw-shadow-colored: 0px 4px 10px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.drop-shadow-xl{--tw-drop-shadow: drop-shadow(0 20px 13px rgb(0 0 0 / .03)) drop-shadow(0 8px 5px rgb(0 0 0 / .08));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@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))}}@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))}}.duration-150{animation-duration:.15s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}html,body,#root{margin:0;padding:0}:root{line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;padding:0}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.placeholder\\:text-red-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.placeholder\\:text-red-400::placeholder{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.hover\\:-translate-y-0\\.5:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:scale-125:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:text-\\[\\#6952C7\\]:hover{--tw-text-opacity: 1;color:rgb(105 82 199 / var(--tw-text-opacity, 1))}.hover\\:opacity-90:hover{opacity:.9}.hover\\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:shadow-sm:hover{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\\:border-transparent:focus{border-color:transparent}.focus\\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1))}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.group:hover .group-hover\\:opacity-100{opacity:1}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}@media(min-width:640px){.sm\\:col-span-10{grid-column:span 10 / span 10}.sm\\:col-span-2{grid-column:span 2 / span 2}.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:w-\\[80vw\\]{width:80vw}.sm\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:items-center{align-items:center}.sm\\:justify-start{justify-content:flex-start}}@media(min-width:768px){.md\\:h-\\[100vh\\]{height:100vh}.md\\:w-1\\/2{width:50%}.md\\:w-\\[770px\\]{width:770px}.md\\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}}@media(min-width:1024px){.lg\\:h-\\[100vh\\]{height:100vh}.lg\\:w-1\\/2{width:50%}.lg\\:w-2\\/3{width:66.666667%}.lg\\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\\:translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\\:transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\\:flex-row{flex-direction:row}.lg\\:rounded-l-xl{border-top-left-radius:.75rem;border-bottom-left-radius:.75rem}.lg\\:rounded-bl-xl{border-bottom-left-radius:.75rem}}';
14
+ const Mo = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-full{top:100%}.z-40{z-index:40}.z-50{z-index:50}.m-1{margin:.25rem}.m-3{margin:.75rem}.m-\\[15px\\]{margin:15px}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-1{margin-bottom:.25rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-24{margin-bottom:6rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mr-2{margin-right:.5rem}.mr-6{margin-right:1.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.h-20{height:5rem}.h-28{height:7rem}.h-3{height:.75rem}.h-6{height:1.5rem}.h-\\[120px\\]{height:120px}.h-\\[150px\\]{height:150px}.h-\\[200px\\]{height:200px}.h-\\[60px\\]{height:60px}.h-\\[90vh\\]{height:90vh}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.w-28{width:7rem}.w-3{width:.75rem}.w-3\\/4{width:75%}.w-5\\/6{width:83.333333%}.w-6{width:1.5rem}.w-72{width:18rem}.w-\\[100vw\\]{width:100vw}.w-\\[120px\\]{width:120px}.w-\\[150px\\]{width:150px}.w-\\[60px\\]{width:60px}.w-\\[64\\.7vw\\]{width:64.7vw}.w-\\[96\\%\\]{width:96%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[75\\%\\]{max-width:75%}.max-w-\\[90\\%\\]{max-width:90%}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-y-2{row-gap:.5rem}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[5px\\]{border-radius:5px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:.75rem}.rounded-l-\\[20px\\]{border-top-left-radius:20px;border-bottom-left-radius:20px}.rounded-l-xl{border-top-left-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-r-xl{border-top-right-radius:.75rem;border-bottom-right-radius:.75rem}.rounded-bl-2xl{border-bottom-left-radius:1rem}.rounded-bl-xl{border-bottom-left-radius:.75rem}.rounded-br-xl{border-bottom-right-radius:.75rem}.rounded-tr-\\[20px\\]{border-top-right-radius:20px}.rounded-tr-\\[5px\\]{border-top-right-radius:5px}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b-2{border-bottom-width:2px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-none{border-style:none}.border-\\[\\#C9C2DE\\]{--tw-border-opacity: 1;border-color:rgb(201 194 222 / var(--tw-border-opacity, 1))}.border-\\[\\#E5E5E5\\]{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.bg-\\[\\#553D94\\]{--tw-bg-opacity: 1;background-color:rgb(85 61 148 / var(--tw-bg-opacity, 1))}.bg-\\[\\#6851C6\\]{--tw-bg-opacity: 1;background-color:rgb(104 81 198 / var(--tw-bg-opacity, 1))}.bg-\\[\\#804C9E0D\\]{background-color:#804c9e0d}.bg-\\[\\#A21CAF\\]{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity, 1))}.bg-\\[\\#AB192D\\]{--tw-bg-opacity: 1;background-color:rgb(171 25 45 / var(--tw-bg-opacity, 1))}.bg-\\[\\#E2DBFF\\]{--tw-bg-opacity: 1;background-color:rgb(226 219 255 / var(--tw-bg-opacity, 1))}.bg-\\[\\#E3DEEF\\]{--tw-bg-opacity: 1;background-color:rgb(227 222 239 / var(--tw-bg-opacity, 1))}.bg-\\[\\#F3F3F3\\]{--tw-bg-opacity: 1;background-color:rgb(243 243 243 / var(--tw-bg-opacity, 1))}.bg-\\[\\#FFFFFF\\],.bg-\\[\\#ffffff\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-black\\/30{background-color:#0000004d}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity, 1))}.bg-popover{background-color:hsl(var(--popover))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\\/70{background-color:#ffffffb3}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\\.5{padding:.125rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\\[1px\\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pl-2{padding-left:.5rem}.pr-5{padding-right:1.25rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.font-nunitoSans{font-family:Nunito Sans}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[14px\\]{font-size:14px}.text-\\[15px\\]{font-size:15px}.text-\\[16px\\]{font-size:16px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm,.text-sm\\/5{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-\\[\\#000000\\]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-\\[\\#14121F\\]{--tw-text-opacity: 1;color:rgb(20 18 31 / var(--tw-text-opacity, 1))}.text-\\[\\#18181B\\]{--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity, 1))}.text-\\[\\#232323\\]{--tw-text-opacity: 1;color:rgb(35 35 35 / var(--tw-text-opacity, 1))}.text-\\[\\#323135\\]{--tw-text-opacity: 1;color:rgb(50 49 53 / var(--tw-text-opacity, 1))}.text-\\[\\#494949\\]{--tw-text-opacity: 1;color:rgb(73 73 73 / var(--tw-text-opacity, 1))}.text-\\[\\#555555\\]{--tw-text-opacity: 1;color:rgb(85 85 85 / var(--tw-text-opacity, 1))}.text-\\[\\#5B5B5B\\]{--tw-text-opacity: 1;color:rgb(91 91 91 / var(--tw-text-opacity, 1))}.text-\\[\\#68656E\\]{--tw-text-opacity: 1;color:rgb(104 101 110 / var(--tw-text-opacity, 1))}.text-\\[\\#959595\\]{--tw-text-opacity: 1;color:rgb(149 149 149 / var(--tw-text-opacity, 1))}.text-\\[\\#EC5050\\]{--tw-text-opacity: 1;color:rgb(236 80 80 / var(--tw-text-opacity, 1))}.text-\\[\\#FBFBFC\\]{--tw-text-opacity: 1;color:rgb(251 251 252 / var(--tw-text-opacity, 1))}.text-\\[\\#FFFFFF\\]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-green-900{--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity, 1))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-95{opacity:.95}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_2px_2px_0px_\\#9292BC40\\]{--tw-shadow: 0px 2px 2px 0px #9292BC40;--tw-shadow-colored: 0px 2px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_4px_10px_0px_\\#5F499840\\]{--tw-shadow: 0px 4px 10px 0px #5F499840;--tw-shadow-colored: 0px 4px 10px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.drop-shadow-xl{--tw-drop-shadow: drop-shadow(0 20px 13px rgb(0 0 0 / .03)) drop-shadow(0 8px 5px rgb(0 0 0 / .08));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@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))}}@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))}}.duration-150{animation-duration:.15s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}html,body,#root{margin:0;padding:0}:root{line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;padding:0}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.placeholder\\:text-red-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.placeholder\\:text-red-400::placeholder{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.hover\\:-translate-y-0\\.5:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:scale-125:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:text-\\[\\#6952C7\\]:hover{--tw-text-opacity: 1;color:rgb(105 82 199 / var(--tw-text-opacity, 1))}.hover\\:opacity-90:hover{opacity:.9}.hover\\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:shadow-sm:hover{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\\:border-transparent:focus{border-color:transparent}.focus\\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1))}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.group:hover .group-hover\\:opacity-100{opacity:1}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}@media(min-width:640px){.sm\\:col-span-10{grid-column:span 10 / span 10}.sm\\:col-span-2{grid-column:span 2 / span 2}.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:w-\\[80vw\\]{width:80vw}.sm\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:items-center{align-items:center}.sm\\:justify-start{justify-content:flex-start}}@media(min-width:768px){.md\\:h-\\[100vh\\]{height:100vh}.md\\:w-1\\/2{width:50%}.md\\:w-\\[770px\\]{width:770px}.md\\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}}@media(min-width:1024px){.lg\\:h-\\[100vh\\]{height:100vh}.lg\\:w-1\\/2{width:50%}.lg\\:w-2\\/3{width:66.666667%}.lg\\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\\:translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\\:transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\\:flex-row{flex-direction:row}.lg\\:rounded-l-xl{border-top-left-radius:.75rem;border-bottom-left-radius:.75rem}.lg\\:rounded-bl-xl{border-bottom-left-radius:.75rem}}';
15
15
  function ri() {
16
16
  return be(() => {
17
17
  if (typeof document < "u") {
@@ -74,7 +74,7 @@ const Bo = {
74
74
  e.product = t.payload;
75
75
  }
76
76
  }
77
- }), { setProduct: dr } = En.actions, Ro = En.reducer, Ho = Do({
77
+ }), { setProduct: dr } = En.actions, Ro = En.reducer, Ho = Lo({
78
78
  reducer: {
79
79
  store: Uo,
80
80
  product: Ro
@@ -241,8 +241,8 @@ const Zo = ({
241
241
  (l) => l - r < 0 ? e.length - (e.length % r || r) : l - r
242
242
  );
243
243
  }, c = async (l) => {
244
- const h = await jn(l);
245
- t(dr(h));
244
+ const p = await jn(l);
245
+ t(dr(p));
246
246
  };
247
247
  return /* @__PURE__ */ a("div", { className: "mt-2 overflow-x-hidden", children: /* @__PURE__ */ d("div", { className: "flex items-center justify-center gap-4 relative", children: [
248
248
  (e == null ? void 0 : e.length) > r && /* @__PURE__ */ a(
@@ -259,7 +259,7 @@ const Zo = ({
259
259
  }
260
260
  ),
261
261
  /* @__PURE__ */ a("div", { className: "flex gap-5 justify-center flex-1 overflow-hidden", children: e.slice(n, n + r).map((l) => {
262
- var h, g, y, x;
262
+ var p, g, y, x;
263
263
  return /* @__PURE__ */ d(
264
264
  "div",
265
265
  {
@@ -271,7 +271,7 @@ const Zo = ({
271
271
  /* @__PURE__ */ a("div", { className: "w-full p-2 flex items-center justify-center bg-white", children: /* @__PURE__ */ a(
272
272
  "img",
273
273
  {
274
- src: ((h = Vr(l)[0]) == null ? void 0 : h.link) || Vr(l)[0] || // fallback if it's a string
274
+ src: ((p = Vr(l)[0]) == null ? void 0 : p.link) || Vr(l)[0] || // fallback if it's a string
275
275
  "https://via.placeholder.com/120",
276
276
  alt: l != null && l.productName ? l.productName : "Product",
277
277
  className: "w-28 h-28 rounded-[10px] transition-transform duration-300 hover:scale-125 object-cover"
@@ -407,7 +407,7 @@ const Zo = ({
407
407
  i.response || i.message
408
408
  ) : console.error("Unexpected error:", i), null;
409
409
  }
410
- }, Dn = async ({
410
+ }, Ln = async ({
411
411
  basketId: e,
412
412
  customer_token: t
413
413
  }) => {
@@ -427,7 +427,7 @@ const Zo = ({
427
427
  } catch (i) {
428
428
  return ge.isAxiosError(i) ? { status: (s = i.response) == null ? void 0 : s.status, data: null } : { status: null, data: null };
429
429
  }
430
- }, Kt = "sfcc_basket_id", Kr = "sfcc_customer_token", Et = "sfcc_token_expiry", ta = 300 * 1e3, Lt = "1.0.0";
430
+ }, Kt = "sfcc_basket_id", Kr = "sfcc_customer_token", Et = "sfcc_token_expiry", ta = 300 * 1e3, Dt = "1.0.0";
431
431
  const it = (e) => {
432
432
  try {
433
433
  e ? localStorage.setItem(Kt, e) : localStorage.removeItem(Kt);
@@ -446,13 +446,13 @@ const it = (e) => {
446
446
  console.error("Error storing token:", t);
447
447
  }
448
448
  }, Wr = 300, ra = ({ addToCartPwa: e }) => {
449
- var l, h, g, y, x, S;
449
+ var l, p, g, y, x, S;
450
450
  const t = In(), r = Yt((_) => _.product.product), n = Yt((_) => _.store.store), [o, s] = C(!!r);
451
451
  if (be(() => {
452
452
  s(!!r);
453
453
  }, [r]), !r) return null;
454
454
  const i = async () => {
455
- var _, F, N, P, R, w, V, je, E, H, we, ae, Q, Pe, $e, pe;
455
+ var _, F, N, P, R, w, V, je, E, H, we, ae, Q, Pe, $e, he;
456
456
  try {
457
457
  if (!((F = (_ = r == null ? void 0 : r.variants) == null ? void 0 : _[0]) != null && F.product_id) && !(r.type.item || r.type.bundle) && !((P = (N = r == null ? void 0 : r.variants) == null ? void 0 : N[0]) != null && P.productId)) {
458
458
  Me.error("Variants not available", {
@@ -461,7 +461,7 @@ const it = (e) => {
461
461
  }), console.error("No product variant found");
462
462
  return;
463
463
  }
464
- const L = [
464
+ const D = [
465
465
  {
466
466
  product_id: ((R = r.variants) == null ? void 0 : R[0].product_id) || ((w = r.variants) == null ? void 0 : w[0].productId) || (r == null ? void 0 : r.id),
467
467
  quantity: 1
@@ -477,14 +477,14 @@ const it = (e) => {
477
477
  }
478
478
  const ft = ve + 300 * 1e3;
479
479
  if (Wt(_e), localStorage.setItem(Et, ft.toString()), q) {
480
- const Te = await Dn({
480
+ const Te = await Ln({
481
481
  basketId: q,
482
482
  customer_token: _e
483
483
  });
484
484
  if (Te.status === 200 && Te) {
485
485
  const Ie = await fr(
486
486
  q,
487
- L,
487
+ D,
488
488
  _e
489
489
  );
490
490
  (((V = Ie == null ? void 0 : Ie.product_items) == null ? void 0 : V.length) > 0 || ((je = Ie == null ? void 0 : Ie.productItems) == null ? void 0 : je.length) > 0) && (Me.success("Added to cart", {
@@ -515,7 +515,7 @@ const it = (e) => {
515
515
  ), console.log("adding product to basket");
516
516
  const le = await fr(
517
517
  (M == null ? void 0 : M.basket_id) || (M == null ? void 0 : M.basketId),
518
- L,
518
+ D,
519
519
  _e
520
520
  );
521
521
  console.log("object added to basket"), (((we = le == null ? void 0 : le.product_items) == null ? void 0 : we.length) > 0 || ((ae = le == null ? void 0 : le.productItems) == null ? void 0 : ae.length) > 0) && Me.success("Added to cart", {
@@ -527,12 +527,12 @@ const it = (e) => {
527
527
  draggable: !0
528
528
  }), Jt(M.basket_id || (M == null ? void 0 : M.basketId));
529
529
  }
530
- } catch (L) {
531
- console.error("Error adding to cart:", L), Me.error("Failed to add product to cart", {
530
+ } catch (D) {
531
+ console.error("Error adding to cart:", D), Me.error("Failed to add product to cart", {
532
532
  position: "bottom-right",
533
533
  autoClose: 3e3
534
- }), ((Q = L == null ? void 0 : L.response) == null ? void 0 : Q.status) === 404 || // Basket not found
535
- ((Pe = L == null ? void 0 : L.response) == null ? void 0 : Pe.status) === 401 ? ((($e = L == null ? void 0 : L.response) == null ? void 0 : $e.status) === 404 && it(null), ((pe = L == null ? void 0 : L.response) == null ? void 0 : pe.status) === 401 && (it(null), Wt(null))) : (console.error("Failed to add product to basket:", L.message), Me.error("Failed to add product to cart", {
534
+ }), ((Q = D == null ? void 0 : D.response) == null ? void 0 : Q.status) === 404 || // Basket not found
535
+ ((Pe = D == null ? void 0 : D.response) == null ? void 0 : Pe.status) === 401 ? ((($e = D == null ? void 0 : D.response) == null ? void 0 : $e.status) === 404 && it(null), ((he = D == null ? void 0 : D.response) == null ? void 0 : he.status) === 401 && (it(null), Wt(null))) : (console.error("Failed to add product to basket:", D.message), Me.error("Failed to add product to cart", {
536
536
  position: "bottom-right",
537
537
  autoClose: 3e3
538
538
  }));
@@ -583,7 +583,7 @@ const it = (e) => {
583
583
  /* @__PURE__ */ a("div", { className: "flex flex-row items-center justify-center w-[120px] h-[120px] my-5", children: /* @__PURE__ */ a(
584
584
  "img",
585
585
  {
586
- src: (y = (g = (h = (l = r.imageGroups) == null ? void 0 : l[0]) == null ? void 0 : h.images) == null ? void 0 : g[0]) == null ? void 0 : y.link,
586
+ src: (y = (g = (p = (l = r.imageGroups) == null ? void 0 : l[0]) == null ? void 0 : p.images) == null ? void 0 : g[0]) == null ? void 0 : y.link,
587
587
  alt: r.name,
588
588
  className: "rounded-[10px]"
589
589
  }
@@ -646,7 +646,7 @@ const it = (e) => {
646
646
  /* @__PURE__ */ a("div", { className: "mt-2 flex flex-row items-center gap-2", children: Array.from({ length: 5 }).map((_, F) => {
647
647
  var N;
648
648
  return /* @__PURE__ */ a(
649
- Lo,
649
+ Do,
650
650
  {
651
651
  icon: "mdi:star",
652
652
  width: "20",
@@ -709,14 +709,14 @@ const it = (e) => {
709
709
  "Niece/Nephew": "his/her niece/nephew",
710
710
  "My Friends": "his/her friends",
711
711
  Others: "others"
712
- }, s = Re(null), i = Re(null), c = Re(null), l = Re(null), [h, g] = C(null);
712
+ }, s = Re(null), i = Re(null), c = Re(null), l = Re(null), [p, g] = C(null);
713
713
  Re(null);
714
714
  const [y, x] = C(!1), [S, _] = C(!1), [F, N] = C(!1), [P, R] = C(!1), [w, V] = C(!1), [je, E] = C(!1), [H, we] = C(""), [ae, Q] = C(""), Pe = (m) => ({
715
715
  id: m.id,
716
716
  title: m.name,
717
717
  image: m.image ?? "",
718
718
  price: m.price ?? 0
719
- }), [$e, pe] = C([]), L = Re(null), O = Yt((m) => m.store.store), q = Yt((m) => m.product.product);
719
+ }), [$e, he] = C([]), D = Re(null), O = Yt((m) => m.store.store), q = Yt((m) => m.product.product);
720
720
  be(() => {
721
721
  const m = localStorage.getItem(
722
722
  `access_token_${e.siteId}`
@@ -725,7 +725,7 @@ const it = (e) => {
725
725
  );
726
726
  if (m && j === m) {
727
727
  const $ = localStorage.getItem("chatHistory");
728
- $ && pe(JSON.parse($));
728
+ $ && he(JSON.parse($));
729
729
  } else
730
730
  localStorage.setItem("chatHistory", JSON.stringify([])), localStorage.setItem(
731
731
  `chat-token-${e.siteId}`,
@@ -750,8 +750,8 @@ const it = (e) => {
750
750
  Q(o[m]);
751
751
  };
752
752
  be(() => {
753
- F && L.current && L.current.scrollTo({
754
- top: L.current.scrollHeight,
753
+ F && D.current && D.current.scrollTo({
754
+ top: D.current.scrollHeight,
755
755
  behavior: "smooth"
756
756
  });
757
757
  }, [$e, F]);
@@ -774,11 +774,11 @@ const it = (e) => {
774
774
  ).customerId;
775
775
  return (await Wo(m || "")).c_interests;
776
776
  }, le = async (m, j) => {
777
- console.log("in secondary flow", Lt);
777
+ console.log("in secondary flow", Dt);
778
778
  const $ = await M();
779
- if (console.log($, "interests of customer", Lt), !!$)
779
+ if (console.log($, "interests of customer", Dt), !!$)
780
780
  try {
781
- pe(
781
+ he(
782
782
  (Z) => Z.map(
783
783
  (W, Ne) => Ne === Z.length - 1 ? { ...W, secondaryLoading: !0 } : W
784
784
  )
@@ -788,7 +788,7 @@ const it = (e) => {
788
788
  const z = localStorage.getItem("customerNumber"), A = localStorage.getItem("isLoggedIn"), B = `https://tanya.aspiresystems.com/api/bedrock/invoke/stream?${new URLSearchParams({
789
789
  registered: String(A || !1),
790
790
  userId: String(z || (/* @__PURE__ */ new Date()).getTime())
791
- }).toString()}`, D = JSON.stringify({
791
+ }).toString()}`, L = JSON.stringify({
792
792
  flowId: "Q166PR519W",
793
793
  flowAliasId: "HKFUVLWVH2",
794
794
  input: {
@@ -804,13 +804,13 @@ const it = (e) => {
804
804
  "Content-Type": "application/json",
805
805
  Authorization: `Bearer ${Y}`
806
806
  },
807
- body: D
807
+ body: L
808
808
  });
809
809
  if (!X.body) throw new Error("Readable stream not supported");
810
- const ne = X.body.getReader(), ke = new TextDecoder();
810
+ const re = X.body.getReader(), ke = new TextDecoder();
811
811
  let Se = "";
812
812
  for (; ; ) {
813
- const { done: Z, value: W } = await ne.read();
813
+ const { done: Z, value: W } = await re.read();
814
814
  if (Z) break;
815
815
  Se += ke.decode(W, { stream: !0 });
816
816
  const Ne = Se.split(`
@@ -821,7 +821,7 @@ const it = (e) => {
821
821
  const k = ee.slice(5).trim();
822
822
  try {
823
823
  const J = JSON.parse(k);
824
- J.index === 0 && pe(
824
+ J.index === 0 && he(
825
825
  (G) => G.map(
826
826
  (de, Ce) => Ce === G.length - 1 ? {
827
827
  ...de,
@@ -831,7 +831,7 @@ const it = (e) => {
831
831
  )
832
832
  );
833
833
  } catch (J) {
834
- pe(
834
+ he(
835
835
  (G) => G.map(
836
836
  (de, Ce) => Ce === G.length - 1 ? { ...de, secondaryLoading: !1 } : de
837
837
  )
@@ -845,7 +845,7 @@ const it = (e) => {
845
845
  }, Te = async (m) => {
846
846
  const j = m || H.trim();
847
847
  if (j) {
848
- V(!0), we(""), s.current = null, i.current = null, c.current = null, l.current = null, pe(($) => [
848
+ V(!0), we(""), s.current = null, i.current = null, c.current = null, l.current = null, he(($) => [
849
849
  ...$,
850
850
  {
851
851
  query: j,
@@ -862,7 +862,7 @@ const it = (e) => {
862
862
  const B = `https://tanya.aspiresystems.com/api/bedrock/invoke/stream?${new URLSearchParams({
863
863
  registered: String(z || !1),
864
864
  userId: String(Y || (/* @__PURE__ */ new Date()).getTime())
865
- }).toString()}`, D = JSON.stringify({
865
+ }).toString()}`, L = JSON.stringify({
866
866
  flowId: "MMHQKYI1NE",
867
867
  flowAliasId: "SZF9ZK1ATE",
868
868
  input: {
@@ -876,16 +876,16 @@ const it = (e) => {
876
876
  "Content-Type": "application/json",
877
877
  Authorization: `Bearer ${A}`
878
878
  },
879
- body: D
879
+ body: L
880
880
  });
881
881
  if (!X.ok)
882
882
  throw new Error(`HTTP error! status: ${X.status}`);
883
883
  if (!X.body) throw new Error("Readable stream not supported");
884
- const ne = X.body.getReader(), ke = new TextDecoder();
884
+ const re = X.body.getReader(), ke = new TextDecoder();
885
885
  let Se = "", Z = "";
886
886
  for (; ; ) {
887
887
  E(!0);
888
- const { done: W, value: Ne } = await ne.read();
888
+ const { done: W, value: Ne } = await re.read();
889
889
  if (W) break;
890
890
  Se += ke.decode(Ne, { stream: !0 });
891
891
  const ee = Se.split(`
@@ -896,7 +896,7 @@ const it = (e) => {
896
896
  const J = k.slice(5).trim();
897
897
  try {
898
898
  const G = JSON.parse(J);
899
- G.index == 1 && (Z = G.data), pe(
899
+ G.index == 1 && (Z = G.data), he(
900
900
  (de) => de.map(
901
901
  (Ce, et) => et === de.length - 1 ? {
902
902
  ...Ce,
@@ -927,21 +927,21 @@ const it = (e) => {
927
927
  E(!0);
928
928
  try {
929
929
  const A = await Promise.all(
930
- j.map((D) => Ko(D).catch(() => []))
930
+ j.map((L) => Ko(L).catch(() => []))
931
931
  // prevent Promise.all crash
932
- ), ce = j.map((D, X) => ({
933
- keyword: D,
932
+ ), ce = j.map((L, X) => ({
933
+ keyword: L,
934
934
  items: A[X] ?? [],
935
935
  loading: !1
936
- })).filter((D) => D.items.length > 0), B = (Y = ($ = ce[0]) == null ? void 0 : $.items) == null ? void 0 : Y[0];
936
+ })).filter((L) => L.items.length > 0), B = (Y = ($ = ce[0]) == null ? void 0 : $.items) == null ? void 0 : Y[0];
937
937
  if (B) {
938
938
  i.current = B.product_id, s.current = B.product_name, c.current = (z = B.image) == null ? void 0 : z.link;
939
- const D = typeof B.price == "number" ? B.price : null;
940
- l.current = D;
939
+ const L = typeof B.price == "number" ? B.price : null;
940
+ l.current = L;
941
941
  }
942
- if (pe(
943
- (D) => D.map(
944
- (X, ne) => ne === D.length - 1 ? {
942
+ if (he(
943
+ (L) => L.map(
944
+ (X, re) => re === L.length - 1 ? {
945
945
  ...X,
946
946
  products: ce,
947
947
  productSnapshot: B ? {
@@ -955,10 +955,10 @@ const it = (e) => {
955
955
  } : X
956
956
  )
957
957
  ), B) {
958
- const D = JSON.parse(
958
+ const L = JSON.parse(
959
959
  sessionStorage.getItem("customerData") || "{}"
960
960
  );
961
- D != null && D.isGuest || (console.log("running secondary flow", Lt), le(s.current, 0));
961
+ L != null && L.isGuest || (console.log("running secondary flow", Dt), le(s.current, 0));
962
962
  }
963
963
  } catch (A) {
964
964
  console.error("error in keyword search", A);
@@ -966,7 +966,7 @@ const it = (e) => {
966
966
  E(!1);
967
967
  }
968
968
  }, er = async (m, j) => {
969
- var $, Y, z, A, ce, B, D, X, ne, ke, Se, Z, W, Ne, ee;
969
+ var $, Y, z, A, ce, B, L, X, re, ke, Se, Z, W, Ne, ee;
970
970
  R(!0);
971
971
  try {
972
972
  const k = await jn(m.id);
@@ -983,7 +983,7 @@ const it = (e) => {
983
983
  quantity: j
984
984
  }
985
985
  ];
986
- console.log(J, "product data", "app version", Lt);
986
+ console.log(J, "product data", "app version", Dt);
987
987
  const G = JSON.parse(
988
988
  sessionStorage.getItem("customerData") || "{}"
989
989
  ), de = (G == null ? void 0 : G.basketId) || localStorage.getItem(Kt), Ce = !1, et = localStorage.getItem(Et), mt = Date.now();
@@ -992,13 +992,13 @@ const it = (e) => {
992
992
  let { customer_token: Be } = await An(
993
993
  At
994
994
  );
995
- if (Be = "Bearer " + h.access_token, !Be) {
995
+ if (Be = "Bearer " + p.access_token, !Be) {
996
996
  console.error("Failed to get customer_token");
997
997
  return;
998
998
  }
999
999
  const jt = mt + 300 * 1e3;
1000
1000
  if (Wt(Be), localStorage.setItem(Et, jt.toString()), console.log(de, "basketIdFromCustomer"), de) {
1001
- const tt = await Dn({
1001
+ const tt = await Ln({
1002
1002
  basketId: de,
1003
1003
  customer_token: Be
1004
1004
  });
@@ -1008,7 +1008,7 @@ const it = (e) => {
1008
1008
  J,
1009
1009
  Be
1010
1010
  );
1011
- ((D = kt == null ? void 0 : kt.product_items) == null ? void 0 : D.length) > 0 && (Me.success("Added to cart", {
1011
+ ((L = kt == null ? void 0 : kt.product_items) == null ? void 0 : L.length) > 0 && (Me.success("Added to cart", {
1012
1012
  position: "bottom-right",
1013
1013
  autoClose: 3e3,
1014
1014
  hideProgressBar: !1,
@@ -1019,14 +1019,14 @@ const it = (e) => {
1019
1019
  return;
1020
1020
  }
1021
1021
  }
1022
- const pt = {
1022
+ const ht = {
1023
1023
  productItems: [
1024
1024
  {
1025
- productId: ((X = k.variants) == null ? void 0 : X[0].product_id) || ((ne = k.variants) == null ? void 0 : ne[0].productId) || (k == null ? void 0 : k.id),
1025
+ productId: ((X = k.variants) == null ? void 0 : X[0].product_id) || ((re = k.variants) == null ? void 0 : re[0].productId) || (k == null ? void 0 : k.id),
1026
1026
  quantity: 1
1027
1027
  }
1028
1028
  ]
1029
- }, I = await $n(Be, pt);
1029
+ }, I = await $n(Be, ht);
1030
1030
  if (console.log(
1031
1031
  I,
1032
1032
  I == null ? void 0 : I.basket_id,
@@ -1039,14 +1039,14 @@ const it = (e) => {
1039
1039
  it(
1040
1040
  (I == null ? void 0 : I.basket_id) || (I == null ? void 0 : I.basketId)
1041
1041
  );
1042
- const De = await r(
1042
+ const Le = await r(
1043
1043
  {
1044
1044
  productId: i,
1045
1045
  quantity: j
1046
1046
  },
1047
1047
  (I == null ? void 0 : I.basket_id) || (I == null ? void 0 : I.basketId)
1048
1048
  );
1049
- (((ke = De == null ? void 0 : De.product_items) == null ? void 0 : ke.length) > 0 || ((Se = De == null ? void 0 : De.productItems) == null ? void 0 : Se.length) > 0) && Me.success("Added to cart", {
1049
+ (((ke = Le == null ? void 0 : Le.product_items) == null ? void 0 : ke.length) > 0 || ((Se = Le == null ? void 0 : Le.productItems) == null ? void 0 : Se.length) > 0) && Me.success("Added to cart", {
1050
1050
  position: "bottom-right",
1051
1051
  autoClose: 3e3,
1052
1052
  hideProgressBar: !1,
@@ -1282,7 +1282,7 @@ const it = (e) => {
1282
1282
  /* @__PURE__ */ d(
1283
1283
  "div",
1284
1284
  {
1285
- ref: L,
1285
+ ref: D,
1286
1286
  className: "overflow-y-auto pr-5 pb-2 space-y-4 hide-scrollbar flex-grow mb-24",
1287
1287
  children: [
1288
1288
  (O == null ? void 0 : O.whomRequired) && /* @__PURE__ */ d(
@@ -1465,7 +1465,7 @@ const it = (e) => {
1465
1465
  "button",
1466
1466
  {
1467
1467
  className: "px-3 py-1 text-sm",
1468
- onClick: () => pe(
1468
+ onClick: () => he(
1469
1469
  (z) => z.map(
1470
1470
  (A, ce) => ce === j && A.productSnapshot ? {
1471
1471
  ...A,
@@ -1491,7 +1491,7 @@ const it = (e) => {
1491
1491
  "button",
1492
1492
  {
1493
1493
  className: "px-3 py-1 text-sm",
1494
- onClick: () => pe(
1494
+ onClick: () => he(
1495
1495
  (z) => z.map(
1496
1496
  (A, ce) => ce === j && A.productSnapshot ? {
1497
1497
  ...A,
@@ -1648,7 +1648,7 @@ function aa(e, t) {
1648
1648
  }
1649
1649
  var nr = "Invariant Violation", Gr = Object.setPrototypeOf, sa = Gr === void 0 ? function(e, t) {
1650
1650
  return e.__proto__ = t, e;
1651
- } : Gr, Ln = (
1651
+ } : Gr, Dn = (
1652
1652
  /** @class */
1653
1653
  (function(e) {
1654
1654
  oa(t, e);
@@ -1662,7 +1662,7 @@ var nr = "Invariant Violation", Gr = Object.setPrototypeOf, sa = Gr === void 0 ?
1662
1662
  );
1663
1663
  function st(e, t) {
1664
1664
  if (!e)
1665
- throw new Ln(t);
1665
+ throw new Dn(t);
1666
1666
  }
1667
1667
  var zn = ["debug", "log", "warn", "error", "silent"], ia = zn.indexOf("log");
1668
1668
  function zt(e) {
@@ -1683,7 +1683,7 @@ function wt(e) {
1683
1683
  } catch {
1684
1684
  }
1685
1685
  }
1686
- const pr = wt(function() {
1686
+ const hr = wt(function() {
1687
1687
  return globalThis;
1688
1688
  }) || wt(function() {
1689
1689
  return window;
@@ -1735,7 +1735,7 @@ var or = Object.assign(function(t, r) {
1735
1735
  function Bn(e) {
1736
1736
  for (var t = [], r = 1; r < arguments.length; r++)
1737
1737
  t[r - 1] = arguments[r];
1738
- return new Ln(kr(e, t) || Sr(e, t));
1738
+ return new Dn(kr(e, t) || Sr(e, t));
1739
1739
  }
1740
1740
  var Xr = Symbol.for("ApolloErrorMessageHandler_" + Mn);
1741
1741
  function Un(e) {
@@ -1749,7 +1749,7 @@ function Un(e) {
1749
1749
  }
1750
1750
  function kr(e, t) {
1751
1751
  if (t === void 0 && (t = []), !!e)
1752
- return pr[Xr] && pr[Xr](e, t.map(Un));
1752
+ return hr[Xr] && hr[Xr](e, t.map(Un));
1753
1753
  }
1754
1754
  function Sr(e, t) {
1755
1755
  if (t === void 0 && (t = []), !!e)
@@ -1867,10 +1867,10 @@ Array[ar] || (function(e) {
1867
1867
  }
1868
1868
  })(fa()), { bind: ai, noContext: si } = Nr;
1869
1869
  new Nr();
1870
- function pa(e, t) {
1870
+ function ha(e, t) {
1871
1871
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1872
1872
  if (r) return (r = r.call(e)).next.bind(r);
1873
- if (Array.isArray(e) || (r = ha(e)) || t) {
1873
+ if (Array.isArray(e) || (r = pa(e)) || t) {
1874
1874
  r && (e = r);
1875
1875
  var n = 0;
1876
1876
  return function() {
@@ -1880,7 +1880,7 @@ function pa(e, t) {
1880
1880
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1881
1881
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1882
1882
  }
1883
- function ha(e, t) {
1883
+ function pa(e, t) {
1884
1884
  if (e) {
1885
1885
  if (typeof e == "string") return rn(e, t);
1886
1886
  var r = Object.prototype.toString.call(e).slice(8, -1);
@@ -1911,7 +1911,7 @@ var _r = function() {
1911
1911
  return Ir(e) ? Symbol[e] : "@@" + e;
1912
1912
  };
1913
1913
  _r() && !Ir("observable") && (Symbol.observable = Symbol("observable"));
1914
- var ga = Fr("iterator"), hr = Fr("observable"), qn = Fr("species");
1914
+ var ga = Fr("iterator"), pr = Fr("observable"), qn = Fr("species");
1915
1915
  function Gt(e, t) {
1916
1916
  var r = e[t];
1917
1917
  if (r != null) {
@@ -2069,9 +2069,9 @@ var xa = /* @__PURE__ */ (function() {
2069
2069
  l.unsubscribe(), s();
2070
2070
  }
2071
2071
  var l = o.subscribe({
2072
- next: function(h) {
2072
+ next: function(p) {
2073
2073
  try {
2074
- n(h, c);
2074
+ n(p, c);
2075
2075
  } catch (g) {
2076
2076
  i(g), l.unsubscribe();
2077
2077
  }
@@ -2127,26 +2127,26 @@ var xa = /* @__PURE__ */ (function() {
2127
2127
  }, t.reduce = function(n) {
2128
2128
  var o = this;
2129
2129
  if (typeof n != "function") throw new TypeError(n + " is not a function");
2130
- var s = _t(this), i = arguments.length > 1, c = !1, l = arguments[1], h = l;
2130
+ var s = _t(this), i = arguments.length > 1, c = !1, l = arguments[1], p = l;
2131
2131
  return new s(function(g) {
2132
2132
  return o.subscribe({
2133
2133
  next: function(y) {
2134
2134
  var x = !c;
2135
2135
  if (c = !0, !x || i)
2136
2136
  try {
2137
- h = n(h, y);
2137
+ p = n(p, y);
2138
2138
  } catch (S) {
2139
2139
  return g.error(S);
2140
2140
  }
2141
2141
  else
2142
- h = y;
2142
+ p = y;
2143
2143
  },
2144
2144
  error: function(y) {
2145
2145
  g.error(y);
2146
2146
  },
2147
2147
  complete: function() {
2148
2148
  if (!c && !i) return g.error(new TypeError("Cannot reduce an empty sequence"));
2149
- g.next(h), g.complete();
2149
+ g.next(p), g.complete();
2150
2150
  }
2151
2151
  });
2152
2152
  });
@@ -2155,9 +2155,9 @@ var xa = /* @__PURE__ */ (function() {
2155
2155
  s[i] = arguments[i];
2156
2156
  var c = _t(this);
2157
2157
  return new c(function(l) {
2158
- var h, g = 0;
2158
+ var p, g = 0;
2159
2159
  function y(x) {
2160
- h = x.subscribe({
2160
+ p = x.subscribe({
2161
2161
  next: function(S) {
2162
2162
  l.next(S);
2163
2163
  },
@@ -2165,12 +2165,12 @@ var xa = /* @__PURE__ */ (function() {
2165
2165
  l.error(S);
2166
2166
  },
2167
2167
  complete: function() {
2168
- g === s.length ? (h = void 0, l.complete()) : y(c.from(s[g++]));
2168
+ g === s.length ? (p = void 0, l.complete()) : y(c.from(s[g++]));
2169
2169
  }
2170
2170
  });
2171
2171
  }
2172
2172
  return y(n), function() {
2173
- h && (h.unsubscribe(), h = void 0);
2173
+ p && (p.unsubscribe(), p = void 0);
2174
2174
  };
2175
2175
  });
2176
2176
  }, t.flatMap = function(n) {
@@ -2195,7 +2195,7 @@ var xa = /* @__PURE__ */ (function() {
2195
2195
  },
2196
2196
  complete: function() {
2197
2197
  var x = c.indexOf(y);
2198
- x >= 0 && c.splice(x, 1), h();
2198
+ x >= 0 && c.splice(x, 1), p();
2199
2199
  }
2200
2200
  });
2201
2201
  c.push(y);
@@ -2204,10 +2204,10 @@ var xa = /* @__PURE__ */ (function() {
2204
2204
  i.error(g);
2205
2205
  },
2206
2206
  complete: function() {
2207
- h();
2207
+ p();
2208
2208
  }
2209
2209
  });
2210
- function h() {
2210
+ function p() {
2211
2211
  l.closed && c.length === 0 && i.complete();
2212
2212
  }
2213
2213
  return function() {
@@ -2216,12 +2216,12 @@ var xa = /* @__PURE__ */ (function() {
2216
2216
  }), l.unsubscribe();
2217
2217
  };
2218
2218
  });
2219
- }, t[hr] = function() {
2219
+ }, t[pr] = function() {
2220
2220
  return this;
2221
2221
  }, e.from = function(n) {
2222
2222
  var o = typeof this == "function" ? this : e;
2223
2223
  if (n == null) throw new TypeError(n + " is not an object");
2224
- var s = Gt(n, hr);
2224
+ var s = Gt(n, pr);
2225
2225
  if (s) {
2226
2226
  var i = s.call(n);
2227
2227
  if (Object(i) !== i) throw new TypeError(i + " is not an object");
@@ -2233,8 +2233,8 @@ var xa = /* @__PURE__ */ (function() {
2233
2233
  return new o(function(c) {
2234
2234
  Ut(function() {
2235
2235
  if (!c.closed) {
2236
- for (var l = pa(s.call(n)), h; !(h = l()).done; ) {
2237
- var g = h.value;
2236
+ for (var l = ha(s.call(n)), p; !(p = l()).done; ) {
2237
+ var g = p.value;
2238
2238
  if (c.next(g), c.closed) return;
2239
2239
  }
2240
2240
  c.complete();
@@ -2274,7 +2274,7 @@ var xa = /* @__PURE__ */ (function() {
2274
2274
  })();
2275
2275
  _r() && Object.defineProperty(me, Symbol("extensions"), {
2276
2276
  value: {
2277
- symbol: hr,
2277
+ symbol: pr,
2278
2278
  hostReportError: xt
2279
2279
  },
2280
2280
  configurable: !0
@@ -2339,7 +2339,7 @@ function Na(e) {
2339
2339
  };
2340
2340
  return t.operationName || (t.operationName = typeof t.query != "string" ? da(t.query) || void 0 : ""), t;
2341
2341
  }
2342
- var Ca = Symbol.for("apollo.deprecations"), _a = pr, Ia = new Nr();
2342
+ var Ca = Symbol.for("apollo.deprecations"), _a = hr, Ia = new Nr();
2343
2343
  function Fa(e) {
2344
2344
  return _a[Ca] || (Ia.getValue() || []).includes(e);
2345
2345
  }
@@ -2468,7 +2468,7 @@ const Ea = async () => {
2468
2468
  const { tanyaConfig: t } = e;
2469
2469
  return /* @__PURE__ */ a(jo, { client: $a, children: /* @__PURE__ */ a(Vo, { children: /* @__PURE__ */ a(na, { tanyaConfig: t }) }) });
2470
2470
  };
2471
- function Da(e, t) {
2471
+ function La(e, t) {
2472
2472
  const r = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
2473
2473
  function s(i) {
2474
2474
  if (r[i]) return o[i] = [];
@@ -2498,14 +2498,14 @@ const Yn = Object.freeze({
2498
2498
  body: "",
2499
2499
  hidden: !1
2500
2500
  });
2501
- function La(e, t) {
2501
+ function Da(e, t) {
2502
2502
  const r = {};
2503
2503
  !e.hFlip != !t.hFlip && (r.hFlip = !0), !e.vFlip != !t.vFlip && (r.vFlip = !0);
2504
2504
  const n = ((e.rotate || 0) + (t.rotate || 0)) % 4;
2505
2505
  return n && (r.rotate = n), r;
2506
2506
  }
2507
2507
  function ln(e, t) {
2508
- const r = La(e, t);
2508
+ const r = Da(e, t);
2509
2509
  for (const n in wr) n in Qt ? n in e && !(n in r) && (r[n] = Qt[n]) : n in t ? r[n] = t[n] : n in e && (r[n] = e[n]);
2510
2510
  return r;
2511
2511
  }
@@ -2523,7 +2523,7 @@ function Jn(e, t) {
2523
2523
  e.not_found instanceof Array && e.not_found.forEach((o) => {
2524
2524
  t(o, null), r.push(o);
2525
2525
  });
2526
- const n = Da(e);
2526
+ const n = La(e);
2527
2527
  for (const o in n) {
2528
2528
  const s = n[o];
2529
2529
  s && (t(o, za(e, o, s)), r.push(o));
@@ -2590,12 +2590,12 @@ const Gn = /^[a-z0-9]+(-[a-z0-9]+)*$/, Xt = (e, t, r, n = "") => {
2590
2590
  }
2591
2591
  if (o.length > 3 || !o.length) return null;
2592
2592
  if (o.length > 1) {
2593
- const c = o.pop(), l = o.pop(), h = {
2593
+ const c = o.pop(), l = o.pop(), p = {
2594
2594
  provider: o.length > 0 ? o[0] : n,
2595
2595
  prefix: l,
2596
2596
  name: c
2597
2597
  };
2598
- return t && !qt(h) ? null : h;
2598
+ return t && !qt(p) ? null : p;
2599
2599
  }
2600
2600
  const s = o[0], i = s.split("-");
2601
2601
  if (i.length > 1) {
@@ -2728,9 +2728,9 @@ function Ga(e, t) {
2728
2728
  }
2729
2729
  w % 2 === 1 && (o.left !== o.top && (V = o.left, o.left = o.top, o.top = V), o.width !== o.height && (V = o.width, o.width = o.height, o.height = V)), N.length && (s = Ka(s, '<g transform="' + N.join(" ") + '">', "</g>"));
2730
2730
  });
2731
- const i = n.width, c = n.height, l = o.width, h = o.height;
2731
+ const i = n.width, c = n.height, l = o.width, p = o.height;
2732
2732
  let g, y;
2733
- i === null ? (y = c === null ? "1em" : c === "auto" ? h : c, g = un(y, l / h)) : (g = i === "auto" ? l : i, y = c === null ? un(g, h / l) : c === "auto" ? h : c);
2733
+ i === null ? (y = c === null ? "1em" : c === "auto" ? p : c, g = un(y, l / p)) : (g = i === "auto" ? l : i, y = c === null ? un(g, p / l) : c === "auto" ? p : c);
2734
2734
  const x = {}, S = (F, N) => {
2735
2735
  Wa(N) || (x[F] = N.toString());
2736
2736
  };
@@ -2739,7 +2739,7 @@ function Ga(e, t) {
2739
2739
  o.left,
2740
2740
  o.top,
2741
2741
  l,
2742
- h
2742
+ p
2743
2743
  ];
2744
2744
  return x.viewBox = _.join(" "), {
2745
2745
  attributes: x,
@@ -2826,8 +2826,8 @@ const ss = (e, t, r) => {
2826
2826
  prefix: t,
2827
2827
  icons: []
2828
2828
  }, c = 0;
2829
- return r.forEach((l, h) => {
2830
- c += l.length + 1, c >= o && h > 0 && (n.push(i), i = {
2829
+ return r.forEach((l, p) => {
2830
+ c += l.length + 1, c >= o && p > 0 && (n.push(i), i = {
2831
2831
  type: s,
2832
2832
  provider: e,
2833
2833
  prefix: t,
@@ -2907,16 +2907,16 @@ function ds(e) {
2907
2907
  const i = s.icons, c = i.pending.length;
2908
2908
  i.pending = i.pending.filter((l) => {
2909
2909
  if (l.prefix !== o) return !0;
2910
- const h = l.name;
2911
- if (e.icons[h]) i.loaded.push({
2910
+ const p = l.name;
2911
+ if (e.icons[p]) i.loaded.push({
2912
2912
  provider: n,
2913
2913
  prefix: o,
2914
- name: h
2914
+ name: p
2915
2915
  });
2916
- else if (e.missing.has(h)) i.missing.push({
2916
+ else if (e.missing.has(p)) i.missing.push({
2917
2917
  provider: n,
2918
2918
  prefix: o,
2919
- name: h
2919
+ name: p
2920
2920
  });
2921
2921
  else
2922
2922
  return r = !0, !0;
@@ -2954,9 +2954,9 @@ function ms(e) {
2954
2954
  return e.forEach((o) => {
2955
2955
  if (n.name === o.name && n.prefix === o.prefix && n.provider === o.provider) return;
2956
2956
  n = o;
2957
- const s = o.provider, i = o.prefix, c = o.name, l = r[s] || (r[s] = /* @__PURE__ */ Object.create(null)), h = l[i] || (l[i] = bt(s, i));
2957
+ const s = o.provider, i = o.prefix, c = o.name, l = r[s] || (r[s] = /* @__PURE__ */ Object.create(null)), p = l[i] || (l[i] = bt(s, i));
2958
2958
  let g;
2959
- c in h.icons ? g = t.loaded : i === "" || h.missing.has(c) ? g = t.missing : g = t.pending;
2959
+ c in p.icons ? g = t.loaded : i === "" || p.missing.has(c) ? g = t.missing : g = t.pending;
2960
2960
  const y = {
2961
2961
  provider: s,
2962
2962
  prefix: i,
@@ -2965,14 +2965,14 @@ function ms(e) {
2965
2965
  g.push(y);
2966
2966
  }), t;
2967
2967
  }
2968
- function ps(e, t = !0, r = !1) {
2968
+ function hs(e, t = !0, r = !1) {
2969
2969
  const n = [];
2970
2970
  return e.forEach((o) => {
2971
2971
  const s = typeof o == "string" ? Xt(o, t, r) : o;
2972
2972
  s && n.push(s);
2973
2973
  }), n;
2974
2974
  }
2975
- const hs = {
2975
+ const ps = {
2976
2976
  resources: [],
2977
2977
  index: 0,
2978
2978
  timeout: 2e3,
@@ -2992,7 +2992,7 @@ function gs(e, t, r, n) {
2992
2992
  i = i.concat(E);
2993
2993
  } else i = e.resources.slice(s).concat(e.resources.slice(0, s));
2994
2994
  const c = Date.now();
2995
- let l = "pending", h = 0, g, y = null, x = [], S = [];
2995
+ let l = "pending", p = 0, g, y = null, x = [], S = [];
2996
2996
  typeof n == "function" && S.push(n);
2997
2997
  function _() {
2998
2998
  y && (clearTimeout(y), y = null);
@@ -3010,7 +3010,7 @@ function gs(e, t, r, n) {
3010
3010
  startTime: c,
3011
3011
  payload: t,
3012
3012
  status: l,
3013
- queriesSent: h,
3013
+ queriesSent: p,
3014
3014
  queriesPending: x.length,
3015
3015
  subscribe: N,
3016
3016
  abort: F
@@ -3074,22 +3074,22 @@ function gs(e, t, r, n) {
3074
3074
  V(H, we, ae);
3075
3075
  }
3076
3076
  };
3077
- x.push(H), h++, y = setTimeout(je, e.rotate), r(E, t, H.callback);
3077
+ x.push(H), p++, y = setTimeout(je, e.rotate), r(E, t, H.callback);
3078
3078
  }
3079
3079
  return setTimeout(je), P;
3080
3080
  }
3081
3081
  function to(e) {
3082
3082
  const t = {
3083
- ...hs,
3083
+ ...ps,
3084
3084
  ...e
3085
3085
  };
3086
3086
  let r = [];
3087
3087
  function n() {
3088
3088
  r = r.filter((c) => c().status === "pending");
3089
3089
  }
3090
- function o(c, l, h) {
3090
+ function o(c, l, p) {
3091
3091
  const g = gs(t, c, l, (y, x) => {
3092
- n(), h && h(y, x);
3092
+ n(), p && p(y, x);
3093
3093
  });
3094
3094
  return r.push(g), g;
3095
3095
  }
@@ -3140,7 +3140,7 @@ function ys(e, t, r) {
3140
3140
  }
3141
3141
  return !n || !o ? (r(void 0, 424), mn) : n.query(t, o, r)().abort;
3142
3142
  }
3143
- function pn() {
3143
+ function hn() {
3144
3144
  }
3145
3145
  function xs(e) {
3146
3146
  e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
@@ -3173,7 +3173,7 @@ function Pt(e, t, r) {
3173
3173
  }
3174
3174
  n(), xs(e);
3175
3175
  }
3176
- function hn(e, t) {
3176
+ function pn(e, t) {
3177
3177
  e instanceof Promise ? e.then((r) => {
3178
3178
  t(r);
3179
3179
  }).catch(() => {
@@ -3187,7 +3187,7 @@ function vs(e, t) {
3187
3187
  if (delete e.iconsToLoad, !o || !o.length) return;
3188
3188
  const s = e.loadIcon;
3189
3189
  if (e.loadIcons && (o.length > 1 || !s)) {
3190
- hn(e.loadIcons(o, n, r), (g) => {
3190
+ pn(e.loadIcons(o, n, r), (g) => {
3191
3191
  Pt(e, o, g);
3192
3192
  });
3193
3193
  return;
@@ -3195,7 +3195,7 @@ function vs(e, t) {
3195
3195
  if (s) {
3196
3196
  o.forEach((g) => {
3197
3197
  const y = s(g, n, r);
3198
- hn(y, (x) => {
3198
+ pn(y, (x) => {
3199
3199
  const S = x ? {
3200
3200
  prefix: n,
3201
3201
  icons: { [g]: x }
@@ -3220,11 +3220,11 @@ function vs(e, t) {
3220
3220
  }));
3221
3221
  }
3222
3222
  const ks = (e, t) => {
3223
- const r = ps(e, !0, Qn()), n = ms(r);
3223
+ const r = hs(e, !0, Qn()), n = ms(r);
3224
3224
  if (!n.pending.length) {
3225
3225
  let l = !0;
3226
3226
  return t && setTimeout(() => {
3227
- l && t(n.loaded, n.missing, n.pending, pn);
3227
+ l && t(n.loaded, n.missing, n.pending, hn);
3228
3228
  }), () => {
3229
3229
  l = !1;
3230
3230
  };
@@ -3232,18 +3232,18 @@ const ks = (e, t) => {
3232
3232
  const o = /* @__PURE__ */ Object.create(null), s = [];
3233
3233
  let i, c;
3234
3234
  return n.pending.forEach((l) => {
3235
- const { provider: h, prefix: g } = l;
3236
- if (g === c && h === i) return;
3237
- i = h, c = g, s.push(bt(h, g));
3238
- const y = o[h] || (o[h] = /* @__PURE__ */ Object.create(null));
3235
+ const { provider: p, prefix: g } = l;
3236
+ if (g === c && p === i) return;
3237
+ i = p, c = g, s.push(bt(p, g));
3238
+ const y = o[p] || (o[p] = /* @__PURE__ */ Object.create(null));
3239
3239
  y[g] || (y[g] = []);
3240
3240
  }), n.pending.forEach((l) => {
3241
- const { provider: h, prefix: g, name: y } = l, x = bt(h, g), S = x.pendingIcons || (x.pendingIcons = /* @__PURE__ */ new Set());
3242
- S.has(y) || (S.add(y), o[h][g].push(y));
3241
+ const { provider: p, prefix: g, name: y } = l, x = bt(p, g), S = x.pendingIcons || (x.pendingIcons = /* @__PURE__ */ new Set());
3242
+ S.has(y) || (S.add(y), o[p][g].push(y));
3243
3243
  }), s.forEach((l) => {
3244
- const h = o[l.provider][l.prefix];
3245
- h.length && vs(l, h);
3246
- }), t ? fs(t, n, s) : pn;
3244
+ const p = o[l.provider][l.prefix];
3245
+ p.length && vs(l, p);
3246
+ }), t ? fs(t, n, s) : hn;
3247
3247
  };
3248
3248
  function Ss(e, t) {
3249
3249
  const r = { ...e };
@@ -3351,7 +3351,7 @@ const $s = {
3351
3351
  function yn(e) {
3352
3352
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
3353
3353
  }
3354
- const Ds = (e, t, r) => {
3354
+ const Ls = (e, t, r) => {
3355
3355
  const n = t.inline ? $s : ro, o = Ss(n, t), s = t.mode || "svg", i = {}, c = t.style || {}, l = {
3356
3356
  ...s === "svg" ? As : {}
3357
3357
  };
@@ -3416,7 +3416,7 @@ const Ds = (e, t, r) => {
3416
3416
  n[N] === void 0 && (l[N] = P);
3417
3417
  }
3418
3418
  }
3419
- const h = Ga(e, o), g = h.attributes;
3419
+ const p = Ga(e, o), g = p.attributes;
3420
3420
  if (o.inline && (i.verticalAlign = "-0.125em"), s === "svg") {
3421
3421
  l.style = {
3422
3422
  ...i,
@@ -3424,7 +3424,7 @@ const Ds = (e, t, r) => {
3424
3424
  }, Object.assign(l, g);
3425
3425
  let N = 0, P = t.id;
3426
3426
  return typeof P == "string" && (P = P.replace(/-/g, "_")), l.dangerouslySetInnerHTML = {
3427
- __html: Os(es(h.body, P ? () => P + "ID" + N++ : "iconifyReact"))
3427
+ __html: Os(es(p.body, P ? () => P + "ID" + N++ : "iconifyReact"))
3428
3428
  }, cr("svg", l);
3429
3429
  }
3430
3430
  const { body: y, width: x, height: S } = e, _ = s === "mask" || (s === "bg" ? !1 : y.indexOf("currentColor") !== -1), F = Is(y, {
@@ -3501,7 +3501,7 @@ function oo(e) {
3501
3501
  const S = n.callback;
3502
3502
  S && (S(), o({}));
3503
3503
  }
3504
- function h(S) {
3504
+ function p(S) {
3505
3505
  if (JSON.stringify(i) !== JSON.stringify(S))
3506
3506
  return l(), c(S), !0;
3507
3507
  }
@@ -3509,14 +3509,14 @@ function oo(e) {
3509
3509
  var S;
3510
3510
  const _ = e.icon;
3511
3511
  if (typeof _ == "object") {
3512
- h({
3512
+ p({
3513
3513
  name: "",
3514
3514
  data: _
3515
3515
  });
3516
3516
  return;
3517
3517
  }
3518
3518
  const F = dn(_);
3519
- if (h({
3519
+ if (p({
3520
3520
  name: _,
3521
3521
  data: F
3522
3522
  }))
@@ -3531,12 +3531,12 @@ function oo(e) {
3531
3531
  t && g();
3532
3532
  }, [e.icon, t]);
3533
3533
  const { name: y, data: x } = i;
3534
- return x ? Ds({
3534
+ return x ? Ls({
3535
3535
  ...Pr,
3536
3536
  ...x
3537
3537
  }, e, y) : e.children ? e.children : e.fallback ? e.fallback : cr("span", {});
3538
3538
  }
3539
- const re = _n((e, t) => oo({
3539
+ const oe = _n((e, t) => oo({
3540
3540
  ...e,
3541
3541
  _ref: t
3542
3542
  }));
@@ -3555,7 +3555,7 @@ const He = "USD", xn = (e) => {
3555
3555
  const r = (e == null ? void 0 : e.prices) ?? [];
3556
3556
  if (!r.length) return null;
3557
3557
  const n = (i) => {
3558
- var h, g;
3558
+ var p, g;
3559
3559
  const c = i.find((y) => {
3560
3560
  var x;
3561
3561
  return !!((x = y.discounted) != null && x.value);
@@ -3564,7 +3564,7 @@ const He = "USD", xn = (e) => {
3564
3564
  return {
3565
3565
  cent: c.discounted.value.centAmount,
3566
3566
  cur: c.discounted.value.currencyCode,
3567
- regularCent: (h = c.value) == null ? void 0 : h.centAmount
3567
+ regularCent: (p = c.value) == null ? void 0 : p.centAmount
3568
3568
  };
3569
3569
  const l = (g = i[0]) == null ? void 0 : g.value;
3570
3570
  return l ? { cent: l.centAmount, cur: l.currencyCode } : null;
@@ -3575,7 +3575,7 @@ const He = "USD", xn = (e) => {
3575
3575
  }
3576
3576
  ), s = n(o);
3577
3577
  return s || n(r) || null;
3578
- }, Ls = (e, t) => {
3578
+ }, Ds = (e, t) => {
3579
3579
  if (!Array.isArray(e)) return "";
3580
3580
  const r = e.find((n) => n.name === t) || e.find((n) => {
3581
3581
  var o;
@@ -3589,7 +3589,7 @@ const He = "USD", xn = (e) => {
3589
3589
  r && r.value && (t = typeof r.value == "object" ? r.value.label || "" : r.value);
3590
3590
  }
3591
3591
  return { sizeLabel: t };
3592
- }, qe = (e) => Ls((e == null ? void 0 : e.attributesRaw) ?? [], "color"), We = (e) => zs((e == null ? void 0 : e.attributesRaw) ?? []).sizeLabel, ot = (e, t, r) => {
3592
+ }, qe = (e) => Ds((e == null ? void 0 : e.attributesRaw) ?? [], "color"), We = (e) => zs((e == null ? void 0 : e.attributesRaw) ?? []).sizeLabel, ot = (e, t, r) => {
3593
3593
  for (const n of e) {
3594
3594
  const o = qe(n.variant), s = We(n.variant);
3595
3595
  if ((t ? o === t : !0) && (r ? s === r : !0)) return n;
@@ -3634,10 +3634,10 @@ const He = "USD", xn = (e) => {
3634
3634
  var t, r;
3635
3635
  return ((r = (t = e == null ? void 0 : e.images) == null ? void 0 : t[0]) == null ? void 0 : r.url) ?? "";
3636
3636
  }, vn = (e, t) => {
3637
- var r, n, o, s, i, c, l, h;
3638
- return Us(t) || ((s = (o = (n = (r = e.imageGroups) == null ? void 0 : r[0]) == null ? void 0 : n.images) == null ? void 0 : o[0]) == null ? void 0 : s.link) || ((h = (l = (c = (i = e.image_groups) == null ? void 0 : i[0]) == null ? void 0 : c.images) == null ? void 0 : l[0]) == null ? void 0 : h.link) || "";
3637
+ var r, n, o, s, i, c, l, p;
3638
+ return Us(t) || ((s = (o = (n = (r = e.imageGroups) == null ? void 0 : r[0]) == null ? void 0 : n.images) == null ? void 0 : o[0]) == null ? void 0 : s.link) || ((p = (l = (c = (i = e.image_groups) == null ? void 0 : i[0]) == null ? void 0 : c.images) == null ? void 0 : l[0]) == null ? void 0 : p.link) || "";
3639
3639
  }, kn = (e) => (e == null ? void 0 : e.name) || (e == null ? void 0 : e.title) || (e == null ? void 0 : e.productName) || "any", Vt = (e) => {
3640
- var s, i, c, l, h, g;
3640
+ var s, i, c, l, p, g;
3641
3641
  const t = e ? vr(e, He) : null;
3642
3642
  if (t != null && t.cent && (t != null && t.cur))
3643
3643
  return {
@@ -3645,7 +3645,7 @@ const He = "USD", xn = (e) => {
3645
3645
  currency: t.cur,
3646
3646
  regularAmount: t.regularCent ? t.regularCent / 100 : void 0
3647
3647
  };
3648
- const r = (c = (i = (s = e == null ? void 0 : e.prices) == null ? void 0 : s[0]) == null ? void 0 : i.value) == null ? void 0 : c.centAmount, n = ((g = (h = (l = e == null ? void 0 : e.prices) == null ? void 0 : l[0]) == null ? void 0 : h.value) == null ? void 0 : g.currencyCode) ?? He;
3648
+ const r = (c = (i = (s = e == null ? void 0 : e.prices) == null ? void 0 : s[0]) == null ? void 0 : i.value) == null ? void 0 : c.centAmount, n = ((g = (p = (l = e == null ? void 0 : e.prices) == null ? void 0 : l[0]) == null ? void 0 : p.value) == null ? void 0 : g.currencyCode) ?? He;
3649
3649
  return { amount: Number.isFinite(r) ? +(Number(r) / 100) : 0, currency: n };
3650
3650
  }, Sn = (e, t) => {
3651
3651
  const { amount: r } = Vt(t);
@@ -3670,20 +3670,20 @@ const He = "USD", xn = (e) => {
3670
3670
  addressLoading: s
3671
3671
  }) => {
3672
3672
  console.log(r, "the product for ai shopping");
3673
- const i = null, c = null, l = Ht(r), h = Math.min(
3673
+ const i = null, c = null, l = Ht(r), p = Math.min(
3674
3674
  Math.max(0, n || 0),
3675
3675
  Math.max(0, l.length - 1)
3676
- ), g = l.length, [y, x] = C(h), [S, _] = C(null), [F, N] = C(null), P = Re(null), R = Re(null), w = Bs(r, y), [V, je] = C(""), [E, H] = C(!1), [we, ae] = C(!1), [Q, Pe] = C(!1), [$e, pe] = C(""), [L, O] = C(!1), [q, Xe] = C(null), [Ye, ve] = C([]), [_e, ft] = C([]), [Ze, M] = C([]), [le, Te] = C(!1), [Ie, Zt] = C(), [er, m] = C(!0), [j, $] = C(!1), [Y, z] = C(!1), [A, ce] = C("standard"), [B, D] = C(!1), [X, ne] = C(!1), [ke, Se] = C("card"), [Z, W] = C(!1), [Ne, ee] = C(!1), [k, J] = C(!1), [G, de] = C(null), [Ce, et] = C(null), [mt, At] = C(""), [Be, jt] = C(!1), pt = Re(null);
3676
+ ), g = l.length, [y, x] = C(p), [S, _] = C(null), [F, N] = C(null), P = Re(null), R = Re(null), w = Bs(r, y), [V, je] = C(""), [E, H] = C(!1), [we, ae] = C(!1), [Q, Pe] = C(!1), [$e, he] = C(""), [D, O] = C(!1), [q, Xe] = C(null), [Ye, ve] = C([]), [_e, ft] = C([]), [Ze, M] = C([]), [le, Te] = C(!1), [Ie, Zt] = C(), [er, m] = C(!0), [j, $] = C(!1), [Y, z] = C(!1), [A, ce] = C("standard"), [B, L] = C(!1), [X, re] = C(!1), [ke, Se] = C("card"), [Z, W] = C(!1), [Ne, ee] = C(!1), [k, J] = C(!1), [G, de] = C(null), [Ce, et] = C(null), [mt, At] = C(""), [Be, jt] = C(!1), ht = Re(null);
3677
3677
  be(() => {
3678
- const u = Ht(r), p = Math.min(
3678
+ const u = Ht(r), h = Math.min(
3679
3679
  Math.max(0, n || 0),
3680
3680
  Math.max(0, u.length - 1)
3681
3681
  );
3682
- x(p);
3682
+ x(h);
3683
3683
  const f = ao(r), v = qe(f), T = We(f);
3684
3684
  P.current = v || null, R.current = T || null, _(v || null), N(T || null);
3685
3685
  }, [n, r]), be(() => {
3686
- pt.current && (pt.current.scrollTop = pt.current.scrollHeight);
3686
+ ht.current && (ht.current.scrollTop = ht.current.scrollHeight);
3687
3687
  }, [
3688
3688
  Ye,
3689
3689
  le,
@@ -3697,7 +3697,7 @@ const He = "USD", xn = (e) => {
3697
3697
  E,
3698
3698
  we
3699
3699
  ]);
3700
- const I = "var(--tanya)", De = "var(--tanya-contrast)", tt = I, kt = "#804c9e", so = () => {
3700
+ const I = "var(--tanya)", Le = "var(--tanya-contrast)", tt = I, kt = "#804c9e", so = () => {
3701
3701
  console.log("AgenticShopping feedback:", {
3702
3702
  rating: Ce,
3703
3703
  comment: mt
@@ -3707,7 +3707,7 @@ const He = "USD", xn = (e) => {
3707
3707
  }, Ar = (u) => {
3708
3708
  const f = ((u == null ? void 0 : u.intentMandateId) || (u == null ? void 0 : u.intent_mandate_id) || (u == null ? void 0 : u.id) || null) ?? G;
3709
3709
  return e ? /* @__PURE__ */ d("div", { className: "mt-3 flex items-start gap-3 rounded-lg border border-green-200 bg-green-50 p-4 text-green-800", children: [
3710
- /* @__PURE__ */ a("div", { className: "success-tick-animation", children: /* @__PURE__ */ a(re, { icon: "mdi:check-circle", width: "28", color: "#16a34a" }) }),
3710
+ /* @__PURE__ */ a("div", { className: "success-tick-animation", children: /* @__PURE__ */ a(oe, { icon: "mdi:check-circle", width: "28", color: "#16a34a" }) }),
3711
3711
  /* @__PURE__ */ d("div", { className: "text-sm w-full", children: [
3712
3712
  /* @__PURE__ */ a("div", { className: "font-semibold", children: "Success!" }),
3713
3713
  /* @__PURE__ */ a("div", { children: "Your smart order has been saved. I’ll watch the price and auto-purchase when the conditions are met." }),
@@ -3731,7 +3731,7 @@ const He = "USD", xn = (e) => {
3731
3731
  onClick: () => et(v),
3732
3732
  className: "p-0.5",
3733
3733
  children: /* @__PURE__ */ a(
3734
- re,
3734
+ oe,
3735
3735
  {
3736
3736
  icon: Ce && Ce >= v ? "mdi:star" : "mdi:star-outline",
3737
3737
  width: "20",
@@ -3784,44 +3784,44 @@ const He = "USD", xn = (e) => {
3784
3784
  } catch (u) {
3785
3785
  console.error("Error fetching addresses:", u);
3786
3786
  }
3787
- }, St = (u, p) => {
3787
+ }, St = (u, h) => {
3788
3788
  ve((f) => [
3789
3789
  ...f,
3790
3790
  {
3791
3791
  query: "",
3792
3792
  response: "__SNAPSHOT__",
3793
3793
  snapshotStage: u,
3794
- snapshotPayload: p
3794
+ snapshotPayload: h
3795
3795
  }
3796
3796
  ]);
3797
- }, jr = (u, p) => {
3797
+ }, jr = (u, h) => {
3798
3798
  ve(
3799
3799
  (f) => f.map(
3800
3800
  (v) => v.response === "__CARD__" ? {
3801
3801
  ...v,
3802
3802
  response: "__SNAPSHOT__",
3803
3803
  snapshotStage: u ?? v.snapshotStage,
3804
- snapshotPayload: p ?? v.snapshotPayload
3804
+ snapshotPayload: h ?? v.snapshotPayload
3805
3805
  } : v
3806
3806
  )
3807
3807
  );
3808
3808
  }, co = () => {
3809
3809
  ve(
3810
3810
  (u) => u.filter(
3811
- (p) => !(p.query === "" && p.response !== "__SNAPSHOT__" && p.response !== "__TEXT__")
3811
+ (h) => !(h.query === "" && h.response !== "__SNAPSHOT__" && h.response !== "__TEXT__")
3812
3812
  )
3813
3813
  );
3814
3814
  }, $t = () => {
3815
- ee(!1), Te(!1), z(!1), ne(!1), $(!1), D(!1), W(!1), J(!1), O(!1), Xe(null), co(), H(!1), ae(!1);
3815
+ ee(!1), Te(!1), z(!1), re(!1), $(!1), L(!1), W(!1), J(!1), O(!1), Xe(null), co(), H(!1), ae(!1);
3816
3816
  }, uo = () => {
3817
- Te(!1), $(!1), z(!1), ce("standard"), D(!1), ne(!1), Se("card"), W(!1), ee(!1), J(!1), m(!0), Xe(null), localStorage.removeItem("agentic_order"), localStorage.removeItem("agentic_order_address"), localStorage.removeItem("agentic_order_delivery"), localStorage.removeItem("agentic_order_payment"), localStorage.removeItem("agentic_order_final");
3818
- }, Fe = Rr(() => Ht(r).map((p, f) => ({
3817
+ Te(!1), $(!1), z(!1), ce("standard"), L(!1), re(!1), Se("card"), W(!1), ee(!1), J(!1), m(!0), Xe(null), localStorage.removeItem("agentic_order"), localStorage.removeItem("agentic_order_address"), localStorage.removeItem("agentic_order_delivery"), localStorage.removeItem("agentic_order_payment"), localStorage.removeItem("agentic_order_final");
3818
+ }, Fe = Rr(() => Ht(r).map((h, f) => ({
3819
3819
  index: f,
3820
- variant: p,
3821
- images: ((p == null ? void 0 : p.images) || []).map((v) => (v == null ? void 0 : v.url) || "").filter(Boolean)
3820
+ variant: h,
3821
+ images: ((h == null ? void 0 : h.images) || []).map((v) => (v == null ? void 0 : v.url) || "").filter(Boolean)
3822
3822
  })), [r]), Nt = Rr(() => {
3823
3823
  if (!Fe.length) return !1;
3824
- const u = S || void 0, p = F || void 0, f = (v, T) => {
3824
+ const u = S || void 0, h = F || void 0, f = (v, T) => {
3825
3825
  var U;
3826
3826
  const b = ot(
3827
3827
  Fe,
@@ -3830,18 +3830,18 @@ const He = "USD", xn = (e) => {
3830
3830
  );
3831
3831
  return !!(b && ((U = b.variant) != null && U.sku));
3832
3832
  };
3833
- return u && p ? f(u, p) : u && !p ? f(u, null) : !u && p ? f(void 0, p) : !!(w && w.sku);
3834
- }, [Fe, S, F, w]), fo = Q || L || !Nt, Ct = (u) => {
3835
- const p = Number((u == null ? void 0 : u.quantity) ?? 1);
3836
- return Number.isFinite(p) && p > 0 ? p : 1;
3833
+ return u && h ? f(u, h) : u && !h ? f(u, null) : !u && h ? f(void 0, h) : !!(w && w.sku);
3834
+ }, [Fe, S, F, w]), fo = Q || D || !Nt, Ct = (u) => {
3835
+ const h = Number((u == null ? void 0 : u.quantity) ?? 1);
3836
+ return Number.isFinite(h) && h > 0 ? h : 1;
3837
3837
  }, $r = (u) => {
3838
- const p = Ct(u), f = Number((u == null ? void 0 : u.max_price_minor) ?? 0);
3839
- return Number.isFinite(f) && f > 0 ? +(f / 100) : +(Sn(r, w) * p);
3840
- }, Dr = (u) => {
3838
+ const h = Ct(u), f = Number((u == null ? void 0 : u.max_price_minor) ?? 0);
3839
+ return Number.isFinite(f) && f > 0 ? +(f / 100) : +(Sn(r, w) * h);
3840
+ }, Lr = (u) => {
3841
3841
  var K;
3842
- const p = q, f = Vt(w), v = u || (p == null ? void 0 : p.currency) || f.currency || He, T = $r(p), b = +(T * 0.08).toFixed(2), U = ((K = at[A]) == null ? void 0 : K.fee) || 0;
3842
+ const h = q, f = Vt(w), v = u || (h == null ? void 0 : h.currency) || f.currency || He, T = $r(h), b = +(T * 0.08).toFixed(2), U = ((K = at[A]) == null ? void 0 : K.fee) || 0;
3843
3843
  return { product_total: T, tax: b, shipping_fee: U, currency: v };
3844
- }, tr = async (u, p, f) => {
3844
+ }, tr = async (u, h, f) => {
3845
3845
  jr(), uo(), Pe(!0), O(!0), H(!1), ae(!1);
3846
3846
  const v = _e.slice(-Cn);
3847
3847
  try {
@@ -3860,10 +3860,10 @@ const He = "USD", xn = (e) => {
3860
3860
  flowId: "MTMI0P4LC6",
3861
3861
  flowAliasId: "BCUA138F2Q",
3862
3862
  input: {
3863
- instruction: `Use SKU ${p}. Currency is USD. ${u}`,
3863
+ instruction: `Use SKU ${h}. Currency is USD. ${u}`,
3864
3864
  metadata: {
3865
3865
  productId: (r == null ? void 0 : r.id) ?? null,
3866
- skuId: p ?? null,
3866
+ skuId: h ?? null,
3867
3867
  variantIndex: f
3868
3868
  },
3869
3869
  context: v
@@ -3871,21 +3871,21 @@ const He = "USD", xn = (e) => {
3871
3871
  })
3872
3872
  });
3873
3873
  if (!te.body) throw new Error("Readable stream not supported");
3874
- const ye = te.body.getReader(), oe = new TextDecoder();
3875
- let Ee = "", Oe = "", Le = "";
3874
+ const ye = te.body.getReader(), ne = new TextDecoder();
3875
+ let Ee = "", Oe = "", De = "";
3876
3876
  for (; ; ) {
3877
- const { done: he, value: Je } = await ye.read();
3878
- if (he) break;
3879
- Ee += oe.decode(Je, { stream: !0 });
3880
- const ht = Ee.split(`
3877
+ const { done: pe, value: Je } = await ye.read();
3878
+ if (pe) break;
3879
+ Ee += ne.decode(Je, { stream: !0 });
3880
+ const pt = Ee.split(`
3881
3881
  `);
3882
- Ee = ht.pop() || "";
3883
- for (const gt of ht) {
3882
+ Ee = pt.pop() || "";
3883
+ for (const gt of pt) {
3884
3884
  if (!gt.startsWith("data:")) continue;
3885
3885
  const rt = gt.slice(5).trim();
3886
3886
  try {
3887
3887
  const Ue = JSON.parse(rt), ze = Ue.index, fe = Ue.data;
3888
- ze === 0 ? Oe = String(fe ?? "") : ze === 1 && (Le = String(fe ?? ""));
3888
+ ze === 0 ? Oe = String(fe ?? "") : ze === 1 && (De = String(fe ?? ""));
3889
3889
  } catch (Ue) {
3890
3890
  console.error("Error parsing JSON chunk:", Ue);
3891
3891
  }
@@ -3893,27 +3893,27 @@ const He = "USD", xn = (e) => {
3893
3893
  }
3894
3894
  let se = null;
3895
3895
  if (Oe) {
3896
- const he = String(Oe).replace(/\\n/g, "").trim();
3897
- if (he.startsWith("{") && he.endsWith("}"))
3896
+ const pe = String(Oe).replace(/\\n/g, "").trim();
3897
+ if (pe.startsWith("{") && pe.endsWith("}"))
3898
3898
  try {
3899
- se = JSON.parse(he), se.product_id = p, se.sku_id = p, localStorage.setItem("agentic_order", JSON.stringify(se));
3899
+ se = JSON.parse(pe), se.product_id = h, se.sku_id = h, localStorage.setItem("agentic_order", JSON.stringify(se));
3900
3900
  } catch (Je) {
3901
3901
  console.log(Je);
3902
3902
  }
3903
3903
  }
3904
- Xe(se), se && ve((he) => [
3905
- ...he,
3904
+ Xe(se), se && ve((pe) => [
3905
+ ...pe,
3906
3906
  {
3907
3907
  query: "",
3908
3908
  response: "__CARD__",
3909
3909
  snapshotPayload: { extractedDetails: se }
3910
3910
  }
3911
- ]), ft((he) => [
3912
- ...he,
3911
+ ]), ft((pe) => [
3912
+ ...pe,
3913
3913
  {
3914
3914
  userQuery: u,
3915
3915
  mainResponse: Oe || "",
3916
- keywords: Le || ""
3916
+ keywords: De || ""
3917
3917
  }
3918
3918
  ].slice(-Cn));
3919
3919
  } catch (T) {
@@ -3921,15 +3921,15 @@ const He = "USD", xn = (e) => {
3921
3921
  } finally {
3922
3922
  Pe(!1);
3923
3923
  }
3924
- }, Lr = async (u) => {
3925
- if (L || Q || !Nt) return;
3926
- const p = $e.trim();
3927
- if (!p) return;
3928
- ve((b) => [...b, { query: p, response: "" }]), pe(""), je(p);
3924
+ }, Dr = async (u) => {
3925
+ if (D || Q || !Nt) return;
3926
+ const h = $e.trim();
3927
+ if (!h) return;
3928
+ ve((b) => [...b, { query: h, response: "" }]), he(""), je(h);
3929
3929
  const f = w == null ? void 0 : w.sku, v = Nn(r), T = f || v || "";
3930
3930
  if (g <= 1) {
3931
3931
  if (T) {
3932
- tr(p, T, y);
3932
+ tr(h, T, y);
3933
3933
  return;
3934
3934
  }
3935
3935
  ae(!0), O(!0);
@@ -3939,31 +3939,31 @@ const He = "USD", xn = (e) => {
3939
3939
  }, mo = () => {
3940
3940
  const u = w == null ? void 0 : w.sku;
3941
3941
  u && tr(V, u, y);
3942
- }, po = () => {
3943
- H(!1), ae(!0), O(!0);
3944
3942
  }, ho = () => {
3943
+ H(!1), ae(!0), O(!0);
3944
+ }, po = () => {
3945
3945
  if (!w || !w.sku) return;
3946
3946
  const u = w.sku;
3947
3947
  tr(V, u, y);
3948
3948
  }, go = async () => {
3949
- Te(!0), z(!1), ne(!1), ee(!1), $(!1), D(!1), W(!1), J(!1), await lo(), jr("initial", {
3949
+ Te(!0), z(!1), re(!1), ee(!1), $(!1), L(!1), W(!1), J(!1), await lo(), jr("initial", {
3950
3950
  extractedDetails: q ?? void 0
3951
3951
  });
3952
3952
  }, wo = () => {
3953
3953
  if (!Ie) return;
3954
3954
  const u = Ze.find(
3955
- (p) => String(p.addressId ?? p.id) === Ie
3955
+ (h) => String(h.addressId ?? h.id) === Ie
3956
3956
  ) || null;
3957
- u && (localStorage.setItem("agentic_order_address", JSON.stringify(u)), $(!0), z(!0), D(!1), ne(!1), W(!1), ee(!1), J(!1), St("address", u));
3957
+ u && (localStorage.setItem("agentic_order_address", JSON.stringify(u)), $(!0), z(!0), L(!1), re(!1), W(!1), ee(!1), J(!1), St("address", u));
3958
3958
  }, yo = () => {
3959
- $(!1), z(!1), D(!1), ne(!1), W(!1), ee(!1), J(!1), localStorage.removeItem("agentic_order_address");
3959
+ $(!1), z(!1), L(!1), re(!1), W(!1), ee(!1), J(!1), localStorage.removeItem("agentic_order_address");
3960
3960
  }, xo = () => {
3961
- A && (localStorage.setItem("agentic_order_delivery", A), D(!0), ne(!0), W(!1), ee(!1), J(!1), St("delivery", {
3961
+ A && (localStorage.setItem("agentic_order_delivery", A), L(!0), re(!0), W(!1), ee(!1), J(!1), St("delivery", {
3962
3962
  method: A,
3963
3963
  ...at[A]
3964
3964
  }));
3965
3965
  }, zr = () => {
3966
- z(!1), D(!1), ne(!1), W(!1), ee(!1), J(!1), O(!1), $t(), ve((u) => [
3966
+ z(!1), L(!1), re(!1), W(!1), ee(!1), J(!1), O(!1), $t(), ve((u) => [
3967
3967
  ...u,
3968
3968
  {
3969
3969
  query: "",
@@ -3974,11 +3974,11 @@ const He = "USD", xn = (e) => {
3974
3974
  }
3975
3975
  ]);
3976
3976
  }, bo = () => {
3977
- D(!1), ne(!1), W(!1), ee(!1), J(!1), localStorage.removeItem("agentic_order_delivery");
3977
+ L(!1), re(!1), W(!1), ee(!1), J(!1), localStorage.removeItem("agentic_order_delivery");
3978
3978
  }, vo = () => {
3979
3979
  ke && (localStorage.setItem("agentic_order_payment", ke), W(!0), ee(!0), J(!1), St("payment", { method: ke }));
3980
3980
  }, ko = () => {
3981
- ne(!1), W(!1), ee(!1), J(!1), O(!1), $t(), ve((u) => [
3981
+ re(!1), W(!1), ee(!1), J(!1), O(!1), $t(), ve((u) => [
3982
3982
  ...u,
3983
3983
  {
3984
3984
  query: "",
@@ -3993,20 +3993,20 @@ const He = "USD", xn = (e) => {
3993
3993
  }, No = async () => {
3994
3994
  try {
3995
3995
  Pe(!0);
3996
- const u = q || {}, p = JSON.parse(
3996
+ const u = q || {}, h = JSON.parse(
3997
3997
  localStorage.getItem("agentic_order_address") || "null"
3998
3998
  ), f = localStorage.getItem(
3999
3999
  "agentic_order_delivery"
4000
- ), v = localStorage.getItem("agentic_order_payment") || "card", { product_total: T, tax: b, shipping_fee: U, currency: K } = Dr(), ue = u.shopper_id || localStorage.getItem("customerId") || void 0, te = (p == null ? void 0 : p.addressId) || (p == null ? void 0 : p.id) || void 0, ye = f ? Ms[f] : "GROUND", oe = "card-visa", Ee = w == null ? void 0 : w.sku, Oe = (r == null ? void 0 : r.id) || "", Le = Ct(u), se = typeof u.max_price_minor == "number" ? u.max_price_minor : Math.round(T * 100), ht = {
4000
+ ), v = localStorage.getItem("agentic_order_payment") || "card", { product_total: T, tax: b, shipping_fee: U, currency: K } = Lr(), ue = u.shopper_id || localStorage.getItem("customerId") || void 0, te = (h == null ? void 0 : h.addressId) || (h == null ? void 0 : h.id) || void 0, ye = f ? Ms[f] : "GROUND", ne = "card-visa", Ee = w == null ? void 0 : w.sku, Oe = (r == null ? void 0 : r.id) || "", De = Ct(u), se = typeof u.max_price_minor == "number" ? u.max_price_minor : Math.round(T * 100), pt = {
4001
4001
  shopper_id: ue,
4002
4002
  shipping_address_id: te,
4003
4003
  shipping_method_id: ye,
4004
- payment_method_id: oe,
4004
+ payment_method_id: ne,
4005
4005
  sku: Ee,
4006
4006
  platform: "SFCC",
4007
4007
  storeCode: "Sites-SiteGenesis-Site",
4008
4008
  product_id: Oe,
4009
- quantity: Le,
4009
+ quantity: De,
4010
4010
  max_price_minor: se,
4011
4011
  currency: K,
4012
4012
  instruction_text: V
@@ -4032,7 +4032,7 @@ const He = "USD", xn = (e) => {
4032
4032
  "Content-Type": "application/json",
4033
4033
  Authorization: `Bearer ${rt}`
4034
4034
  },
4035
- body: JSON.stringify(ht)
4035
+ body: JSON.stringify(pt)
4036
4036
  });
4037
4037
  if (!ze.ok) {
4038
4038
  const To = await ze.text().catch(() => "");
@@ -4045,15 +4045,15 @@ const He = "USD", xn = (e) => {
4045
4045
  console.log("intent-mandate success:", fe);
4046
4046
  const nt = (fe == null ? void 0 : fe.intent_mandate_id) || (fe == null ? void 0 : fe.intent_mandateId) || (fe == null ? void 0 : fe.key) || null;
4047
4047
  nt && de(nt);
4048
- const Dt = {
4048
+ const Lt = {
4049
4049
  ...u,
4050
- address: p,
4050
+ address: h,
4051
4051
  delivery: f,
4052
4052
  payment: v,
4053
4053
  summary: { product_total: T, tax: b, shipping_fee: U, currency: K },
4054
4054
  intent_mandate_id: nt
4055
4055
  };
4056
- localStorage.setItem("agentic_order_final", JSON.stringify(Dt)), J(!0), m(!1), St("final", Dt), St("success", { intentMandateId: nt }), $t();
4056
+ localStorage.setItem("agentic_order_final", JSON.stringify(Lt)), J(!0), m(!1), St("final", Lt), St("success", { intentMandateId: nt }), $t();
4057
4057
  } catch (u) {
4058
4058
  console.error("Error in handleConfirmWatch / intent-mandate:", u), alert(
4059
4059
  "Unable to complete your smart order right now. Please try again in a moment."
@@ -4073,17 +4073,27 @@ const He = "USD", xn = (e) => {
4073
4073
  }
4074
4074
  ]);
4075
4075
  }, Co = () => {
4076
- const u = vn(r, w), p = kn(r), f = (w == null ? void 0 : w.id) || "", v = qe(w) || "", T = We(w) || "", { amount: b } = Vt(w), U = !!(w != null && w.id), K = w && U ? xn(w) : !1;
4077
- return console.log(u, p, f, v, T, b, U, K, "base product"), /* @__PURE__ */ a("div", { className: "mx-4 mt-2 rounded-xl border border-gray-200 bg-white p-4", children: /* @__PURE__ */ d("div", { className: "flex flex-col sm:flex-row items-center sm:items-center gap-4", children: [
4076
+ const u = vn(r, w), h = kn(r), f = (r == null ? void 0 : r.id) || "", v = qe(w) || "", T = We(w) || "", { amount: b } = Vt(w), U = !!(r != null && r.id), K = w && U ? xn(w) : !1;
4077
+ return console.log(
4078
+ u,
4079
+ h,
4080
+ f,
4081
+ v,
4082
+ T,
4083
+ b,
4084
+ U,
4085
+ K,
4086
+ "base product"
4087
+ ), /* @__PURE__ */ a("div", { className: "mx-4 mt-2 rounded-xl border border-gray-200 bg-white p-4", children: /* @__PURE__ */ d("div", { className: "flex flex-col sm:flex-row items-center sm:items-center gap-4", children: [
4078
4088
  /* @__PURE__ */ a("div", { className: "flex-shrink-0 flex justify-center sm:justify-start", children: /* @__PURE__ */ a("div", { className: "w-[150px] h-[150px] rounded-lg bg-gray-50 border border-gray-200 flex items-center justify-center overflow-hidden", children: u ? /* @__PURE__ */ a(
4079
4089
  "img",
4080
4090
  {
4081
4091
  src: u,
4082
- alt: p,
4092
+ alt: h,
4083
4093
  className: "object-contain w-full h-full"
4084
4094
  }
4085
4095
  ) : /* @__PURE__ */ a(
4086
- re,
4096
+ oe,
4087
4097
  {
4088
4098
  icon: "mdi:image-outline",
4089
4099
  width: "28",
@@ -4091,7 +4101,7 @@ const He = "USD", xn = (e) => {
4091
4101
  }
4092
4102
  ) }) }),
4093
4103
  /* @__PURE__ */ d("div", { className: "flex-grow flex flex-col justify-center text-center", children: [
4094
- /* @__PURE__ */ a("div", { className: "text-2xl font-bold text-gray-900 mb-1", children: p }),
4104
+ /* @__PURE__ */ a("div", { className: "text-2xl font-bold text-gray-900 mb-1", children: h }),
4095
4105
  /* @__PURE__ */ a("div", { className: "text-sm text-gray-700 mb-1", children: [
4096
4106
  f && `SKU: ${f}`,
4097
4107
  v && `Color: ${v}`,
@@ -4104,7 +4114,7 @@ const He = "USD", xn = (e) => {
4104
4114
  }, Br = ({
4105
4115
  showSubmit: u = !0
4106
4116
  }) => {
4107
- const p = {}, f = Fe.map((b) => qe(b.variant)).filter((b) => !!b && !p[b] && (p[b] = !0)), v = {}, T = Fe.map((b) => We(b.variant)).filter((b) => !!b && !v[b] && (v[b] = !0));
4117
+ const h = {}, f = Fe.map((b) => qe(b.variant)).filter((b) => !!b && !h[b] && (h[b] = !0)), v = {}, T = Fe.map((b) => We(b.variant)).filter((b) => !!b && !v[b] && (v[b] = !0));
4108
4118
  return /* @__PURE__ */ d("div", { className: "mx-4 mt-4 mb-2 rounded-xl border border-gray-200 bg-white p-4 animate-fade-in", children: [
4109
4119
  /* @__PURE__ */ a("h3", { className: "font-semibold text-gray-800", children: "Choose a variant" }),
4110
4120
  f.length > 0 && /* @__PURE__ */ d("div", { className: "mt-4", children: [
@@ -4113,10 +4123,10 @@ const He = "USD", xn = (e) => {
4113
4123
  S && /* @__PURE__ */ a("div", { className: "text-sm text-gray-600", children: S })
4114
4124
  ] }),
4115
4125
  /* @__PURE__ */ a("div", { className: "flex flex-wrap gap-4 mt-2", children: f.map((b) => {
4116
- var Le;
4117
- const U = S === b, K = F || R.current || null, ue = K ? ot(Fe, b, K) : ot(Fe, b, null), te = !!ue, ye = te && xn(ue.variant), oe = te && ye ? vr(ue.variant, He) || vr(ue.variant) : null, Ee = Fe.find(
4126
+ var De;
4127
+ const U = S === b, K = F || R.current || null, ue = K ? ot(Fe, b, K) : ot(Fe, b, null), te = !!ue, ye = te && xn(ue.variant), ne = te && ye ? vr(ue.variant, He) || vr(ue.variant) : null, Ee = Fe.find(
4118
4128
  (se) => qe(se.variant) === b
4119
- ), Oe = (Le = Ee == null ? void 0 : Ee.images) == null ? void 0 : Le[0];
4129
+ ), Oe = (De = Ee == null ? void 0 : Ee.images) == null ? void 0 : De[0];
4120
4130
  return /* @__PURE__ */ d(
4121
4131
  "div",
4122
4132
  {
@@ -4129,8 +4139,8 @@ const He = "USD", xn = (e) => {
4129
4139
  {
4130
4140
  onClick: () => {
4131
4141
  _(b);
4132
- const se = F || R.current || null, he = se && ot(Fe, b, se) || ot(Fe, b, null);
4133
- he && x(he.index);
4142
+ const se = F || R.current || null, pe = se && ot(Fe, b, se) || ot(Fe, b, null);
4143
+ pe && x(pe.index);
4134
4144
  },
4135
4145
  className: "w-full h-20 flex items-center justify-center overflow-hidden",
4136
4146
  title: b,
@@ -4147,11 +4157,11 @@ const He = "USD", xn = (e) => {
4147
4157
  /* @__PURE__ */ a("div", { className: "w-full border-t my-2" }),
4148
4158
  te && !ye && /* @__PURE__ */ a("div", { className: "text-[11px] text-red-600 text-center", children: "Out of stock" }),
4149
4159
  !te && /* @__PURE__ */ a("div", { className: "text-[11px] text-red-600 text-center", children: "any not offered" }),
4150
- te && ye && oe && /* @__PURE__ */ d("div", { className: "text-xs text-gray-800 font-medium text-center", children: [
4151
- Ae(oe.cent / 100, oe.cur),
4152
- oe.regularCent && oe.regularCent > oe.cent && /* @__PURE__ */ a("span", { className: "ml-1 line-through text-gray-500", children: Ae(
4153
- oe.regularCent / 100,
4154
- oe.cur
4160
+ te && ye && ne && /* @__PURE__ */ d("div", { className: "text-xs text-gray-800 font-medium text-center", children: [
4161
+ Ae(ne.cent / 100, ne.cur),
4162
+ ne.regularCent && ne.regularCent > ne.cent && /* @__PURE__ */ a("span", { className: "ml-1 line-through text-gray-500", children: Ae(
4163
+ ne.regularCent / 100,
4164
+ ne.cur
4155
4165
  ) })
4156
4166
  ] })
4157
4167
  ]
@@ -4183,7 +4193,7 @@ const He = "USD", xn = (e) => {
4183
4193
  u && /* @__PURE__ */ a("div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ a(
4184
4194
  "button",
4185
4195
  {
4186
- onClick: ho,
4196
+ onClick: po,
4187
4197
  className: "px-6 py-2.5 rounded-full font-semibold text-white shadow-md",
4188
4198
  style: { background: I },
4189
4199
  disabled: !Nt,
@@ -4191,7 +4201,7 @@ const He = "USD", xn = (e) => {
4191
4201
  }
4192
4202
  ) })
4193
4203
  ] });
4194
- }, Ur = (u, p = !0) => {
4204
+ }, Ur = (u, h = !0) => {
4195
4205
  !(u != null && u.extractedDetails) && u && (u = { extractedDetails: u });
4196
4206
  const f = (u == null ? void 0 : u.extractedDetails) || q;
4197
4207
  if (!f) return null;
@@ -4206,7 +4216,7 @@ const He = "USD", xn = (e) => {
4206
4216
  "p",
4207
4217
  {
4208
4218
  className: "text-base font-semibold text-center mt-2",
4209
- style: { color: De },
4219
+ style: { color: Le },
4210
4220
  children: "Here’s what I found from your instruction:"
4211
4221
  }
4212
4222
  ),
@@ -4236,12 +4246,12 @@ const He = "USD", xn = (e) => {
4236
4246
  ] })
4237
4247
  ] })
4238
4248
  ] }),
4239
- !p && /* @__PURE__ */ d(xe, { children: [
4249
+ !h && /* @__PURE__ */ d(xe, { children: [
4240
4250
  /* @__PURE__ */ d(
4241
4251
  "p",
4242
4252
  {
4243
4253
  className: "text-sm font-medium text-gray-700 text-center max-w-[90%] leading-relaxed",
4244
- style: { color: De },
4254
+ style: { color: Le },
4245
4255
  children: [
4246
4256
  "Would you like me to ",
4247
4257
  /* @__PURE__ */ a("strong", { children: "lock this in" }),
@@ -4259,7 +4269,7 @@ const He = "USD", xn = (e) => {
4259
4269
  style: { background: `${I}` },
4260
4270
  children: [
4261
4271
  /* @__PURE__ */ a(
4262
- re,
4272
+ oe,
4263
4273
  {
4264
4274
  icon: "fluent:checkmark-circle-24-filled",
4265
4275
  className: "mr-2",
@@ -4277,10 +4287,10 @@ const He = "USD", xn = (e) => {
4277
4287
  onClick: Mr,
4278
4288
  disabled: le,
4279
4289
  className: `relative inline-flex items-center justify-center px-6 py-2.5 rounded-full font-semibold border transition-all duration-300 ${le ? "opacity-60 cursor-not-allowed" : "hover:-translate-y-0.5 hover:shadow-lg"}`,
4280
- style: { borderColor: I, color: De },
4290
+ style: { borderColor: I, color: Le },
4281
4291
  children: [
4282
4292
  /* @__PURE__ */ a(
4283
- re,
4293
+ oe,
4284
4294
  {
4285
4295
  icon: "fluent:dismiss-circle-24-filled",
4286
4296
  className: "mr-2",
@@ -4297,15 +4307,15 @@ const He = "USD", xn = (e) => {
4297
4307
  ]
4298
4308
  }
4299
4309
  );
4300
- }, qr = (u, p = !0) => {
4310
+ }, qr = (u, h = !0) => {
4301
4311
  var gt, rt, Ue, ze, fe, nt;
4302
- const f = u || {}, v = ((gt = f == null ? void 0 : f.summary) == null ? void 0 : gt.currency) || (q == null ? void 0 : q.currency) || He, T = vn(r, w), b = kn(r), U = w != null && w.sku ? w.sku : (r == null ? void 0 : r.id) ?? (q == null ? void 0 : q.product_id), K = (w == null ? void 0 : w.sku) ?? Nn(r), ue = qe(w) || qs(r), te = We(w) || Rs(r), ye = Ct(f), oe = ((rt = f == null ? void 0 : f.summary) == null ? void 0 : rt.product_total) != null ? +f.summary.product_total : $r(f), Ee = ye > 0 ? +(oe / ye).toFixed(2) : 0, Oe = oe, Le = ((Ue = f == null ? void 0 : f.summary) == null ? void 0 : Ue.tax) ?? +(oe * 0.08).toFixed(2), se = ((ze = f == null ? void 0 : f.summary) == null ? void 0 : ze.shipping_fee) ?? (((fe = at[A]) == null ? void 0 : fe.fee) || 0), he = f != null && f.address ? [
4312
+ const f = u || {}, v = ((gt = f == null ? void 0 : f.summary) == null ? void 0 : gt.currency) || (q == null ? void 0 : q.currency) || He, T = vn(r, w), b = kn(r), U = w != null && w.sku ? w.sku : (r == null ? void 0 : r.id) ?? (q == null ? void 0 : q.product_id), K = (w == null ? void 0 : w.sku) ?? Nn(r), ue = qe(w) || qs(r), te = We(w) || Rs(r), ye = Ct(f), ne = ((rt = f == null ? void 0 : f.summary) == null ? void 0 : rt.product_total) != null ? +f.summary.product_total : $r(f), Ee = ye > 0 ? +(ne / ye).toFixed(2) : 0, Oe = ne, De = ((Ue = f == null ? void 0 : f.summary) == null ? void 0 : Ue.tax) ?? +(ne * 0.08).toFixed(2), se = ((ze = f == null ? void 0 : f.summary) == null ? void 0 : ze.shipping_fee) ?? (((fe = at[A]) == null ? void 0 : fe.fee) || 0), pe = f != null && f.address ? [
4303
4313
  f.address.addressLine1,
4304
4314
  f.address.addressLine2,
4305
4315
  f.address.street,
4306
4316
  [f.address.city, f.address.state, f.address.postalCode].filter(Boolean).join(", "),
4307
4317
  f.address.country
4308
- ].filter(Boolean).map((Dt) => Ke(String(Dt))).join(", ") : "—", Je = (f == null ? void 0 : f.payment) || "card", ht = Je === "card" ? /* @__PURE__ */ d(xe, { children: [
4318
+ ].filter(Boolean).map((Lt) => Ke(String(Lt))).join(", ") : "—", Je = (f == null ? void 0 : f.payment) || "card", pt = Je === "card" ? /* @__PURE__ */ d(xe, { children: [
4309
4319
  "Credit Card — Mastercard",
4310
4320
  /* @__PURE__ */ a("br", {}),
4311
4321
  "•••• 7820 Exp: 12/26"
@@ -4313,7 +4323,7 @@ const He = "USD", xn = (e) => {
4313
4323
  return /* @__PURE__ */ d("div", { className: "mx-auto mt-3 mb-3 rounded-2xl bg-white", children: [
4314
4324
  /* @__PURE__ */ a("div", { className: "px-6 pt-5 pb-3", children: /* @__PURE__ */ d("h3", { className: "font-semibold text-lg mb-2 text-gray-800 flex items-center gap-2", children: [
4315
4325
  /* @__PURE__ */ a(
4316
- re,
4326
+ oe,
4317
4327
  {
4318
4328
  icon: "mdi:receipt-text-check-outline",
4319
4329
  width: "24",
@@ -4331,7 +4341,7 @@ const He = "USD", xn = (e) => {
4331
4341
  className: "w-full h-full object-contain"
4332
4342
  }
4333
4343
  ) : /* @__PURE__ */ a(
4334
- re,
4344
+ oe,
4335
4345
  {
4336
4346
  icon: "mdi:image-outline",
4337
4347
  width: "24",
@@ -4386,11 +4396,11 @@ const He = "USD", xn = (e) => {
4386
4396
  /* @__PURE__ */ d("div", { className: "grid grid-cols-1 sm:grid-cols-3 gap-3 mb-3", children: [
4387
4397
  /* @__PURE__ */ d("div", { className: "flex flex-col items-center rounded-xl border border-gray-200 bg-gray-50 p-3", children: [
4388
4398
  /* @__PURE__ */ a("div", { className: "text-xs uppercase tracking-wide text-gray-500", children: "🏠 Address" }),
4389
- /* @__PURE__ */ a("div", { className: "mt-1 text-sm font-semibold text-gray-900 text-center", children: he })
4399
+ /* @__PURE__ */ a("div", { className: "mt-1 text-sm font-semibold text-gray-900 text-center", children: pe })
4390
4400
  ] }),
4391
4401
  /* @__PURE__ */ d("div", { className: "flex flex-col items-center rounded-xl border border-gray-200 bg-gray-50 p-3", children: [
4392
4402
  /* @__PURE__ */ a("div", { className: "text-xs uppercase tracking-wide text-gray-500", children: "💳 Payment" }),
4393
- /* @__PURE__ */ a("div", { className: "mt-1 text-sm font-semibold text-gray-900 text-center", children: ht })
4403
+ /* @__PURE__ */ a("div", { className: "mt-1 text-sm font-semibold text-gray-900 text-center", children: pt })
4394
4404
  ] }),
4395
4405
  /* @__PURE__ */ d("div", { className: "flex flex-col items-center rounded-xl border border-gray-200 bg-gray-50 p-3", children: [
4396
4406
  /* @__PURE__ */ a("div", { className: "text-xs uppercase tracking-wide text-gray-500", children: "🚚 Delivery" }),
@@ -4400,11 +4410,11 @@ const He = "USD", xn = (e) => {
4400
4410
  /* @__PURE__ */ d("div", { className: "grid grid-cols-1 sm:grid-cols-3 gap-3", children: [
4401
4411
  /* @__PURE__ */ d("div", { className: "flex flex-col items-center justify-center rounded-xl border border-gray-200 bg-gray-50 p-4 text-center", children: [
4402
4412
  /* @__PURE__ */ a("div", { className: "text-xs uppercase tracking-wide text-gray-500", children: "💰 any(s)" }),
4403
- /* @__PURE__ */ a("div", { className: "mt-1 text-2xl font-bold text-gray-900", children: Ae(oe, v) })
4413
+ /* @__PURE__ */ a("div", { className: "mt-1 text-2xl font-bold text-gray-900", children: Ae(ne, v) })
4404
4414
  ] }),
4405
4415
  /* @__PURE__ */ d("div", { className: "flex flex-col items-center justify-center rounded-xl border border-gray-200 bg-gray-50 p-4 text-center", children: [
4406
4416
  /* @__PURE__ */ a("div", { className: "text-xs uppercase tracking-wide text-gray-500", children: "🏛️ Taxes" }),
4407
- /* @__PURE__ */ a("div", { className: "mt-1 text-2xl font-bold text-gray-900", children: Ae(Le, v) })
4417
+ /* @__PURE__ */ a("div", { className: "mt-1 text-2xl font-bold text-gray-900", children: Ae(De, v) })
4408
4418
  ] }),
4409
4419
  /* @__PURE__ */ d("div", { className: "flex flex-col items-center justify-center rounded-xl border border-gray-200 bg-gray-50 p-4 text-center", children: [
4410
4420
  /* @__PURE__ */ a("div", { className: "text-xs uppercase tracking-wide text-gray-500", children: "🚚 Shipping" }),
@@ -4418,12 +4428,12 @@ const He = "USD", xn = (e) => {
4418
4428
  style: { background: tt },
4419
4429
  children: [
4420
4430
  /* @__PURE__ */ a("div", { className: "text-sm/5 opacity-95", children: "🔹 Total Payable" }),
4421
- /* @__PURE__ */ a("div", { className: "mt-1 text-3xl font-extrabold tracking-tight", children: Ae(oe + Le + se, v) })
4431
+ /* @__PURE__ */ a("div", { className: "mt-1 text-3xl font-extrabold tracking-tight", children: Ae(ne + De + se, v) })
4422
4432
  ]
4423
4433
  }
4424
4434
  )
4425
4435
  ] }),
4426
- !p && /* @__PURE__ */ d("div", { className: "px-6 pb-5", children: [
4436
+ !h && /* @__PURE__ */ d("div", { className: "px-6 pb-5", children: [
4427
4437
  !k && /* @__PURE__ */ a("p", { className: "mt-3 text-center text-sm text-gray-700", children: "Everything looks good! Do you want me to watch this product and buy it automatically when it meets your condition?" }),
4428
4438
  k && Ar({ intentMandateId: G }),
4429
4439
  er && !k && /* @__PURE__ */ d("div", { className: "mt-4 flex flex-wrap items-center justify-center gap-3", children: [
@@ -4450,7 +4460,7 @@ const He = "USD", xn = (e) => {
4450
4460
  ] });
4451
4461
  }, _o = (u) => {
4452
4462
  if (!u) return null;
4453
- const p = [
4463
+ const h = [
4454
4464
  u.addressLine1,
4455
4465
  u.addressLine2,
4456
4466
  u.street,
@@ -4464,15 +4474,15 @@ const He = "USD", xn = (e) => {
4464
4474
  style: { backgroundColor: "var(--tanya-light)" },
4465
4475
  children: /* @__PURE__ */ d("div", { className: "rounded-xl border border-gray-200 bg-white p-4", children: [
4466
4476
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2 mb-2", children: [
4467
- /* @__PURE__ */ a(re, { icon: "mdi:home-map-marker", width: "20", color: I }),
4477
+ /* @__PURE__ */ a(oe, { icon: "mdi:home-map-marker", width: "20", color: I }),
4468
4478
  /* @__PURE__ */ a("div", { className: "font-semibold text-gray-800", children: "Delivery Address" })
4469
4479
  ] }),
4470
- /* @__PURE__ */ a("div", { className: "text-sm text-gray-800", children: p })
4480
+ /* @__PURE__ */ a("div", { className: "text-sm text-gray-800", children: h })
4471
4481
  ] })
4472
4482
  }
4473
4483
  );
4474
4484
  }, Io = (u) => {
4475
- const p = u == null ? void 0 : u.method, f = p ? at[p] : void 0;
4485
+ const h = u == null ? void 0 : u.method, f = h ? at[h] : void 0;
4476
4486
  return /* @__PURE__ */ a(
4477
4487
  "div",
4478
4488
  {
@@ -4480,12 +4490,12 @@ const He = "USD", xn = (e) => {
4480
4490
  style: { backgroundColor: "var(--tanya-light)" },
4481
4491
  children: /* @__PURE__ */ d("div", { className: "rounded-xl border border-gray-200 bg-white p-4", children: [
4482
4492
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2 mb-1", children: [
4483
- /* @__PURE__ */ a(re, { icon: "mdi:truck-delivery", width: "20", color: I }),
4493
+ /* @__PURE__ */ a(oe, { icon: "mdi:truck-delivery", width: "20", color: I }),
4484
4494
  /* @__PURE__ */ a("div", { className: "font-semibold text-gray-800", children: "Delivery Method" })
4485
4495
  ] }),
4486
4496
  /* @__PURE__ */ a("div", { className: "text-sm text-gray-800", children: f ? /* @__PURE__ */ d(xe, { children: [
4487
4497
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
4488
- /* @__PURE__ */ a(re, { icon: f.icon, width: "18" }),
4498
+ /* @__PURE__ */ a(oe, { icon: f.icon, width: "18" }),
4489
4499
  /* @__PURE__ */ a("span", { className: "font-medium", children: f.label })
4490
4500
  ] }),
4491
4501
  /* @__PURE__ */ a("div", { className: "text-gray-600", children: f.subtitle })
@@ -4494,7 +4504,7 @@ const He = "USD", xn = (e) => {
4494
4504
  }
4495
4505
  );
4496
4506
  }, Fo = (u) => {
4497
- const p = (u == null ? void 0 : u.method) || "card";
4507
+ const h = (u == null ? void 0 : u.method) || "card";
4498
4508
  return /* @__PURE__ */ a(
4499
4509
  "div",
4500
4510
  {
@@ -4503,7 +4513,7 @@ const He = "USD", xn = (e) => {
4503
4513
  children: /* @__PURE__ */ d("div", { className: "rounded-xl border border-gray-200 bg-white p-4", children: [
4504
4514
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2 mb-1", children: [
4505
4515
  /* @__PURE__ */ a(
4506
- re,
4516
+ oe,
4507
4517
  {
4508
4518
  icon: "mdi:credit-card-outline",
4509
4519
  width: "20",
@@ -4512,21 +4522,21 @@ const He = "USD", xn = (e) => {
4512
4522
  ),
4513
4523
  /* @__PURE__ */ a("div", { className: "font-semibold text-gray-800", children: "Payment Method" })
4514
4524
  ] }),
4515
- /* @__PURE__ */ a("div", { className: "text-sm text-gray-800", children: p === "card" ? /* @__PURE__ */ d(xe, { children: [
4525
+ /* @__PURE__ */ a("div", { className: "text-sm text-gray-800", children: h === "card" ? /* @__PURE__ */ d(xe, { children: [
4516
4526
  "Credit Card — Mastercard",
4517
4527
  /* @__PURE__ */ a("br", {}),
4518
4528
  "•••• 7820   Exp: 12/26"
4519
- ] }) : Ke(p) })
4529
+ ] }) : Ke(h) })
4520
4530
  ] })
4521
4531
  }
4522
4532
  );
4523
- }, Po = (u, p) => {
4533
+ }, Po = (u, h) => {
4524
4534
  const f = u.snapshotStage;
4525
4535
  if (!f || f === "address" && le || f === "delivery" && Y || f === "payment" && X || f === "final" && Ne)
4526
4536
  return null;
4527
4537
  switch (f) {
4528
4538
  case "initial":
4529
- return Ur(u.snapshotPayload, !p);
4539
+ return Ur(u.snapshotPayload, !h);
4530
4540
  case "address":
4531
4541
  return _o(u.snapshotPayload);
4532
4542
  case "delivery":
@@ -4534,7 +4544,7 @@ const He = "USD", xn = (e) => {
4534
4544
  case "payment":
4535
4545
  return Fo(u.snapshotPayload);
4536
4546
  case "final":
4537
- return qr(u.snapshotPayload, !p);
4547
+ return qr(u.snapshotPayload, !h);
4538
4548
  case "success":
4539
4549
  return Ar(u.snapshotPayload);
4540
4550
  default:
@@ -4581,7 +4591,10 @@ const He = "USD", xn = (e) => {
4581
4591
  gap: "0.5rem"
4582
4592
  },
4583
4593
  children: [
4584
- /* @__PURE__ */ a(re, { icon: "ph:sparkle-duotone", width: "25", height: "25" }),
4594
+ /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "256", height: "256", viewBox: "0 0 256 256", children: /* @__PURE__ */ d("g", { fill: "currentColor", children: [
4595
+ /* @__PURE__ */ a("path", { d: "m194.82 151.43l-55.09 20.3l-20.3 55.09a7.92 7.92 0 0 1-14.86 0l-20.3-55.09l-55.09-20.3a7.92 7.92 0 0 1 0-14.86l55.09-20.3l20.3-55.09a7.92 7.92 0 0 1 14.86 0l20.3 55.09l55.09 20.3a7.92 7.92 0 0 1 0 14.86", opacity: "0.2" }),
4596
+ /* @__PURE__ */ a("path", { d: "M197.58 129.06L146 110l-19-51.62a15.92 15.92 0 0 0-29.88 0L78 110l-51.62 19a15.92 15.92 0 0 0 0 29.88L78 178l19 51.62a15.92 15.92 0 0 0 29.88 0L146 178l51.62-19a15.92 15.92 0 0 0 0-29.88ZM137 164.22a8 8 0 0 0-4.74 4.74L112 223.85L91.78 169a8 8 0 0 0-4.78-4.78L32.15 144L87 123.78a8 8 0 0 0 4.78-4.78L112 64.15L132.22 119a8 8 0 0 0 4.74 4.74L191.85 144ZM144 40a8 8 0 0 1 8-8h16V16a8 8 0 0 1 16 0v16h16a8 8 0 0 1 0 16h-16v16a8 8 0 0 1-16 0V48h-16a8 8 0 0 1-8-8m104 48a8 8 0 0 1-8 8h-8v8a8 8 0 0 1-16 0v-8h-8a8 8 0 0 1 0-16h8v-8a8 8 0 0 1 16 0v8h8a8 8 0 0 1 8 8" })
4597
+ ] }) }),
4585
4598
  /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a("p", { className: "font-bold", children: "Agentic Shopping with TANYA" }) })
4586
4599
  ]
4587
4600
  }
@@ -4596,7 +4609,7 @@ const He = "USD", xn = (e) => {
4596
4609
  margin: "0.75rem"
4597
4610
  },
4598
4611
  children: /* @__PURE__ */ a(
4599
- re,
4612
+ oe,
4600
4613
  {
4601
4614
  icon: "fluent:dismiss-24-filled",
4602
4615
  color: "#ffffff",
@@ -4614,7 +4627,7 @@ const He = "USD", xn = (e) => {
4614
4627
  /* @__PURE__ */ d(
4615
4628
  "div",
4616
4629
  {
4617
- ref: pt,
4630
+ ref: ht,
4618
4631
  className: "overflow-y-auto pr-5 pb-4 space-y-4 hide-scrollbar flex-grow",
4619
4632
  children: [
4620
4633
  /* @__PURE__ */ d(
@@ -4635,9 +4648,9 @@ const He = "USD", xn = (e) => {
4635
4648
  ),
4636
4649
  /* @__PURE__ */ a(Co, {}),
4637
4650
  g > 1 && /* @__PURE__ */ a(Br, { showSubmit: !1 }),
4638
- Ye.map((u, p) => {
4651
+ Ye.map((u, h) => {
4639
4652
  var T;
4640
- const f = p === Ye.length - 1, v = !!u.snapshotStage;
4653
+ const f = h === Ye.length - 1, v = !!u.snapshotStage;
4641
4654
  return /* @__PURE__ */ d("div", { children: [
4642
4655
  u.query && /* @__PURE__ */ a("div", { className: "flex justify-end", children: /* @__PURE__ */ a(
4643
4656
  "p",
@@ -4684,7 +4697,7 @@ const He = "USD", xn = (e) => {
4684
4697
  /* @__PURE__ */ a(
4685
4698
  "button",
4686
4699
  {
4687
- onClick: po,
4700
+ onClick: ho,
4688
4701
  className: "px-5 py-2 rounded-full font-semibold border",
4689
4702
  style: {
4690
4703
  borderColor: I,
@@ -4723,13 +4736,13 @@ const He = "USD", xn = (e) => {
4723
4736
  )
4724
4737
  }
4725
4738
  )
4726
- ] }, p);
4739
+ ] }, h);
4727
4740
  }),
4728
4741
  le && /* @__PURE__ */ d("div", { className: "mt-6 mb-6 mx-6 rounded-xl p-6 shadow-md border border-gray-200 bg-white animate-fade-in", children: [
4729
4742
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
4730
4743
  /* @__PURE__ */ d("h3", { className: "font-semibold text-lg text-gray-800 flex items-center gap-2", children: [
4731
4744
  /* @__PURE__ */ a(
4732
- re,
4745
+ oe,
4733
4746
  {
4734
4747
  icon: "mdi:home-map-marker",
4735
4748
  width: "24",
@@ -4771,7 +4784,7 @@ const He = "USD", xn = (e) => {
4771
4784
  className: `space-y-3 ${j ? "opacity-70" : ""}`,
4772
4785
  children: [
4773
4786
  Ze.map((u) => {
4774
- const p = [u.addressLine1, u.addressLine2].filter(Boolean).map((K) => Ke(K || "")).join(" "), f = Ke(u.city || ""), v = `${Ke(u.state || "")}${u.state && u.postalCode ? ", " : ""}${u.postalCode || ""}`, T = Ke(u.country || ""), b = String(u.addressId ?? u.id), U = Ie === b;
4787
+ const h = [u.addressLine1, u.addressLine2].filter(Boolean).map((K) => Ke(K || "")).join(" "), f = Ke(u.city || ""), v = `${Ke(u.state || "")}${u.state && u.postalCode ? ", " : ""}${u.postalCode || ""}`, T = Ke(u.country || ""), b = String(u.addressId ?? u.id), U = Ie === b;
4775
4788
  return /* @__PURE__ */ d(
4776
4789
  "label",
4777
4790
  {
@@ -4791,7 +4804,7 @@ const He = "USD", xn = (e) => {
4791
4804
  }
4792
4805
  ),
4793
4806
  /* @__PURE__ */ d("div", { className: "flex-1", children: [
4794
- /* @__PURE__ */ a("div", { className: "font-semibold text-gray-800", children: p || "Address" }),
4807
+ /* @__PURE__ */ a("div", { className: "font-semibold text-gray-800", children: h || "Address" }),
4795
4808
  /* @__PURE__ */ d("div", { className: "text-sm text-gray-700", children: [
4796
4809
  f,
4797
4810
  /* @__PURE__ */ a("br", {}),
@@ -4837,7 +4850,7 @@ const He = "USD", xn = (e) => {
4837
4850
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
4838
4851
  /* @__PURE__ */ d("h3", { className: "font-semibold text-lg text-gray-800 flex items-center gap-2", children: [
4839
4852
  /* @__PURE__ */ a(
4840
- re,
4853
+ oe,
4841
4854
  {
4842
4855
  icon: "mdi:truck-delivery",
4843
4856
  width: "24",
@@ -4870,7 +4883,7 @@ const He = "USD", xn = (e) => {
4870
4883
  className: `space-y-3 ${B ? "opacity-70" : ""}`,
4871
4884
  children: Object.keys(at).map(
4872
4885
  (u) => {
4873
- const p = at[u], f = A === u;
4886
+ const h = at[u], f = A === u;
4874
4887
  return /* @__PURE__ */ d(
4875
4888
  "label",
4876
4889
  {
@@ -4890,14 +4903,14 @@ const He = "USD", xn = (e) => {
4890
4903
  ),
4891
4904
  /* @__PURE__ */ d("div", { className: "flex-1", children: [
4892
4905
  /* @__PURE__ */ d("div", { className: "font-semibold text-gray-800 flex items-center gap-2", children: [
4893
- /* @__PURE__ */ a(re, { icon: p.icon, width: "18" }),
4906
+ /* @__PURE__ */ a(oe, { icon: h.icon, width: "18" }),
4894
4907
  " ",
4895
- p.label
4908
+ h.label
4896
4909
  ] }),
4897
- /* @__PURE__ */ a("div", { className: "text-sm text-gray-700", children: p.subtitle })
4910
+ /* @__PURE__ */ a("div", { className: "text-sm text-gray-700", children: h.subtitle })
4898
4911
  ] }),
4899
- /* @__PURE__ */ a("div", { className: "text-sm font-semibold text-gray-800", children: p.fee === 0 ? "Free" : Ae(
4900
- p.fee,
4912
+ /* @__PURE__ */ a("div", { className: "text-sm font-semibold text-gray-800", children: h.fee === 0 ? "Free" : Ae(
4913
+ h.fee,
4901
4914
  (q == null ? void 0 : q.currency) || He
4902
4915
  ) })
4903
4916
  ]
@@ -4937,7 +4950,7 @@ const He = "USD", xn = (e) => {
4937
4950
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
4938
4951
  /* @__PURE__ */ d("h3", { className: "font-semibold text-lg text-gray-800 flex items-center gap-2", children: [
4939
4952
  /* @__PURE__ */ a(
4940
- re,
4953
+ oe,
4941
4954
  {
4942
4955
  icon: "mdi:credit-card-outline",
4943
4956
  width: "24",
@@ -4987,7 +5000,7 @@ const He = "USD", xn = (e) => {
4987
5000
  ),
4988
5001
  /* @__PURE__ */ d("div", { className: "flex-1", children: [
4989
5002
  /* @__PURE__ */ d("div", { className: "font-semibold text-gray-800 flex items-center gap-2", children: [
4990
- /* @__PURE__ */ a(re, { icon: "mdi:credit-card-chip-outline", width: "18" }),
5003
+ /* @__PURE__ */ a(oe, { icon: "mdi:credit-card-chip-outline", width: "18" }),
4991
5004
  " ",
4992
5005
  "Credit Card"
4993
5006
  ] }),
@@ -5035,7 +5048,7 @@ const He = "USD", xn = (e) => {
5035
5048
  ),
5036
5049
  delivery: localStorage.getItem("agentic_order_delivery"),
5037
5050
  payment: localStorage.getItem("agentic_order_payment"),
5038
- summary: Dr(q == null ? void 0 : q.currency)
5051
+ summary: Lr(q == null ? void 0 : q.currency)
5039
5052
  },
5040
5053
  !1
5041
5054
  )
@@ -5046,25 +5059,25 @@ const He = "USD", xn = (e) => {
5046
5059
  /* @__PURE__ */ a(
5047
5060
  "input",
5048
5061
  {
5049
- placeholder: L ? "Complete the current step…" : Nt ? `What would you like me to do? (e.g., If this product goes below $${parseInt(r.price) - 5}, grab it for me.)` : "Oops! This combination isn’t available for this product. Try a different option.",
5062
+ placeholder: D ? "Complete the current step…" : Nt ? `What would you like me to do? (e.g., If this product goes below $${parseInt(r.price) - 5}, grab it for me.)` : "Oops! This combination isn’t available for this product. Try a different option.",
5050
5063
  disabled: fo,
5051
5064
  className: `w-full rounded-full p-4 outline-none border-none focus:ring-0 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed
5052
5065
  ${Nt ? "" : "placeholder:text-red-400 text-red-500"}`,
5053
5066
  value: $e,
5054
5067
  onKeyDown: (u) => {
5055
- u.key === "Enter" && !Q && !L && Lr();
5068
+ u.key === "Enter" && !Q && !D && Dr();
5056
5069
  },
5057
- onChange: (u) => pe(u.target.value)
5070
+ onChange: (u) => he(u.target.value)
5058
5071
  }
5059
5072
  ),
5060
5073
  /* @__PURE__ */ a(
5061
5074
  "button",
5062
5075
  {
5063
5076
  type: "submit",
5064
- disabled: Q || L,
5077
+ disabled: Q || D,
5065
5078
  className: "mr-6 font-medium",
5066
5079
  style: { color: "var(--tanya-light)" },
5067
- onClick: () => Lr(),
5080
+ onClick: () => Dr(),
5068
5081
  children: Q ? /* @__PURE__ */ a(
5069
5082
  "div",
5070
5083
  {
@@ -5072,7 +5085,7 @@ const He = "USD", xn = (e) => {
5072
5085
  style: { borderBottom: "2px solid" }
5073
5086
  }
5074
5087
  ) : /* @__PURE__ */ a(
5075
- re,
5088
+ oe,
5076
5089
  {
5077
5090
  icon: "fluent:send-48-filled",
5078
5091
  color: "var(--tanya-light)",