ai-chatbot-widget 0.0.4 → 0.0.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.
@@ -1,5 +1,5 @@
1
- var ChatbotWidget=function(q,F,C){"use strict";var Fi=Object.defineProperty;var Mi=(q,F,C)=>F in q?Fi(q,F,{enumerable:!0,configurable:!0,writable:!0,value:C}):q[F]=C;var R=(q,F,C)=>Mi(q,typeof F!="symbol"?F+"":F,C);var tt;var ot=document.createElement("style");ot.textContent=`/*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-cyan-400:oklch(78.9% .154 211.53);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-900:oklch(38.1% .176 304.987);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-600:oklch(59.2% .249 .584);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-semibold:600;--font-weight-bold:700;--leading-relaxed:1.625;--radius-xl:.75rem;--radius-2xl:1rem;--radius-4xl:2rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur-xl:24px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.-top-2{top:calc(var(--spacing)*-2)}.right-0{right:calc(var(--spacing)*0)}.right-6{right:calc(var(--spacing)*6)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-16{bottom:calc(var(--spacing)*16)}.-left-2{left:calc(var(--spacing)*-2)}.z-50{z-index:50}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mr-4{margin-right:calc(var(--spacing)*4)}.ml-4{margin-left:calc(var(--spacing)*4)}.flex{display:flex}.h-2{height:calc(var(--spacing)*2)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-14{height:calc(var(--spacing)*14)}.h-\\[700px\\]{height:700px}.h-full{height:100%}.w-2{width:calc(var(--spacing)*2)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-14{width:calc(var(--spacing)*14)}.w-96{width:calc(var(--spacing)*96)}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[100\\%\\]{max-width:100%}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.origin-bottom-right{transform-origin:100% 100%}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-0{rotate:none}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-bounce{animation:var(--animate-bounce)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing)*2)}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-4xl{border-radius:var(--radius-4xl)}.rounded-full{border-radius:3.40282e38px}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-purple-500\\/20{border-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.border-purple-500\\/20{border-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.border-purple-500\\/30{border-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.border-purple-500\\/30{border-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\\/80{background-color:#000c}@supports (color:color-mix(in lab,red,red)){.bg-black\\/80{background-color:color-mix(in oklab,var(--color-black)80%,transparent)}}.bg-black\\/90{background-color:#000000e6}@supports (color:color-mix(in lab,red,red)){.bg-black\\/90{background-color:color-mix(in oklab,var(--color-black)90%,transparent)}}.bg-purple-400{background-color:var(--color-purple-400)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-slate-800\\/50{background-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\\/50{background-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-black\\/80{--tw-gradient-from:#000c}@supports (color:color-mix(in lab,red,red)){.from-black\\/80{--tw-gradient-from:color-mix(in oklab,var(--color-black)80%,transparent)}}.from-black\\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-pink-500{--tw-gradient-from:var(--color-pink-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-500{--tw-gradient-from:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-600{--tw-gradient-from:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-700{--tw-gradient-from:var(--color-slate-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-900{--tw-gradient-from:var(--color-slate-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-purple-900{--tw-gradient-via:var(--color-purple-900);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-black\\/90{--tw-gradient-to:#000000e6}@supports (color:color-mix(in lab,red,red)){.to-black\\/90{--tw-gradient-to:color-mix(in oklab,var(--color-black)90%,transparent)}}.to-black\\/90{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-600{--tw-gradient-to:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-pink-500{--tw-gradient-to:var(--color-pink-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-red-500{--tw-gradient-to:var(--color-red-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-600{--tw-gradient-to:var(--color-slate-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-900{--tw-gradient-to:var(--color-slate-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-1{padding:calc(var(--spacing)*1)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-2{padding-block:calc(var(--spacing)*2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-cyan-400{color:var(--color-cyan-400)}.text-pink-200{color:var(--color-pink-200)}.text-purple-100{color:var(--color-purple-100)}.text-purple-500{color:var(--color-purple-500)}.text-white{color:var(--color-white)}.placeholder-slate-400::placeholder{color:var(--color-slate-400)}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.backdrop-blur-3xl{--tw-backdrop-blur:blur(var(--blur-3xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media (hover:hover){.hover\\:scale-98:hover{--tw-scale-x:98%;--tw-scale-y:98%;--tw-scale-z:98%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:bg-white\\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\\:from-purple-600:hover{--tw-gradient-from:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:from-purple-700:hover{--tw-gradient-from:var(--color-purple-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:to-blue-700:hover{--tw-gradient-to:var(--color-blue-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:to-pink-600:hover{--tw-gradient-to:var(--color-pink-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}}.focus\\:border-transparent:focus{border-color:#0000}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-purple-500:focus{--tw-ring-color:var(--color-purple-500)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.disabled\\:scale-100:disabled{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:from-slate-600:disabled{--tw-gradient-from:var(--color-slate-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.disabled\\:to-slate-600:disabled{--tw-gradient-to:var(--color-slate-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}}.animate-fade-in{animation:.3s ease-out forwards fade-in}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thumb-purple-500\\/50::-webkit-scrollbar-thumb{background-color:#a855f780;border-radius:9999px}.scrollbar-track-transparent::-webkit-scrollbar-track{background-color:#0000}.scrollbar-thin::-webkit-scrollbar{width:6px}.message{flex-direction:column;gap:4px;display:flex}.message a{text-underline-offset:2px;text-decoration:underline}.message h1,.message h2,.message h3,.message h4,.message h5,.message h6{font-weight:700}.message ol,.message ul{margin-left:5px;list-style:outside}.message b,.message strong{font-weight:700}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}
2
- /*$vite$:1*/`,document.head.appendChild(ot);var $e={exports:{}},te={};/**
1
+ var ChatbotWidget=function(Qe){"use strict";var Gv=Object.defineProperty;var Xv=(Qe,Ue,na)=>Ue in Qe?Gv(Qe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:na}):Qe[Ue]=na;var Tt=(Qe,Ue,na)=>Xv(Qe,typeof Ue!="symbol"?Ue+"":Ue,na);var fr;var Ue=document.createElement("style");Ue.textContent=`/*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-cyan-400:oklch(78.9% .154 211.53);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-900:oklch(38.1% .176 304.987);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-600:oklch(59.2% .249 .584);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-semibold:600;--font-weight-bold:700;--leading-relaxed:1.625;--radius-xl:.75rem;--radius-2xl:1rem;--radius-4xl:2rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur-xl:24px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.-top-2{top:calc(var(--spacing)*-2)}.right-0{right:calc(var(--spacing)*0)}.right-6{right:calc(var(--spacing)*6)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-16{bottom:calc(var(--spacing)*16)}.-left-2{left:calc(var(--spacing)*-2)}.z-50{z-index:50}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mr-4{margin-right:calc(var(--spacing)*4)}.ml-4{margin-left:calc(var(--spacing)*4)}.flex{display:flex}.h-2{height:calc(var(--spacing)*2)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-14{height:calc(var(--spacing)*14)}.h-\\[700px\\]{height:700px}.h-full{height:100%}.w-2{width:calc(var(--spacing)*2)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-14{width:calc(var(--spacing)*14)}.w-96{width:calc(var(--spacing)*96)}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[100\\%\\]{max-width:100%}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.origin-bottom-right{transform-origin:100% 100%}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-0{rotate:none}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-bounce{animation:var(--animate-bounce)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing)*2)}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-4xl{border-radius:var(--radius-4xl)}.rounded-full{border-radius:3.40282e38px}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-purple-500\\/20{border-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.border-purple-500\\/20{border-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.border-purple-500\\/30{border-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.border-purple-500\\/30{border-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\\/80{background-color:#000c}@supports (color:color-mix(in lab,red,red)){.bg-black\\/80{background-color:color-mix(in oklab,var(--color-black)80%,transparent)}}.bg-black\\/90{background-color:#000000e6}@supports (color:color-mix(in lab,red,red)){.bg-black\\/90{background-color:color-mix(in oklab,var(--color-black)90%,transparent)}}.bg-purple-400{background-color:var(--color-purple-400)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-slate-800\\/50{background-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\\/50{background-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-black\\/80{--tw-gradient-from:#000c}@supports (color:color-mix(in lab,red,red)){.from-black\\/80{--tw-gradient-from:color-mix(in oklab,var(--color-black)80%,transparent)}}.from-black\\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-pink-500{--tw-gradient-from:var(--color-pink-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-500{--tw-gradient-from:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-600{--tw-gradient-from:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-700{--tw-gradient-from:var(--color-slate-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-900{--tw-gradient-from:var(--color-slate-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-purple-900{--tw-gradient-via:var(--color-purple-900);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-black\\/90{--tw-gradient-to:#000000e6}@supports (color:color-mix(in lab,red,red)){.to-black\\/90{--tw-gradient-to:color-mix(in oklab,var(--color-black)90%,transparent)}}.to-black\\/90{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-600{--tw-gradient-to:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-pink-500{--tw-gradient-to:var(--color-pink-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-red-500{--tw-gradient-to:var(--color-red-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-600{--tw-gradient-to:var(--color-slate-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-900{--tw-gradient-to:var(--color-slate-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-1{padding:calc(var(--spacing)*1)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-2{padding-block:calc(var(--spacing)*2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-cyan-400{color:var(--color-cyan-400)}.text-pink-200{color:var(--color-pink-200)}.text-purple-100{color:var(--color-purple-100)}.text-purple-500{color:var(--color-purple-500)}.text-white{color:var(--color-white)}.placeholder-slate-400::placeholder{color:var(--color-slate-400)}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.backdrop-blur-3xl{--tw-backdrop-blur:blur(var(--blur-3xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media (hover:hover){.hover\\:scale-98:hover{--tw-scale-x:98%;--tw-scale-y:98%;--tw-scale-z:98%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:bg-white\\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\\:from-purple-600:hover{--tw-gradient-from:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:from-purple-700:hover{--tw-gradient-from:var(--color-purple-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:to-blue-700:hover{--tw-gradient-to:var(--color-blue-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:to-pink-600:hover{--tw-gradient-to:var(--color-pink-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}}.focus\\:border-transparent:focus{border-color:#0000}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-purple-500:focus{--tw-ring-color:var(--color-purple-500)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.disabled\\:scale-100:disabled{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:from-slate-600:disabled{--tw-gradient-from:var(--color-slate-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.disabled\\:to-slate-600:disabled{--tw-gradient-to:var(--color-slate-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}}.animate-fade-in{animation:.3s ease-out forwards fade-in}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thumb-purple-500\\/50::-webkit-scrollbar-thumb{background-color:#a855f780;border-radius:9999px}.scrollbar-track-transparent::-webkit-scrollbar-track{background-color:#0000}.scrollbar-thin::-webkit-scrollbar{width:6px}.message{flex-direction:column;gap:4px;display:flex}.message a{text-underline-offset:2px;text-decoration:underline}.message h1,.message h2,.message h3,.message h4,.message h5,.message h6{font-weight:700}.message ol,.message ul{margin-left:5px;list-style:outside}.message b,.message strong{font-weight:700}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}
2
+ /*$vite$:1*/`,document.head.appendChild(Ue);function na(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Bu={exports:{}},Va={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
5
5
  *
@@ -7,121 +7,161 @@ var ChatbotWidget=function(q,F,C){"use strict";var Fi=Object.defineProperty;var
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var at;function hr(){if(at)return te;at=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(n,i,s){var o=null;if(s!==void 0&&(o=""+s),i.key!==void 0&&(o=""+i.key),"key"in i){s={};for(var a in i)a!=="key"&&(s[a]=i[a])}else s=i;return i=s.ref,{$$typeof:t,type:n,key:o,ref:i!==void 0?i:null,props:s}}return te.Fragment=e,te.jsx=r,te.jsxs=r,te}var lt;function fr(){return lt||(lt=1,$e.exports=hr()),$e.exports}var m=fr();/**
10
+ */var Oc;function Hp(){if(Oc)return Va;Oc=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(c,o,d){var g=null;if(d!==void 0&&(g=""+d),o.key!==void 0&&(g=""+o.key),"key"in o){d={};for(var m in o)m!=="key"&&(d[m]=o[m])}else d=o;return o=d.ref,{$$typeof:r,type:c,key:g,ref:o!==void 0?o:null,props:d}}return Va.Fragment=i,Va.jsx=s,Va.jsxs=s,Va}var kc;function jp(){return kc||(kc=1,Bu.exports=Hp()),Bu.exports}var J=jp(),Cu={exports:{}},Ka={},qu={exports:{}},Hu={};/**
11
+ * @license React
12
+ * scheduler.production.js
13
+ *
14
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
15
+ *
16
+ * This source code is licensed under the MIT license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ */var Dc;function Lp(){return Dc||(Dc=1,function(r){function i(C,B){var j=C.length;C.push(B);t:for(;0<j;){var ot=j-1>>>1,_t=C[ot];if(0<o(_t,B))C[ot]=B,C[j]=_t,j=ot;else break t}}function s(C){return C.length===0?null:C[0]}function c(C){if(C.length===0)return null;var B=C[0],j=C.pop();if(j!==B){C[0]=j;t:for(var ot=0,_t=C.length,S=_t>>>1;ot<S;){var U=2*(ot+1)-1,Y=C[U],q=U+1,$=C[q];if(0>o(Y,j))q<_t&&0>o($,Y)?(C[ot]=$,C[q]=j,ot=q):(C[ot]=Y,C[U]=j,ot=U);else if(q<_t&&0>o($,j))C[ot]=$,C[q]=j,ot=q;else break t}}return B}function o(C,B){var j=C.sortIndex-B.sortIndex;return j!==0?j:C.id-B.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;r.unstable_now=function(){return d.now()}}else{var g=Date,m=g.now();r.unstable_now=function(){return g.now()-m}}var b=[],p=[],v=1,z=null,D=3,Q=!1,N=!1,H=!1,L=!1,I=typeof setTimeout=="function"?setTimeout:null,st=typeof clearTimeout=="function"?clearTimeout:null,ut=typeof setImmediate<"u"?setImmediate:null;function ct(C){for(var B=s(p);B!==null;){if(B.callback===null)c(p);else if(B.startTime<=C)c(p),B.sortIndex=B.expirationTime,i(b,B);else break;B=s(p)}}function pt(C){if(H=!1,ct(C),!N)if(s(b)!==null)N=!0,V||(V=!0,Lt());else{var B=s(p);B!==null&&Je(pt,B.startTime-C)}}var V=!1,gt=-1,Zt=5,et=-1;function Rt(){return L?!0:!(r.unstable_now()-et<Zt)}function ie(){if(L=!1,V){var C=r.unstable_now();et=C;var B=!0;try{t:{N=!1,H&&(H=!1,st(gt),gt=-1),Q=!0;var j=D;try{e:{for(ct(C),z=s(b);z!==null&&!(z.expirationTime>C&&Rt());){var ot=z.callback;if(typeof ot=="function"){z.callback=null,D=z.priorityLevel;var _t=ot(z.expirationTime<=C);if(C=r.unstable_now(),typeof _t=="function"){z.callback=_t,ct(C),B=!0;break e}z===s(b)&&c(b),ct(C)}else c(b);z=s(b)}if(z!==null)B=!0;else{var S=s(p);S!==null&&Je(pt,S.startTime-C),B=!1}}break t}finally{z=null,D=j,Q=!1}B=void 0}}finally{B?Lt():V=!1}}}var Lt;if(typeof ut=="function")Lt=function(){ut(ie)};else if(typeof MessageChannel<"u"){var Pt=new MessageChannel,qe=Pt.port2;Pt.port1.onmessage=ie,Lt=function(){qe.postMessage(null)}}else Lt=function(){I(ie,0)};function Je(C,B){gt=I(function(){C(r.unstable_now())},B)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(C){C.callback=null},r.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Zt=0<C?Math.floor(1e3/C):5},r.unstable_getCurrentPriorityLevel=function(){return D},r.unstable_next=function(C){switch(D){case 1:case 2:case 3:var B=3;break;default:B=D}var j=D;D=B;try{return C()}finally{D=j}},r.unstable_requestPaint=function(){L=!0},r.unstable_runWithPriority=function(C,B){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var j=D;D=C;try{return B()}finally{D=j}},r.unstable_scheduleCallback=function(C,B,j){var ot=r.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?ot+j:ot):j=ot,C){case 1:var _t=-1;break;case 2:_t=250;break;case 5:_t=1073741823;break;case 4:_t=1e4;break;default:_t=5e3}return _t=j+_t,C={id:v++,callback:B,priorityLevel:C,startTime:j,expirationTime:_t,sortIndex:-1},j>ot?(C.sortIndex=j,i(p,C),s(b)===null&&C===s(p)&&(H?(st(gt),gt=-1):H=!0,Je(pt,j-ot))):(C.sortIndex=_t,i(b,C),N||Q||(N=!0,V||(V=!0,Lt()))),C},r.unstable_shouldYield=Rt,r.unstable_wrapCallback=function(C){var B=D;return function(){var j=D;D=B;try{return C.apply(this,arguments)}finally{D=j}}}}(Hu)),Hu}var Mc;function Yp(){return Mc||(Mc=1,qu.exports=Lp()),qu.exports}var ju={exports:{}},tt={},Nc;function Gp(){if(Nc)return tt;Nc=1;var r={env:{NODE_ENV:"production"}};/**
19
+ * @license React
20
+ * react.production.js
21
+ *
22
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
23
+ *
24
+ * This source code is licensed under the MIT license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),m=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),D=Symbol.iterator;function Q(S){return S===null||typeof S!="object"?null:(S=D&&S[D]||S["@@iterator"],typeof S=="function"?S:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,L={};function I(S,U,Y){this.props=S,this.context=U,this.refs=L,this.updater=Y||N}I.prototype.isReactComponent={},I.prototype.setState=function(S,U){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,U,"setState")},I.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function st(){}st.prototype=I.prototype;function ut(S,U,Y){this.props=S,this.context=U,this.refs=L,this.updater=Y||N}var ct=ut.prototype=new st;ct.constructor=ut,H(ct,I.prototype),ct.isPureReactComponent=!0;var pt=Array.isArray,V={H:null,A:null,T:null,S:null,V:null},gt=Object.prototype.hasOwnProperty;function Zt(S,U,Y,q,$,xt){return Y=xt.ref,{$$typeof:i,type:S,key:U,ref:Y!==void 0?Y:null,props:xt}}function et(S,U){return Zt(S.type,U,void 0,void 0,void 0,S.props)}function Rt(S){return typeof S=="object"&&S!==null&&S.$$typeof===i}function ie(S){var U={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(Y){return U[Y]})}var Lt=/\/+/g;function Pt(S,U){return typeof S=="object"&&S!==null&&S.key!=null?ie(""+S.key):U.toString(36)}function qe(){}function Je(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(qe,qe):(S.status="pending",S.then(function(U){S.status==="pending"&&(S.status="fulfilled",S.value=U)},function(U){S.status==="pending"&&(S.status="rejected",S.reason=U)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function C(S,U,Y,q,$){var xt=typeof S;(xt==="undefined"||xt==="boolean")&&(S=null);var F=!1;if(S===null)F=!0;else switch(xt){case"bigint":case"string":case"number":F=!0;break;case"object":switch(S.$$typeof){case i:case s:F=!0;break;case z:return F=S._init,C(F(S._payload),U,Y,q,$)}}if(F)return $=$(S),F=q===""?"."+Pt(S,0):q,pt($)?(Y="",F!=null&&(Y=F.replace(Lt,"$&/")+"/"),C($,U,Y,"",function(ol){return ol})):$!=null&&(Rt($)&&($=et($,Y+($.key==null||S&&S.key===$.key?"":(""+$.key).replace(Lt,"$&/")+"/")+F)),U.push($)),1;F=0;var fe=q===""?".":q+":";if(pt(S))for(var zt=0;zt<S.length;zt++)q=S[zt],xt=fe+Pt(q,zt),F+=C(q,U,Y,xt,$);else if(zt=Q(S),typeof zt=="function")for(S=zt.call(S),zt=0;!(q=S.next()).done;)q=q.value,xt=fe+Pt(q,zt++),F+=C(q,U,Y,xt,$);else if(xt==="object"){if(typeof S.then=="function")return C(Je(S),U,Y,q,$);throw U=String(S),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return F}function B(S,U,Y){if(S==null)return S;var q=[],$=0;return C(S,q,"","",function(xt){return U.call(Y,xt,$++)}),q}function j(S){if(S._status===-1){var U=S._result;U=U(),U.then(function(Y){(S._status===0||S._status===-1)&&(S._status=1,S._result=Y)},function(Y){(S._status===0||S._status===-1)&&(S._status=2,S._result=Y)}),S._status===-1&&(S._status=0,S._result=U)}if(S._status===1)return S._result.default;throw S._result}var ot=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(U))return}else if(typeof r=="object"&&typeof r.emit=="function"){r.emit("uncaughtException",S);return}console.error(S)};function _t(){}return tt.Children={map:B,forEach:function(S,U,Y){B(S,function(){U.apply(this,arguments)},Y)},count:function(S){var U=0;return B(S,function(){U++}),U},toArray:function(S){return B(S,function(U){return U})||[]},only:function(S){if(!Rt(S))throw Error("React.Children.only expected to receive a single React element child.");return S}},tt.Component=I,tt.Fragment=c,tt.Profiler=d,tt.PureComponent=ut,tt.StrictMode=o,tt.Suspense=p,tt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=V,tt.__COMPILER_RUNTIME={__proto__:null,c:function(S){return V.H.useMemoCache(S)}},tt.cache=function(S){return function(){return S.apply(null,arguments)}},tt.cloneElement=function(S,U,Y){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var q=H({},S.props),$=S.key,xt=void 0;if(U!=null)for(F in U.ref!==void 0&&(xt=void 0),U.key!==void 0&&($=""+U.key),U)!gt.call(U,F)||F==="key"||F==="__self"||F==="__source"||F==="ref"&&U.ref===void 0||(q[F]=U[F]);var F=arguments.length-2;if(F===1)q.children=Y;else if(1<F){for(var fe=Array(F),zt=0;zt<F;zt++)fe[zt]=arguments[zt+2];q.children=fe}return Zt(S.type,$,void 0,void 0,xt,q)},tt.createContext=function(S){return S={$$typeof:m,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:g,_context:S},S},tt.createElement=function(S,U,Y){var q,$={},xt=null;if(U!=null)for(q in U.key!==void 0&&(xt=""+U.key),U)gt.call(U,q)&&q!=="key"&&q!=="__self"&&q!=="__source"&&($[q]=U[q]);var F=arguments.length-2;if(F===1)$.children=Y;else if(1<F){for(var fe=Array(F),zt=0;zt<F;zt++)fe[zt]=arguments[zt+2];$.children=fe}if(S&&S.defaultProps)for(q in F=S.defaultProps,F)$[q]===void 0&&($[q]=F[q]);return Zt(S,xt,void 0,void 0,null,$)},tt.createRef=function(){return{current:null}},tt.forwardRef=function(S){return{$$typeof:b,render:S}},tt.isValidElement=Rt,tt.lazy=function(S){return{$$typeof:z,_payload:{_status:-1,_result:S},_init:j}},tt.memo=function(S,U){return{$$typeof:v,type:S,compare:U===void 0?null:U}},tt.startTransition=function(S){var U=V.T,Y={};V.T=Y;try{var q=S(),$=V.S;$!==null&&$(Y,q),typeof q=="object"&&q!==null&&typeof q.then=="function"&&q.then(_t,ot)}catch(xt){ot(xt)}finally{V.T=U}},tt.unstable_useCacheRefresh=function(){return V.H.useCacheRefresh()},tt.use=function(S){return V.H.use(S)},tt.useActionState=function(S,U,Y){return V.H.useActionState(S,U,Y)},tt.useCallback=function(S,U){return V.H.useCallback(S,U)},tt.useContext=function(S){return V.H.useContext(S)},tt.useDebugValue=function(){},tt.useDeferredValue=function(S,U){return V.H.useDeferredValue(S,U)},tt.useEffect=function(S,U,Y){var q=V.H;if(typeof Y=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return q.useEffect(S,U)},tt.useId=function(){return V.H.useId()},tt.useImperativeHandle=function(S,U,Y){return V.H.useImperativeHandle(S,U,Y)},tt.useInsertionEffect=function(S,U){return V.H.useInsertionEffect(S,U)},tt.useLayoutEffect=function(S,U){return V.H.useLayoutEffect(S,U)},tt.useMemo=function(S,U){return V.H.useMemo(S,U)},tt.useOptimistic=function(S,U){return V.H.useOptimistic(S,U)},tt.useReducer=function(S,U,Y){return V.H.useReducer(S,U,Y)},tt.useRef=function(S){return V.H.useRef(S)},tt.useState=function(S){return V.H.useState(S)},tt.useSyncExternalStore=function(S,U,Y){return V.H.useSyncExternalStore(S,U,Y)},tt.useTransition=function(){return V.H.useTransition()},tt.version="19.1.0",tt}var Uc;function Lu(){return Uc||(Uc=1,ju.exports=Gp()),ju.exports}var Yu={exports:{}},$t={};/**
27
+ * @license React
28
+ * react-dom.production.js
29
+ *
30
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
31
+ *
32
+ * This source code is licensed under the MIT license found in the
33
+ * LICENSE file in the root directory of this source tree.
34
+ */var Bc;function Xp(){if(Bc)return $t;Bc=1;var r=Lu();function i(b){var p="https://react.dev/errors/"+b;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)p+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+b+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var c={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},o=Symbol.for("react.portal");function d(b,p,v){var z=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:z==null?null:""+z,children:b,containerInfo:p,implementation:v}}var g=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(b,p){if(b==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return $t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,$t.createPortal=function(b,p){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(i(299));return d(b,p,null,v)},$t.flushSync=function(b){var p=g.T,v=c.p;try{if(g.T=null,c.p=2,b)return b()}finally{g.T=p,c.p=v,c.d.f()}},$t.preconnect=function(b,p){typeof b=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,c.d.C(b,p))},$t.prefetchDNS=function(b){typeof b=="string"&&c.d.D(b)},$t.preinit=function(b,p){if(typeof b=="string"&&p&&typeof p.as=="string"){var v=p.as,z=m(v,p.crossOrigin),D=typeof p.integrity=="string"?p.integrity:void 0,Q=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?c.d.S(b,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:z,integrity:D,fetchPriority:Q}):v==="script"&&c.d.X(b,{crossOrigin:z,integrity:D,fetchPriority:Q,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},$t.preinitModule=function(b,p){if(typeof b=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=m(p.as,p.crossOrigin);c.d.M(b,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&c.d.M(b)},$t.preload=function(b,p){if(typeof b=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,z=m(v,p.crossOrigin);c.d.L(b,v,{crossOrigin:z,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},$t.preloadModule=function(b,p){if(typeof b=="string")if(p){var v=m(p.as,p.crossOrigin);c.d.m(b,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else c.d.m(b)},$t.requestFormReset=function(b){c.d.r(b)},$t.unstable_batchedUpdates=function(b,p){return b(p)},$t.useFormState=function(b,p,v){return g.H.useFormState(b,p,v)},$t.useFormStatus=function(){return g.H.useHostTransitionStatus()},$t.version="19.1.0",$t}var Cc;function Qp(){if(Cc)return Yu.exports;Cc=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),Yu.exports=Xp(),Yu.exports}var qc;function Zp(){if(qc)return Ka;qc=1;var r={env:{NODE_ENV:"production"}};/**
35
+ * @license React
36
+ * react-dom-client.production.js
37
+ *
38
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */var i=Yp(),s=Lu(),c=Qp();function o(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function g(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function m(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function b(t){if(g(t)!==t)throw Error(o(188))}function p(t){var e=t.alternate;if(!e){if(e=g(t),e===null)throw Error(o(188));return e!==t?null:t}for(var l=t,a=e;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return b(n),t;if(u===a)return b(n),e;u=u.sibling}throw Error(o(188))}if(l.return!==a.return)l=n,a=u;else{for(var f=!1,h=n.child;h;){if(h===l){f=!0,l=n,a=u;break}if(h===a){f=!0,a=n,l=u;break}h=h.sibling}if(!f){for(h=u.child;h;){if(h===l){f=!0,l=u,a=n;break}if(h===a){f=!0,a=u,l=n;break}h=h.sibling}if(!f)throw Error(o(189))}}if(l.alternate!==a)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?t:e}function v(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=v(t),e!==null)return e;t=t.sibling}return null}var z=Object.assign,D=Symbol.for("react.element"),Q=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),st=Symbol.for("react.provider"),ut=Symbol.for("react.consumer"),ct=Symbol.for("react.context"),pt=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),gt=Symbol.for("react.suspense_list"),Zt=Symbol.for("react.memo"),et=Symbol.for("react.lazy"),Rt=Symbol.for("react.activity"),ie=Symbol.for("react.memo_cache_sentinel"),Lt=Symbol.iterator;function Pt(t){return t===null||typeof t!="object"?null:(t=Lt&&t[Lt]||t["@@iterator"],typeof t=="function"?t:null)}var qe=Symbol.for("react.client.reference");function Je(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===qe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case H:return"Fragment";case I:return"Profiler";case L:return"StrictMode";case V:return"Suspense";case gt:return"SuspenseList";case Rt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case N:return"Portal";case ct:return(t.displayName||"Context")+".Provider";case ut:return(t._context.displayName||"Context")+".Consumer";case pt:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Zt:return e=t.displayName||null,e!==null?e:Je(t.type)||"Memo";case et:e=t._payload,t=t._init;try{return Je(t(e))}catch{}}return null}var C=Array.isArray,B=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ot={pending:!1,data:null,method:null,action:null},_t=[],S=-1;function U(t){return{current:t}}function Y(t){0>S||(t.current=_t[S],_t[S]=null,S--)}function q(t,e){S++,_t[S]=t.current,t.current=e}var $=U(null),xt=U(null),F=U(null),fe=U(null);function zt(t,e){switch(q(F,e),q(xt,t),q($,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?fp(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=fp(e),t=dp(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Y($),q($,t)}function ol(){Y($),Y(xt),Y(F)}function dr(t){t.memoizedState!==null&&q(fe,t);var e=$.current,l=dp(e,t.type);e!==l&&(q(xt,t),q($,l))}function wi(t){xt.current===t&&(Y($),Y(xt)),fe.current===t&&(Y(fe),Wn._currentValue=ot)}var hr=Object.prototype.hasOwnProperty,pr=i.unstable_scheduleCallback,gr=i.unstable_cancelCallback,wm=i.unstable_shouldYield,Sm=i.unstable_requestPaint,He=i.unstable_now,xm=i.unstable_getCurrentPriorityLevel,Qo=i.unstable_ImmediatePriority,Zo=i.unstable_UserBlockingPriority,Si=i.unstable_NormalPriority,Em=i.unstable_LowPriority,Vo=i.unstable_IdlePriority,Tm=i.log,Am=i.unstable_setDisableYieldValue,an=null,de=null;function fl(t){if(typeof Tm=="function"&&Am(t),de&&typeof de.setStrictMode=="function")try{de.setStrictMode(an,t)}catch{}}var he=Math.clz32?Math.clz32:zm,Rm=Math.log,_m=Math.LN2;function zm(t){return t>>>=0,t===0?32:31-(Rm(t)/_m|0)|0}var xi=256,Ei=4194304;function Ll(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ti(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,u=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var h=a&134217727;return h!==0?(a=h&~u,a!==0?n=Ll(a):(f&=h,f!==0?n=Ll(f):l||(l=h&~t,l!==0&&(n=Ll(l))))):(h=a&~u,h!==0?n=Ll(h):f!==0?n=Ll(f):l||(l=a&~t,l!==0&&(n=Ll(l)))),n===0?0:e!==0&&e!==n&&(e&u)===0&&(u=n&-n,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:n}function nn(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Om(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ko(){var t=xi;return xi<<=1,(xi&4194048)===0&&(xi=256),t}function Jo(){var t=Ei;return Ei<<=1,(Ei&62914560)===0&&(Ei=4194304),t}function mr(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function un(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function km(t,e,l,a,n,u){var f=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var h=t.entanglements,y=t.expirationTimes,T=t.hiddenUpdates;for(l=f&~l;0<l;){var O=31-he(l),M=1<<O;h[O]=0,y[O]=-1;var A=T[O];if(A!==null)for(T[O]=null,O=0;O<A.length;O++){var R=A[O];R!==null&&(R.lane&=-536870913)}l&=~M}a!==0&&$o(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(f&~e))}function $o(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-he(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&4194090}function Wo(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-he(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function yr(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function vr(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Fo(){var t=j.p;return t!==0?t:(t=window.event,t===void 0?32:Dp(t.type))}function Dm(t,e){var l=j.p;try{return j.p=t,e()}finally{j.p=l}}var dl=Math.random().toString(36).slice(2),It="__reactFiber$"+dl,ue="__reactProps$"+dl,ra="__reactContainer$"+dl,br="__reactEvents$"+dl,Mm="__reactListeners$"+dl,Nm="__reactHandles$"+dl,Po="__reactResources$"+dl,rn="__reactMarker$"+dl;function wr(t){delete t[It],delete t[ue],delete t[br],delete t[Mm],delete t[Nm]}function sa(t){var e=t[It];if(e)return e;for(var l=t.parentNode;l;){if(e=l[ra]||l[It]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=mp(t);t!==null;){if(l=t[It])return l;t=mp(t)}return e}t=l,l=t.parentNode}return null}function ca(t){if(t=t[It]||t[ra]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function sn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function oa(t){var e=t[Po];return e||(e=t[Po]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Yt(t){t[rn]=!0}var Io=new Set,tf={};function Yl(t,e){fa(t,e),fa(t+"Capture",e)}function fa(t,e){for(tf[t]=e,t=0;t<e.length;t++)Io.add(e[t])}var Um=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ef={},lf={};function Bm(t){return hr.call(lf,t)?!0:hr.call(ef,t)?!1:Um.test(t)?lf[t]=!0:(ef[t]=!0,!1)}function Ai(t,e,l){if(Bm(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function Ri(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function $e(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}var Sr,af;function da(t){if(Sr===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);Sr=e&&e[1]||"",af=-1<l.stack.indexOf(`
43
+ at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
44
+ `+Sr+t+af}var xr=!1;function Er(t,e){if(!t||xr)return"";xr=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(R){var A=R}Reflect.construct(t,[],M)}else{try{M.call()}catch(R){A=R}t.call(M.prototype)}}else{try{throw Error()}catch(R){A=R}(M=t())&&typeof M.catch=="function"&&M.catch(function(){})}}catch(R){if(R&&A&&typeof R.stack=="string")return[R.stack,A.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),f=u[0],h=u[1];if(f&&h){var y=f.split(`
45
+ `),T=h.split(`
46
+ `);for(n=a=0;a<y.length&&!y[a].includes("DetermineComponentFrameRoot");)a++;for(;n<T.length&&!T[n].includes("DetermineComponentFrameRoot");)n++;if(a===y.length||n===T.length)for(a=y.length-1,n=T.length-1;1<=a&&0<=n&&y[a]!==T[n];)n--;for(;1<=a&&0<=n;a--,n--)if(y[a]!==T[n]){if(a!==1||n!==1)do if(a--,n--,0>n||y[a]!==T[n]){var O=`
47
+ `+y[a].replace(" at new "," at ");return t.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",t.displayName)),O}while(1<=a&&0<=n);break}}}finally{xr=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?da(l):""}function Cm(t){switch(t.tag){case 26:case 27:case 5:return da(t.type);case 16:return da("Lazy");case 13:return da("Suspense");case 19:return da("SuspenseList");case 0:case 15:return Er(t.type,!1);case 11:return Er(t.type.render,!1);case 1:return Er(t.type,!0);case 31:return da("Activity");default:return""}}function nf(t){try{var e="";do e+=Cm(t),t=t.return;while(t);return e}catch(l){return`
48
+ Error generating stack: `+l.message+`
49
+ `+l.stack}}function Se(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function uf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function qm(t){var e=uf(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,u=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(f){a=""+f,u.call(this,f)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function _i(t){t._valueTracker||(t._valueTracker=qm(t))}function rf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=uf(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function zi(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Hm=/[\n"\\]/g;function xe(t){return t.replace(Hm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Tr(t,e,l,a,n,u,f,h){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Se(e)):t.value!==""+Se(e)&&(t.value=""+Se(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?Ar(t,f,Se(e)):l!=null?Ar(t,f,Se(l)):a!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.name=""+Se(h):t.removeAttribute("name")}function sf(t,e,l,a,n,u,f,h){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null))return;l=l!=null?""+Se(l):"",e=e!=null?""+Se(e):l,h||e===t.value||(t.value=e),t.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=h?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f)}function Ar(t,e,l){e==="number"&&zi(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function ha(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n<l.length;n++)e["$"+l[n]]=!0;for(l=0;l<t.length;l++)n=e.hasOwnProperty("$"+t[l].value),t[l].selected!==n&&(t[l].selected=n),n&&a&&(t[l].defaultSelected=!0)}else{for(l=""+Se(l),e=null,n=0;n<t.length;n++){if(t[n].value===l){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function cf(t,e,l){if(e!=null&&(e=""+Se(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Se(l):""}function of(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(o(92));if(C(a)){if(1<a.length)throw Error(o(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=Se(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a)}function pa(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var jm=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function ff(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||jm.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function df(t,e,l){if(e!=null&&typeof e!="object")throw Error(o(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&l[n]!==a&&ff(t,n,a)}else for(var u in e)e.hasOwnProperty(u)&&ff(t,u,e[u])}function Rr(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Lm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ym=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Oi(t){return Ym.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var _r=null;function zr(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ga=null,ma=null;function hf(t){var e=ca(t);if(e&&(t=e.stateNode)){var l=t[ue]||null;t:switch(t=e.stateNode,e.type){case"input":if(Tr(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+xe(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[ue]||null;if(!n)throw Error(o(90));Tr(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&rf(a)}break t;case"textarea":cf(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&ha(t,!!l.multiple,e,!1)}}}var Or=!1;function pf(t,e,l){if(Or)return t(e,l);Or=!0;try{var a=t(e);return a}finally{if(Or=!1,(ga!==null||ma!==null)&&(pu(),ga&&(e=ga,t=ma,ma=ga=null,hf(e),t)))for(e=0;e<t.length;e++)hf(t[e])}}function cn(t,e){var l=t.stateNode;if(l===null)return null;var a=l[ue]||null;if(a===null)return null;l=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(o(231,e,typeof l));return l}var We=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kr=!1;if(We)try{var on={};Object.defineProperty(on,"passive",{get:function(){kr=!0}}),window.addEventListener("test",on,on),window.removeEventListener("test",on,on)}catch{kr=!1}var hl=null,Dr=null,ki=null;function gf(){if(ki)return ki;var t,e=Dr,l=e.length,a,n="value"in hl?hl.value:hl.textContent,u=n.length;for(t=0;t<l&&e[t]===n[t];t++);var f=l-t;for(a=1;a<=f&&e[l-a]===n[u-a];a++);return ki=n.slice(t,1<a?1-a:void 0)}function Di(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Mi(){return!0}function mf(){return!1}function re(t){function e(l,a,n,u,f){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=f,this.currentTarget=null;for(var h in t)t.hasOwnProperty(h)&&(l=t[h],this[h]=l?l(u):u[h]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Mi:mf,this.isPropagationStopped=mf,this}return z(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Mi)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Mi)},persist:function(){},isPersistent:Mi}),e}var Gl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ni=re(Gl),fn=z({},Gl,{view:0,detail:0}),Gm=re(fn),Mr,Nr,dn,Ui=z({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Br,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==dn&&(dn&&t.type==="mousemove"?(Mr=t.screenX-dn.screenX,Nr=t.screenY-dn.screenY):Nr=Mr=0,dn=t),Mr)},movementY:function(t){return"movementY"in t?t.movementY:Nr}}),yf=re(Ui),Xm=z({},Ui,{dataTransfer:0}),Qm=re(Xm),Zm=z({},fn,{relatedTarget:0}),Ur=re(Zm),Vm=z({},Gl,{animationName:0,elapsedTime:0,pseudoElement:0}),Km=re(Vm),Jm=z({},Gl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),$m=re(Jm),Wm=z({},Gl,{data:0}),vf=re(Wm),Fm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Pm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Im={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ty(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Im[t])?!!e[t]:!1}function Br(){return ty}var ey=z({},fn,{key:function(t){if(t.key){var e=Fm[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Di(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Pm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Br,charCode:function(t){return t.type==="keypress"?Di(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Di(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),ly=re(ey),ay=z({},Ui,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bf=re(ay),ny=z({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Br}),iy=re(ny),uy=z({},Gl,{propertyName:0,elapsedTime:0,pseudoElement:0}),ry=re(uy),sy=z({},Ui,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),cy=re(sy),oy=z({},Gl,{newState:0,oldState:0}),fy=re(oy),dy=[9,13,27,32],Cr=We&&"CompositionEvent"in window,hn=null;We&&"documentMode"in document&&(hn=document.documentMode);var hy=We&&"TextEvent"in window&&!hn,wf=We&&(!Cr||hn&&8<hn&&11>=hn),Sf=" ",xf=!1;function Ef(t,e){switch(t){case"keyup":return dy.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ya=!1;function py(t,e){switch(t){case"compositionend":return Tf(e);case"keypress":return e.which!==32?null:(xf=!0,Sf);case"textInput":return t=e.data,t===Sf&&xf?null:t;default:return null}}function gy(t,e){if(ya)return t==="compositionend"||!Cr&&Ef(t,e)?(t=gf(),ki=Dr=hl=null,ya=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return wf&&e.locale!=="ko"?null:e.data;default:return null}}var my={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Af(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!my[t.type]:e==="textarea"}function Rf(t,e,l,a){ga?ma?ma.push(a):ma=[a]:ga=a,e=wu(e,"onChange"),0<e.length&&(l=new Ni("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var pn=null,gn=null;function yy(t){up(t,0)}function Bi(t){var e=sn(t);if(rf(e))return t}function _f(t,e){if(t==="change")return e}var zf=!1;if(We){var qr;if(We){var Hr="oninput"in document;if(!Hr){var Of=document.createElement("div");Of.setAttribute("oninput","return;"),Hr=typeof Of.oninput=="function"}qr=Hr}else qr=!1;zf=qr&&(!document.documentMode||9<document.documentMode)}function kf(){pn&&(pn.detachEvent("onpropertychange",Df),gn=pn=null)}function Df(t){if(t.propertyName==="value"&&Bi(gn)){var e=[];Rf(e,gn,t,zr(t)),pf(yy,e)}}function vy(t,e,l){t==="focusin"?(kf(),pn=e,gn=l,pn.attachEvent("onpropertychange",Df)):t==="focusout"&&kf()}function by(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Bi(gn)}function wy(t,e){if(t==="click")return Bi(e)}function Sy(t,e){if(t==="input"||t==="change")return Bi(e)}function xy(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var pe=typeof Object.is=="function"?Object.is:xy;function mn(t,e){if(pe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!hr.call(e,n)||!pe(t[n],e[n]))return!1}return!0}function Mf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Nf(t,e){var l=Mf(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Mf(l)}}function Uf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Uf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Bf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=zi(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=zi(t.document)}return e}function jr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Ey=We&&"documentMode"in document&&11>=document.documentMode,va=null,Lr=null,yn=null,Yr=!1;function Cf(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Yr||va==null||va!==zi(a)||(a=va,"selectionStart"in a&&jr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),yn&&mn(yn,a)||(yn=a,a=wu(Lr,"onSelect"),0<a.length&&(e=new Ni("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=va)))}function Xl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var ba={animationend:Xl("Animation","AnimationEnd"),animationiteration:Xl("Animation","AnimationIteration"),animationstart:Xl("Animation","AnimationStart"),transitionrun:Xl("Transition","TransitionRun"),transitionstart:Xl("Transition","TransitionStart"),transitioncancel:Xl("Transition","TransitionCancel"),transitionend:Xl("Transition","TransitionEnd")},Gr={},qf={};We&&(qf=document.createElement("div").style,"AnimationEvent"in window||(delete ba.animationend.animation,delete ba.animationiteration.animation,delete ba.animationstart.animation),"TransitionEvent"in window||delete ba.transitionend.transition);function Ql(t){if(Gr[t])return Gr[t];if(!ba[t])return t;var e=ba[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in qf)return Gr[t]=e[l];return t}var Hf=Ql("animationend"),jf=Ql("animationiteration"),Lf=Ql("animationstart"),Ty=Ql("transitionrun"),Ay=Ql("transitionstart"),Ry=Ql("transitioncancel"),Yf=Ql("transitionend"),Gf=new Map,Xr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Xr.push("scrollEnd");function De(t,e){Gf.set(t,e),Yl(e,[t])}var Xf=new WeakMap;function Ee(t,e){if(typeof t=="object"&&t!==null){var l=Xf.get(t);return l!==void 0?l:(e={value:t,source:e,stack:nf(e)},Xf.set(t,e),e)}return{value:t,source:e,stack:nf(e)}}var Te=[],wa=0,Qr=0;function Ci(){for(var t=wa,e=Qr=wa=0;e<t;){var l=Te[e];Te[e++]=null;var a=Te[e];Te[e++]=null;var n=Te[e];Te[e++]=null;var u=Te[e];if(Te[e++]=null,a!==null&&n!==null){var f=a.pending;f===null?n.next=n:(n.next=f.next,f.next=n),a.pending=n}u!==0&&Qf(l,n,u)}}function qi(t,e,l,a){Te[wa++]=t,Te[wa++]=e,Te[wa++]=l,Te[wa++]=a,Qr|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Zr(t,e,l,a){return qi(t,e,l,a),Hi(t)}function Sa(t,e){return qi(t,null,null,e),Hi(t)}function Qf(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=t.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(n=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,n&&e!==null&&(n=31-he(l),t=u.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),u):null}function Hi(t){if(50<Gn)throw Gn=0,Fs=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var xa={};function _y(t,e,l,a){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ge(t,e,l,a){return new _y(t,e,l,a)}function Vr(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Fe(t,e){var l=t.alternate;return l===null?(l=ge(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Zf(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function ji(t,e,l,a,n,u){var f=0;if(a=t,typeof t=="function")Vr(t)&&(f=1);else if(typeof t=="string")f=Ov(t,l,$.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Rt:return t=ge(31,l,e,n),t.elementType=Rt,t.lanes=u,t;case H:return Zl(l.children,n,u,e);case L:f=8,n|=24;break;case I:return t=ge(12,l,e,n|2),t.elementType=I,t.lanes=u,t;case V:return t=ge(13,l,e,n),t.elementType=V,t.lanes=u,t;case gt:return t=ge(19,l,e,n),t.elementType=gt,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case st:case ct:f=10;break t;case ut:f=9;break t;case pt:f=11;break t;case Zt:f=14;break t;case et:f=16,a=null;break t}f=29,l=Error(o(130,t===null?"null":typeof t,"")),a=null}return e=ge(f,l,e,n),e.elementType=t,e.type=a,e.lanes=u,e}function Zl(t,e,l,a){return t=ge(7,t,a,e),t.lanes=l,t}function Kr(t,e,l){return t=ge(6,t,null,e),t.lanes=l,t}function Jr(t,e,l){return e=ge(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Ea=[],Ta=0,Li=null,Yi=0,Ae=[],Re=0,Vl=null,Pe=1,Ie="";function Kl(t,e){Ea[Ta++]=Yi,Ea[Ta++]=Li,Li=t,Yi=e}function Vf(t,e,l){Ae[Re++]=Pe,Ae[Re++]=Ie,Ae[Re++]=Vl,Vl=t;var a=Pe;t=Ie;var n=32-he(a)-1;a&=~(1<<n),l+=1;var u=32-he(e)+n;if(30<u){var f=n-n%5;u=(a&(1<<f)-1).toString(32),a>>=f,n-=f,Pe=1<<32-he(e)+n|l<<n|a,Ie=u+t}else Pe=1<<u|l<<n|a,Ie=t}function $r(t){t.return!==null&&(Kl(t,1),Vf(t,1,0))}function Wr(t){for(;t===Li;)Li=Ea[--Ta],Ea[Ta]=null,Yi=Ea[--Ta],Ea[Ta]=null;for(;t===Vl;)Vl=Ae[--Re],Ae[Re]=null,Ie=Ae[--Re],Ae[Re]=null,Pe=Ae[--Re],Ae[Re]=null}var le=null,Mt=null,dt=!1,Jl=null,je=!1,Fr=Error(o(519));function $l(t){var e=Error(o(418,""));throw wn(Ee(e,t)),Fr}function Kf(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[It]=t,e[ue]=a,l){case"dialog":it("cancel",e),it("close",e);break;case"iframe":case"object":case"embed":it("load",e);break;case"video":case"audio":for(l=0;l<Qn.length;l++)it(Qn[l],e);break;case"source":it("error",e);break;case"img":case"image":case"link":it("error",e),it("load",e);break;case"details":it("toggle",e);break;case"input":it("invalid",e),sf(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),_i(e);break;case"select":it("invalid",e);break;case"textarea":it("invalid",e),of(e,a.value,a.defaultValue,a.children),_i(e)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||op(e.textContent,l)?(a.popover!=null&&(it("beforetoggle",e),it("toggle",e)),a.onScroll!=null&&it("scroll",e),a.onScrollEnd!=null&&it("scrollend",e),a.onClick!=null&&(e.onclick=Su),e=!0):e=!1,e||$l(t)}function Jf(t){for(le=t.return;le;)switch(le.tag){case 5:case 13:je=!1;return;case 27:case 3:je=!0;return;default:le=le.return}}function vn(t){if(t!==le)return!1;if(!dt)return Jf(t),dt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||hc(t.type,t.memoizedProps)),l=!l),l&&Mt&&$l(t),Jf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(l=t.data,l==="/$"){if(e===0){Mt=Ne(t.nextSibling);break t}e--}else l!=="$"&&l!=="$!"&&l!=="$?"||e++;t=t.nextSibling}Mt=null}}else e===27?(e=Mt,Ol(t.type)?(t=yc,yc=null,Mt=t):Mt=e):Mt=le?Ne(t.stateNode.nextSibling):null;return!0}function bn(){Mt=le=null,dt=!1}function $f(){var t=Jl;return t!==null&&(oe===null?oe=t:oe.push.apply(oe,t),Jl=null),t}function wn(t){Jl===null?Jl=[t]:Jl.push(t)}var Pr=U(null),Wl=null,tl=null;function pl(t,e,l){q(Pr,e._currentValue),e._currentValue=l}function el(t){t._currentValue=Pr.current,Y(Pr)}function Ir(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function ts(t,e,l,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var u=n.dependencies;if(u!==null){var f=n.child;u=u.firstContext;t:for(;u!==null;){var h=u;u=n;for(var y=0;y<e.length;y++)if(h.context===e[y]){u.lanes|=l,h=u.alternate,h!==null&&(h.lanes|=l),Ir(u.return,l,t),a||(f=null);break t}u=h.next}}else if(n.tag===18){if(f=n.return,f===null)throw Error(o(341));f.lanes|=l,u=f.alternate,u!==null&&(u.lanes|=l),Ir(f,l,t),f=null}else f=n.child;if(f!==null)f.return=n;else for(f=n;f!==null;){if(f===t){f=null;break}if(n=f.sibling,n!==null){n.return=f.return,f=n;break}f=f.return}n=f}}function Sn(t,e,l,a){t=null;for(var n=e,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var f=n.alternate;if(f===null)throw Error(o(387));if(f=f.memoizedProps,f!==null){var h=n.type;pe(n.pendingProps.value,f.value)||(t!==null?t.push(h):t=[h])}}else if(n===fe.current){if(f=n.alternate,f===null)throw Error(o(387));f.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(Wn):t=[Wn])}n=n.return}t!==null&&ts(e,t,l,a),e.flags|=262144}function Gi(t){for(t=t.firstContext;t!==null;){if(!pe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Fl(t){Wl=t,tl=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function te(t){return Wf(Wl,t)}function Xi(t,e){return Wl===null&&Fl(t),Wf(t,e)}function Wf(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},tl===null){if(t===null)throw Error(o(308));tl=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else tl=tl.next=e;return l}var zy=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},Oy=i.unstable_scheduleCallback,ky=i.unstable_NormalPriority,Ht={$$typeof:ct,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function es(){return{controller:new zy,data:new Map,refCount:0}}function xn(t){t.refCount--,t.refCount===0&&Oy(ky,function(){t.controller.abort()})}var En=null,ls=0,Aa=0,Ra=null;function Dy(t,e){if(En===null){var l=En=[];ls=0,Aa=nc(),Ra={status:"pending",value:void 0,then:function(a){l.push(a)}}}return ls++,e.then(Ff,Ff),e}function Ff(){if(--ls===0&&En!==null){Ra!==null&&(Ra.status="fulfilled");var t=En;En=null,Aa=0,Ra=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function My(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<l.length;n++)(0,l[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var Pf=B.S;B.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&Dy(t,e),Pf!==null&&Pf(t,e)};var Pl=U(null);function as(){var t=Pl.current;return t!==null?t:At.pooledCache}function Qi(t,e){e===null?q(Pl,Pl.current):q(Pl,e.pool)}function If(){var t=as();return t===null?null:{parent:Ht._currentValue,pool:t}}var Tn=Error(o(460)),td=Error(o(474)),Zi=Error(o(542)),ns={then:function(){}};function ed(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Vi(){}function ld(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(Vi,Vi),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,nd(t),t;default:if(typeof e.status=="string")e.then(Vi,Vi);else{if(t=At,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,nd(t),t}throw An=e,Tn}}var An=null;function ad(){if(An===null)throw Error(o(459));var t=An;return An=null,t}function nd(t){if(t===Tn||t===Zi)throw Error(o(483))}var gl=!1;function is(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function us(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ml(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function yl(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(yt&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Hi(t),Qf(t,null,l),e}return qi(t,a,e,l),Hi(t)}function Rn(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Wo(t,l)}}function rs(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var f={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=f:u=u.next=f,l=l.next}while(l!==null);u===null?n=u=e:u=u.next=e}else n=u=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var ss=!1;function _n(){if(ss){var t=Ra;if(t!==null)throw t}}function zn(t,e,l,a){ss=!1;var n=t.updateQueue;gl=!1;var u=n.firstBaseUpdate,f=n.lastBaseUpdate,h=n.shared.pending;if(h!==null){n.shared.pending=null;var y=h,T=y.next;y.next=null,f===null?u=T:f.next=T,f=y;var O=t.alternate;O!==null&&(O=O.updateQueue,h=O.lastBaseUpdate,h!==f&&(h===null?O.firstBaseUpdate=T:h.next=T,O.lastBaseUpdate=y))}if(u!==null){var M=n.baseState;f=0,O=T=y=null,h=u;do{var A=h.lane&-536870913,R=A!==h.lane;if(R?(rt&A)===A:(a&A)===A){A!==0&&A===Aa&&(ss=!0),O!==null&&(O=O.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});t:{var W=t,Z=h;A=e;var St=l;switch(Z.tag){case 1:if(W=Z.payload,typeof W=="function"){M=W.call(St,M,A);break t}M=W;break t;case 3:W.flags=W.flags&-65537|128;case 0:if(W=Z.payload,A=typeof W=="function"?W.call(St,M,A):W,A==null)break t;M=z({},M,A);break t;case 2:gl=!0}}A=h.callback,A!==null&&(t.flags|=64,R&&(t.flags|=8192),R=n.callbacks,R===null?n.callbacks=[A]:R.push(A))}else R={lane:A,tag:h.tag,payload:h.payload,callback:h.callback,next:null},O===null?(T=O=R,y=M):O=O.next=R,f|=A;if(h=h.next,h===null){if(h=n.shared.pending,h===null)break;R=h,h=R.next,R.next=null,n.lastBaseUpdate=R,n.shared.pending=null}}while(!0);O===null&&(y=M),n.baseState=y,n.firstBaseUpdate=T,n.lastBaseUpdate=O,u===null&&(n.shared.lanes=0),Al|=f,t.lanes=f,t.memoizedState=M}}function id(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function ud(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)id(l[t],e)}var _a=U(null),Ki=U(0);function rd(t,e){t=sl,q(Ki,t),q(_a,e),sl=t|e.baseLanes}function cs(){q(Ki,sl),q(_a,_a.current)}function os(){sl=Ki.current,Y(_a),Y(Ki)}var vl=0,lt=null,bt=null,Ct=null,Ji=!1,za=!1,Il=!1,$i=0,On=0,Oa=null,Ny=0;function Ut(){throw Error(o(321))}function fs(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!pe(t[l],e[l]))return!1;return!0}function ds(t,e,l,a,n,u){return vl=u,lt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,B.H=t===null||t.memoizedState===null?Qd:Zd,Il=!1,u=l(a,n),Il=!1,za&&(u=cd(e,l,a,n)),sd(t),u}function sd(t){B.H=eu;var e=bt!==null&&bt.next!==null;if(vl=0,Ct=bt=lt=null,Ji=!1,On=0,Oa=null,e)throw Error(o(300));t===null||Gt||(t=t.dependencies,t!==null&&Gi(t)&&(Gt=!0))}function cd(t,e,l,a){lt=t;var n=0;do{if(za&&(Oa=null),On=0,za=!1,25<=n)throw Error(o(301));if(n+=1,Ct=bt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}B.H=Ly,u=e(l,a)}while(za);return u}function Uy(){var t=B.H,e=t.useState()[0];return e=typeof e.then=="function"?kn(e):e,t=t.useState()[0],(bt!==null?bt.memoizedState:null)!==t&&(lt.flags|=1024),e}function hs(){var t=$i!==0;return $i=0,t}function ps(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function gs(t){if(Ji){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Ji=!1}vl=0,Ct=bt=lt=null,za=!1,On=$i=0,Oa=null}function se(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ct===null?lt.memoizedState=Ct=t:Ct=Ct.next=t,Ct}function qt(){if(bt===null){var t=lt.alternate;t=t!==null?t.memoizedState:null}else t=bt.next;var e=Ct===null?lt.memoizedState:Ct.next;if(e!==null)Ct=e,bt=t;else{if(t===null)throw lt.alternate===null?Error(o(467)):Error(o(310));bt=t,t={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},Ct===null?lt.memoizedState=Ct=t:Ct=Ct.next=t}return Ct}function ms(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function kn(t){var e=On;return On+=1,Oa===null&&(Oa=[]),t=ld(Oa,t,e),e=lt,(Ct===null?e.memoizedState:Ct.next)===null&&(e=e.alternate,B.H=e===null||e.memoizedState===null?Qd:Zd),t}function Wi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return kn(t);if(t.$$typeof===ct)return te(t)}throw Error(o(438,String(t)))}function ys(t){var e=null,l=lt.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=lt.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=ms(),lt.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=ie;return e.index++,l}function ll(t,e){return typeof e=="function"?e(t):e}function Fi(t){var e=qt();return vs(e,bt,t)}function vs(t,e,l){var a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=l;var n=t.baseQueue,u=a.pending;if(u!==null){if(n!==null){var f=n.next;n.next=u.next,u.next=f}e.baseQueue=n=u,a.pending=null}if(u=t.baseState,n===null)t.memoizedState=u;else{e=n.next;var h=f=null,y=null,T=e,O=!1;do{var M=T.lane&-536870913;if(M!==T.lane?(rt&M)===M:(vl&M)===M){var A=T.revertLane;if(A===0)y!==null&&(y=y.next={lane:0,revertLane:0,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),M===Aa&&(O=!0);else if((vl&A)===A){T=T.next,A===Aa&&(O=!0);continue}else M={lane:0,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},y===null?(h=y=M,f=u):y=y.next=M,lt.lanes|=A,Al|=A;M=T.action,Il&&l(u,M),u=T.hasEagerState?T.eagerState:l(u,M)}else A={lane:M,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},y===null?(h=y=A,f=u):y=y.next=A,lt.lanes|=M,Al|=M;T=T.next}while(T!==null&&T!==e);if(y===null?f=u:y.next=h,!pe(u,t.memoizedState)&&(Gt=!0,O&&(l=Ra,l!==null)))throw l;t.memoizedState=u,t.baseState=f,t.baseQueue=y,a.lastRenderedState=u}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function bs(t){var e=qt(),l=e.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=t;var a=l.dispatch,n=l.pending,u=e.memoizedState;if(n!==null){l.pending=null;var f=n=n.next;do u=t(u,f.action),f=f.next;while(f!==n);pe(u,e.memoizedState)||(Gt=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,a]}function od(t,e,l){var a=lt,n=qt(),u=dt;if(u){if(l===void 0)throw Error(o(407));l=l()}else l=e();var f=!pe((bt||n).memoizedState,l);f&&(n.memoizedState=l,Gt=!0),n=n.queue;var h=hd.bind(null,a,n,t);if(Dn(2048,8,h,[t]),n.getSnapshot!==e||f||Ct!==null&&Ct.memoizedState.tag&1){if(a.flags|=2048,ka(9,Pi(),dd.bind(null,a,n,l,e),null),At===null)throw Error(o(349));u||(vl&124)!==0||fd(a,e,l)}return l}function fd(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=lt.updateQueue,e===null?(e=ms(),lt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function dd(t,e,l,a){e.value=l,e.getSnapshot=a,pd(e)&&gd(t)}function hd(t,e,l){return l(function(){pd(e)&&gd(t)})}function pd(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!pe(t,l)}catch{return!0}}function gd(t){var e=Sa(t,2);e!==null&&we(e,t,2)}function ws(t){var e=se();if(typeof t=="function"){var l=t;if(t=l(),Il){fl(!0);try{l()}finally{fl(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ll,lastRenderedState:t},e}function md(t,e,l,a){return t.baseState=l,vs(t,bt,typeof a=="function"?a:ll)}function By(t,e,l,a,n){if(tu(t))throw Error(o(485));if(t=e.action,t!==null){var u={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){u.listeners.push(f)}};B.T!==null?l(!0):u.isTransition=!1,a(u),l=e.pending,l===null?(u.next=e.pending=u,yd(e,u)):(u.next=l.next,e.pending=l.next=u)}}function yd(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var u=B.T,f={};B.T=f;try{var h=l(n,a),y=B.S;y!==null&&y(f,h),vd(t,e,h)}catch(T){Ss(t,e,T)}finally{B.T=u}}else try{u=l(n,a),vd(t,e,u)}catch(T){Ss(t,e,T)}}function vd(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){bd(t,e,a)},function(a){return Ss(t,e,a)}):bd(t,e,l)}function bd(t,e,l){e.status="fulfilled",e.value=l,wd(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,yd(t,l)))}function Ss(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,wd(e),e=e.next;while(e!==a)}t.action=null}function wd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Sd(t,e){return e}function xd(t,e){if(dt){var l=At.formState;if(l!==null){t:{var a=lt;if(dt){if(Mt){e:{for(var n=Mt,u=je;n.nodeType!==8;){if(!u){n=null;break e}if(n=Ne(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Mt=Ne(n.nextSibling),a=n.data==="F!";break t}}$l(a)}a=!1}a&&(e=l[0])}}return l=se(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sd,lastRenderedState:e},l.queue=a,l=Yd.bind(null,lt,a),a.dispatch=l,a=ws(!1),u=Rs.bind(null,lt,!1,a.queue),a=se(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=By.bind(null,lt,n,u,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Ed(t){var e=qt();return Td(e,bt,t)}function Td(t,e,l){if(e=vs(t,e,Sd)[0],t=Fi(ll)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=kn(e)}catch(f){throw f===Tn?Zi:f}else a=e;e=qt();var n=e.queue,u=n.dispatch;return l!==e.memoizedState&&(lt.flags|=2048,ka(9,Pi(),Cy.bind(null,n,l),null)),[a,u,t]}function Cy(t,e){t.action=e}function Ad(t){var e=qt(),l=bt;if(l!==null)return Td(e,l,t);qt(),e=e.memoizedState,l=qt();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function ka(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=lt.updateQueue,e===null&&(e=ms(),lt.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function Pi(){return{destroy:void 0,resource:void 0}}function Rd(){return qt().memoizedState}function Ii(t,e,l,a){var n=se();a=a===void 0?null:a,lt.flags|=t,n.memoizedState=ka(1|e,Pi(),l,a)}function Dn(t,e,l,a){var n=qt();a=a===void 0?null:a;var u=n.memoizedState.inst;bt!==null&&a!==null&&fs(a,bt.memoizedState.deps)?n.memoizedState=ka(e,u,l,a):(lt.flags|=t,n.memoizedState=ka(1|e,u,l,a))}function _d(t,e){Ii(8390656,8,t,e)}function zd(t,e){Dn(2048,8,t,e)}function Od(t,e){return Dn(4,2,t,e)}function kd(t,e){return Dn(4,4,t,e)}function Dd(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Md(t,e,l){l=l!=null?l.concat([t]):null,Dn(4,4,Dd.bind(null,e,t),l)}function xs(){}function Nd(t,e){var l=qt();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&fs(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function Ud(t,e){var l=qt();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&fs(e,a[1]))return a[0];if(a=t(),Il){fl(!0);try{t()}finally{fl(!1)}}return l.memoizedState=[a,e],a}function Es(t,e,l){return l===void 0||(vl&1073741824)!==0?t.memoizedState=e:(t.memoizedState=l,t=qh(),lt.lanes|=t,Al|=t,l)}function Bd(t,e,l,a){return pe(l,e)?l:_a.current!==null?(t=Es(t,l,a),pe(t,e)||(Gt=!0),t):(vl&42)===0?(Gt=!0,t.memoizedState=l):(t=qh(),lt.lanes|=t,Al|=t,e)}function Cd(t,e,l,a,n){var u=j.p;j.p=u!==0&&8>u?u:8;var f=B.T,h={};B.T=h,Rs(t,!1,e,l);try{var y=n(),T=B.S;if(T!==null&&T(h,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){var O=My(y,a);Mn(t,e,O,be(t))}else Mn(t,e,a,be(t))}catch(M){Mn(t,e,{then:function(){},status:"rejected",reason:M},be())}finally{j.p=u,B.T=f}}function qy(){}function Ts(t,e,l,a){if(t.tag!==5)throw Error(o(476));var n=qd(t).queue;Cd(t,n,e,ot,l===null?qy:function(){return Hd(t),l(a)})}function qd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:ot,baseState:ot,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ll,lastRenderedState:ot},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ll,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Hd(t){var e=qd(t).next.queue;Mn(t,e,{},be())}function As(){return te(Wn)}function jd(){return qt().memoizedState}function Ld(){return qt().memoizedState}function Hy(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=be();t=ml(l);var a=yl(e,t,l);a!==null&&(we(a,e,l),Rn(a,e,l)),e={cache:es()},t.payload=e;return}e=e.return}}function jy(t,e,l){var a=be();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},tu(t)?Gd(e,l):(l=Zr(t,e,l,a),l!==null&&(we(l,t,a),Xd(l,e,a)))}function Yd(t,e,l){var a=be();Mn(t,e,l,a)}function Mn(t,e,l,a){var n={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(tu(t))Gd(e,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var f=e.lastRenderedState,h=u(f,l);if(n.hasEagerState=!0,n.eagerState=h,pe(h,f))return qi(t,e,n,0),At===null&&Ci(),!1}catch{}finally{}if(l=Zr(t,e,n,a),l!==null)return we(l,t,a),Xd(l,e,a),!0}return!1}function Rs(t,e,l,a){if(a={lane:2,revertLane:nc(),action:a,hasEagerState:!1,eagerState:null,next:null},tu(t)){if(e)throw Error(o(479))}else e=Zr(t,l,a,2),e!==null&&we(e,t,2)}function tu(t){var e=t.alternate;return t===lt||e!==null&&e===lt}function Gd(t,e){za=Ji=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Xd(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Wo(t,l)}}var eu={readContext:te,use:Wi,useCallback:Ut,useContext:Ut,useEffect:Ut,useImperativeHandle:Ut,useLayoutEffect:Ut,useInsertionEffect:Ut,useMemo:Ut,useReducer:Ut,useRef:Ut,useState:Ut,useDebugValue:Ut,useDeferredValue:Ut,useTransition:Ut,useSyncExternalStore:Ut,useId:Ut,useHostTransitionStatus:Ut,useFormState:Ut,useActionState:Ut,useOptimistic:Ut,useMemoCache:Ut,useCacheRefresh:Ut},Qd={readContext:te,use:Wi,useCallback:function(t,e){return se().memoizedState=[t,e===void 0?null:e],t},useContext:te,useEffect:_d,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Ii(4194308,4,Dd.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Ii(4194308,4,t,e)},useInsertionEffect:function(t,e){Ii(4,2,t,e)},useMemo:function(t,e){var l=se();e=e===void 0?null:e;var a=t();if(Il){fl(!0);try{t()}finally{fl(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=se();if(l!==void 0){var n=l(e);if(Il){fl(!0);try{l(e)}finally{fl(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=jy.bind(null,lt,t),[a.memoizedState,t]},useRef:function(t){var e=se();return t={current:t},e.memoizedState=t},useState:function(t){t=ws(t);var e=t.queue,l=Yd.bind(null,lt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:xs,useDeferredValue:function(t,e){var l=se();return Es(l,t,e)},useTransition:function(){var t=ws(!1);return t=Cd.bind(null,lt,t.queue,!0,!1),se().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=lt,n=se();if(dt){if(l===void 0)throw Error(o(407));l=l()}else{if(l=e(),At===null)throw Error(o(349));(rt&124)!==0||fd(a,e,l)}n.memoizedState=l;var u={value:l,getSnapshot:e};return n.queue=u,_d(hd.bind(null,a,u,t),[t]),a.flags|=2048,ka(9,Pi(),dd.bind(null,a,u,l,e),null),l},useId:function(){var t=se(),e=At.identifierPrefix;if(dt){var l=Ie,a=Pe;l=(a&~(1<<32-he(a)-1)).toString(32)+l,e="«"+e+"R"+l,l=$i++,0<l&&(e+="H"+l.toString(32)),e+="»"}else l=Ny++,e="«"+e+"r"+l.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:As,useFormState:xd,useActionState:xd,useOptimistic:function(t){var e=se();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Rs.bind(null,lt,!0,l),l.dispatch=e,[t,e]},useMemoCache:ys,useCacheRefresh:function(){return se().memoizedState=Hy.bind(null,lt)}},Zd={readContext:te,use:Wi,useCallback:Nd,useContext:te,useEffect:zd,useImperativeHandle:Md,useInsertionEffect:Od,useLayoutEffect:kd,useMemo:Ud,useReducer:Fi,useRef:Rd,useState:function(){return Fi(ll)},useDebugValue:xs,useDeferredValue:function(t,e){var l=qt();return Bd(l,bt.memoizedState,t,e)},useTransition:function(){var t=Fi(ll)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:kn(t),e]},useSyncExternalStore:od,useId:jd,useHostTransitionStatus:As,useFormState:Ed,useActionState:Ed,useOptimistic:function(t,e){var l=qt();return md(l,bt,t,e)},useMemoCache:ys,useCacheRefresh:Ld},Ly={readContext:te,use:Wi,useCallback:Nd,useContext:te,useEffect:zd,useImperativeHandle:Md,useInsertionEffect:Od,useLayoutEffect:kd,useMemo:Ud,useReducer:bs,useRef:Rd,useState:function(){return bs(ll)},useDebugValue:xs,useDeferredValue:function(t,e){var l=qt();return bt===null?Es(l,t,e):Bd(l,bt.memoizedState,t,e)},useTransition:function(){var t=bs(ll)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:kn(t),e]},useSyncExternalStore:od,useId:jd,useHostTransitionStatus:As,useFormState:Ad,useActionState:Ad,useOptimistic:function(t,e){var l=qt();return bt!==null?md(l,bt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:ys,useCacheRefresh:Ld},Da=null,Nn=0;function lu(t){var e=Nn;return Nn+=1,Da===null&&(Da=[]),ld(Da,t,e)}function Un(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function au(t,e){throw e.$$typeof===D?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Vd(t){var e=t._init;return e(t._payload)}function Kd(t){function e(x,w){if(t){var E=x.deletions;E===null?(x.deletions=[w],x.flags|=16):E.push(w)}}function l(x,w){if(!t)return null;for(;w!==null;)e(x,w),w=w.sibling;return null}function a(x){for(var w=new Map;x!==null;)x.key!==null?w.set(x.key,x):w.set(x.index,x),x=x.sibling;return w}function n(x,w){return x=Fe(x,w),x.index=0,x.sibling=null,x}function u(x,w,E){return x.index=E,t?(E=x.alternate,E!==null?(E=E.index,E<w?(x.flags|=67108866,w):E):(x.flags|=67108866,w)):(x.flags|=1048576,w)}function f(x){return t&&x.alternate===null&&(x.flags|=67108866),x}function h(x,w,E,k){return w===null||w.tag!==6?(w=Kr(E,x.mode,k),w.return=x,w):(w=n(w,E),w.return=x,w)}function y(x,w,E,k){var G=E.type;return G===H?O(x,w,E.props.children,k,E.key):w!==null&&(w.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===et&&Vd(G)===w.type)?(w=n(w,E.props),Un(w,E),w.return=x,w):(w=ji(E.type,E.key,E.props,null,x.mode,k),Un(w,E),w.return=x,w)}function T(x,w,E,k){return w===null||w.tag!==4||w.stateNode.containerInfo!==E.containerInfo||w.stateNode.implementation!==E.implementation?(w=Jr(E,x.mode,k),w.return=x,w):(w=n(w,E.children||[]),w.return=x,w)}function O(x,w,E,k,G){return w===null||w.tag!==7?(w=Zl(E,x.mode,k,G),w.return=x,w):(w=n(w,E),w.return=x,w)}function M(x,w,E){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return w=Kr(""+w,x.mode,E),w.return=x,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Q:return E=ji(w.type,w.key,w.props,null,x.mode,E),Un(E,w),E.return=x,E;case N:return w=Jr(w,x.mode,E),w.return=x,w;case et:var k=w._init;return w=k(w._payload),M(x,w,E)}if(C(w)||Pt(w))return w=Zl(w,x.mode,E,null),w.return=x,w;if(typeof w.then=="function")return M(x,lu(w),E);if(w.$$typeof===ct)return M(x,Xi(x,w),E);au(x,w)}return null}function A(x,w,E,k){var G=w!==null?w.key:null;if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return G!==null?null:h(x,w,""+E,k);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Q:return E.key===G?y(x,w,E,k):null;case N:return E.key===G?T(x,w,E,k):null;case et:return G=E._init,E=G(E._payload),A(x,w,E,k)}if(C(E)||Pt(E))return G!==null?null:O(x,w,E,k,null);if(typeof E.then=="function")return A(x,w,lu(E),k);if(E.$$typeof===ct)return A(x,w,Xi(x,E),k);au(x,E)}return null}function R(x,w,E,k,G){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return x=x.get(E)||null,h(w,x,""+k,G);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Q:return x=x.get(k.key===null?E:k.key)||null,y(w,x,k,G);case N:return x=x.get(k.key===null?E:k.key)||null,T(w,x,k,G);case et:var at=k._init;return k=at(k._payload),R(x,w,E,k,G)}if(C(k)||Pt(k))return x=x.get(E)||null,O(w,x,k,G,null);if(typeof k.then=="function")return R(x,w,E,lu(k),G);if(k.$$typeof===ct)return R(x,w,E,Xi(w,k),G);au(w,k)}return null}function W(x,w,E,k){for(var G=null,at=null,X=w,K=w=0,Qt=null;X!==null&&K<E.length;K++){X.index>K?(Qt=X,X=null):Qt=X.sibling;var ft=A(x,X,E[K],k);if(ft===null){X===null&&(X=Qt);break}t&&X&&ft.alternate===null&&e(x,X),w=u(ft,w,K),at===null?G=ft:at.sibling=ft,at=ft,X=Qt}if(K===E.length)return l(x,X),dt&&Kl(x,K),G;if(X===null){for(;K<E.length;K++)X=M(x,E[K],k),X!==null&&(w=u(X,w,K),at===null?G=X:at.sibling=X,at=X);return dt&&Kl(x,K),G}for(X=a(X);K<E.length;K++)Qt=R(X,x,K,E[K],k),Qt!==null&&(t&&Qt.alternate!==null&&X.delete(Qt.key===null?K:Qt.key),w=u(Qt,w,K),at===null?G=Qt:at.sibling=Qt,at=Qt);return t&&X.forEach(function(Ul){return e(x,Ul)}),dt&&Kl(x,K),G}function Z(x,w,E,k){if(E==null)throw Error(o(151));for(var G=null,at=null,X=w,K=w=0,Qt=null,ft=E.next();X!==null&&!ft.done;K++,ft=E.next()){X.index>K?(Qt=X,X=null):Qt=X.sibling;var Ul=A(x,X,ft.value,k);if(Ul===null){X===null&&(X=Qt);break}t&&X&&Ul.alternate===null&&e(x,X),w=u(Ul,w,K),at===null?G=Ul:at.sibling=Ul,at=Ul,X=Qt}if(ft.done)return l(x,X),dt&&Kl(x,K),G;if(X===null){for(;!ft.done;K++,ft=E.next())ft=M(x,ft.value,k),ft!==null&&(w=u(ft,w,K),at===null?G=ft:at.sibling=ft,at=ft);return dt&&Kl(x,K),G}for(X=a(X);!ft.done;K++,ft=E.next())ft=R(X,x,K,ft.value,k),ft!==null&&(t&&ft.alternate!==null&&X.delete(ft.key===null?K:ft.key),w=u(ft,w,K),at===null?G=ft:at.sibling=ft,at=ft);return t&&X.forEach(function(Yv){return e(x,Yv)}),dt&&Kl(x,K),G}function St(x,w,E,k){if(typeof E=="object"&&E!==null&&E.type===H&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Q:t:{for(var G=E.key;w!==null;){if(w.key===G){if(G=E.type,G===H){if(w.tag===7){l(x,w.sibling),k=n(w,E.props.children),k.return=x,x=k;break t}}else if(w.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===et&&Vd(G)===w.type){l(x,w.sibling),k=n(w,E.props),Un(k,E),k.return=x,x=k;break t}l(x,w);break}else e(x,w);w=w.sibling}E.type===H?(k=Zl(E.props.children,x.mode,k,E.key),k.return=x,x=k):(k=ji(E.type,E.key,E.props,null,x.mode,k),Un(k,E),k.return=x,x=k)}return f(x);case N:t:{for(G=E.key;w!==null;){if(w.key===G)if(w.tag===4&&w.stateNode.containerInfo===E.containerInfo&&w.stateNode.implementation===E.implementation){l(x,w.sibling),k=n(w,E.children||[]),k.return=x,x=k;break t}else{l(x,w);break}else e(x,w);w=w.sibling}k=Jr(E,x.mode,k),k.return=x,x=k}return f(x);case et:return G=E._init,E=G(E._payload),St(x,w,E,k)}if(C(E))return W(x,w,E,k);if(Pt(E)){if(G=Pt(E),typeof G!="function")throw Error(o(150));return E=G.call(E),Z(x,w,E,k)}if(typeof E.then=="function")return St(x,w,lu(E),k);if(E.$$typeof===ct)return St(x,w,Xi(x,E),k);au(x,E)}return typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint"?(E=""+E,w!==null&&w.tag===6?(l(x,w.sibling),k=n(w,E),k.return=x,x=k):(l(x,w),k=Kr(E,x.mode,k),k.return=x,x=k),f(x)):l(x,w)}return function(x,w,E,k){try{Nn=0;var G=St(x,w,E,k);return Da=null,G}catch(X){if(X===Tn||X===Zi)throw X;var at=ge(29,X,null,x.mode);return at.lanes=k,at.return=x,at}finally{}}}var Ma=Kd(!0),Jd=Kd(!1),_e=U(null),Le=null;function bl(t){var e=t.alternate;q(jt,jt.current&1),q(_e,t),Le===null&&(e===null||_a.current!==null||e.memoizedState!==null)&&(Le=t)}function $d(t){if(t.tag===22){if(q(jt,jt.current),q(_e,t),Le===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Le=t)}}else wl()}function wl(){q(jt,jt.current),q(_e,_e.current)}function al(t){Y(_e),Le===t&&(Le=null),Y(jt)}var jt=U(0);function nu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||mc(l)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function _s(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:z({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var zs={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=be(),n=ml(a);n.payload=e,l!=null&&(n.callback=l),e=yl(t,n,a),e!==null&&(we(e,t,a),Rn(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=be(),n=ml(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=yl(t,n,a),e!==null&&(we(e,t,a),Rn(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=be(),a=ml(l);a.tag=2,e!=null&&(a.callback=e),e=yl(t,a,l),e!==null&&(we(e,t,l),Rn(e,t,l))}};function Wd(t,e,l,a,n,u,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,u,f):e.prototype&&e.prototype.isPureReactComponent?!mn(l,a)||!mn(n,u):!0}function Fd(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&zs.enqueueReplaceState(e,e.state,null)}function ta(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=z({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}var iu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof r=="object"&&typeof r.emit=="function"){r.emit("uncaughtException",t);return}console.error(t)};function Pd(t){iu(t)}function Id(t){console.error(t)}function th(t){iu(t)}function uu(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function eh(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Os(t,e,l){return l=ml(l),l.tag=3,l.payload={element:null},l.callback=function(){uu(t,e)},l}function lh(t){return t=ml(t),t.tag=3,t}function ah(t,e,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;t.payload=function(){return n(u)},t.callback=function(){eh(e,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){eh(e,l,a),typeof n!="function"&&(Rl===null?Rl=new Set([this]):Rl.add(this));var h=a.stack;this.componentDidCatch(a.value,{componentStack:h!==null?h:""})})}function Yy(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&Sn(e,l,n,!0),l=_e.current,l!==null){switch(l.tag){case 13:return Le===null?Is():l.alternate===null&&Nt===0&&(Nt=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===ns?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),ec(t,a,n)),!1;case 22:return l.flags|=65536,a===ns?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),ec(t,a,n)),!1}throw Error(o(435,l.tag))}return ec(t,a,n),Is(),!1}if(dt)return e=_e.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==Fr&&(t=Error(o(422),{cause:a}),wn(Ee(t,l)))):(a!==Fr&&(e=Error(o(423),{cause:a}),wn(Ee(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=Ee(a,l),n=Os(t.stateNode,a,n),rs(t,n),Nt!==4&&(Nt=2)),!1;var u=Error(o(520),{cause:a});if(u=Ee(u,l),Yn===null?Yn=[u]:Yn.push(u),Nt!==4&&(Nt=2),e===null)return!0;a=Ee(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=Os(l.stateNode,a,t),rs(l,t),!1;case 1:if(e=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Rl===null||!Rl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=lh(n),ah(n,t,l,a),rs(l,n),!1}l=l.return}while(l!==null);return!1}var nh=Error(o(461)),Gt=!1;function Vt(t,e,l,a){e.child=t===null?Jd(e,null,l,a):Ma(e,t.child,l,a)}function ih(t,e,l,a,n){l=l.render;var u=e.ref;if("ref"in a){var f={};for(var h in a)h!=="ref"&&(f[h]=a[h])}else f=a;return Fl(e),a=ds(t,e,l,f,u,n),h=hs(),t!==null&&!Gt?(ps(t,e,n),nl(t,e,n)):(dt&&h&&$r(e),e.flags|=1,Vt(t,e,a,n),e.child)}function uh(t,e,l,a,n){if(t===null){var u=l.type;return typeof u=="function"&&!Vr(u)&&u.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=u,rh(t,e,u,a,n)):(t=ji(l.type,null,a,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!qs(t,n)){var f=u.memoizedProps;if(l=l.compare,l=l!==null?l:mn,l(f,a)&&t.ref===e.ref)return nl(t,e,n)}return e.flags|=1,t=Fe(u,a),t.ref=e.ref,t.return=e,e.child=t}function rh(t,e,l,a,n){if(t!==null){var u=t.memoizedProps;if(mn(u,a)&&t.ref===e.ref)if(Gt=!1,e.pendingProps=a=u,qs(t,n))(t.flags&131072)!==0&&(Gt=!0);else return e.lanes=t.lanes,nl(t,e,n)}return ks(t,e,l,a,n)}function sh(t,e,l){var a=e.pendingProps,n=a.children,u=t!==null?t.memoizedState:null;if(a.mode==="hidden"){if((e.flags&128)!==0){if(a=u!==null?u.baseLanes|l:l,t!==null){for(n=e.child=t.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;e.childLanes=u&~a}else e.childLanes=0,e.child=null;return ch(t,e,a,l)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Qi(e,u!==null?u.cachePool:null),u!==null?rd(e,u):cs(),$d(e);else return e.lanes=e.childLanes=536870912,ch(t,e,u!==null?u.baseLanes|l:l,l)}else u!==null?(Qi(e,u.cachePool),rd(e,u),wl(),e.memoizedState=null):(t!==null&&Qi(e,null),cs(),wl());return Vt(t,e,n,l),e.child}function ch(t,e,l,a){var n=as();return n=n===null?null:{parent:Ht._currentValue,pool:n},e.memoizedState={baseLanes:l,cachePool:n},t!==null&&Qi(e,null),cs(),$d(e),t!==null&&Sn(t,e,a,!0),null}function ru(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(o(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function ks(t,e,l,a,n){return Fl(e),l=ds(t,e,l,a,void 0,n),a=hs(),t!==null&&!Gt?(ps(t,e,n),nl(t,e,n)):(dt&&a&&$r(e),e.flags|=1,Vt(t,e,l,n),e.child)}function oh(t,e,l,a,n,u){return Fl(e),e.updateQueue=null,l=cd(e,a,l,n),sd(t),a=hs(),t!==null&&!Gt?(ps(t,e,u),nl(t,e,u)):(dt&&a&&$r(e),e.flags|=1,Vt(t,e,l,u),e.child)}function fh(t,e,l,a,n){if(Fl(e),e.stateNode===null){var u=xa,f=l.contextType;typeof f=="object"&&f!==null&&(u=te(f)),u=new l(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=zs,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},is(e),f=l.contextType,u.context=typeof f=="object"&&f!==null?te(f):xa,u.state=e.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(_s(e,l,f,a),u.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(f=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),f!==u.state&&zs.enqueueReplaceState(u,u.state,null),zn(e,a,u,n),_n(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){u=e.stateNode;var h=e.memoizedProps,y=ta(l,h);u.props=y;var T=u.context,O=l.contextType;f=xa,typeof O=="object"&&O!==null&&(f=te(O));var M=l.getDerivedStateFromProps;O=typeof M=="function"||typeof u.getSnapshotBeforeUpdate=="function",h=e.pendingProps!==h,O||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h||T!==f)&&Fd(e,u,a,f),gl=!1;var A=e.memoizedState;u.state=A,zn(e,a,u,n),_n(),T=e.memoizedState,h||A!==T||gl?(typeof M=="function"&&(_s(e,l,M,a),T=e.memoizedState),(y=gl||Wd(e,l,y,a,A,T,f))?(O||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=T),u.props=a,u.state=T,u.context=f,a=y):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{u=e.stateNode,us(t,e),f=e.memoizedProps,O=ta(l,f),u.props=O,M=e.pendingProps,A=u.context,T=l.contextType,y=xa,typeof T=="object"&&T!==null&&(y=te(T)),h=l.getDerivedStateFromProps,(T=typeof h=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==M||A!==y)&&Fd(e,u,a,y),gl=!1,A=e.memoizedState,u.state=A,zn(e,a,u,n),_n();var R=e.memoizedState;f!==M||A!==R||gl||t!==null&&t.dependencies!==null&&Gi(t.dependencies)?(typeof h=="function"&&(_s(e,l,h,a),R=e.memoizedState),(O=gl||Wd(e,l,O,a,A,R,y)||t!==null&&t.dependencies!==null&&Gi(t.dependencies))?(T||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,R,y),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,R,y)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===t.memoizedProps&&A===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&A===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=R),u.props=a,u.state=R,u.context=y,a=O):(typeof u.componentDidUpdate!="function"||f===t.memoizedProps&&A===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&A===t.memoizedState||(e.flags|=1024),a=!1)}return u=a,ru(t,e),a=(e.flags&128)!==0,u||a?(u=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&a?(e.child=Ma(e,t.child,null,n),e.child=Ma(e,null,l,n)):Vt(t,e,l,n),e.memoizedState=u.state,t=e.child):t=nl(t,e,n),t}function dh(t,e,l,a){return bn(),e.flags|=256,Vt(t,e,l,a),e.child}var Ds={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ms(t){return{baseLanes:t,cachePool:If()}}function Ns(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=ze),t}function hh(t,e,l){var a=e.pendingProps,n=!1,u=(e.flags&128)!==0,f;if((f=u)||(f=t!==null&&t.memoizedState===null?!1:(jt.current&2)!==0),f&&(n=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(dt){if(n?bl(e):wl(),dt){var h=Mt,y;if(y=h){t:{for(y=h,h=je;y.nodeType!==8;){if(!h){h=null;break t}if(y=Ne(y.nextSibling),y===null){h=null;break t}}h=y}h!==null?(e.memoizedState={dehydrated:h,treeContext:Vl!==null?{id:Pe,overflow:Ie}:null,retryLane:536870912,hydrationErrors:null},y=ge(18,null,null,0),y.stateNode=h,y.return=e,e.child=y,le=e,Mt=null,y=!0):y=!1}y||$l(e)}if(h=e.memoizedState,h!==null&&(h=h.dehydrated,h!==null))return mc(h)?e.lanes=32:e.lanes=536870912,null;al(e)}return h=a.children,a=a.fallback,n?(wl(),n=e.mode,h=su({mode:"hidden",children:h},n),a=Zl(a,n,l,null),h.return=e,a.return=e,h.sibling=a,e.child=h,n=e.child,n.memoizedState=Ms(l),n.childLanes=Ns(t,f,l),e.memoizedState=Ds,a):(bl(e),Us(e,h))}if(y=t.memoizedState,y!==null&&(h=y.dehydrated,h!==null)){if(u)e.flags&256?(bl(e),e.flags&=-257,e=Bs(t,e,l)):e.memoizedState!==null?(wl(),e.child=t.child,e.flags|=128,e=null):(wl(),n=a.fallback,h=e.mode,a=su({mode:"visible",children:a.children},h),n=Zl(n,h,l,null),n.flags|=2,a.return=e,n.return=e,a.sibling=n,e.child=a,Ma(e,t.child,null,l),a=e.child,a.memoizedState=Ms(l),a.childLanes=Ns(t,f,l),e.memoizedState=Ds,e=n);else if(bl(e),mc(h)){if(f=h.nextSibling&&h.nextSibling.dataset,f)var T=f.dgst;f=T,a=Error(o(419)),a.stack="",a.digest=f,wn({value:a,source:null,stack:null}),e=Bs(t,e,l)}else if(Gt||Sn(t,e,l,!1),f=(l&t.childLanes)!==0,Gt||f){if(f=At,f!==null&&(a=l&-l,a=(a&42)!==0?1:yr(a),a=(a&(f.suspendedLanes|l))!==0?0:a,a!==0&&a!==y.retryLane))throw y.retryLane=a,Sa(t,a),we(f,t,a),nh;h.data==="$?"||Is(),e=Bs(t,e,l)}else h.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=y.treeContext,Mt=Ne(h.nextSibling),le=e,dt=!0,Jl=null,je=!1,t!==null&&(Ae[Re++]=Pe,Ae[Re++]=Ie,Ae[Re++]=Vl,Pe=t.id,Ie=t.overflow,Vl=e),e=Us(e,a.children),e.flags|=4096);return e}return n?(wl(),n=a.fallback,h=e.mode,y=t.child,T=y.sibling,a=Fe(y,{mode:"hidden",children:a.children}),a.subtreeFlags=y.subtreeFlags&65011712,T!==null?n=Fe(T,n):(n=Zl(n,h,l,null),n.flags|=2),n.return=e,a.return=e,a.sibling=n,e.child=a,a=n,n=e.child,h=t.child.memoizedState,h===null?h=Ms(l):(y=h.cachePool,y!==null?(T=Ht._currentValue,y=y.parent!==T?{parent:T,pool:T}:y):y=If(),h={baseLanes:h.baseLanes|l,cachePool:y}),n.memoizedState=h,n.childLanes=Ns(t,f,l),e.memoizedState=Ds,a):(bl(e),l=t.child,t=l.sibling,l=Fe(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(f=e.deletions,f===null?(e.deletions=[t],e.flags|=16):f.push(t)),e.child=l,e.memoizedState=null,l)}function Us(t,e){return e=su({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function su(t,e){return t=ge(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Bs(t,e,l){return Ma(e,t.child,null,l),t=Us(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function ph(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Ir(t.return,e,l)}function Cs(t,e,l,a,n){var u=t.memoizedState;u===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n}:(u.isBackwards=e,u.rendering=null,u.renderingStartTime=0,u.last=a,u.tail=l,u.tailMode=n)}function gh(t,e,l){var a=e.pendingProps,n=a.revealOrder,u=a.tail;if(Vt(t,e,a.children,l),a=jt.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&ph(t,l,e);else if(t.tag===19)ph(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}switch(q(jt,a),n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&nu(t)===null&&(n=l),l=l.sibling;l=n,l===null?(n=e.child,e.child=null):(n=l.sibling,l.sibling=null),Cs(e,!1,n,l,u);break;case"backwards":for(l=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&nu(t)===null){e.child=n;break}t=n.sibling,n.sibling=l,l=n,n=t}Cs(e,!0,l,null,u);break;case"together":Cs(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function nl(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),Al|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(Sn(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,l=Fe(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Fe(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function qs(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Gi(t)))}function Gy(t,e,l){switch(e.tag){case 3:zt(e,e.stateNode.containerInfo),pl(e,Ht,t.memoizedState.cache),bn();break;case 27:case 5:dr(e);break;case 4:zt(e,e.stateNode.containerInfo);break;case 10:pl(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(bl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?hh(t,e,l):(bl(e),t=nl(t,e,l),t!==null?t.sibling:null);bl(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(Sn(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return gh(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),q(jt,jt.current),a)break;return null;case 22:case 23:return e.lanes=0,sh(t,e,l);case 24:pl(e,Ht,t.memoizedState.cache)}return nl(t,e,l)}function mh(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Gt=!0;else{if(!qs(t,l)&&(e.flags&128)===0)return Gt=!1,Gy(t,e,l);Gt=(t.flags&131072)!==0}else Gt=!1,dt&&(e.flags&1048576)!==0&&Vf(e,Yi,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,n=a._init;if(a=n(a._payload),e.type=a,typeof a=="function")Vr(a)?(t=ta(a,t),e.tag=1,e=fh(null,e,a,t,l)):(e.tag=0,e=ks(null,e,a,t,l));else{if(a!=null){if(n=a.$$typeof,n===pt){e.tag=11,e=ih(null,e,a,t,l);break t}else if(n===Zt){e.tag=14,e=uh(null,e,a,t,l);break t}}throw e=Je(a)||a,Error(o(306,e,""))}}return e;case 0:return ks(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=ta(a,e.pendingProps),fh(t,e,a,n,l);case 3:t:{if(zt(e,e.stateNode.containerInfo),t===null)throw Error(o(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,us(t,e),zn(e,a,null,l);var f=e.memoizedState;if(a=f.cache,pl(e,Ht,a),a!==u.cache&&ts(e,[Ht],l,!0),_n(),a=f.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=dh(t,e,a,l);break t}else if(a!==n){n=Ee(Error(o(424)),e),wn(n),e=dh(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Mt=Ne(t.firstChild),le=e,dt=!0,Jl=null,je=!0,l=Jd(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(bn(),a===n){e=nl(t,e,l);break t}Vt(t,e,a,l)}e=e.child}return e;case 26:return ru(t,e),t===null?(l=wp(e.type,null,e.pendingProps,null))?e.memoizedState=l:dt||(l=e.type,t=e.pendingProps,a=xu(F.current).createElement(l),a[It]=e,a[ue]=t,Jt(a,l,t),Yt(a),e.stateNode=a):e.memoizedState=wp(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return dr(e),t===null&&dt&&(a=e.stateNode=yp(e.type,e.pendingProps,F.current),le=e,je=!0,n=Mt,Ol(e.type)?(yc=n,Mt=Ne(a.firstChild)):Mt=n),Vt(t,e,e.pendingProps.children,l),ru(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&dt&&((n=a=Mt)&&(a=mv(a,e.type,e.pendingProps,je),a!==null?(e.stateNode=a,le=e,Mt=Ne(a.firstChild),je=!1,n=!0):n=!1),n||$l(e)),dr(e),n=e.type,u=e.pendingProps,f=t!==null?t.memoizedProps:null,a=u.children,hc(n,u)?a=null:f!==null&&hc(n,f)&&(e.flags|=32),e.memoizedState!==null&&(n=ds(t,e,Uy,null,null,l),Wn._currentValue=n),ru(t,e),Vt(t,e,a,l),e.child;case 6:return t===null&&dt&&((t=l=Mt)&&(l=yv(l,e.pendingProps,je),l!==null?(e.stateNode=l,le=e,Mt=null,t=!0):t=!1),t||$l(e)),null;case 13:return hh(t,e,l);case 4:return zt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=Ma(e,null,a,l):Vt(t,e,a,l),e.child;case 11:return ih(t,e,e.type,e.pendingProps,l);case 7:return Vt(t,e,e.pendingProps,l),e.child;case 8:return Vt(t,e,e.pendingProps.children,l),e.child;case 12:return Vt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,pl(e,e.type,a.value),Vt(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,Fl(e),n=te(n),a=a(n),e.flags|=1,Vt(t,e,a,l),e.child;case 14:return uh(t,e,e.type,e.pendingProps,l);case 15:return rh(t,e,e.type,e.pendingProps,l);case 19:return gh(t,e,l);case 31:return a=e.pendingProps,l=e.mode,a={mode:a.mode,children:a.children},t===null?(l=su(a,l),l.ref=e.ref,e.child=l,l.return=e,e=l):(l=Fe(t.child,a),l.ref=e.ref,e.child=l,l.return=e,e=l),e;case 22:return sh(t,e,l);case 24:return Fl(e),a=te(Ht),t===null?(n=as(),n===null&&(n=At,u=es(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),e.memoizedState={parent:a,cache:n},is(e),pl(e,Ht,n)):((t.lanes&l)!==0&&(us(t,e),zn(e,null,null,l),_n()),n=t.memoizedState,u=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),pl(e,Ht,a)):(a=u.cache,pl(e,Ht,a),a!==n.cache&&ts(e,[Ht],l,!0))),Vt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function il(t){t.flags|=4}function yh(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Ap(e)){if(e=_e.current,e!==null&&((rt&4194048)===rt?Le!==null:(rt&62914560)!==rt&&(rt&536870912)===0||e!==Le))throw An=ns,td;t.flags|=8192}}function cu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Jo():536870912,t.lanes|=e,Ca|=e)}function Bn(t,e){if(!dt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function kt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function Xy(t,e,l){var a=e.pendingProps;switch(Wr(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kt(e),null;case 1:return kt(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),el(Ht),ol(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(vn(e)?il(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,$f())),kt(e),null;case 26:return l=e.memoizedState,t===null?(il(e),l!==null?(kt(e),yh(e,l)):(kt(e),e.flags&=-16777217)):l?l!==t.memoizedState?(il(e),kt(e),yh(e,l)):(kt(e),e.flags&=-16777217):(t.memoizedProps!==a&&il(e),kt(e),e.flags&=-16777217),null;case 27:wi(e),l=F.current;var n=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&il(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return kt(e),null}t=$.current,vn(e)?Kf(e):(t=yp(n,a,l),e.stateNode=t,il(e))}return kt(e),null;case 5:if(wi(e),l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&il(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return kt(e),null}if(t=$.current,vn(e))Kf(e);else{switch(n=xu(F.current),t){case 1:t=n.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:t=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":t=n.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":t=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":t=n.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?n.createElement(l,{is:a.is}):n.createElement(l)}}t[It]=e,t[ue]=a;t:for(n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break t;for(;n.sibling===null;){if(n.return===null||n.return===e)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}e.stateNode=t;t:switch(Jt(t,l,a),l){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&il(e)}}return kt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&il(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(o(166));if(t=F.current,vn(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=le,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[It]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||op(t.nodeValue,l)),t||$l(e)}else t=xu(t).createTextNode(a),t[It]=e,e.stateNode=t}return kt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=vn(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(o(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));n[It]=e}else bn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;kt(e),n=!1}else n=$f(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(al(e),e):(al(e),null)}if(al(e),(e.flags&128)!==0)return e.lanes=l,e;if(l=a!==null,t=t!==null&&t.memoizedState!==null,l){a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool);var u=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)}return l!==t&&l&&(e.child.flags|=8192),cu(e,e.updateQueue),kt(e),null;case 4:return ol(),t===null&&sc(e.stateNode.containerInfo),kt(e),null;case 10:return el(e.type),kt(e),null;case 19:if(Y(jt),n=e.memoizedState,n===null)return kt(e),null;if(a=(e.flags&128)!==0,u=n.rendering,u===null)if(a)Bn(n,!1);else{if(Nt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=nu(t),u!==null){for(e.flags|=128,Bn(n,!1),t=u.updateQueue,e.updateQueue=t,cu(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Zf(l,t),l=l.sibling;return q(jt,jt.current&1|2),e.child}t=t.sibling}n.tail!==null&&He()>du&&(e.flags|=128,a=!0,Bn(n,!1),e.lanes=4194304)}else{if(!a)if(t=nu(u),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,cu(e,t),Bn(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!dt)return kt(e),null}else 2*He()-n.renderingStartTime>du&&l!==536870912&&(e.flags|=128,a=!0,Bn(n,!1),e.lanes=4194304);n.isBackwards?(u.sibling=e.child,e.child=u):(t=n.last,t!==null?t.sibling=u:e.child=u,n.last=u)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=He(),e.sibling=null,t=jt.current,q(jt,a?t&1|2:t&1),e):(kt(e),null);case 22:case 23:return al(e),os(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(kt(e),e.subtreeFlags&6&&(e.flags|=8192)):kt(e),l=e.updateQueue,l!==null&&cu(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&Y(Pl),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),el(Ht),kt(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function Qy(t,e){switch(Wr(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return el(Ht),ol(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return wi(e),null;case 13:if(al(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));bn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Y(jt),null;case 4:return ol(),null;case 10:return el(e.type),null;case 22:case 23:return al(e),os(),t!==null&&Y(Pl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return el(Ht),null;case 25:return null;default:return null}}function vh(t,e){switch(Wr(e),e.tag){case 3:el(Ht),ol();break;case 26:case 27:case 5:wi(e);break;case 4:ol();break;case 13:al(e);break;case 19:Y(jt);break;case 10:el(e.type);break;case 22:case 23:al(e),os(),t!==null&&Y(Pl);break;case 24:el(Ht)}}function Cn(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var u=l.create,f=l.inst;a=u(),f.destroy=a}l=l.next}while(l!==n)}}catch(h){Et(e,e.return,h)}}function Sl(t,e,l){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&t)===t){var f=a.inst,h=f.destroy;if(h!==void 0){f.destroy=void 0,n=e;var y=l,T=h;try{T()}catch(O){Et(n,y,O)}}}a=a.next}while(a!==u)}}catch(O){Et(e,e.return,O)}}function bh(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{ud(e,l)}catch(a){Et(t,t.return,a)}}}function wh(t,e,l){l.props=ta(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){Et(t,e,a)}}function qn(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){Et(t,e,n)}}function Ye(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){Et(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Et(t,e,n)}else l.current=null}function Sh(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){Et(t,t.return,n)}}function Hs(t,e,l){try{var a=t.stateNode;fv(a,t.type,l,e),a[ue]=e}catch(n){Et(t,t.return,n)}}function xh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Ol(t.type)||t.tag===4}function js(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||xh(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Ol(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Ls(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=Su));else if(a!==4&&(a===27&&Ol(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Ls(t,e,l),t=t.sibling;t!==null;)Ls(t,e,l),t=t.sibling}function ou(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&Ol(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(ou(t,e,l),t=t.sibling;t!==null;)ou(t,e,l),t=t.sibling}function Eh(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Jt(e,a,l),e[It]=t,e[ue]=l}catch(u){Et(t,t.return,u)}}var ul=!1,Bt=!1,Ys=!1,Th=typeof WeakSet=="function"?WeakSet:Set,Xt=null;function Zy(t,e){if(t=t.containerInfo,fc=zu,t=Bf(t),jr(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var f=0,h=-1,y=-1,T=0,O=0,M=t,A=null;e:for(;;){for(var R;M!==l||n!==0&&M.nodeType!==3||(h=f+n),M!==u||a!==0&&M.nodeType!==3||(y=f+a),M.nodeType===3&&(f+=M.nodeValue.length),(R=M.firstChild)!==null;)A=M,M=R;for(;;){if(M===t)break e;if(A===l&&++T===n&&(h=f),A===u&&++O===a&&(y=f),(R=M.nextSibling)!==null)break;M=A,A=M.parentNode}M=R}l=h===-1||y===-1?null:{start:h,end:y}}else l=null}l=l||{start:0,end:0}}else l=null;for(dc={focusedElem:t,selectionRange:l},zu=!1,Xt=e;Xt!==null;)if(e=Xt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Xt=t;else for(;Xt!==null;){switch(e=Xt,u=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,l=e,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var W=ta(l.type,n,l.elementType===l.type);t=a.getSnapshotBeforeUpdate(W,u),a.__reactInternalSnapshotBeforeUpdate=t}catch(Z){Et(l,l.return,Z)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)gc(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":gc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=e.sibling,t!==null){t.return=e.return,Xt=t;break}Xt=e.return}}function Ah(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:xl(t,l),a&4&&Cn(5,l);break;case 1:if(xl(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(f){Et(l,l.return,f)}else{var n=ta(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){Et(l,l.return,f)}}a&64&&bh(l),a&512&&qn(l,l.return);break;case 3:if(xl(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{ud(t,e)}catch(f){Et(l,l.return,f)}}break;case 27:e===null&&a&4&&Eh(l);case 26:case 5:xl(t,l),e===null&&a&4&&Sh(l),a&512&&qn(l,l.return);break;case 12:xl(t,l);break;case 13:xl(t,l),a&4&&zh(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=tv.bind(null,l),vv(t,l))));break;case 22:if(a=l.memoizedState!==null||ul,!a){e=e!==null&&e.memoizedState!==null||Bt,n=ul;var u=Bt;ul=a,(Bt=e)&&!u?El(t,l,(l.subtreeFlags&8772)!==0):xl(t,l),ul=n,Bt=u}break;case 30:break;default:xl(t,l)}}function Rh(t){var e=t.alternate;e!==null&&(t.alternate=null,Rh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&wr(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ot=null,ce=!1;function rl(t,e,l){for(l=l.child;l!==null;)_h(t,e,l),l=l.sibling}function _h(t,e,l){if(de&&typeof de.onCommitFiberUnmount=="function")try{de.onCommitFiberUnmount(an,l)}catch{}switch(l.tag){case 26:Bt||Ye(l,e),rl(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Bt||Ye(l,e);var a=Ot,n=ce;Ol(l.type)&&(Ot=l.stateNode,ce=!1),rl(t,e,l),Vn(l.stateNode),Ot=a,ce=n;break;case 5:Bt||Ye(l,e);case 6:if(a=Ot,n=ce,Ot=null,rl(t,e,l),Ot=a,ce=n,Ot!==null)if(ce)try{(Ot.nodeType===9?Ot.body:Ot.nodeName==="HTML"?Ot.ownerDocument.body:Ot).removeChild(l.stateNode)}catch(u){Et(l,e,u)}else try{Ot.removeChild(l.stateNode)}catch(u){Et(l,e,u)}break;case 18:Ot!==null&&(ce?(t=Ot,gp(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),ti(t)):gp(Ot,l.stateNode));break;case 4:a=Ot,n=ce,Ot=l.stateNode.containerInfo,ce=!0,rl(t,e,l),Ot=a,ce=n;break;case 0:case 11:case 14:case 15:Bt||Sl(2,l,e),Bt||Sl(4,l,e),rl(t,e,l);break;case 1:Bt||(Ye(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&wh(l,e,a)),rl(t,e,l);break;case 21:rl(t,e,l);break;case 22:Bt=(a=Bt)||l.memoizedState!==null,rl(t,e,l),Bt=a;break;default:rl(t,e,l)}}function zh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ti(t)}catch(l){Et(e,e.return,l)}}function Vy(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Th),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Th),e;default:throw Error(o(435,t.tag))}}function Gs(t,e){var l=Vy(t);e.forEach(function(a){var n=ev.bind(null,t,a);l.has(a)||(l.add(a),a.then(n,n))})}function me(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=t,f=e,h=f;t:for(;h!==null;){switch(h.tag){case 27:if(Ol(h.type)){Ot=h.stateNode,ce=!1;break t}break;case 5:Ot=h.stateNode,ce=!1;break t;case 3:case 4:Ot=h.stateNode.containerInfo,ce=!0;break t}h=h.return}if(Ot===null)throw Error(o(160));_h(u,f,n),Ot=null,ce=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Oh(e,t),e=e.sibling}var Me=null;function Oh(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:me(e,t),ye(t),a&4&&(Sl(3,t,t.return),Cn(3,t),Sl(5,t,t.return));break;case 1:me(e,t),ye(t),a&512&&(Bt||l===null||Ye(l,l.return)),a&64&&ul&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Me;if(me(e,t),ye(t),a&512&&(Bt||l===null||Ye(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[rn]||u[It]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Jt(u,a,l),u[It]=t,Yt(u),a=u;break t;case"link":var f=Ep("link","href",n).get(a+(l.href||""));if(f){for(var h=0;h<f.length;h++)if(u=f[h],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){f.splice(h,1);break e}}u=n.createElement(a),Jt(u,a,l),n.head.appendChild(u);break;case"meta":if(f=Ep("meta","content",n).get(a+(l.content||""))){for(h=0;h<f.length;h++)if(u=f[h],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){f.splice(h,1);break e}}u=n.createElement(a),Jt(u,a,l),n.head.appendChild(u);break;default:throw Error(o(468,a))}u[It]=t,Yt(u),a=u}t.stateNode=a}else Tp(n,t.type,t.stateNode);else t.stateNode=xp(n,a,t.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?Tp(n,t.type,t.stateNode):xp(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Hs(t,t.memoizedProps,l.memoizedProps)}break;case 27:me(e,t),ye(t),a&512&&(Bt||l===null||Ye(l,l.return)),l!==null&&a&4&&Hs(t,t.memoizedProps,l.memoizedProps);break;case 5:if(me(e,t),ye(t),a&512&&(Bt||l===null||Ye(l,l.return)),t.flags&32){n=t.stateNode;try{pa(n,"")}catch(R){Et(t,t.return,R)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,Hs(t,n,l!==null?l.memoizedProps:n)),a&1024&&(Ys=!0);break;case 6:if(me(e,t),ye(t),a&4){if(t.stateNode===null)throw Error(o(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(R){Et(t,t.return,R)}}break;case 3:if(Au=null,n=Me,Me=Eu(e.containerInfo),me(e,t),Me=n,ye(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{ti(e.containerInfo)}catch(R){Et(t,t.return,R)}Ys&&(Ys=!1,kh(t));break;case 4:a=Me,Me=Eu(t.stateNode.containerInfo),me(e,t),ye(t),Me=a;break;case 12:me(e,t),ye(t);break;case 13:me(e,t),ye(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Js=He()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Gs(t,a)));break;case 22:n=t.memoizedState!==null;var y=l!==null&&l.memoizedState!==null,T=ul,O=Bt;if(ul=T||n,Bt=O||y,me(e,t),Bt=O,ul=T,ye(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||y||ul||Bt||ea(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){y=l=e;try{if(u=y.stateNode,n)f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{h=y.stateNode;var M=y.memoizedProps.style,A=M!=null&&M.hasOwnProperty("display")?M.display:null;h.style.display=A==null||typeof A=="boolean"?"":(""+A).trim()}}catch(R){Et(y,y.return,R)}}}else if(e.tag===6){if(l===null){y=e;try{y.stateNode.nodeValue=n?"":y.memoizedProps}catch(R){Et(y,y.return,R)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,Gs(t,l))));break;case 19:me(e,t),ye(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Gs(t,a)));break;case 30:break;case 21:break;default:me(e,t),ye(t)}}function ye(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(xh(a)){l=a;break}a=a.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var n=l.stateNode,u=js(t);ou(t,u,n);break;case 5:var f=l.stateNode;l.flags&32&&(pa(f,""),l.flags&=-33);var h=js(t);ou(t,h,f);break;case 3:case 4:var y=l.stateNode.containerInfo,T=js(t);Ls(t,T,y);break;default:throw Error(o(161))}}catch(O){Et(t,t.return,O)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function kh(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;kh(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function xl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Ah(t,e.alternate,e),e=e.sibling}function ea(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Sl(4,e,e.return),ea(e);break;case 1:Ye(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&wh(e,e.return,l),ea(e);break;case 27:Vn(e.stateNode);case 26:case 5:Ye(e,e.return),ea(e);break;case 22:e.memoizedState===null&&ea(e);break;case 30:ea(e);break;default:ea(e)}t=t.sibling}}function El(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,u=e,f=u.flags;switch(u.tag){case 0:case 11:case 15:El(n,u,l),Cn(4,u);break;case 1:if(El(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(T){Et(a,a.return,T)}if(a=u,n=a.updateQueue,n!==null){var h=a.stateNode;try{var y=n.shared.hiddenCallbacks;if(y!==null)for(n.shared.hiddenCallbacks=null,n=0;n<y.length;n++)id(y[n],h)}catch(T){Et(a,a.return,T)}}l&&f&64&&bh(u),qn(u,u.return);break;case 27:Eh(u);case 26:case 5:El(n,u,l),l&&a===null&&f&4&&Sh(u),qn(u,u.return);break;case 12:El(n,u,l);break;case 13:El(n,u,l),l&&f&4&&zh(n,u);break;case 22:u.memoizedState===null&&El(n,u,l),qn(u,u.return);break;case 30:break;default:El(n,u,l)}e=e.sibling}}function Xs(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&xn(l))}function Qs(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&xn(t))}function Ge(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Dh(t,e,l,a),e=e.sibling}function Dh(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Ge(t,e,l,a),n&2048&&Cn(9,e);break;case 1:Ge(t,e,l,a);break;case 3:Ge(t,e,l,a),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&xn(t)));break;case 12:if(n&2048){Ge(t,e,l,a),t=e.stateNode;try{var u=e.memoizedProps,f=u.id,h=u.onPostCommit;typeof h=="function"&&h(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(y){Et(e,e.return,y)}}else Ge(t,e,l,a);break;case 13:Ge(t,e,l,a);break;case 23:break;case 22:u=e.stateNode,f=e.alternate,e.memoizedState!==null?u._visibility&2?Ge(t,e,l,a):Hn(t,e):u._visibility&2?Ge(t,e,l,a):(u._visibility|=2,Na(t,e,l,a,(e.subtreeFlags&10256)!==0)),n&2048&&Xs(f,e);break;case 24:Ge(t,e,l,a),n&2048&&Qs(e.alternate,e);break;default:Ge(t,e,l,a)}}function Na(t,e,l,a,n){for(n=n&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var u=t,f=e,h=l,y=a,T=f.flags;switch(f.tag){case 0:case 11:case 15:Na(u,f,h,y,n),Cn(8,f);break;case 23:break;case 22:var O=f.stateNode;f.memoizedState!==null?O._visibility&2?Na(u,f,h,y,n):Hn(u,f):(O._visibility|=2,Na(u,f,h,y,n)),n&&T&2048&&Xs(f.alternate,f);break;case 24:Na(u,f,h,y,n),n&&T&2048&&Qs(f.alternate,f);break;default:Na(u,f,h,y,n)}e=e.sibling}}function Hn(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,n=a.flags;switch(a.tag){case 22:Hn(l,a),n&2048&&Xs(a.alternate,a);break;case 24:Hn(l,a),n&2048&&Qs(a.alternate,a);break;default:Hn(l,a)}e=e.sibling}}var jn=8192;function Ua(t){if(t.subtreeFlags&jn)for(t=t.child;t!==null;)Mh(t),t=t.sibling}function Mh(t){switch(t.tag){case 26:Ua(t),t.flags&jn&&t.memoizedState!==null&&Dv(Me,t.memoizedState,t.memoizedProps);break;case 5:Ua(t);break;case 3:case 4:var e=Me;Me=Eu(t.stateNode.containerInfo),Ua(t),Me=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=jn,jn=16777216,Ua(t),jn=e):Ua(t));break;default:Ua(t)}}function Nh(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Ln(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];Xt=a,Bh(a,t)}Nh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Uh(t),t=t.sibling}function Uh(t){switch(t.tag){case 0:case 11:case 15:Ln(t),t.flags&2048&&Sl(9,t,t.return);break;case 3:Ln(t);break;case 12:Ln(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,fu(t)):Ln(t);break;default:Ln(t)}}function fu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];Xt=a,Bh(a,t)}Nh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Sl(8,e,e.return),fu(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,fu(e));break;default:fu(e)}t=t.sibling}}function Bh(t,e){for(;Xt!==null;){var l=Xt;switch(l.tag){case 0:case 11:case 15:Sl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:xn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Xt=a;else t:for(l=t;Xt!==null;){a=Xt;var n=a.sibling,u=a.return;if(Rh(a),a===l){Xt=null;break t}if(n!==null){n.return=u,Xt=n;break t}Xt=u}}}var Ky={getCacheForType:function(t){var e=te(Ht),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},Jy=typeof WeakMap=="function"?WeakMap:Map,yt=0,At=null,nt=null,rt=0,vt=0,ve=null,Tl=!1,Ba=!1,Zs=!1,sl=0,Nt=0,Al=0,la=0,Vs=0,ze=0,Ca=0,Yn=null,oe=null,Ks=!1,Js=0,du=1/0,hu=null,Rl=null,Kt=0,_l=null,qa=null,Ha=0,$s=0,Ws=null,Ch=null,Gn=0,Fs=null;function be(){if((yt&2)!==0&&rt!==0)return rt&-rt;if(B.T!==null){var t=Aa;return t!==0?t:nc()}return Fo()}function qh(){ze===0&&(ze=(rt&536870912)===0||dt?Ko():536870912);var t=_e.current;return t!==null&&(t.flags|=32),ze}function we(t,e,l){(t===At&&(vt===2||vt===9)||t.cancelPendingCommit!==null)&&(ja(t,0),zl(t,rt,ze,!1)),un(t,l),((yt&2)===0||t!==At)&&(t===At&&((yt&2)===0&&(la|=l),Nt===4&&zl(t,rt,ze,!1)),Xe(t))}function Hh(t,e,l){if((yt&6)!==0)throw Error(o(327));var a=!l&&(e&124)===0&&(e&t.expiredLanes)===0||nn(t,e),n=a?Fy(t,e):tc(t,e,!0),u=a;do{if(n===0){Ba&&!a&&zl(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!$y(l)){n=tc(t,e,!1),u=!1;continue}if(n===2){if(u=e,t.errorRecoveryDisabledLanes&u)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var h=t;n=Yn;var y=h.current.memoizedState.isDehydrated;if(y&&(ja(h,f).flags|=256),f=tc(h,f,!1),f!==2){if(Zs&&!y){h.errorRecoveryDisabledLanes|=u,la|=u,n=4;break t}u=oe,oe=n,u!==null&&(oe===null?oe=u:oe.push.apply(oe,u))}n=f}if(u=!1,n!==2)continue}}if(n===1){ja(t,0),zl(t,e,0,!0);break}t:{switch(a=t,u=n,u){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e)break;case 6:zl(a,e,ze,!Tl);break t;case 2:oe=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(n=Js+300-He(),10<n)){if(zl(a,e,ze,!Tl),Ti(a,0,!0)!==0)break t;a.timeoutHandle=hp(jh.bind(null,a,l,oe,hu,Ks,e,ze,la,Ca,Tl,u,2,-0,0),n);break t}jh(a,l,oe,hu,Ks,e,ze,la,Ca,Tl,u,0,-0,0)}}break}while(!0);Xe(t)}function jh(t,e,l,a,n,u,f,h,y,T,O,M,A,R){if(t.timeoutHandle=-1,M=e.subtreeFlags,(M&8192||(M&16785408)===16785408)&&($n={stylesheets:null,count:0,unsuspend:kv},Mh(e),M=Mv(),M!==null)){t.cancelPendingCommit=M(Vh.bind(null,t,e,u,l,a,n,f,h,y,O,1,A,R)),zl(t,u,f,!T);return}Vh(t,e,u,l,a,n,f,h,y)}function $y(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],u=n.getSnapshot;n=n.value;try{if(!pe(u(),n))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function zl(t,e,l,a){e&=~Vs,e&=~la,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var u=31-he(n),f=1<<u;a[u]=-1,n&=~f}l!==0&&$o(t,l,e)}function pu(){return(yt&6)===0?(Xn(0),!1):!0}function Ps(){if(nt!==null){if(vt===0)var t=nt.return;else t=nt,tl=Wl=null,gs(t),Da=null,Nn=0,t=nt;for(;t!==null;)vh(t.alternate,t),t=t.return;nt=null}}function ja(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,hv(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Ps(),At=t,nt=l=Fe(t.current,null),rt=e,vt=0,ve=null,Tl=!1,Ba=nn(t,e),Zs=!1,Ca=ze=Vs=la=Al=Nt=0,oe=Yn=null,Ks=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var n=31-he(a),u=1<<n;e|=t[n],a&=~u}return sl=e,Ci(),l}function Lh(t,e){lt=null,B.H=eu,e===Tn||e===Zi?(e=ad(),vt=3):e===td?(e=ad(),vt=4):vt=e===nh?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ve=e,nt===null&&(Nt=1,uu(t,Ee(e,t.current)))}function Yh(){var t=B.H;return B.H=eu,t===null?eu:t}function Gh(){var t=B.A;return B.A=Ky,t}function Is(){Nt=4,Tl||(rt&4194048)!==rt&&_e.current!==null||(Ba=!0),(Al&134217727)===0&&(la&134217727)===0||At===null||zl(At,rt,ze,!1)}function tc(t,e,l){var a=yt;yt|=2;var n=Yh(),u=Gh();(At!==t||rt!==e)&&(hu=null,ja(t,e)),e=!1;var f=Nt;t:do try{if(vt!==0&&nt!==null){var h=nt,y=ve;switch(vt){case 8:Ps(),f=6;break t;case 3:case 2:case 9:case 6:_e.current===null&&(e=!0);var T=vt;if(vt=0,ve=null,La(t,h,y,T),l&&Ba){f=0;break t}break;default:T=vt,vt=0,ve=null,La(t,h,y,T)}}Wy(),f=Nt;break}catch(O){Lh(t,O)}while(!0);return e&&t.shellSuspendCounter++,tl=Wl=null,yt=a,B.H=n,B.A=u,nt===null&&(At=null,rt=0,Ci()),f}function Wy(){for(;nt!==null;)Xh(nt)}function Fy(t,e){var l=yt;yt|=2;var a=Yh(),n=Gh();At!==t||rt!==e?(hu=null,du=He()+500,ja(t,e)):Ba=nn(t,e);t:do try{if(vt!==0&&nt!==null){e=nt;var u=ve;e:switch(vt){case 1:vt=0,ve=null,La(t,e,u,1);break;case 2:case 9:if(ed(u)){vt=0,ve=null,Qh(e);break}e=function(){vt!==2&&vt!==9||At!==t||(vt=7),Xe(t)},u.then(e,e);break t;case 3:vt=7;break t;case 4:vt=5;break t;case 7:ed(u)?(vt=0,ve=null,Qh(e)):(vt=0,ve=null,La(t,e,u,7));break;case 5:var f=null;switch(nt.tag){case 26:f=nt.memoizedState;case 5:case 27:var h=nt;if(!f||Ap(f)){vt=0,ve=null;var y=h.sibling;if(y!==null)nt=y;else{var T=h.return;T!==null?(nt=T,gu(T)):nt=null}break e}}vt=0,ve=null,La(t,e,u,5);break;case 6:vt=0,ve=null,La(t,e,u,6);break;case 8:Ps(),Nt=6;break t;default:throw Error(o(462))}}Py();break}catch(O){Lh(t,O)}while(!0);return tl=Wl=null,B.H=a,B.A=n,yt=l,nt!==null?0:(At=null,rt=0,Ci(),Nt)}function Py(){for(;nt!==null&&!wm();)Xh(nt)}function Xh(t){var e=mh(t.alternate,t,sl);t.memoizedProps=t.pendingProps,e===null?gu(t):nt=e}function Qh(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=oh(l,e,e.pendingProps,e.type,void 0,rt);break;case 11:e=oh(l,e,e.pendingProps,e.type.render,e.ref,rt);break;case 5:gs(e);default:vh(l,e),e=nt=Zf(e,sl),e=mh(l,e,sl)}t.memoizedProps=t.pendingProps,e===null?gu(t):nt=e}function La(t,e,l,a){tl=Wl=null,gs(e),Da=null,Nn=0;var n=e.return;try{if(Yy(t,n,e,l,rt)){Nt=1,uu(t,Ee(l,t.current)),nt=null;return}}catch(u){if(n!==null)throw nt=n,u;Nt=1,uu(t,Ee(l,t.current)),nt=null;return}e.flags&32768?(dt||a===1?t=!0:Ba||(rt&536870912)!==0?t=!1:(Tl=t=!0,(a===2||a===9||a===3||a===6)&&(a=_e.current,a!==null&&a.tag===13&&(a.flags|=16384))),Zh(e,t)):gu(e)}function gu(t){var e=t;do{if((e.flags&32768)!==0){Zh(e,Tl);return}t=e.return;var l=Xy(e.alternate,e,sl);if(l!==null){nt=l;return}if(e=e.sibling,e!==null){nt=e;return}nt=e=t}while(e!==null);Nt===0&&(Nt=5)}function Zh(t,e){do{var l=Qy(t.alternate,t);if(l!==null){l.flags&=32767,nt=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){nt=t;return}nt=t=l}while(t!==null);Nt=6,nt=null}function Vh(t,e,l,a,n,u,f,h,y){t.cancelPendingCommit=null;do mu();while(Kt!==0);if((yt&6)!==0)throw Error(o(327));if(e!==null){if(e===t.current)throw Error(o(177));if(u=e.lanes|e.childLanes,u|=Qr,km(t,l,u,f,h,y),t===At&&(nt=At=null,rt=0),qa=e,_l=t,Ha=l,$s=u,Ws=n,Ch=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,lv(Si,function(){return Fh(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=B.T,B.T=null,n=j.p,j.p=2,f=yt,yt|=4;try{Zy(t,e,l)}finally{yt=f,j.p=n,B.T=a}}Kt=1,Kh(),Jh(),$h()}}function Kh(){if(Kt===1){Kt=0;var t=_l,e=qa,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=B.T,B.T=null;var a=j.p;j.p=2;var n=yt;yt|=4;try{Oh(e,t);var u=dc,f=Bf(t.containerInfo),h=u.focusedElem,y=u.selectionRange;if(f!==h&&h&&h.ownerDocument&&Uf(h.ownerDocument.documentElement,h)){if(y!==null&&jr(h)){var T=y.start,O=y.end;if(O===void 0&&(O=T),"selectionStart"in h)h.selectionStart=T,h.selectionEnd=Math.min(O,h.value.length);else{var M=h.ownerDocument||document,A=M&&M.defaultView||window;if(A.getSelection){var R=A.getSelection(),W=h.textContent.length,Z=Math.min(y.start,W),St=y.end===void 0?Z:Math.min(y.end,W);!R.extend&&Z>St&&(f=St,St=Z,Z=f);var x=Nf(h,Z),w=Nf(h,St);if(x&&w&&(R.rangeCount!==1||R.anchorNode!==x.node||R.anchorOffset!==x.offset||R.focusNode!==w.node||R.focusOffset!==w.offset)){var E=M.createRange();E.setStart(x.node,x.offset),R.removeAllRanges(),Z>St?(R.addRange(E),R.extend(w.node,w.offset)):(E.setEnd(w.node,w.offset),R.addRange(E))}}}}for(M=[],R=h;R=R.parentNode;)R.nodeType===1&&M.push({element:R,left:R.scrollLeft,top:R.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<M.length;h++){var k=M[h];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}zu=!!fc,dc=fc=null}finally{yt=n,j.p=a,B.T=l}}t.current=e,Kt=2}}function Jh(){if(Kt===2){Kt=0;var t=_l,e=qa,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=B.T,B.T=null;var a=j.p;j.p=2;var n=yt;yt|=4;try{Ah(t,e.alternate,e)}finally{yt=n,j.p=a,B.T=l}}Kt=3}}function $h(){if(Kt===4||Kt===3){Kt=0,Sm();var t=_l,e=qa,l=Ha,a=Ch;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Kt=5:(Kt=0,qa=_l=null,Wh(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(Rl=null),vr(l),e=e.stateNode,de&&typeof de.onCommitFiberRoot=="function")try{de.onCommitFiberRoot(an,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=B.T,n=j.p,j.p=2,B.T=null;try{for(var u=t.onRecoverableError,f=0;f<a.length;f++){var h=a[f];u(h.value,{componentStack:h.stack})}}finally{B.T=e,j.p=n}}(Ha&3)!==0&&mu(),Xe(t),n=t.pendingLanes,(l&4194090)!==0&&(n&42)!==0?t===Fs?Gn++:(Gn=0,Fs=t):Gn=0,Xn(0)}}function Wh(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,xn(e)))}function mu(t){return Kh(),Jh(),$h(),Fh()}function Fh(){if(Kt!==5)return!1;var t=_l,e=$s;$s=0;var l=vr(Ha),a=B.T,n=j.p;try{j.p=32>l?32:l,B.T=null,l=Ws,Ws=null;var u=_l,f=Ha;if(Kt=0,qa=_l=null,Ha=0,(yt&6)!==0)throw Error(o(331));var h=yt;if(yt|=4,Uh(u.current),Dh(u,u.current,f,l),yt=h,Xn(0,!1),de&&typeof de.onPostCommitFiberRoot=="function")try{de.onPostCommitFiberRoot(an,u)}catch{}return!0}finally{j.p=n,B.T=a,Wh(t,e)}}function Ph(t,e,l){e=Ee(l,e),e=Os(t.stateNode,e,2),t=yl(t,e,2),t!==null&&(un(t,2),Xe(t))}function Et(t,e,l){if(t.tag===3)Ph(t,t,l);else for(;e!==null;){if(e.tag===3){Ph(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Rl===null||!Rl.has(a))){t=Ee(l,t),l=lh(2),a=yl(e,l,2),a!==null&&(ah(l,a,e,t),un(a,2),Xe(a));break}}e=e.return}}function ec(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new Jy;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(l)||(Zs=!0,n.add(l),t=Iy.bind(null,t,e,l),e.then(t,t))}function Iy(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,At===t&&(rt&l)===l&&(Nt===4||Nt===3&&(rt&62914560)===rt&&300>He()-Js?(yt&2)===0&&ja(t,0):Vs|=l,Ca===rt&&(Ca=0)),Xe(t)}function Ih(t,e){e===0&&(e=Jo()),t=Sa(t,e),t!==null&&(un(t,e),Xe(t))}function tv(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Ih(t,l)}function ev(t,e){var l=0;switch(t.tag){case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(e),Ih(t,l)}function lv(t,e){return pr(t,e)}var yu=null,Ya=null,lc=!1,vu=!1,ac=!1,aa=0;function Xe(t){t!==Ya&&t.next===null&&(Ya===null?yu=Ya=t:Ya=Ya.next=t),vu=!0,lc||(lc=!0,nv())}function Xn(t,e){if(!ac&&vu){ac=!0;do for(var l=!1,a=yu;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var f=a.suspendedLanes,h=a.pingedLanes;u=(1<<31-he(42|t)+1)-1,u&=n&~(f&~h),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,ap(a,u))}else u=rt,u=Ti(a,a===At?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||nn(a,u)||(l=!0,ap(a,u));a=a.next}while(l);ac=!1}}function av(){tp()}function tp(){vu=lc=!1;var t=0;aa!==0&&(dv()&&(t=aa),aa=0);for(var e=He(),l=null,a=yu;a!==null;){var n=a.next,u=ep(a,e);u===0?(a.next=null,l===null?yu=n:l.next=n,n===null&&(Ya=l)):(l=a,(t!==0||(u&3)!==0)&&(vu=!0)),a=n}Xn(t)}function ep(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var f=31-he(u),h=1<<f,y=n[f];y===-1?((h&l)===0||(h&a)!==0)&&(n[f]=Om(h,e)):y<=e&&(t.expiredLanes|=h),u&=~h}if(e=At,l=rt,l=Ti(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(vt===2||vt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&gr(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||nn(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&gr(a),vr(l)){case 2:case 8:l=Zo;break;case 32:l=Si;break;case 268435456:l=Vo;break;default:l=Si}return a=lp.bind(null,t),l=pr(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&gr(a),t.callbackPriority=2,t.callbackNode=null,2}function lp(t,e){if(Kt!==0&&Kt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(mu()&&t.callbackNode!==l)return null;var a=rt;return a=Ti(t,t===At?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Hh(t,a,e),ep(t,He()),t.callbackNode!=null&&t.callbackNode===l?lp.bind(null,t):null)}function ap(t,e){if(mu())return null;Hh(t,e,!0)}function nv(){pv(function(){(yt&6)!==0?pr(Qo,av):tp()})}function nc(){return aa===0&&(aa=Ko()),aa}function np(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Oi(""+t)}function ip(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function iv(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var u=np((n[ue]||null).action),f=a.submitter;f&&(e=(e=f[ue]||null)?np(e.formAction):f.getAttribute("formAction"),e!==null&&(u=e,f=null));var h=new Ni("action","action",null,a,n);t.push({event:h,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(aa!==0){var y=f?ip(n,f):new FormData(n);Ts(l,{pending:!0,data:y,method:n.method,action:u},null,y)}}else typeof u=="function"&&(h.preventDefault(),y=f?ip(n,f):new FormData(n),Ts(l,{pending:!0,data:y,method:n.method,action:u},u,y))},currentTarget:n}]})}}for(var ic=0;ic<Xr.length;ic++){var uc=Xr[ic],uv=uc.toLowerCase(),rv=uc[0].toUpperCase()+uc.slice(1);De(uv,"on"+rv)}De(Hf,"onAnimationEnd"),De(jf,"onAnimationIteration"),De(Lf,"onAnimationStart"),De("dblclick","onDoubleClick"),De("focusin","onFocus"),De("focusout","onBlur"),De(Ty,"onTransitionRun"),De(Ay,"onTransitionStart"),De(Ry,"onTransitionCancel"),De(Yf,"onTransitionEnd"),fa("onMouseEnter",["mouseout","mouseover"]),fa("onMouseLeave",["mouseout","mouseover"]),fa("onPointerEnter",["pointerout","pointerover"]),fa("onPointerLeave",["pointerout","pointerover"]),Yl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Yl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Yl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Yl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Yl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Yl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),sv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qn));function up(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],n=a.event;a=a.listeners;t:{var u=void 0;if(e)for(var f=a.length-1;0<=f;f--){var h=a[f],y=h.instance,T=h.currentTarget;if(h=h.listener,y!==u&&n.isPropagationStopped())break t;u=h,n.currentTarget=T;try{u(n)}catch(O){iu(O)}n.currentTarget=null,u=y}else for(f=0;f<a.length;f++){if(h=a[f],y=h.instance,T=h.currentTarget,h=h.listener,y!==u&&n.isPropagationStopped())break t;u=h,n.currentTarget=T;try{u(n)}catch(O){iu(O)}n.currentTarget=null,u=y}}}}function it(t,e){var l=e[br];l===void 0&&(l=e[br]=new Set);var a=t+"__bubble";l.has(a)||(rp(e,t,2,!1),l.add(a))}function rc(t,e,l){var a=0;e&&(a|=4),rp(l,t,a,e)}var bu="_reactListening"+Math.random().toString(36).slice(2);function sc(t){if(!t[bu]){t[bu]=!0,Io.forEach(function(l){l!=="selectionchange"&&(sv.has(l)||rc(l,!1,t),rc(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[bu]||(e[bu]=!0,rc("selectionchange",!1,e))}}function rp(t,e,l,a){switch(Dp(e)){case 2:var n=Bv;break;case 8:n=Cv;break;default:n=xc}l=n.bind(null,e,l,t),n=void 0,!kr||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(e,l,{capture:!0,passive:n}):t.addEventListener(e,l,!0):n!==void 0?t.addEventListener(e,l,{passive:n}):t.addEventListener(e,l,!1)}function cc(t,e,l,a,n){var u=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var h=a.stateNode.containerInfo;if(h===n)break;if(f===4)for(f=a.return;f!==null;){var y=f.tag;if((y===3||y===4)&&f.stateNode.containerInfo===n)return;f=f.return}for(;h!==null;){if(f=sa(h),f===null)return;if(y=f.tag,y===5||y===6||y===26||y===27){a=u=f;continue t}h=h.parentNode}}a=a.return}pf(function(){var T=u,O=zr(l),M=[];t:{var A=Gf.get(t);if(A!==void 0){var R=Ni,W=t;switch(t){case"keypress":if(Di(l)===0)break t;case"keydown":case"keyup":R=ly;break;case"focusin":W="focus",R=Ur;break;case"focusout":W="blur",R=Ur;break;case"beforeblur":case"afterblur":R=Ur;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":R=yf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=Qm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=iy;break;case Hf:case jf:case Lf:R=Km;break;case Yf:R=ry;break;case"scroll":case"scrollend":R=Gm;break;case"wheel":R=cy;break;case"copy":case"cut":case"paste":R=$m;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=bf;break;case"toggle":case"beforetoggle":R=fy}var Z=(e&4)!==0,St=!Z&&(t==="scroll"||t==="scrollend"),x=Z?A!==null?A+"Capture":null:A;Z=[];for(var w=T,E;w!==null;){var k=w;if(E=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||E===null||x===null||(k=cn(w,x),k!=null&&Z.push(Zn(w,k,E))),St)break;w=w.return}0<Z.length&&(A=new R(A,W,null,l,O),M.push({event:A,listeners:Z}))}}if((e&7)===0){t:{if(A=t==="mouseover"||t==="pointerover",R=t==="mouseout"||t==="pointerout",A&&l!==_r&&(W=l.relatedTarget||l.fromElement)&&(sa(W)||W[ra]))break t;if((R||A)&&(A=O.window===O?O:(A=O.ownerDocument)?A.defaultView||A.parentWindow:window,R?(W=l.relatedTarget||l.toElement,R=T,W=W?sa(W):null,W!==null&&(St=g(W),Z=W.tag,W!==St||Z!==5&&Z!==27&&Z!==6)&&(W=null)):(R=null,W=T),R!==W)){if(Z=yf,k="onMouseLeave",x="onMouseEnter",w="mouse",(t==="pointerout"||t==="pointerover")&&(Z=bf,k="onPointerLeave",x="onPointerEnter",w="pointer"),St=R==null?A:sn(R),E=W==null?A:sn(W),A=new Z(k,w+"leave",R,l,O),A.target=St,A.relatedTarget=E,k=null,sa(O)===T&&(Z=new Z(x,w+"enter",W,l,O),Z.target=E,Z.relatedTarget=St,k=Z),St=k,R&&W)e:{for(Z=R,x=W,w=0,E=Z;E;E=Ga(E))w++;for(E=0,k=x;k;k=Ga(k))E++;for(;0<w-E;)Z=Ga(Z),w--;for(;0<E-w;)x=Ga(x),E--;for(;w--;){if(Z===x||x!==null&&Z===x.alternate)break e;Z=Ga(Z),x=Ga(x)}Z=null}else Z=null;R!==null&&sp(M,A,R,Z,!1),W!==null&&St!==null&&sp(M,St,W,Z,!0)}}t:{if(A=T?sn(T):window,R=A.nodeName&&A.nodeName.toLowerCase(),R==="select"||R==="input"&&A.type==="file")var G=_f;else if(Af(A))if(zf)G=Sy;else{G=by;var at=vy}else R=A.nodeName,!R||R.toLowerCase()!=="input"||A.type!=="checkbox"&&A.type!=="radio"?T&&Rr(T.elementType)&&(G=_f):G=wy;if(G&&(G=G(t,T))){Rf(M,G,l,O);break t}at&&at(t,A,T),t==="focusout"&&T&&A.type==="number"&&T.memoizedProps.value!=null&&Ar(A,"number",A.value)}switch(at=T?sn(T):window,t){case"focusin":(Af(at)||at.contentEditable==="true")&&(va=at,Lr=T,yn=null);break;case"focusout":yn=Lr=va=null;break;case"mousedown":Yr=!0;break;case"contextmenu":case"mouseup":case"dragend":Yr=!1,Cf(M,l,O);break;case"selectionchange":if(Ey)break;case"keydown":case"keyup":Cf(M,l,O)}var X;if(Cr)t:{switch(t){case"compositionstart":var K="onCompositionStart";break t;case"compositionend":K="onCompositionEnd";break t;case"compositionupdate":K="onCompositionUpdate";break t}K=void 0}else ya?Ef(t,l)&&(K="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(K="onCompositionStart");K&&(wf&&l.locale!=="ko"&&(ya||K!=="onCompositionStart"?K==="onCompositionEnd"&&ya&&(X=gf()):(hl=O,Dr="value"in hl?hl.value:hl.textContent,ya=!0)),at=wu(T,K),0<at.length&&(K=new vf(K,t,null,l,O),M.push({event:K,listeners:at}),X?K.data=X:(X=Tf(l),X!==null&&(K.data=X)))),(X=hy?py(t,l):gy(t,l))&&(K=wu(T,"onBeforeInput"),0<K.length&&(at=new vf("onBeforeInput","beforeinput",null,l,O),M.push({event:at,listeners:K}),at.data=X)),iv(M,t,T,l,O)}up(M,e)})}function Zn(t,e,l){return{instance:t,listener:e,currentTarget:l}}function wu(t,e){for(var l=e+"Capture",a=[];t!==null;){var n=t,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=cn(t,l),n!=null&&a.unshift(Zn(t,n,u)),n=cn(t,e),n!=null&&a.push(Zn(t,n,u))),t.tag===3)return a;t=t.return}return[]}function Ga(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function sp(t,e,l,a,n){for(var u=e._reactName,f=[];l!==null&&l!==a;){var h=l,y=h.alternate,T=h.stateNode;if(h=h.tag,y!==null&&y===a)break;h!==5&&h!==26&&h!==27||T===null||(y=T,n?(T=cn(l,u),T!=null&&f.unshift(Zn(l,T,y))):n||(T=cn(l,u),T!=null&&f.push(Zn(l,T,y)))),l=l.return}f.length!==0&&t.push({event:e,listeners:f})}var cv=/\r\n?/g,ov=/\u0000|\uFFFD/g;function cp(t){return(typeof t=="string"?t:""+t).replace(cv,`
50
+ `).replace(ov,"")}function op(t,e){return e=cp(e),cp(t)===e}function Su(){}function wt(t,e,l,a,n,u){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||pa(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&pa(t,""+a);break;case"className":Ri(t,"class",a);break;case"tabIndex":Ri(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Ri(t,l,a);break;case"style":df(t,a,u);break;case"data":if(e!=="object"){Ri(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Oi(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(e!=="input"&&wt(t,e,"name",n.name,n,null),wt(t,e,"formEncType",n.formEncType,n,null),wt(t,e,"formMethod",n.formMethod,n,null),wt(t,e,"formTarget",n.formTarget,n,null)):(wt(t,e,"encType",n.encType,n,null),wt(t,e,"method",n.method,n,null),wt(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Oi(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=Su);break;case"onScroll":a!=null&&it("scroll",t);break;case"onScrollEnd":a!=null&&it("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}l=Oi(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":it("beforetoggle",t),it("toggle",t),Ai(t,"popover",a);break;case"xlinkActuate":$e(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":$e(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":$e(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":$e(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":$e(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":$e(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":$e(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":$e(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":$e(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Ai(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Lm.get(l)||l,Ai(t,l,a))}}function oc(t,e,l,a,n,u){switch(l){case"style":df(t,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));t.innerHTML=l}}break;case"children":typeof a=="string"?pa(t,a):(typeof a=="number"||typeof a=="bigint")&&pa(t,""+a);break;case"onScroll":a!=null&&it("scroll",t);break;case"onScrollEnd":a!=null&&it("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Su);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!tf.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),u=t[ue]||null,u=u!=null?u[l]:null,typeof u=="function"&&t.removeEventListener(e,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):Ai(t,l,a)}}}function Jt(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":it("error",t),it("load",t);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var f=l[u];if(f!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:wt(t,e,u,f,l,null)}}n&&wt(t,e,"srcSet",l.srcSet,l,null),a&&wt(t,e,"src",l.src,l,null);return;case"input":it("invalid",t);var h=u=f=n=null,y=null,T=null;for(a in l)if(l.hasOwnProperty(a)){var O=l[a];if(O!=null)switch(a){case"name":n=O;break;case"type":f=O;break;case"checked":y=O;break;case"defaultChecked":T=O;break;case"value":u=O;break;case"defaultValue":h=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(o(137,e));break;default:wt(t,e,a,O,l,null)}}sf(t,u,h,y,T,f,n,!1),_i(t);return;case"select":it("invalid",t),a=f=u=null;for(n in l)if(l.hasOwnProperty(n)&&(h=l[n],h!=null))switch(n){case"value":u=h;break;case"defaultValue":f=h;break;case"multiple":a=h;default:wt(t,e,n,h,l,null)}e=u,l=f,t.multiple=!!a,e!=null?ha(t,!!a,e,!1):l!=null&&ha(t,!!a,l,!0);return;case"textarea":it("invalid",t),u=n=a=null;for(f in l)if(l.hasOwnProperty(f)&&(h=l[f],h!=null))switch(f){case"value":a=h;break;case"defaultValue":n=h;break;case"children":u=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(o(91));break;default:wt(t,e,f,h,l,null)}of(t,a,n,u),_i(t);return;case"option":for(y in l)if(l.hasOwnProperty(y)&&(a=l[y],a!=null))switch(y){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:wt(t,e,y,a,l,null)}return;case"dialog":it("beforetoggle",t),it("toggle",t),it("cancel",t),it("close",t);break;case"iframe":case"object":it("load",t);break;case"video":case"audio":for(a=0;a<Qn.length;a++)it(Qn[a],t);break;case"image":it("error",t),it("load",t);break;case"details":it("toggle",t);break;case"embed":case"source":case"link":it("error",t),it("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in l)if(l.hasOwnProperty(T)&&(a=l[T],a!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:wt(t,e,T,a,l,null)}return;default:if(Rr(e)){for(O in l)l.hasOwnProperty(O)&&(a=l[O],a!==void 0&&oc(t,e,O,a,l,void 0));return}}for(h in l)l.hasOwnProperty(h)&&(a=l[h],a!=null&&wt(t,e,h,a,l,null))}function fv(t,e,l,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,f=null,h=null,y=null,T=null,O=null;for(R in l){var M=l[R];if(l.hasOwnProperty(R)&&M!=null)switch(R){case"checked":break;case"value":break;case"defaultValue":y=M;default:a.hasOwnProperty(R)||wt(t,e,R,null,a,M)}}for(var A in a){var R=a[A];if(M=l[A],a.hasOwnProperty(A)&&(R!=null||M!=null))switch(A){case"type":u=R;break;case"name":n=R;break;case"checked":T=R;break;case"defaultChecked":O=R;break;case"value":f=R;break;case"defaultValue":h=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(o(137,e));break;default:R!==M&&wt(t,e,A,R,a,M)}}Tr(t,f,h,y,T,O,u,n);return;case"select":R=f=h=A=null;for(u in l)if(y=l[u],l.hasOwnProperty(u)&&y!=null)switch(u){case"value":break;case"multiple":R=y;default:a.hasOwnProperty(u)||wt(t,e,u,null,a,y)}for(n in a)if(u=a[n],y=l[n],a.hasOwnProperty(n)&&(u!=null||y!=null))switch(n){case"value":A=u;break;case"defaultValue":h=u;break;case"multiple":f=u;default:u!==y&&wt(t,e,n,u,a,y)}e=h,l=f,a=R,A!=null?ha(t,!!l,A,!1):!!a!=!!l&&(e!=null?ha(t,!!l,e,!0):ha(t,!!l,l?[]:"",!1));return;case"textarea":R=A=null;for(h in l)if(n=l[h],l.hasOwnProperty(h)&&n!=null&&!a.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:wt(t,e,h,null,a,n)}for(f in a)if(n=a[f],u=l[f],a.hasOwnProperty(f)&&(n!=null||u!=null))switch(f){case"value":A=n;break;case"defaultValue":R=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(o(91));break;default:n!==u&&wt(t,e,f,n,a,u)}cf(t,A,R);return;case"option":for(var W in l)if(A=l[W],l.hasOwnProperty(W)&&A!=null&&!a.hasOwnProperty(W))switch(W){case"selected":t.selected=!1;break;default:wt(t,e,W,null,a,A)}for(y in a)if(A=a[y],R=l[y],a.hasOwnProperty(y)&&A!==R&&(A!=null||R!=null))switch(y){case"selected":t.selected=A&&typeof A!="function"&&typeof A!="symbol";break;default:wt(t,e,y,A,a,R)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Z in l)A=l[Z],l.hasOwnProperty(Z)&&A!=null&&!a.hasOwnProperty(Z)&&wt(t,e,Z,null,a,A);for(T in a)if(A=a[T],R=l[T],a.hasOwnProperty(T)&&A!==R&&(A!=null||R!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(o(137,e));break;default:wt(t,e,T,A,a,R)}return;default:if(Rr(e)){for(var St in l)A=l[St],l.hasOwnProperty(St)&&A!==void 0&&!a.hasOwnProperty(St)&&oc(t,e,St,void 0,a,A);for(O in a)A=a[O],R=l[O],!a.hasOwnProperty(O)||A===R||A===void 0&&R===void 0||oc(t,e,O,A,a,R);return}}for(var x in l)A=l[x],l.hasOwnProperty(x)&&A!=null&&!a.hasOwnProperty(x)&&wt(t,e,x,null,a,A);for(M in a)A=a[M],R=l[M],!a.hasOwnProperty(M)||A===R||A==null&&R==null||wt(t,e,M,A,a,R)}var fc=null,dc=null;function xu(t){return t.nodeType===9?t:t.ownerDocument}function fp(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function dp(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function hc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var pc=null;function dv(){var t=window.event;return t&&t.type==="popstate"?t===pc?!1:(pc=t,!0):(pc=null,!1)}var hp=typeof setTimeout=="function"?setTimeout:void 0,hv=typeof clearTimeout=="function"?clearTimeout:void 0,pp=typeof Promise=="function"?Promise:void 0,pv=typeof queueMicrotask=="function"?queueMicrotask:typeof pp<"u"?function(t){return pp.resolve(null).then(t).catch(gv)}:hp;function gv(t){setTimeout(function(){throw t})}function Ol(t){return t==="head"}function gp(t,e){var l=e,a=0,n=0;do{var u=l.nextSibling;if(t.removeChild(l),u&&u.nodeType===8)if(l=u.data,l==="/$"){if(0<a&&8>a){l=a;var f=t.ownerDocument;if(l&1&&Vn(f.documentElement),l&2&&Vn(f.body),l&4)for(l=f.head,Vn(l),f=l.firstChild;f;){var h=f.nextSibling,y=f.nodeName;f[rn]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&f.rel.toLowerCase()==="stylesheet"||l.removeChild(f),f=h}}if(n===0){t.removeChild(u),ti(e);return}n--}else l==="$"||l==="$?"||l==="$!"?n++:a=l.charCodeAt(0)-48;else a=0;l=u}while(l);ti(e)}function gc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":gc(l),wr(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function mv(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[rn])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=Ne(t.nextSibling),t===null)break}return null}function yv(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ne(t.nextSibling),t===null))return null;return t}function mc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function vv(t,e){var l=t.ownerDocument;if(t.data!=="$?"||l.readyState==="complete")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Ne(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var yc=null;function mp(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"){if(e===0)return t;e--}else l==="/$"&&e++}t=t.previousSibling}return null}function yp(t,e,l){switch(e=xu(l),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function Vn(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);wr(t)}var Oe=new Map,vp=new Set;function Eu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var cl=j.d;j.d={f:bv,r:wv,D:Sv,C:xv,L:Ev,m:Tv,X:Rv,S:Av,M:_v};function bv(){var t=cl.f(),e=pu();return t||e}function wv(t){var e=ca(t);e!==null&&e.tag===5&&e.type==="form"?Hd(e):cl.r(t)}var Xa=typeof document>"u"?null:document;function bp(t,e,l){var a=Xa;if(a&&typeof e=="string"&&e){var n=xe(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),vp.has(n)||(vp.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Jt(e,"link",t),Yt(e),a.head.appendChild(e)))}}function Sv(t){cl.D(t),bp("dns-prefetch",t,null)}function xv(t,e){cl.C(t,e),bp("preconnect",t,e)}function Ev(t,e,l){cl.L(t,e,l);var a=Xa;if(a&&t&&e){var n='link[rel="preload"][as="'+xe(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+xe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+xe(l.imageSizes)+'"]')):n+='[href="'+xe(t)+'"]';var u=n;switch(e){case"style":u=Qa(t);break;case"script":u=Za(t)}Oe.has(u)||(t=z({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),Oe.set(u,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Kn(u))||e==="script"&&a.querySelector(Jn(u))||(e=a.createElement("link"),Jt(e,"link",t),Yt(e),a.head.appendChild(e)))}}function Tv(t,e){cl.m(t,e);var l=Xa;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+xe(a)+'"][href="'+xe(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Za(t)}if(!Oe.has(u)&&(t=z({rel:"modulepreload",href:t},e),Oe.set(u,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Jn(u)))return}a=l.createElement("link"),Jt(a,"link",t),Yt(a),l.head.appendChild(a)}}}function Av(t,e,l){cl.S(t,e,l);var a=Xa;if(a&&t){var n=oa(a).hoistableStyles,u=Qa(t);e=e||"default";var f=n.get(u);if(!f){var h={loading:0,preload:null};if(f=a.querySelector(Kn(u)))h.loading=5;else{t=z({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Oe.get(u))&&vc(t,l);var y=f=a.createElement("link");Yt(y),Jt(y,"link",t),y._p=new Promise(function(T,O){y.onload=T,y.onerror=O}),y.addEventListener("load",function(){h.loading|=1}),y.addEventListener("error",function(){h.loading|=2}),h.loading|=4,Tu(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:h},n.set(u,f)}}}function Rv(t,e){cl.X(t,e);var l=Xa;if(l&&t){var a=oa(l).hoistableScripts,n=Za(t),u=a.get(n);u||(u=l.querySelector(Jn(n)),u||(t=z({src:t,async:!0},e),(e=Oe.get(n))&&bc(t,e),u=l.createElement("script"),Yt(u),Jt(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function _v(t,e){cl.M(t,e);var l=Xa;if(l&&t){var a=oa(l).hoistableScripts,n=Za(t),u=a.get(n);u||(u=l.querySelector(Jn(n)),u||(t=z({src:t,async:!0,type:"module"},e),(e=Oe.get(n))&&bc(t,e),u=l.createElement("script"),Yt(u),Jt(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function wp(t,e,l,a){var n=(n=F.current)?Eu(n):null;if(!n)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Qa(l.href),l=oa(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Qa(l.href);var u=oa(n).hoistableStyles,f=u.get(t);if(f||(n=n.ownerDocument||n,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,f),(u=n.querySelector(Kn(t)))&&!u._p&&(f.instance=u,f.state.loading=5),Oe.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Oe.set(t,l),u||zv(n,t,l,f.state))),e&&a===null)throw Error(o(528,""));return f}if(e&&a!==null)throw Error(o(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Za(l),l=oa(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function Qa(t){return'href="'+xe(t)+'"'}function Kn(t){return'link[rel="stylesheet"]['+t+"]"}function Sp(t){return z({},t,{"data-precedence":t.precedence,precedence:null})}function zv(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Jt(e,"link",l),Yt(e),t.head.appendChild(e))}function Za(t){return'[src="'+xe(t)+'"]'}function Jn(t){return"script[async]"+t}function xp(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+xe(l.href)+'"]');if(a)return e.instance=a,Yt(a),a;var n=z({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Yt(a),Jt(a,"style",n),Tu(a,l.precedence,t),e.instance=a;case"stylesheet":n=Qa(l.href);var u=t.querySelector(Kn(n));if(u)return e.state.loading|=4,e.instance=u,Yt(u),u;a=Sp(l),(n=Oe.get(n))&&vc(a,n),u=(t.ownerDocument||t).createElement("link"),Yt(u);var f=u;return f._p=new Promise(function(h,y){f.onload=h,f.onerror=y}),Jt(u,"link",a),e.state.loading|=4,Tu(u,l.precedence,t),e.instance=u;case"script":return u=Za(l.src),(n=t.querySelector(Jn(u)))?(e.instance=n,Yt(n),n):(a=l,(n=Oe.get(u))&&(a=z({},l),bc(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Yt(n),Jt(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Tu(a,l.precedence,t));return e.instance}function Tu(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,f=0;f<a.length;f++){var h=a[f];if(h.dataset.precedence===e)u=h;else if(u!==n)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function vc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function bc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Au=null;function Ep(t,e,l){if(Au===null){var a=new Map,n=Au=new Map;n.set(l,a)}else n=Au,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var u=l[n];if(!(u[rn]||u[It]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var f=u.getAttribute(e)||"";f=t+f;var h=a.get(f);h?h.push(u):a.set(f,[u])}}return a}function Tp(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Ov(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Ap(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var $n=null;function kv(){}function Dv(t,e,l){if($n===null)throw Error(o(475));var a=$n;if(e.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=Qa(l.href),u=t.querySelector(Kn(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=Ru.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=u,Yt(u);return}u=t.ownerDocument||t,l=Sp(l),(n=Oe.get(n))&&vc(l,n),u=u.createElement("link"),Yt(u);var f=u;f._p=new Promise(function(h,y){f.onload=h,f.onerror=y}),Jt(u,"link",l),e.instance=u}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(a.count++,e=Ru.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function Mv(){if($n===null)throw Error(o(475));var t=$n;return t.stylesheets&&t.count===0&&wc(t,t.stylesheets),0<t.count?function(e){var l=setTimeout(function(){if(t.stylesheets&&wc(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(l)}}:null}function Ru(){if(this.count--,this.count===0){if(this.stylesheets)wc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var _u=null;function wc(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,_u=new Map,e.forEach(Nv,t),_u=null,Ru.call(t))}function Nv(t,e){if(!(e.state.loading&4)){var l=_u.get(t);if(l)var a=l.get(null);else{l=new Map,_u.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var f=n[u];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(l.set(f.dataset.precedence,f),a=f)}a&&l.set(null,a)}n=e.instance,f=n.getAttribute("data-precedence"),u=l.get(f)||a,u===a&&l.set(null,n),l.set(f,n),this.count++,a=Ru.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var Wn={$$typeof:ct,Provider:null,Consumer:null,_currentValue:ot,_currentValue2:ot,_threadCount:0};function Uv(t,e,l,a,n,u,f,h){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=mr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mr(0),this.hiddenUpdates=mr(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.incompleteTransitions=new Map}function Rp(t,e,l,a,n,u,f,h,y,T,O,M){return t=new Uv(t,e,l,f,h,y,T,M),e=1,u===!0&&(e|=24),u=ge(3,null,null,e),t.current=u,u.stateNode=t,e=es(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:e},is(u),t}function _p(t){return t?(t=xa,t):xa}function zp(t,e,l,a,n,u){n=_p(n),a.context===null?a.context=n:a.pendingContext=n,a=ml(e),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=yl(t,a,e),l!==null&&(we(l,t,e),Rn(l,t,e))}function Op(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Sc(t,e){Op(t,e),(t=t.alternate)&&Op(t,e)}function kp(t){if(t.tag===13){var e=Sa(t,67108864);e!==null&&we(e,t,67108864),Sc(t,67108864)}}var zu=!0;function Bv(t,e,l,a){var n=B.T;B.T=null;var u=j.p;try{j.p=2,xc(t,e,l,a)}finally{j.p=u,B.T=n}}function Cv(t,e,l,a){var n=B.T;B.T=null;var u=j.p;try{j.p=8,xc(t,e,l,a)}finally{j.p=u,B.T=n}}function xc(t,e,l,a){if(zu){var n=Ec(a);if(n===null)cc(t,e,a,Ou,l),Mp(t,a);else if(Hv(n,t,e,l,a))a.stopPropagation();else if(Mp(t,a),e&4&&-1<qv.indexOf(t)){for(;n!==null;){var u=ca(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var f=Ll(u.pendingLanes);if(f!==0){var h=u;for(h.pendingLanes|=2,h.entangledLanes|=2;f;){var y=1<<31-he(f);h.entanglements[1]|=y,f&=~y}Xe(u),(yt&6)===0&&(du=He()+500,Xn(0))}}break;case 13:h=Sa(u,2),h!==null&&we(h,u,2),pu(),Sc(u,2)}if(u=Ec(a),u===null&&cc(t,e,a,Ou,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else cc(t,e,a,null,l)}}function Ec(t){return t=zr(t),Tc(t)}var Ou=null;function Tc(t){if(Ou=null,t=sa(t),t!==null){var e=g(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=m(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ou=t,null}function Dp(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(xm()){case Qo:return 2;case Zo:return 8;case Si:case Em:return 32;case Vo:return 268435456;default:return 32}default:return 32}}var Ac=!1,kl=null,Dl=null,Ml=null,Fn=new Map,Pn=new Map,Nl=[],qv="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Mp(t,e){switch(t){case"focusin":case"focusout":kl=null;break;case"dragenter":case"dragleave":Dl=null;break;case"mouseover":case"mouseout":Ml=null;break;case"pointerover":case"pointerout":Fn.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pn.delete(e.pointerId)}}function In(t,e,l,a,n,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=ca(e),e!==null&&kp(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function Hv(t,e,l,a,n){switch(e){case"focusin":return kl=In(kl,t,e,l,a,n),!0;case"dragenter":return Dl=In(Dl,t,e,l,a,n),!0;case"mouseover":return Ml=In(Ml,t,e,l,a,n),!0;case"pointerover":var u=n.pointerId;return Fn.set(u,In(Fn.get(u)||null,t,e,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Pn.set(u,In(Pn.get(u)||null,t,e,l,a,n)),!0}return!1}function Np(t){var e=sa(t.target);if(e!==null){var l=g(e);if(l!==null){if(e=l.tag,e===13){if(e=m(l),e!==null){t.blockedOn=e,Dm(t.priority,function(){if(l.tag===13){var a=be();a=yr(a);var n=Sa(l,a);n!==null&&we(n,l,a),Sc(l,a)}});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function ku(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Ec(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);_r=a,l.target.dispatchEvent(a),_r=null}else return e=ca(l),e!==null&&kp(e),t.blockedOn=l,!1;e.shift()}return!0}function Up(t,e,l){ku(t)&&l.delete(e)}function jv(){Ac=!1,kl!==null&&ku(kl)&&(kl=null),Dl!==null&&ku(Dl)&&(Dl=null),Ml!==null&&ku(Ml)&&(Ml=null),Fn.forEach(Up),Pn.forEach(Up)}function Du(t,e){t.blockedOn===e&&(t.blockedOn=null,Ac||(Ac=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,jv)))}var Mu=null;function Bp(t){Mu!==t&&(Mu=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Mu===t&&(Mu=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(Tc(a||l)===null)continue;break}var u=ca(l);u!==null&&(t.splice(e,3),e-=3,Ts(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function ti(t){function e(y){return Du(y,t)}kl!==null&&Du(kl,t),Dl!==null&&Du(Dl,t),Ml!==null&&Du(Ml,t),Fn.forEach(e),Pn.forEach(e);for(var l=0;l<Nl.length;l++){var a=Nl[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Nl.length&&(l=Nl[0],l.blockedOn===null);)Np(l),l.blockedOn===null&&Nl.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],f=n[ue]||null;if(typeof u=="function")f||Bp(l);else if(f){var h=null;if(u&&u.hasAttribute("formAction")){if(n=u,f=u[ue]||null)h=f.formAction;else if(Tc(n)!==null)continue}else h=f.action;typeof h=="function"?l[a+1]=h:(l.splice(a,3),a-=3),Bp(l)}}}function Rc(t){this._internalRoot=t}Nu.prototype.render=Rc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var l=e.current,a=be();zp(l,a,t,e,null,null)},Nu.prototype.unmount=Rc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;zp(t.current,2,null,t,null,null),pu(),e[ra]=null}};function Nu(t){this._internalRoot=t}Nu.prototype.unstable_scheduleHydration=function(t){if(t){var e=Fo();t={blockedOn:null,target:t,priority:e};for(var l=0;l<Nl.length&&e!==0&&e<Nl[l].priority;l++);Nl.splice(l,0,t),l===0&&Np(t)}};var Cp=s.version;if(Cp!=="19.1.0")throw Error(o(527,Cp,"19.1.0"));j.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=p(e),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var Lv={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Uu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Uu.isDisabled&&Uu.supportsFiber)try{an=Uu.inject(Lv),de=Uu}catch{}}return Ka.createRoot=function(t,e){if(!d(t))throw Error(o(299));var l=!1,a="",n=Pd,u=Id,f=th,h=null;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(h=e.unstable_transitionCallbacks)),e=Rp(t,1,!1,null,null,l,a,n,u,f,h,null),t[ra]=e.current,sc(t),new Rc(e)},Ka.hydrateRoot=function(t,e,l){if(!d(t))throw Error(o(299));var a=!1,n="",u=Pd,f=Id,h=th,y=null,T=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(f=l.onCaughtError),l.onRecoverableError!==void 0&&(h=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(y=l.unstable_transitionCallbacks),l.formState!==void 0&&(T=l.formState)),e=Rp(t,1,!0,e,l??null,a,n,u,f,h,y,T),e.context=_p(null),l=e.current,a=be(),a=yr(a),n=ml(a),n.callback=null,yl(l,n,a),l=a,e.current.lanes=l,un(e,l),Xe(e),t[ra]=e.current,sc(t),new Nu(e)},Ka.version="19.1.0",Ka}var Hc;function Vp(){if(Hc)return Cu.exports;Hc=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),Cu.exports=Zp(),Cu.exports}var Kp=Vp();const Jp=na(Kp);var Wt=Lu();/**
11
51
  * @license lucide-react v0.515.0 - ISC
12
52
  *
13
53
  * This source code is licensed under the ISC license.
14
54
  * See the LICENSE file in the root directory of this source tree.
15
- */const gr=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),wr=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,n)=>n?n.toUpperCase():r.toLowerCase()),ct=t=>{const e=wr(t);return e.charAt(0).toUpperCase()+e.slice(1)},ut=(...t)=>t.filter((e,r,n)=>!!e&&e.trim()!==""&&n.indexOf(e)===r).join(" ").trim(),mr=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};/**
55
+ */const $p=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Wp=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,c)=>c?c.toUpperCase():s.toLowerCase()),jc=r=>{const i=Wp(r);return i.charAt(0).toUpperCase()+i.slice(1)},Lc=(...r)=>r.filter((i,s,c)=>!!i&&i.trim()!==""&&c.indexOf(i)===s).join(" ").trim(),Fp=r=>{for(const i in r)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/**
16
56
  * @license lucide-react v0.515.0 - ISC
17
57
  *
18
58
  * This source code is licensed under the ISC license.
19
59
  * See the LICENSE file in the root directory of this source tree.
20
- */var br={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
60
+ */var Pp={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
21
61
  * @license lucide-react v0.515.0 - ISC
22
62
  *
23
63
  * This source code is licensed under the ISC license.
24
64
  * See the LICENSE file in the root directory of this source tree.
25
- */const xr=C.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:i="",children:s,iconNode:o,...a},u)=>C.createElement("svg",{ref:u,...br,width:e,height:e,stroke:t,strokeWidth:n?Number(r)*24/Number(e):r,className:ut("lucide",i),...!s&&!mr(a)&&{"aria-hidden":"true"},...a},[...o.map(([l,c])=>C.createElement(l,c)),...Array.isArray(s)?s:[s]]));/**
65
+ */const Ip=Wt.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:c,className:o="",children:d,iconNode:g,...m},b)=>Wt.createElement("svg",{ref:b,...Pp,width:i,height:i,stroke:r,strokeWidth:c?Number(s)*24/Number(i):s,className:Lc("lucide",o),...!d&&!Fp(m)&&{"aria-hidden":"true"},...m},[...g.map(([p,v])=>Wt.createElement(p,v)),...Array.isArray(d)?d:[d]]));/**
26
66
  * @license lucide-react v0.515.0 - ISC
27
67
  *
28
68
  * This source code is licensed under the ISC license.
29
69
  * See the LICENSE file in the root directory of this source tree.
30
- */const re=(t,e)=>{const r=C.forwardRef(({className:n,...i},s)=>C.createElement(xr,{ref:s,iconNode:e,className:ut(`lucide-${gr(ct(t))}`,`lucide-${t}`,n),...i}));return r.displayName=ct(t),r};/**
70
+ */const Ja=(r,i)=>{const s=Wt.forwardRef(({className:c,...o},d)=>Wt.createElement(Ip,{ref:d,iconNode:i,className:Lc(`lucide-${$p(jc(r))}`,`lucide-${r}`,c),...o}));return s.displayName=jc(r),s};/**
31
71
  * @license lucide-react v0.515.0 - ISC
32
72
  *
33
73
  * This source code is licensed under the ISC license.
34
74
  * See the LICENSE file in the root directory of this source tree.
35
- */const Ne=re("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
75
+ */const Gu=Ja("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
36
76
  * @license lucide-react v0.515.0 - ISC
37
77
  *
38
78
  * This source code is licensed under the ISC license.
39
79
  * See the LICENSE file in the root directory of this source tree.
40
- */const kr=re("message-circle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
80
+ */const t0=Ja("message-circle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
41
81
  * @license lucide-react v0.515.0 - ISC
42
82
  *
43
83
  * This source code is licensed under the ISC license.
44
84
  * See the LICENSE file in the root directory of this source tree.
45
- */const yr=re("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
85
+ */const e0=Ja("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
46
86
  * @license lucide-react v0.515.0 - ISC
47
87
  *
48
88
  * This source code is licensed under the ISC license.
49
89
  * See the LICENSE file in the root directory of this source tree.
50
- */const vr=re("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
90
+ */const l0=Ja("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
51
91
  * @license lucide-react v0.515.0 - ISC
52
92
  *
53
93
  * This source code is licensed under the ISC license.
54
94
  * See the LICENSE file in the root directory of this source tree.
55
- */const pt=re("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Rr={futuristic:{mainBackground:"bg-gradient-to-br from-slate-900 via-purple-900 to-slate-900",header:"from-purple-600 to-blue-600",headerLogoBg:"bg-purple-500",headerLogoIcon:"text-white",messageBot:"bg-gradient-to-r from-purple-500 to-pink-500 text-white",messageUser:"bg-transparent backdrop-blur-3xl text-white",input:"bg-slate-800/50 border-purple-500/30 text-white placeholder-slate-400 focus:ring-purple-500 focus:border-transparent",sendButton:"text-white",prompt:"bg-black/50 backdrop-blur-3xl text-white"},boring:{mainBackground:"bg-white",header:"bg-black/90",headerLogoIcon:"text-white",messageBot:"bg-gradient-to-r from-purple-500 to-pink-500 text-white",messageUser:"bg-black/80 text-white",input:"border-purple-500/30 placeholder-slate-400 focus:ring-purple-500 focus:border-transparent",sendButton:"text-purple-500",prompt:"bg-gradient-to-br from-black/80 to-black/90 text-white"}},M=(t,e)=>Rr[t][e]??"";function Sr({setIsOpen:t,theme:e}){return m.jsxs("div",{className:`bg-gradient-to-r ${M(e,"header")} p-4 flex items-center justify-between`,children:[m.jsxs("div",{className:"flex items-center space-x-3",children:[m.jsx("div",{className:`w-10 h-10 ${M(e,"headerLogoBg")} rounded-full flex items-center justify-center`,children:m.jsx(Ne,{className:`w-6 h-6 ${M(e,"headerLogoIcon")}`})}),m.jsxs("div",{children:[m.jsx("h3",{className:"text-white font-semibold",children:"AI Assistant"}),m.jsx("p",{className:"text-purple-100 text-sm",children:"Online"})]})]}),m.jsx("button",{onClick:()=>t(!1),className:"text-white hover:bg-white/20 rounded-full p-1 transition-colors",children:m.jsx(pt,{className:"w-5 h-5"})})]})}function Pe(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Z=Pe();function dt(t){Z=t}var ne={exec:()=>null};function k(t,e=""){let r=typeof t=="string"?t:t.source;const n={replace:(i,s)=>{let o=typeof s=="string"?s:s.source;return o=o.replace(N.caret,"$1"),r=r.replace(i,o),n},getRegex:()=>new RegExp(r,e)};return n}var N={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Er=/^(?:[ \t]*(?:\n|$))+/,Tr=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ar=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,ie=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Cr=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,je=/(?:[*+-]|\d{1,9}[.)])/,ht=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ft=k(ht).replace(/bull/g,je).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),_r=k(ht).replace(/bull/g,je).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ze=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Or=/^[^\n]+/,Le=/(?!\s*\])(?:\\.|[^\[\]\\])+/,$r=k(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Le).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Nr=k(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,je).getRegex(),de="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Be=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Pr=k("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Be).replace("tag",de).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),gt=k(ze).replace("hr",ie).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",de).getRegex(),jr=k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",gt).getRegex(),Ie={blockquote:jr,code:Tr,def:$r,fences:Ar,heading:Cr,hr:ie,html:Pr,lheading:ft,list:Nr,newline:Er,paragraph:gt,table:ne,text:Or},wt=k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ie).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",de).getRegex(),zr={...Ie,lheading:_r,table:wt,paragraph:k(ze).replace("hr",ie).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",wt).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",de).getRegex()},Lr={...Ie,html:k(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Be).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ne,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:k(ze).replace("hr",ie).replace("heading",` *#{1,6} *[^
56
- ]`).replace("lheading",ft).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Br=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ir=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,mt=/^( {2,}|\\)\n(?!\s*$)/,Dr=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,he=/[\p{P}\p{S}]/u,De=/[\s\p{P}\p{S}]/u,bt=/[^\s\p{P}\p{S}]/u,Ur=k(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,De).getRegex(),xt=/(?!~)[\p{P}\p{S}]/u,qr=/(?!~)[\s\p{P}\p{S}]/u,Fr=/(?:[^\s\p{P}\p{S}]|~)/u,Mr=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,kt=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Hr=k(kt,"u").replace(/punct/g,he).getRegex(),Jr=k(kt,"u").replace(/punct/g,xt).getRegex(),yt="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Zr=k(yt,"gu").replace(/notPunctSpace/g,bt).replace(/punctSpace/g,De).replace(/punct/g,he).getRegex(),Wr=k(yt,"gu").replace(/notPunctSpace/g,Fr).replace(/punctSpace/g,qr).replace(/punct/g,xt).getRegex(),Vr=k("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,bt).replace(/punctSpace/g,De).replace(/punct/g,he).getRegex(),Gr=k(/\\(punct)/,"gu").replace(/punct/g,he).getRegex(),Kr=k(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Xr=k(Be).replace("(?:-->|$)","-->").getRegex(),Qr=k("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Xr).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),fe=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Yr=k(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",fe).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),vt=k(/^!?\[(label)\]\[(ref)\]/).replace("label",fe).replace("ref",Le).getRegex(),Rt=k(/^!?\[(ref)\](?:\[\])?/).replace("ref",Le).getRegex(),en=k("reflink|nolink(?!\\()","g").replace("reflink",vt).replace("nolink",Rt).getRegex(),Ue={_backpedal:ne,anyPunctuation:Gr,autolink:Kr,blockSkip:Mr,br:mt,code:Ir,del:ne,emStrongLDelim:Hr,emStrongRDelimAst:Zr,emStrongRDelimUnd:Vr,escape:Br,link:Yr,nolink:Rt,punctuation:Ur,reflink:vt,reflinkSearch:en,tag:Qr,text:Dr,url:ne},tn={...Ue,link:k(/^!?\[(label)\]\((.*?)\)/).replace("label",fe).getRegex(),reflink:k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",fe).getRegex()},qe={...Ue,emStrongRDelimAst:Wr,emStrongLDelim:Jr,url:k(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},rn={...qe,br:k(mt).replace("{2,}","*").getRegex(),text:k(qe.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ge={normal:Ie,gfm:zr,pedantic:Lr},se={normal:Ue,gfm:qe,breaks:rn,pedantic:tn},nn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},St=t=>nn[t];function D(t,e){if(e){if(N.escapeTest.test(t))return t.replace(N.escapeReplace,St)}else if(N.escapeTestNoEncode.test(t))return t.replace(N.escapeReplaceNoEncode,St);return t}function Et(t){try{t=encodeURI(t).replace(N.percentDecode,"%")}catch{return null}return t}function Tt(t,e){var s;const r=t.replace(N.findPipe,(o,a,u)=>{let l=!1,c=a;for(;--c>=0&&u[c]==="\\";)l=!l;return l?"|":" |"}),n=r.split(N.splitPipe);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!((s=n.at(-1))!=null&&s.trim())&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(N.slashPipe,"|");return n}function oe(t,e,r){const n=t.length;if(n===0)return"";let i=0;for(;i<n&&t.charAt(n-i-1)===e;)i++;return t.slice(0,n-i)}function sn(t,e){if(t.indexOf(e[1])===-1)return-1;let r=0;for(let n=0;n<t.length;n++)if(t[n]==="\\")n++;else if(t[n]===e[0])r++;else if(t[n]===e[1]&&(r--,r<0))return n;return r>0?-2:-1}function At(t,e,r,n,i){const s=e.href,o=e.title||null,a=t[1].replace(i.other.outputLinkReplace,"$1");n.state.inLink=!0;const u={type:t[0].charAt(0)==="!"?"image":"link",raw:r,href:s,title:o,text:a,tokens:n.inlineTokens(a)};return n.state.inLink=!1,u}function on(t,e,r){const n=t.match(r.other.indentCodeCompensation);if(n===null)return e;const i=n[1];return e.split(`
57
- `).map(s=>{const o=s.match(r.other.beginningSpace);if(o===null)return s;const[a]=o;return a.length>=i.length?s.slice(i.length):s}).join(`
58
- `)}var we=class{constructor(t){R(this,"options");R(this,"rules");R(this,"lexer");this.options=t||Z}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const r=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:oe(r,`
59
- `)}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const r=e[0],n=on(r,e[3]||"",this.rules);return{type:"code",raw:r,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let r=e[2].trim();if(this.rules.other.endingHash.test(r)){const n=oe(r,"#");(this.options.pedantic||!n||this.rules.other.endingSpaceChar.test(n))&&(r=n.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:oe(e[0],`
60
- `)}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){let r=oe(e[0],`
95
+ */const Yc=Ja("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),a0={futuristic:{mainBackground:"bg-gradient-to-br from-slate-900 via-purple-900 to-slate-900",header:"from-purple-600 to-blue-600",headerLogoBg:"bg-purple-500",headerLogoIcon:"text-white",messageBot:"bg-gradient-to-r from-purple-500 to-pink-500 text-white",messageUser:"bg-transparent backdrop-blur-3xl text-white",input:"bg-slate-800/50 border-purple-500/30 text-white placeholder-slate-400 focus:ring-purple-500 focus:border-transparent",sendButton:"text-white",prompt:"bg-black/50 backdrop-blur-3xl text-white"},boring:{mainBackground:"bg-white",header:"bg-black/90",headerLogoIcon:"text-white",messageBot:"bg-gradient-to-r from-purple-500 to-pink-500 text-white",messageUser:"bg-black/80 text-white",input:"border-purple-500/30 placeholder-slate-400 focus:ring-purple-500 focus:border-transparent",sendButton:"text-purple-500",prompt:"bg-gradient-to-br from-black/80 to-black/90 text-white"}},Ze=(r,i)=>a0[r][i]??"";function n0({setIsOpen:r,theme:i}){return J.jsxs("div",{className:`bg-gradient-to-r ${Ze(i,"header")} p-4 flex items-center justify-between`,children:[J.jsxs("div",{className:"flex items-center space-x-3",children:[J.jsx("div",{className:`w-10 h-10 ${Ze(i,"headerLogoBg")} rounded-full flex items-center justify-center`,children:J.jsx(Gu,{className:`w-6 h-6 ${Ze(i,"headerLogoIcon")}`})}),J.jsxs("div",{children:[J.jsx("h3",{className:"text-white font-semibold",children:"AI Assistant"}),J.jsx("p",{className:"text-purple-100 text-sm",children:"Online"})]})]}),J.jsx("button",{onClick:()=>r(!1),className:"text-white hover:bg-white/20 rounded-full p-1 transition-colors",children:J.jsx(Yc,{className:"w-5 h-5"})})]})}function Xu(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Bl=Xu();function Gc(r){Bl=r}var $a={exec:()=>null};function ht(r,i=""){let s=typeof r=="string"?r:r.source;const c={replace:(o,d)=>{let g=typeof d=="string"?d:d.source;return g=g.replace(ee.caret,"$1"),s=s.replace(o,g),c},getRegex:()=>new RegExp(s,i)};return c}var ee={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:r=>new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}#`),htmlBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}<(?:[a-z].*>|!--)`,"i")},i0=/^(?:[ \t]*(?:\n|$))+/,u0=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,r0=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Wa=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,s0=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Qu=/(?:[*+-]|\d{1,9}[.)])/,Xc=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Qc=ht(Xc).replace(/bull/g,Qu).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),c0=ht(Xc).replace(/bull/g,Qu).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Zu=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,o0=/^[^\n]+/,Vu=/(?!\s*\])(?:\\.|[^\[\]\\])+/,f0=ht(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Vu).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),d0=ht(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Qu).getRegex(),ei="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ku=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,h0=ht("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Ku).replace("tag",ei).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Zc=ht(Zu).replace("hr",Wa).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ei).getRegex(),p0=ht(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Zc).getRegex(),Ju={blockquote:p0,code:u0,def:f0,fences:r0,heading:s0,hr:Wa,html:h0,lheading:Qc,list:d0,newline:i0,paragraph:Zc,table:$a,text:o0},Vc=ht("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Wa).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ei).getRegex(),g0={...Ju,lheading:c0,table:Vc,paragraph:ht(Zu).replace("hr",Wa).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Vc).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ei).getRegex()},m0={...Ju,html:ht(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ku).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:$a,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ht(Zu).replace("hr",Wa).replace("heading",` *#{1,6} *[^
96
+ ]`).replace("lheading",Qc).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},y0=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,v0=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Kc=/^( {2,}|\\)\n(?!\s*$)/,b0=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,li=/[\p{P}\p{S}]/u,$u=/[\s\p{P}\p{S}]/u,Jc=/[^\s\p{P}\p{S}]/u,w0=ht(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,$u).getRegex(),$c=/(?!~)[\p{P}\p{S}]/u,S0=/(?!~)[\s\p{P}\p{S}]/u,x0=/(?:[^\s\p{P}\p{S}]|~)/u,E0=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Wc=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,T0=ht(Wc,"u").replace(/punct/g,li).getRegex(),A0=ht(Wc,"u").replace(/punct/g,$c).getRegex(),Fc="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",R0=ht(Fc,"gu").replace(/notPunctSpace/g,Jc).replace(/punctSpace/g,$u).replace(/punct/g,li).getRegex(),_0=ht(Fc,"gu").replace(/notPunctSpace/g,x0).replace(/punctSpace/g,S0).replace(/punct/g,$c).getRegex(),z0=ht("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Jc).replace(/punctSpace/g,$u).replace(/punct/g,li).getRegex(),O0=ht(/\\(punct)/,"gu").replace(/punct/g,li).getRegex(),k0=ht(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),D0=ht(Ku).replace("(?:-->|$)","-->").getRegex(),M0=ht("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",D0).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ai=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,N0=ht(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ai).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Pc=ht(/^!?\[(label)\]\[(ref)\]/).replace("label",ai).replace("ref",Vu).getRegex(),Ic=ht(/^!?\[(ref)\](?:\[\])?/).replace("ref",Vu).getRegex(),U0=ht("reflink|nolink(?!\\()","g").replace("reflink",Pc).replace("nolink",Ic).getRegex(),Wu={_backpedal:$a,anyPunctuation:O0,autolink:k0,blockSkip:E0,br:Kc,code:v0,del:$a,emStrongLDelim:T0,emStrongRDelimAst:R0,emStrongRDelimUnd:z0,escape:y0,link:N0,nolink:Ic,punctuation:w0,reflink:Pc,reflinkSearch:U0,tag:M0,text:b0,url:$a},B0={...Wu,link:ht(/^!?\[(label)\]\((.*?)\)/).replace("label",ai).getRegex(),reflink:ht(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ai).getRegex()},Fu={...Wu,emStrongRDelimAst:_0,emStrongLDelim:A0,url:ht(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},C0={...Fu,br:ht(Kc).replace("{2,}","*").getRegex(),text:ht(Fu.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ni={normal:Ju,gfm:g0,pedantic:m0},Fa={normal:Wu,gfm:Fu,breaks:C0,pedantic:B0},q0={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},to=r=>q0[r];function Be(r,i){if(i){if(ee.escapeTest.test(r))return r.replace(ee.escapeReplace,to)}else if(ee.escapeTestNoEncode.test(r))return r.replace(ee.escapeReplaceNoEncode,to);return r}function eo(r){try{r=encodeURI(r).replace(ee.percentDecode,"%")}catch{return null}return r}function lo(r,i){var d;const s=r.replace(ee.findPipe,(g,m,b)=>{let p=!1,v=m;for(;--v>=0&&b[v]==="\\";)p=!p;return p?"|":" |"}),c=s.split(ee.splitPipe);let o=0;if(c[0].trim()||c.shift(),c.length>0&&!((d=c.at(-1))!=null&&d.trim())&&c.pop(),i)if(c.length>i)c.splice(i);else for(;c.length<i;)c.push("");for(;o<c.length;o++)c[o]=c[o].trim().replace(ee.slashPipe,"|");return c}function Pa(r,i,s){const c=r.length;if(c===0)return"";let o=0;for(;o<c&&r.charAt(c-o-1)===i;)o++;return r.slice(0,c-o)}function H0(r,i){if(r.indexOf(i[1])===-1)return-1;let s=0;for(let c=0;c<r.length;c++)if(r[c]==="\\")c++;else if(r[c]===i[0])s++;else if(r[c]===i[1]&&(s--,s<0))return c;return s>0?-2:-1}function ao(r,i,s,c,o){const d=i.href,g=i.title||null,m=r[1].replace(o.other.outputLinkReplace,"$1");c.state.inLink=!0;const b={type:r[0].charAt(0)==="!"?"image":"link",raw:s,href:d,title:g,text:m,tokens:c.inlineTokens(m)};return c.state.inLink=!1,b}function j0(r,i,s){const c=r.match(s.other.indentCodeCompensation);if(c===null)return i;const o=c[1];return i.split(`
97
+ `).map(d=>{const g=d.match(s.other.beginningSpace);if(g===null)return d;const[m]=g;return m.length>=o.length?d.slice(o.length):d}).join(`
98
+ `)}var ii=class{constructor(r){Tt(this,"options");Tt(this,"rules");Tt(this,"lexer");this.options=r||Bl}space(r){const i=this.rules.block.newline.exec(r);if(i&&i[0].length>0)return{type:"space",raw:i[0]}}code(r){const i=this.rules.block.code.exec(r);if(i){const s=i[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?s:Pa(s,`
99
+ `)}}}fences(r){const i=this.rules.block.fences.exec(r);if(i){const s=i[0],c=j0(s,i[3]||"",this.rules);return{type:"code",raw:s,lang:i[2]?i[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):i[2],text:c}}}heading(r){const i=this.rules.block.heading.exec(r);if(i){let s=i[2].trim();if(this.rules.other.endingHash.test(s)){const c=Pa(s,"#");(this.options.pedantic||!c||this.rules.other.endingSpaceChar.test(c))&&(s=c.trim())}return{type:"heading",raw:i[0],depth:i[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(r){const i=this.rules.block.hr.exec(r);if(i)return{type:"hr",raw:Pa(i[0],`
100
+ `)}}blockquote(r){const i=this.rules.block.blockquote.exec(r);if(i){let s=Pa(i[0],`
61
101
  `).split(`
62
- `),n="",i="";const s=[];for(;r.length>0;){let o=!1;const a=[];let u;for(u=0;u<r.length;u++)if(this.rules.other.blockquoteStart.test(r[u]))a.push(r[u]),o=!0;else if(!o)a.push(r[u]);else break;r=r.slice(u);const l=a.join(`
63
- `),c=l.replace(this.rules.other.blockquoteSetextReplace,`
64
- $1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}
65
- ${l}`:l,i=i?`${i}
66
- ${c}`:c;const h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,s,!0),this.lexer.state.top=h,r.length===0)break;const d=s.at(-1);if((d==null?void 0:d.type)==="code")break;if((d==null?void 0:d.type)==="blockquote"){const x=d,f=x.raw+`
67
- `+r.join(`
68
- `),g=this.blockquote(f);s[s.length-1]=g,n=n.substring(0,n.length-x.raw.length)+g.raw,i=i.substring(0,i.length-x.text.length)+g.text;break}else if((d==null?void 0:d.type)==="list"){const x=d,f=x.raw+`
69
- `+r.join(`
70
- `),g=this.list(f);s[s.length-1]=g,n=n.substring(0,n.length-d.raw.length)+g.raw,i=i.substring(0,i.length-x.raw.length)+g.raw,r=f.substring(s.at(-1).raw.length).split(`
71
- `);continue}}return{type:"blockquote",raw:n,tokens:s,text:i}}}list(t){let e=this.rules.block.list.exec(t);if(e){let r=e[1].trim();const n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");const s=this.rules.other.listItemRegex(r);let o=!1;for(;t;){let u=!1,l="",c="";if(!(e=s.exec(t))||this.rules.block.hr.test(t))break;l=e[0],t=t.substring(l.length);let h=e[2].split(`
72
- `,1)[0].replace(this.rules.other.listReplaceTabs,v=>" ".repeat(3*v.length)),d=t.split(`
73
- `,1)[0],x=!h.trim(),f=0;if(this.options.pedantic?(f=2,c=h.trimStart()):x?f=e[1].length+1:(f=e[2].search(this.rules.other.nonSpaceChar),f=f>4?1:f,c=h.slice(f),f+=e[1].length),x&&this.rules.other.blankLine.test(d)&&(l+=d+`
74
- `,t=t.substring(d.length+1),u=!0),!u){const v=this.rules.other.nextBulletRegex(f),S=this.rules.other.hrRegex(f),T=this.rules.other.fencesBeginRegex(f),z=this.rules.other.headingBeginRegex(f),_=this.rules.other.htmlBeginRegex(f);for(;t;){const L=t.split(`
75
- `,1)[0];let O;if(d=L,this.options.pedantic?(d=d.replace(this.rules.other.listReplaceNesting," "),O=d):O=d.replace(this.rules.other.tabCharGlobal," "),T.test(d)||z.test(d)||_.test(d)||v.test(d)||S.test(d))break;if(O.search(this.rules.other.nonSpaceChar)>=f||!d.trim())c+=`
76
- `+O.slice(f);else{if(x||h.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||T.test(h)||z.test(h)||S.test(h))break;c+=`
77
- `+d}!x&&!d.trim()&&(x=!0),l+=L+`
78
- `,t=t.substring(L.length+1),h=O.slice(f)}}i.loose||(o?i.loose=!0:this.rules.other.doubleBlankLine.test(l)&&(o=!0));let g=null,w;this.options.gfm&&(g=this.rules.other.listIsTask.exec(c),g&&(w=g[0]!=="[ ] ",c=c.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:l,task:!!g,checked:w,loose:!1,text:c,tokens:[]}),i.raw+=l}const a=i.items.at(-1);if(a)a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let u=0;u<i.items.length;u++)if(this.lexer.state.top=!1,i.items[u].tokens=this.lexer.blockTokens(i.items[u].text,[]),!i.loose){const l=i.items[u].tokens.filter(h=>h.type==="space"),c=l.length>0&&l.some(h=>this.rules.other.anyLine.test(h.raw));i.loose=c}if(i.loose)for(let u=0;u<i.items.length;u++)i.items[u].loose=!0;return i}}html(t){const e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(t){const e=this.rules.block.def.exec(t);if(e){const r=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:r,raw:e[0],href:n,title:i}}}table(t){var o;const e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;const r=Tt(e[1]),n=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=(o=e[3])!=null&&o.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
79
- `):[],s={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===n.length){for(const a of n)this.rules.other.tableAlignRight.test(a)?s.align.push("right"):this.rules.other.tableAlignCenter.test(a)?s.align.push("center"):this.rules.other.tableAlignLeft.test(a)?s.align.push("left"):s.align.push(null);for(let a=0;a<r.length;a++)s.header.push({text:r[a],tokens:this.lexer.inline(r[a]),header:!0,align:s.align[a]});for(const a of i)s.rows.push(Tt(a,s.header.length).map((u,l)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:s.align[l]})));return s}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const r=e[1].charAt(e[1].length-1)===`
80
- `?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const r=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;const s=oe(r.slice(0,-1),"\\");if((r.length-s.length)%2===0)return}else{const s=sn(e[2],"()");if(s===-2)return;if(s>-1){const a=(e[0].indexOf("!")===0?5:4)+e[1].length+s;e[2]=e[2].substring(0,s),e[0]=e[0].substring(0,a).trim(),e[3]=""}}let n=e[2],i="";if(this.options.pedantic){const s=this.rules.other.pedanticHrefTitle.exec(n);s&&(n=s[1],i=s[3])}else i=e[3]?e[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?n=n.slice(1):n=n.slice(1,-1)),At(e,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const n=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=e[n.toLowerCase()];if(!i){const s=r[0].charAt(0);return{type:"text",raw:s,text:s}}return At(r,i,r[0],this.lexer,this.rules)}}emStrong(t,e,r=""){let n=this.rules.inline.emStrongLDelim.exec(t);if(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))return;if(!(n[1]||n[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const s=[...n[0]].length-1;let o,a,u=s,l=0;const c=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,e=e.slice(-1*t.length+s);(n=c.exec(e))!=null;){if(o=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!o)continue;if(a=[...o].length,n[3]||n[4]){u+=a;continue}else if((n[5]||n[6])&&s%3&&!((s+a)%3)){l+=a;continue}if(u-=a,u>0)continue;a=Math.min(a,a+u+l);const h=[...n[0]][0].length,d=t.slice(0,s+n.index+h+a);if(Math.min(s,a)%2){const f=d.slice(1,-1);return{type:"em",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}const x=d.slice(2,-2);return{type:"strong",raw:d,text:x,tokens:this.lexer.inlineTokens(x)}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let r=e[2].replace(this.rules.other.newLineCharGlobal," ");const n=this.rules.other.nonSpaceChar.test(r),i=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return n&&i&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:e[0],text:r}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){const e=this.rules.inline.autolink.exec(t);if(e){let r,n;return e[2]==="@"?(r=e[1],n="mailto:"+r):(r=e[1],n=r),{type:"link",raw:e[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(t){var r;let e;if(e=this.rules.inline.url.exec(t)){let n,i;if(e[2]==="@")n=e[0],i="mailto:"+n;else{let s;do s=e[0],e[0]=((r=this.rules.inline._backpedal.exec(e[0]))==null?void 0:r[0])??"";while(s!==e[0]);n=e[0],e[1]==="www."?i="http://"+e[0]:i=e[0]}return{type:"link",raw:e[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(t){const e=this.rules.inline.text.exec(t);if(e){const r=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:r}}}},H=class it{constructor(e){R(this,"tokens");R(this,"options");R(this,"state");R(this,"tokenizer");R(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Z,this.options.tokenizer=this.options.tokenizer||new we,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={other:N,block:ge.normal,inline:se.normal};this.options.pedantic?(r.block=ge.pedantic,r.inline=se.pedantic):this.options.gfm&&(r.block=ge.gfm,this.options.breaks?r.inline=se.breaks:r.inline=se.gfm),this.tokenizer.rules=r}static get rules(){return{block:ge,inline:se}}static lex(e,r){return new it(r).lex(e)}static lexInline(e,r){return new it(r).inlineTokens(e)}lex(e){e=e.replace(N.carriageReturn,`
81
- `),this.blockTokens(e,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){const n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,r=[],n=!1){var i,s,o;for(this.options.pedantic&&(e=e.replace(N.tabCharGlobal," ").replace(N.spaceLine,""));e;){let a;if((s=(i=this.options.extensions)==null?void 0:i.block)!=null&&s.some(l=>(a=l.call({lexer:this},e,r))?(e=e.substring(a.raw.length),r.push(a),!0):!1))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);const l=r.at(-1);a.raw.length===1&&l!==void 0?l.raw+=`
82
- `:r.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);const l=r.at(-1);(l==null?void 0:l.type)==="paragraph"||(l==null?void 0:l.type)==="text"?(l.raw+=`
83
- `+a.raw,l.text+=`
84
- `+a.text,this.inlineQueue.at(-1).src=l.text):r.push(a);continue}if(a=this.tokenizer.fences(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.heading(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.hr(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.blockquote(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.list(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.html(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);const l=r.at(-1);(l==null?void 0:l.type)==="paragraph"||(l==null?void 0:l.type)==="text"?(l.raw+=`
85
- `+a.raw,l.text+=`
86
- `+a.raw,this.inlineQueue.at(-1).src=l.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title});continue}if(a=this.tokenizer.table(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.lheading(e)){e=e.substring(a.raw.length),r.push(a);continue}let u=e;if((o=this.options.extensions)!=null&&o.startBlock){let l=1/0;const c=e.slice(1);let h;this.options.extensions.startBlock.forEach(d=>{h=d.call({lexer:this},c),typeof h=="number"&&h>=0&&(l=Math.min(l,h))}),l<1/0&&l>=0&&(u=e.substring(0,l+1))}if(this.state.top&&(a=this.tokenizer.paragraph(u))){const l=r.at(-1);n&&(l==null?void 0:l.type)==="paragraph"?(l.raw+=`
87
- `+a.raw,l.text+=`
88
- `+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):r.push(a),n=u.length!==e.length,e=e.substring(a.raw.length);continue}if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);const l=r.at(-1);(l==null?void 0:l.type)==="text"?(l.raw+=`
89
- `+a.raw,l.text+=`
90
- `+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):r.push(a);continue}if(e){const l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,r}inline(e,r=[]){return this.inlineQueue.push({src:e,tokens:r}),r}inlineTokens(e,r=[]){var a,u,l;let n=e,i=null;if(this.tokens.links){const c=Object.keys(this.tokens.links);if(c.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)c.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let s=!1,o="";for(;e;){s||(o=""),s=!1;let c;if((u=(a=this.options.extensions)==null?void 0:a.inline)!=null&&u.some(d=>(c=d.call({lexer:this},e,r))?(e=e.substring(c.raw.length),r.push(c),!0):!1))continue;if(c=this.tokenizer.escape(e)){e=e.substring(c.raw.length),r.push(c);continue}if(c=this.tokenizer.tag(e)){e=e.substring(c.raw.length),r.push(c);continue}if(c=this.tokenizer.link(e)){e=e.substring(c.raw.length),r.push(c);continue}if(c=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(c.raw.length);const d=r.at(-1);c.type==="text"&&(d==null?void 0:d.type)==="text"?(d.raw+=c.raw,d.text+=c.text):r.push(c);continue}if(c=this.tokenizer.emStrong(e,n,o)){e=e.substring(c.raw.length),r.push(c);continue}if(c=this.tokenizer.codespan(e)){e=e.substring(c.raw.length),r.push(c);continue}if(c=this.tokenizer.br(e)){e=e.substring(c.raw.length),r.push(c);continue}if(c=this.tokenizer.del(e)){e=e.substring(c.raw.length),r.push(c);continue}if(c=this.tokenizer.autolink(e)){e=e.substring(c.raw.length),r.push(c);continue}if(!this.state.inLink&&(c=this.tokenizer.url(e))){e=e.substring(c.raw.length),r.push(c);continue}let h=e;if((l=this.options.extensions)!=null&&l.startInline){let d=1/0;const x=e.slice(1);let f;this.options.extensions.startInline.forEach(g=>{f=g.call({lexer:this},x),typeof f=="number"&&f>=0&&(d=Math.min(d,f))}),d<1/0&&d>=0&&(h=e.substring(0,d+1))}if(c=this.tokenizer.inlineText(h)){e=e.substring(c.raw.length),c.raw.slice(-1)!=="_"&&(o=c.raw.slice(-1)),s=!0;const d=r.at(-1);(d==null?void 0:d.type)==="text"?(d.raw+=c.raw,d.text+=c.text):r.push(c);continue}if(e){const d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return r}},me=class{constructor(t){R(this,"options");R(this,"parser");this.options=t||Z}space(t){return""}code({text:t,lang:e,escaped:r}){var s;const n=(s=(e||"").match(N.notSpaceStart))==null?void 0:s[0],i=t.replace(N.endingNewline,"")+`
91
- `;return n?'<pre><code class="language-'+D(n)+'">'+(r?i:D(i,!0))+`</code></pre>
92
- `:"<pre><code>"+(r?i:D(i,!0))+`</code></pre>
93
- `}blockquote({tokens:t}){return`<blockquote>
94
- ${this.parser.parse(t)}</blockquote>
95
- `}html({text:t}){return t}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>
96
- `}hr(t){return`<hr>
97
- `}list(t){const e=t.ordered,r=t.start;let n="";for(let o=0;o<t.items.length;o++){const a=t.items[o];n+=this.listitem(a)}const i=e?"ol":"ul",s=e&&r!==1?' start="'+r+'"':"";return"<"+i+s+`>
98
- `+n+"</"+i+`>
99
- `}listitem(t){var r;let e="";if(t.task){const n=this.checkbox({checked:!!t.checked});t.loose?((r=t.tokens[0])==null?void 0:r.type)==="paragraph"?(t.tokens[0].text=n+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=n+" "+D(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):e+=n+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`<li>${e}</li>
100
- `}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
101
- `}table(t){let e="",r="";for(let i=0;i<t.header.length;i++)r+=this.tablecell(t.header[i]);e+=this.tablerow({text:r});let n="";for(let i=0;i<t.rows.length;i++){const s=t.rows[i];r="";for(let o=0;o<s.length;o++)r+=this.tablecell(s[o]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),`<table>
102
+ `),c="",o="";const d=[];for(;s.length>0;){let g=!1;const m=[];let b;for(b=0;b<s.length;b++)if(this.rules.other.blockquoteStart.test(s[b]))m.push(s[b]),g=!0;else if(!g)m.push(s[b]);else break;s=s.slice(b);const p=m.join(`
103
+ `),v=p.replace(this.rules.other.blockquoteSetextReplace,`
104
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,"");c=c?`${c}
105
+ ${p}`:p,o=o?`${o}
106
+ ${v}`:v;const z=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(v,d,!0),this.lexer.state.top=z,s.length===0)break;const D=d.at(-1);if((D==null?void 0:D.type)==="code")break;if((D==null?void 0:D.type)==="blockquote"){const Q=D,N=Q.raw+`
107
+ `+s.join(`
108
+ `),H=this.blockquote(N);d[d.length-1]=H,c=c.substring(0,c.length-Q.raw.length)+H.raw,o=o.substring(0,o.length-Q.text.length)+H.text;break}else if((D==null?void 0:D.type)==="list"){const Q=D,N=Q.raw+`
109
+ `+s.join(`
110
+ `),H=this.list(N);d[d.length-1]=H,c=c.substring(0,c.length-D.raw.length)+H.raw,o=o.substring(0,o.length-Q.raw.length)+H.raw,s=N.substring(d.at(-1).raw.length).split(`
111
+ `);continue}}return{type:"blockquote",raw:c,tokens:d,text:o}}}list(r){let i=this.rules.block.list.exec(r);if(i){let s=i[1].trim();const c=s.length>1,o={type:"list",raw:"",ordered:c,start:c?+s.slice(0,-1):"",loose:!1,items:[]};s=c?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=c?s:"[*+-]");const d=this.rules.other.listItemRegex(s);let g=!1;for(;r;){let b=!1,p="",v="";if(!(i=d.exec(r))||this.rules.block.hr.test(r))break;p=i[0],r=r.substring(p.length);let z=i[2].split(`
112
+ `,1)[0].replace(this.rules.other.listReplaceTabs,I=>" ".repeat(3*I.length)),D=r.split(`
113
+ `,1)[0],Q=!z.trim(),N=0;if(this.options.pedantic?(N=2,v=z.trimStart()):Q?N=i[1].length+1:(N=i[2].search(this.rules.other.nonSpaceChar),N=N>4?1:N,v=z.slice(N),N+=i[1].length),Q&&this.rules.other.blankLine.test(D)&&(p+=D+`
114
+ `,r=r.substring(D.length+1),b=!0),!b){const I=this.rules.other.nextBulletRegex(N),st=this.rules.other.hrRegex(N),ut=this.rules.other.fencesBeginRegex(N),ct=this.rules.other.headingBeginRegex(N),pt=this.rules.other.htmlBeginRegex(N);for(;r;){const V=r.split(`
115
+ `,1)[0];let gt;if(D=V,this.options.pedantic?(D=D.replace(this.rules.other.listReplaceNesting," "),gt=D):gt=D.replace(this.rules.other.tabCharGlobal," "),ut.test(D)||ct.test(D)||pt.test(D)||I.test(D)||st.test(D))break;if(gt.search(this.rules.other.nonSpaceChar)>=N||!D.trim())v+=`
116
+ `+gt.slice(N);else{if(Q||z.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||ut.test(z)||ct.test(z)||st.test(z))break;v+=`
117
+ `+D}!Q&&!D.trim()&&(Q=!0),p+=V+`
118
+ `,r=r.substring(V.length+1),z=gt.slice(N)}}o.loose||(g?o.loose=!0:this.rules.other.doubleBlankLine.test(p)&&(g=!0));let H=null,L;this.options.gfm&&(H=this.rules.other.listIsTask.exec(v),H&&(L=H[0]!=="[ ] ",v=v.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:p,task:!!H,checked:L,loose:!1,text:v,tokens:[]}),o.raw+=p}const m=o.items.at(-1);if(m)m.raw=m.raw.trimEnd(),m.text=m.text.trimEnd();else return;o.raw=o.raw.trimEnd();for(let b=0;b<o.items.length;b++)if(this.lexer.state.top=!1,o.items[b].tokens=this.lexer.blockTokens(o.items[b].text,[]),!o.loose){const p=o.items[b].tokens.filter(z=>z.type==="space"),v=p.length>0&&p.some(z=>this.rules.other.anyLine.test(z.raw));o.loose=v}if(o.loose)for(let b=0;b<o.items.length;b++)o.items[b].loose=!0;return o}}html(r){const i=this.rules.block.html.exec(r);if(i)return{type:"html",block:!0,raw:i[0],pre:i[1]==="pre"||i[1]==="script"||i[1]==="style",text:i[0]}}def(r){const i=this.rules.block.def.exec(r);if(i){const s=i[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),c=i[2]?i[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=i[3]?i[3].substring(1,i[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):i[3];return{type:"def",tag:s,raw:i[0],href:c,title:o}}}table(r){var g;const i=this.rules.block.table.exec(r);if(!i||!this.rules.other.tableDelimiter.test(i[2]))return;const s=lo(i[1]),c=i[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=(g=i[3])!=null&&g.trim()?i[3].replace(this.rules.other.tableRowBlankLine,"").split(`
119
+ `):[],d={type:"table",raw:i[0],header:[],align:[],rows:[]};if(s.length===c.length){for(const m of c)this.rules.other.tableAlignRight.test(m)?d.align.push("right"):this.rules.other.tableAlignCenter.test(m)?d.align.push("center"):this.rules.other.tableAlignLeft.test(m)?d.align.push("left"):d.align.push(null);for(let m=0;m<s.length;m++)d.header.push({text:s[m],tokens:this.lexer.inline(s[m]),header:!0,align:d.align[m]});for(const m of o)d.rows.push(lo(m,d.header.length).map((b,p)=>({text:b,tokens:this.lexer.inline(b),header:!1,align:d.align[p]})));return d}}lheading(r){const i=this.rules.block.lheading.exec(r);if(i)return{type:"heading",raw:i[0],depth:i[2].charAt(0)==="="?1:2,text:i[1],tokens:this.lexer.inline(i[1])}}paragraph(r){const i=this.rules.block.paragraph.exec(r);if(i){const s=i[1].charAt(i[1].length-1)===`
120
+ `?i[1].slice(0,-1):i[1];return{type:"paragraph",raw:i[0],text:s,tokens:this.lexer.inline(s)}}}text(r){const i=this.rules.block.text.exec(r);if(i)return{type:"text",raw:i[0],text:i[0],tokens:this.lexer.inline(i[0])}}escape(r){const i=this.rules.inline.escape.exec(r);if(i)return{type:"escape",raw:i[0],text:i[1]}}tag(r){const i=this.rules.inline.tag.exec(r);if(i)return!this.lexer.state.inLink&&this.rules.other.startATag.test(i[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(i[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(i[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(i[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:i[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:i[0]}}link(r){const i=this.rules.inline.link.exec(r);if(i){const s=i[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(s)){if(!this.rules.other.endAngleBracket.test(s))return;const d=Pa(s.slice(0,-1),"\\");if((s.length-d.length)%2===0)return}else{const d=H0(i[2],"()");if(d===-2)return;if(d>-1){const m=(i[0].indexOf("!")===0?5:4)+i[1].length+d;i[2]=i[2].substring(0,d),i[0]=i[0].substring(0,m).trim(),i[3]=""}}let c=i[2],o="";if(this.options.pedantic){const d=this.rules.other.pedanticHrefTitle.exec(c);d&&(c=d[1],o=d[3])}else o=i[3]?i[3].slice(1,-1):"";return c=c.trim(),this.rules.other.startAngleBracket.test(c)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(s)?c=c.slice(1):c=c.slice(1,-1)),ao(i,{href:c&&c.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},i[0],this.lexer,this.rules)}}reflink(r,i){let s;if((s=this.rules.inline.reflink.exec(r))||(s=this.rules.inline.nolink.exec(r))){const c=(s[2]||s[1]).replace(this.rules.other.multipleSpaceGlobal," "),o=i[c.toLowerCase()];if(!o){const d=s[0].charAt(0);return{type:"text",raw:d,text:d}}return ao(s,o,s[0],this.lexer,this.rules)}}emStrong(r,i,s=""){let c=this.rules.inline.emStrongLDelim.exec(r);if(!c||c[3]&&s.match(this.rules.other.unicodeAlphaNumeric))return;if(!(c[1]||c[2]||"")||!s||this.rules.inline.punctuation.exec(s)){const d=[...c[0]].length-1;let g,m,b=d,p=0;const v=c[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,i=i.slice(-1*r.length+d);(c=v.exec(i))!=null;){if(g=c[1]||c[2]||c[3]||c[4]||c[5]||c[6],!g)continue;if(m=[...g].length,c[3]||c[4]){b+=m;continue}else if((c[5]||c[6])&&d%3&&!((d+m)%3)){p+=m;continue}if(b-=m,b>0)continue;m=Math.min(m,m+b+p);const z=[...c[0]][0].length,D=r.slice(0,d+c.index+z+m);if(Math.min(d,m)%2){const N=D.slice(1,-1);return{type:"em",raw:D,text:N,tokens:this.lexer.inlineTokens(N)}}const Q=D.slice(2,-2);return{type:"strong",raw:D,text:Q,tokens:this.lexer.inlineTokens(Q)}}}}codespan(r){const i=this.rules.inline.code.exec(r);if(i){let s=i[2].replace(this.rules.other.newLineCharGlobal," ");const c=this.rules.other.nonSpaceChar.test(s),o=this.rules.other.startingSpaceChar.test(s)&&this.rules.other.endingSpaceChar.test(s);return c&&o&&(s=s.substring(1,s.length-1)),{type:"codespan",raw:i[0],text:s}}}br(r){const i=this.rules.inline.br.exec(r);if(i)return{type:"br",raw:i[0]}}del(r){const i=this.rules.inline.del.exec(r);if(i)return{type:"del",raw:i[0],text:i[2],tokens:this.lexer.inlineTokens(i[2])}}autolink(r){const i=this.rules.inline.autolink.exec(r);if(i){let s,c;return i[2]==="@"?(s=i[1],c="mailto:"+s):(s=i[1],c=s),{type:"link",raw:i[0],text:s,href:c,tokens:[{type:"text",raw:s,text:s}]}}}url(r){var s;let i;if(i=this.rules.inline.url.exec(r)){let c,o;if(i[2]==="@")c=i[0],o="mailto:"+c;else{let d;do d=i[0],i[0]=((s=this.rules.inline._backpedal.exec(i[0]))==null?void 0:s[0])??"";while(d!==i[0]);c=i[0],i[1]==="www."?o="http://"+i[0]:o=i[0]}return{type:"link",raw:i[0],text:c,href:o,tokens:[{type:"text",raw:c,text:c}]}}}inlineText(r){const i=this.rules.inline.text.exec(r);if(i){const s=this.lexer.state.inRawBlock;return{type:"text",raw:i[0],text:i[0],escaped:s}}}},Ve=class _c{constructor(i){Tt(this,"tokens");Tt(this,"options");Tt(this,"state");Tt(this,"tokenizer");Tt(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=i||Bl,this.options.tokenizer=this.options.tokenizer||new ii,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const s={other:ee,block:ni.normal,inline:Fa.normal};this.options.pedantic?(s.block=ni.pedantic,s.inline=Fa.pedantic):this.options.gfm&&(s.block=ni.gfm,this.options.breaks?s.inline=Fa.breaks:s.inline=Fa.gfm),this.tokenizer.rules=s}static get rules(){return{block:ni,inline:Fa}}static lex(i,s){return new _c(s).lex(i)}static lexInline(i,s){return new _c(s).inlineTokens(i)}lex(i){i=i.replace(ee.carriageReturn,`
121
+ `),this.blockTokens(i,this.tokens);for(let s=0;s<this.inlineQueue.length;s++){const c=this.inlineQueue[s];this.inlineTokens(c.src,c.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(i,s=[],c=!1){var o,d,g;for(this.options.pedantic&&(i=i.replace(ee.tabCharGlobal," ").replace(ee.spaceLine,""));i;){let m;if((d=(o=this.options.extensions)==null?void 0:o.block)!=null&&d.some(p=>(m=p.call({lexer:this},i,s))?(i=i.substring(m.raw.length),s.push(m),!0):!1))continue;if(m=this.tokenizer.space(i)){i=i.substring(m.raw.length);const p=s.at(-1);m.raw.length===1&&p!==void 0?p.raw+=`
122
+ `:s.push(m);continue}if(m=this.tokenizer.code(i)){i=i.substring(m.raw.length);const p=s.at(-1);(p==null?void 0:p.type)==="paragraph"||(p==null?void 0:p.type)==="text"?(p.raw+=`
123
+ `+m.raw,p.text+=`
124
+ `+m.text,this.inlineQueue.at(-1).src=p.text):s.push(m);continue}if(m=this.tokenizer.fences(i)){i=i.substring(m.raw.length),s.push(m);continue}if(m=this.tokenizer.heading(i)){i=i.substring(m.raw.length),s.push(m);continue}if(m=this.tokenizer.hr(i)){i=i.substring(m.raw.length),s.push(m);continue}if(m=this.tokenizer.blockquote(i)){i=i.substring(m.raw.length),s.push(m);continue}if(m=this.tokenizer.list(i)){i=i.substring(m.raw.length),s.push(m);continue}if(m=this.tokenizer.html(i)){i=i.substring(m.raw.length),s.push(m);continue}if(m=this.tokenizer.def(i)){i=i.substring(m.raw.length);const p=s.at(-1);(p==null?void 0:p.type)==="paragraph"||(p==null?void 0:p.type)==="text"?(p.raw+=`
125
+ `+m.raw,p.text+=`
126
+ `+m.raw,this.inlineQueue.at(-1).src=p.text):this.tokens.links[m.tag]||(this.tokens.links[m.tag]={href:m.href,title:m.title});continue}if(m=this.tokenizer.table(i)){i=i.substring(m.raw.length),s.push(m);continue}if(m=this.tokenizer.lheading(i)){i=i.substring(m.raw.length),s.push(m);continue}let b=i;if((g=this.options.extensions)!=null&&g.startBlock){let p=1/0;const v=i.slice(1);let z;this.options.extensions.startBlock.forEach(D=>{z=D.call({lexer:this},v),typeof z=="number"&&z>=0&&(p=Math.min(p,z))}),p<1/0&&p>=0&&(b=i.substring(0,p+1))}if(this.state.top&&(m=this.tokenizer.paragraph(b))){const p=s.at(-1);c&&(p==null?void 0:p.type)==="paragraph"?(p.raw+=`
127
+ `+m.raw,p.text+=`
128
+ `+m.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=p.text):s.push(m),c=b.length!==i.length,i=i.substring(m.raw.length);continue}if(m=this.tokenizer.text(i)){i=i.substring(m.raw.length);const p=s.at(-1);(p==null?void 0:p.type)==="text"?(p.raw+=`
129
+ `+m.raw,p.text+=`
130
+ `+m.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=p.text):s.push(m);continue}if(i){const p="Infinite loop on byte: "+i.charCodeAt(0);if(this.options.silent){console.error(p);break}else throw new Error(p)}}return this.state.top=!0,s}inline(i,s=[]){return this.inlineQueue.push({src:i,tokens:s}),s}inlineTokens(i,s=[]){var m,b,p;let c=i,o=null;if(this.tokens.links){const v=Object.keys(this.tokens.links);if(v.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(c))!=null;)v.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(c))!=null;)c=c.slice(0,o.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(o=this.tokenizer.rules.inline.blockSkip.exec(c))!=null;)c=c.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let d=!1,g="";for(;i;){d||(g=""),d=!1;let v;if((b=(m=this.options.extensions)==null?void 0:m.inline)!=null&&b.some(D=>(v=D.call({lexer:this},i,s))?(i=i.substring(v.raw.length),s.push(v),!0):!1))continue;if(v=this.tokenizer.escape(i)){i=i.substring(v.raw.length),s.push(v);continue}if(v=this.tokenizer.tag(i)){i=i.substring(v.raw.length),s.push(v);continue}if(v=this.tokenizer.link(i)){i=i.substring(v.raw.length),s.push(v);continue}if(v=this.tokenizer.reflink(i,this.tokens.links)){i=i.substring(v.raw.length);const D=s.at(-1);v.type==="text"&&(D==null?void 0:D.type)==="text"?(D.raw+=v.raw,D.text+=v.text):s.push(v);continue}if(v=this.tokenizer.emStrong(i,c,g)){i=i.substring(v.raw.length),s.push(v);continue}if(v=this.tokenizer.codespan(i)){i=i.substring(v.raw.length),s.push(v);continue}if(v=this.tokenizer.br(i)){i=i.substring(v.raw.length),s.push(v);continue}if(v=this.tokenizer.del(i)){i=i.substring(v.raw.length),s.push(v);continue}if(v=this.tokenizer.autolink(i)){i=i.substring(v.raw.length),s.push(v);continue}if(!this.state.inLink&&(v=this.tokenizer.url(i))){i=i.substring(v.raw.length),s.push(v);continue}let z=i;if((p=this.options.extensions)!=null&&p.startInline){let D=1/0;const Q=i.slice(1);let N;this.options.extensions.startInline.forEach(H=>{N=H.call({lexer:this},Q),typeof N=="number"&&N>=0&&(D=Math.min(D,N))}),D<1/0&&D>=0&&(z=i.substring(0,D+1))}if(v=this.tokenizer.inlineText(z)){i=i.substring(v.raw.length),v.raw.slice(-1)!=="_"&&(g=v.raw.slice(-1)),d=!0;const D=s.at(-1);(D==null?void 0:D.type)==="text"?(D.raw+=v.raw,D.text+=v.text):s.push(v);continue}if(i){const D="Infinite loop on byte: "+i.charCodeAt(0);if(this.options.silent){console.error(D);break}else throw new Error(D)}}return s}},ui=class{constructor(r){Tt(this,"options");Tt(this,"parser");this.options=r||Bl}space(r){return""}code({text:r,lang:i,escaped:s}){var d;const c=(d=(i||"").match(ee.notSpaceStart))==null?void 0:d[0],o=r.replace(ee.endingNewline,"")+`
131
+ `;return c?'<pre><code class="language-'+Be(c)+'">'+(s?o:Be(o,!0))+`</code></pre>
132
+ `:"<pre><code>"+(s?o:Be(o,!0))+`</code></pre>
133
+ `}blockquote({tokens:r}){return`<blockquote>
134
+ ${this.parser.parse(r)}</blockquote>
135
+ `}html({text:r}){return r}heading({tokens:r,depth:i}){return`<h${i}>${this.parser.parseInline(r)}</h${i}>
136
+ `}hr(r){return`<hr>
137
+ `}list(r){const i=r.ordered,s=r.start;let c="";for(let g=0;g<r.items.length;g++){const m=r.items[g];c+=this.listitem(m)}const o=i?"ol":"ul",d=i&&s!==1?' start="'+s+'"':"";return"<"+o+d+`>
138
+ `+c+"</"+o+`>
139
+ `}listitem(r){var s;let i="";if(r.task){const c=this.checkbox({checked:!!r.checked});r.loose?((s=r.tokens[0])==null?void 0:s.type)==="paragraph"?(r.tokens[0].text=c+" "+r.tokens[0].text,r.tokens[0].tokens&&r.tokens[0].tokens.length>0&&r.tokens[0].tokens[0].type==="text"&&(r.tokens[0].tokens[0].text=c+" "+Be(r.tokens[0].tokens[0].text),r.tokens[0].tokens[0].escaped=!0)):r.tokens.unshift({type:"text",raw:c+" ",text:c+" ",escaped:!0}):i+=c+" "}return i+=this.parser.parse(r.tokens,!!r.loose),`<li>${i}</li>
140
+ `}checkbox({checked:r}){return"<input "+(r?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:r}){return`<p>${this.parser.parseInline(r)}</p>
141
+ `}table(r){let i="",s="";for(let o=0;o<r.header.length;o++)s+=this.tablecell(r.header[o]);i+=this.tablerow({text:s});let c="";for(let o=0;o<r.rows.length;o++){const d=r.rows[o];s="";for(let g=0;g<d.length;g++)s+=this.tablecell(d[g]);c+=this.tablerow({text:s})}return c&&(c=`<tbody>${c}</tbody>`),`<table>
102
142
  <thead>
103
- `+e+`</thead>
104
- `+n+`</table>
105
- `}tablerow({text:t}){return`<tr>
106
- ${t}</tr>
107
- `}tablecell(t){const e=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+`</${r}>
108
- `}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${D(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:r}){const n=this.parser.parseInline(r),i=Et(t);if(i===null)return n;t=i;let s='<a href="'+t+'"';return e&&(s+=' title="'+D(e)+'"'),s+=">"+n+"</a>",s}image({href:t,title:e,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));const i=Et(t);if(i===null)return D(r);t=i;let s=`<img src="${t}" alt="${r}"`;return e&&(s+=` title="${D(e)}"`),s+=">",s}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:D(t.text)}},Fe=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}},J=class st{constructor(e){R(this,"options");R(this,"renderer");R(this,"textRenderer");this.options=e||Z,this.options.renderer=this.options.renderer||new me,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Fe}static parse(e,r){return new st(r).parse(e)}static parseInline(e,r){return new st(r).parseInline(e)}parse(e,r=!0){var i,s;let n="";for(let o=0;o<e.length;o++){const a=e[o];if((s=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&s[a.type]){const l=a,c=this.options.extensions.renderers[l.type].call({parser:this},l);if(c!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(l.type)){n+=c||"";continue}}const u=a;switch(u.type){case"space":{n+=this.renderer.space(u);continue}case"hr":{n+=this.renderer.hr(u);continue}case"heading":{n+=this.renderer.heading(u);continue}case"code":{n+=this.renderer.code(u);continue}case"table":{n+=this.renderer.table(u);continue}case"blockquote":{n+=this.renderer.blockquote(u);continue}case"list":{n+=this.renderer.list(u);continue}case"html":{n+=this.renderer.html(u);continue}case"paragraph":{n+=this.renderer.paragraph(u);continue}case"text":{let l=u,c=this.renderer.text(l);for(;o+1<e.length&&e[o+1].type==="text";)l=e[++o],c+=`
109
- `+this.renderer.text(l);r?n+=this.renderer.paragraph({type:"paragraph",raw:c,text:c,tokens:[{type:"text",raw:c,text:c,escaped:!0}]}):n+=c;continue}default:{const l='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return n}parseInline(e,r=this.renderer){var i,s;let n="";for(let o=0;o<e.length;o++){const a=e[o];if((s=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&s[a.type]){const l=this.options.extensions.renderers[a.type].call({parser:this},a);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){n+=l||"";continue}}const u=a;switch(u.type){case"escape":{n+=r.text(u);break}case"html":{n+=r.html(u);break}case"link":{n+=r.link(u);break}case"image":{n+=r.image(u);break}case"strong":{n+=r.strong(u);break}case"em":{n+=r.em(u);break}case"codespan":{n+=r.codespan(u);break}case"br":{n+=r.br(u);break}case"del":{n+=r.del(u);break}case"text":{n+=r.text(u);break}default:{const l='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return n}},be=(tt=class{constructor(t){R(this,"options");R(this,"block");this.options=t||Z}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?H.lex:H.lexInline}provideParser(){return this.block?J.parse:J.parseInline}},R(tt,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),tt),an=class{constructor(...t){R(this,"defaults",Pe());R(this,"options",this.setOptions);R(this,"parse",this.parseMarkdown(!0));R(this,"parseInline",this.parseMarkdown(!1));R(this,"Parser",J);R(this,"Renderer",me);R(this,"TextRenderer",Fe);R(this,"Lexer",H);R(this,"Tokenizer",we);R(this,"Hooks",be);this.use(...t)}walkTokens(t,e){var n,i;let r=[];for(const s of t)switch(r=r.concat(e.call(this,s)),s.type){case"table":{const o=s;for(const a of o.header)r=r.concat(this.walkTokens(a.tokens,e));for(const a of o.rows)for(const u of a)r=r.concat(this.walkTokens(u.tokens,e));break}case"list":{const o=s;r=r.concat(this.walkTokens(o.items,e));break}default:{const o=s;(i=(n=this.defaults.extensions)==null?void 0:n.childTokens)!=null&&i[o.type]?this.defaults.extensions.childTokens[o.type].forEach(a=>{const u=o[a].flat(1/0);r=r.concat(this.walkTokens(u,e))}):o.tokens&&(r=r.concat(this.walkTokens(o.tokens,e)))}}return r}use(...t){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{const n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const s=e.renderers[i.name];s?e.renderers[i.name]=function(...o){let a=i.renderer.apply(this,o);return a===!1&&(a=s.apply(this,o)),a}:e.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const s=e[i.level];s?s.unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&(i.level==="block"?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:i.level==="inline"&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(e.childTokens[i.name]=i.childTokens)}),n.extensions=e),r.renderer){const i=this.defaults.renderer||new me(this.defaults);for(const s in r.renderer){if(!(s in i))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;const o=s,a=r.renderer[o],u=i[o];i[o]=(...l)=>{let c=a.apply(i,l);return c===!1&&(c=u.apply(i,l)),c||""}}n.renderer=i}if(r.tokenizer){const i=this.defaults.tokenizer||new we(this.defaults);for(const s in r.tokenizer){if(!(s in i))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;const o=s,a=r.tokenizer[o],u=i[o];i[o]=(...l)=>{let c=a.apply(i,l);return c===!1&&(c=u.apply(i,l)),c}}n.tokenizer=i}if(r.hooks){const i=this.defaults.hooks||new be;for(const s in r.hooks){if(!(s in i))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;const o=s,a=r.hooks[o],u=i[o];be.passThroughHooks.has(s)?i[o]=l=>{if(this.defaults.async)return Promise.resolve(a.call(i,l)).then(h=>u.call(i,h));const c=a.call(i,l);return u.call(i,c)}:i[o]=(...l)=>{let c=a.apply(i,l);return c===!1&&(c=u.apply(i,l)),c}}n.hooks=i}if(r.walkTokens){const i=this.defaults.walkTokens,s=r.walkTokens;n.walkTokens=function(o){let a=[];return a.push(s.call(this,o)),i&&(a=a.concat(i.call(this,o))),a}}this.defaults={...this.defaults,...n}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return H.lex(t,e??this.defaults)}parser(t,e){return J.parse(t,e??this.defaults)}parseMarkdown(t){return(r,n)=>{const i={...n},s={...this.defaults,...i},o=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&i.async===!1)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof r>"u"||r===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=t);const a=s.hooks?s.hooks.provideLexer():t?H.lex:H.lexInline,u=s.hooks?s.hooks.provideParser():t?J.parse:J.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(r):r).then(l=>a(l,s)).then(l=>s.hooks?s.hooks.processAllTokens(l):l).then(l=>s.walkTokens?Promise.all(this.walkTokens(l,s.walkTokens)).then(()=>l):l).then(l=>u(l,s)).then(l=>s.hooks?s.hooks.postprocess(l):l).catch(o);try{s.hooks&&(r=s.hooks.preprocess(r));let l=a(r,s);s.hooks&&(l=s.hooks.processAllTokens(l)),s.walkTokens&&this.walkTokens(l,s.walkTokens);let c=u(l,s);return s.hooks&&(c=s.hooks.postprocess(c)),c}catch(l){return o(l)}}}onError(t,e){return r=>{if(r.message+=`
110
- Please report this to https://github.com/markedjs/marked.`,t){const n="<p>An error occurred:</p><pre>"+D(r.message+"",!0)+"</pre>";return e?Promise.resolve(n):n}if(e)return Promise.reject(r);throw r}}},W=new an;function y(t,e){return W.parse(t,e)}y.options=y.setOptions=function(t){return W.setOptions(t),y.defaults=W.defaults,dt(y.defaults),y},y.getDefaults=Pe,y.defaults=Z,y.use=function(...t){return W.use(...t),y.defaults=W.defaults,dt(y.defaults),y},y.walkTokens=function(t,e){return W.walkTokens(t,e)},y.parseInline=W.parseInline,y.Parser=J,y.parser=J.parse,y.Renderer=me,y.TextRenderer=Fe,y.Lexer=H,y.lexer=H.lex,y.Tokenizer=we,y.Hooks=be,y.parse=y,y.options,y.setOptions,y.use,y.walkTokens,y.parseInline,J.parse,H.lex;function ln({message:t,index:e,theme:r}){const n=C.useMemo(()=>y(t.content.replaceAll("```",""),{gfm:!0,breaks:!0}),[t.content]);return m.jsx("div",{className:`flex ${t.sender==="user"?"justify-end":"justify-start"}`,style:{animationDelay:`${e*.1}s`},children:m.jsx("div",{className:`
143
+ `+i+`</thead>
144
+ `+c+`</table>
145
+ `}tablerow({text:r}){return`<tr>
146
+ ${r}</tr>
147
+ `}tablecell(r){const i=this.parser.parseInline(r.tokens),s=r.header?"th":"td";return(r.align?`<${s} align="${r.align}">`:`<${s}>`)+i+`</${s}>
148
+ `}strong({tokens:r}){return`<strong>${this.parser.parseInline(r)}</strong>`}em({tokens:r}){return`<em>${this.parser.parseInline(r)}</em>`}codespan({text:r}){return`<code>${Be(r,!0)}</code>`}br(r){return"<br>"}del({tokens:r}){return`<del>${this.parser.parseInline(r)}</del>`}link({href:r,title:i,tokens:s}){const c=this.parser.parseInline(s),o=eo(r);if(o===null)return c;r=o;let d='<a href="'+r+'"';return i&&(d+=' title="'+Be(i)+'"'),d+=">"+c+"</a>",d}image({href:r,title:i,text:s,tokens:c}){c&&(s=this.parser.parseInline(c,this.parser.textRenderer));const o=eo(r);if(o===null)return Be(s);r=o;let d=`<img src="${r}" alt="${s}"`;return i&&(d+=` title="${Be(i)}"`),d+=">",d}text(r){return"tokens"in r&&r.tokens?this.parser.parseInline(r.tokens):"escaped"in r&&r.escaped?r.text:Be(r.text)}},Pu=class{strong({text:r}){return r}em({text:r}){return r}codespan({text:r}){return r}del({text:r}){return r}html({text:r}){return r}text({text:r}){return r}link({text:r}){return""+r}image({text:r}){return""+r}br(){return""}},Ke=class zc{constructor(i){Tt(this,"options");Tt(this,"renderer");Tt(this,"textRenderer");this.options=i||Bl,this.options.renderer=this.options.renderer||new ui,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Pu}static parse(i,s){return new zc(s).parse(i)}static parseInline(i,s){return new zc(s).parseInline(i)}parse(i,s=!0){var o,d;let c="";for(let g=0;g<i.length;g++){const m=i[g];if((d=(o=this.options.extensions)==null?void 0:o.renderers)!=null&&d[m.type]){const p=m,v=this.options.extensions.renderers[p.type].call({parser:this},p);if(v!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(p.type)){c+=v||"";continue}}const b=m;switch(b.type){case"space":{c+=this.renderer.space(b);continue}case"hr":{c+=this.renderer.hr(b);continue}case"heading":{c+=this.renderer.heading(b);continue}case"code":{c+=this.renderer.code(b);continue}case"table":{c+=this.renderer.table(b);continue}case"blockquote":{c+=this.renderer.blockquote(b);continue}case"list":{c+=this.renderer.list(b);continue}case"html":{c+=this.renderer.html(b);continue}case"paragraph":{c+=this.renderer.paragraph(b);continue}case"text":{let p=b,v=this.renderer.text(p);for(;g+1<i.length&&i[g+1].type==="text";)p=i[++g],v+=`
149
+ `+this.renderer.text(p);s?c+=this.renderer.paragraph({type:"paragraph",raw:v,text:v,tokens:[{type:"text",raw:v,text:v,escaped:!0}]}):c+=v;continue}default:{const p='Token with "'+b.type+'" type was not found.';if(this.options.silent)return console.error(p),"";throw new Error(p)}}}return c}parseInline(i,s=this.renderer){var o,d;let c="";for(let g=0;g<i.length;g++){const m=i[g];if((d=(o=this.options.extensions)==null?void 0:o.renderers)!=null&&d[m.type]){const p=this.options.extensions.renderers[m.type].call({parser:this},m);if(p!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(m.type)){c+=p||"";continue}}const b=m;switch(b.type){case"escape":{c+=s.text(b);break}case"html":{c+=s.html(b);break}case"link":{c+=s.link(b);break}case"image":{c+=s.image(b);break}case"strong":{c+=s.strong(b);break}case"em":{c+=s.em(b);break}case"codespan":{c+=s.codespan(b);break}case"br":{c+=s.br(b);break}case"del":{c+=s.del(b);break}case"text":{c+=s.text(b);break}default:{const p='Token with "'+b.type+'" type was not found.';if(this.options.silent)return console.error(p),"";throw new Error(p)}}}return c}},ri=(fr=class{constructor(r){Tt(this,"options");Tt(this,"block");this.options=r||Bl}preprocess(r){return r}postprocess(r){return r}processAllTokens(r){return r}provideLexer(){return this.block?Ve.lex:Ve.lexInline}provideParser(){return this.block?Ke.parse:Ke.parseInline}},Tt(fr,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),fr),L0=class{constructor(...r){Tt(this,"defaults",Xu());Tt(this,"options",this.setOptions);Tt(this,"parse",this.parseMarkdown(!0));Tt(this,"parseInline",this.parseMarkdown(!1));Tt(this,"Parser",Ke);Tt(this,"Renderer",ui);Tt(this,"TextRenderer",Pu);Tt(this,"Lexer",Ve);Tt(this,"Tokenizer",ii);Tt(this,"Hooks",ri);this.use(...r)}walkTokens(r,i){var c,o;let s=[];for(const d of r)switch(s=s.concat(i.call(this,d)),d.type){case"table":{const g=d;for(const m of g.header)s=s.concat(this.walkTokens(m.tokens,i));for(const m of g.rows)for(const b of m)s=s.concat(this.walkTokens(b.tokens,i));break}case"list":{const g=d;s=s.concat(this.walkTokens(g.items,i));break}default:{const g=d;(o=(c=this.defaults.extensions)==null?void 0:c.childTokens)!=null&&o[g.type]?this.defaults.extensions.childTokens[g.type].forEach(m=>{const b=g[m].flat(1/0);s=s.concat(this.walkTokens(b,i))}):g.tokens&&(s=s.concat(this.walkTokens(g.tokens,i)))}}return s}use(...r){const i=this.defaults.extensions||{renderers:{},childTokens:{}};return r.forEach(s=>{const c={...s};if(c.async=this.defaults.async||c.async||!1,s.extensions&&(s.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const d=i.renderers[o.name];d?i.renderers[o.name]=function(...g){let m=o.renderer.apply(this,g);return m===!1&&(m=d.apply(this,g)),m}:i.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const d=i[o.level];d?d.unshift(o.tokenizer):i[o.level]=[o.tokenizer],o.start&&(o.level==="block"?i.startBlock?i.startBlock.push(o.start):i.startBlock=[o.start]:o.level==="inline"&&(i.startInline?i.startInline.push(o.start):i.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(i.childTokens[o.name]=o.childTokens)}),c.extensions=i),s.renderer){const o=this.defaults.renderer||new ui(this.defaults);for(const d in s.renderer){if(!(d in o))throw new Error(`renderer '${d}' does not exist`);if(["options","parser"].includes(d))continue;const g=d,m=s.renderer[g],b=o[g];o[g]=(...p)=>{let v=m.apply(o,p);return v===!1&&(v=b.apply(o,p)),v||""}}c.renderer=o}if(s.tokenizer){const o=this.defaults.tokenizer||new ii(this.defaults);for(const d in s.tokenizer){if(!(d in o))throw new Error(`tokenizer '${d}' does not exist`);if(["options","rules","lexer"].includes(d))continue;const g=d,m=s.tokenizer[g],b=o[g];o[g]=(...p)=>{let v=m.apply(o,p);return v===!1&&(v=b.apply(o,p)),v}}c.tokenizer=o}if(s.hooks){const o=this.defaults.hooks||new ri;for(const d in s.hooks){if(!(d in o))throw new Error(`hook '${d}' does not exist`);if(["options","block"].includes(d))continue;const g=d,m=s.hooks[g],b=o[g];ri.passThroughHooks.has(d)?o[g]=p=>{if(this.defaults.async)return Promise.resolve(m.call(o,p)).then(z=>b.call(o,z));const v=m.call(o,p);return b.call(o,v)}:o[g]=(...p)=>{let v=m.apply(o,p);return v===!1&&(v=b.apply(o,p)),v}}c.hooks=o}if(s.walkTokens){const o=this.defaults.walkTokens,d=s.walkTokens;c.walkTokens=function(g){let m=[];return m.push(d.call(this,g)),o&&(m=m.concat(o.call(this,g))),m}}this.defaults={...this.defaults,...c}}),this}setOptions(r){return this.defaults={...this.defaults,...r},this}lexer(r,i){return Ve.lex(r,i??this.defaults)}parser(r,i){return Ke.parse(r,i??this.defaults)}parseMarkdown(r){return(s,c)=>{const o={...c},d={...this.defaults,...o},g=this.onError(!!d.silent,!!d.async);if(this.defaults.async===!0&&o.async===!1)return g(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof s>"u"||s===null)return g(new Error("marked(): input parameter is undefined or null"));if(typeof s!="string")return g(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));d.hooks&&(d.hooks.options=d,d.hooks.block=r);const m=d.hooks?d.hooks.provideLexer():r?Ve.lex:Ve.lexInline,b=d.hooks?d.hooks.provideParser():r?Ke.parse:Ke.parseInline;if(d.async)return Promise.resolve(d.hooks?d.hooks.preprocess(s):s).then(p=>m(p,d)).then(p=>d.hooks?d.hooks.processAllTokens(p):p).then(p=>d.walkTokens?Promise.all(this.walkTokens(p,d.walkTokens)).then(()=>p):p).then(p=>b(p,d)).then(p=>d.hooks?d.hooks.postprocess(p):p).catch(g);try{d.hooks&&(s=d.hooks.preprocess(s));let p=m(s,d);d.hooks&&(p=d.hooks.processAllTokens(p)),d.walkTokens&&this.walkTokens(p,d.walkTokens);let v=b(p,d);return d.hooks&&(v=d.hooks.postprocess(v)),v}catch(p){return g(p)}}}onError(r,i){return s=>{if(s.message+=`
150
+ Please report this to https://github.com/markedjs/marked.`,r){const c="<p>An error occurred:</p><pre>"+Be(s.message+"",!0)+"</pre>";return i?Promise.resolve(c):c}if(i)return Promise.reject(s);throw s}}},Cl=new L0;function mt(r,i){return Cl.parse(r,i)}mt.options=mt.setOptions=function(r){return Cl.setOptions(r),mt.defaults=Cl.defaults,Gc(mt.defaults),mt},mt.getDefaults=Xu,mt.defaults=Bl,mt.use=function(...r){return Cl.use(...r),mt.defaults=Cl.defaults,Gc(mt.defaults),mt},mt.walkTokens=function(r,i){return Cl.walkTokens(r,i)},mt.parseInline=Cl.parseInline,mt.Parser=Ke,mt.parser=Ke.parse,mt.Renderer=ui,mt.TextRenderer=Pu,mt.Lexer=Ve,mt.lexer=Ve.lex,mt.Tokenizer=ii,mt.Hooks=ri,mt.parse=mt,mt.options,mt.setOptions,mt.use,mt.walkTokens,mt.parseInline,Ke.parse,Ve.lex;function Y0({message:r,index:i,theme:s}){const c=Wt.useMemo(()=>mt(r.content.replaceAll("```",""),{gfm:!0,breaks:!0}),[r.content]);return J.jsx("div",{className:`flex ${r.sender==="user"?"justify-end":"justify-start"}`,style:{animationDelay:`${i*.1}s`},children:J.jsx("div",{className:`
111
151
  rounded-2xl p-3 shadow-lg
112
- ${t.sender==="user"?`${M(r,"messageUser")} ml-4 max-w-[80%]`:`${M(r,"messageBot")} mr-4 max-w-[100%]`}
113
- `,children:m.jsxs("div",{className:"flex items-start space-x-2",children:[t.sender==="bot"&&m.jsx(Ne,{className:"w-4 h-4 mt-0.5 text-pink-200 flex-shrink-0"}),t.sender==="user"&&m.jsx(vr,{className:"w-4 h-4 mt-0.5 text-pink-200 flex-shrink-0"}),m.jsx("div",{className:"text-sm leading-relaxed message",dangerouslySetInnerHTML:{__html:n}})]})})})}function cn(){return m.jsx("div",{className:"flex justify-start",children:m.jsx("div",{className:"bg-gradient-to-r from-slate-700 to-slate-600 rounded-2xl p-3 mr-4",children:m.jsxs("div",{className:"flex items-center space-x-2",children:[m.jsx(Ne,{className:"w-4 h-4 text-cyan-400"}),m.jsxs("div",{className:"flex space-x-1",children:[m.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce"}),m.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),m.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})]})})})}function un(){return m.jsx("div",{className:"absolute -top-2 -left-2 w-6 h-6 bg-gradient-to-r from-pink-500 to-red-500 rounded-full flex items-center justify-center animate-pulse",children:m.jsx("span",{className:"text-white text-xs font-bold",children:"1"})})}function pn({inputValue:t,setInputValue:e,handleSendMessage:r,handleKeyPress:n,theme:i}){return m.jsx("div",{className:"p-4 border-t border-purple-500/20",children:m.jsxs("div",{className:"flex space-x-2",children:[m.jsx("textarea",{value:t,onChange:s=>e(s.target.value),onKeyPress:n,placeholder:"Type your message...",className:`flex-1 border ${M(i,"input")} rounded-xl px-4 py-2 focus:outline-none focus:ring-2 transition-all`}),m.jsx("button",{onClick:r,disabled:!t.trim(),children:m.jsx(yr,{className:`w-4 h-4 ${M(i,"sendButton")} cursor-pointer`})})]})})}function dn({setIsOpen:t,isOpen:e}){return m.jsx("button",{onClick:()=>t(!e),className:`
152
+ ${r.sender==="user"?`${Ze(s,"messageUser")} ml-4 max-w-[80%]`:`${Ze(s,"messageBot")} mr-4 max-w-[100%]`}
153
+ `,children:J.jsxs("div",{className:"flex items-start space-x-2",children:[r.sender==="bot"&&J.jsx(Gu,{className:"w-4 h-4 mt-0.5 text-pink-200 flex-shrink-0"}),r.sender==="user"&&J.jsx(l0,{className:"w-4 h-4 mt-0.5 text-pink-200 flex-shrink-0"}),J.jsx("div",{className:"text-sm leading-relaxed message",dangerouslySetInnerHTML:{__html:c}})]})})})}function G0(){return J.jsx("div",{className:"flex justify-start",children:J.jsx("div",{className:"bg-gradient-to-r from-slate-700 to-slate-600 rounded-2xl p-3 mr-4",children:J.jsxs("div",{className:"flex items-center space-x-2",children:[J.jsx(Gu,{className:"w-4 h-4 text-cyan-400"}),J.jsxs("div",{className:"flex space-x-1",children:[J.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce"}),J.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),J.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})]})})})}function X0(){return J.jsx("div",{className:"absolute -top-2 -left-2 w-6 h-6 bg-gradient-to-r from-pink-500 to-red-500 rounded-full flex items-center justify-center animate-pulse",children:J.jsx("span",{className:"text-white text-xs font-bold",children:"1"})})}function Q0({inputValue:r,setInputValue:i,handleSendMessage:s,handleKeyPress:c,theme:o}){return J.jsx("div",{className:"p-4 border-t border-purple-500/20",children:J.jsxs("div",{className:"flex space-x-2",children:[J.jsx("textarea",{value:r,onChange:d=>i(d.target.value),onKeyPress:c,placeholder:"Type your message...",className:`flex-1 border ${Ze(o,"input")} rounded-xl px-4 py-2 focus:outline-none focus:ring-2 transition-all`}),J.jsx("button",{onClick:s,disabled:!r.trim(),children:J.jsx(e0,{className:`w-4 h-4 ${Ze(o,"sendButton")} cursor-pointer`})})]})})}function Z0({setIsOpen:r,isOpen:i}){return J.jsx("button",{onClick:()=>r(!i),className:`
114
154
  w-14 h-14 bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700
115
155
  rounded-full shadow-2xl flex items-center justify-center text-white
116
156
  transition-all duration-300 transform hover:scale-110 active:scale-95 cursor-pointer
117
- ${e?"rotate-180":"rotate-0"}
118
- `,style:{boxShadow:"0 0 30px rgba(147, 51, 234, 0.5)"},children:e?m.jsx(pt,{className:"w-6 h-6"}):m.jsx(kr,{className:"w-6 h-6"})})}function hn(t){return new Promise(e=>setTimeout(e,t))}function fn({prompt:t,handleSendMessage:e,theme:r}){const n=()=>{e(t)};return m.jsx("div",{onClick:n,className:`${M(r,"prompt")} text-sm rounded-full transition hover:scale-98 cursor-pointer px-4 py-2`,children:t})}function Ct(t,e){return function(){return t.apply(e,arguments)}}var _t={};const{toString:gn}=Object.prototype,{getPrototypeOf:Me}=Object,{iterator:xe,toStringTag:Ot}=Symbol,ke=(t=>e=>{const r=gn.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),I=t=>(t=t.toLowerCase(),e=>ke(e)===t),ye=t=>e=>typeof e===t,{isArray:X}=Array,ae=ye("undefined");function wn(t){return t!==null&&!ae(t)&&t.constructor!==null&&!ae(t.constructor)&&P(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const $t=I("ArrayBuffer");function mn(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&$t(t.buffer),e}const bn=ye("string"),P=ye("function"),Nt=ye("number"),ve=t=>t!==null&&typeof t=="object",xn=t=>t===!0||t===!1,Re=t=>{if(ke(t)!=="object")return!1;const e=Me(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Ot in t)&&!(xe in t)},kn=I("Date"),yn=I("File"),vn=I("Blob"),Rn=I("FileList"),Sn=t=>ve(t)&&P(t.pipe),En=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||P(t.append)&&((e=ke(t))==="formdata"||e==="object"&&P(t.toString)&&t.toString()==="[object FormData]"))},Tn=I("URLSearchParams"),[An,Cn,_n,On]=["ReadableStream","Request","Response","Headers"].map(I),$n=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function le(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,i;if(typeof t!="object"&&(t=[t]),X(t))for(n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else{const s=r?Object.getOwnPropertyNames(t):Object.keys(t),o=s.length;let a;for(n=0;n<o;n++)a=s[n],e.call(null,t[a],a,t)}}function Pt(t,e){e=e.toLowerCase();const r=Object.keys(t);let n=r.length,i;for(;n-- >0;)if(i=r[n],e===i.toLowerCase())return i;return null}const V=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,jt=t=>!ae(t)&&t!==V;function He(){const{caseless:t}=jt(this)&&this||{},e={},r=(n,i)=>{const s=t&&Pt(e,i)||i;Re(e[s])&&Re(n)?e[s]=He(e[s],n):Re(n)?e[s]=He({},n):X(n)?e[s]=n.slice():e[s]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&le(arguments[n],r);return e}const Nn=(t,e,r,{allOwnKeys:n}={})=>(le(e,(i,s)=>{r&&P(i)?t[s]=Ct(i,r):t[s]=i},{allOwnKeys:n}),t),Pn=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),jn=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},zn=(t,e,r,n)=>{let i,s,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)o=i[s],(!n||n(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=r!==!1&&Me(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Ln=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Bn=t=>{if(!t)return null;if(X(t))return t;let e=t.length;if(!Nt(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},In=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Me(Uint8Array)),Dn=(t,e)=>{const n=(t&&t[xe]).call(t);let i;for(;(i=n.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},Un=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},qn=I("HTMLFormElement"),Fn=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),zt=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Mn=I("RegExp"),Lt=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};le(r,(i,s)=>{let o;(o=e(i,s,t))!==!1&&(n[s]=o||i)}),Object.defineProperties(t,n)},Hn=t=>{Lt(t,(e,r)=>{if(P(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(P(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Jn=(t,e)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return X(t)?n(t):n(String(t).split(e)),r},Zn=()=>{},Wn=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Vn(t){return!!(t&&P(t.append)&&t[Ot]==="FormData"&&t[xe])}const Gn=t=>{const e=new Array(10),r=(n,i)=>{if(ve(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[i]=n;const s=X(n)?[]:{};return le(n,(o,a)=>{const u=r(o,i+1);!ae(u)&&(s[a]=u)}),e[i]=void 0,s}}return n};return r(t,0)},Kn=I("AsyncFunction"),Xn=t=>t&&(ve(t)||P(t))&&P(t.then)&&P(t.catch),Bt=((t,e)=>t?setImmediate:e?((r,n)=>(V.addEventListener("message",({source:i,data:s})=>{i===V&&s===r&&n.length&&n.shift()()},!1),i=>{n.push(i),V.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",P(V.postMessage)),Qn=typeof queueMicrotask<"u"?queueMicrotask.bind(V):typeof _t<"u"&&_t.nextTick||Bt,p={isArray:X,isArrayBuffer:$t,isBuffer:wn,isFormData:En,isArrayBufferView:mn,isString:bn,isNumber:Nt,isBoolean:xn,isObject:ve,isPlainObject:Re,isReadableStream:An,isRequest:Cn,isResponse:_n,isHeaders:On,isUndefined:ae,isDate:kn,isFile:yn,isBlob:vn,isRegExp:Mn,isFunction:P,isStream:Sn,isURLSearchParams:Tn,isTypedArray:In,isFileList:Rn,forEach:le,merge:He,extend:Nn,trim:$n,stripBOM:Pn,inherits:jn,toFlatObject:zn,kindOf:ke,kindOfTest:I,endsWith:Ln,toArray:Bn,forEachEntry:Dn,matchAll:Un,isHTMLForm:qn,hasOwnProperty:zt,hasOwnProp:zt,reduceDescriptors:Lt,freezeMethods:Hn,toObjectSet:Jn,toCamelCase:Fn,noop:Zn,toFiniteNumber:Wn,findKey:Pt,global:V,isContextDefined:jt,isSpecCompliantForm:Vn,toJSONObject:Gn,isAsyncFn:Kn,isThenable:Xn,setImmediate:Bt,asap:Qn,isIterable:t=>t!=null&&P(t[xe])};function b(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}p.inherits(b,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:p.toJSONObject(this.config),code:this.code,status:this.status}}});const It=b.prototype,Dt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Dt[t]={value:t}}),Object.defineProperties(b,Dt),Object.defineProperty(It,"isAxiosError",{value:!0}),b.from=(t,e,r,n,i,s)=>{const o=Object.create(It);return p.toFlatObject(t,o,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),b.call(o,t.message,e,r,n,i),o.cause=t,o.name=t.name,s&&Object.assign(o,s),o};const Yn=null;function Je(t){return p.isPlainObject(t)||p.isArray(t)}function Ut(t){return p.endsWith(t,"[]")?t.slice(0,-2):t}function qt(t,e,r){return t?t.concat(e).map(function(i,s){return i=Ut(i),!r&&s?"["+i+"]":i}).join(r?".":""):e}function ei(t){return p.isArray(t)&&!t.some(Je)}const ti=p.toFlatObject(p,{},null,function(e){return/^is[A-Z]/.test(e)});function Se(t,e,r){if(!p.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=p.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,w){return!p.isUndefined(w[g])});const n=r.metaTokens,i=r.visitor||c,s=r.dots,o=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&p.isSpecCompliantForm(e);if(!p.isFunction(i))throw new TypeError("visitor must be a function");function l(f){if(f===null)return"";if(p.isDate(f))return f.toISOString();if(p.isBoolean(f))return f.toString();if(!u&&p.isBlob(f))throw new b("Blob is not supported. Use a Buffer instead.");return p.isArrayBuffer(f)||p.isTypedArray(f)?u&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,g,w){let v=f;if(f&&!w&&typeof f=="object"){if(p.endsWith(g,"{}"))g=n?g:g.slice(0,-2),f=JSON.stringify(f);else if(p.isArray(f)&&ei(f)||(p.isFileList(f)||p.endsWith(g,"[]"))&&(v=p.toArray(f)))return g=Ut(g),v.forEach(function(T,z){!(p.isUndefined(T)||T===null)&&e.append(o===!0?qt([g],z,s):o===null?g:g+"[]",l(T))}),!1}return Je(f)?!0:(e.append(qt(w,g,s),l(f)),!1)}const h=[],d=Object.assign(ti,{defaultVisitor:c,convertValue:l,isVisitable:Je});function x(f,g){if(!p.isUndefined(f)){if(h.indexOf(f)!==-1)throw Error("Circular reference detected in "+g.join("."));h.push(f),p.forEach(f,function(v,S){(!(p.isUndefined(v)||v===null)&&i.call(e,v,p.isString(S)?S.trim():S,g,d))===!0&&x(v,g?g.concat(S):[S])}),h.pop()}}if(!p.isObject(t))throw new TypeError("data must be an object");return x(t),e}function Ft(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Ze(t,e){this._pairs=[],t&&Se(t,this,e)}const Mt=Ze.prototype;Mt.append=function(e,r){this._pairs.push([e,r])},Mt.toString=function(e){const r=e?function(n){return e.call(this,n,Ft)}:Ft;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function ri(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ht(t,e,r){if(!e)return t;const n=r&&r.encode||ri;p.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let s;if(i?s=i(e,r):s=p.isURLSearchParams(e)?e.toString():new Ze(e,r).toString(n),s){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class Jt{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){p.forEach(this.handlers,function(n){n!==null&&e(n)})}}const Zt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ni={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Ze,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},We=typeof window<"u"&&typeof document<"u",Ve=typeof navigator=="object"&&navigator||void 0,ii=We&&(!Ve||["ReactNative","NativeScript","NS"].indexOf(Ve.product)<0),si=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",oi=We&&window.location.href||"http://localhost",$={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:We,hasStandardBrowserEnv:ii,hasStandardBrowserWebWorkerEnv:si,navigator:Ve,origin:oi},Symbol.toStringTag,{value:"Module"})),...ni};function ai(t,e){return Se(t,new $.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,s){return $.isNode&&p.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function li(t){return p.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function ci(t){const e={},r=Object.keys(t);let n;const i=r.length;let s;for(n=0;n<i;n++)s=r[n],e[s]=t[s];return e}function Wt(t){function e(r,n,i,s){let o=r[s++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),u=s>=r.length;return o=!o&&p.isArray(i)?i.length:o,u?(p.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a):((!i[o]||!p.isObject(i[o]))&&(i[o]=[]),e(r,n,i[o],s)&&p.isArray(i[o])&&(i[o]=ci(i[o])),!a)}if(p.isFormData(t)&&p.isFunction(t.entries)){const r={};return p.forEachEntry(t,(n,i)=>{e(li(n),i,r,0)}),r}return null}function ui(t,e,r){if(p.isString(t))try{return(e||JSON.parse)(t),p.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const ce={transitional:Zt,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,s=p.isObject(e);if(s&&p.isHTMLForm(e)&&(e=new FormData(e)),p.isFormData(e))return i?JSON.stringify(Wt(e)):e;if(p.isArrayBuffer(e)||p.isBuffer(e)||p.isStream(e)||p.isFile(e)||p.isBlob(e)||p.isReadableStream(e))return e;if(p.isArrayBufferView(e))return e.buffer;if(p.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return ai(e,this.formSerializer).toString();if((a=p.isFileList(e))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Se(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return s||i?(r.setContentType("application/json",!1),ui(e)):e}],transformResponse:[function(e){const r=this.transitional||ce.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(p.isResponse(e)||p.isReadableStream(e))return e;if(e&&p.isString(e)&&(n&&!this.responseType||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?b.from(a,b.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$.classes.FormData,Blob:$.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};p.forEach(["delete","get","head","post","put","patch"],t=>{ce.headers[t]={}});const pi=p.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),di=t=>{const e={};let r,n,i;return t&&t.split(`
119
- `).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||e[r]&&pi[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e},Vt=Symbol("internals");function ue(t){return t&&String(t).trim().toLowerCase()}function Ee(t){return t===!1||t==null?t:p.isArray(t)?t.map(Ee):String(t)}function hi(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const fi=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ge(t,e,r,n,i){if(p.isFunction(n))return n.call(this,e,r);if(i&&(e=r),!!p.isString(e)){if(p.isString(n))return e.indexOf(n)!==-1;if(p.isRegExp(n))return n.test(e)}}function gi(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function wi(t,e){const r=p.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(i,s,o){return this[n].call(this,e,i,s,o)},configurable:!0})})}let j=class{constructor(e){e&&this.set(e)}set(e,r,n){const i=this;function s(a,u,l){const c=ue(u);if(!c)throw new Error("header name must be a non-empty string");const h=p.findKey(i,c);(!h||i[h]===void 0||l===!0||l===void 0&&i[h]!==!1)&&(i[h||u]=Ee(a))}const o=(a,u)=>p.forEach(a,(l,c)=>s(l,c,u));if(p.isPlainObject(e)||e instanceof this.constructor)o(e,r);else if(p.isString(e)&&(e=e.trim())&&!fi(e))o(di(e),r);else if(p.isObject(e)&&p.isIterable(e)){let a={},u,l;for(const c of e){if(!p.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[l=c[0]]=(u=a[l])?p.isArray(u)?[...u,c[1]]:[u,c[1]]:c[1]}o(a,r)}else e!=null&&s(r,e,n);return this}get(e,r){if(e=ue(e),e){const n=p.findKey(this,e);if(n){const i=this[n];if(!r)return i;if(r===!0)return hi(i);if(p.isFunction(r))return r.call(this,i,n);if(p.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=ue(e),e){const n=p.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Ge(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let i=!1;function s(o){if(o=ue(o),o){const a=p.findKey(n,o);a&&(!r||Ge(n,n[a],a,r))&&(delete n[a],i=!0)}}return p.isArray(e)?e.forEach(s):s(e),i}clear(e){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!e||Ge(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const r=this,n={};return p.forEach(this,(i,s)=>{const o=p.findKey(n,s);if(o){r[o]=Ee(i),delete r[s];return}const a=e?gi(s):String(s).trim();a!==s&&delete r[s],r[a]=Ee(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return p.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=e&&p.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
120
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(i=>n.set(i)),n}static accessor(e){const n=(this[Vt]=this[Vt]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=ue(o);n[a]||(wi(i,o),n[a]=!0)}return p.isArray(e)?e.forEach(s):s(e),this}};j.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),p.reduceDescriptors(j.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}}),p.freezeMethods(j);function Ke(t,e){const r=this||ce,n=e||r,i=j.from(n.headers);let s=n.data;return p.forEach(t,function(a){s=a.call(r,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function Gt(t){return!!(t&&t.__CANCEL__)}function Q(t,e,r){b.call(this,t??"canceled",b.ERR_CANCELED,e,r),this.name="CanceledError"}p.inherits(Q,b,{__CANCEL__:!0});function Kt(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new b("Request failed with status code "+r.status,[b.ERR_BAD_REQUEST,b.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function mi(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function bi(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i=0,s=0,o;return e=e!==void 0?e:1e3,function(u){const l=Date.now(),c=n[s];o||(o=l),r[i]=u,n[i]=l;let h=s,d=0;for(;h!==i;)d+=r[h++],h=h%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),l-o<e)return;const x=c&&l-c;return x?Math.round(d*1e3/x):void 0}}function xi(t,e){let r=0,n=1e3/e,i,s;const o=(l,c=Date.now())=>{r=c,i=null,s&&(clearTimeout(s),s=null),t.apply(null,l)};return[(...l)=>{const c=Date.now(),h=c-r;h>=n?o(l,c):(i=l,s||(s=setTimeout(()=>{s=null,o(i)},n-h)))},()=>i&&o(i)]}const Te=(t,e,r=3)=>{let n=0;const i=bi(50,250);return xi(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,u=o-n,l=i(u),c=o<=a;n=o;const h={loaded:o,total:a,progress:a?o/a:void 0,bytes:u,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:s,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(h)},r)},Xt=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Qt=t=>(...e)=>p.asap(()=>t(...e)),ki=$.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,$.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL($.origin),$.navigator&&/(msie|trident)/i.test($.navigator.userAgent)):()=>!0,yi=$.hasStandardBrowserEnv?{write(t,e,r,n,i,s){const o=[t+"="+encodeURIComponent(e)];p.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),p.isString(n)&&o.push("path="+n),p.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function vi(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Ri(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Yt(t,e,r){let n=!vi(e);return t&&(n||r==!1)?Ri(t,e):e}const er=t=>t instanceof j?{...t}:t;function G(t,e){e=e||{};const r={};function n(l,c,h,d){return p.isPlainObject(l)&&p.isPlainObject(c)?p.merge.call({caseless:d},l,c):p.isPlainObject(c)?p.merge({},c):p.isArray(c)?c.slice():c}function i(l,c,h,d){if(p.isUndefined(c)){if(!p.isUndefined(l))return n(void 0,l,h,d)}else return n(l,c,h,d)}function s(l,c){if(!p.isUndefined(c))return n(void 0,c)}function o(l,c){if(p.isUndefined(c)){if(!p.isUndefined(l))return n(void 0,l)}else return n(void 0,c)}function a(l,c,h){if(h in e)return n(l,c);if(h in t)return n(void 0,l)}const u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(l,c,h)=>i(er(l),er(c),h,!0)};return p.forEach(Object.keys(Object.assign({},t,e)),function(c){const h=u[c]||i,d=h(t[c],e[c],c);p.isUndefined(d)&&h!==a||(r[c]=d)}),r}const tr=t=>{const e=G({},t);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=e;e.headers=o=j.from(o),e.url=Ht(Yt(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if(p.isFormData(r)){if($.hasStandardBrowserEnv||$.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((u=o.getContentType())!==!1){const[l,...c]=u?u.split(";").map(h=>h.trim()).filter(Boolean):[];o.setContentType([l||"multipart/form-data",...c].join("; "))}}if($.hasStandardBrowserEnv&&(n&&p.isFunction(n)&&(n=n(e)),n||n!==!1&&ki(e.url))){const l=i&&s&&yi.read(s);l&&o.set(i,l)}return e},Si=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(r,n){const i=tr(t);let s=i.data;const o=j.from(i.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:l}=i,c,h,d,x,f;function g(){x&&x(),f&&f(),i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let w=new XMLHttpRequest;w.open(i.method.toUpperCase(),i.url,!0),w.timeout=i.timeout;function v(){if(!w)return;const T=j.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),_={data:!a||a==="text"||a==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:T,config:t,request:w};Kt(function(O){r(O),g()},function(O){n(O),g()},_),w=null}"onloadend"in w?w.onloadend=v:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(v)},w.onabort=function(){w&&(n(new b("Request aborted",b.ECONNABORTED,t,w)),w=null)},w.onerror=function(){n(new b("Network Error",b.ERR_NETWORK,t,w)),w=null},w.ontimeout=function(){let z=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const _=i.transitional||Zt;i.timeoutErrorMessage&&(z=i.timeoutErrorMessage),n(new b(z,_.clarifyTimeoutError?b.ETIMEDOUT:b.ECONNABORTED,t,w)),w=null},s===void 0&&o.setContentType(null),"setRequestHeader"in w&&p.forEach(o.toJSON(),function(z,_){w.setRequestHeader(_,z)}),p.isUndefined(i.withCredentials)||(w.withCredentials=!!i.withCredentials),a&&a!=="json"&&(w.responseType=i.responseType),l&&([d,f]=Te(l,!0),w.addEventListener("progress",d)),u&&w.upload&&([h,x]=Te(u),w.upload.addEventListener("progress",h),w.upload.addEventListener("loadend",x)),(i.cancelToken||i.signal)&&(c=T=>{w&&(n(!T||T.type?new Q(null,t,w):T),w.abort(),w=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const S=mi(i.url);if(S&&$.protocols.indexOf(S)===-1){n(new b("Unsupported protocol "+S+":",b.ERR_BAD_REQUEST,t));return}w.send(s||null)})},Ei=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,i;const s=function(l){if(!i){i=!0,a();const c=l instanceof Error?l:this.reason;n.abort(c instanceof b?c:new Q(c instanceof Error?c.message:c))}};let o=e&&setTimeout(()=>{o=null,s(new b(`timeout ${e} of ms exceeded`,b.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),t=null)};t.forEach(l=>l.addEventListener("abort",s));const{signal:u}=n;return u.unsubscribe=()=>p.asap(a),u}},Ti=function*(t,e){let r=t.byteLength;if(r<e){yield t;return}let n=0,i;for(;n<r;)i=n+e,yield t.slice(n,i),n=i},Ai=async function*(t,e){for await(const r of Ci(t))yield*Ti(r,e)},Ci=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:r,value:n}=await e.read();if(r)break;yield n}}finally{await e.cancel()}},rr=(t,e,r,n)=>{const i=Ai(t,e);let s=0,o,a=u=>{o||(o=!0,n&&n(u))};return new ReadableStream({async pull(u){try{const{done:l,value:c}=await i.next();if(l){a(),u.close();return}let h=c.byteLength;if(r){let d=s+=h;r(d)}u.enqueue(new Uint8Array(c))}catch(l){throw a(l),l}},cancel(u){return a(u),i.return()}},{highWaterMark:2})},Ae=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",nr=Ae&&typeof ReadableStream=="function",_i=Ae&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),ir=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Oi=nr&&ir(()=>{let t=!1;const e=new Request($.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),sr=64*1024,Xe=nr&&ir(()=>p.isReadableStream(new Response("").body)),Ce={stream:Xe&&(t=>t.body)};Ae&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Ce[e]&&(Ce[e]=p.isFunction(t[e])?r=>r[e]():(r,n)=>{throw new b(`Response type '${e}' is not supported`,b.ERR_NOT_SUPPORT,n)})})})(new Response);const $i=async t=>{if(t==null)return 0;if(p.isBlob(t))return t.size;if(p.isSpecCompliantForm(t))return(await new Request($.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(p.isArrayBufferView(t)||p.isArrayBuffer(t))return t.byteLength;if(p.isURLSearchParams(t)&&(t=t+""),p.isString(t))return(await _i(t)).byteLength},Ni=async(t,e)=>{const r=p.toFiniteNumber(t.getContentLength());return r??$i(e)},Qe={http:Yn,xhr:Si,fetch:Ae&&(async t=>{let{url:e,method:r,data:n,signal:i,cancelToken:s,timeout:o,onDownloadProgress:a,onUploadProgress:u,responseType:l,headers:c,withCredentials:h="same-origin",fetchOptions:d}=tr(t);l=l?(l+"").toLowerCase():"text";let x=Ei([i,s&&s.toAbortSignal()],o),f;const g=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let w;try{if(u&&Oi&&r!=="get"&&r!=="head"&&(w=await Ni(c,n))!==0){let _=new Request(e,{method:"POST",body:n,duplex:"half"}),L;if(p.isFormData(n)&&(L=_.headers.get("content-type"))&&c.setContentType(L),_.body){const[O,Y]=Xt(w,Te(Qt(u)));n=rr(_.body,sr,O,Y)}}p.isString(h)||(h=h?"include":"omit");const v="credentials"in Request.prototype;f=new Request(e,{...d,signal:x,method:r.toUpperCase(),headers:c.normalize().toJSON(),body:n,duplex:"half",credentials:v?h:void 0});let S=await fetch(f,d);const T=Xe&&(l==="stream"||l==="response");if(Xe&&(a||T&&g)){const _={};["status","statusText","headers"].forEach(E=>{_[E]=S[E]});const L=p.toFiniteNumber(S.headers.get("content-length")),[O,Y]=a&&Xt(L,Te(Qt(a),!0))||[];S=new Response(rr(S.body,sr,O,()=>{Y&&Y(),g&&g()}),_)}l=l||"text";let z=await Ce[p.findKey(Ce,l)||"text"](S,t);return!T&&g&&g(),await new Promise((_,L)=>{Kt(_,L,{data:z,headers:j.from(S.headers),status:S.status,statusText:S.statusText,config:t,request:f})})}catch(v){throw g&&g(),v&&v.name==="TypeError"&&/Load failed|fetch/i.test(v.message)?Object.assign(new b("Network Error",b.ERR_NETWORK,t,f),{cause:v.cause||v}):b.from(v,v&&v.code,t,f)}})};p.forEach(Qe,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const or=t=>`- ${t}`,Pi=t=>p.isFunction(t)||t===null||t===!1,ar={getAdapter:t=>{t=p.isArray(t)?t:[t];const{length:e}=t;let r,n;const i={};for(let s=0;s<e;s++){r=t[s];let o;if(n=r,!Pi(r)&&(n=Qe[(o=String(r)).toLowerCase()],n===void 0))throw new b(`Unknown adapter '${o}'`);if(n)break;i[o||"#"+s]=n}if(!n){const s=Object.entries(i).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let o=e?s.length>1?`since :
121
- `+s.map(or).join(`
122
- `):" "+or(s[0]):"as no adapter specified";throw new b("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:Qe};function Ye(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Q(null,t)}function lr(t){return Ye(t),t.headers=j.from(t.headers),t.data=Ke.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ar.getAdapter(t.adapter||ce.adapter)(t).then(function(n){return Ye(t),n.data=Ke.call(t,t.transformResponse,n),n.headers=j.from(n.headers),n},function(n){return Gt(n)||(Ye(t),n&&n.response&&(n.response.data=Ke.call(t,t.transformResponse,n.response),n.response.headers=j.from(n.response.headers))),Promise.reject(n)})}const cr="1.10.0",_e={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{_e[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const ur={};_e.transitional=function(e,r,n){function i(s,o){return"[Axios v"+cr+"] Transitional option '"+s+"'"+o+(n?". "+n:"")}return(s,o,a)=>{if(e===!1)throw new b(i(o," has been removed"+(r?" in "+r:"")),b.ERR_DEPRECATED);return r&&!ur[o]&&(ur[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,o,a):!0}},_e.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function ji(t,e,r){if(typeof t!="object")throw new b("options must be an object",b.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const s=n[i],o=e[s];if(o){const a=t[s],u=a===void 0||o(a,s,t);if(u!==!0)throw new b("option "+s+" must be "+u,b.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new b("Unknown option "+s,b.ERR_BAD_OPTION)}}const Oe={assertOptions:ji,validators:_e},U=Oe.validators;let K=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Jt,response:new Jt}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=`
123
- `+s):n.stack=s}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=G(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&Oe.assertOptions(n,{silentJSONParsing:U.transitional(U.boolean),forcedJSONParsing:U.transitional(U.boolean),clarifyTimeoutError:U.transitional(U.boolean)},!1),i!=null&&(p.isFunction(i)?r.paramsSerializer={serialize:i}:Oe.assertOptions(i,{encode:U.function,serialize:U.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Oe.assertOptions(r,{baseUrl:U.spelling("baseURL"),withXsrfToken:U.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&p.merge(s.common,s[r.method]);s&&p.forEach(["delete","get","head","post","put","patch","common"],f=>{delete s[f]}),r.headers=j.concat(o,s);const a=[];let u=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(r)===!1||(u=u&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const l=[];this.interceptors.response.forEach(function(g){l.push(g.fulfilled,g.rejected)});let c,h=0,d;if(!u){const f=[lr.bind(this),void 0];for(f.unshift.apply(f,a),f.push.apply(f,l),d=f.length,c=Promise.resolve(r);h<d;)c=c.then(f[h++],f[h++]);return c}d=a.length;let x=r;for(h=0;h<d;){const f=a[h++],g=a[h++];try{x=f(x)}catch(w){g.call(this,w);break}}try{c=lr.call(this,x)}catch(f){return Promise.reject(f)}for(h=0,d=l.length;h<d;)c=c.then(l[h++],l[h++]);return c}getUri(e){e=G(this.defaults,e);const r=Yt(e.baseURL,e.url,e.allowAbsoluteUrls);return Ht(r,e.params,e.paramsSerializer)}};p.forEach(["delete","get","head","options"],function(e){K.prototype[e]=function(r,n){return this.request(G(n||{},{method:e,url:r,data:(n||{}).data}))}}),p.forEach(["post","put","patch"],function(e){function r(n){return function(s,o,a){return this.request(G(a||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}K.prototype[e]=r(),K.prototype[e+"Form"]=r(!0)});let zi=class dr{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});const n=this;this.promise.then(i=>{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{n.subscribe(a),s=a}).then(i);return o.cancel=function(){n.unsubscribe(s)},o},e(function(s,o,a){n.reason||(n.reason=new Q(s,o,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new dr(function(i){e=i}),cancel:e}}};function Li(t){return function(r){return t.apply(null,r)}}function Bi(t){return p.isObject(t)&&t.isAxiosError===!0}const et={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(et).forEach(([t,e])=>{et[e]=t});function pr(t){const e=new K(t),r=Ct(K.prototype.request,e);return p.extend(r,K.prototype,e,{allOwnKeys:!0}),p.extend(r,e,null,{allOwnKeys:!0}),r.create=function(i){return pr(G(t,i))},r}const A=pr(ce);A.Axios=K,A.CanceledError=Q,A.CancelToken=zi,A.isCancel=Gt,A.VERSION=cr,A.toFormData=Se,A.AxiosError=b,A.Cancel=A.CanceledError,A.all=function(e){return Promise.all(e)},A.spread=Li,A.isAxiosError=Bi,A.mergeConfig=G,A.AxiosHeaders=j,A.formToJSON=t=>Wt(p.isHTMLForm(t)?new FormData(t):t),A.getAdapter=ar.getAdapter,A.HttpStatusCode=et,A.default=A;const{Axios:rs,AxiosError:ns,CanceledError:is,isCancel:ss,CancelToken:os,VERSION:as,all:ls,Cancel:cs,isAxiosError:us,spread:ps,toFormData:ds,AxiosHeaders:hs,HttpStatusCode:fs,formToJSON:gs,getAdapter:ws,mergeConfig:ms}=A,Ii=async(t,e)=>{var i;const r=(i=window.location.search.replace("?","").split("&").find(s=>s.includes("utm")))==null?void 0:i.split("=")[1];return(await A.post(e,{message:t},{headers:{utm:r}})).data.output},Di=async t=>{const e=await A.get(t),r=[];for(const n of e.data.propertyName){const i=JSON.parse(n);r.push(i)}return r.reverse()};function Ui({theme:t="boring",notificationBadge:e=!0,greeting:r,pageContext:n,chatPrompts:i=[],chatbotUrl:s,dialogeBaseUrl:o}){const a=r?[{content:r,sender:"bot"}]:[],[u,l]=C.useState(!1),[c,h]=C.useState(r?a:[]),[d,x]=C.useState(""),[f,g]=C.useState(!1),[w,v]=C.useState(!0),S=C.useRef(null),[T,z]=C.useState(i),_=()=>{var E;(E=S.current)==null||E.scrollIntoView({behavior:"smooth"})};C.useEffect(()=>{c.filter(B=>B.sender==="user").length>0?v(!1):v(!0),_()},[c]),C.useEffect(()=>{c.length<=1&&Di(o).then(E=>{const B=E.map(ee=>({content:ee.data.content,sender:ee.type==="human"?"user":"bot"}));h([...a,...B])})},[o]),C.useEffect(()=>{const E=window.location.pathname;if(n){for(const[B,{exec:ee,timer:pe}]of Object.entries(n))if(B===E){L(pe,ee);break}}},[n]);const L=async(E,B)=>{await hn(E),B({open:{isOpen:u,setIsOpen:l},messageOptions:{messages:c,setMessages:h},input:{inputValue:d,setInputValue:x},promptsOptions:{prompts:T,setPrompts:z},scrollToBottom:_})},O=async E=>{const B=E||d.trim();if(!B)return;const ee={content:B,sender:"user"};h(pe=>[...pe,ee]),x(""),g(!0);try{const rt={content:await Ii(B,s),sender:"bot"};h(nt=>[...nt,rt])}catch{const rt={content:"Unfortunately, an error occurred while processing your request.",sender:"bot"};h(nt=>[...nt,rt])}finally{g(!1)}},Y=async E=>{E.key==="Enter"&&!E.shiftKey&&(E.preventDefault(),await O())};return m.jsxs("div",{className:"fixed bottom-6 right-6 z-50",children:[m.jsx("div",{className:`
157
+ ${i?"rotate-180":"rotate-0"}
158
+ `,style:{boxShadow:"0 0 30px rgba(147, 51, 234, 0.5)"},children:i?J.jsx(Yc,{className:"w-6 h-6"}):J.jsx(t0,{className:"w-6 h-6"})})}function V0(r){return new Promise(i=>setTimeout(i,r))}function K0({prompt:r,handleSendMessage:i,theme:s}){const c=()=>{i(r)};return J.jsx("div",{onClick:c,className:`${Ze(s,"prompt")} text-sm rounded-full transition hover:scale-98 cursor-pointer px-4 py-2`,children:r})}function no(r,i){return function(){return r.apply(i,arguments)}}var io={};const{toString:J0}=Object.prototype,{getPrototypeOf:Iu}=Object,{iterator:si,toStringTag:uo}=Symbol,ci=(r=>i=>{const s=J0.call(i);return r[s]||(r[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),ke=r=>(r=r.toLowerCase(),i=>ci(i)===r),oi=r=>i=>typeof i===r,{isArray:ia}=Array,Ia=oi("undefined");function $0(r){return r!==null&&!Ia(r)&&r.constructor!==null&&!Ia(r.constructor)&&ae(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const ro=ke("ArrayBuffer");function W0(r){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(r):i=r&&r.buffer&&ro(r.buffer),i}const F0=oi("string"),ae=oi("function"),so=oi("number"),fi=r=>r!==null&&typeof r=="object",P0=r=>r===!0||r===!1,di=r=>{if(ci(r)!=="object")return!1;const i=Iu(r);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(uo in r)&&!(si in r)},I0=ke("Date"),tg=ke("File"),eg=ke("Blob"),lg=ke("FileList"),ag=r=>fi(r)&&ae(r.pipe),ng=r=>{let i;return r&&(typeof FormData=="function"&&r instanceof FormData||ae(r.append)&&((i=ci(r))==="formdata"||i==="object"&&ae(r.toString)&&r.toString()==="[object FormData]"))},ig=ke("URLSearchParams"),[ug,rg,sg,cg]=["ReadableStream","Request","Response","Headers"].map(ke),og=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function tn(r,i,{allOwnKeys:s=!1}={}){if(r===null||typeof r>"u")return;let c,o;if(typeof r!="object"&&(r=[r]),ia(r))for(c=0,o=r.length;c<o;c++)i.call(null,r[c],c,r);else{const d=s?Object.getOwnPropertyNames(r):Object.keys(r),g=d.length;let m;for(c=0;c<g;c++)m=d[c],i.call(null,r[m],m,r)}}function co(r,i){i=i.toLowerCase();const s=Object.keys(r);let c=s.length,o;for(;c-- >0;)if(o=s[c],i===o.toLowerCase())return o;return null}const ql=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,oo=r=>!Ia(r)&&r!==ql;function tr(){const{caseless:r}=oo(this)&&this||{},i={},s=(c,o)=>{const d=r&&co(i,o)||o;di(i[d])&&di(c)?i[d]=tr(i[d],c):di(c)?i[d]=tr({},c):ia(c)?i[d]=c.slice():i[d]=c};for(let c=0,o=arguments.length;c<o;c++)arguments[c]&&tn(arguments[c],s);return i}const fg=(r,i,s,{allOwnKeys:c}={})=>(tn(i,(o,d)=>{s&&ae(o)?r[d]=no(o,s):r[d]=o},{allOwnKeys:c}),r),dg=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),hg=(r,i,s,c)=>{r.prototype=Object.create(i.prototype,c),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:i.prototype}),s&&Object.assign(r.prototype,s)},pg=(r,i,s,c)=>{let o,d,g;const m={};if(i=i||{},r==null)return i;do{for(o=Object.getOwnPropertyNames(r),d=o.length;d-- >0;)g=o[d],(!c||c(g,r,i))&&!m[g]&&(i[g]=r[g],m[g]=!0);r=s!==!1&&Iu(r)}while(r&&(!s||s(r,i))&&r!==Object.prototype);return i},gg=(r,i,s)=>{r=String(r),(s===void 0||s>r.length)&&(s=r.length),s-=i.length;const c=r.indexOf(i,s);return c!==-1&&c===s},mg=r=>{if(!r)return null;if(ia(r))return r;let i=r.length;if(!so(i))return null;const s=new Array(i);for(;i-- >0;)s[i]=r[i];return s},yg=(r=>i=>r&&i instanceof r)(typeof Uint8Array<"u"&&Iu(Uint8Array)),vg=(r,i)=>{const c=(r&&r[si]).call(r);let o;for(;(o=c.next())&&!o.done;){const d=o.value;i.call(r,d[0],d[1])}},bg=(r,i)=>{let s;const c=[];for(;(s=r.exec(i))!==null;)c.push(s);return c},wg=ke("HTMLFormElement"),Sg=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,c,o){return c.toUpperCase()+o}),fo=(({hasOwnProperty:r})=>(i,s)=>r.call(i,s))(Object.prototype),xg=ke("RegExp"),ho=(r,i)=>{const s=Object.getOwnPropertyDescriptors(r),c={};tn(s,(o,d)=>{let g;(g=i(o,d,r))!==!1&&(c[d]=g||o)}),Object.defineProperties(r,c)},Eg=r=>{ho(r,(i,s)=>{if(ae(r)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const c=r[s];if(ae(c)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},Tg=(r,i)=>{const s={},c=o=>{o.forEach(d=>{s[d]=!0})};return ia(r)?c(r):c(String(r).split(i)),s},Ag=()=>{},Rg=(r,i)=>r!=null&&Number.isFinite(r=+r)?r:i;function _g(r){return!!(r&&ae(r.append)&&r[uo]==="FormData"&&r[si])}const zg=r=>{const i=new Array(10),s=(c,o)=>{if(fi(c)){if(i.indexOf(c)>=0)return;if(!("toJSON"in c)){i[o]=c;const d=ia(c)?[]:{};return tn(c,(g,m)=>{const b=s(g,o+1);!Ia(b)&&(d[m]=b)}),i[o]=void 0,d}}return c};return s(r,0)},Og=ke("AsyncFunction"),kg=r=>r&&(fi(r)||ae(r))&&ae(r.then)&&ae(r.catch),po=((r,i)=>r?setImmediate:i?((s,c)=>(ql.addEventListener("message",({source:o,data:d})=>{o===ql&&d===s&&c.length&&c.shift()()},!1),o=>{c.push(o),ql.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",ae(ql.postMessage)),Dg=typeof queueMicrotask<"u"?queueMicrotask.bind(ql):typeof io<"u"&&io.nextTick||po,_={isArray:ia,isArrayBuffer:ro,isBuffer:$0,isFormData:ng,isArrayBufferView:W0,isString:F0,isNumber:so,isBoolean:P0,isObject:fi,isPlainObject:di,isReadableStream:ug,isRequest:rg,isResponse:sg,isHeaders:cg,isUndefined:Ia,isDate:I0,isFile:tg,isBlob:eg,isRegExp:xg,isFunction:ae,isStream:ag,isURLSearchParams:ig,isTypedArray:yg,isFileList:lg,forEach:tn,merge:tr,extend:fg,trim:og,stripBOM:dg,inherits:hg,toFlatObject:pg,kindOf:ci,kindOfTest:ke,endsWith:gg,toArray:mg,forEachEntry:vg,matchAll:bg,isHTMLForm:wg,hasOwnProperty:fo,hasOwnProp:fo,reduceDescriptors:ho,freezeMethods:Eg,toObjectSet:Tg,toCamelCase:Sg,noop:Ag,toFiniteNumber:Rg,findKey:co,global:ql,isContextDefined:oo,isSpecCompliantForm:_g,toJSONObject:zg,isAsyncFn:Og,isThenable:kg,setImmediate:po,asap:Dg,isIterable:r=>r!=null&&ae(r[si])};function P(r,i,s,c,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",i&&(this.code=i),s&&(this.config=s),c&&(this.request=c),o&&(this.response=o,this.status=o.status?o.status:null)}_.inherits(P,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:_.toJSONObject(this.config),code:this.code,status:this.status}}});const go=P.prototype,mo={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{mo[r]={value:r}}),Object.defineProperties(P,mo),Object.defineProperty(go,"isAxiosError",{value:!0}),P.from=(r,i,s,c,o,d)=>{const g=Object.create(go);return _.toFlatObject(r,g,function(b){return b!==Error.prototype},m=>m!=="isAxiosError"),P.call(g,r.message,i,s,c,o),g.cause=r,g.name=r.name,d&&Object.assign(g,d),g};const Mg=null;function er(r){return _.isPlainObject(r)||_.isArray(r)}function yo(r){return _.endsWith(r,"[]")?r.slice(0,-2):r}function vo(r,i,s){return r?r.concat(i).map(function(o,d){return o=yo(o),!s&&d?"["+o+"]":o}).join(s?".":""):i}function Ng(r){return _.isArray(r)&&!r.some(er)}const Ug=_.toFlatObject(_,{},null,function(i){return/^is[A-Z]/.test(i)});function hi(r,i,s){if(!_.isObject(r))throw new TypeError("target must be an object");i=i||new FormData,s=_.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(H,L){return!_.isUndefined(L[H])});const c=s.metaTokens,o=s.visitor||v,d=s.dots,g=s.indexes,b=(s.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(i);if(!_.isFunction(o))throw new TypeError("visitor must be a function");function p(N){if(N===null)return"";if(_.isDate(N))return N.toISOString();if(_.isBoolean(N))return N.toString();if(!b&&_.isBlob(N))throw new P("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(N)||_.isTypedArray(N)?b&&typeof Blob=="function"?new Blob([N]):Buffer.from(N):N}function v(N,H,L){let I=N;if(N&&!L&&typeof N=="object"){if(_.endsWith(H,"{}"))H=c?H:H.slice(0,-2),N=JSON.stringify(N);else if(_.isArray(N)&&Ng(N)||(_.isFileList(N)||_.endsWith(H,"[]"))&&(I=_.toArray(N)))return H=yo(H),I.forEach(function(ut,ct){!(_.isUndefined(ut)||ut===null)&&i.append(g===!0?vo([H],ct,d):g===null?H:H+"[]",p(ut))}),!1}return er(N)?!0:(i.append(vo(L,H,d),p(N)),!1)}const z=[],D=Object.assign(Ug,{defaultVisitor:v,convertValue:p,isVisitable:er});function Q(N,H){if(!_.isUndefined(N)){if(z.indexOf(N)!==-1)throw Error("Circular reference detected in "+H.join("."));z.push(N),_.forEach(N,function(I,st){(!(_.isUndefined(I)||I===null)&&o.call(i,I,_.isString(st)?st.trim():st,H,D))===!0&&Q(I,H?H.concat(st):[st])}),z.pop()}}if(!_.isObject(r))throw new TypeError("data must be an object");return Q(r),i}function bo(r){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(c){return i[c]})}function lr(r,i){this._pairs=[],r&&hi(r,this,i)}const wo=lr.prototype;wo.append=function(i,s){this._pairs.push([i,s])},wo.toString=function(i){const s=i?function(c){return i.call(this,c,bo)}:bo;return this._pairs.map(function(o){return s(o[0])+"="+s(o[1])},"").join("&")};function Bg(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function So(r,i,s){if(!i)return r;const c=s&&s.encode||Bg;_.isFunction(s)&&(s={serialize:s});const o=s&&s.serialize;let d;if(o?d=o(i,s):d=_.isURLSearchParams(i)?i.toString():new lr(i,s).toString(c),d){const g=r.indexOf("#");g!==-1&&(r=r.slice(0,g)),r+=(r.indexOf("?")===-1?"?":"&")+d}return r}class xo{constructor(){this.handlers=[]}use(i,s,c){return this.handlers.push({fulfilled:i,rejected:s,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){_.forEach(this.handlers,function(c){c!==null&&i(c)})}}const Eo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cg={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:lr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},ar=typeof window<"u"&&typeof document<"u",nr=typeof navigator=="object"&&navigator||void 0,qg=ar&&(!nr||["ReactNative","NativeScript","NS"].indexOf(nr.product)<0),Hg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",jg=ar&&window.location.href||"http://localhost",Ft={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ar,hasStandardBrowserEnv:qg,hasStandardBrowserWebWorkerEnv:Hg,navigator:nr,origin:jg},Symbol.toStringTag,{value:"Module"})),...Cg};function Lg(r,i){return hi(r,new Ft.classes.URLSearchParams,Object.assign({visitor:function(s,c,o,d){return Ft.isNode&&_.isBuffer(s)?(this.append(c,s.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)}},i))}function Yg(r){return _.matchAll(/\w+|\[(\w*)]/g,r).map(i=>i[0]==="[]"?"":i[1]||i[0])}function Gg(r){const i={},s=Object.keys(r);let c;const o=s.length;let d;for(c=0;c<o;c++)d=s[c],i[d]=r[d];return i}function To(r){function i(s,c,o,d){let g=s[d++];if(g==="__proto__")return!0;const m=Number.isFinite(+g),b=d>=s.length;return g=!g&&_.isArray(o)?o.length:g,b?(_.hasOwnProp(o,g)?o[g]=[o[g],c]:o[g]=c,!m):((!o[g]||!_.isObject(o[g]))&&(o[g]=[]),i(s,c,o[g],d)&&_.isArray(o[g])&&(o[g]=Gg(o[g])),!m)}if(_.isFormData(r)&&_.isFunction(r.entries)){const s={};return _.forEachEntry(r,(c,o)=>{i(Yg(c),o,s,0)}),s}return null}function Xg(r,i,s){if(_.isString(r))try{return(i||JSON.parse)(r),_.trim(r)}catch(c){if(c.name!=="SyntaxError")throw c}return(s||JSON.stringify)(r)}const en={transitional:Eo,adapter:["xhr","http","fetch"],transformRequest:[function(i,s){const c=s.getContentType()||"",o=c.indexOf("application/json")>-1,d=_.isObject(i);if(d&&_.isHTMLForm(i)&&(i=new FormData(i)),_.isFormData(i))return o?JSON.stringify(To(i)):i;if(_.isArrayBuffer(i)||_.isBuffer(i)||_.isStream(i)||_.isFile(i)||_.isBlob(i)||_.isReadableStream(i))return i;if(_.isArrayBufferView(i))return i.buffer;if(_.isURLSearchParams(i))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let m;if(d){if(c.indexOf("application/x-www-form-urlencoded")>-1)return Lg(i,this.formSerializer).toString();if((m=_.isFileList(i))||c.indexOf("multipart/form-data")>-1){const b=this.env&&this.env.FormData;return hi(m?{"files[]":i}:i,b&&new b,this.formSerializer)}}return d||o?(s.setContentType("application/json",!1),Xg(i)):i}],transformResponse:[function(i){const s=this.transitional||en.transitional,c=s&&s.forcedJSONParsing,o=this.responseType==="json";if(_.isResponse(i)||_.isReadableStream(i))return i;if(i&&_.isString(i)&&(c&&!this.responseType||o)){const g=!(s&&s.silentJSONParsing)&&o;try{return JSON.parse(i)}catch(m){if(g)throw m.name==="SyntaxError"?P.from(m,P.ERR_BAD_RESPONSE,this,null,this.response):m}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ft.classes.FormData,Blob:Ft.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch"],r=>{en.headers[r]={}});const Qg=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Zg=r=>{const i={};let s,c,o;return r&&r.split(`
159
+ `).forEach(function(g){o=g.indexOf(":"),s=g.substring(0,o).trim().toLowerCase(),c=g.substring(o+1).trim(),!(!s||i[s]&&Qg[s])&&(s==="set-cookie"?i[s]?i[s].push(c):i[s]=[c]:i[s]=i[s]?i[s]+", "+c:c)}),i},Ao=Symbol("internals");function ln(r){return r&&String(r).trim().toLowerCase()}function pi(r){return r===!1||r==null?r:_.isArray(r)?r.map(pi):String(r)}function Vg(r){const i=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let c;for(;c=s.exec(r);)i[c[1]]=c[2];return i}const Kg=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function ir(r,i,s,c,o){if(_.isFunction(c))return c.call(this,i,s);if(o&&(i=s),!!_.isString(i)){if(_.isString(c))return i.indexOf(c)!==-1;if(_.isRegExp(c))return c.test(i)}}function Jg(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,s,c)=>s.toUpperCase()+c)}function $g(r,i){const s=_.toCamelCase(" "+i);["get","set","has"].forEach(c=>{Object.defineProperty(r,c+s,{value:function(o,d,g){return this[c].call(this,i,o,d,g)},configurable:!0})})}let ne=class{constructor(i){i&&this.set(i)}set(i,s,c){const o=this;function d(m,b,p){const v=ln(b);if(!v)throw new Error("header name must be a non-empty string");const z=_.findKey(o,v);(!z||o[z]===void 0||p===!0||p===void 0&&o[z]!==!1)&&(o[z||b]=pi(m))}const g=(m,b)=>_.forEach(m,(p,v)=>d(p,v,b));if(_.isPlainObject(i)||i instanceof this.constructor)g(i,s);else if(_.isString(i)&&(i=i.trim())&&!Kg(i))g(Zg(i),s);else if(_.isObject(i)&&_.isIterable(i)){let m={},b,p;for(const v of i){if(!_.isArray(v))throw TypeError("Object iterator must return a key-value pair");m[p=v[0]]=(b=m[p])?_.isArray(b)?[...b,v[1]]:[b,v[1]]:v[1]}g(m,s)}else i!=null&&d(s,i,c);return this}get(i,s){if(i=ln(i),i){const c=_.findKey(this,i);if(c){const o=this[c];if(!s)return o;if(s===!0)return Vg(o);if(_.isFunction(s))return s.call(this,o,c);if(_.isRegExp(s))return s.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,s){if(i=ln(i),i){const c=_.findKey(this,i);return!!(c&&this[c]!==void 0&&(!s||ir(this,this[c],c,s)))}return!1}delete(i,s){const c=this;let o=!1;function d(g){if(g=ln(g),g){const m=_.findKey(c,g);m&&(!s||ir(c,c[m],m,s))&&(delete c[m],o=!0)}}return _.isArray(i)?i.forEach(d):d(i),o}clear(i){const s=Object.keys(this);let c=s.length,o=!1;for(;c--;){const d=s[c];(!i||ir(this,this[d],d,i,!0))&&(delete this[d],o=!0)}return o}normalize(i){const s=this,c={};return _.forEach(this,(o,d)=>{const g=_.findKey(c,d);if(g){s[g]=pi(o),delete s[d];return}const m=i?Jg(d):String(d).trim();m!==d&&delete s[d],s[m]=pi(o),c[m]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const s=Object.create(null);return _.forEach(this,(c,o)=>{c!=null&&c!==!1&&(s[o]=i&&_.isArray(c)?c.join(", "):c)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,s])=>i+": "+s).join(`
160
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...s){const c=new this(i);return s.forEach(o=>c.set(o)),c}static accessor(i){const c=(this[Ao]=this[Ao]={accessors:{}}).accessors,o=this.prototype;function d(g){const m=ln(g);c[m]||($g(o,g),c[m]=!0)}return _.isArray(i)?i.forEach(d):d(i),this}};ne.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),_.reduceDescriptors(ne.prototype,({value:r},i)=>{let s=i[0].toUpperCase()+i.slice(1);return{get:()=>r,set(c){this[s]=c}}}),_.freezeMethods(ne);function ur(r,i){const s=this||en,c=i||s,o=ne.from(c.headers);let d=c.data;return _.forEach(r,function(m){d=m.call(s,d,o.normalize(),i?i.status:void 0)}),o.normalize(),d}function Ro(r){return!!(r&&r.__CANCEL__)}function ua(r,i,s){P.call(this,r??"canceled",P.ERR_CANCELED,i,s),this.name="CanceledError"}_.inherits(ua,P,{__CANCEL__:!0});function _o(r,i,s){const c=s.config.validateStatus;!s.status||!c||c(s.status)?r(s):i(new P("Request failed with status code "+s.status,[P.ERR_BAD_REQUEST,P.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}function Wg(r){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return i&&i[1]||""}function Fg(r,i){r=r||10;const s=new Array(r),c=new Array(r);let o=0,d=0,g;return i=i!==void 0?i:1e3,function(b){const p=Date.now(),v=c[d];g||(g=p),s[o]=b,c[o]=p;let z=d,D=0;for(;z!==o;)D+=s[z++],z=z%r;if(o=(o+1)%r,o===d&&(d=(d+1)%r),p-g<i)return;const Q=v&&p-v;return Q?Math.round(D*1e3/Q):void 0}}function Pg(r,i){let s=0,c=1e3/i,o,d;const g=(p,v=Date.now())=>{s=v,o=null,d&&(clearTimeout(d),d=null),r.apply(null,p)};return[(...p)=>{const v=Date.now(),z=v-s;z>=c?g(p,v):(o=p,d||(d=setTimeout(()=>{d=null,g(o)},c-z)))},()=>o&&g(o)]}const gi=(r,i,s=3)=>{let c=0;const o=Fg(50,250);return Pg(d=>{const g=d.loaded,m=d.lengthComputable?d.total:void 0,b=g-c,p=o(b),v=g<=m;c=g;const z={loaded:g,total:m,progress:m?g/m:void 0,bytes:b,rate:p||void 0,estimated:p&&m&&v?(m-g)/p:void 0,event:d,lengthComputable:m!=null,[i?"download":"upload"]:!0};r(z)},s)},zo=(r,i)=>{const s=r!=null;return[c=>i[0]({lengthComputable:s,total:r,loaded:c}),i[1]]},Oo=r=>(...i)=>_.asap(()=>r(...i)),Ig=Ft.hasStandardBrowserEnv?((r,i)=>s=>(s=new URL(s,Ft.origin),r.protocol===s.protocol&&r.host===s.host&&(i||r.port===s.port)))(new URL(Ft.origin),Ft.navigator&&/(msie|trident)/i.test(Ft.navigator.userAgent)):()=>!0,tm=Ft.hasStandardBrowserEnv?{write(r,i,s,c,o,d){const g=[r+"="+encodeURIComponent(i)];_.isNumber(s)&&g.push("expires="+new Date(s).toGMTString()),_.isString(c)&&g.push("path="+c),_.isString(o)&&g.push("domain="+o),d===!0&&g.push("secure"),document.cookie=g.join("; ")},read(r){const i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(r){this.write(r,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function em(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function lm(r,i){return i?r.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):r}function ko(r,i,s){let c=!em(i);return r&&(c||s==!1)?lm(r,i):i}const Do=r=>r instanceof ne?{...r}:r;function Hl(r,i){i=i||{};const s={};function c(p,v,z,D){return _.isPlainObject(p)&&_.isPlainObject(v)?_.merge.call({caseless:D},p,v):_.isPlainObject(v)?_.merge({},v):_.isArray(v)?v.slice():v}function o(p,v,z,D){if(_.isUndefined(v)){if(!_.isUndefined(p))return c(void 0,p,z,D)}else return c(p,v,z,D)}function d(p,v){if(!_.isUndefined(v))return c(void 0,v)}function g(p,v){if(_.isUndefined(v)){if(!_.isUndefined(p))return c(void 0,p)}else return c(void 0,v)}function m(p,v,z){if(z in i)return c(p,v);if(z in r)return c(void 0,p)}const b={url:d,method:d,data:d,baseURL:g,transformRequest:g,transformResponse:g,paramsSerializer:g,timeout:g,timeoutMessage:g,withCredentials:g,withXSRFToken:g,adapter:g,responseType:g,xsrfCookieName:g,xsrfHeaderName:g,onUploadProgress:g,onDownloadProgress:g,decompress:g,maxContentLength:g,maxBodyLength:g,beforeRedirect:g,transport:g,httpAgent:g,httpsAgent:g,cancelToken:g,socketPath:g,responseEncoding:g,validateStatus:m,headers:(p,v,z)=>o(Do(p),Do(v),z,!0)};return _.forEach(Object.keys(Object.assign({},r,i)),function(v){const z=b[v]||o,D=z(r[v],i[v],v);_.isUndefined(D)&&z!==m||(s[v]=D)}),s}const Mo=r=>{const i=Hl({},r);let{data:s,withXSRFToken:c,xsrfHeaderName:o,xsrfCookieName:d,headers:g,auth:m}=i;i.headers=g=ne.from(g),i.url=So(ko(i.baseURL,i.url,i.allowAbsoluteUrls),r.params,r.paramsSerializer),m&&g.set("Authorization","Basic "+btoa((m.username||"")+":"+(m.password?unescape(encodeURIComponent(m.password)):"")));let b;if(_.isFormData(s)){if(Ft.hasStandardBrowserEnv||Ft.hasStandardBrowserWebWorkerEnv)g.setContentType(void 0);else if((b=g.getContentType())!==!1){const[p,...v]=b?b.split(";").map(z=>z.trim()).filter(Boolean):[];g.setContentType([p||"multipart/form-data",...v].join("; "))}}if(Ft.hasStandardBrowserEnv&&(c&&_.isFunction(c)&&(c=c(i)),c||c!==!1&&Ig(i.url))){const p=o&&d&&tm.read(d);p&&g.set(o,p)}return i},am=typeof XMLHttpRequest<"u"&&function(r){return new Promise(function(s,c){const o=Mo(r);let d=o.data;const g=ne.from(o.headers).normalize();let{responseType:m,onUploadProgress:b,onDownloadProgress:p}=o,v,z,D,Q,N;function H(){Q&&Q(),N&&N(),o.cancelToken&&o.cancelToken.unsubscribe(v),o.signal&&o.signal.removeEventListener("abort",v)}let L=new XMLHttpRequest;L.open(o.method.toUpperCase(),o.url,!0),L.timeout=o.timeout;function I(){if(!L)return;const ut=ne.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),pt={data:!m||m==="text"||m==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:ut,config:r,request:L};_o(function(gt){s(gt),H()},function(gt){c(gt),H()},pt),L=null}"onloadend"in L?L.onloadend=I:L.onreadystatechange=function(){!L||L.readyState!==4||L.status===0&&!(L.responseURL&&L.responseURL.indexOf("file:")===0)||setTimeout(I)},L.onabort=function(){L&&(c(new P("Request aborted",P.ECONNABORTED,r,L)),L=null)},L.onerror=function(){c(new P("Network Error",P.ERR_NETWORK,r,L)),L=null},L.ontimeout=function(){let ct=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const pt=o.transitional||Eo;o.timeoutErrorMessage&&(ct=o.timeoutErrorMessage),c(new P(ct,pt.clarifyTimeoutError?P.ETIMEDOUT:P.ECONNABORTED,r,L)),L=null},d===void 0&&g.setContentType(null),"setRequestHeader"in L&&_.forEach(g.toJSON(),function(ct,pt){L.setRequestHeader(pt,ct)}),_.isUndefined(o.withCredentials)||(L.withCredentials=!!o.withCredentials),m&&m!=="json"&&(L.responseType=o.responseType),p&&([D,N]=gi(p,!0),L.addEventListener("progress",D)),b&&L.upload&&([z,Q]=gi(b),L.upload.addEventListener("progress",z),L.upload.addEventListener("loadend",Q)),(o.cancelToken||o.signal)&&(v=ut=>{L&&(c(!ut||ut.type?new ua(null,r,L):ut),L.abort(),L=null)},o.cancelToken&&o.cancelToken.subscribe(v),o.signal&&(o.signal.aborted?v():o.signal.addEventListener("abort",v)));const st=Wg(o.url);if(st&&Ft.protocols.indexOf(st)===-1){c(new P("Unsupported protocol "+st+":",P.ERR_BAD_REQUEST,r));return}L.send(d||null)})},nm=(r,i)=>{const{length:s}=r=r?r.filter(Boolean):[];if(i||s){let c=new AbortController,o;const d=function(p){if(!o){o=!0,m();const v=p instanceof Error?p:this.reason;c.abort(v instanceof P?v:new ua(v instanceof Error?v.message:v))}};let g=i&&setTimeout(()=>{g=null,d(new P(`timeout ${i} of ms exceeded`,P.ETIMEDOUT))},i);const m=()=>{r&&(g&&clearTimeout(g),g=null,r.forEach(p=>{p.unsubscribe?p.unsubscribe(d):p.removeEventListener("abort",d)}),r=null)};r.forEach(p=>p.addEventListener("abort",d));const{signal:b}=c;return b.unsubscribe=()=>_.asap(m),b}},im=function*(r,i){let s=r.byteLength;if(s<i){yield r;return}let c=0,o;for(;c<s;)o=c+i,yield r.slice(c,o),c=o},um=async function*(r,i){for await(const s of rm(r))yield*im(s,i)},rm=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const i=r.getReader();try{for(;;){const{done:s,value:c}=await i.read();if(s)break;yield c}}finally{await i.cancel()}},No=(r,i,s,c)=>{const o=um(r,i);let d=0,g,m=b=>{g||(g=!0,c&&c(b))};return new ReadableStream({async pull(b){try{const{done:p,value:v}=await o.next();if(p){m(),b.close();return}let z=v.byteLength;if(s){let D=d+=z;s(D)}b.enqueue(new Uint8Array(v))}catch(p){throw m(p),p}},cancel(b){return m(b),o.return()}},{highWaterMark:2})},mi=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Uo=mi&&typeof ReadableStream=="function",sm=mi&&(typeof TextEncoder=="function"?(r=>i=>r.encode(i))(new TextEncoder):async r=>new Uint8Array(await new Response(r).arrayBuffer())),Bo=(r,...i)=>{try{return!!r(...i)}catch{return!1}},cm=Uo&&Bo(()=>{let r=!1;const i=new Request(Ft.origin,{body:new ReadableStream,method:"POST",get duplex(){return r=!0,"half"}}).headers.has("Content-Type");return r&&!i}),Co=64*1024,rr=Uo&&Bo(()=>_.isReadableStream(new Response("").body)),yi={stream:rr&&(r=>r.body)};mi&&(r=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!yi[i]&&(yi[i]=_.isFunction(r[i])?s=>s[i]():(s,c)=>{throw new P(`Response type '${i}' is not supported`,P.ERR_NOT_SUPPORT,c)})})})(new Response);const om=async r=>{if(r==null)return 0;if(_.isBlob(r))return r.size;if(_.isSpecCompliantForm(r))return(await new Request(Ft.origin,{method:"POST",body:r}).arrayBuffer()).byteLength;if(_.isArrayBufferView(r)||_.isArrayBuffer(r))return r.byteLength;if(_.isURLSearchParams(r)&&(r=r+""),_.isString(r))return(await sm(r)).byteLength},fm=async(r,i)=>{const s=_.toFiniteNumber(r.getContentLength());return s??om(i)},sr={http:Mg,xhr:am,fetch:mi&&(async r=>{let{url:i,method:s,data:c,signal:o,cancelToken:d,timeout:g,onDownloadProgress:m,onUploadProgress:b,responseType:p,headers:v,withCredentials:z="same-origin",fetchOptions:D}=Mo(r);p=p?(p+"").toLowerCase():"text";let Q=nm([o,d&&d.toAbortSignal()],g),N;const H=Q&&Q.unsubscribe&&(()=>{Q.unsubscribe()});let L;try{if(b&&cm&&s!=="get"&&s!=="head"&&(L=await fm(v,c))!==0){let pt=new Request(i,{method:"POST",body:c,duplex:"half"}),V;if(_.isFormData(c)&&(V=pt.headers.get("content-type"))&&v.setContentType(V),pt.body){const[gt,Zt]=zo(L,gi(Oo(b)));c=No(pt.body,Co,gt,Zt)}}_.isString(z)||(z=z?"include":"omit");const I="credentials"in Request.prototype;N=new Request(i,{...D,signal:Q,method:s.toUpperCase(),headers:v.normalize().toJSON(),body:c,duplex:"half",credentials:I?z:void 0});let st=await fetch(N,D);const ut=rr&&(p==="stream"||p==="response");if(rr&&(m||ut&&H)){const pt={};["status","statusText","headers"].forEach(et=>{pt[et]=st[et]});const V=_.toFiniteNumber(st.headers.get("content-length")),[gt,Zt]=m&&zo(V,gi(Oo(m),!0))||[];st=new Response(No(st.body,Co,gt,()=>{Zt&&Zt(),H&&H()}),pt)}p=p||"text";let ct=await yi[_.findKey(yi,p)||"text"](st,r);return!ut&&H&&H(),await new Promise((pt,V)=>{_o(pt,V,{data:ct,headers:ne.from(st.headers),status:st.status,statusText:st.statusText,config:r,request:N})})}catch(I){throw H&&H(),I&&I.name==="TypeError"&&/Load failed|fetch/i.test(I.message)?Object.assign(new P("Network Error",P.ERR_NETWORK,r,N),{cause:I.cause||I}):P.from(I,I&&I.code,r,N)}})};_.forEach(sr,(r,i)=>{if(r){try{Object.defineProperty(r,"name",{value:i})}catch{}Object.defineProperty(r,"adapterName",{value:i})}});const qo=r=>`- ${r}`,dm=r=>_.isFunction(r)||r===null||r===!1,Ho={getAdapter:r=>{r=_.isArray(r)?r:[r];const{length:i}=r;let s,c;const o={};for(let d=0;d<i;d++){s=r[d];let g;if(c=s,!dm(s)&&(c=sr[(g=String(s)).toLowerCase()],c===void 0))throw new P(`Unknown adapter '${g}'`);if(c)break;o[g||"#"+d]=c}if(!c){const d=Object.entries(o).map(([m,b])=>`adapter ${m} `+(b===!1?"is not supported by the environment":"is not available in the build"));let g=i?d.length>1?`since :
161
+ `+d.map(qo).join(`
162
+ `):" "+qo(d[0]):"as no adapter specified";throw new P("There is no suitable adapter to dispatch the request "+g,"ERR_NOT_SUPPORT")}return c},adapters:sr};function cr(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new ua(null,r)}function jo(r){return cr(r),r.headers=ne.from(r.headers),r.data=ur.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),Ho.getAdapter(r.adapter||en.adapter)(r).then(function(c){return cr(r),c.data=ur.call(r,r.transformResponse,c),c.headers=ne.from(c.headers),c},function(c){return Ro(c)||(cr(r),c&&c.response&&(c.response.data=ur.call(r,r.transformResponse,c.response),c.response.headers=ne.from(c.response.headers))),Promise.reject(c)})}const Lo="1.10.0",vi={};["object","boolean","number","function","string","symbol"].forEach((r,i)=>{vi[r]=function(c){return typeof c===r||"a"+(i<1?"n ":" ")+r}});const Yo={};vi.transitional=function(i,s,c){function o(d,g){return"[Axios v"+Lo+"] Transitional option '"+d+"'"+g+(c?". "+c:"")}return(d,g,m)=>{if(i===!1)throw new P(o(g," has been removed"+(s?" in "+s:"")),P.ERR_DEPRECATED);return s&&!Yo[g]&&(Yo[g]=!0,console.warn(o(g," has been deprecated since v"+s+" and will be removed in the near future"))),i?i(d,g,m):!0}},vi.spelling=function(i){return(s,c)=>(console.warn(`${c} is likely a misspelling of ${i}`),!0)};function hm(r,i,s){if(typeof r!="object")throw new P("options must be an object",P.ERR_BAD_OPTION_VALUE);const c=Object.keys(r);let o=c.length;for(;o-- >0;){const d=c[o],g=i[d];if(g){const m=r[d],b=m===void 0||g(m,d,r);if(b!==!0)throw new P("option "+d+" must be "+b,P.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new P("Unknown option "+d,P.ERR_BAD_OPTION)}}const bi={assertOptions:hm,validators:vi},Ce=bi.validators;let jl=class{constructor(i){this.defaults=i||{},this.interceptors={request:new xo,response:new xo}}async request(i,s){try{return await this._request(i,s)}catch(c){if(c instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const d=o.stack?o.stack.replace(/^.+\n/,""):"";try{c.stack?d&&!String(c.stack).endsWith(d.replace(/^.+\n.+\n/,""))&&(c.stack+=`
163
+ `+d):c.stack=d}catch{}}throw c}}_request(i,s){typeof i=="string"?(s=s||{},s.url=i):s=i||{},s=Hl(this.defaults,s);const{transitional:c,paramsSerializer:o,headers:d}=s;c!==void 0&&bi.assertOptions(c,{silentJSONParsing:Ce.transitional(Ce.boolean),forcedJSONParsing:Ce.transitional(Ce.boolean),clarifyTimeoutError:Ce.transitional(Ce.boolean)},!1),o!=null&&(_.isFunction(o)?s.paramsSerializer={serialize:o}:bi.assertOptions(o,{encode:Ce.function,serialize:Ce.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),bi.assertOptions(s,{baseUrl:Ce.spelling("baseURL"),withXsrfToken:Ce.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let g=d&&_.merge(d.common,d[s.method]);d&&_.forEach(["delete","get","head","post","put","patch","common"],N=>{delete d[N]}),s.headers=ne.concat(g,d);const m=[];let b=!0;this.interceptors.request.forEach(function(H){typeof H.runWhen=="function"&&H.runWhen(s)===!1||(b=b&&H.synchronous,m.unshift(H.fulfilled,H.rejected))});const p=[];this.interceptors.response.forEach(function(H){p.push(H.fulfilled,H.rejected)});let v,z=0,D;if(!b){const N=[jo.bind(this),void 0];for(N.unshift.apply(N,m),N.push.apply(N,p),D=N.length,v=Promise.resolve(s);z<D;)v=v.then(N[z++],N[z++]);return v}D=m.length;let Q=s;for(z=0;z<D;){const N=m[z++],H=m[z++];try{Q=N(Q)}catch(L){H.call(this,L);break}}try{v=jo.call(this,Q)}catch(N){return Promise.reject(N)}for(z=0,D=p.length;z<D;)v=v.then(p[z++],p[z++]);return v}getUri(i){i=Hl(this.defaults,i);const s=ko(i.baseURL,i.url,i.allowAbsoluteUrls);return So(s,i.params,i.paramsSerializer)}};_.forEach(["delete","get","head","options"],function(i){jl.prototype[i]=function(s,c){return this.request(Hl(c||{},{method:i,url:s,data:(c||{}).data}))}}),_.forEach(["post","put","patch"],function(i){function s(c){return function(d,g,m){return this.request(Hl(m||{},{method:i,headers:c?{"Content-Type":"multipart/form-data"}:{},url:d,data:g}))}}jl.prototype[i]=s(),jl.prototype[i+"Form"]=s(!0)});let pm=class qp{constructor(i){if(typeof i!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(d){s=d});const c=this;this.promise.then(o=>{if(!c._listeners)return;let d=c._listeners.length;for(;d-- >0;)c._listeners[d](o);c._listeners=null}),this.promise.then=o=>{let d;const g=new Promise(m=>{c.subscribe(m),d=m}).then(o);return g.cancel=function(){c.unsubscribe(d)},g},i(function(d,g,m){c.reason||(c.reason=new ua(d,g,m),s(c.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const s=this._listeners.indexOf(i);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const i=new AbortController,s=c=>{i.abort(c)};return this.subscribe(s),i.signal.unsubscribe=()=>this.unsubscribe(s),i.signal}static source(){let i;return{token:new qp(function(o){i=o}),cancel:i}}};function gm(r){return function(s){return r.apply(null,s)}}function mm(r){return _.isObject(r)&&r.isAxiosError===!0}const or={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(or).forEach(([r,i])=>{or[i]=r});function Go(r){const i=new jl(r),s=no(jl.prototype.request,i);return _.extend(s,jl.prototype,i,{allOwnKeys:!0}),_.extend(s,i,null,{allOwnKeys:!0}),s.create=function(o){return Go(Hl(r,o))},s}const Dt=Go(en);Dt.Axios=jl,Dt.CanceledError=ua,Dt.CancelToken=pm,Dt.isCancel=Ro,Dt.VERSION=Lo,Dt.toFormData=hi,Dt.AxiosError=P,Dt.Cancel=Dt.CanceledError,Dt.all=function(i){return Promise.all(i)},Dt.spread=gm,Dt.isAxiosError=mm,Dt.mergeConfig=Hl,Dt.AxiosHeaders=ne,Dt.formToJSON=r=>To(_.isHTMLForm(r)?new FormData(r):r),Dt.getAdapter=Ho.getAdapter,Dt.HttpStatusCode=or,Dt.default=Dt;const{Axios:lb,AxiosError:ab,CanceledError:nb,isCancel:ib,CancelToken:ub,VERSION:rb,all:sb,Cancel:cb,isAxiosError:ob,spread:fb,toFormData:db,AxiosHeaders:hb,HttpStatusCode:pb,formToJSON:gb,getAdapter:mb,mergeConfig:yb}=Dt,ym=async(r,i)=>{var o;const s=(o=window.location.search.replace("?","").split("&").find(d=>d.includes("utm")))==null?void 0:o.split("=")[1];return(await Dt.post(i,{message:r},{headers:{utm:s}})).data.output},vm=async r=>{const i=await Dt.get(r),s=[];for(const c of i.data.propertyName){const o=JSON.parse(c);s.push(o)}return s.reverse()};function Xo({theme:r="boring",notificationBadge:i=!0,greeting:s,pageContext:c,chatPrompts:o=[],chatbotUrl:d,dialogeBaseUrl:g}){const m=s?[{content:s,sender:"bot"}]:[],[b,p]=Wt.useState(!1),[v,z]=Wt.useState(s?m:[]),[D,Q]=Wt.useState(""),[N,H]=Wt.useState(!1),[L,I]=Wt.useState(!0),st=Wt.useRef(null),[ut,ct]=Wt.useState(o),pt=()=>{var et;(et=st.current)==null||et.scrollIntoView({behavior:"smooth"})};Wt.useEffect(()=>{v.filter(Rt=>Rt.sender==="user").length>0?I(!1):I(!0),pt()},[v]),Wt.useEffect(()=>{v.length<=1&&vm(g).then(et=>{const Rt=et.map(ie=>({content:ie.data.content,sender:ie.type==="human"?"user":"bot"}));z([...m,...Rt])})},[g]),Wt.useEffect(()=>{const et=window.location.pathname;if(c){for(const[Rt,{exec:ie,timer:Lt}]of Object.entries(c))if(Rt===et){V(Lt,ie);break}}},[c]);const V=async(et,Rt)=>{await V0(et),Rt({open:{isOpen:b,setIsOpen:p},messageOptions:{messages:v,setMessages:z},input:{inputValue:D,setInputValue:Q},promptsOptions:{prompts:ut,setPrompts:ct},scrollToBottom:pt})},gt=async et=>{const Rt=et||D.trim();if(!Rt)return;const ie={content:Rt,sender:"user"};z(Lt=>[...Lt,ie]),Q(""),H(!0);try{const Pt={content:await ym(Rt,d),sender:"bot"};z(qe=>[...qe,Pt])}catch{const Pt={content:"Unfortunately, an error occurred while processing your request.",sender:"bot"};z(qe=>[...qe,Pt])}finally{H(!1)}},Zt=async et=>{et.key==="Enter"&&!et.shiftKey&&(et.preventDefault(),await gt())};return J.jsxs("div",{className:"fixed bottom-6 right-6 z-50",children:[J.jsx("div",{className:`
124
164
  absolute bottom-16 right-0 w-96 h-[700px]
125
165
  transform transition-all duration-300 ease-in-out origin-bottom-right
126
- ${u?"scale-100 opacity-100":"scale-0 opacity-0 pointer-events-none"}
127
- `,children:m.jsxs("div",{className:`${M(t,"mainBackground")} rounded-4xl shadow-2xl backdrop-blur-xl h-full flex flex-col overflow-hidden`,children:[m.jsx(Sr,{setIsOpen:l,theme:t}),m.jsxs("div",{className:"flex-1 flex flex-col h-full justify-between overflow-y-auto p-4 space-y-4 scrollbar-thin scrollbar-thumb-purple-500/50 scrollbar-track-transparent",children:[m.jsxs("div",{className:"space-y-4 ",children:[c.map((E,B)=>m.jsx(ln,{message:E,index:B,theme:t},E.content)),f&&m.jsx(cn,{}),m.jsx("div",{ref:S})]}),w&&m.jsx("div",{className:"flex gap-2 flex-wrap",children:T.map(E=>m.jsx(fn,{prompt:E,handleSendMessage:O,theme:t},E))})]}),m.jsx(pn,{handleKeyPress:Y,inputValue:d,setInputValue:x,handleSendMessage:()=>O(),theme:t})]})}),m.jsx(dn,{isOpen:u,setIsOpen:l}),!u&&e&&m.jsx(un,{})]})}function qi(t,e={}){const r=typeof t=="string"?document.querySelector(t):t;F.createRoot(r).render(m.jsx(Ui,{...e}))}return q.mountChatbotWidget=qi,Object.defineProperty(q,Symbol.toStringTag,{value:"Module"}),q}({},ReactDOM,React);
166
+ ${b?"scale-100 opacity-100":"scale-0 opacity-0 pointer-events-none"}
167
+ `,children:J.jsxs("div",{className:`${Ze(r,"mainBackground")} rounded-4xl shadow-2xl backdrop-blur-xl h-full flex flex-col overflow-hidden`,children:[J.jsx(n0,{setIsOpen:p,theme:r}),J.jsxs("div",{className:"flex-1 flex flex-col h-full justify-between overflow-y-auto p-4 space-y-4 scrollbar-thin scrollbar-thumb-purple-500/50 scrollbar-track-transparent",children:[J.jsxs("div",{className:"space-y-4 ",children:[v.map((et,Rt)=>J.jsx(Y0,{message:et,index:Rt,theme:r},et.content)),N&&J.jsx(G0,{}),J.jsx("div",{ref:st})]}),L&&J.jsx("div",{className:"flex gap-2 flex-wrap",children:ut.map(et=>J.jsx(K0,{prompt:et,handleSendMessage:gt,theme:r},et))})]}),J.jsx(Q0,{handleKeyPress:Zt,inputValue:D,setInputValue:Q,handleSendMessage:()=>gt(),theme:r})]})}),J.jsx(Z0,{isOpen:b,setIsOpen:p}),!b&&i&&J.jsx(X0,{})]})}function bm(r,i={}){const s=typeof r=="string"?document.querySelector(r):r;console.log({ChatbotWidget:Xo,el:s,props:i}),Jp.createRoot(s).render(J.jsx(Xo,{...i}))}return Qe.mountChatbotWidget=bm,Object.defineProperty(Qe,Symbol.toStringTag,{value:"Module"}),Qe}({});