UNPKG

1ff-react-chat-ui

Version:
855 lines (853 loc) 225 kB
(function(){"use strict";try{if(typeof document<"u"){const t=document.createElement("style");t.id="react-tw-ai-client",t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}: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:Plus Jakarta Sans,Roboto,Mulish,Exo,Helvetica,Arial,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(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: }::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--pointer-events-none{pointer-events:none}.tw--pointer-events-auto{pointer-events:auto}.tw--fixed{position:fixed}.tw--absolute{position:absolute}.tw--relative{position:relative}.tw---top-1\\/2{top:-50%}.tw--bottom-0{bottom:0}.tw--bottom-1{bottom:.25rem}.tw--bottom-\\[-16px\\]{bottom:-16px}.tw--left-0{left:0}.tw--right-0{right:0}.tw--right-4{right:1rem}.tw--right-\\[-10px\\]{right:-10px}.tw--top-0{top:0}.tw--top-8{top:2rem}.tw--top-\\[-30px\\]{top:-30px}.tw--top-\\[50\\%\\]{top:50%}.tw--z-50{z-index:50}.tw--z-\\[101\\]{z-index:101}.tw--z-\\[9999\\]{z-index:9999}.tw--m-0{margin:0}.tw--m-auto{margin:auto}.tw--mx-10{margin-left:2.5rem;margin-right:2.5rem}.tw--mx-\\[30px\\]{margin-left:30px;margin-right:30px}.tw--mx-auto{margin-left:auto;margin-right:auto}.tw--my-4{margin-top:1rem;margin-bottom:1rem}.tw--mb-5{margin-bottom:1.25rem}.tw--mb-6{margin-bottom:1.5rem}.tw--mb-7{margin-bottom:1.75rem}.tw--mb-\\[11px\\]{margin-bottom:11px}.tw--mb-auto{margin-bottom:auto}.tw--ml-7{margin-left:1.75rem}.tw--ml-auto{margin-left:auto}.tw--mr-0{margin-right:0}.tw--mr-5{margin-right:1.25rem}.tw--mr-\\[5px\\]{margin-right:5px}.tw--mt-0{margin-top:0}.tw--mt-20{margin-top:5rem}.tw--mt-24{margin-top:6rem}.tw--mt-\\[11px\\]{margin-top:11px}.tw--mt-\\[30px\\]{margin-top:30px}.tw--box-border{box-sizing:border-box}.tw--box-content{box-sizing:content-box}.tw--block{display:block}.tw--inline-block{display:inline-block}.tw--flex{display:flex}.tw--grid{display:grid}.tw--hidden{display:none}.tw--h-16{height:4rem}.tw--h-4{height:1rem}.tw--h-6{height:1.5rem}.tw--h-8{height:2rem}.tw--h-\\[12px\\]{height:12px}.tw--h-\\[200px\\]{height:200px}.tw--h-\\[50px\\]{height:50px}.tw--h-\\[60px\\]{height:60px}.tw--h-fit{height:-moz-fit-content;height:fit-content}.tw--h-full{height:100%}.tw--h-screen{height:100vh}.tw--max-h-\\[700px\\]{max-height:700px}.tw--max-h-screen{max-height:100vh}.tw--min-h-\\[315px\\]{min-height:315px}.tw--min-h-\\[400px\\]{min-height:400px}.tw--w-16{width:4rem}.tw--w-4{width:1rem}.tw--w-6{width:1.5rem}.tw--w-64{width:16rem}.tw--w-8{width:2rem}.tw--w-\\[12px\\]{width:12px}.tw--w-\\[300px\\]{width:300px}.tw--w-fit{width:-moz-fit-content;width:fit-content}.tw--w-full{width:100%}.tw--w-screen{width:100vw}.tw--max-w-\\[280px\\]{max-width:280px}.tw--max-w-\\[335px\\]{max-width:335px}.tw--max-w-\\[375px\\]{max-width:375px}.tw--max-w-\\[400px\\]{max-width:400px}.tw--max-w-\\[500px\\]{max-width:500px}.tw--max-w-md{max-width:28rem}.tw--max-w-xs{max-width:20rem}.tw--flex-1{flex:1 1 0%}.tw--shrink{flex-shrink:1}.tw--shrink-0{flex-shrink:0}.tw--grow-0{flex-grow:0}.tw--translate-x-72{--tw-translate-x: 18rem;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))}.tw--translate-y-1\\/2{--tw-translate-y: 50%;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))}.tw--translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;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 tw--rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tw--animate-rotate{animation:tw--rotate .5s linear infinite}@keyframes tw--text-spin{0%{transform:translate(18rem)}6.25%,12.5%{transform:translate(-.5rem)}18.75%,25%{transform:translate(-21.5rem)}31.25%,37.5%{transform:translate(-42.5rem)}43.75%,50%{transform:translate(-63.5rem)}56.25%,62.5%{transform:translate(-84.5rem)}68.75%,75%{transform:translate(-105.5rem)}81.25%,87.5%{transform:translate(-126.5rem)}93.75%,to{transform:translate(-147.5em)}}.tw--animate-text-spin{animation:tw--text-spin 30s linear infinite}.tw--animate-wave{animation:tw--wave 1.3s linear infinite}.tw--animate-wave-delay{animation:tw--wave 1.3s linear infinite -1.1s}@keyframes tw--wave{0%{transform:initial}60%{transform:initial}to{transform:initial}30%{transform:translateY(-15px)}}.tw--animate-wave-delay-2{animation:tw--wave 1.3s linear infinite -.9s}.tw--cursor-pointer{cursor:pointer}.tw--select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.tw--flex-row{flex-direction:row}.tw--flex-col{flex-direction:column}.tw--flex-col-reverse{flex-direction:column-reverse}.tw--flex-wrap{flex-wrap:wrap}.tw--items-end{align-items:flex-end}.tw--items-center{align-items:center}.tw--items-stretch{align-items:stretch}.tw--justify-center{justify-content:center}.tw--justify-between{justify-content:space-between}.tw--gap-2{gap:.5rem}.tw--space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.tw--space-x-\\[6px\\]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(6px * var(--tw-space-x-reverse));margin-left:calc(6px * calc(1 - var(--tw-space-x-reverse)))}.tw--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))}.tw--space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.tw--space-y-\\[10px\\]>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(10px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(10px * var(--tw-space-y-reverse))}.tw--space-y-\\[11px\\]>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(11px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(11px * var(--tw-space-y-reverse))}.tw--self-start{align-self:flex-start}.tw--self-stretch{align-self:stretch}.tw--justify-self-start{justify-self:start}.tw--justify-self-end{justify-self:end}.tw--justify-self-stretch{justify-self:stretch}.tw--overflow-hidden{overflow:hidden}.tw--overflow-y-scroll{overflow-y:scroll}.tw--whitespace-pre-wrap{white-space:pre-wrap}.tw--break-words{overflow-wrap:break-word}.tw--rounded-3xl{border-radius:1.5rem}.tw--rounded-\\[20px\\]{border-radius:20px}.tw--rounded-full{border-radius:9999px}.tw--rounded-lg{border-radius:.5rem}.tw--rounded-xl{border-radius:.75rem}.tw--border{border-width:1px}.tw--border-0{border-width:0px}.tw--border-\\[5px\\]{border-width:5px}.tw--border-r{border-right-width:1px}.tw--border-solid{border-style:solid}.tw--border-glaze{border-color:var(--glaze)}.tw--border-zephyr-200{border-color:var(--zephyr-200)}.tw--border-l-zephyr-600{border-left-color:var(--zephyr-600)}.tw--border-r-\\[\\#cacadb\\]{--tw-border-opacity: 1;border-right-color:rgb(202 202 219 / var(--tw-border-opacity))}.tw--border-t-zephyr-600{border-top-color:var(--zephyr-600)}.tw--bg-\\[\\#0f0e1e\\]{--tw-bg-opacity: 1;background-color:rgb(15 14 30 / var(--tw-bg-opacity))}.tw--bg-\\[transparent\\]{background-color:transparent}.tw--bg-glaze{background-color:var(--glaze)}.tw--bg-glazeBg{background-color:var(--glazeBg)}.tw--bg-iota-dots{background-color:var(--iota-dots)}.tw--bg-loader{background-color:var(--loader)}.tw--bg-lumina{background-color:var(--lumina)}.tw--bg-neon{background-color:var(--neon)}.tw--bg-overlay{background-color:var(--overlay)}.tw--bg-pale-dots{background-color:var(--pale-dots)}.tw--bg-seraph{background-color:var(--seraph)}.tw--bg-whisper{background-color:var(--whisper)}.tw--bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.tw--bg-zephyr-100{background-color:var(--zephyr-100)}.tw--bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.tw--from-\\[\\#FF0000\\]{--tw-gradient-from: #FF0000 var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.tw--to-\\[\\#F25640\\]{--tw-gradient-to: #F25640 var(--tw-gradient-to-position)}.tw--p-0{padding:0}.tw--p-0\\.5{padding:.125rem}.tw--p-1{padding:.25rem}.tw--p-3{padding:.75rem}.tw--p-5{padding:1.25rem}.tw--p-7{padding:1.75rem}.tw--px-1{padding-left:.25rem;padding-right:.25rem}.tw--px-4{padding-left:1rem;padding-right:1rem}.tw--px-5{padding-left:1.25rem;padding-right:1.25rem}.tw--px-\\[15px\\]{padding-left:15px;padding-right:15px}.tw--py-2{padding-top:.5rem;padding-bottom:.5rem}.tw--py-3{padding-top:.75rem;padding-bottom:.75rem}.tw--py-\\[11px\\]{padding-top:11px;padding-bottom:11px}.tw--pb-1{padding-bottom:.25rem}.tw--pb-10{padding-bottom:2.5rem}.tw--pb-5{padding-bottom:1.25rem}.tw--pb-6{padding-bottom:1.5rem}.tw--pb-\\[11px\\]{padding-bottom:11px}.tw--pb-\\[30px\\]{padding-bottom:30px}.tw--pb-\\[5px\\]{padding-bottom:5px}.tw--pl-\\[10px\\]{padding-left:10px}.tw--pl-\\[35px\\]{padding-left:35px}.tw--pr-2{padding-right:.5rem}.tw--pr-\\[5px\\]{padding-right:5px}.tw--pt-10{padding-top:2.5rem}.tw--pt-5{padding-top:1.25rem}.tw--text-left{text-align:left}.tw--text-center{text-align:center}.tw--text-2xl{font-size:1.5rem;line-height:2rem}.tw--text-\\[10px\\]{font-size:10px}.tw--text-\\[12\\.8px\\]{font-size:12.8px}.tw--text-\\[16px\\]{font-size:16px}.tw--text-\\[20px\\]{font-size:20px}.tw--text-\\[24px\\]{font-size:24px}.tw--text-lg{font-size:1.125rem;line-height:1.75rem}.tw--text-sm{font-size:.875rem;line-height:1.25rem}.tw--text-xl,.tw--text-xl\\/7{font-size:1.25rem;line-height:1.75rem}.tw--font-bold{font-weight:700}.tw--font-density-different{font-weight:var(--density-different)}.tw--font-extrabold{font-weight:800}.tw--font-medium{font-weight:500}.tw--font-semibold{font-weight:600}.tw--leading-5{line-height:1.25rem}.tw--leading-\\[1\\.4\\]{line-height:1.4}.tw--leading-\\[1\\.56\\]{line-height:1.56}.tw--leading-\\[1\\.63\\]{line-height:1.63}.tw--leading-\\[1\\]{line-height:1}.tw--leading-\\[2\\]{line-height:2}.tw--leading-\\[30px\\]{line-height:30px}.tw--text-\\[\\#21bb5a\\]{--tw-text-opacity: 1;color:rgb(33 187 90 / var(--tw-text-opacity))}.tw--text-\\[\\#ff0043\\]{--tw-text-opacity: 1;color:rgb(255 0 67 / var(--tw-text-opacity))}.tw--text-dots{color:var(--dots)}.tw--text-glazeText{color:var(--glazeText)}.tw--text-muted-blue{color:#0f0e1e99}.tw--text-seraph{color:var(--seraph)}.tw--text-whisper{color:var(--whisper)}.tw--text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.tw--text-zephyr-100{color:var(--zephyr-100)}.tw--text-zephyr-600{color:var(--zephyr-600)}.tw--text-zephyr-800{color:var(--zephyr-800)}.tw--text-zeta{color:var(--zeta)}.tw--underline{text-decoration-line:underline}.tw--opacity-40{opacity:.4}.tw--opacity-60{opacity:.6}.tw--shadow-\\[-1px_2px_5px_0\\]{--tw-shadow: -1px 2px 5px 0;--tw-shadow-colored: -1px 2px 5px 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)}.tw--shadow-\\[0px_12px_24px_-4px_rgba\\(1\\,154\\,255\\,0\\.2\\)\\]{--tw-shadow: 0px 12px 24px -4px rgba(1,154,255,.2);--tw-shadow-colored: 0px 12px 24px -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)}.tw--shadow-card{--tw-shadow: 0 12px 24px 0 rgba(var(--ze) .06), 0 4px 8px 0 rgba(var(--ze), .04);--tw-shadow-colored: 0 12px 24px 0 var(--tw-shadow-color), 0 4px 8px 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)}.tw--shadow-loading-dots{--tw-shadow: -24px 0 rgba(201, 201, 201, .5), 24px 0 rgba(201, 201, 201, .5);--tw-shadow-colored: -24px 0 var(--tw-shadow-color), 24px 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)}.tw--shadow-zephyr-200{--tw-shadow-color: var(--zephyr-200);--tw-shadow: var(--tw-shadow-colored)}.tw--translate-z-0 *{transform:translateZ(0)}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.\\[key\\:string\\]{key:string}#chatbot-container *{font-family:inherit!important}.spaced-letters{letter-spacing:2px}.mt-8{margin-top:2rem}.mb-6{margin-bottom:1.5rem}.scroll-stop{overflow:hidden;position:fixed;left:0;right:0;top:0}span>p:last-child{display:inline;position:relative}.light{--lumina: #f0f2f5;--whisper: #ffffff;--seraph: #21bb5a;--ember: #cacadb;--enigma: #ffae19;--glaze: #21bb5a;--glazeText: #151226;--glazeBg: #ffffff;--sigma: #0f0e1e;--zeta: #0f0e1e;--status: #21bb5a;--loader: #f6f8fa;--dots: #21bb5a;--neon: #019aff;--pale-dots: #cacadb;--iota-dots: #21bb5a;--overlay: rgba(255, 255, 255, .6);--ze: 43, 49, 57;--zephyr-100: rgb(var(--ze));--zephyr-200: rgba(var(--ze), .1);--zephyr-600: rgba(var(--ze), .6);--zephyr-800: rgba(var(--ze), .8);--card: 0 12px 24px 0 rgba(43, 49, 57, .06), 0 4px 8px 0 rgba(43, 55, 70, .04);--loading-dots: -24px 0 rgba(201, 201, 201, .5), 24px 0 rgba(201, 201, 201, .5);--density-different: 500}.dark{--lumina: #252239;--whisper: #151226;--seraph: #f53373;--ember: #cacadb;--enigma: #ffae19;--glaze: #b3bac6;--glazeText: #151226;--glazeBg: #b3bac6;--sigma: #0f0e1e;--zeta: #ffffff;--status: #21bb5a;--loader: #252239;--dots: #f53374;--neon: #019aff;--pale-dots: #ffffff;--iota-dots: #21bb5a;--overlay: rgba(15, 14, 30, .9);--ze: 255, 255, 255;--zephyr-100: rgb(var(--ze));--zephyr-200: rgba(var(--ze), .1);--zephyr-600: rgba(var(--ze), .6);--zephyr-800: rgba(var(--ze), .8);--card: 0 12px 24px 0 rgba(0, 0, 0, .12), 0 4px 8px 0 rgba(0, 0, 0, .1);--loading-dots: -24px 0 rgba(255, 255, 255, .5), 24px 0 rgba(255, 255, 255, .5);--density-different: 400}ul,ol{list-style:auto;list-style-position:inside;display:flex;flex-direction:column}ul{list-style-position:inside;list-style-type:disc}li{padding:0;position:relative}li:last-child{width:-moz-fit-content;width:fit-content}li+li{margin-top:0}span:not(.after\\:tw--hidden) ol:last-child li:last-child:after,span:not(.after\\:tw--hidden) ul:last-child li:last-child:after,span:not(.after\\:tw--hidden) p:last-child:after{content:"";width:.25rem;height:1rem;display:inline-block;background:var(--zephyr-100);position:absolute;left:auto;bottom:4px}@keyframes tw--blink{0%{opacity:1}49%{opacity:1}50%{opacity:0}to{opacity:0}}span:not(.after\\:tw--hidden) ol:last-child li:last-child:after,span:not(.after\\:tw--hidden) ul:last-child li:last-child:after,span:not(.after\\:tw--hidden) p:last-child:after{animation:tw--blink .5s infinite}span:not(.after\\:tw--hidden):has(ol li):after,span:not(.after\\:tw--hidden):has(ul li):after,span:not(.after\\:tw--hidden):has(p:last-child):after{display:none}.after\\:tw--absolute:after{content:var(--tw-content);position:absolute}.after\\:tw--bottom-\\[-2px\\]:after{content:var(--tw-content);bottom:-2px}.after\\:tw--left-\\[37px\\]:after{content:var(--tw-content);left:37px}.after\\:tw--z-10:after{content:var(--tw-content);z-index:10}.after\\:tw--ml-1:after{content:var(--tw-content);margin-left:.25rem}.after\\:tw--inline-block:after{content:var(--tw-content);display:inline-block}.after\\:tw--hidden:after{content:var(--tw-content);display:none}.after\\:tw--h-4:after{content:var(--tw-content);height:1rem}.after\\:tw--h-\\[10px\\]:after{content:var(--tw-content);height:10px}.after\\:tw--w-1:after{content:var(--tw-content);width:.25rem}.after\\:tw--w-\\[10px\\]:after{content:var(--tw-content);width:10px}@keyframes tw--blink{0%{content:var(--tw-content);opacity:1}49%{content:var(--tw-content);opacity:1}50%{content:var(--tw-content);opacity:0}to{content:var(--tw-content);opacity:0}}.after\\:tw--animate-blink:after{content:var(--tw-content);animation:tw--blink .5s infinite}.after\\:tw--rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\\:tw--bg-iota-dots:after{content:var(--tw-content);background-color:var(--iota-dots)}.after\\:tw--bg-zephyr-100:after{content:var(--tw-content);background-color:var(--zephyr-100)}.focus\\:\\!tw--bg-lumina:focus{background-color:var(--lumina)!important}.focus\\:tw--outline-none:focus{outline:2px solid transparent;outline-offset:2px}@media (min-width: 350px){.customXs\\:tw--max-w-xs{max-width:20rem}.customXs\\:tw--text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\\:tw--w-\\[350px\\]{width:350px}.md\\:tw--max-w-\\[570px\\]{max-width:570px}.md\\:tw--max-w-\\[800px\\]{max-width:800px}}')),document.body.appendChild(t)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})(); import $t, { PureComponent as ki, useState as ct, useLayoutEffect as Li, useEffect as dt, forwardRef as Gn, useRef as Cr, memo as Mi } from "react"; import Oi from "react-dom"; import { useDispatch as Ri, useSelector as Ni, Provider as Di } from "react-redux"; import { createSlice as Ft, configureStore as Ai, combineReducers as $i } from "@reduxjs/toolkit"; import Fi from "react-markdown"; import { persistReducer as zi, persistStore as Bi } from "redux-persist"; import { io as Ui } from "socket.io-client"; function Vi(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } var qn = { exports: {} }, H = qn.exports = {}, be, xe; function ar() { throw new Error("setTimeout has not been defined"); } function cr() { throw new Error("clearTimeout has not been defined"); } (function() { try { typeof setTimeout == "function" ? be = setTimeout : be = ar; } catch { be = ar; } try { typeof clearTimeout == "function" ? xe = clearTimeout : xe = cr; } catch { xe = cr; } })(); function Hn(e) { if (be === setTimeout) return setTimeout(e, 0); if ((be === ar || !be) && setTimeout) return be = setTimeout, setTimeout(e, 0); try { return be(e, 0); } catch { try { return be.call(null, e, 0); } catch { return be.call(this, e, 0); } } } function Wi(e) { if (xe === clearTimeout) return clearTimeout(e); if ((xe === cr || !xe) && clearTimeout) return xe = clearTimeout, clearTimeout(e); try { return xe(e); } catch { try { return xe.call(null, e); } catch { return xe.call(this, e); } } } var Ce = [], Ge = !1, Re, Et = -1; function Gi() { !Ge || !Re || (Ge = !1, Re.length ? Ce = Re.concat(Ce) : Et = -1, Ce.length && Yn()); } function Yn() { if (!Ge) { var e = Hn(Gi); Ge = !0; for (var t = Ce.length; t; ) { for (Re = Ce, Ce = []; ++Et < t; ) Re && Re[Et].run(); Et = -1, t = Ce.length; } Re = null, Ge = !1, Wi(e); } } H.nextTick = function(e) { var t = new Array(arguments.length - 1); if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; Ce.push(new Jn(e, t)), Ce.length === 1 && !Ge && Hn(Yn); }; function Jn(e, t) { this.fun = e, this.array = t; } Jn.prototype.run = function() { this.fun.apply(null, this.array); }; H.title = "browser"; H.browser = !0; H.env = {}; H.argv = []; H.version = ""; H.versions = {}; function Ie() { } H.on = Ie; H.addListener = Ie; H.once = Ie; H.off = Ie; H.removeListener = Ie; H.removeAllListeners = Ie; H.emit = Ie; H.prependListener = Ie; H.prependOnceListener = Ie; H.listeners = function(e) { return []; }; H.binding = function(e) { throw new Error("process.binding is not supported"); }; H.cwd = function() { return "/"; }; H.chdir = function(e) { throw new Error("process.chdir is not supported"); }; H.umask = function() { return 0; }; var qi = qn.exports; const re = /* @__PURE__ */ Vi(qi); function Hi(e) { if (e.__esModule) return e; var t = e.default; if (typeof t == "function") { var r = function n() { return this instanceof n ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments); }; r.prototype = t.prototype; } else r = {}; return Object.defineProperty(r, "__esModule", { value: !0 }), Object.keys(e).forEach(function(n) { var o = Object.getOwnPropertyDescriptor(e, n); Object.defineProperty(r, n, o.get ? o : { enumerable: !0, get: function() { return e[n]; } }); }), r; } var lr = { exports: {} }, Qe = {}; /** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var pn; function Yi() { if (pn) return Qe; pn = 1; var e = $t, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 }; function i(c, d, u) { var f, m = {}, v = null, y = null; u !== void 0 && (v = "" + u), d.key !== void 0 && (v = "" + d.key), d.ref !== void 0 && (y = d.ref); for (f in d) n.call(d, f) && !s.hasOwnProperty(f) && (m[f] = d[f]); if (c && c.defaultProps) for (f in d = c.defaultProps, d) m[f] === void 0 && (m[f] = d[f]); return { $$typeof: t, type: c, key: v, ref: y, props: m, _owner: o.current }; } return Qe.Fragment = r, Qe.jsx = i, Qe.jsxs = i, Qe; } var et = {}, mn; function Ji() { return mn || (mn = 1, re.env.NODE_ENV !== "production" && function() { var e = $t, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), c = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), _ = Symbol.iterator, T = "@@iterator"; function W(a) { if (a === null || typeof a != "object") return null; var p = _ && a[_] || a[T]; return typeof p == "function" ? p : null; } var S = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function L(a) { { for (var p = arguments.length, h = new Array(p > 1 ? p - 1 : 0), x = 1; x < p; x++) h[x - 1] = arguments[x]; B("error", a, h); } } function B(a, p, h) { { var x = S.ReactDebugCurrentFrame, R = x.getStackAddendum(); R !== "" && (p += "%s", h = h.concat([R])); var $ = h.map(function(k) { return String(k); }); $.unshift("Warning: " + p), Function.prototype.apply.call(console[a], console, $); } } var de = !1, I = !1, fe = !1, he = !1, ye = !1, ve; ve = Symbol.for("react.module.reference"); function Pe(a) { return !!(typeof a == "string" || typeof a == "function" || a === n || a === s || ye || a === o || a === u || a === f || he || a === y || de || I || fe || typeof a == "object" && a !== null && (a.$$typeof === v || a.$$typeof === m || a.$$typeof === i || a.$$typeof === c || a.$$typeof === d || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. a.$$typeof === ve || a.getModuleId !== void 0)); } function ne(a, p, h) { var x = a.displayName; if (x) return x; var R = p.displayName || p.name || ""; return R !== "" ? h + "(" + R + ")" : h; } function g(a) { return a.displayName || "Context"; } function b(a) { if (a == null) return null; if (typeof a.tag == "number" && L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function") return a.displayName || a.name || null; if (typeof a == "string") return a; switch (a) { case n: return "Fragment"; case r: return "Portal"; case s: return "Profiler"; case o: return "StrictMode"; case u: return "Suspense"; case f: return "SuspenseList"; } if (typeof a == "object") switch (a.$$typeof) { case c: var p = a; return g(p) + ".Consumer"; case i: var h = a; return g(h._context) + ".Provider"; case d: return ne(a, a.render, "ForwardRef"); case m: var x = a.displayName || null; return x !== null ? x : b(a.type) || "Memo"; case v: { var R = a, $ = R._payload, k = R._init; try { return b(k($)); } catch { return null; } } } return null; } var w = Object.assign, E = 0, P, M, N, A, G, ie, ee; function Y() { } Y.__reactDisabledLog = !0; function Ke() { { if (E === 0) { P = console.log, M = console.info, N = console.warn, A = console.error, G = console.group, ie = console.groupCollapsed, ee = console.groupEnd; var a = { configurable: !0, enumerable: !0, value: Y, writable: !0 }; Object.defineProperties(console, { info: a, log: a, warn: a, error: a, group: a, groupCollapsed: a, groupEnd: a }); } E++; } } function ht() { { if (E--, E === 0) { var a = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: w({}, a, { value: P }), info: w({}, a, { value: M }), warn: w({}, a, { value: N }), error: w({}, a, { value: A }), group: w({}, a, { value: G }), groupCollapsed: w({}, a, { value: ie }), groupEnd: w({}, a, { value: ee }) }); } E < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var Xe = S.ReactCurrentDispatcher, Gt; function vt(a, p, h) { { if (Gt === void 0) try { throw Error(); } catch (R) { var x = R.stack.trim().match(/\n( *(at )?)/); Gt = x && x[1] || ""; } return ` ` + Gt + a; } } var qt = !1, gt; { var ai = typeof WeakMap == "function" ? WeakMap : Map; gt = new ai(); } function Zr(a, p) { if (!a || qt) return ""; { var h = gt.get(a); if (h !== void 0) return h; } var x; qt = !0; var R = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var $; $ = Xe.current, Xe.current = null, Ke(); try { if (p) { var k = function() { throw Error(); }; if (Object.defineProperty(k.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(k, []); } catch (Ee) { x = Ee; } Reflect.construct(a, [], k); } else { try { k.call(); } catch (Ee) { x = Ee; } a.call(k.prototype); } } else { try { throw Error(); } catch (Ee) { x = Ee; } a(); } } catch (Ee) { if (Ee && x && typeof Ee.stack == "string") { for (var C = Ee.stack.split(` `), oe = x.stack.split(` `), q = C.length - 1, J = oe.length - 1; q >= 1 && J >= 0 && C[q] !== oe[J]; ) J--; for (; q >= 1 && J >= 0; q--, J--) if (C[q] !== oe[J]) { if (q !== 1 || J !== 1) do if (q--, J--, J < 0 || C[q] !== oe[J]) { var pe = ` ` + C[q].replace(" at new ", " at "); return a.displayName && pe.includes("<anonymous>") && (pe = pe.replace("<anonymous>", a.displayName)), typeof a == "function" && gt.set(a, pe), pe; } while (q >= 1 && J >= 0); break; } } } finally { qt = !1, Xe.current = $, ht(), Error.prepareStackTrace = R; } var Ue = a ? a.displayName || a.name : "", fn = Ue ? vt(Ue) : ""; return typeof a == "function" && gt.set(a, fn), fn; } function ci(a, p, h) { return Zr(a, !1); } function li(a) { var p = a.prototype; return !!(p && p.isReactComponent); } function wt(a, p, h) { if (a == null) return ""; if (typeof a == "function") return Zr(a, li(a)); if (typeof a == "string") return vt(a); switch (a) { case u: return vt("Suspense"); case f: return vt("SuspenseList"); } if (typeof a == "object") switch (a.$$typeof) { case d: return ci(a.render); case m: return wt(a.type, p, h); case v: { var x = a, R = x._payload, $ = x._init; try { return wt($(R), p, h); } catch { } } } return ""; } var yt = Object.prototype.hasOwnProperty, Qr = {}, en = S.ReactDebugCurrentFrame; function bt(a) { if (a) { var p = a._owner, h = wt(a.type, a._source, p ? p.type : null); en.setExtraStackFrame(h); } else en.setExtraStackFrame(null); } function ui(a, p, h, x, R) { { var $ = Function.call.bind(yt); for (var k in a) if ($(a, k)) { var C = void 0; try { if (typeof a[k] != "function") { var oe = Error((x || "React class") + ": " + h + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); throw oe.name = "Invariant Violation", oe; } C = a[k](p, k, x, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (q) { C = q; } C && !(C instanceof Error) && (bt(R), L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", h, k, typeof C), bt(null)), C instanceof Error && !(C.message in Qr) && (Qr[C.message] = !0, bt(R), L("Failed %s type: %s", h, C.message), bt(null)); } } } var di = Array.isArray; function Ht(a) { return di(a); } function fi(a) { { var p = typeof Symbol == "function" && Symbol.toStringTag, h = p && a[Symbol.toStringTag] || a.constructor.name || "Object"; return h; } } function pi(a) { try { return tn(a), !1; } catch { return !0; } } function tn(a) { return "" + a; } function rn(a) { if (pi(a)) return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", fi(a)), tn(a); } var Ze = S.ReactCurrentOwner, mi = { key: !0, ref: !0, __self: !0, __source: !0 }, nn, on, Yt; Yt = {}; function hi(a) { if (yt.call(a, "ref")) { var p = Object.getOwnPropertyDescriptor(a, "ref").get; if (p && p.isReactWarning) return !1; } return a.ref !== void 0; } function vi(a) { if (yt.call(a, "key")) { var p = Object.getOwnPropertyDescriptor(a, "key").get; if (p && p.isReactWarning) return !1; } return a.key !== void 0; } function gi(a, p) { if (typeof a.ref == "string" && Ze.current && p && Ze.current.stateNode !== p) { var h = b(Ze.current.type); Yt[h] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', b(Ze.current.type), a.ref), Yt[h] = !0); } } function wi(a, p) { { var h = function() { nn || (nn = !0, L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p)); }; h.isReactWarning = !0, Object.defineProperty(a, "key", { get: h, configurable: !0 }); } } function yi(a, p) { { var h = function() { on || (on = !0, L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p)); }; h.isReactWarning = !0, Object.defineProperty(a, "ref", { get: h, configurable: !0 }); } } var bi = function(a, p, h, x, R, $, k) { var C = { // This tag allows us to uniquely identify this as a React Element $$typeof: t, // Built-in properties that belong on the element type: a, key: p, ref: h, props: k, // Record the component responsible for creating this element. _owner: $ }; return C._store = {}, Object.defineProperty(C._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(C, "_self", { configurable: !1, enumerable: !1, writable: !1, value: x }), Object.defineProperty(C, "_source", { configurable: !1, enumerable: !1, writable: !1, value: R }), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C; }; function xi(a, p, h, x, R) { { var $, k = {}, C = null, oe = null; h !== void 0 && (rn(h), C = "" + h), vi(p) && (rn(p.key), C = "" + p.key), hi(p) && (oe = p.ref, gi(p, R)); for ($ in p) yt.call(p, $) && !mi.hasOwnProperty($) && (k[$] = p[$]); if (a && a.defaultProps) { var q = a.defaultProps; for ($ in q) k[$] === void 0 && (k[$] = q[$]); } if (C || oe) { var J = typeof a == "function" ? a.displayName || a.name || "Unknown" : a; C && wi(k, J), oe && yi(k, J); } return bi(a, C, oe, R, x, Ze.current, k); } } var Jt = S.ReactCurrentOwner, sn = S.ReactDebugCurrentFrame; function Be(a) { if (a) { var p = a._owner, h = wt(a.type, a._source, p ? p.type : null); sn.setExtraStackFrame(h); } else sn.setExtraStackFrame(null); } var Kt; Kt = !1; function Xt(a) { return typeof a == "object" && a !== null && a.$$typeof === t; } function an() { { if (Jt.current) { var a = b(Jt.current.type); if (a) return ` Check the render method of \`` + a + "`."; } return ""; } } function _i(a) { return ""; } var cn = {}; function Si(a) { { var p = an(); if (!p) { var h = typeof a == "string" ? a : a.displayName || a.name; h && (p = ` Check the top-level render call using <` + h + ">."); } return p; } } function ln(a, p) { { if (!a._store || a._store.validated || a.key != null) return; a._store.validated = !0; var h = Si(p); if (cn[h]) return; cn[h] = !0; var x = ""; a && a._owner && a._owner !== Jt.current && (x = " It was passed a child from " + b(a._owner.type) + "."), Be(a), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, x), Be(null); } } function un(a, p) { { if (typeof a != "object") return; if (Ht(a)) for (var h = 0; h < a.length; h++) { var x = a[h]; Xt(x) && ln(x, p); } else if (Xt(a)) a._store && (a._store.validated = !0); else if (a) { var R = W(a); if (typeof R == "function" && R !== a.entries) for (var $ = R.call(a), k; !(k = $.next()).done; ) Xt(k.value) && ln(k.value, p); } } } function Ti(a) { { var p = a.type; if (p == null || typeof p == "string") return; var h; if (typeof p == "function") h = p.propTypes; else if (typeof p == "object" && (p.$$typeof === d || // Note: Memo only checks outer props here. // Inner props are checked in the reconciler. p.$$typeof === m)) h = p.propTypes; else return; if (h) { var x = b(p); ui(h, a.props, "prop", x, a); } else if (p.PropTypes !== void 0 && !Kt) { Kt = !0; var R = b(p); L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown"); } typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } function Pi(a) { { for (var p = Object.keys(a.props), h = 0; h < p.length; h++) { var x = p[h]; if (x !== "children" && x !== "key") { Be(a), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), Be(null); break; } } a.ref !== null && (Be(a), L("Invalid attribute `ref` supplied to `React.Fragment`."), Be(null)); } } function dn(a, p, h, x, R, $) { { var k = Pe(a); if (!k) { var C = ""; (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); var oe = _i(); oe ? C += oe : C += an(); var q; a === null ? q = "null" : Ht(a) ? q = "array" : a !== void 0 && a.$$typeof === t ? (q = "<" + (b(a.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : q = typeof a, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", q, C); } var J = xi(a, p, h, R, $); if (J == null) return J; if (k) { var pe = p.children; if (pe !== void 0) if (x) if (Ht(pe)) { for (var Ue = 0; Ue < pe.length; Ue++) un(pe[Ue], a); Object.freeze && Object.freeze(pe); } else L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); else un(pe, a); } return a === n ? Pi(J) : Ti(J), J; } } function Ei(a, p, h) { return dn(a, p, h, !0); } function Ci(a, p, h) { return dn(a, p, h, !1); } var ji = Ci, Ii = Ei; et.Fragment = n, et.jsx = ji, et.jsxs = Ii; }()), et; } re.env.NODE_ENV === "production" ? lr.exports = Yi() : lr.exports = Ji(); var l = lr.exports, st = {}, tt = Oi; if (re.env.NODE_ENV === "production") st.createRoot = tt.createRoot, st.hydrateRoot = tt.hydrateRoot; else { var xt = tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; st.createRoot = function(e, t) { xt.usingClientEntryPoint = !0; try { return tt.createRoot(e, t); } finally { xt.usingClientEntryPoint = !1; } }, st.hydrateRoot = function(e, t, r) { xt.usingClientEntryPoint = !0; try { return tt.hydrateRoot(e, t, r); } finally { xt.usingClientEntryPoint = !1; } }; } function Ct(e) { return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ct = function(r) { return typeof r; } : Ct = function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, Ct(e); } function Ki(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } function Xi(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } function Zi(e, t, r) { return t && Xi(e.prototype, t), e; } function Qi(e, t) { return t && (Ct(t) === "object" || typeof t == "function") ? t : jt(e); } function ur(e) { return ur = Object.setPrototypeOf ? Object.getPrototypeOf : function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, ur(e); } function jt(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } function es(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && dr(e, t); } function dr(e, t) { return dr = Object.setPrototypeOf || function(n, o) { return n.__proto__ = o, n; }, dr(e, t); } function It(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e; } var Kn = /* @__PURE__ */ function(e) { es(t, e); function t() { var r, n; Ki(this, t); for (var o = arguments.length, s = new Array(o), i = 0; i < o; i++) s[i] = arguments[i]; return n = Qi(this, (r = ur(t)).call.apply(r, [this].concat(s))), It(jt(n), "state", { bootstrapped: !1 }), It(jt(n), "_unsubscribe", void 0), It(jt(n), "handlePersistorState", function() { var c = n.props.persistor, d = c.getState(), u = d.bootstrapped; u && (n.props.onBeforeLift ? Promise.resolve(n.props.onBeforeLift()).finally(function() { return n.setState({ bootstrapped: !0 }); }) : n.setState({ bootstrapped: !0 }), n._unsubscribe && n._unsubscribe()); }), n; } return Zi(t, [{ key: "componentDidMount", value: function() { this._unsubscribe = this.props.persistor.subscribe(this.handlePersistorState), this.handlePersistorState(); } }, { key: "componentWillUnmount", value: function() { this._unsubscribe && this._unsubscribe(); } }, { key: "render", value: function() { return re.env.NODE_ENV !== "production" && typeof this.props.children == "function" && this.props.loading && console.error("redux-persist: PersistGate expects either a function child or loading prop, but not both. The loading prop will be ignored."), typeof this.props.children == "function" ? this.props.children(this.state.bootstrapped) : this.state.bootstrapped ? this.props.children : this.props.loading; } }]), t; }(ki); It(Kn, "defaultProps", { children: null, loading: null }); var te = /* @__PURE__ */ ((e) => (e.text = "text", e.buttons = "buttons", e.payment = "payment", e.video = "video", e.image = "image", e.email = "email", e.special = "special", e))(te || {}), jr = /* @__PURE__ */ ((e) => (e.horizontal = "horizontal", e.vertical = "vertical", e))(jr || {}), Xn = /* @__PURE__ */ ((e) => (e.chat = "utm_chat", e))(Xn || {}), se = /* @__PURE__ */ ((e) => (e.addToCart = "AddToCart", e.contact = "Contact", e.initiateCheckout = "InitiateCheckout", e.pageView = "PageView", e.viewContent = "ViewContent", e.purchase = "Purchase", e.subscribe = "Subscribe", e.recurringSubscriptionPayment = "RecurringSubscriptionPayment", e.cancelSubscription = "CancelSubscription", e.purchaseFailed = "PurchaseFailed", e.subscribeFailed = "SubscribeFailed", e.recurringSubscriptionPaymentFailed = "RecurringSubscriptionPaymentFailed", e.customerCreated = "CustomerCreated", e.subscriptionChargeback = "SubscriptionChargeback", e.subscriptionR