ai-chatbot-widget 0.0.21 → 0.0.23

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(Ze){"use strict";var Gv=Object.defineProperty;var Xv=(Ze,Ce,na)=>Ce in Ze?Gv(Ze,Ce,{enumerable:!0,configurable:!0,writable:!0,value:na}):Ze[Ce]=na;var Tt=(Ze,Ce,na)=>Xv(Ze,typeof Ce!="symbol"?Ce+"":Ce,na);var fr;var Ce=document.createElement("style");Ce.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-200:oklch(90.2% .063 306.703);--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);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--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-1{right:calc(var(--spacing)*1)}.bottom-1{bottom:calc(var(--spacing)*1)}.bottom-15{bottom:calc(var(--spacing)*15)}.-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)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.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-14{height:calc(var(--spacing)*14)}.h-\\[65vh\\]{height:65vh}.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-14{width:calc(var(--spacing)*14)}.w-86{width:calc(var(--spacing)*86)}.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-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-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-black\\/20{border-color:#0003}@supports (color:color-mix(in lab,red,red)){.border-black\\/20{border-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.border-purple-200{border-color:var(--color-purple-200)}.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-\\[\\#016553\\]{background-color:#016553}.bg-\\[\\#016553\\]\\/80{background-color:#016553cc}.bg-\\[\\#D1A205\\]{background-color:#d1a205}.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-red-500{background-color:var(--color-red-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-\\[\\#016553\\]\\/80{--tw-gradient-from:oklab(45.2486% -.0848231 .00772923/.8);--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-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-\\[\\#016553\\]\\/90{--tw-gradient-to:oklab(45.2486% -.0848231 .00772923/.9);--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-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-2{padding:calc(var(--spacing)*2)}.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-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-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-\\[\\#1A1A1A\\]{color:#1a1a1a}.text-black{color:var(--color-black)}.text-black\\/80{color:#000c}@supports (color:color-mix(in lab,red,red)){.text-black\\/80{color:color-mix(in oklab,var(--color-black)80%,transparent)}}.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\\: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))}}.active\\:scale-9:active{--tw-scale-x:9%;--tw-scale-y:9%;--tw-scale-z:9%;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))}@media (min-width:40rem){.sm\\:bottom-16{bottom:calc(var(--spacing)*16)}.sm\\:w-96{width:calc(var(--spacing)*96)}}@media (min-width:48rem){.md\\:right-6{right:calc(var(--spacing)*6)}.md\\:bottom-6{bottom:calc(var(--spacing)*6)}}@media (min-width:64rem){:where(.lg\\: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)))}.lg\\:p-4{padding:calc(var(--spacing)*4)}}}.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:10px;display:flex}.message p,.message b,.message a{margin-bottom:0;font-size:15px}.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}.message img{border-radius:10px;margin-block:5px}.widget-header h3,.widget-header p{margin-bottom:0}.widget-header h3{font-size:1.25rem}.widget-header p{font-size:.875rem}.chatbot-input textarea{border-radius:10px;outline:none;max-height:100px;min-height:60px!important}@media screen and (max-width:768px){.chatbot-input textarea{height:55px}}.chatbot-input textarea:focus{outline:none}.chatbot-input textarea::placeholder,.chatbot-input textarea,.ai-chatbot-prompt{font-size:14px}.chatbot-open-btn{display:flex}@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(Ce);function na(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Bu={exports:{}},Va={};/**
1
+ var ChatbotWidget=function(Ze){"use strict";var Vv=Object.defineProperty;var Kv=(Ze,Ce,na)=>Ce in Ze?Vv(Ze,Ce,{enumerable:!0,configurable:!0,writable:!0,value:na}):Ze[Ce]=na;var Tt=(Ze,Ce,na)=>Kv(Ze,typeof Ce!="symbol"?Ce+"":Ce,na);var fr;var Ce=document.createElement("style");Ce.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-200:oklch(90.2% .063 306.703);--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-gray-500:oklch(55.1% .027 264.364);--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);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--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-1{right:calc(var(--spacing)*1)}.bottom-1{bottom:calc(var(--spacing)*1)}.bottom-15{bottom:calc(var(--spacing)*15)}.-left-2{left:calc(var(--spacing)*-2)}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mr-4{margin-right:calc(var(--spacing)*4)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.ml-4{margin-left:calc(var(--spacing)*4)}.flex{display:flex}.list-item{display:list-item}.size-3{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.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-14{height:calc(var(--spacing)*14)}.h-\\[65vh\\]{height:65vh}.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-14{width:calc(var(--spacing)*14)}.w-86{width:calc(var(--spacing)*86)}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[100\\%\\]{max-width:100%}.max-w-\\[400px\\]{max-width:400px}.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-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-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{border-radius:.25rem}.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-black\\/20{border-color:#0003}@supports (color:color-mix(in lab,red,red)){.border-black\\/20{border-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.border-black\\/80{border-color:#000c}@supports (color:color-mix(in lab,red,red)){.border-black\\/80{border-color:color-mix(in oklab,var(--color-black)80%,transparent)}}.border-purple-200{border-color:var(--color-purple-200)}.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-\\[\\#016553\\]{background-color:#016553}.bg-\\[\\#016553\\]\\/80{background-color:#016553cc}.bg-\\[\\#D1A205\\]{background-color:#d1a205}.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-red-500{background-color:var(--color-red-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-\\[\\#016553\\]\\/80{--tw-gradient-from:oklab(45.2486% -.0848231 .00772926/.8);--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-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-\\[\\#016553\\]\\/90{--tw-gradient-to:oklab(45.2486% -.0848231 .00772926/.9);--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-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-0\\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.pt-2{padding-top:calc(var(--spacing)*2)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-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-\\[\\#1A1A1A\\]{color:#1a1a1a}.text-black{color:var(--color-black)}.text-black\\/80{color:#000c}@supports (color:color-mix(in lab,red,red)){.text-black\\/80{color:color-mix(in oklab,var(--color-black)80%,transparent)}}.text-cyan-400{color:var(--color-cyan-400)}.text-gray-500{color:var(--color-gray-500)}.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-50{opacity:.5}.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)}.select-none{-webkit-user-select:none;user-select:none}@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\\: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))}}.active\\:scale-9:active{--tw-scale-x:9%;--tw-scale-y:9%;--tw-scale-z:9%;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))}@media (min-width:40rem){.sm\\:bottom-16{bottom:calc(var(--spacing)*16)}.sm\\:w-96{width:calc(var(--spacing)*96)}}@media (min-width:48rem){.md\\:right-6{right:calc(var(--spacing)*6)}.md\\:bottom-6{bottom:calc(var(--spacing)*6)}}@media (min-width:64rem){:where(.lg\\: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)))}.lg\\:p-4{padding:calc(var(--spacing)*4)}}}.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:10px;display:flex}.message p,.message b,.message a{margin-bottom:0;font-size:15px}.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}.message img{border-radius:10px;margin-block:5px}.widget-header h3,.widget-header p{margin-bottom:0}.widget-header h3{font-size:1.25rem}.widget-header p{font-size:.875rem}.chatbot-input textarea{border-radius:10px;outline:none;max-height:100px;min-height:60px!important}@media screen and (max-width:768px){.chatbot-input textarea{height:55px}}.chatbot-input textarea:focus{outline:none}.chatbot-input textarea::placeholder,.chatbot-input textarea,.ai-chatbot-prompt{font-size:14px}.chatbot-open-btn{display:flex}@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(Ce);function na(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Bu={exports:{}},Ka={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
5
5
  *
@@ -7,7 +7,7 @@ var ChatbotWidget=function(Ze){"use strict";var Gv=Object.defineProperty;var Xv=
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 zs;function qp(){if(zs)return Va;zs=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function c(s,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:s,key:g,ref:o!==void 0?o:null,props:d}}return Va.Fragment=i,Va.jsx=c,Va.jsxs=c,Va}var Os;function Hp(){return Os||(Os=1,Bu.exports=qp()),Bu.exports}var K=Hp(),Cu={exports:{}},Ka={},qu={exports:{}},Hu={};/**
10
+ */var zs;function jp(){if(zs)return Ka;zs=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function c(s,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:s,key:g,ref:o!==void 0?o:null,props:d}}return Ka.Fragment=i,Ka.jsx=c,Ka.jsxs=c,Ka}var Os;function Lp(){return Os||(Os=1,Bu.exports=jp()),Bu.exports}var X=Lp(),Cu={exports:{}},Ja={},qu={exports:{}},Hu={};/**
11
11
  * @license React
12
12
  * scheduler.production.js
13
13
  *
@@ -15,7 +15,7 @@ var ChatbotWidget=function(Ze){"use strict";var Gv=Object.defineProperty;var Xv=
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var Ds;function jp(){return Ds||(Ds=1,function(r){function i(C,B){var q=C.length;C.push(B);t:for(;0<q;){var it=q-1>>>1,Rt=C[it];if(0<o(Rt,B))C[it]=B,C[q]=Rt,q=it;else break t}}function c(C){return C.length===0?null:C[0]}function s(C){if(C.length===0)return null;var B=C[0],q=C.pop();if(q!==B){C[0]=q;t:for(var it=0,Rt=C.length,x=Rt>>>1;it<x;){var U=2*(it+1)-1,Y=C[U],H=U+1,$=C[H];if(0>o(Y,q))H<Rt&&0>o($,Y)?(C[it]=$,C[H]=q,it=H):(C[it]=Y,C[U]=q,it=U);else if(H<Rt&&0>o($,q))C[it]=$,C[H]=q,it=H;else break t}}return B}function o(C,B){var q=C.sortIndex-B.sortIndex;return q!==0?q: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 w=[],p=[],v=1,k=null,D=3,X=!1,N=!1,j=!1,L=!1,tt=typeof setTimeout=="function"?setTimeout:null,ct=typeof clearTimeout=="function"?clearTimeout:null,st=typeof setImmediate<"u"?setImmediate:null;function ut(C){for(var B=c(p);B!==null;){if(B.callback===null)s(p);else if(B.startTime<=C)s(p),B.sortIndex=B.expirationTime,i(w,B);else break;B=c(p)}}function ht(C){if(j=!1,ut(C),!N)if(c(w)!==null)N=!0,Z||(Z=!0,Pt());else{var B=c(p);B!==null&&zt(ht,B.startTime-C)}}var Z=!1,vt=-1,Yt=5,Gt=-1;function de(){return L?!0:!(r.unstable_now()-Gt<Yt)}function Je(){if(L=!1,Z){var C=r.unstable_now();Gt=C;var B=!0;try{t:{N=!1,j&&(j=!1,ct(vt),vt=-1),X=!0;var q=D;try{e:{for(ut(C),k=c(w);k!==null&&!(k.expirationTime>C&&de());){var it=k.callback;if(typeof it=="function"){k.callback=null,D=k.priorityLevel;var Rt=it(k.expirationTime<=C);if(C=r.unstable_now(),typeof Rt=="function"){k.callback=Rt,ut(C),B=!0;break e}k===c(w)&&s(w),ut(C)}else s(w);k=c(w)}if(k!==null)B=!0;else{var x=c(p);x!==null&&zt(ht,x.startTime-C),B=!1}}break t}finally{k=null,D=q,X=!1}B=void 0}}finally{B?Pt():Z=!1}}}var Pt;if(typeof st=="function")Pt=function(){st(Je)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,gt=ue.port2;ue.port1.onmessage=Je,Pt=function(){gt.postMessage(null)}}else Pt=function(){tt(Je,0)};function zt(C,B){vt=tt(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"):Yt=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 q=D;D=B;try{return C()}finally{D=q}},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 q=D;D=C;try{return B()}finally{D=q}},r.unstable_scheduleCallback=function(C,B,q){var it=r.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?it+q:it):q=it,C){case 1:var Rt=-1;break;case 2:Rt=250;break;case 5:Rt=1073741823;break;case 4:Rt=1e4;break;default:Rt=5e3}return Rt=q+Rt,C={id:v++,callback:B,priorityLevel:C,startTime:q,expirationTime:Rt,sortIndex:-1},q>it?(C.sortIndex=q,i(p,C),c(w)===null&&C===c(p)&&(j?(ct(vt),vt=-1):j=!0,zt(ht,q-it))):(C.sortIndex=Rt,i(w,C),N||X||(N=!0,Z||(Z=!0,Pt()))),C},r.unstable_shouldYield=de,r.unstable_wrapCallback=function(C){var B=D;return function(){var q=D;D=B;try{return C.apply(this,arguments)}finally{D=q}}}}(Hu)),Hu}var Ms;function Lp(){return Ms||(Ms=1,qu.exports=jp()),qu.exports}var ju={exports:{}},I={},Ns;function Yp(){if(Ns)return I;Ns=1;var r={env:{NODE_ENV:"production"}};/**
18
+ */var Ds;function Yp(){return Ds||(Ds=1,function(r){function i(q,M){var C=q.length;q.push(M);t:for(;0<C;){var et=C-1>>>1,pt=q[et];if(0<o(pt,M))q[et]=M,q[C]=pt,C=et;else break t}}function c(q){return q.length===0?null:q[0]}function s(q){if(q.length===0)return null;var M=q[0],C=q.pop();if(C!==M){q[0]=C;t:for(var et=0,pt=q.length,x=pt>>>1;et<x;){var B=2*(et+1)-1,Y=q[B],j=B+1,$=q[j];if(0>o(Y,C))j<pt&&0>o($,Y)?(q[et]=$,q[j]=C,et=j):(q[et]=Y,q[B]=C,et=B);else if(j<pt&&0>o($,C))q[et]=$,q[j]=C,et=j;else break t}}return M}function o(q,M){var C=q.sortIndex-M.sortIndex;return C!==0?C:q.id-M.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 w=[],p=[],v=1,_=null,O=3,Z=!1,U=!1,H=!1,L=!1,P=typeof setTimeout=="function"?setTimeout:null,st=typeof clearTimeout=="function"?clearTimeout:null,ut=typeof setImmediate<"u"?setImmediate:null;function ct(q){for(var M=c(p);M!==null;){if(M.callback===null)s(p);else if(M.startTime<=q)s(p),M.sortIndex=M.expirationTime,i(w,M);else break;M=c(p)}}function ht(q){if(H=!1,ct(q),!U)if(c(w)!==null)U=!0,V||(V=!0,ne());else{var M=c(p);M!==null&&oe(ht,M.startTime-q)}}var V=!1,mt=-1,Qt=5,Ut=-1;function xe(){return L?!0:!(r.unstable_now()-Ut<Qt)}function Me(){if(L=!1,V){var q=r.unstable_now();Ut=q;var M=!0;try{t:{U=!1,H&&(H=!1,st(mt),mt=-1),Z=!0;var C=O;try{e:{for(ct(q),_=c(w);_!==null&&!(_.expirationTime>q&&xe());){var et=_.callback;if(typeof et=="function"){_.callback=null,O=_.priorityLevel;var pt=et(_.expirationTime<=q);if(q=r.unstable_now(),typeof pt=="function"){_.callback=pt,ct(q),M=!0;break e}_===c(w)&&s(w),ct(q)}else s(w);_=c(w)}if(_!==null)M=!0;else{var x=c(p);x!==null&&oe(ht,x.startTime-q),M=!1}}break t}finally{_=null,O=C,Z=!1}M=void 0}}finally{M?ne():V=!1}}}var ne;if(typeof ut=="function")ne=function(){ut(Me)};else if(typeof MessageChannel<"u"){var te=new MessageChannel,sl=te.port2;te.port1.onmessage=Me,ne=function(){sl.postMessage(null)}}else ne=function(){P(Me,0)};function oe(q,M){mt=P(function(){q(r.unstable_now())},M)}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(q){q.callback=null},r.unstable_forceFrameRate=function(q){0>q||125<q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Qt=0<q?Math.floor(1e3/q):5},r.unstable_getCurrentPriorityLevel=function(){return O},r.unstable_next=function(q){switch(O){case 1:case 2:case 3:var M=3;break;default:M=O}var C=O;O=M;try{return q()}finally{O=C}},r.unstable_requestPaint=function(){L=!0},r.unstable_runWithPriority=function(q,M){switch(q){case 1:case 2:case 3:case 4:case 5:break;default:q=3}var C=O;O=q;try{return M()}finally{O=C}},r.unstable_scheduleCallback=function(q,M,C){var et=r.unstable_now();switch(typeof C=="object"&&C!==null?(C=C.delay,C=typeof C=="number"&&0<C?et+C:et):C=et,q){case 1:var pt=-1;break;case 2:pt=250;break;case 5:pt=1073741823;break;case 4:pt=1e4;break;default:pt=5e3}return pt=C+pt,q={id:v++,callback:M,priorityLevel:q,startTime:C,expirationTime:pt,sortIndex:-1},C>et?(q.sortIndex=C,i(p,q),c(w)===null&&q===c(p)&&(H?(st(mt),mt=-1):H=!0,oe(ht,C-et))):(q.sortIndex=pt,i(w,q),U||Z||(U=!0,V||(V=!0,ne()))),q},r.unstable_shouldYield=xe,r.unstable_wrapCallback=function(q){var M=O;return function(){var C=O;O=M;try{return q.apply(this,arguments)}finally{O=C}}}}(Hu)),Hu}var Ms;function Gp(){return Ms||(Ms=1,qu.exports=Yp()),qu.exports}var ju={exports:{}},tt={},Ns;function Xp(){if(Ns)return tt;Ns=1;var r={env:{NODE_ENV:"production"}};/**
19
19
  * @license React
20
20
  * react.production.js
21
21
  *
@@ -23,7 +23,7 @@ var ChatbotWidget=function(Ze){"use strict";var Gv=Object.defineProperty;var Xv=
23
23
  *
24
24
  * This source code is licensed under the MIT license found in the
25
25
  * LICENSE file in the root directory of this source tree.
26
- */var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),s=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"),w=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),D=Symbol.iterator;function X(x){return x===null||typeof x!="object"?null:(x=D&&x[D]||x["@@iterator"],typeof x=="function"?x:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,L={};function tt(x,U,Y){this.props=x,this.context=U,this.refs=L,this.updater=Y||N}tt.prototype.isReactComponent={},tt.prototype.setState=function(x,U){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,U,"setState")},tt.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function ct(){}ct.prototype=tt.prototype;function st(x,U,Y){this.props=x,this.context=U,this.refs=L,this.updater=Y||N}var ut=st.prototype=new ct;ut.constructor=st,j(ut,tt.prototype),ut.isPureReactComponent=!0;var ht=Array.isArray,Z={H:null,A:null,T:null,S:null,V:null},vt=Object.prototype.hasOwnProperty;function Yt(x,U,Y,H,$,St){return Y=St.ref,{$$typeof:i,type:x,key:U,ref:Y!==void 0?Y:null,props:St}}function Gt(x,U){return Yt(x.type,U,void 0,void 0,void 0,x.props)}function de(x){return typeof x=="object"&&x!==null&&x.$$typeof===i}function Je(x){var U={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(Y){return U[Y]})}var Pt=/\/+/g;function ue(x,U){return typeof x=="object"&&x!==null&&x.key!=null?Je(""+x.key):U.toString(36)}function gt(){}function zt(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(gt,gt):(x.status="pending",x.then(function(U){x.status==="pending"&&(x.status="fulfilled",x.value=U)},function(U){x.status==="pending"&&(x.status="rejected",x.reason=U)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function C(x,U,Y,H,$){var St=typeof x;(St==="undefined"||St==="boolean")&&(x=null);var F=!1;if(x===null)F=!0;else switch(St){case"bigint":case"string":case"number":F=!0;break;case"object":switch(x.$$typeof){case i:case c:F=!0;break;case k:return F=x._init,C(F(x._payload),U,Y,H,$)}}if(F)return $=$(x),F=H===""?"."+ue(x,0):H,ht($)?(Y="",F!=null&&(Y=F.replace(Pt,"$&/")+"/"),C($,U,Y,"",function(ol){return ol})):$!=null&&(de($)&&($=Gt($,Y+($.key==null||x&&x.key===$.key?"":(""+$.key).replace(Pt,"$&/")+"/")+F)),U.push($)),1;F=0;var he=H===""?".":H+":";if(ht(x))for(var kt=0;kt<x.length;kt++)H=x[kt],St=he+ue(H,kt),F+=C(H,U,Y,St,$);else if(kt=X(x),typeof kt=="function")for(x=kt.call(x),kt=0;!(H=x.next()).done;)H=H.value,St=he+ue(H,kt++),F+=C(H,U,Y,St,$);else if(St==="object"){if(typeof x.then=="function")return C(zt(x),U,Y,H,$);throw U=String(x),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return F}function B(x,U,Y){if(x==null)return x;var H=[],$=0;return C(x,H,"","",function(St){return U.call(Y,St,$++)}),H}function q(x){if(x._status===-1){var U=x._result;U=U(),U.then(function(Y){(x._status===0||x._status===-1)&&(x._status=1,x._result=Y)},function(Y){(x._status===0||x._status===-1)&&(x._status=2,x._result=Y)}),x._status===-1&&(x._status=0,x._result=U)}if(x._status===1)return x._result.default;throw x._result}var it=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(U))return}else if(typeof r=="object"&&typeof r.emit=="function"){r.emit("uncaughtException",x);return}console.error(x)};function Rt(){}return I.Children={map:B,forEach:function(x,U,Y){B(x,function(){U.apply(this,arguments)},Y)},count:function(x){var U=0;return B(x,function(){U++}),U},toArray:function(x){return B(x,function(U){return U})||[]},only:function(x){if(!de(x))throw Error("React.Children.only expected to receive a single React element child.");return x}},I.Component=tt,I.Fragment=s,I.Profiler=d,I.PureComponent=st,I.StrictMode=o,I.Suspense=p,I.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,I.__COMPILER_RUNTIME={__proto__:null,c:function(x){return Z.H.useMemoCache(x)}},I.cache=function(x){return function(){return x.apply(null,arguments)}},I.cloneElement=function(x,U,Y){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var H=j({},x.props),$=x.key,St=void 0;if(U!=null)for(F in U.ref!==void 0&&(St=void 0),U.key!==void 0&&($=""+U.key),U)!vt.call(U,F)||F==="key"||F==="__self"||F==="__source"||F==="ref"&&U.ref===void 0||(H[F]=U[F]);var F=arguments.length-2;if(F===1)H.children=Y;else if(1<F){for(var he=Array(F),kt=0;kt<F;kt++)he[kt]=arguments[kt+2];H.children=he}return Yt(x.type,$,void 0,void 0,St,H)},I.createContext=function(x){return x={$$typeof:m,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:g,_context:x},x},I.createElement=function(x,U,Y){var H,$={},St=null;if(U!=null)for(H in U.key!==void 0&&(St=""+U.key),U)vt.call(U,H)&&H!=="key"&&H!=="__self"&&H!=="__source"&&($[H]=U[H]);var F=arguments.length-2;if(F===1)$.children=Y;else if(1<F){for(var he=Array(F),kt=0;kt<F;kt++)he[kt]=arguments[kt+2];$.children=he}if(x&&x.defaultProps)for(H in F=x.defaultProps,F)$[H]===void 0&&($[H]=F[H]);return Yt(x,St,void 0,void 0,null,$)},I.createRef=function(){return{current:null}},I.forwardRef=function(x){return{$$typeof:w,render:x}},I.isValidElement=de,I.lazy=function(x){return{$$typeof:k,_payload:{_status:-1,_result:x},_init:q}},I.memo=function(x,U){return{$$typeof:v,type:x,compare:U===void 0?null:U}},I.startTransition=function(x){var U=Z.T,Y={};Z.T=Y;try{var H=x(),$=Z.S;$!==null&&$(Y,H),typeof H=="object"&&H!==null&&typeof H.then=="function"&&H.then(Rt,it)}catch(St){it(St)}finally{Z.T=U}},I.unstable_useCacheRefresh=function(){return Z.H.useCacheRefresh()},I.use=function(x){return Z.H.use(x)},I.useActionState=function(x,U,Y){return Z.H.useActionState(x,U,Y)},I.useCallback=function(x,U){return Z.H.useCallback(x,U)},I.useContext=function(x){return Z.H.useContext(x)},I.useDebugValue=function(){},I.useDeferredValue=function(x,U){return Z.H.useDeferredValue(x,U)},I.useEffect=function(x,U,Y){var H=Z.H;if(typeof Y=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return H.useEffect(x,U)},I.useId=function(){return Z.H.useId()},I.useImperativeHandle=function(x,U,Y){return Z.H.useImperativeHandle(x,U,Y)},I.useInsertionEffect=function(x,U){return Z.H.useInsertionEffect(x,U)},I.useLayoutEffect=function(x,U){return Z.H.useLayoutEffect(x,U)},I.useMemo=function(x,U){return Z.H.useMemo(x,U)},I.useOptimistic=function(x,U){return Z.H.useOptimistic(x,U)},I.useReducer=function(x,U,Y){return Z.H.useReducer(x,U,Y)},I.useRef=function(x){return Z.H.useRef(x)},I.useState=function(x){return Z.H.useState(x)},I.useSyncExternalStore=function(x,U,Y){return Z.H.useSyncExternalStore(x,U,Y)},I.useTransition=function(){return Z.H.useTransition()},I.version="19.1.0",I}var Us;function Lu(){return Us||(Us=1,ju.exports=Yp()),ju.exports}var Yu={exports:{}},Wt={};/**
26
+ */var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),s=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"),w=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),O=Symbol.iterator;function Z(x){return x===null||typeof x!="object"?null:(x=O&&x[O]||x["@@iterator"],typeof x=="function"?x:null)}var U={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,L={};function P(x,B,Y){this.props=x,this.context=B,this.refs=L,this.updater=Y||U}P.prototype.isReactComponent={},P.prototype.setState=function(x,B){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,B,"setState")},P.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function st(){}st.prototype=P.prototype;function ut(x,B,Y){this.props=x,this.context=B,this.refs=L,this.updater=Y||U}var ct=ut.prototype=new st;ct.constructor=ut,H(ct,P.prototype),ct.isPureReactComponent=!0;var ht=Array.isArray,V={H:null,A:null,T:null,S:null,V:null},mt=Object.prototype.hasOwnProperty;function Qt(x,B,Y,j,$,St){return Y=St.ref,{$$typeof:i,type:x,key:B,ref:Y!==void 0?Y:null,props:St}}function Ut(x,B){return Qt(x.type,B,void 0,void 0,void 0,x.props)}function xe(x){return typeof x=="object"&&x!==null&&x.$$typeof===i}function Me(x){var B={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(Y){return B[Y]})}var ne=/\/+/g;function te(x,B){return typeof x=="object"&&x!==null&&x.key!=null?Me(""+x.key):B.toString(36)}function sl(){}function oe(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(sl,sl):(x.status="pending",x.then(function(B){x.status==="pending"&&(x.status="fulfilled",x.value=B)},function(B){x.status==="pending"&&(x.status="rejected",x.reason=B)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function q(x,B,Y,j,$){var St=typeof x;(St==="undefined"||St==="boolean")&&(x=null);var F=!1;if(x===null)F=!0;else switch(St){case"bigint":case"string":case"number":F=!0;break;case"object":switch(x.$$typeof){case i:case c:F=!0;break;case _:return F=x._init,q(F(x._payload),B,Y,j,$)}}if(F)return $=$(x),F=j===""?"."+te(x,0):j,ht($)?(Y="",F!=null&&(Y=F.replace(ne,"$&/")+"/"),q($,B,Y,"",function(ol){return ol})):$!=null&&(xe($)&&($=Ut($,Y+($.key==null||x&&x.key===$.key?"":(""+$.key).replace(ne,"$&/")+"/")+F)),B.push($)),1;F=0;var fe=j===""?".":j+":";if(ht(x))for(var Rt=0;Rt<x.length;Rt++)j=x[Rt],St=fe+te(j,Rt),F+=q(j,B,Y,St,$);else if(Rt=Z(x),typeof Rt=="function")for(x=Rt.call(x),Rt=0;!(j=x.next()).done;)j=j.value,St=fe+te(j,Rt++),F+=q(j,B,Y,St,$);else if(St==="object"){if(typeof x.then=="function")return q(oe(x),B,Y,j,$);throw B=String(x),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.")}return F}function M(x,B,Y){if(x==null)return x;var j=[],$=0;return q(x,j,"","",function(St){return B.call(Y,St,$++)}),j}function C(x){if(x._status===-1){var B=x._result;B=B(),B.then(function(Y){(x._status===0||x._status===-1)&&(x._status=1,x._result=Y)},function(Y){(x._status===0||x._status===-1)&&(x._status=2,x._result=Y)}),x._status===-1&&(x._status=0,x._result=B)}if(x._status===1)return x._result.default;throw x._result}var et=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var B=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(B))return}else if(typeof r=="object"&&typeof r.emit=="function"){r.emit("uncaughtException",x);return}console.error(x)};function pt(){}return tt.Children={map:M,forEach:function(x,B,Y){M(x,function(){B.apply(this,arguments)},Y)},count:function(x){var B=0;return M(x,function(){B++}),B},toArray:function(x){return M(x,function(B){return B})||[]},only:function(x){if(!xe(x))throw Error("React.Children.only expected to receive a single React element child.");return x}},tt.Component=P,tt.Fragment=s,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(x){return V.H.useMemoCache(x)}},tt.cache=function(x){return function(){return x.apply(null,arguments)}},tt.cloneElement=function(x,B,Y){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var j=H({},x.props),$=x.key,St=void 0;if(B!=null)for(F in B.ref!==void 0&&(St=void 0),B.key!==void 0&&($=""+B.key),B)!mt.call(B,F)||F==="key"||F==="__self"||F==="__source"||F==="ref"&&B.ref===void 0||(j[F]=B[F]);var F=arguments.length-2;if(F===1)j.children=Y;else if(1<F){for(var fe=Array(F),Rt=0;Rt<F;Rt++)fe[Rt]=arguments[Rt+2];j.children=fe}return Qt(x.type,$,void 0,void 0,St,j)},tt.createContext=function(x){return x={$$typeof:m,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:g,_context:x},x},tt.createElement=function(x,B,Y){var j,$={},St=null;if(B!=null)for(j in B.key!==void 0&&(St=""+B.key),B)mt.call(B,j)&&j!=="key"&&j!=="__self"&&j!=="__source"&&($[j]=B[j]);var F=arguments.length-2;if(F===1)$.children=Y;else if(1<F){for(var fe=Array(F),Rt=0;Rt<F;Rt++)fe[Rt]=arguments[Rt+2];$.children=fe}if(x&&x.defaultProps)for(j in F=x.defaultProps,F)$[j]===void 0&&($[j]=F[j]);return Qt(x,St,void 0,void 0,null,$)},tt.createRef=function(){return{current:null}},tt.forwardRef=function(x){return{$$typeof:w,render:x}},tt.isValidElement=xe,tt.lazy=function(x){return{$$typeof:_,_payload:{_status:-1,_result:x},_init:C}},tt.memo=function(x,B){return{$$typeof:v,type:x,compare:B===void 0?null:B}},tt.startTransition=function(x){var B=V.T,Y={};V.T=Y;try{var j=x(),$=V.S;$!==null&&$(Y,j),typeof j=="object"&&j!==null&&typeof j.then=="function"&&j.then(pt,et)}catch(St){et(St)}finally{V.T=B}},tt.unstable_useCacheRefresh=function(){return V.H.useCacheRefresh()},tt.use=function(x){return V.H.use(x)},tt.useActionState=function(x,B,Y){return V.H.useActionState(x,B,Y)},tt.useCallback=function(x,B){return V.H.useCallback(x,B)},tt.useContext=function(x){return V.H.useContext(x)},tt.useDebugValue=function(){},tt.useDeferredValue=function(x,B){return V.H.useDeferredValue(x,B)},tt.useEffect=function(x,B,Y){var j=V.H;if(typeof Y=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return j.useEffect(x,B)},tt.useId=function(){return V.H.useId()},tt.useImperativeHandle=function(x,B,Y){return V.H.useImperativeHandle(x,B,Y)},tt.useInsertionEffect=function(x,B){return V.H.useInsertionEffect(x,B)},tt.useLayoutEffect=function(x,B){return V.H.useLayoutEffect(x,B)},tt.useMemo=function(x,B){return V.H.useMemo(x,B)},tt.useOptimistic=function(x,B){return V.H.useOptimistic(x,B)},tt.useReducer=function(x,B,Y){return V.H.useReducer(x,B,Y)},tt.useRef=function(x){return V.H.useRef(x)},tt.useState=function(x){return V.H.useState(x)},tt.useSyncExternalStore=function(x,B,Y){return V.H.useSyncExternalStore(x,B,Y)},tt.useTransition=function(){return V.H.useTransition()},tt.version="19.1.0",tt}var Us;function Lu(){return Us||(Us=1,ju.exports=Xp()),ju.exports}var Yu={exports:{}},Jt={};/**
27
27
  * @license React
28
28
  * react-dom.production.js
29
29
  *
@@ -31,7 +31,7 @@ var ChatbotWidget=function(Ze){"use strict";var Gv=Object.defineProperty;var Xv=
31
31
  *
32
32
  * This source code is licensed under the MIT license found in the
33
33
  * LICENSE file in the root directory of this source tree.
34
- */var Bs;function Gp(){if(Bs)return Wt;Bs=1;var r=Lu();function i(w){var p="https://react.dev/errors/"+w;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 #"+w+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var s={d:{f:c,r:function(){throw Error(i(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},o=Symbol.for("react.portal");function d(w,p,v){var k=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:k==null?null:""+k,children:w,containerInfo:p,implementation:v}}var g=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(w,p){if(w==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Wt.createPortal=function(w,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(w,p,null,v)},Wt.flushSync=function(w){var p=g.T,v=s.p;try{if(g.T=null,s.p=2,w)return w()}finally{g.T=p,s.p=v,s.d.f()}},Wt.preconnect=function(w,p){typeof w=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,s.d.C(w,p))},Wt.prefetchDNS=function(w){typeof w=="string"&&s.d.D(w)},Wt.preinit=function(w,p){if(typeof w=="string"&&p&&typeof p.as=="string"){var v=p.as,k=m(v,p.crossOrigin),D=typeof p.integrity=="string"?p.integrity:void 0,X=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?s.d.S(w,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:k,integrity:D,fetchPriority:X}):v==="script"&&s.d.X(w,{crossOrigin:k,integrity:D,fetchPriority:X,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Wt.preinitModule=function(w,p){if(typeof w=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=m(p.as,p.crossOrigin);s.d.M(w,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&s.d.M(w)},Wt.preload=function(w,p){if(typeof w=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,k=m(v,p.crossOrigin);s.d.L(w,v,{crossOrigin:k,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})}},Wt.preloadModule=function(w,p){if(typeof w=="string")if(p){var v=m(p.as,p.crossOrigin);s.d.m(w,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else s.d.m(w)},Wt.requestFormReset=function(w){s.d.r(w)},Wt.unstable_batchedUpdates=function(w,p){return w(p)},Wt.useFormState=function(w,p,v){return g.H.useFormState(w,p,v)},Wt.useFormStatus=function(){return g.H.useHostTransitionStatus()},Wt.version="19.1.0",Wt}var Cs;function Xp(){if(Cs)return Yu.exports;Cs=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=Gp(),Yu.exports}var qs;function Qp(){if(qs)return Ka;qs=1;var r={env:{NODE_ENV:"production"}};/**
34
+ */var Bs;function Qp(){if(Bs)return Jt;Bs=1;var r=Lu();function i(w){var p="https://react.dev/errors/"+w;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 #"+w+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var s={d:{f:c,r:function(){throw Error(i(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},o=Symbol.for("react.portal");function d(w,p,v){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:_==null?null:""+_,children:w,containerInfo:p,implementation:v}}var g=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(w,p){if(w==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Jt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Jt.createPortal=function(w,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(w,p,null,v)},Jt.flushSync=function(w){var p=g.T,v=s.p;try{if(g.T=null,s.p=2,w)return w()}finally{g.T=p,s.p=v,s.d.f()}},Jt.preconnect=function(w,p){typeof w=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,s.d.C(w,p))},Jt.prefetchDNS=function(w){typeof w=="string"&&s.d.D(w)},Jt.preinit=function(w,p){if(typeof w=="string"&&p&&typeof p.as=="string"){var v=p.as,_=m(v,p.crossOrigin),O=typeof p.integrity=="string"?p.integrity:void 0,Z=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?s.d.S(w,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:_,integrity:O,fetchPriority:Z}):v==="script"&&s.d.X(w,{crossOrigin:_,integrity:O,fetchPriority:Z,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Jt.preinitModule=function(w,p){if(typeof w=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=m(p.as,p.crossOrigin);s.d.M(w,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&s.d.M(w)},Jt.preload=function(w,p){if(typeof w=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,_=m(v,p.crossOrigin);s.d.L(w,v,{crossOrigin:_,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})}},Jt.preloadModule=function(w,p){if(typeof w=="string")if(p){var v=m(p.as,p.crossOrigin);s.d.m(w,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else s.d.m(w)},Jt.requestFormReset=function(w){s.d.r(w)},Jt.unstable_batchedUpdates=function(w,p){return w(p)},Jt.useFormState=function(w,p,v){return g.H.useFormState(w,p,v)},Jt.useFormStatus=function(){return g.H.useHostTransitionStatus()},Jt.version="19.1.0",Jt}var Cs;function Zp(){if(Cs)return Yu.exports;Cs=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=Qp(),Yu.exports}var qs;function Vp(){if(qs)return Ja;qs=1;var r={env:{NODE_ENV:"production"}};/**
35
35
  * @license React
36
36
  * react-dom-client.production.js
37
37
  *
@@ -39,95 +39,100 @@ var ChatbotWidget=function(Ze){"use strict";var Gv=Object.defineProperty;var Xv=
39
39
  *
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
- */var i=Lp(),c=Lu(),s=Xp();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 w(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 w(n),t;if(u===a)return w(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 k=Object.assign,D=Symbol.for("react.element"),X=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),tt=Symbol.for("react.profiler"),ct=Symbol.for("react.provider"),st=Symbol.for("react.consumer"),ut=Symbol.for("react.context"),ht=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),vt=Symbol.for("react.suspense_list"),Yt=Symbol.for("react.memo"),Gt=Symbol.for("react.lazy"),de=Symbol.for("react.activity"),Je=Symbol.for("react.memo_cache_sentinel"),Pt=Symbol.iterator;function ue(t){return t===null||typeof t!="object"?null:(t=Pt&&t[Pt]||t["@@iterator"],typeof t=="function"?t:null)}var gt=Symbol.for("react.client.reference");function zt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===gt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case j:return"Fragment";case tt:return"Profiler";case L:return"StrictMode";case Z:return"Suspense";case vt:return"SuspenseList";case de:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case N:return"Portal";case ut:return(t.displayName||"Context")+".Provider";case st:return(t._context.displayName||"Context")+".Consumer";case ht:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Yt:return e=t.displayName||null,e!==null?e:zt(t.type)||"Memo";case Gt:e=t._payload,t=t._init;try{return zt(t(e))}catch{}}return null}var C=Array.isArray,B=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,it={pending:!1,data:null,method:null,action:null},Rt=[],x=-1;function U(t){return{current:t}}function Y(t){0>x||(t.current=Rt[x],Rt[x]=null,x--)}function H(t,e){x++,Rt[x]=t.current,t.current=e}var $=U(null),St=U(null),F=U(null),he=U(null);function kt(t,e){switch(H(F,e),H(St,t),H($,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?op(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=op(e),t=fp(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Y($),H($,t)}function ol(){Y($),Y(St),Y(F)}function dr(t){t.memoizedState!==null&&H(he,t);var e=$.current,l=fp(e,t.type);e!==l&&(H(St,t),H($,l))}function wi(t){St.current===t&&(Y($),Y(St)),he.current===t&&(Y(he),Wn._currentValue=it)}var hr=Object.prototype.hasOwnProperty,pr=i.unstable_scheduleCallback,gr=i.unstable_cancelCallback,wm=i.unstable_shouldYield,xm=i.unstable_requestPaint,je=i.unstable_now,Sm=i.unstable_getCurrentPriorityLevel,Xo=i.unstable_ImmediatePriority,Qo=i.unstable_UserBlockingPriority,xi=i.unstable_NormalPriority,Em=i.unstable_LowPriority,Zo=i.unstable_IdlePriority,Tm=i.log,Am=i.unstable_setDisableYieldValue,an=null,pe=null;function fl(t){if(typeof Tm=="function"&&Am(t),pe&&typeof pe.setStrictMode=="function")try{pe.setStrictMode(an,t)}catch{}}var ge=Math.clz32?Math.clz32:_m,Rm=Math.log,km=Math.LN2;function _m(t){return t>>>=0,t===0?32:31-(Rm(t)/km|0)|0}var Si=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 zm(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 Vo(){var t=Si;return Si<<=1,(Si&4194048)===0&&(Si=256),t}function Ko(){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 Om(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,b=t.expirationTimes,T=t.hiddenUpdates;for(l=f&~l;0<l;){var z=31-ge(l),M=1<<z;h[z]=0,b[z]=-1;var A=T[z];if(A!==null)for(T[z]=null,z=0;z<A.length;z++){var R=A[z];R!==null&&(R.lane&=-536870913)}l&=~M}a!==0&&Jo(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(f&~e))}function Jo(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-ge(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&4194090}function $o(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-ge(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function br(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 Wo(){var t=q.p;return t!==0?t:(t=window.event,t===void 0?32:Op(t.type))}function Dm(t,e){var l=q.p;try{return q.p=t,e()}finally{q.p=l}}var dl=Math.random().toString(36).slice(2),It="__reactFiber$"+dl,re="__reactProps$"+dl,ra="__reactContainer$"+dl,yr="__reactEvents$"+dl,Mm="__reactListeners$"+dl,Nm="__reactHandles$"+dl,Fo="__reactResources$"+dl,rn="__reactMarker$"+dl;function wr(t){delete t[It],delete t[re],delete t[yr],delete t[Mm],delete t[Nm]}function ca(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=gp(t);t!==null;){if(l=t[It])return l;t=gp(t)}return e}t=l,l=t.parentNode}return null}function sa(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 cn(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[Fo];return e||(e=t[Fo]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Xt(t){t[rn]=!0}var Po=new Set,Io={};function Yl(t,e){fa(t,e),fa(t+"Capture",e)}function fa(t,e){for(Io[t]=e,t=0;t<e.length;t++)Po.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]*$"),tf={},ef={};function Bm(t){return hr.call(ef,t)?!0:hr.call(tf,t)?!1:Um.test(t)?ef[t]=!0:(tf[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 xr,lf;function da(t){if(xr===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);xr=e&&e[1]||"",lf=-1<l.stack.indexOf(`
42
+ */var i=Gp(),c=Lu(),s=Zp();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 w(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 w(n),t;if(u===a)return w(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 _=Object.assign,O=Symbol.for("react.element"),Z=Symbol.for("react.transitional.element"),U=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),st=Symbol.for("react.provider"),ut=Symbol.for("react.consumer"),ct=Symbol.for("react.context"),ht=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),mt=Symbol.for("react.suspense_list"),Qt=Symbol.for("react.memo"),Ut=Symbol.for("react.lazy"),xe=Symbol.for("react.activity"),Me=Symbol.for("react.memo_cache_sentinel"),ne=Symbol.iterator;function te(t){return t===null||typeof t!="object"?null:(t=ne&&t[ne]||t["@@iterator"],typeof t=="function"?t:null)}var sl=Symbol.for("react.client.reference");function oe(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===sl?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case H:return"Fragment";case P:return"Profiler";case L:return"StrictMode";case V:return"Suspense";case mt:return"SuspenseList";case xe:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case U:return"Portal";case ct:return(t.displayName||"Context")+".Provider";case ut:return(t._context.displayName||"Context")+".Consumer";case ht:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Qt:return e=t.displayName||null,e!==null?e:oe(t.type)||"Memo";case Ut:e=t._payload,t=t._init;try{return oe(t(e))}catch{}}return null}var q=Array.isArray,M=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,et={pending:!1,data:null,method:null,action:null},pt=[],x=-1;function B(t){return{current:t}}function Y(t){0>x||(t.current=pt[x],pt[x]=null,x--)}function j(t,e){x++,pt[x]=t.current,t.current=e}var $=B(null),St=B(null),F=B(null),fe=B(null);function Rt(t,e){switch(j(F,e),j(St,t),j($,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?dp(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=dp(e),t=hp(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Y($),j($,t)}function ol(){Y($),Y(St),Y(F)}function dr(t){t.memoizedState!==null&&j(fe,t);var e=$.current,l=hp(e,t.type);e!==l&&(j(St,t),j($,l))}function wi(t){St.current===t&&(Y($),Y(St)),fe.current===t&&(Y(fe),Wn._currentValue=et)}var hr=Object.prototype.hasOwnProperty,pr=i.unstable_scheduleCallback,gr=i.unstable_cancelCallback,Tm=i.unstable_shouldYield,Am=i.unstable_requestPaint,je=i.unstable_now,Rm=i.unstable_getCurrentPriorityLevel,Zo=i.unstable_ImmediatePriority,Vo=i.unstable_UserBlockingPriority,xi=i.unstable_NormalPriority,km=i.unstable_LowPriority,Ko=i.unstable_IdlePriority,_m=i.log,zm=i.unstable_setDisableYieldValue,an=null,de=null;function fl(t){if(typeof _m=="function"&&zm(t),de&&typeof de.setStrictMode=="function")try{de.setStrictMode(an,t)}catch{}}var he=Math.clz32?Math.clz32:Mm,Om=Math.log,Dm=Math.LN2;function Mm(t){return t>>>=0,t===0?32:31-(Om(t)/Dm|0)|0}var Si=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 Nm(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 Jo(){var t=Si;return Si<<=1,(Si&4194048)===0&&(Si=256),t}function $o(){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 Um(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,b=t.expirationTimes,T=t.hiddenUpdates;for(l=f&~l;0<l;){var z=31-he(l),N=1<<z;h[z]=0,b[z]=-1;var A=T[z];if(A!==null)for(T[z]=null,z=0;z<A.length;z++){var R=A[z];R!==null&&(R.lane&=-536870913)}l&=~N}a!==0&&Wo(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(f&~e))}function Wo(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 Fo(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 br(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 Po(){var t=C.p;return t!==0?t:(t=window.event,t===void 0?32:Mp(t.type))}function Bm(t,e){var l=C.p;try{return C.p=t,e()}finally{C.p=l}}var dl=Math.random().toString(36).slice(2),Wt="__reactFiber$"+dl,ie="__reactProps$"+dl,ca="__reactContainer$"+dl,yr="__reactEvents$"+dl,Cm="__reactListeners$"+dl,qm="__reactHandles$"+dl,Io="__reactResources$"+dl,rn="__reactMarker$"+dl;function wr(t){delete t[Wt],delete t[ie],delete t[yr],delete t[Cm],delete t[qm]}function sa(t){var e=t[Wt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[ca]||l[Wt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=bp(t);t!==null;){if(l=t[Wt])return l;t=bp(t)}return e}t=l,l=t.parentNode}return null}function oa(t){if(t=t[Wt]||t[ca]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function cn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function fa(t){var e=t[Io];return e||(e=t[Io]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Lt(t){t[rn]=!0}var tf=new Set,ef={};function Yl(t,e){da(t,e),da(t+"Capture",e)}function da(t,e){for(ef[t]=e,t=0;t<e.length;t++)tf.add(e[t])}var Hm=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]*$"),lf={},af={};function jm(t){return hr.call(af,t)?!0:hr.call(lf,t)?!1:Hm.test(t)?af[t]=!0:(lf[t]=!0,!1)}function Ai(t,e,l){if(jm(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 Je(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 xr,nf;function ha(t){if(xr===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);xr=e&&e[1]||"",nf=-1<l.stack.indexOf(`
43
43
  at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
44
- `+xr+t+lf}var Sr=!1;function Er(t,e){if(!t||Sr)return"";Sr=!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 b=f.split(`
44
+ `+xr+t+nf}var Sr=!1;function Er(t,e){if(!t||Sr)return"";Sr=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(R){var A=R}Reflect.construct(t,[],N)}else{try{N.call()}catch(R){A=R}t.call(N.prototype)}}else{try{throw Error()}catch(R){A=R}(N=t())&&typeof N.catch=="function"&&N.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 b=f.split(`
45
45
  `),T=h.split(`
46
46
  `);for(n=a=0;a<b.length&&!b[a].includes("DetermineComponentFrameRoot");)a++;for(;n<T.length&&!T[n].includes("DetermineComponentFrameRoot");)n++;if(a===b.length||n===T.length)for(a=b.length-1,n=T.length-1;1<=a&&0<=n&&b[a]!==T[n];)n--;for(;1<=a&&0<=n;a--,n--)if(b[a]!==T[n]){if(a!==1||n!==1)do if(a--,n--,0>n||b[a]!==T[n]){var z=`
47
- `+b[a].replace(" at new "," at ");return t.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",t.displayName)),z}while(1<=a&&0<=n);break}}}finally{Sr=!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 af(t){try{var e="";do e+=Cm(t),t=t.return;while(t);return e}catch(l){return`
47
+ `+b[a].replace(" at new "," at ");return t.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",t.displayName)),z}while(1<=a&&0<=n);break}}}finally{Sr=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?ha(l):""}function Lm(t){switch(t.tag){case 26:case 27:case 5:return ha(t.type);case 16:return ha("Lazy");case 13:return ha("Suspense");case 19:return ha("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 ha("Activity");default:return""}}function uf(t){try{var e="";do e+=Lm(t),t=t.return;while(t);return e}catch(l){return`
48
48
  Error generating stack: `+l.message+`
49
- `+l.stack}}function Ee(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function nf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function qm(t){var e=nf(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 ki(t){t._valueTracker||(t._valueTracker=qm(t))}function uf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=nf(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function _i(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 Te(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=""+Ee(e)):t.value!==""+Ee(e)&&(t.value=""+Ee(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?Ar(t,f,Ee(e)):l!=null?Ar(t,f,Ee(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=""+Ee(h):t.removeAttribute("name")}function rf(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?""+Ee(l):"",e=e!=null?""+Ee(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"&&_i(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=""+Ee(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=""+Ee(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Ee(l):""}function sf(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=Ee(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 of(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 ff(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&&of(t,n,a)}else for(var u in e)e.hasOwnProperty(u)&&of(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 zi(t){return Ym.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var kr=null;function _r(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 df(t){var e=sa(t);if(e&&(t=e.stateNode)){var l=t[re]||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="'+Te(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[re]||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&&uf(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 zr=!1;function hf(t,e,l){if(zr)return t(e,l);zr=!0;try{var a=t(e);return a}finally{if(zr=!1,(ga!==null||ma!==null)&&(pu(),ga&&(e=ga,t=ma,ma=ga=null,df(e),t)))for(e=0;e<t.length;e++)df(t[e])}}function sn(t,e){var l=t.stateNode;if(l===null)return null;var a=l[re]||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"),Or=!1;if(We)try{var on={};Object.defineProperty(on,"passive",{get:function(){Or=!0}}),window.addEventListener("test",on,on),window.removeEventListener("test",on,on)}catch{Or=!1}var hl=null,Dr=null,Oi=null;function pf(){if(Oi)return Oi;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 Oi=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 gf(){return!1}function ce(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:gf,this.isPropagationStopped=gf,this}return k(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=ce(Gl),fn=k({},Gl,{view:0,detail:0}),Gm=ce(fn),Mr,Nr,dn,Ui=k({},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}}),mf=ce(Ui),Xm=k({},Ui,{dataTransfer:0}),Qm=ce(Xm),Zm=k({},fn,{relatedTarget:0}),Ur=ce(Zm),Vm=k({},Gl,{animationName:0,elapsedTime:0,pseudoElement:0}),Km=ce(Vm),Jm=k({},Gl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),$m=ce(Jm),Wm=k({},Gl,{data:0}),bf=ce(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 tb(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Im[t])?!!e[t]:!1}function Br(){return tb}var eb=k({},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}}),lb=ce(eb),ab=k({},Ui,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),vf=ce(ab),nb=k({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Br}),ib=ce(nb),ub=k({},Gl,{propertyName:0,elapsedTime:0,pseudoElement:0}),rb=ce(ub),cb=k({},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}),sb=ce(cb),ob=k({},Gl,{newState:0,oldState:0}),fb=ce(ob),db=[9,13,27,32],Cr=We&&"CompositionEvent"in window,hn=null;We&&"documentMode"in document&&(hn=document.documentMode);var hb=We&&"TextEvent"in window&&!hn,yf=We&&(!Cr||hn&&8<hn&&11>=hn),wf=" ",xf=!1;function Sf(t,e){switch(t){case"keyup":return db.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ef(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ba=!1;function pb(t,e){switch(t){case"compositionend":return Ef(e);case"keypress":return e.which!==32?null:(xf=!0,wf);case"textInput":return t=e.data,t===wf&&xf?null:t;default:return null}}function gb(t,e){if(ba)return t==="compositionend"||!Cr&&Sf(t,e)?(t=pf(),Oi=Dr=hl=null,ba=!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 yf&&e.locale!=="ko"?null:e.data;default:return null}}var mb={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 Tf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!mb[t.type]:e==="textarea"}function Af(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 bb(t){ip(t,0)}function Bi(t){var e=cn(t);if(uf(e))return t}function Rf(t,e){if(t==="change")return e}var kf=!1;if(We){var qr;if(We){var Hr="oninput"in document;if(!Hr){var _f=document.createElement("div");_f.setAttribute("oninput","return;"),Hr=typeof _f.oninput=="function"}qr=Hr}else qr=!1;kf=qr&&(!document.documentMode||9<document.documentMode)}function zf(){pn&&(pn.detachEvent("onpropertychange",Of),gn=pn=null)}function Of(t){if(t.propertyName==="value"&&Bi(gn)){var e=[];Af(e,gn,t,_r(t)),hf(bb,e)}}function vb(t,e,l){t==="focusin"?(zf(),pn=e,gn=l,pn.attachEvent("onpropertychange",Of)):t==="focusout"&&zf()}function yb(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Bi(gn)}function wb(t,e){if(t==="click")return Bi(e)}function xb(t,e){if(t==="input"||t==="change")return Bi(e)}function Sb(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var me=typeof Object.is=="function"?Object.is:Sb;function mn(t,e){if(me(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)||!me(t[n],e[n]))return!1}return!0}function Df(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Mf(t,e){var l=Df(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=Df(l)}}function Nf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Nf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Uf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=_i(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=_i(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 Eb=We&&"documentMode"in document&&11>=document.documentMode,va=null,Lr=null,bn=null,Yr=!1;function Bf(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Yr||va==null||va!==_i(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}),bn&&mn(bn,a)||(bn=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 ya={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={},Cf={};We&&(Cf=document.createElement("div").style,"AnimationEvent"in window||(delete ya.animationend.animation,delete ya.animationiteration.animation,delete ya.animationstart.animation),"TransitionEvent"in window||delete ya.transitionend.transition);function Ql(t){if(Gr[t])return Gr[t];if(!ya[t])return t;var e=ya[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Cf)return Gr[t]=e[l];return t}var qf=Ql("animationend"),Hf=Ql("animationiteration"),jf=Ql("animationstart"),Tb=Ql("transitionrun"),Ab=Ql("transitionstart"),Rb=Ql("transitioncancel"),Lf=Ql("transitionend"),Yf=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 Ne(t,e){Yf.set(t,e),Yl(e,[t])}var Gf=new WeakMap;function Ae(t,e){if(typeof t=="object"&&t!==null){var l=Gf.get(t);return l!==void 0?l:(e={value:t,source:e,stack:af(e)},Gf.set(t,e),e)}return{value:t,source:e,stack:af(e)}}var Re=[],wa=0,Qr=0;function Ci(){for(var t=wa,e=Qr=wa=0;e<t;){var l=Re[e];Re[e++]=null;var a=Re[e];Re[e++]=null;var n=Re[e];Re[e++]=null;var u=Re[e];if(Re[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&&Xf(l,n,u)}}function qi(t,e,l,a){Re[wa++]=t,Re[wa++]=e,Re[wa++]=l,Re[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 xa(t,e){return qi(t,null,null,e),Hi(t)}function Xf(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-ge(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,Fc=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Sa={};function kb(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 be(t,e,l,a){return new kb(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=be(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 Qf(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=zv(t,l,$.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case de:return t=be(31,l,e,n),t.elementType=de,t.lanes=u,t;case j:return Zl(l.children,n,u,e);case L:f=8,n|=24;break;case tt:return t=be(12,l,e,n|2),t.elementType=tt,t.lanes=u,t;case Z:return t=be(13,l,e,n),t.elementType=Z,t.lanes=u,t;case vt:return t=be(19,l,e,n),t.elementType=vt,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case ct:case ut:f=10;break t;case st:f=9;break t;case ht:f=11;break t;case Yt:f=14;break t;case Gt:f=16,a=null;break t}f=29,l=Error(o(130,t===null?"null":typeof t,"")),a=null}return e=be(f,l,e,n),e.elementType=t,e.type=a,e.lanes=u,e}function Zl(t,e,l,a){return t=be(7,t,a,e),t.lanes=l,t}function Kr(t,e,l){return t=be(6,t,null,e),t.lanes=l,t}function Jr(t,e,l){return e=be(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,ke=[],_e=0,Vl=null,Pe=1,Ie="";function Kl(t,e){Ea[Ta++]=Yi,Ea[Ta++]=Li,Li=t,Yi=e}function Zf(t,e,l){ke[_e++]=Pe,ke[_e++]=Ie,ke[_e++]=Vl,Vl=t;var a=Pe;t=Ie;var n=32-ge(a)-1;a&=~(1<<n),l+=1;var u=32-ge(e)+n;if(30<u){var f=n-n%5;u=(a&(1<<f)-1).toString(32),a>>=f,n-=f,Pe=1<<32-ge(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),Zf(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=ke[--_e],ke[_e]=null,Ie=ke[--_e],ke[_e]=null,Pe=ke[--_e],ke[_e]=null}var ae=null,Mt=null,ft=!1,Jl=null,Le=!1,Fr=Error(o(519));function $l(t){var e=Error(o(418,""));throw wn(Ae(e,t)),Fr}function Vf(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[It]=t,e[re]=a,l){case"dialog":nt("cancel",e),nt("close",e);break;case"iframe":case"object":case"embed":nt("load",e);break;case"video":case"audio":for(l=0;l<Qn.length;l++)nt(Qn[l],e);break;case"source":nt("error",e);break;case"img":case"image":case"link":nt("error",e),nt("load",e);break;case"details":nt("toggle",e);break;case"input":nt("invalid",e),rf(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),ki(e);break;case"select":nt("invalid",e);break;case"textarea":nt("invalid",e),sf(e,a.value,a.defaultValue,a.children),ki(e)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||sp(e.textContent,l)?(a.popover!=null&&(nt("beforetoggle",e),nt("toggle",e)),a.onScroll!=null&&nt("scroll",e),a.onScrollEnd!=null&&nt("scrollend",e),a.onClick!=null&&(e.onclick=xu),e=!0):e=!1,e||$l(t)}function Kf(t){for(ae=t.return;ae;)switch(ae.tag){case 5:case 13:Le=!1;return;case 27:case 3:Le=!0;return;default:ae=ae.return}}function vn(t){if(t!==ae)return!1;if(!ft)return Kf(t),ft=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||hs(t.type,t.memoizedProps)),l=!l),l&&Mt&&$l(t),Kf(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=Be(t.nextSibling);break t}e--}else l!=="$"&&l!=="$!"&&l!=="$?"||e++;t=t.nextSibling}Mt=null}}else e===27?(e=Mt,zl(t.type)?(t=bs,bs=null,Mt=t):Mt=e):Mt=ae?Be(t.stateNode.nextSibling):null;return!0}function yn(){Mt=ae=null,ft=!1}function Jf(){var t=Jl;return t!==null&&(fe===null?fe=t:fe.push.apply(fe,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){H(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 tc(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 b=0;b<e.length;b++)if(h.context===e[b]){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 xn(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;me(n.pendingProps.value,f.value)||(t!==null?t.push(h):t=[h])}}else if(n===he.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&&tc(e,t,l,a),e.flags|=262144}function Gi(t){for(t=t.firstContext;t!==null;){if(!me(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 $f(Wl,t)}function Xi(t,e){return Wl===null&&Fl(t),$f(t,e)}function $f(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 _b=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()})}},zb=i.unstable_scheduleCallback,Ob=i.unstable_NormalPriority,Ht={$$typeof:ut,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ec(){return{controller:new _b,data:new Map,refCount:0}}function Sn(t){t.refCount--,t.refCount===0&&zb(Ob,function(){t.controller.abort()})}var En=null,lc=0,Aa=0,Ra=null;function Db(t,e){if(En===null){var l=En=[];lc=0,Aa=ns(),Ra={status:"pending",value:void 0,then:function(a){l.push(a)}}}return lc++,e.then(Wf,Wf),e}function Wf(){if(--lc===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 Mb(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 Ff=B.S;B.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&Db(t,e),Ff!==null&&Ff(t,e)};var Pl=U(null);function ac(){var t=Pl.current;return t!==null?t:At.pooledCache}function Qi(t,e){e===null?H(Pl,Pl.current):H(Pl,e.pool)}function Pf(){var t=ac();return t===null?null:{parent:Ht._currentValue,pool:t}}var Tn=Error(o(460)),If=Error(o(474)),Zi=Error(o(542)),nc={then:function(){}};function td(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Vi(){}function ed(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,ad(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,ad(t),t}throw An=e,Tn}}var An=null;function ld(){if(An===null)throw Error(o(459));var t=An;return An=null,t}function ad(t){if(t===Tn||t===Zi)throw Error(o(483))}var gl=!1;function ic(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uc(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 bl(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(mt&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),Xf(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,$o(t,l)}}function rc(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 cc=!1;function kn(){if(cc){var t=Ra;if(t!==null)throw t}}function _n(t,e,l,a){cc=!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 b=h,T=b.next;b.next=null,f===null?u=T:f.next=T,f=b;var z=t.alternate;z!==null&&(z=z.updateQueue,h=z.lastBaseUpdate,h!==f&&(h===null?z.firstBaseUpdate=T:h.next=T,z.lastBaseUpdate=b))}if(u!==null){var M=n.baseState;f=0,z=T=b=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&&(cc=!0),z!==null&&(z=z.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});t:{var W=t,V=h;A=e;var xt=l;switch(V.tag){case 1:if(W=V.payload,typeof W=="function"){M=W.call(xt,M,A);break t}M=W;break t;case 3:W.flags=W.flags&-65537|128;case 0:if(W=V.payload,A=typeof W=="function"?W.call(xt,M,A):W,A==null)break t;M=k({},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},z===null?(T=z=R,b=M):z=z.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);z===null&&(b=M),n.baseState=b,n.firstBaseUpdate=T,n.lastBaseUpdate=z,u===null&&(n.shared.lanes=0),Al|=f,t.lanes=f,t.memoizedState=M}}function nd(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function id(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)nd(l[t],e)}var ka=U(null),Ki=U(0);function ud(t,e){t=cl,H(Ki,t),H(ka,e),cl=t|e.baseLanes}function sc(){H(Ki,cl),H(ka,ka.current)}function oc(){cl=Ki.current,Y(ka),Y(Ki)}var vl=0,et=null,yt=null,Ct=null,Ji=!1,_a=!1,Il=!1,$i=0,zn=0,za=null,Nb=0;function Ut(){throw Error(o(321))}function fc(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!me(t[l],e[l]))return!1;return!0}function dc(t,e,l,a,n,u){return vl=u,et=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,B.H=t===null||t.memoizedState===null?Xd:Qd,Il=!1,u=l(a,n),Il=!1,_a&&(u=cd(e,l,a,n)),rd(t),u}function rd(t){B.H=eu;var e=yt!==null&&yt.next!==null;if(vl=0,Ct=yt=et=null,Ji=!1,zn=0,za=null,e)throw Error(o(300));t===null||Qt||(t=t.dependencies,t!==null&&Gi(t)&&(Qt=!0))}function cd(t,e,l,a){et=t;var n=0;do{if(_a&&(za=null),zn=0,_a=!1,25<=n)throw Error(o(301));if(n+=1,Ct=yt=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=Lb,u=e(l,a)}while(_a);return u}function Ub(){var t=B.H,e=t.useState()[0];return e=typeof e.then=="function"?On(e):e,t=t.useState()[0],(yt!==null?yt.memoizedState:null)!==t&&(et.flags|=1024),e}function hc(){var t=$i!==0;return $i=0,t}function pc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function gc(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=yt=et=null,_a=!1,zn=$i=0,za=null}function se(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ct===null?et.memoizedState=Ct=t:Ct=Ct.next=t,Ct}function qt(){if(yt===null){var t=et.alternate;t=t!==null?t.memoizedState:null}else t=yt.next;var e=Ct===null?et.memoizedState:Ct.next;if(e!==null)Ct=e,yt=t;else{if(t===null)throw et.alternate===null?Error(o(467)):Error(o(310));yt=t,t={memoizedState:yt.memoizedState,baseState:yt.baseState,baseQueue:yt.baseQueue,queue:yt.queue,next:null},Ct===null?et.memoizedState=Ct=t:Ct=Ct.next=t}return Ct}function mc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function On(t){var e=zn;return zn+=1,za===null&&(za=[]),t=ed(za,t,e),e=et,(Ct===null?e.memoizedState:Ct.next)===null&&(e=e.alternate,B.H=e===null||e.memoizedState===null?Xd:Qd),t}function Wi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return On(t);if(t.$$typeof===ut)return te(t)}throw Error(o(438,String(t)))}function bc(t){var e=null,l=et.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=et.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=mc(),et.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]=Je;return e.index++,l}function ll(t,e){return typeof e=="function"?e(t):e}function Fi(t){var e=qt();return vc(e,yt,t)}function vc(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,b=null,T=e,z=!1;do{var M=T.lane&-536870913;if(M!==T.lane?(rt&M)===M:(vl&M)===M){var A=T.revertLane;if(A===0)b!==null&&(b=b.next={lane:0,revertLane:0,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),M===Aa&&(z=!0);else if((vl&A)===A){T=T.next,A===Aa&&(z=!0);continue}else M={lane:0,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},b===null?(h=b=M,f=u):b=b.next=M,et.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},b===null?(h=b=A,f=u):b=b.next=A,et.lanes|=M,Al|=M;T=T.next}while(T!==null&&T!==e);if(b===null?f=u:b.next=h,!me(u,t.memoizedState)&&(Qt=!0,z&&(l=Ra,l!==null)))throw l;t.memoizedState=u,t.baseState=f,t.baseQueue=b,a.lastRenderedState=u}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function yc(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);me(u,e.memoizedState)||(Qt=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,a]}function sd(t,e,l){var a=et,n=qt(),u=ft;if(u){if(l===void 0)throw Error(o(407));l=l()}else l=e();var f=!me((yt||n).memoizedState,l);f&&(n.memoizedState=l,Qt=!0),n=n.queue;var h=dd.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,Oa(9,Pi(),fd.bind(null,a,n,l,e),null),At===null)throw Error(o(349));u||(vl&124)!==0||od(a,e,l)}return l}function od(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=et.updateQueue,e===null?(e=mc(),et.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function fd(t,e,l,a){e.value=l,e.getSnapshot=a,hd(e)&&pd(t)}function dd(t,e,l){return l(function(){hd(e)&&pd(t)})}function hd(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!me(t,l)}catch{return!0}}function pd(t){var e=xa(t,2);e!==null&&Se(e,t,2)}function wc(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 gd(t,e,l,a){return t.baseState=l,vc(t,yt,typeof a=="function"?a:ll)}function Bb(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,md(e,u)):(u.next=l.next,e.pending=l.next=u)}}function md(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),b=B.S;b!==null&&b(f,h),bd(t,e,h)}catch(T){xc(t,e,T)}finally{B.T=u}}else try{u=l(n,a),bd(t,e,u)}catch(T){xc(t,e,T)}}function bd(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){vd(t,e,a)},function(a){return xc(t,e,a)}):vd(t,e,l)}function vd(t,e,l){e.status="fulfilled",e.value=l,yd(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,md(t,l)))}function xc(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,yd(e),e=e.next;while(e!==a)}t.action=null}function yd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function wd(t,e){return e}function xd(t,e){if(ft){var l=At.formState;if(l!==null){t:{var a=et;if(ft){if(Mt){e:{for(var n=Mt,u=Le;n.nodeType!==8;){if(!u){n=null;break e}if(n=Be(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Mt=Be(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:wd,lastRenderedState:e},l.queue=a,l=Ld.bind(null,et,a),a.dispatch=l,a=wc(!1),u=Rc.bind(null,et,!1,a.queue),a=se(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=Bb.bind(null,et,n,u,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Sd(t){var e=qt();return Ed(e,yt,t)}function Ed(t,e,l){if(e=vc(t,e,wd)[0],t=Fi(ll)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=On(e)}catch(f){throw f===Tn?Zi:f}else a=e;e=qt();var n=e.queue,u=n.dispatch;return l!==e.memoizedState&&(et.flags|=2048,Oa(9,Pi(),Cb.bind(null,n,l),null)),[a,u,t]}function Cb(t,e){t.action=e}function Td(t){var e=qt(),l=yt;if(l!==null)return Ed(e,l,t);qt(),e=e.memoizedState,l=qt();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function Oa(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=et.updateQueue,e===null&&(e=mc(),et.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 Ad(){return qt().memoizedState}function Ii(t,e,l,a){var n=se();a=a===void 0?null:a,et.flags|=t,n.memoizedState=Oa(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;yt!==null&&a!==null&&fc(a,yt.memoizedState.deps)?n.memoizedState=Oa(e,u,l,a):(et.flags|=t,n.memoizedState=Oa(1|e,u,l,a))}function Rd(t,e){Ii(8390656,8,t,e)}function kd(t,e){Dn(2048,8,t,e)}function _d(t,e){return Dn(4,2,t,e)}function zd(t,e){return Dn(4,4,t,e)}function Od(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 Dd(t,e,l){l=l!=null?l.concat([t]):null,Dn(4,4,Od.bind(null,e,t),l)}function Sc(){}function Md(t,e){var l=qt();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&fc(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function Nd(t,e){var l=qt();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&fc(e,a[1]))return a[0];if(a=t(),Il){fl(!0);try{t()}finally{fl(!1)}}return l.memoizedState=[a,e],a}function Ec(t,e,l){return l===void 0||(vl&1073741824)!==0?t.memoizedState=e:(t.memoizedState=l,t=Ch(),et.lanes|=t,Al|=t,l)}function Ud(t,e,l,a){return me(l,e)?l:ka.current!==null?(t=Ec(t,l,a),me(t,e)||(Qt=!0),t):(vl&42)===0?(Qt=!0,t.memoizedState=l):(t=Ch(),et.lanes|=t,Al|=t,e)}function Bd(t,e,l,a,n){var u=q.p;q.p=u!==0&&8>u?u:8;var f=B.T,h={};B.T=h,Rc(t,!1,e,l);try{var b=n(),T=B.S;if(T!==null&&T(h,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var z=Mb(b,a);Mn(t,e,z,xe(t))}else Mn(t,e,a,xe(t))}catch(M){Mn(t,e,{then:function(){},status:"rejected",reason:M},xe())}finally{q.p=u,B.T=f}}function qb(){}function Tc(t,e,l,a){if(t.tag!==5)throw Error(o(476));var n=Cd(t).queue;Bd(t,n,e,it,l===null?qb:function(){return qd(t),l(a)})}function Cd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:it,baseState:it,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ll,lastRenderedState:it},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 qd(t){var e=Cd(t).next.queue;Mn(t,e,{},xe())}function Ac(){return te(Wn)}function Hd(){return qt().memoizedState}function jd(){return qt().memoizedState}function Hb(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=xe();t=ml(l);var a=bl(e,t,l);a!==null&&(Se(a,e,l),Rn(a,e,l)),e={cache:ec()},t.payload=e;return}e=e.return}}function jb(t,e,l){var a=xe();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},tu(t)?Yd(e,l):(l=Zr(t,e,l,a),l!==null&&(Se(l,t,a),Gd(l,e,a)))}function Ld(t,e,l){var a=xe();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))Yd(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,me(h,f))return qi(t,e,n,0),At===null&&Ci(),!1}catch{}finally{}if(l=Zr(t,e,n,a),l!==null)return Se(l,t,a),Gd(l,e,a),!0}return!1}function Rc(t,e,l,a){if(a={lane:2,revertLane:ns(),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&&Se(e,t,2)}function tu(t){var e=t.alternate;return t===et||e!==null&&e===et}function Yd(t,e){_a=Ji=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Gd(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,$o(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},Xd={readContext:te,use:Wi,useCallback:function(t,e){return se().memoizedState=[t,e===void 0?null:e],t},useContext:te,useEffect:Rd,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Ii(4194308,4,Od.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=jb.bind(null,et,t),[a.memoizedState,t]},useRef:function(t){var e=se();return t={current:t},e.memoizedState=t},useState:function(t){t=wc(t);var e=t.queue,l=Ld.bind(null,et,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Sc,useDeferredValue:function(t,e){var l=se();return Ec(l,t,e)},useTransition:function(){var t=wc(!1);return t=Bd.bind(null,et,t.queue,!0,!1),se().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=et,n=se();if(ft){if(l===void 0)throw Error(o(407));l=l()}else{if(l=e(),At===null)throw Error(o(349));(rt&124)!==0||od(a,e,l)}n.memoizedState=l;var u={value:l,getSnapshot:e};return n.queue=u,Rd(dd.bind(null,a,u,t),[t]),a.flags|=2048,Oa(9,Pi(),fd.bind(null,a,u,l,e),null),l},useId:function(){var t=se(),e=At.identifierPrefix;if(ft){var l=Ie,a=Pe;l=(a&~(1<<32-ge(a)-1)).toString(32)+l,e="«"+e+"R"+l,l=$i++,0<l&&(e+="H"+l.toString(32)),e+="»"}else l=Nb++,e="«"+e+"r"+l.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Ac,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=Rc.bind(null,et,!0,l),l.dispatch=e,[t,e]},useMemoCache:bc,useCacheRefresh:function(){return se().memoizedState=Hb.bind(null,et)}},Qd={readContext:te,use:Wi,useCallback:Md,useContext:te,useEffect:kd,useImperativeHandle:Dd,useInsertionEffect:_d,useLayoutEffect:zd,useMemo:Nd,useReducer:Fi,useRef:Ad,useState:function(){return Fi(ll)},useDebugValue:Sc,useDeferredValue:function(t,e){var l=qt();return Ud(l,yt.memoizedState,t,e)},useTransition:function(){var t=Fi(ll)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:On(t),e]},useSyncExternalStore:sd,useId:Hd,useHostTransitionStatus:Ac,useFormState:Sd,useActionState:Sd,useOptimistic:function(t,e){var l=qt();return gd(l,yt,t,e)},useMemoCache:bc,useCacheRefresh:jd},Lb={readContext:te,use:Wi,useCallback:Md,useContext:te,useEffect:kd,useImperativeHandle:Dd,useInsertionEffect:_d,useLayoutEffect:zd,useMemo:Nd,useReducer:yc,useRef:Ad,useState:function(){return yc(ll)},useDebugValue:Sc,useDeferredValue:function(t,e){var l=qt();return yt===null?Ec(l,t,e):Ud(l,yt.memoizedState,t,e)},useTransition:function(){var t=yc(ll)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:On(t),e]},useSyncExternalStore:sd,useId:Hd,useHostTransitionStatus:Ac,useFormState:Td,useActionState:Td,useOptimistic:function(t,e){var l=qt();return yt!==null?gd(l,yt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:bc,useCacheRefresh:jd},Da=null,Nn=0;function lu(t){var e=Nn;return Nn+=1,Da===null&&(Da=[]),ed(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 Zd(t){var e=t._init;return e(t._payload)}function Vd(t){function e(S,y){if(t){var E=S.deletions;E===null?(S.deletions=[y],S.flags|=16):E.push(y)}}function l(S,y){if(!t)return null;for(;y!==null;)e(S,y),y=y.sibling;return null}function a(S){for(var y=new Map;S!==null;)S.key!==null?y.set(S.key,S):y.set(S.index,S),S=S.sibling;return y}function n(S,y){return S=Fe(S,y),S.index=0,S.sibling=null,S}function u(S,y,E){return S.index=E,t?(E=S.alternate,E!==null?(E=E.index,E<y?(S.flags|=67108866,y):E):(S.flags|=67108866,y)):(S.flags|=1048576,y)}function f(S){return t&&S.alternate===null&&(S.flags|=67108866),S}function h(S,y,E,O){return y===null||y.tag!==6?(y=Kr(E,S.mode,O),y.return=S,y):(y=n(y,E),y.return=S,y)}function b(S,y,E,O){var G=E.type;return G===j?z(S,y,E.props.children,O,E.key):y!==null&&(y.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===Gt&&Zd(G)===y.type)?(y=n(y,E.props),Un(y,E),y.return=S,y):(y=ji(E.type,E.key,E.props,null,S.mode,O),Un(y,E),y.return=S,y)}function T(S,y,E,O){return y===null||y.tag!==4||y.stateNode.containerInfo!==E.containerInfo||y.stateNode.implementation!==E.implementation?(y=Jr(E,S.mode,O),y.return=S,y):(y=n(y,E.children||[]),y.return=S,y)}function z(S,y,E,O,G){return y===null||y.tag!==7?(y=Zl(E,S.mode,O,G),y.return=S,y):(y=n(y,E),y.return=S,y)}function M(S,y,E){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return y=Kr(""+y,S.mode,E),y.return=S,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case X:return E=ji(y.type,y.key,y.props,null,S.mode,E),Un(E,y),E.return=S,E;case N:return y=Jr(y,S.mode,E),y.return=S,y;case Gt:var O=y._init;return y=O(y._payload),M(S,y,E)}if(C(y)||ue(y))return y=Zl(y,S.mode,E,null),y.return=S,y;if(typeof y.then=="function")return M(S,lu(y),E);if(y.$$typeof===ut)return M(S,Xi(S,y),E);au(S,y)}return null}function A(S,y,E,O){var G=y!==null?y.key:null;if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return G!==null?null:h(S,y,""+E,O);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case X:return E.key===G?b(S,y,E,O):null;case N:return E.key===G?T(S,y,E,O):null;case Gt:return G=E._init,E=G(E._payload),A(S,y,E,O)}if(C(E)||ue(E))return G!==null?null:z(S,y,E,O,null);if(typeof E.then=="function")return A(S,y,lu(E),O);if(E.$$typeof===ut)return A(S,y,Xi(S,E),O);au(S,E)}return null}function R(S,y,E,O,G){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return S=S.get(E)||null,h(y,S,""+O,G);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case X:return S=S.get(O.key===null?E:O.key)||null,b(y,S,O,G);case N:return S=S.get(O.key===null?E:O.key)||null,T(y,S,O,G);case Gt:var lt=O._init;return O=lt(O._payload),R(S,y,E,O,G)}if(C(O)||ue(O))return S=S.get(E)||null,z(y,S,O,G,null);if(typeof O.then=="function")return R(S,y,E,lu(O),G);if(O.$$typeof===ut)return R(S,y,E,Xi(y,O),G);au(y,O)}return null}function W(S,y,E,O){for(var G=null,lt=null,Q=y,J=y=0,Vt=null;Q!==null&&J<E.length;J++){Q.index>J?(Vt=Q,Q=null):Vt=Q.sibling;var ot=A(S,Q,E[J],O);if(ot===null){Q===null&&(Q=Vt);break}t&&Q&&ot.alternate===null&&e(S,Q),y=u(ot,y,J),lt===null?G=ot:lt.sibling=ot,lt=ot,Q=Vt}if(J===E.length)return l(S,Q),ft&&Kl(S,J),G;if(Q===null){for(;J<E.length;J++)Q=M(S,E[J],O),Q!==null&&(y=u(Q,y,J),lt===null?G=Q:lt.sibling=Q,lt=Q);return ft&&Kl(S,J),G}for(Q=a(Q);J<E.length;J++)Vt=R(Q,S,J,E[J],O),Vt!==null&&(t&&Vt.alternate!==null&&Q.delete(Vt.key===null?J:Vt.key),y=u(Vt,y,J),lt===null?G=Vt:lt.sibling=Vt,lt=Vt);return t&&Q.forEach(function(Ul){return e(S,Ul)}),ft&&Kl(S,J),G}function V(S,y,E,O){if(E==null)throw Error(o(151));for(var G=null,lt=null,Q=y,J=y=0,Vt=null,ot=E.next();Q!==null&&!ot.done;J++,ot=E.next()){Q.index>J?(Vt=Q,Q=null):Vt=Q.sibling;var Ul=A(S,Q,ot.value,O);if(Ul===null){Q===null&&(Q=Vt);break}t&&Q&&Ul.alternate===null&&e(S,Q),y=u(Ul,y,J),lt===null?G=Ul:lt.sibling=Ul,lt=Ul,Q=Vt}if(ot.done)return l(S,Q),ft&&Kl(S,J),G;if(Q===null){for(;!ot.done;J++,ot=E.next())ot=M(S,ot.value,O),ot!==null&&(y=u(ot,y,J),lt===null?G=ot:lt.sibling=ot,lt=ot);return ft&&Kl(S,J),G}for(Q=a(Q);!ot.done;J++,ot=E.next())ot=R(Q,S,J,ot.value,O),ot!==null&&(t&&ot.alternate!==null&&Q.delete(ot.key===null?J:ot.key),y=u(ot,y,J),lt===null?G=ot:lt.sibling=ot,lt=ot);return t&&Q.forEach(function(Yv){return e(S,Yv)}),ft&&Kl(S,J),G}function xt(S,y,E,O){if(typeof E=="object"&&E!==null&&E.type===j&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case X:t:{for(var G=E.key;y!==null;){if(y.key===G){if(G=E.type,G===j){if(y.tag===7){l(S,y.sibling),O=n(y,E.props.children),O.return=S,S=O;break t}}else if(y.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===Gt&&Zd(G)===y.type){l(S,y.sibling),O=n(y,E.props),Un(O,E),O.return=S,S=O;break t}l(S,y);break}else e(S,y);y=y.sibling}E.type===j?(O=Zl(E.props.children,S.mode,O,E.key),O.return=S,S=O):(O=ji(E.type,E.key,E.props,null,S.mode,O),Un(O,E),O.return=S,S=O)}return f(S);case N:t:{for(G=E.key;y!==null;){if(y.key===G)if(y.tag===4&&y.stateNode.containerInfo===E.containerInfo&&y.stateNode.implementation===E.implementation){l(S,y.sibling),O=n(y,E.children||[]),O.return=S,S=O;break t}else{l(S,y);break}else e(S,y);y=y.sibling}O=Jr(E,S.mode,O),O.return=S,S=O}return f(S);case Gt:return G=E._init,E=G(E._payload),xt(S,y,E,O)}if(C(E))return W(S,y,E,O);if(ue(E)){if(G=ue(E),typeof G!="function")throw Error(o(150));return E=G.call(E),V(S,y,E,O)}if(typeof E.then=="function")return xt(S,y,lu(E),O);if(E.$$typeof===ut)return xt(S,y,Xi(S,E),O);au(S,E)}return typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint"?(E=""+E,y!==null&&y.tag===6?(l(S,y.sibling),O=n(y,E),O.return=S,S=O):(l(S,y),O=Kr(E,S.mode,O),O.return=S,S=O),f(S)):l(S,y)}return function(S,y,E,O){try{Nn=0;var G=xt(S,y,E,O);return Da=null,G}catch(Q){if(Q===Tn||Q===Zi)throw Q;var lt=be(29,Q,null,S.mode);return lt.lanes=O,lt.return=S,lt}finally{}}}var Ma=Vd(!0),Kd=Vd(!1),ze=U(null),Ye=null;function yl(t){var e=t.alternate;H(jt,jt.current&1),H(ze,t),Ye===null&&(e===null||ka.current!==null||e.memoizedState!==null)&&(Ye=t)}function Jd(t){if(t.tag===22){if(H(jt,jt.current),H(ze,t),Ye===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Ye=t)}}else wl()}function wl(){H(jt,jt.current),H(ze,ze.current)}function al(t){Y(ze),Ye===t&&(Ye=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==="$?"||ms(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 kc(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:k({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var _c={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=xe(),n=ml(a);n.payload=e,l!=null&&(n.callback=l),e=bl(t,n,a),e!==null&&(Se(e,t,a),Rn(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=xe(),n=ml(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=bl(t,n,a),e!==null&&(Se(e,t,a),Rn(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=xe(),a=ml(l);a.tag=2,e!=null&&(a.callback=e),e=bl(t,a,l),e!==null&&(Se(e,t,l),Rn(e,t,l))}};function $d(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 Wd(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&&_c.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=k({},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 Fd(t){iu(t)}function Pd(t){console.error(t)}function Id(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 th(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 zc(t,e,l){return l=ml(l),l.tag=3,l.payload={element:null},l.callback=function(){uu(t,e)},l}function eh(t){return t=ml(t),t.tag=3,t}function lh(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(){th(e,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){th(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 Yb(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&xn(e,l,n,!0),l=ze.current,l!==null){switch(l.tag){case 13:return Ye===null?Ic():l.alternate===null&&Nt===0&&(Nt=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===nc?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),es(t,a,n)),!1;case 22:return l.flags|=65536,a===nc?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)),es(t,a,n)),!1}throw Error(o(435,l.tag))}return es(t,a,n),Ic(),!1}if(ft)return e=ze.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(Ae(t,l)))):(a!==Fr&&(e=Error(o(423),{cause:a}),wn(Ae(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=Ae(a,l),n=zc(t.stateNode,a,n),rc(t,n),Nt!==4&&(Nt=2)),!1;var u=Error(o(520),{cause:a});if(u=Ae(u,l),Yn===null?Yn=[u]:Yn.push(u),Nt!==4&&(Nt=2),e===null)return!0;a=Ae(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=zc(l.stateNode,a,t),rc(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=eh(n),lh(n,t,l,a),rc(l,n),!1}l=l.return}while(l!==null);return!1}var ah=Error(o(461)),Qt=!1;function Kt(t,e,l,a){e.child=t===null?Kd(e,null,l,a):Ma(e,t.child,l,a)}function nh(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=dc(t,e,l,f,u,n),h=hc(),t!==null&&!Qt?(pc(t,e,n),nl(t,e,n)):(ft&&h&&$r(e),e.flags|=1,Kt(t,e,a,n),e.child)}function ih(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,uh(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,!qc(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 uh(t,e,l,a,n){if(t!==null){var u=t.memoizedProps;if(mn(u,a)&&t.ref===e.ref)if(Qt=!1,e.pendingProps=a=u,qc(t,n))(t.flags&131072)!==0&&(Qt=!0);else return e.lanes=t.lanes,nl(t,e,n)}return Oc(t,e,l,a,n)}function rh(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?ud(e,u):sc(),Jd(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),ud(e,u),wl(),e.memoizedState=null):(t!==null&&Qi(e,null),sc(),wl());return Kt(t,e,n,l),e.child}function ch(t,e,l,a){var n=ac();return n=n===null?null:{parent:Ht._currentValue,pool:n},e.memoizedState={baseLanes:l,cachePool:n},t!==null&&Qi(e,null),sc(),Jd(e),t!==null&&xn(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 Oc(t,e,l,a,n){return Fl(e),l=dc(t,e,l,a,void 0,n),a=hc(),t!==null&&!Qt?(pc(t,e,n),nl(t,e,n)):(ft&&a&&$r(e),e.flags|=1,Kt(t,e,l,n),e.child)}function sh(t,e,l,a,n,u){return Fl(e),e.updateQueue=null,l=cd(e,a,l,n),rd(t),a=hc(),t!==null&&!Qt?(pc(t,e,u),nl(t,e,u)):(ft&&a&&$r(e),e.flags|=1,Kt(t,e,l,u),e.child)}function oh(t,e,l,a,n){if(Fl(e),e.stateNode===null){var u=Sa,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=_c,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},ic(e),f=l.contextType,u.context=typeof f=="object"&&f!==null?te(f):Sa,u.state=e.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(kc(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&&_c.enqueueReplaceState(u,u.state,null),_n(e,a,u,n),kn(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){u=e.stateNode;var h=e.memoizedProps,b=ta(l,h);u.props=b;var T=u.context,z=l.contextType;f=Sa,typeof z=="object"&&z!==null&&(f=te(z));var M=l.getDerivedStateFromProps;z=typeof M=="function"||typeof u.getSnapshotBeforeUpdate=="function",h=e.pendingProps!==h,z||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h||T!==f)&&Wd(e,u,a,f),gl=!1;var A=e.memoizedState;u.state=A,_n(e,a,u,n),kn(),T=e.memoizedState,h||A!==T||gl?(typeof M=="function"&&(kc(e,l,M,a),T=e.memoizedState),(b=gl||$d(e,l,b,a,A,T,f))?(z||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=b):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{u=e.stateNode,uc(t,e),f=e.memoizedProps,z=ta(l,f),u.props=z,M=e.pendingProps,A=u.context,T=l.contextType,b=Sa,typeof T=="object"&&T!==null&&(b=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!==b)&&Wd(e,u,a,b),gl=!1,A=e.memoizedState,u.state=A,_n(e,a,u,n),kn();var R=e.memoizedState;f!==M||A!==R||gl||t!==null&&t.dependencies!==null&&Gi(t.dependencies)?(typeof h=="function"&&(kc(e,l,h,a),R=e.memoizedState),(z=gl||$d(e,l,z,a,A,R,b)||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,b),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,R,b)),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=b,a=z):(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)):Kt(t,e,l,n),e.memoizedState=u.state,t=e.child):t=nl(t,e,n),t}function fh(t,e,l,a){return yn(),e.flags|=256,Kt(t,e,l,a),e.child}var Dc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Mc(t){return{baseLanes:t,cachePool:Pf()}}function Nc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Oe),t}function dh(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(ft){if(n?yl(e):wl(),ft){var h=Mt,b;if(b=h){t:{for(b=h,h=Le;b.nodeType!==8;){if(!h){h=null;break t}if(b=Be(b.nextSibling),b===null){h=null;break t}}h=b}h!==null?(e.memoizedState={dehydrated:h,treeContext:Vl!==null?{id:Pe,overflow:Ie}:null,retryLane:536870912,hydrationErrors:null},b=be(18,null,null,0),b.stateNode=h,b.return=e,e.child=b,ae=e,Mt=null,b=!0):b=!1}b||$l(e)}if(h=e.memoizedState,h!==null&&(h=h.dehydrated,h!==null))return ms(h)?e.lanes=32:e.lanes=536870912,null;al(e)}return h=a.children,a=a.fallback,n?(wl(),n=e.mode,h=cu({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=Mc(l),n.childLanes=Nc(t,f,l),e.memoizedState=Dc,a):(yl(e),Uc(e,h))}if(b=t.memoizedState,b!==null&&(h=b.dehydrated,h!==null)){if(u)e.flags&256?(yl(e),e.flags&=-257,e=Bc(t,e,l)):e.memoizedState!==null?(wl(),e.child=t.child,e.flags|=128,e=null):(wl(),n=a.fallback,h=e.mode,a=cu({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=Mc(l),a.childLanes=Nc(t,f,l),e.memoizedState=Dc,e=n);else if(yl(e),ms(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=Bc(t,e,l)}else if(Qt||xn(t,e,l,!1),f=(l&t.childLanes)!==0,Qt||f){if(f=At,f!==null&&(a=l&-l,a=(a&42)!==0?1:br(a),a=(a&(f.suspendedLanes|l))!==0?0:a,a!==0&&a!==b.retryLane))throw b.retryLane=a,xa(t,a),Se(f,t,a),ah;h.data==="$?"||Ic(),e=Bc(t,e,l)}else h.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=b.treeContext,Mt=Be(h.nextSibling),ae=e,ft=!0,Jl=null,Le=!1,t!==null&&(ke[_e++]=Pe,ke[_e++]=Ie,ke[_e++]=Vl,Pe=t.id,Ie=t.overflow,Vl=e),e=Uc(e,a.children),e.flags|=4096);return e}return n?(wl(),n=a.fallback,h=e.mode,b=t.child,T=b.sibling,a=Fe(b,{mode:"hidden",children:a.children}),a.subtreeFlags=b.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=Mc(l):(b=h.cachePool,b!==null?(T=Ht._currentValue,b=b.parent!==T?{parent:T,pool:T}:b):b=Pf(),h={baseLanes:h.baseLanes|l,cachePool:b}),n.memoizedState=h,n.childLanes=Nc(t,f,l),e.memoizedState=Dc,a):(yl(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 Uc(t,e){return e=cu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function cu(t,e){return t=be(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Bc(t,e,l){return Ma(e,t.child,null,l),t=Uc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function hh(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Ir(t.return,e,l)}function Cc(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 ph(t,e,l){var a=e.pendingProps,n=a.revealOrder,u=a.tail;if(Kt(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&&hh(t,l,e);else if(t.tag===19)hh(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(H(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),Cc(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}Cc(e,!0,l,null,u);break;case"together":Cc(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(xn(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 qc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Gi(t)))}function Gb(t,e,l){switch(e.tag){case 3:kt(e,e.stateNode.containerInfo),pl(e,Ht,t.memoizedState.cache),yn();break;case 27:case 5:dr(e);break;case 4:kt(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?(yl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?dh(t,e,l):(yl(e),t=nl(t,e,l),t!==null?t.sibling:null);yl(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(xn(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return ph(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),H(jt,jt.current),a)break;return null;case 22:case 23:return e.lanes=0,rh(t,e,l);case 24:pl(e,Ht,t.memoizedState.cache)}return nl(t,e,l)}function gh(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Qt=!0;else{if(!qc(t,l)&&(e.flags&128)===0)return Qt=!1,Gb(t,e,l);Qt=(t.flags&131072)!==0}else Qt=!1,ft&&(e.flags&1048576)!==0&&Zf(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=oh(null,e,a,t,l)):(e.tag=0,e=Oc(null,e,a,t,l));else{if(a!=null){if(n=a.$$typeof,n===ht){e.tag=11,e=nh(null,e,a,t,l);break t}else if(n===Yt){e.tag=14,e=ih(null,e,a,t,l);break t}}throw e=zt(a)||a,Error(o(306,e,""))}}return e;case 0:return Oc(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=ta(a,e.pendingProps),oh(t,e,a,n,l);case 3:t:{if(kt(e,e.stateNode.containerInfo),t===null)throw Error(o(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,uc(t,e),_n(e,a,null,l);var f=e.memoizedState;if(a=f.cache,pl(e,Ht,a),a!==u.cache&&tc(e,[Ht],l,!0),kn(),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=fh(t,e,a,l);break t}else if(a!==n){n=Ae(Error(o(424)),e),wn(n),e=fh(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=Be(t.firstChild),ae=e,ft=!0,Jl=null,Le=!0,l=Kd(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(yn(),a===n){e=nl(t,e,l);break t}Kt(t,e,a,l)}e=e.child}return e;case 26:return ru(t,e),t===null?(l=yp(e.type,null,e.pendingProps,null))?e.memoizedState=l:ft||(l=e.type,t=e.pendingProps,a=Su(F.current).createElement(l),a[It]=e,a[re]=t,$t(a,l,t),Xt(a),e.stateNode=a):e.memoizedState=yp(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return dr(e),t===null&&ft&&(a=e.stateNode=mp(e.type,e.pendingProps,F.current),ae=e,Le=!0,n=Mt,zl(e.type)?(bs=n,Mt=Be(a.firstChild)):Mt=n),Kt(t,e,e.pendingProps.children,l),ru(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&ft&&((n=a=Mt)&&(a=mv(a,e.type,e.pendingProps,Le),a!==null?(e.stateNode=a,ae=e,Mt=Be(a.firstChild),Le=!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,hs(n,u)?a=null:f!==null&&hs(n,f)&&(e.flags|=32),e.memoizedState!==null&&(n=dc(t,e,Ub,null,null,l),Wn._currentValue=n),ru(t,e),Kt(t,e,a,l),e.child;case 6:return t===null&&ft&&((t=l=Mt)&&(l=bv(l,e.pendingProps,Le),l!==null?(e.stateNode=l,ae=e,Mt=null,t=!0):t=!1),t||$l(e)),null;case 13:return dh(t,e,l);case 4:return kt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=Ma(e,null,a,l):Kt(t,e,a,l),e.child;case 11:return nh(t,e,e.type,e.pendingProps,l);case 7:return Kt(t,e,e.pendingProps,l),e.child;case 8:return Kt(t,e,e.pendingProps.children,l),e.child;case 12:return Kt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,pl(e,e.type,a.value),Kt(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,Kt(t,e,a,l),e.child;case 14:return ih(t,e,e.type,e.pendingProps,l);case 15:return uh(t,e,e.type,e.pendingProps,l);case 19:return ph(t,e,l);case 31:return a=e.pendingProps,l=e.mode,a={mode:a.mode,children:a.children},t===null?(l=cu(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 rh(t,e,l);case 24:return Fl(e),a=te(Ht),t===null?(n=ac(),n===null&&(n=At,u=ec(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),e.memoizedState={parent:a,cache:n},ic(e),pl(e,Ht,n)):((t.lanes&l)!==0&&(uc(t,e),_n(e,null,null,l),kn()),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&&tc(e,[Ht],l,!0))),Kt(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 mh(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Tp(e)){if(e=ze.current,e!==null&&((rt&4194048)===rt?Ye!==null:(rt&62914560)!==rt&&(rt&536870912)===0||e!==Ye))throw An=nc,If;t.flags|=8192}}function su(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Ko():536870912,t.lanes|=e,Ca|=e)}function Bn(t,e){if(!ft)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 Ot(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 Xb(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 Ot(e),null;case 1:return Ot(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,Jf())),Ot(e),null;case 26:return l=e.memoizedState,t===null?(il(e),l!==null?(Ot(e),mh(e,l)):(Ot(e),e.flags&=-16777217)):l?l!==t.memoizedState?(il(e),Ot(e),mh(e,l)):(Ot(e),e.flags&=-16777217):(t.memoizedProps!==a&&il(e),Ot(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 Ot(e),null}t=$.current,vn(e)?Vf(e):(t=mp(n,a,l),e.stateNode=t,il(e))}return Ot(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 Ot(e),null}if(t=$.current,vn(e))Vf(e);else{switch(n=Su(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[re]=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($t(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 Ot(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=ae,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[It]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||sp(t.nodeValue,l)),t||$l(e)}else t=Su(t).createTextNode(a),t[It]=e,e.stateNode=t}return Ot(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 yn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ot(e),n=!1}else n=Jf(),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),su(e,e.updateQueue),Ot(e),null;case 4:return ol(),t===null&&cs(e.stateNode.containerInfo),Ot(e),null;case 10:return el(e.type),Ot(e),null;case 19:if(Y(jt),n=e.memoizedState,n===null)return Ot(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,su(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Qf(l,t),l=l.sibling;return H(jt,jt.current&1|2),e.child}t=t.sibling}n.tail!==null&&je()>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,su(e,t),Bn(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!ft)return Ot(e),null}else 2*je()-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=je(),e.sibling=null,t=jt.current,H(jt,a?t&1|2:t&1),e):(Ot(e),null);case 22:case 23:return al(e),oc(),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&&(Ot(e),e.subtreeFlags&6&&(e.flags|=8192)):Ot(e),l=e.updateQueue,l!==null&&su(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),Ot(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function Qb(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));yn()}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),oc(),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 bh(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),oc(),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 xl(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 b=l,T=h;try{T()}catch(z){Et(n,b,z)}}}a=a.next}while(a!==u)}}catch(z){Et(e,e.return,z)}}function vh(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{id(e,l)}catch(a){Et(t,t.return,a)}}}function yh(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 Ge(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 wh(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 Hc(t,e,l){try{var a=t.stateNode;fv(a,t.type,l,e),a[re]=e}catch(n){Et(t,t.return,n)}}function xh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&zl(t.type)||t.tag===4}function jc(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&&zl(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 Lc(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=xu));else if(a!==4&&(a===27&&zl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Lc(t,e,l),t=t.sibling;t!==null;)Lc(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&&zl(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 Sh(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);$t(e,a,l),e[It]=t,e[re]=l}catch(u){Et(t,t.return,u)}}var ul=!1,Bt=!1,Yc=!1,Eh=typeof WeakSet=="function"?WeakSet:Set,Zt=null;function Zb(t,e){if(t=t.containerInfo,fs=_u,t=Uf(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,b=-1,T=0,z=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||(b=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&&++z===a&&(b=f),(R=M.nextSibling)!==null)break;M=A,A=M.parentNode}M=R}l=h===-1||b===-1?null:{start:h,end:b}}else l=null}l=l||{start:0,end:0}}else l=null;for(ds={focusedElem:t,selectionRange:l},_u=!1,Zt=e;Zt!==null;)if(e=Zt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Zt=t;else for(;Zt!==null;){switch(e=Zt,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(V){Et(l,l.return,V)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)gs(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":gs(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,Zt=t;break}Zt=e.return}}function Th(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:Sl(t,l),a&4&&Cn(5,l);break;case 1:if(Sl(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&&vh(l),a&512&&qn(l,l.return);break;case 3:if(Sl(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{id(t,e)}catch(f){Et(l,l.return,f)}}break;case 27:e===null&&a&4&&Sh(l);case 26:case 5:Sl(t,l),e===null&&a&4&&wh(l),a&512&&qn(l,l.return);break;case 12:Sl(t,l);break;case 13:Sl(t,l),a&4&&kh(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):Sl(t,l),ul=n,Bt=u}break;case 30:break;default:Sl(t,l)}}function Ah(t){var e=t.alternate;e!==null&&(t.alternate=null,Ah(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 _t=null,oe=!1;function rl(t,e,l){for(l=l.child;l!==null;)Rh(t,e,l),l=l.sibling}function Rh(t,e,l){if(pe&&typeof pe.onCommitFiberUnmount=="function")try{pe.onCommitFiberUnmount(an,l)}catch{}switch(l.tag){case 26:Bt||Ge(l,e),rl(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Bt||Ge(l,e);var a=_t,n=oe;zl(l.type)&&(_t=l.stateNode,oe=!1),rl(t,e,l),Vn(l.stateNode),_t=a,oe=n;break;case 5:Bt||Ge(l,e);case 6:if(a=_t,n=oe,_t=null,rl(t,e,l),_t=a,oe=n,_t!==null)if(oe)try{(_t.nodeType===9?_t.body:_t.nodeName==="HTML"?_t.ownerDocument.body:_t).removeChild(l.stateNode)}catch(u){Et(l,e,u)}else try{_t.removeChild(l.stateNode)}catch(u){Et(l,e,u)}break;case 18:_t!==null&&(oe?(t=_t,pp(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),ti(t)):pp(_t,l.stateNode));break;case 4:a=_t,n=oe,_t=l.stateNode.containerInfo,oe=!0,rl(t,e,l),_t=a,oe=n;break;case 0:case 11:case 14:case 15:Bt||xl(2,l,e),Bt||xl(4,l,e),rl(t,e,l);break;case 1:Bt||(Ge(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&yh(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 kh(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 Vb(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Eh),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Eh),e;default:throw Error(o(435,t.tag))}}function Gc(t,e){var l=Vb(t);e.forEach(function(a){var n=ev.bind(null,t,a);l.has(a)||(l.add(a),a.then(n,n))})}function ve(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(zl(h.type)){_t=h.stateNode,oe=!1;break t}break;case 5:_t=h.stateNode,oe=!1;break t;case 3:case 4:_t=h.stateNode.containerInfo,oe=!0;break t}h=h.return}if(_t===null)throw Error(o(160));Rh(u,f,n),_t=null,oe=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)_h(e,t),e=e.sibling}var Ue=null;function _h(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ve(e,t),ye(t),a&4&&(xl(3,t,t.return),Cn(3,t),xl(5,t,t.return));break;case 1:ve(e,t),ye(t),a&512&&(Bt||l===null||Ge(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=Ue;if(ve(e,t),ye(t),a&512&&(Bt||l===null||Ge(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"))),$t(u,a,l),u[It]=t,Xt(u),a=u;break t;case"link":var f=Sp("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),$t(u,a,l),n.head.appendChild(u);break;case"meta":if(f=Sp("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),$t(u,a,l),n.head.appendChild(u);break;default:throw Error(o(468,a))}u[It]=t,Xt(u),a=u}t.stateNode=a}else Ep(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?Ep(n,t.type,t.stateNode):xp(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Hc(t,t.memoizedProps,l.memoizedProps)}break;case 27:ve(e,t),ye(t),a&512&&(Bt||l===null||Ge(l,l.return)),l!==null&&a&4&&Hc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(ve(e,t),ye(t),a&512&&(Bt||l===null||Ge(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,Hc(t,n,l!==null?l.memoizedProps:n)),a&1024&&(Yc=!0);break;case 6:if(ve(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=Ue,Ue=Eu(e.containerInfo),ve(e,t),Ue=n,ye(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{ti(e.containerInfo)}catch(R){Et(t,t.return,R)}Yc&&(Yc=!1,zh(t));break;case 4:a=Ue,Ue=Eu(t.stateNode.containerInfo),ve(e,t),ye(t),Ue=a;break;case 12:ve(e,t),ye(t);break;case 13:ve(e,t),ye(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Jc=je()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Gc(t,a)));break;case 22:n=t.memoizedState!==null;var b=l!==null&&l.memoizedState!==null,T=ul,z=Bt;if(ul=T||n,Bt=z||b,ve(e,t),Bt=z,ul=T,ye(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||b||ul||Bt||ea(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){b=l=e;try{if(u=b.stateNode,n)f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{h=b.stateNode;var M=b.memoizedProps.style,A=M!=null&&M.hasOwnProperty("display")?M.display:null;h.style.display=A==null||typeof A=="boolean"?"":(""+A).trim()}}catch(R){Et(b,b.return,R)}}}else if(e.tag===6){if(l===null){b=e;try{b.stateNode.nodeValue=n?"":b.memoizedProps}catch(R){Et(b,b.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,Gc(t,l))));break;case 19:ve(e,t),ye(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Gc(t,a)));break;case 30:break;case 21:break;default:ve(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=jc(t);ou(t,u,n);break;case 5:var f=l.stateNode;l.flags&32&&(pa(f,""),l.flags&=-33);var h=jc(t);ou(t,h,f);break;case 3:case 4:var b=l.stateNode.containerInfo,T=jc(t);Lc(t,T,b);break;default:throw Error(o(161))}}catch(z){Et(t,t.return,z)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function zh(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;zh(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Sl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Th(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:xl(4,e,e.return),ea(e);break;case 1:Ge(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&yh(e,e.return,l),ea(e);break;case 27:Vn(e.stateNode);case 26:case 5:Ge(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 b=n.shared.hiddenCallbacks;if(b!==null)for(n.shared.hiddenCallbacks=null,n=0;n<b.length;n++)nd(b[n],h)}catch(T){Et(a,a.return,T)}}l&&f&64&&vh(u),qn(u,u.return);break;case 27:Sh(u);case 26:case 5:El(n,u,l),l&&a===null&&f&4&&wh(u),qn(u,u.return);break;case 12:El(n,u,l);break;case 13:El(n,u,l),l&&f&4&&kh(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 Xc(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&&Sn(l))}function Qc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Sn(t))}function Xe(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Oh(t,e,l,a),e=e.sibling}function Oh(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Xe(t,e,l,a),n&2048&&Cn(9,e);break;case 1:Xe(t,e,l,a);break;case 3:Xe(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&&Sn(t)));break;case 12:if(n&2048){Xe(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(b){Et(e,e.return,b)}}else Xe(t,e,l,a);break;case 13:Xe(t,e,l,a);break;case 23:break;case 22:u=e.stateNode,f=e.alternate,e.memoizedState!==null?u._visibility&2?Xe(t,e,l,a):Hn(t,e):u._visibility&2?Xe(t,e,l,a):(u._visibility|=2,Na(t,e,l,a,(e.subtreeFlags&10256)!==0)),n&2048&&Xc(f,e);break;case 24:Xe(t,e,l,a),n&2048&&Qc(e.alternate,e);break;default:Xe(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,b=a,T=f.flags;switch(f.tag){case 0:case 11:case 15:Na(u,f,h,b,n),Cn(8,f);break;case 23:break;case 22:var z=f.stateNode;f.memoizedState!==null?z._visibility&2?Na(u,f,h,b,n):Hn(u,f):(z._visibility|=2,Na(u,f,h,b,n)),n&&T&2048&&Xc(f.alternate,f);break;case 24:Na(u,f,h,b,n),n&&T&2048&&Qc(f.alternate,f);break;default:Na(u,f,h,b,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&&Xc(a.alternate,a);break;case 24:Hn(l,a),n&2048&&Qc(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;)Dh(t),t=t.sibling}function Dh(t){switch(t.tag){case 26:Ua(t),t.flags&jn&&t.memoizedState!==null&&Dv(Ue,t.memoizedState,t.memoizedProps);break;case 5:Ua(t);break;case 3:case 4:var e=Ue;Ue=Eu(t.stateNode.containerInfo),Ua(t),Ue=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 Mh(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];Zt=a,Uh(a,t)}Mh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Nh(t),t=t.sibling}function Nh(t){switch(t.tag){case 0:case 11:case 15:Ln(t),t.flags&2048&&xl(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];Zt=a,Uh(a,t)}Mh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:xl(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 Uh(t,e){for(;Zt!==null;){var l=Zt;switch(l.tag){case 0:case 11:case 15:xl(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:Sn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Zt=a;else t:for(l=t;Zt!==null;){a=Zt;var n=a.sibling,u=a.return;if(Ah(a),a===l){Zt=null;break t}if(n!==null){n.return=u,Zt=n;break t}Zt=u}}}var Kb={getCacheForType:function(t){var e=te(Ht),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},Jb=typeof WeakMap=="function"?WeakMap:Map,mt=0,At=null,at=null,rt=0,bt=0,we=null,Tl=!1,Ba=!1,Zc=!1,cl=0,Nt=0,Al=0,la=0,Vc=0,Oe=0,Ca=0,Yn=null,fe=null,Kc=!1,Jc=0,du=1/0,hu=null,Rl=null,Jt=0,kl=null,qa=null,Ha=0,$c=0,Wc=null,Bh=null,Gn=0,Fc=null;function xe(){if((mt&2)!==0&&rt!==0)return rt&-rt;if(B.T!==null){var t=Aa;return t!==0?t:ns()}return Wo()}function Ch(){Oe===0&&(Oe=(rt&536870912)===0||ft?Vo():536870912);var t=ze.current;return t!==null&&(t.flags|=32),Oe}function Se(t,e,l){(t===At&&(bt===2||bt===9)||t.cancelPendingCommit!==null)&&(ja(t,0),_l(t,rt,Oe,!1)),un(t,l),((mt&2)===0||t!==At)&&(t===At&&((mt&2)===0&&(la|=l),Nt===4&&_l(t,rt,Oe,!1)),Qe(t))}function qh(t,e,l){if((mt&6)!==0)throw Error(o(327));var a=!l&&(e&124)===0&&(e&t.expiredLanes)===0||nn(t,e),n=a?Fb(t,e):ts(t,e,!0),u=a;do{if(n===0){Ba&&!a&&_l(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!$b(l)){n=ts(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 b=h.current.memoizedState.isDehydrated;if(b&&(ja(h,f).flags|=256),f=ts(h,f,!1),f!==2){if(Zc&&!b){h.errorRecoveryDisabledLanes|=u,la|=u,n=4;break t}u=fe,fe=n,u!==null&&(fe===null?fe=u:fe.push.apply(fe,u))}n=f}if(u=!1,n!==2)continue}}if(n===1){ja(t,0),_l(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:_l(a,e,Oe,!Tl);break t;case 2:fe=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(n=Jc+300-je(),10<n)){if(_l(a,e,Oe,!Tl),Ti(a,0,!0)!==0)break t;a.timeoutHandle=dp(Hh.bind(null,a,l,fe,hu,Kc,e,Oe,la,Ca,Tl,u,2,-0,0),n);break t}Hh(a,l,fe,hu,Kc,e,Oe,la,Ca,Tl,u,0,-0,0)}}break}while(!0);Qe(t)}function Hh(t,e,l,a,n,u,f,h,b,T,z,M,A,R){if(t.timeoutHandle=-1,M=e.subtreeFlags,(M&8192||(M&16785408)===16785408)&&($n={stylesheets:null,count:0,unsuspend:Ov},Dh(e),M=Mv(),M!==null)){t.cancelPendingCommit=M(Zh.bind(null,t,e,u,l,a,n,f,h,b,z,1,A,R)),_l(t,u,f,!T);return}Zh(t,e,u,l,a,n,f,h,b)}function $b(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(!me(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 _l(t,e,l,a){e&=~Vc,e&=~la,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var u=31-ge(n),f=1<<u;a[u]=-1,n&=~f}l!==0&&Jo(t,l,e)}function pu(){return(mt&6)===0?(Xn(0),!1):!0}function Pc(){if(at!==null){if(bt===0)var t=at.return;else t=at,tl=Wl=null,gc(t),Da=null,Nn=0,t=at;for(;t!==null;)bh(t.alternate,t),t=t.return;at=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()),Pc(),At=t,at=l=Fe(t.current,null),rt=e,bt=0,we=null,Tl=!1,Ba=nn(t,e),Zc=!1,Ca=Oe=Vc=la=Al=Nt=0,fe=Yn=null,Kc=!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-ge(a),u=1<<n;e|=t[n],a&=~u}return cl=e,Ci(),l}function jh(t,e){et=null,B.H=eu,e===Tn||e===Zi?(e=ld(),bt=3):e===If?(e=ld(),bt=4):bt=e===ah?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,we=e,at===null&&(Nt=1,uu(t,Ae(e,t.current)))}function Lh(){var t=B.H;return B.H=eu,t===null?eu:t}function Yh(){var t=B.A;return B.A=Kb,t}function Ic(){Nt=4,Tl||(rt&4194048)!==rt&&ze.current!==null||(Ba=!0),(Al&134217727)===0&&(la&134217727)===0||At===null||_l(At,rt,Oe,!1)}function ts(t,e,l){var a=mt;mt|=2;var n=Lh(),u=Yh();(At!==t||rt!==e)&&(hu=null,ja(t,e)),e=!1;var f=Nt;t:do try{if(bt!==0&&at!==null){var h=at,b=we;switch(bt){case 8:Pc(),f=6;break t;case 3:case 2:case 9:case 6:ze.current===null&&(e=!0);var T=bt;if(bt=0,we=null,La(t,h,b,T),l&&Ba){f=0;break t}break;default:T=bt,bt=0,we=null,La(t,h,b,T)}}Wb(),f=Nt;break}catch(z){jh(t,z)}while(!0);return e&&t.shellSuspendCounter++,tl=Wl=null,mt=a,B.H=n,B.A=u,at===null&&(At=null,rt=0,Ci()),f}function Wb(){for(;at!==null;)Gh(at)}function Fb(t,e){var l=mt;mt|=2;var a=Lh(),n=Yh();At!==t||rt!==e?(hu=null,du=je()+500,ja(t,e)):Ba=nn(t,e);t:do try{if(bt!==0&&at!==null){e=at;var u=we;e:switch(bt){case 1:bt=0,we=null,La(t,e,u,1);break;case 2:case 9:if(td(u)){bt=0,we=null,Xh(e);break}e=function(){bt!==2&&bt!==9||At!==t||(bt=7),Qe(t)},u.then(e,e);break t;case 3:bt=7;break t;case 4:bt=5;break t;case 7:td(u)?(bt=0,we=null,Xh(e)):(bt=0,we=null,La(t,e,u,7));break;case 5:var f=null;switch(at.tag){case 26:f=at.memoizedState;case 5:case 27:var h=at;if(!f||Tp(f)){bt=0,we=null;var b=h.sibling;if(b!==null)at=b;else{var T=h.return;T!==null?(at=T,gu(T)):at=null}break e}}bt=0,we=null,La(t,e,u,5);break;case 6:bt=0,we=null,La(t,e,u,6);break;case 8:Pc(),Nt=6;break t;default:throw Error(o(462))}}Pb();break}catch(z){jh(t,z)}while(!0);return tl=Wl=null,B.H=a,B.A=n,mt=l,at!==null?0:(At=null,rt=0,Ci(),Nt)}function Pb(){for(;at!==null&&!wm();)Gh(at)}function Gh(t){var e=gh(t.alternate,t,cl);t.memoizedProps=t.pendingProps,e===null?gu(t):at=e}function Xh(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=sh(l,e,e.pendingProps,e.type,void 0,rt);break;case 11:e=sh(l,e,e.pendingProps,e.type.render,e.ref,rt);break;case 5:gc(e);default:bh(l,e),e=at=Qf(e,cl),e=gh(l,e,cl)}t.memoizedProps=t.pendingProps,e===null?gu(t):at=e}function La(t,e,l,a){tl=Wl=null,gc(e),Da=null,Nn=0;var n=e.return;try{if(Yb(t,n,e,l,rt)){Nt=1,uu(t,Ae(l,t.current)),at=null;return}}catch(u){if(n!==null)throw at=n,u;Nt=1,uu(t,Ae(l,t.current)),at=null;return}e.flags&32768?(ft||a===1?t=!0:Ba||(rt&536870912)!==0?t=!1:(Tl=t=!0,(a===2||a===9||a===3||a===6)&&(a=ze.current,a!==null&&a.tag===13&&(a.flags|=16384))),Qh(e,t)):gu(e)}function gu(t){var e=t;do{if((e.flags&32768)!==0){Qh(e,Tl);return}t=e.return;var l=Xb(e.alternate,e,cl);if(l!==null){at=l;return}if(e=e.sibling,e!==null){at=e;return}at=e=t}while(e!==null);Nt===0&&(Nt=5)}function Qh(t,e){do{var l=Qb(t.alternate,t);if(l!==null){l.flags&=32767,at=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){at=t;return}at=t=l}while(t!==null);Nt=6,at=null}function Zh(t,e,l,a,n,u,f,h,b){t.cancelPendingCommit=null;do mu();while(Jt!==0);if((mt&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,Om(t,l,u,f,h,b),t===At&&(at=At=null,rt=0),qa=e,kl=t,Ha=l,$c=u,Wc=n,Bh=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,lv(xi,function(){return Wh(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=B.T,B.T=null,n=q.p,q.p=2,f=mt,mt|=4;try{Zb(t,e,l)}finally{mt=f,q.p=n,B.T=a}}Jt=1,Vh(),Kh(),Jh()}}function Vh(){if(Jt===1){Jt=0;var t=kl,e=qa,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=B.T,B.T=null;var a=q.p;q.p=2;var n=mt;mt|=4;try{_h(e,t);var u=ds,f=Uf(t.containerInfo),h=u.focusedElem,b=u.selectionRange;if(f!==h&&h&&h.ownerDocument&&Nf(h.ownerDocument.documentElement,h)){if(b!==null&&jr(h)){var T=b.start,z=b.end;if(z===void 0&&(z=T),"selectionStart"in h)h.selectionStart=T,h.selectionEnd=Math.min(z,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,V=Math.min(b.start,W),xt=b.end===void 0?V:Math.min(b.end,W);!R.extend&&V>xt&&(f=xt,xt=V,V=f);var S=Mf(h,V),y=Mf(h,xt);if(S&&y&&(R.rangeCount!==1||R.anchorNode!==S.node||R.anchorOffset!==S.offset||R.focusNode!==y.node||R.focusOffset!==y.offset)){var E=M.createRange();E.setStart(S.node,S.offset),R.removeAllRanges(),V>xt?(R.addRange(E),R.extend(y.node,y.offset)):(E.setEnd(y.node,y.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 O=M[h];O.element.scrollLeft=O.left,O.element.scrollTop=O.top}}_u=!!fs,ds=fs=null}finally{mt=n,q.p=a,B.T=l}}t.current=e,Jt=2}}function Kh(){if(Jt===2){Jt=0;var t=kl,e=qa,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=B.T,B.T=null;var a=q.p;q.p=2;var n=mt;mt|=4;try{Th(t,e.alternate,e)}finally{mt=n,q.p=a,B.T=l}}Jt=3}}function Jh(){if(Jt===4||Jt===3){Jt=0,xm();var t=kl,e=qa,l=Ha,a=Bh;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Jt=5:(Jt=0,qa=kl=null,$h(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(Rl=null),vr(l),e=e.stateNode,pe&&typeof pe.onCommitFiberRoot=="function")try{pe.onCommitFiberRoot(an,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=B.T,n=q.p,q.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,q.p=n}}(Ha&3)!==0&&mu(),Qe(t),n=t.pendingLanes,(l&4194090)!==0&&(n&42)!==0?t===Fc?Gn++:(Gn=0,Fc=t):Gn=0,Xn(0)}}function $h(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Sn(e)))}function mu(t){return Vh(),Kh(),Jh(),Wh()}function Wh(){if(Jt!==5)return!1;var t=kl,e=$c;$c=0;var l=vr(Ha),a=B.T,n=q.p;try{q.p=32>l?32:l,B.T=null,l=Wc,Wc=null;var u=kl,f=Ha;if(Jt=0,qa=kl=null,Ha=0,(mt&6)!==0)throw Error(o(331));var h=mt;if(mt|=4,Nh(u.current),Oh(u,u.current,f,l),mt=h,Xn(0,!1),pe&&typeof pe.onPostCommitFiberRoot=="function")try{pe.onPostCommitFiberRoot(an,u)}catch{}return!0}finally{q.p=n,B.T=a,$h(t,e)}}function Fh(t,e,l){e=Ae(l,e),e=zc(t.stateNode,e,2),t=bl(t,e,2),t!==null&&(un(t,2),Qe(t))}function Et(t,e,l){if(t.tag===3)Fh(t,t,l);else for(;e!==null;){if(e.tag===3){Fh(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=Ae(l,t),l=eh(2),a=bl(e,l,2),a!==null&&(lh(l,a,e,t),un(a,2),Qe(a));break}}e=e.return}}function es(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new Jb;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)||(Zc=!0,n.add(l),t=Ib.bind(null,t,e,l),e.then(t,t))}function Ib(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>je()-Jc?(mt&2)===0&&ja(t,0):Vc|=l,Ca===rt&&(Ca=0)),Qe(t)}function Ph(t,e){e===0&&(e=Ko()),t=xa(t,e),t!==null&&(un(t,e),Qe(t))}function tv(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Ph(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),Ph(t,l)}function lv(t,e){return pr(t,e)}var bu=null,Ya=null,ls=!1,vu=!1,as=!1,aa=0;function Qe(t){t!==Ya&&t.next===null&&(Ya===null?bu=Ya=t:Ya=Ya.next=t),vu=!0,ls||(ls=!0,nv())}function Xn(t,e){if(!as&&vu){as=!0;do for(var l=!1,a=bu;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-ge(42|t)+1)-1,u&=n&~(f&~h),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,lp(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,lp(a,u));a=a.next}while(l);as=!1}}function av(){Ih()}function Ih(){vu=ls=!1;var t=0;aa!==0&&(dv()&&(t=aa),aa=0);for(var e=je(),l=null,a=bu;a!==null;){var n=a.next,u=tp(a,e);u===0?(a.next=null,l===null?bu=n:l.next=n,n===null&&(Ya=l)):(l=a,(t!==0||(u&3)!==0)&&(vu=!0)),a=n}Xn(t)}function tp(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var f=31-ge(u),h=1<<f,b=n[f];b===-1?((h&l)===0||(h&a)!==0)&&(n[f]=zm(h,e)):b<=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&&(bt===2||bt===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=Qo;break;case 32:l=xi;break;case 268435456:l=Zo;break;default:l=xi}return a=ep.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 ep(t,e){if(Jt!==0&&Jt!==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:(qh(t,a,e),tp(t,je()),t.callbackNode!=null&&t.callbackNode===l?ep.bind(null,t):null)}function lp(t,e){if(mu())return null;qh(t,e,!0)}function nv(){pv(function(){(mt&6)!==0?pr(Xo,av):Ih()})}function ns(){return aa===0&&(aa=Vo()),aa}function ap(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:zi(""+t)}function np(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=ap((n[re]||null).action),f=a.submitter;f&&(e=(e=f[re]||null)?ap(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 b=f?np(n,f):new FormData(n);Tc(l,{pending:!0,data:b,method:n.method,action:u},null,b)}}else typeof u=="function"&&(h.preventDefault(),b=f?np(n,f):new FormData(n),Tc(l,{pending:!0,data:b,method:n.method,action:u},u,b))},currentTarget:n}]})}}for(var is=0;is<Xr.length;is++){var us=Xr[is],uv=us.toLowerCase(),rv=us[0].toUpperCase()+us.slice(1);Ne(uv,"on"+rv)}Ne(qf,"onAnimationEnd"),Ne(Hf,"onAnimationIteration"),Ne(jf,"onAnimationStart"),Ne("dblclick","onDoubleClick"),Ne("focusin","onFocus"),Ne("focusout","onBlur"),Ne(Tb,"onTransitionRun"),Ne(Ab,"onTransitionStart"),Ne(Rb,"onTransitionCancel"),Ne(Lf,"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(" "),cv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qn));function ip(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],b=h.instance,T=h.currentTarget;if(h=h.listener,b!==u&&n.isPropagationStopped())break t;u=h,n.currentTarget=T;try{u(n)}catch(z){iu(z)}n.currentTarget=null,u=b}else for(f=0;f<a.length;f++){if(h=a[f],b=h.instance,T=h.currentTarget,h=h.listener,b!==u&&n.isPropagationStopped())break t;u=h,n.currentTarget=T;try{u(n)}catch(z){iu(z)}n.currentTarget=null,u=b}}}}function nt(t,e){var l=e[yr];l===void 0&&(l=e[yr]=new Set);var a=t+"__bubble";l.has(a)||(up(e,t,2,!1),l.add(a))}function rs(t,e,l){var a=0;e&&(a|=4),up(l,t,a,e)}var yu="_reactListening"+Math.random().toString(36).slice(2);function cs(t){if(!t[yu]){t[yu]=!0,Po.forEach(function(l){l!=="selectionchange"&&(cv.has(l)||rs(l,!1,t),rs(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[yu]||(e[yu]=!0,rs("selectionchange",!1,e))}}function up(t,e,l,a){switch(Op(e)){case 2:var n=Bv;break;case 8:n=Cv;break;default:n=Ss}l=n.bind(null,e,l,t),n=void 0,!Or||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 ss(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 b=f.tag;if((b===3||b===4)&&f.stateNode.containerInfo===n)return;f=f.return}for(;h!==null;){if(f=ca(h),f===null)return;if(b=f.tag,b===5||b===6||b===26||b===27){a=u=f;continue t}h=h.parentNode}}a=a.return}hf(function(){var T=u,z=_r(l),M=[];t:{var A=Yf.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=lb;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=mf;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=ib;break;case qf:case Hf:case jf:R=Km;break;case Lf:R=rb;break;case"scroll":case"scrollend":R=Gm;break;case"wheel":R=sb;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=vf;break;case"toggle":case"beforetoggle":R=fb}var V=(e&4)!==0,xt=!V&&(t==="scroll"||t==="scrollend"),S=V?A!==null?A+"Capture":null:A;V=[];for(var y=T,E;y!==null;){var O=y;if(E=O.stateNode,O=O.tag,O!==5&&O!==26&&O!==27||E===null||S===null||(O=sn(y,S),O!=null&&V.push(Zn(y,O,E))),xt)break;y=y.return}0<V.length&&(A=new R(A,W,null,l,z),M.push({event:A,listeners:V}))}}if((e&7)===0){t:{if(A=t==="mouseover"||t==="pointerover",R=t==="mouseout"||t==="pointerout",A&&l!==kr&&(W=l.relatedTarget||l.fromElement)&&(ca(W)||W[ra]))break t;if((R||A)&&(A=z.window===z?z:(A=z.ownerDocument)?A.defaultView||A.parentWindow:window,R?(W=l.relatedTarget||l.toElement,R=T,W=W?ca(W):null,W!==null&&(xt=g(W),V=W.tag,W!==xt||V!==5&&V!==27&&V!==6)&&(W=null)):(R=null,W=T),R!==W)){if(V=mf,O="onMouseLeave",S="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(V=vf,O="onPointerLeave",S="onPointerEnter",y="pointer"),xt=R==null?A:cn(R),E=W==null?A:cn(W),A=new V(O,y+"leave",R,l,z),A.target=xt,A.relatedTarget=E,O=null,ca(z)===T&&(V=new V(S,y+"enter",W,l,z),V.target=E,V.relatedTarget=xt,O=V),xt=O,R&&W)e:{for(V=R,S=W,y=0,E=V;E;E=Ga(E))y++;for(E=0,O=S;O;O=Ga(O))E++;for(;0<y-E;)V=Ga(V),y--;for(;0<E-y;)S=Ga(S),E--;for(;y--;){if(V===S||S!==null&&V===S.alternate)break e;V=Ga(V),S=Ga(S)}V=null}else V=null;R!==null&&rp(M,A,R,V,!1),W!==null&&xt!==null&&rp(M,xt,W,V,!0)}}t:{if(A=T?cn(T):window,R=A.nodeName&&A.nodeName.toLowerCase(),R==="select"||R==="input"&&A.type==="file")var G=Rf;else if(Tf(A))if(kf)G=xb;else{G=yb;var lt=vb}else R=A.nodeName,!R||R.toLowerCase()!=="input"||A.type!=="checkbox"&&A.type!=="radio"?T&&Rr(T.elementType)&&(G=Rf):G=wb;if(G&&(G=G(t,T))){Af(M,G,l,z);break t}lt&&lt(t,A,T),t==="focusout"&&T&&A.type==="number"&&T.memoizedProps.value!=null&&Ar(A,"number",A.value)}switch(lt=T?cn(T):window,t){case"focusin":(Tf(lt)||lt.contentEditable==="true")&&(va=lt,Lr=T,bn=null);break;case"focusout":bn=Lr=va=null;break;case"mousedown":Yr=!0;break;case"contextmenu":case"mouseup":case"dragend":Yr=!1,Bf(M,l,z);break;case"selectionchange":if(Eb)break;case"keydown":case"keyup":Bf(M,l,z)}var Q;if(Cr)t:{switch(t){case"compositionstart":var J="onCompositionStart";break t;case"compositionend":J="onCompositionEnd";break t;case"compositionupdate":J="onCompositionUpdate";break t}J=void 0}else ba?Sf(t,l)&&(J="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(J="onCompositionStart");J&&(yf&&l.locale!=="ko"&&(ba||J!=="onCompositionStart"?J==="onCompositionEnd"&&ba&&(Q=pf()):(hl=z,Dr="value"in hl?hl.value:hl.textContent,ba=!0)),lt=wu(T,J),0<lt.length&&(J=new bf(J,t,null,l,z),M.push({event:J,listeners:lt}),Q?J.data=Q:(Q=Ef(l),Q!==null&&(J.data=Q)))),(Q=hb?pb(t,l):gb(t,l))&&(J=wu(T,"onBeforeInput"),0<J.length&&(lt=new bf("onBeforeInput","beforeinput",null,l,z),M.push({event:lt,listeners:J}),lt.data=Q)),iv(M,t,T,l,z)}ip(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=sn(t,l),n!=null&&a.unshift(Zn(t,n,u)),n=sn(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 rp(t,e,l,a,n){for(var u=e._reactName,f=[];l!==null&&l!==a;){var h=l,b=h.alternate,T=h.stateNode;if(h=h.tag,b!==null&&b===a)break;h!==5&&h!==26&&h!==27||T===null||(b=T,n?(T=sn(l,u),T!=null&&f.unshift(Zn(l,T,b))):n||(T=sn(l,u),T!=null&&f.push(Zn(l,T,b)))),l=l.return}f.length!==0&&t.push({event:e,listeners:f})}var sv=/\r\n?/g,ov=/\u0000|\uFFFD/g;function cp(t){return(typeof t=="string"?t:""+t).replace(sv,`
50
- `).replace(ov,"")}function sp(t,e){return e=cp(e),cp(t)===e}function xu(){}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":ff(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=zi(""+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=zi(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=xu);break;case"onScroll":a!=null&&nt("scroll",t);break;case"onScrollEnd":a!=null&&nt("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=zi(""+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":nt("beforetoggle",t),nt("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 os(t,e,l,a,n,u){switch(l){case"style":ff(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&&nt("scroll",t);break;case"onScrollEnd":a!=null&&nt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=xu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Io.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[re]||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 $t(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":nt("error",t),nt("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":nt("invalid",t);var h=u=f=n=null,b=null,T=null;for(a in l)if(l.hasOwnProperty(a)){var z=l[a];if(z!=null)switch(a){case"name":n=z;break;case"type":f=z;break;case"checked":b=z;break;case"defaultChecked":T=z;break;case"value":u=z;break;case"defaultValue":h=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,e));break;default:wt(t,e,a,z,l,null)}}rf(t,u,h,b,T,f,n,!1),ki(t);return;case"select":nt("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":nt("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)}sf(t,a,n,u),ki(t);return;case"option":for(b in l)if(l.hasOwnProperty(b)&&(a=l[b],a!=null))switch(b){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:wt(t,e,b,a,l,null)}return;case"dialog":nt("beforetoggle",t),nt("toggle",t),nt("cancel",t),nt("close",t);break;case"iframe":case"object":nt("load",t);break;case"video":case"audio":for(a=0;a<Qn.length;a++)nt(Qn[a],t);break;case"image":nt("error",t),nt("load",t);break;case"details":nt("toggle",t);break;case"embed":case"source":case"link":nt("error",t),nt("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(z in l)l.hasOwnProperty(z)&&(a=l[z],a!==void 0&&os(t,e,z,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,b=null,T=null,z=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":b=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":z=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,b,T,z,u,n);return;case"select":R=f=h=A=null;for(u in l)if(b=l[u],l.hasOwnProperty(u)&&b!=null)switch(u){case"value":break;case"multiple":R=b;default:a.hasOwnProperty(u)||wt(t,e,u,null,a,b)}for(n in a)if(u=a[n],b=l[n],a.hasOwnProperty(n)&&(u!=null||b!=null))switch(n){case"value":A=u;break;case"defaultValue":h=u;break;case"multiple":f=u;default:u!==b&&wt(t,e,n,u,a,b)}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(b in a)if(A=a[b],R=l[b],a.hasOwnProperty(b)&&A!==R&&(A!=null||R!=null))switch(b){case"selected":t.selected=A&&typeof A!="function"&&typeof A!="symbol";break;default:wt(t,e,b,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 V in l)A=l[V],l.hasOwnProperty(V)&&A!=null&&!a.hasOwnProperty(V)&&wt(t,e,V,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 xt in l)A=l[xt],l.hasOwnProperty(xt)&&A!==void 0&&!a.hasOwnProperty(xt)&&os(t,e,xt,void 0,a,A);for(z in a)A=a[z],R=l[z],!a.hasOwnProperty(z)||A===R||A===void 0&&R===void 0||os(t,e,z,A,a,R);return}}for(var S in l)A=l[S],l.hasOwnProperty(S)&&A!=null&&!a.hasOwnProperty(S)&&wt(t,e,S,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 fs=null,ds=null;function Su(t){return t.nodeType===9?t:t.ownerDocument}function op(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 fp(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 hs(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 ps=null;function dv(){var t=window.event;return t&&t.type==="popstate"?t===ps?!1:(ps=t,!0):(ps=null,!1)}var dp=typeof setTimeout=="function"?setTimeout:void 0,hv=typeof clearTimeout=="function"?clearTimeout:void 0,hp=typeof Promise=="function"?Promise:void 0,pv=typeof queueMicrotask=="function"?queueMicrotask:typeof hp<"u"?function(t){return hp.resolve(null).then(t).catch(gv)}:dp;function gv(t){setTimeout(function(){throw t})}function zl(t){return t==="head"}function pp(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,b=f.nodeName;f[rn]||b==="SCRIPT"||b==="STYLE"||b==="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 gs(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":gs(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=Be(t.nextSibling),t===null)break}return null}function bv(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Be(t.nextSibling),t===null))return null;return t}function ms(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 Be(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 bs=null;function gp(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 mp(t,e,l){switch(e=Su(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 De=new Map,bp=new Set;function Eu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var sl=q.d;q.d={f:yv,r:wv,D:xv,C:Sv,L:Ev,m:Tv,X:Rv,S:Av,M:kv};function yv(){var t=sl.f(),e=pu();return t||e}function wv(t){var e=sa(t);e!==null&&e.tag===5&&e.type==="form"?qd(e):sl.r(t)}var Xa=typeof document>"u"?null:document;function vp(t,e,l){var a=Xa;if(a&&typeof e=="string"&&e){var n=Te(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),bp.has(n)||(bp.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),$t(e,"link",t),Xt(e),a.head.appendChild(e)))}}function xv(t){sl.D(t),vp("dns-prefetch",t,null)}function Sv(t,e){sl.C(t,e),vp("preconnect",t,e)}function Ev(t,e,l){sl.L(t,e,l);var a=Xa;if(a&&t&&e){var n='link[rel="preload"][as="'+Te(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Te(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Te(l.imageSizes)+'"]')):n+='[href="'+Te(t)+'"]';var u=n;switch(e){case"style":u=Qa(t);break;case"script":u=Za(t)}De.has(u)||(t=k({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),De.set(u,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Kn(u))||e==="script"&&a.querySelector(Jn(u))||(e=a.createElement("link"),$t(e,"link",t),Xt(e),a.head.appendChild(e)))}}function Tv(t,e){sl.m(t,e);var l=Xa;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Te(a)+'"][href="'+Te(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Za(t)}if(!De.has(u)&&(t=k({rel:"modulepreload",href:t},e),De.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"),$t(a,"link",t),Xt(a),l.head.appendChild(a)}}}function Av(t,e,l){sl.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=k({rel:"stylesheet",href:t,"data-precedence":e},l),(l=De.get(u))&&vs(t,l);var b=f=a.createElement("link");Xt(b),$t(b,"link",t),b._p=new Promise(function(T,z){b.onload=T,b.onerror=z}),b.addEventListener("load",function(){h.loading|=1}),b.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){sl.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=k({src:t,async:!0},e),(e=De.get(n))&&ys(t,e),u=l.createElement("script"),Xt(u),$t(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function kv(t,e){sl.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=k({src:t,async:!0,type:"module"},e),(e=De.get(n))&&ys(t,e),u=l.createElement("script"),Xt(u),$t(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function yp(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),De.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},De.set(t,l),u||_v(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="'+Te(t)+'"'}function Kn(t){return'link[rel="stylesheet"]['+t+"]"}function wp(t){return k({},t,{"data-precedence":t.precedence,precedence:null})}function _v(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}),$t(e,"link",l),Xt(e),t.head.appendChild(e))}function Za(t){return'[src="'+Te(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~="'+Te(l.href)+'"]');if(a)return e.instance=a,Xt(a),a;var n=k({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Xt(a),$t(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,Xt(u),u;a=wp(l),(n=De.get(n))&&vs(a,n),u=(t.ownerDocument||t).createElement("link"),Xt(u);var f=u;return f._p=new Promise(function(h,b){f.onload=h,f.onerror=b}),$t(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,Xt(n),n):(a=l,(n=De.get(u))&&(a=k({},l),ys(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Xt(n),$t(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 vs(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function ys(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 Sp(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 Ep(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function zv(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 Tp(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var $n=null;function Ov(){}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,Xt(u);return}u=t.ownerDocument||t,l=wp(l),(n=De.get(n))&&vs(l,n),u=u.createElement("link"),Xt(u);var f=u;f._p=new Promise(function(h,b){f.onload=h,f.onerror=b}),$t(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&&ws(t,t.stylesheets),0<t.count?function(e){var l=setTimeout(function(){if(t.stylesheets&&ws(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)ws(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var ku=null;function ws(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,ku=new Map,e.forEach(Nv,t),ku=null,Ru.call(t))}function Nv(t,e){if(!(e.state.loading&4)){var l=ku.get(t);if(l)var a=l.get(null);else{l=new Map,ku.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:ut,Provider:null,Consumer:null,_currentValue:it,_currentValue2:it,_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 Ap(t,e,l,a,n,u,f,h,b,T,z,M){return t=new Uv(t,e,l,f,h,b,T,M),e=1,u===!0&&(e|=24),u=be(3,null,null,e),t.current=u,u.stateNode=t,e=ec(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:e},ic(u),t}function Rp(t){return t?(t=Sa,t):Sa}function kp(t,e,l,a,n,u){n=Rp(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=bl(t,a,e),l!==null&&(Se(l,t,e),Rn(l,t,e))}function _p(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function xs(t,e){_p(t,e),(t=t.alternate)&&_p(t,e)}function zp(t){if(t.tag===13){var e=xa(t,67108864);e!==null&&Se(e,t,67108864),xs(t,67108864)}}var _u=!0;function Bv(t,e,l,a){var n=B.T;B.T=null;var u=q.p;try{q.p=2,Ss(t,e,l,a)}finally{q.p=u,B.T=n}}function Cv(t,e,l,a){var n=B.T;B.T=null;var u=q.p;try{q.p=8,Ss(t,e,l,a)}finally{q.p=u,B.T=n}}function Ss(t,e,l,a){if(_u){var n=Es(a);if(n===null)ss(t,e,a,zu,l),Dp(t,a);else if(Hv(n,t,e,l,a))a.stopPropagation();else if(Dp(t,a),e&4&&-1<qv.indexOf(t)){for(;n!==null;){var u=sa(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 b=1<<31-ge(f);h.entanglements[1]|=b,f&=~b}Qe(u),(mt&6)===0&&(du=je()+500,Xn(0))}}break;case 13:h=xa(u,2),h!==null&&Se(h,u,2),pu(),xs(u,2)}if(u=Es(a),u===null&&ss(t,e,a,zu,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else ss(t,e,a,null,l)}}function Es(t){return t=_r(t),Ts(t)}var zu=null;function Ts(t){if(zu=null,t=ca(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 zu=t,null}function Op(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(Sm()){case Xo:return 2;case Qo:return 8;case xi:case Em:return 32;case Zo:return 268435456;default:return 32}default:return 32}}var As=!1,Ol=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 Dp(t,e){switch(t){case"focusin":case"focusout":Ol=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=sa(e),e!==null&&zp(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 Ol=In(Ol,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 Mp(t){var e=ca(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=xe();a=br(a);var n=xa(l,a);n!==null&&Se(n,l,a),xs(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 Ou(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Es(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);kr=a,l.target.dispatchEvent(a),kr=null}else return e=sa(l),e!==null&&zp(e),t.blockedOn=l,!1;e.shift()}return!0}function Np(t,e,l){Ou(t)&&l.delete(e)}function jv(){As=!1,Ol!==null&&Ou(Ol)&&(Ol=null),Dl!==null&&Ou(Dl)&&(Dl=null),Ml!==null&&Ou(Ml)&&(Ml=null),Fn.forEach(Np),Pn.forEach(Np)}function Du(t,e){t.blockedOn===e&&(t.blockedOn=null,As||(As=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,jv)))}var Mu=null;function Up(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(Ts(a||l)===null)continue;break}var u=sa(l);u!==null&&(t.splice(e,3),e-=3,Tc(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function ti(t){function e(b){return Du(b,t)}Ol!==null&&Du(Ol,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);)Mp(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[re]||null;if(typeof u=="function")f||Up(l);else if(f){var h=null;if(u&&u.hasAttribute("formAction")){if(n=u,f=u[re]||null)h=f.formAction;else if(Ts(n)!==null)continue}else h=f.action;typeof h=="function"?l[a+1]=h:(l.splice(a,3),a-=3),Up(l)}}}function Rs(t){this._internalRoot=t}Nu.prototype.render=Rs.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var l=e.current,a=xe();kp(l,a,t,e,null,null)},Nu.prototype.unmount=Rs.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;kp(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=Wo();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&&Mp(t)}};var Bp=c.version;if(Bp!=="19.1.0")throw Error(o(527,Bp,"19.1.0"));q.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),pe=Uu}catch{}}return Ka.createRoot=function(t,e){if(!d(t))throw Error(o(299));var l=!1,a="",n=Fd,u=Pd,f=Id,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=Ap(t,1,!1,null,null,l,a,n,u,f,h,null),t[ra]=e.current,cs(t),new Rs(e)},Ka.hydrateRoot=function(t,e,l){if(!d(t))throw Error(o(299));var a=!1,n="",u=Fd,f=Pd,h=Id,b=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&&(b=l.unstable_transitionCallbacks),l.formState!==void 0&&(T=l.formState)),e=Ap(t,1,!0,e,l??null,a,n,u,f,h,b,T),e.context=Rp(null),l=e.current,a=xe(),a=br(a),n=ml(a),n.callback=null,bl(l,n,a),l=a,e.current.lanes=l,un(e,l),Qe(e),t[ra]=e.current,cs(t),new Nu(e)},Ka.version="19.1.0",Ka}var Hs;function Zp(){if(Hs)return Cu.exports;Hs=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=Qp(),Cu.exports}var Vp=Zp();const Kp=na(Vp);var Lt=Lu();/**
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 rf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Ym(t){var e=rf(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 ki(t){t._valueTracker||(t._valueTracker=Ym(t))}function cf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=rf(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function _i(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 Gm=/[\n"\\]/g;function Ee(t){return t.replace(Gm,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"&&_i(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function pa(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 of(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 ff(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(o(92));if(q(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 ga(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Xm=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 df(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||Xm.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function hf(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&&df(t,n,a)}else for(var u in e)e.hasOwnProperty(u)&&df(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 Qm=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"]]),Zm=/^[\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 zi(t){return Zm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var kr=null;function _r(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ma=null,ba=null;function pf(t){var e=oa(t);if(e&&(t=e.stateNode)){var l=t[ie]||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="'+Ee(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[ie]||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&&cf(a)}break t;case"textarea":of(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&pa(t,!!l.multiple,e,!1)}}}var zr=!1;function gf(t,e,l){if(zr)return t(e,l);zr=!0;try{var a=t(e);return a}finally{if(zr=!1,(ma!==null||ba!==null)&&(pu(),ma&&(e=ma,t=ba,ba=ma=null,pf(e),t)))for(e=0;e<t.length;e++)pf(t[e])}}function sn(t,e){var l=t.stateNode;if(l===null)return null;var a=l[ie]||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 $e=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Or=!1;if($e)try{var on={};Object.defineProperty(on,"passive",{get:function(){Or=!0}}),window.addEventListener("test",on,on),window.removeEventListener("test",on,on)}catch{Or=!1}var hl=null,Dr=null,Oi=null;function mf(){if(Oi)return Oi;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 Oi=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 bf(){return!1}function ue(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:bf,this.isPropagationStopped=bf,this}return _(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=ue(Gl),fn=_({},Gl,{view:0,detail:0}),Vm=ue(fn),Mr,Nr,dn,Ui=_({},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}}),vf=ue(Ui),Km=_({},Ui,{dataTransfer:0}),Jm=ue(Km),$m=_({},fn,{relatedTarget:0}),Ur=ue($m),Wm=_({},Gl,{animationName:0,elapsedTime:0,pseudoElement:0}),Fm=ue(Wm),Pm=_({},Gl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Im=ue(Pm),tb=_({},Gl,{data:0}),yf=ue(tb),eb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lb={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"},ab={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nb(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=ab[t])?!!e[t]:!1}function Br(){return nb}var ib=_({},fn,{key:function(t){if(t.key){var e=eb[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"?lb[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}}),ub=ue(ib),rb=_({},Ui,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),wf=ue(rb),cb=_({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Br}),sb=ue(cb),ob=_({},Gl,{propertyName:0,elapsedTime:0,pseudoElement:0}),fb=ue(ob),db=_({},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}),hb=ue(db),pb=_({},Gl,{newState:0,oldState:0}),gb=ue(pb),mb=[9,13,27,32],Cr=$e&&"CompositionEvent"in window,hn=null;$e&&"documentMode"in document&&(hn=document.documentMode);var bb=$e&&"TextEvent"in window&&!hn,xf=$e&&(!Cr||hn&&8<hn&&11>=hn),Sf=" ",Ef=!1;function Tf(t,e){switch(t){case"keyup":return mb.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Af(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var va=!1;function vb(t,e){switch(t){case"compositionend":return Af(e);case"keypress":return e.which!==32?null:(Ef=!0,Sf);case"textInput":return t=e.data,t===Sf&&Ef?null:t;default:return null}}function yb(t,e){if(va)return t==="compositionend"||!Cr&&Tf(t,e)?(t=mf(),Oi=Dr=hl=null,va=!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 xf&&e.locale!=="ko"?null:e.data;default:return null}}var wb={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 Rf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!wb[t.type]:e==="textarea"}function kf(t,e,l,a){ma?ba?ba.push(a):ba=[a]:ma=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 xb(t){rp(t,0)}function Bi(t){var e=cn(t);if(cf(e))return t}function _f(t,e){if(t==="change")return e}var zf=!1;if($e){var qr;if($e){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 Df(){pn&&(pn.detachEvent("onpropertychange",Mf),gn=pn=null)}function Mf(t){if(t.propertyName==="value"&&Bi(gn)){var e=[];kf(e,gn,t,_r(t)),gf(xb,e)}}function Sb(t,e,l){t==="focusin"?(Df(),pn=e,gn=l,pn.attachEvent("onpropertychange",Mf)):t==="focusout"&&Df()}function Eb(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Bi(gn)}function Tb(t,e){if(t==="click")return Bi(e)}function Ab(t,e){if(t==="input"||t==="change")return Bi(e)}function Rb(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var pe=typeof Object.is=="function"?Object.is:Rb;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 Nf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Uf(t,e){var l=Nf(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=Nf(l)}}function Bf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Bf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Cf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=_i(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=_i(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 kb=$e&&"documentMode"in document&&11>=document.documentMode,ya=null,Lr=null,bn=null,Yr=!1;function qf(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Yr||ya==null||ya!==_i(a)||(a=ya,"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}),bn&&mn(bn,a)||(bn=a,a=wu(Lr,"onSelect"),0<a.length&&(e=new Ni("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=ya)))}function Xl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var wa={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={},Hf={};$e&&(Hf=document.createElement("div").style,"AnimationEvent"in window||(delete wa.animationend.animation,delete wa.animationiteration.animation,delete wa.animationstart.animation),"TransitionEvent"in window||delete wa.transitionend.transition);function Ql(t){if(Gr[t])return Gr[t];if(!wa[t])return t;var e=wa[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Hf)return Gr[t]=e[l];return t}var jf=Ql("animationend"),Lf=Ql("animationiteration"),Yf=Ql("animationstart"),_b=Ql("transitionrun"),zb=Ql("transitionstart"),Ob=Ql("transitioncancel"),Gf=Ql("transitionend"),Xf=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 Ne(t,e){Xf.set(t,e),Yl(e,[t])}var Qf=new WeakMap;function Te(t,e){if(typeof t=="object"&&t!==null){var l=Qf.get(t);return l!==void 0?l:(e={value:t,source:e,stack:uf(e)},Qf.set(t,e),e)}return{value:t,source:e,stack:uf(e)}}var Ae=[],xa=0,Qr=0;function Ci(){for(var t=xa,e=Qr=xa=0;e<t;){var l=Ae[e];Ae[e++]=null;var a=Ae[e];Ae[e++]=null;var n=Ae[e];Ae[e++]=null;var u=Ae[e];if(Ae[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&&Zf(l,n,u)}}function qi(t,e,l,a){Ae[xa++]=t,Ae[xa++]=e,Ae[xa++]=l,Ae[xa++]=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 Zf(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,Fc=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ea={};function Db(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 Db(t,e,l,a)}function Vr(t){return t=t.prototype,!(!t||!t.isReactComponent)}function We(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 Vf(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=Nv(t,l,$.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case xe:return t=ge(31,l,e,n),t.elementType=xe,t.lanes=u,t;case H:return Zl(l.children,n,u,e);case L:f=8,n|=24;break;case P:return t=ge(12,l,e,n|2),t.elementType=P,t.lanes=u,t;case V:return t=ge(13,l,e,n),t.elementType=V,t.lanes=u,t;case mt:return t=ge(19,l,e,n),t.elementType=mt,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 ht:f=11;break t;case Qt:f=14;break t;case Ut: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 Ta=[],Aa=0,Li=null,Yi=0,Re=[],ke=0,Vl=null,Fe=1,Pe="";function Kl(t,e){Ta[Aa++]=Yi,Ta[Aa++]=Li,Li=t,Yi=e}function Kf(t,e,l){Re[ke++]=Fe,Re[ke++]=Pe,Re[ke++]=Vl,Vl=t;var a=Fe;t=Pe;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,Fe=1<<32-he(e)+n|l<<n|a,Pe=u+t}else Fe=1<<u|l<<n|a,Pe=t}function $r(t){t.return!==null&&(Kl(t,1),Kf(t,1,0))}function Wr(t){for(;t===Li;)Li=Ta[--Aa],Ta[Aa]=null,Yi=Ta[--Aa],Ta[Aa]=null;for(;t===Vl;)Vl=Re[--ke],Re[ke]=null,Pe=Re[--ke],Re[ke]=null,Fe=Re[--ke],Re[ke]=null}var ee=null,Ot=null,ft=!1,Jl=null,Le=!1,Fr=Error(o(519));function $l(t){var e=Error(o(418,""));throw wn(Te(e,t)),Fr}function Jf(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[Wt]=t,e[ie]=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),ki(e);break;case"select":it("invalid",e);break;case"textarea":it("invalid",e),ff(e,a.value,a.defaultValue,a.children),ki(e)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||fp(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=xu),e=!0):e=!1,e||$l(t)}function $f(t){for(ee=t.return;ee;)switch(ee.tag){case 5:case 13:Le=!1;return;case 27:case 3:Le=!0;return;default:ee=ee.return}}function vn(t){if(t!==ee)return!1;if(!ft)return $f(t),ft=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||hs(t.type,t.memoizedProps)),l=!l),l&&Ot&&$l(t),$f(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){Ot=Be(t.nextSibling);break t}e--}else l!=="$"&&l!=="$!"&&l!=="$?"||e++;t=t.nextSibling}Ot=null}}else e===27?(e=Ot,zl(t.type)?(t=bs,bs=null,Ot=t):Ot=e):Ot=ee?Be(t.stateNode.nextSibling):null;return!0}function yn(){Ot=ee=null,ft=!1}function Wf(){var t=Jl;return t!==null&&(se===null?se=t:se.push.apply(se,t),Jl=null),t}function wn(t){Jl===null?Jl=[t]:Jl.push(t)}var Pr=B(null),Wl=null,Ie=null;function pl(t,e,l){j(Pr,e._currentValue),e._currentValue=l}function tl(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 tc(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 b=0;b<e.length;b++)if(h.context===e[b]){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 xn(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&&tc(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,Ie=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Ft(t){return Ff(Wl,t)}function Xi(t,e){return Wl===null&&Fl(t),Ff(t,e)}function Ff(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Ie===null){if(t===null)throw Error(o(308));Ie=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Ie=Ie.next=e;return l}var Mb=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()})}},Nb=i.unstable_scheduleCallback,Ub=i.unstable_NormalPriority,Ht={$$typeof:ct,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ec(){return{controller:new Mb,data:new Map,refCount:0}}function Sn(t){t.refCount--,t.refCount===0&&Nb(Ub,function(){t.controller.abort()})}var En=null,lc=0,Ra=0,ka=null;function Bb(t,e){if(En===null){var l=En=[];lc=0,Ra=ns(),ka={status:"pending",value:void 0,then:function(a){l.push(a)}}}return lc++,e.then(Pf,Pf),e}function Pf(){if(--lc===0&&En!==null){ka!==null&&(ka.status="fulfilled");var t=En;En=null,Ra=0,ka=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Cb(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 If=M.S;M.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&Bb(t,e),If!==null&&If(t,e)};var Pl=B(null);function ac(){var t=Pl.current;return t!==null?t:At.pooledCache}function Qi(t,e){e===null?j(Pl,Pl.current):j(Pl,e.pool)}function td(){var t=ac();return t===null?null:{parent:Ht._currentValue,pool:t}}var Tn=Error(o(460)),ed=Error(o(474)),Zi=Error(o(542)),nc={then:function(){}};function ld(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Vi(){}function ad(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,id(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,id(t),t}throw An=e,Tn}}var An=null;function nd(){if(An===null)throw Error(o(459));var t=An;return An=null,t}function id(t){if(t===Tn||t===Zi)throw Error(o(483))}var gl=!1;function ic(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uc(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 bl(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(bt&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),Zf(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,Fo(t,l)}}function rc(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 cc=!1;function kn(){if(cc){var t=ka;if(t!==null)throw t}}function _n(t,e,l,a){cc=!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 b=h,T=b.next;b.next=null,f===null?u=T:f.next=T,f=b;var z=t.alternate;z!==null&&(z=z.updateQueue,h=z.lastBaseUpdate,h!==f&&(h===null?z.firstBaseUpdate=T:h.next=T,z.lastBaseUpdate=b))}if(u!==null){var N=n.baseState;f=0,z=T=b=null,h=u;do{var A=h.lane&-536870913,R=A!==h.lane;if(R?(rt&A)===A:(a&A)===A){A!==0&&A===Ra&&(cc=!0),z!==null&&(z=z.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});t:{var W=t,K=h;A=e;var xt=l;switch(K.tag){case 1:if(W=K.payload,typeof W=="function"){N=W.call(xt,N,A);break t}N=W;break t;case 3:W.flags=W.flags&-65537|128;case 0:if(W=K.payload,A=typeof W=="function"?W.call(xt,N,A):W,A==null)break t;N=_({},N,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},z===null?(T=z=R,b=N):z=z.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);z===null&&(b=N),n.baseState=b,n.firstBaseUpdate=T,n.lastBaseUpdate=z,u===null&&(n.shared.lanes=0),Al|=f,t.lanes=f,t.memoizedState=N}}function ud(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function rd(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)ud(l[t],e)}var _a=B(null),Ki=B(0);function cd(t,e){t=rl,j(Ki,t),j(_a,e),rl=t|e.baseLanes}function sc(){j(Ki,rl),j(_a,_a.current)}function oc(){rl=Ki.current,Y(_a),Y(Ki)}var vl=0,lt=null,yt=null,Bt=null,Ji=!1,za=!1,Il=!1,$i=0,zn=0,Oa=null,qb=0;function Mt(){throw Error(o(321))}function fc(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 dc(t,e,l,a,n,u){return vl=u,lt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,M.H=t===null||t.memoizedState===null?Zd:Vd,Il=!1,u=l(a,n),Il=!1,za&&(u=od(e,l,a,n)),sd(t),u}function sd(t){M.H=eu;var e=yt!==null&&yt.next!==null;if(vl=0,Bt=yt=lt=null,Ji=!1,zn=0,Oa=null,e)throw Error(o(300));t===null||Yt||(t=t.dependencies,t!==null&&Gi(t)&&(Yt=!0))}function od(t,e,l,a){lt=t;var n=0;do{if(za&&(Oa=null),zn=0,za=!1,25<=n)throw Error(o(301));if(n+=1,Bt=yt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}M.H=Qb,u=e(l,a)}while(za);return u}function Hb(){var t=M.H,e=t.useState()[0];return e=typeof e.then=="function"?On(e):e,t=t.useState()[0],(yt!==null?yt.memoizedState:null)!==t&&(lt.flags|=1024),e}function hc(){var t=$i!==0;return $i=0,t}function pc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function gc(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,Bt=yt=lt=null,za=!1,zn=$i=0,Oa=null}function re(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Bt===null?lt.memoizedState=Bt=t:Bt=Bt.next=t,Bt}function Ct(){if(yt===null){var t=lt.alternate;t=t!==null?t.memoizedState:null}else t=yt.next;var e=Bt===null?lt.memoizedState:Bt.next;if(e!==null)Bt=e,yt=t;else{if(t===null)throw lt.alternate===null?Error(o(467)):Error(o(310));yt=t,t={memoizedState:yt.memoizedState,baseState:yt.baseState,baseQueue:yt.baseQueue,queue:yt.queue,next:null},Bt===null?lt.memoizedState=Bt=t:Bt=Bt.next=t}return Bt}function mc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function On(t){var e=zn;return zn+=1,Oa===null&&(Oa=[]),t=ad(Oa,t,e),e=lt,(Bt===null?e.memoizedState:Bt.next)===null&&(e=e.alternate,M.H=e===null||e.memoizedState===null?Zd:Vd),t}function Wi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return On(t);if(t.$$typeof===ct)return Ft(t)}throw Error(o(438,String(t)))}function bc(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=mc(),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]=Me;return e.index++,l}function el(t,e){return typeof e=="function"?e(t):e}function Fi(t){var e=Ct();return vc(e,yt,t)}function vc(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,b=null,T=e,z=!1;do{var N=T.lane&-536870913;if(N!==T.lane?(rt&N)===N:(vl&N)===N){var A=T.revertLane;if(A===0)b!==null&&(b=b.next={lane:0,revertLane:0,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),N===Ra&&(z=!0);else if((vl&A)===A){T=T.next,A===Ra&&(z=!0);continue}else N={lane:0,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},b===null?(h=b=N,f=u):b=b.next=N,lt.lanes|=A,Al|=A;N=T.action,Il&&l(u,N),u=T.hasEagerState?T.eagerState:l(u,N)}else A={lane:N,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},b===null?(h=b=A,f=u):b=b.next=A,lt.lanes|=N,Al|=N;T=T.next}while(T!==null&&T!==e);if(b===null?f=u:b.next=h,!pe(u,t.memoizedState)&&(Yt=!0,z&&(l=ka,l!==null)))throw l;t.memoizedState=u,t.baseState=f,t.baseQueue=b,a.lastRenderedState=u}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function yc(t){var e=Ct(),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)||(Yt=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,a]}function fd(t,e,l){var a=lt,n=Ct(),u=ft;if(u){if(l===void 0)throw Error(o(407));l=l()}else l=e();var f=!pe((yt||n).memoizedState,l);f&&(n.memoizedState=l,Yt=!0),n=n.queue;var h=pd.bind(null,a,n,t);if(Dn(2048,8,h,[t]),n.getSnapshot!==e||f||Bt!==null&&Bt.memoizedState.tag&1){if(a.flags|=2048,Da(9,Pi(),hd.bind(null,a,n,l,e),null),At===null)throw Error(o(349));u||(vl&124)!==0||dd(a,e,l)}return l}function dd(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=lt.updateQueue,e===null?(e=mc(),lt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function hd(t,e,l,a){e.value=l,e.getSnapshot=a,gd(e)&&md(t)}function pd(t,e,l){return l(function(){gd(e)&&md(t)})}function gd(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!pe(t,l)}catch{return!0}}function md(t){var e=Sa(t,2);e!==null&&we(e,t,2)}function wc(t){var e=re();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:el,lastRenderedState:t},e}function bd(t,e,l,a){return t.baseState=l,vc(t,yt,typeof a=="function"?a:el)}function jb(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)}};M.T!==null?l(!0):u.isTransition=!1,a(u),l=e.pending,l===null?(u.next=e.pending=u,vd(e,u)):(u.next=l.next,e.pending=l.next=u)}}function vd(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var u=M.T,f={};M.T=f;try{var h=l(n,a),b=M.S;b!==null&&b(f,h),yd(t,e,h)}catch(T){xc(t,e,T)}finally{M.T=u}}else try{u=l(n,a),yd(t,e,u)}catch(T){xc(t,e,T)}}function yd(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){wd(t,e,a)},function(a){return xc(t,e,a)}):wd(t,e,l)}function wd(t,e,l){e.status="fulfilled",e.value=l,xd(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,vd(t,l)))}function xc(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,xd(e),e=e.next;while(e!==a)}t.action=null}function xd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Sd(t,e){return e}function Ed(t,e){if(ft){var l=At.formState;if(l!==null){t:{var a=lt;if(ft){if(Ot){e:{for(var n=Ot,u=Le;n.nodeType!==8;){if(!u){n=null;break e}if(n=Be(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Ot=Be(n.nextSibling),a=n.data==="F!";break t}}$l(a)}a=!1}a&&(e=l[0])}}return l=re(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sd,lastRenderedState:e},l.queue=a,l=Gd.bind(null,lt,a),a.dispatch=l,a=wc(!1),u=Rc.bind(null,lt,!1,a.queue),a=re(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=jb.bind(null,lt,n,u,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Td(t){var e=Ct();return Ad(e,yt,t)}function Ad(t,e,l){if(e=vc(t,e,Sd)[0],t=Fi(el)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=On(e)}catch(f){throw f===Tn?Zi:f}else a=e;e=Ct();var n=e.queue,u=n.dispatch;return l!==e.memoizedState&&(lt.flags|=2048,Da(9,Pi(),Lb.bind(null,n,l),null)),[a,u,t]}function Lb(t,e){t.action=e}function Rd(t){var e=Ct(),l=yt;if(l!==null)return Ad(e,l,t);Ct(),e=e.memoizedState,l=Ct();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function Da(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=lt.updateQueue,e===null&&(e=mc(),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 kd(){return Ct().memoizedState}function Ii(t,e,l,a){var n=re();a=a===void 0?null:a,lt.flags|=t,n.memoizedState=Da(1|e,Pi(),l,a)}function Dn(t,e,l,a){var n=Ct();a=a===void 0?null:a;var u=n.memoizedState.inst;yt!==null&&a!==null&&fc(a,yt.memoizedState.deps)?n.memoizedState=Da(e,u,l,a):(lt.flags|=t,n.memoizedState=Da(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 Dd(t,e){return Dn(4,4,t,e)}function Md(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 Nd(t,e,l){l=l!=null?l.concat([t]):null,Dn(4,4,Md.bind(null,e,t),l)}function Sc(){}function Ud(t,e){var l=Ct();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&fc(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function Bd(t,e){var l=Ct();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&fc(e,a[1]))return a[0];if(a=t(),Il){fl(!0);try{t()}finally{fl(!1)}}return l.memoizedState=[a,e],a}function Ec(t,e,l){return l===void 0||(vl&1073741824)!==0?t.memoizedState=e:(t.memoizedState=l,t=Hh(),lt.lanes|=t,Al|=t,l)}function Cd(t,e,l,a){return pe(l,e)?l:_a.current!==null?(t=Ec(t,l,a),pe(t,e)||(Yt=!0),t):(vl&42)===0?(Yt=!0,t.memoizedState=l):(t=Hh(),lt.lanes|=t,Al|=t,e)}function qd(t,e,l,a,n){var u=C.p;C.p=u!==0&&8>u?u:8;var f=M.T,h={};M.T=h,Rc(t,!1,e,l);try{var b=n(),T=M.S;if(T!==null&&T(h,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var z=Cb(b,a);Mn(t,e,z,ye(t))}else Mn(t,e,a,ye(t))}catch(N){Mn(t,e,{then:function(){},status:"rejected",reason:N},ye())}finally{C.p=u,M.T=f}}function Yb(){}function Tc(t,e,l,a){if(t.tag!==5)throw Error(o(476));var n=Hd(t).queue;qd(t,n,e,et,l===null?Yb:function(){return jd(t),l(a)})}function Hd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:et,baseState:et,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:et},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function jd(t){var e=Hd(t).next.queue;Mn(t,e,{},ye())}function Ac(){return Ft(Wn)}function Ld(){return Ct().memoizedState}function Yd(){return Ct().memoizedState}function Gb(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=ye();t=ml(l);var a=bl(e,t,l);a!==null&&(we(a,e,l),Rn(a,e,l)),e={cache:ec()},t.payload=e;return}e=e.return}}function Xb(t,e,l){var a=ye();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},tu(t)?Xd(e,l):(l=Zr(t,e,l,a),l!==null&&(we(l,t,a),Qd(l,e,a)))}function Gd(t,e,l){var a=ye();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))Xd(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),Qd(l,e,a),!0}return!1}function Rc(t,e,l,a){if(a={lane:2,revertLane:ns(),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 Xd(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 Qd(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Fo(t,l)}}var eu={readContext:Ft,use:Wi,useCallback:Mt,useContext:Mt,useEffect:Mt,useImperativeHandle:Mt,useLayoutEffect:Mt,useInsertionEffect:Mt,useMemo:Mt,useReducer:Mt,useRef:Mt,useState:Mt,useDebugValue:Mt,useDeferredValue:Mt,useTransition:Mt,useSyncExternalStore:Mt,useId:Mt,useHostTransitionStatus:Mt,useFormState:Mt,useActionState:Mt,useOptimistic:Mt,useMemoCache:Mt,useCacheRefresh:Mt},Zd={readContext:Ft,use:Wi,useCallback:function(t,e){return re().memoizedState=[t,e===void 0?null:e],t},useContext:Ft,useEffect:_d,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Ii(4194308,4,Md.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=re();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=re();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=Xb.bind(null,lt,t),[a.memoizedState,t]},useRef:function(t){var e=re();return t={current:t},e.memoizedState=t},useState:function(t){t=wc(t);var e=t.queue,l=Gd.bind(null,lt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Sc,useDeferredValue:function(t,e){var l=re();return Ec(l,t,e)},useTransition:function(){var t=wc(!1);return t=qd.bind(null,lt,t.queue,!0,!1),re().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=lt,n=re();if(ft){if(l===void 0)throw Error(o(407));l=l()}else{if(l=e(),At===null)throw Error(o(349));(rt&124)!==0||dd(a,e,l)}n.memoizedState=l;var u={value:l,getSnapshot:e};return n.queue=u,_d(pd.bind(null,a,u,t),[t]),a.flags|=2048,Da(9,Pi(),hd.bind(null,a,u,l,e),null),l},useId:function(){var t=re(),e=At.identifierPrefix;if(ft){var l=Pe,a=Fe;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=qb++,e="«"+e+"r"+l.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Ac,useFormState:Ed,useActionState:Ed,useOptimistic:function(t){var e=re();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Rc.bind(null,lt,!0,l),l.dispatch=e,[t,e]},useMemoCache:bc,useCacheRefresh:function(){return re().memoizedState=Gb.bind(null,lt)}},Vd={readContext:Ft,use:Wi,useCallback:Ud,useContext:Ft,useEffect:zd,useImperativeHandle:Nd,useInsertionEffect:Od,useLayoutEffect:Dd,useMemo:Bd,useReducer:Fi,useRef:kd,useState:function(){return Fi(el)},useDebugValue:Sc,useDeferredValue:function(t,e){var l=Ct();return Cd(l,yt.memoizedState,t,e)},useTransition:function(){var t=Fi(el)[0],e=Ct().memoizedState;return[typeof t=="boolean"?t:On(t),e]},useSyncExternalStore:fd,useId:Ld,useHostTransitionStatus:Ac,useFormState:Td,useActionState:Td,useOptimistic:function(t,e){var l=Ct();return bd(l,yt,t,e)},useMemoCache:bc,useCacheRefresh:Yd},Qb={readContext:Ft,use:Wi,useCallback:Ud,useContext:Ft,useEffect:zd,useImperativeHandle:Nd,useInsertionEffect:Od,useLayoutEffect:Dd,useMemo:Bd,useReducer:yc,useRef:kd,useState:function(){return yc(el)},useDebugValue:Sc,useDeferredValue:function(t,e){var l=Ct();return yt===null?Ec(l,t,e):Cd(l,yt.memoizedState,t,e)},useTransition:function(){var t=yc(el)[0],e=Ct().memoizedState;return[typeof t=="boolean"?t:On(t),e]},useSyncExternalStore:fd,useId:Ld,useHostTransitionStatus:Ac,useFormState:Rd,useActionState:Rd,useOptimistic:function(t,e){var l=Ct();return yt!==null?bd(l,yt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:bc,useCacheRefresh:Yd},Ma=null,Nn=0;function lu(t){var e=Nn;return Nn+=1,Ma===null&&(Ma=[]),ad(Ma,t,e)}function Un(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function au(t,e){throw e.$$typeof===O?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Kd(t){var e=t._init;return e(t._payload)}function Jd(t){function e(S,y){if(t){var E=S.deletions;E===null?(S.deletions=[y],S.flags|=16):E.push(y)}}function l(S,y){if(!t)return null;for(;y!==null;)e(S,y),y=y.sibling;return null}function a(S){for(var y=new Map;S!==null;)S.key!==null?y.set(S.key,S):y.set(S.index,S),S=S.sibling;return y}function n(S,y){return S=We(S,y),S.index=0,S.sibling=null,S}function u(S,y,E){return S.index=E,t?(E=S.alternate,E!==null?(E=E.index,E<y?(S.flags|=67108866,y):E):(S.flags|=67108866,y)):(S.flags|=1048576,y)}function f(S){return t&&S.alternate===null&&(S.flags|=67108866),S}function h(S,y,E,D){return y===null||y.tag!==6?(y=Kr(E,S.mode,D),y.return=S,y):(y=n(y,E),y.return=S,y)}function b(S,y,E,D){var G=E.type;return G===H?z(S,y,E.props.children,D,E.key):y!==null&&(y.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===Ut&&Kd(G)===y.type)?(y=n(y,E.props),Un(y,E),y.return=S,y):(y=ji(E.type,E.key,E.props,null,S.mode,D),Un(y,E),y.return=S,y)}function T(S,y,E,D){return y===null||y.tag!==4||y.stateNode.containerInfo!==E.containerInfo||y.stateNode.implementation!==E.implementation?(y=Jr(E,S.mode,D),y.return=S,y):(y=n(y,E.children||[]),y.return=S,y)}function z(S,y,E,D,G){return y===null||y.tag!==7?(y=Zl(E,S.mode,D,G),y.return=S,y):(y=n(y,E),y.return=S,y)}function N(S,y,E){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return y=Kr(""+y,S.mode,E),y.return=S,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Z:return E=ji(y.type,y.key,y.props,null,S.mode,E),Un(E,y),E.return=S,E;case U:return y=Jr(y,S.mode,E),y.return=S,y;case Ut:var D=y._init;return y=D(y._payload),N(S,y,E)}if(q(y)||te(y))return y=Zl(y,S.mode,E,null),y.return=S,y;if(typeof y.then=="function")return N(S,lu(y),E);if(y.$$typeof===ct)return N(S,Xi(S,y),E);au(S,y)}return null}function A(S,y,E,D){var G=y!==null?y.key:null;if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return G!==null?null:h(S,y,""+E,D);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Z:return E.key===G?b(S,y,E,D):null;case U:return E.key===G?T(S,y,E,D):null;case Ut:return G=E._init,E=G(E._payload),A(S,y,E,D)}if(q(E)||te(E))return G!==null?null:z(S,y,E,D,null);if(typeof E.then=="function")return A(S,y,lu(E),D);if(E.$$typeof===ct)return A(S,y,Xi(S,E),D);au(S,E)}return null}function R(S,y,E,D,G){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return S=S.get(E)||null,h(y,S,""+D,G);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case Z:return S=S.get(D.key===null?E:D.key)||null,b(y,S,D,G);case U:return S=S.get(D.key===null?E:D.key)||null,T(y,S,D,G);case Ut:var at=D._init;return D=at(D._payload),R(S,y,E,D,G)}if(q(D)||te(D))return S=S.get(E)||null,z(y,S,D,G,null);if(typeof D.then=="function")return R(S,y,E,lu(D),G);if(D.$$typeof===ct)return R(S,y,E,Xi(y,D),G);au(y,D)}return null}function W(S,y,E,D){for(var G=null,at=null,Q=y,J=y=0,Xt=null;Q!==null&&J<E.length;J++){Q.index>J?(Xt=Q,Q=null):Xt=Q.sibling;var ot=A(S,Q,E[J],D);if(ot===null){Q===null&&(Q=Xt);break}t&&Q&&ot.alternate===null&&e(S,Q),y=u(ot,y,J),at===null?G=ot:at.sibling=ot,at=ot,Q=Xt}if(J===E.length)return l(S,Q),ft&&Kl(S,J),G;if(Q===null){for(;J<E.length;J++)Q=N(S,E[J],D),Q!==null&&(y=u(Q,y,J),at===null?G=Q:at.sibling=Q,at=Q);return ft&&Kl(S,J),G}for(Q=a(Q);J<E.length;J++)Xt=R(Q,S,J,E[J],D),Xt!==null&&(t&&Xt.alternate!==null&&Q.delete(Xt.key===null?J:Xt.key),y=u(Xt,y,J),at===null?G=Xt:at.sibling=Xt,at=Xt);return t&&Q.forEach(function(Ul){return e(S,Ul)}),ft&&Kl(S,J),G}function K(S,y,E,D){if(E==null)throw Error(o(151));for(var G=null,at=null,Q=y,J=y=0,Xt=null,ot=E.next();Q!==null&&!ot.done;J++,ot=E.next()){Q.index>J?(Xt=Q,Q=null):Xt=Q.sibling;var Ul=A(S,Q,ot.value,D);if(Ul===null){Q===null&&(Q=Xt);break}t&&Q&&Ul.alternate===null&&e(S,Q),y=u(Ul,y,J),at===null?G=Ul:at.sibling=Ul,at=Ul,Q=Xt}if(ot.done)return l(S,Q),ft&&Kl(S,J),G;if(Q===null){for(;!ot.done;J++,ot=E.next())ot=N(S,ot.value,D),ot!==null&&(y=u(ot,y,J),at===null?G=ot:at.sibling=ot,at=ot);return ft&&Kl(S,J),G}for(Q=a(Q);!ot.done;J++,ot=E.next())ot=R(Q,S,J,ot.value,D),ot!==null&&(t&&ot.alternate!==null&&Q.delete(ot.key===null?J:ot.key),y=u(ot,y,J),at===null?G=ot:at.sibling=ot,at=ot);return t&&Q.forEach(function(Zv){return e(S,Zv)}),ft&&Kl(S,J),G}function xt(S,y,E,D){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 Z:t:{for(var G=E.key;y!==null;){if(y.key===G){if(G=E.type,G===H){if(y.tag===7){l(S,y.sibling),D=n(y,E.props.children),D.return=S,S=D;break t}}else if(y.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===Ut&&Kd(G)===y.type){l(S,y.sibling),D=n(y,E.props),Un(D,E),D.return=S,S=D;break t}l(S,y);break}else e(S,y);y=y.sibling}E.type===H?(D=Zl(E.props.children,S.mode,D,E.key),D.return=S,S=D):(D=ji(E.type,E.key,E.props,null,S.mode,D),Un(D,E),D.return=S,S=D)}return f(S);case U:t:{for(G=E.key;y!==null;){if(y.key===G)if(y.tag===4&&y.stateNode.containerInfo===E.containerInfo&&y.stateNode.implementation===E.implementation){l(S,y.sibling),D=n(y,E.children||[]),D.return=S,S=D;break t}else{l(S,y);break}else e(S,y);y=y.sibling}D=Jr(E,S.mode,D),D.return=S,S=D}return f(S);case Ut:return G=E._init,E=G(E._payload),xt(S,y,E,D)}if(q(E))return W(S,y,E,D);if(te(E)){if(G=te(E),typeof G!="function")throw Error(o(150));return E=G.call(E),K(S,y,E,D)}if(typeof E.then=="function")return xt(S,y,lu(E),D);if(E.$$typeof===ct)return xt(S,y,Xi(S,E),D);au(S,E)}return typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint"?(E=""+E,y!==null&&y.tag===6?(l(S,y.sibling),D=n(y,E),D.return=S,S=D):(l(S,y),D=Kr(E,S.mode,D),D.return=S,S=D),f(S)):l(S,y)}return function(S,y,E,D){try{Nn=0;var G=xt(S,y,E,D);return Ma=null,G}catch(Q){if(Q===Tn||Q===Zi)throw Q;var at=ge(29,Q,null,S.mode);return at.lanes=D,at.return=S,at}finally{}}}var Na=Jd(!0),$d=Jd(!1),_e=B(null),Ye=null;function yl(t){var e=t.alternate;j(jt,jt.current&1),j(_e,t),Ye===null&&(e===null||_a.current!==null||e.memoizedState!==null)&&(Ye=t)}function Wd(t){if(t.tag===22){if(j(jt,jt.current),j(_e,t),Ye===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Ye=t)}}else wl()}function wl(){j(jt,jt.current),j(_e,_e.current)}function ll(t){Y(_e),Ye===t&&(Ye=null),Y(jt)}var jt=B(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==="$?"||ms(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 kc(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:_({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var _c={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=ye(),n=ml(a);n.payload=e,l!=null&&(n.callback=l),e=bl(t,n,a),e!==null&&(we(e,t,a),Rn(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=ye(),n=ml(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=bl(t,n,a),e!==null&&(we(e,t,a),Rn(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=ye(),a=ml(l);a.tag=2,e!=null&&(a.callback=e),e=bl(t,a,l),e!==null&&(we(e,t,l),Rn(e,t,l))}};function Fd(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 Pd(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&&_c.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=_({},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 Id(t){iu(t)}function th(t){console.error(t)}function eh(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 lh(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 zc(t,e,l){return l=ml(l),l.tag=3,l.payload={element:null},l.callback=function(){uu(t,e)},l}function ah(t){return t=ml(t),t.tag=3,t}function nh(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(){lh(e,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){lh(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 Zb(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&xn(e,l,n,!0),l=_e.current,l!==null){switch(l.tag){case 13:return Ye===null?Ic():l.alternate===null&&Dt===0&&(Dt=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===nc?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),es(t,a,n)),!1;case 22:return l.flags|=65536,a===nc?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)),es(t,a,n)),!1}throw Error(o(435,l.tag))}return es(t,a,n),Ic(),!1}if(ft)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(Te(t,l)))):(a!==Fr&&(e=Error(o(423),{cause:a}),wn(Te(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=Te(a,l),n=zc(t.stateNode,a,n),rc(t,n),Dt!==4&&(Dt=2)),!1;var u=Error(o(520),{cause:a});if(u=Te(u,l),Yn===null?Yn=[u]:Yn.push(u),Dt!==4&&(Dt=2),e===null)return!0;a=Te(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=zc(l.stateNode,a,t),rc(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=ah(n),nh(n,t,l,a),rc(l,n),!1}l=l.return}while(l!==null);return!1}var ih=Error(o(461)),Yt=!1;function Zt(t,e,l,a){e.child=t===null?$d(e,null,l,a):Na(e,t.child,l,a)}function uh(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=dc(t,e,l,f,u,n),h=hc(),t!==null&&!Yt?(pc(t,e,n),al(t,e,n)):(ft&&h&&$r(e),e.flags|=1,Zt(t,e,a,n),e.child)}function rh(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,ch(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,!qc(t,n)){var f=u.memoizedProps;if(l=l.compare,l=l!==null?l:mn,l(f,a)&&t.ref===e.ref)return al(t,e,n)}return e.flags|=1,t=We(u,a),t.ref=e.ref,t.return=e,e.child=t}function ch(t,e,l,a,n){if(t!==null){var u=t.memoizedProps;if(mn(u,a)&&t.ref===e.ref)if(Yt=!1,e.pendingProps=a=u,qc(t,n))(t.flags&131072)!==0&&(Yt=!0);else return e.lanes=t.lanes,al(t,e,n)}return Oc(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 oh(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?cd(e,u):sc(),Wd(e);else return e.lanes=e.childLanes=536870912,oh(t,e,u!==null?u.baseLanes|l:l,l)}else u!==null?(Qi(e,u.cachePool),cd(e,u),wl(),e.memoizedState=null):(t!==null&&Qi(e,null),sc(),wl());return Zt(t,e,n,l),e.child}function oh(t,e,l,a){var n=ac();return n=n===null?null:{parent:Ht._currentValue,pool:n},e.memoizedState={baseLanes:l,cachePool:n},t!==null&&Qi(e,null),sc(),Wd(e),t!==null&&xn(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 Oc(t,e,l,a,n){return Fl(e),l=dc(t,e,l,a,void 0,n),a=hc(),t!==null&&!Yt?(pc(t,e,n),al(t,e,n)):(ft&&a&&$r(e),e.flags|=1,Zt(t,e,l,n),e.child)}function fh(t,e,l,a,n,u){return Fl(e),e.updateQueue=null,l=od(e,a,l,n),sd(t),a=hc(),t!==null&&!Yt?(pc(t,e,u),al(t,e,u)):(ft&&a&&$r(e),e.flags|=1,Zt(t,e,l,u),e.child)}function dh(t,e,l,a,n){if(Fl(e),e.stateNode===null){var u=Ea,f=l.contextType;typeof f=="object"&&f!==null&&(u=Ft(f)),u=new l(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=_c,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},ic(e),f=l.contextType,u.context=typeof f=="object"&&f!==null?Ft(f):Ea,u.state=e.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(kc(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&&_c.enqueueReplaceState(u,u.state,null),_n(e,a,u,n),kn(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){u=e.stateNode;var h=e.memoizedProps,b=ta(l,h);u.props=b;var T=u.context,z=l.contextType;f=Ea,typeof z=="object"&&z!==null&&(f=Ft(z));var N=l.getDerivedStateFromProps;z=typeof N=="function"||typeof u.getSnapshotBeforeUpdate=="function",h=e.pendingProps!==h,z||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h||T!==f)&&Pd(e,u,a,f),gl=!1;var A=e.memoizedState;u.state=A,_n(e,a,u,n),kn(),T=e.memoizedState,h||A!==T||gl?(typeof N=="function"&&(kc(e,l,N,a),T=e.memoizedState),(b=gl||Fd(e,l,b,a,A,T,f))?(z||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=b):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{u=e.stateNode,uc(t,e),f=e.memoizedProps,z=ta(l,f),u.props=z,N=e.pendingProps,A=u.context,T=l.contextType,b=Ea,typeof T=="object"&&T!==null&&(b=Ft(T)),h=l.getDerivedStateFromProps,(T=typeof h=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==N||A!==b)&&Pd(e,u,a,b),gl=!1,A=e.memoizedState,u.state=A,_n(e,a,u,n),kn();var R=e.memoizedState;f!==N||A!==R||gl||t!==null&&t.dependencies!==null&&Gi(t.dependencies)?(typeof h=="function"&&(kc(e,l,h,a),R=e.memoizedState),(z=gl||Fd(e,l,z,a,A,R,b)||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,b),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,R,b)),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=b,a=z):(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=Na(e,t.child,null,n),e.child=Na(e,null,l,n)):Zt(t,e,l,n),e.memoizedState=u.state,t=e.child):t=al(t,e,n),t}function hh(t,e,l,a){return yn(),e.flags|=256,Zt(t,e,l,a),e.child}var Dc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Mc(t){return{baseLanes:t,cachePool:td()}}function Nc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=ze),t}function ph(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(ft){if(n?yl(e):wl(),ft){var h=Ot,b;if(b=h){t:{for(b=h,h=Le;b.nodeType!==8;){if(!h){h=null;break t}if(b=Be(b.nextSibling),b===null){h=null;break t}}h=b}h!==null?(e.memoizedState={dehydrated:h,treeContext:Vl!==null?{id:Fe,overflow:Pe}:null,retryLane:536870912,hydrationErrors:null},b=ge(18,null,null,0),b.stateNode=h,b.return=e,e.child=b,ee=e,Ot=null,b=!0):b=!1}b||$l(e)}if(h=e.memoizedState,h!==null&&(h=h.dehydrated,h!==null))return ms(h)?e.lanes=32:e.lanes=536870912,null;ll(e)}return h=a.children,a=a.fallback,n?(wl(),n=e.mode,h=cu({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=Mc(l),n.childLanes=Nc(t,f,l),e.memoizedState=Dc,a):(yl(e),Uc(e,h))}if(b=t.memoizedState,b!==null&&(h=b.dehydrated,h!==null)){if(u)e.flags&256?(yl(e),e.flags&=-257,e=Bc(t,e,l)):e.memoizedState!==null?(wl(),e.child=t.child,e.flags|=128,e=null):(wl(),n=a.fallback,h=e.mode,a=cu({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,Na(e,t.child,null,l),a=e.child,a.memoizedState=Mc(l),a.childLanes=Nc(t,f,l),e.memoizedState=Dc,e=n);else if(yl(e),ms(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=Bc(t,e,l)}else if(Yt||xn(t,e,l,!1),f=(l&t.childLanes)!==0,Yt||f){if(f=At,f!==null&&(a=l&-l,a=(a&42)!==0?1:br(a),a=(a&(f.suspendedLanes|l))!==0?0:a,a!==0&&a!==b.retryLane))throw b.retryLane=a,Sa(t,a),we(f,t,a),ih;h.data==="$?"||Ic(),e=Bc(t,e,l)}else h.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=b.treeContext,Ot=Be(h.nextSibling),ee=e,ft=!0,Jl=null,Le=!1,t!==null&&(Re[ke++]=Fe,Re[ke++]=Pe,Re[ke++]=Vl,Fe=t.id,Pe=t.overflow,Vl=e),e=Uc(e,a.children),e.flags|=4096);return e}return n?(wl(),n=a.fallback,h=e.mode,b=t.child,T=b.sibling,a=We(b,{mode:"hidden",children:a.children}),a.subtreeFlags=b.subtreeFlags&65011712,T!==null?n=We(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=Mc(l):(b=h.cachePool,b!==null?(T=Ht._currentValue,b=b.parent!==T?{parent:T,pool:T}:b):b=td(),h={baseLanes:h.baseLanes|l,cachePool:b}),n.memoizedState=h,n.childLanes=Nc(t,f,l),e.memoizedState=Dc,a):(yl(e),l=t.child,t=l.sibling,l=We(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 Uc(t,e){return e=cu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function cu(t,e){return t=ge(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Bc(t,e,l){return Na(e,t.child,null,l),t=Uc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function gh(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Ir(t.return,e,l)}function Cc(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 mh(t,e,l){var a=e.pendingProps,n=a.revealOrder,u=a.tail;if(Zt(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&&gh(t,l,e);else if(t.tag===19)gh(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(j(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),Cc(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}Cc(e,!0,l,null,u);break;case"together":Cc(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function al(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),Al|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(xn(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=We(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=We(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function qc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Gi(t)))}function Vb(t,e,l){switch(e.tag){case 3:Rt(e,e.stateNode.containerInfo),pl(e,Ht,t.memoizedState.cache),yn();break;case 27:case 5:dr(e);break;case 4:Rt(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?(yl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?ph(t,e,l):(yl(e),t=al(t,e,l),t!==null?t.sibling:null);yl(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(xn(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return mh(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),j(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 al(t,e,l)}function bh(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Yt=!0;else{if(!qc(t,l)&&(e.flags&128)===0)return Yt=!1,Vb(t,e,l);Yt=(t.flags&131072)!==0}else Yt=!1,ft&&(e.flags&1048576)!==0&&Kf(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=dh(null,e,a,t,l)):(e.tag=0,e=Oc(null,e,a,t,l));else{if(a!=null){if(n=a.$$typeof,n===ht){e.tag=11,e=uh(null,e,a,t,l);break t}else if(n===Qt){e.tag=14,e=rh(null,e,a,t,l);break t}}throw e=oe(a)||a,Error(o(306,e,""))}}return e;case 0:return Oc(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=ta(a,e.pendingProps),dh(t,e,a,n,l);case 3:t:{if(Rt(e,e.stateNode.containerInfo),t===null)throw Error(o(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,uc(t,e),_n(e,a,null,l);var f=e.memoizedState;if(a=f.cache,pl(e,Ht,a),a!==u.cache&&tc(e,[Ht],l,!0),kn(),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=hh(t,e,a,l);break t}else if(a!==n){n=Te(Error(o(424)),e),wn(n),e=hh(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(Ot=Be(t.firstChild),ee=e,ft=!0,Jl=null,Le=!0,l=$d(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(yn(),a===n){e=al(t,e,l);break t}Zt(t,e,a,l)}e=e.child}return e;case 26:return ru(t,e),t===null?(l=xp(e.type,null,e.pendingProps,null))?e.memoizedState=l:ft||(l=e.type,t=e.pendingProps,a=Su(F.current).createElement(l),a[Wt]=e,a[ie]=t,Kt(a,l,t),Lt(a),e.stateNode=a):e.memoizedState=xp(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return dr(e),t===null&&ft&&(a=e.stateNode=vp(e.type,e.pendingProps,F.current),ee=e,Le=!0,n=Ot,zl(e.type)?(bs=n,Ot=Be(a.firstChild)):Ot=n),Zt(t,e,e.pendingProps.children,l),ru(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&ft&&((n=a=Ot)&&(a=wv(a,e.type,e.pendingProps,Le),a!==null?(e.stateNode=a,ee=e,Ot=Be(a.firstChild),Le=!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,hs(n,u)?a=null:f!==null&&hs(n,f)&&(e.flags|=32),e.memoizedState!==null&&(n=dc(t,e,Hb,null,null,l),Wn._currentValue=n),ru(t,e),Zt(t,e,a,l),e.child;case 6:return t===null&&ft&&((t=l=Ot)&&(l=xv(l,e.pendingProps,Le),l!==null?(e.stateNode=l,ee=e,Ot=null,t=!0):t=!1),t||$l(e)),null;case 13:return ph(t,e,l);case 4:return Rt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=Na(e,null,a,l):Zt(t,e,a,l),e.child;case 11:return uh(t,e,e.type,e.pendingProps,l);case 7:return Zt(t,e,e.pendingProps,l),e.child;case 8:return Zt(t,e,e.pendingProps.children,l),e.child;case 12:return Zt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,pl(e,e.type,a.value),Zt(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,Fl(e),n=Ft(n),a=a(n),e.flags|=1,Zt(t,e,a,l),e.child;case 14:return rh(t,e,e.type,e.pendingProps,l);case 15:return ch(t,e,e.type,e.pendingProps,l);case 19:return mh(t,e,l);case 31:return a=e.pendingProps,l=e.mode,a={mode:a.mode,children:a.children},t===null?(l=cu(a,l),l.ref=e.ref,e.child=l,l.return=e,e=l):(l=We(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=Ft(Ht),t===null?(n=ac(),n===null&&(n=At,u=ec(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),e.memoizedState={parent:a,cache:n},ic(e),pl(e,Ht,n)):((t.lanes&l)!==0&&(uc(t,e),_n(e,null,null,l),kn()),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&&tc(e,[Ht],l,!0))),Zt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function nl(t){t.flags|=4}function vh(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Rp(e)){if(e=_e.current,e!==null&&((rt&4194048)===rt?Ye!==null:(rt&62914560)!==rt&&(rt&536870912)===0||e!==Ye))throw An=nc,ed;t.flags|=8192}}function su(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?$o():536870912,t.lanes|=e,qa|=e)}function Bn(t,e){if(!ft)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 _t(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 Kb(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 _t(e),null;case 1:return _t(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),tl(Ht),ol(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(vn(e)?nl(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Wf())),_t(e),null;case 26:return l=e.memoizedState,t===null?(nl(e),l!==null?(_t(e),vh(e,l)):(_t(e),e.flags&=-16777217)):l?l!==t.memoizedState?(nl(e),_t(e),vh(e,l)):(_t(e),e.flags&=-16777217):(t.memoizedProps!==a&&nl(e),_t(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&&nl(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return _t(e),null}t=$.current,vn(e)?Jf(e):(t=vp(n,a,l),e.stateNode=t,nl(e))}return _t(e),null;case 5:if(wi(e),l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&nl(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return _t(e),null}if(t=$.current,vn(e))Jf(e);else{switch(n=Su(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[Wt]=e,t[ie]=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(Kt(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&&nl(e)}}return _t(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&nl(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=ee,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[Wt]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||fp(t.nodeValue,l)),t||$l(e)}else t=Su(t).createTextNode(a),t[Wt]=e,e.stateNode=t}return _t(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[Wt]=e}else yn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;_t(e),n=!1}else n=Wf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(ll(e),e):(ll(e),null)}if(ll(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),su(e,e.updateQueue),_t(e),null;case 4:return ol(),t===null&&cs(e.stateNode.containerInfo),_t(e),null;case 10:return tl(e.type),_t(e),null;case 19:if(Y(jt),n=e.memoizedState,n===null)return _t(e),null;if(a=(e.flags&128)!==0,u=n.rendering,u===null)if(a)Bn(n,!1);else{if(Dt!==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,su(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Vf(l,t),l=l.sibling;return j(jt,jt.current&1|2),e.child}t=t.sibling}n.tail!==null&&je()>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,su(e,t),Bn(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!ft)return _t(e),null}else 2*je()-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=je(),e.sibling=null,t=jt.current,j(jt,a?t&1|2:t&1),e):(_t(e),null);case 22:case 23:return ll(e),oc(),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&&(_t(e),e.subtreeFlags&6&&(e.flags|=8192)):_t(e),l=e.updateQueue,l!==null&&su(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),tl(Ht),_t(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function Jb(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 tl(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(ll(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));yn()}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 tl(e.type),null;case 22:case 23:return ll(e),oc(),t!==null&&Y(Pl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return tl(Ht),null;case 25:return null;default:return null}}function yh(t,e){switch(Wr(e),e.tag){case 3:tl(Ht),ol();break;case 26:case 27:case 5:wi(e);break;case 4:ol();break;case 13:ll(e);break;case 19:Y(jt);break;case 10:tl(e.type);break;case 22:case 23:ll(e),oc(),t!==null&&Y(Pl);break;case 24:tl(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 xl(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 b=l,T=h;try{T()}catch(z){Et(n,b,z)}}}a=a.next}while(a!==u)}}catch(z){Et(e,e.return,z)}}function wh(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{rd(e,l)}catch(a){Et(t,t.return,a)}}}function xh(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 Ge(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 Hc(t,e,l){try{var a=t.stateNode;gv(a,t.type,l,e),a[ie]=e}catch(n){Et(t,t.return,n)}}function Eh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&zl(t.type)||t.tag===4}function jc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Eh(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&&zl(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 Lc(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=xu));else if(a!==4&&(a===27&&zl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Lc(t,e,l),t=t.sibling;t!==null;)Lc(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&&zl(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 Th(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Kt(e,a,l),e[Wt]=t,e[ie]=l}catch(u){Et(t,t.return,u)}}var il=!1,Nt=!1,Yc=!1,Ah=typeof WeakSet=="function"?WeakSet:Set,Gt=null;function $b(t,e){if(t=t.containerInfo,fs=_u,t=Cf(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,b=-1,T=0,z=0,N=t,A=null;e:for(;;){for(var R;N!==l||n!==0&&N.nodeType!==3||(h=f+n),N!==u||a!==0&&N.nodeType!==3||(b=f+a),N.nodeType===3&&(f+=N.nodeValue.length),(R=N.firstChild)!==null;)A=N,N=R;for(;;){if(N===t)break e;if(A===l&&++T===n&&(h=f),A===u&&++z===a&&(b=f),(R=N.nextSibling)!==null)break;N=A,A=N.parentNode}N=R}l=h===-1||b===-1?null:{start:h,end:b}}else l=null}l=l||{start:0,end:0}}else l=null;for(ds={focusedElem:t,selectionRange:l},_u=!1,Gt=e;Gt!==null;)if(e=Gt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Gt=t;else for(;Gt!==null;){switch(e=Gt,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(K){Et(l,l.return,K)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)gs(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":gs(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,Gt=t;break}Gt=e.return}}function Rh(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:Sl(t,l),a&4&&Cn(5,l);break;case 1:if(Sl(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&&wh(l),a&512&&qn(l,l.return);break;case 3:if(Sl(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{rd(t,e)}catch(f){Et(l,l.return,f)}}break;case 27:e===null&&a&4&&Th(l);case 26:case 5:Sl(t,l),e===null&&a&4&&Sh(l),a&512&&qn(l,l.return);break;case 12:Sl(t,l);break;case 13:Sl(t,l),a&4&&zh(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=nv.bind(null,l),Sv(t,l))));break;case 22:if(a=l.memoizedState!==null||il,!a){e=e!==null&&e.memoizedState!==null||Nt,n=il;var u=Nt;il=a,(Nt=e)&&!u?El(t,l,(l.subtreeFlags&8772)!==0):Sl(t,l),il=n,Nt=u}break;case 30:break;default:Sl(t,l)}}function kh(t){var e=t.alternate;e!==null&&(t.alternate=null,kh(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 kt=null,ce=!1;function ul(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:Nt||Ge(l,e),ul(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Nt||Ge(l,e);var a=kt,n=ce;zl(l.type)&&(kt=l.stateNode,ce=!1),ul(t,e,l),Vn(l.stateNode),kt=a,ce=n;break;case 5:Nt||Ge(l,e);case 6:if(a=kt,n=ce,kt=null,ul(t,e,l),kt=a,ce=n,kt!==null)if(ce)try{(kt.nodeType===9?kt.body:kt.nodeName==="HTML"?kt.ownerDocument.body:kt).removeChild(l.stateNode)}catch(u){Et(l,e,u)}else try{kt.removeChild(l.stateNode)}catch(u){Et(l,e,u)}break;case 18:kt!==null&&(ce?(t=kt,mp(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),ti(t)):mp(kt,l.stateNode));break;case 4:a=kt,n=ce,kt=l.stateNode.containerInfo,ce=!0,ul(t,e,l),kt=a,ce=n;break;case 0:case 11:case 14:case 15:Nt||xl(2,l,e),Nt||xl(4,l,e),ul(t,e,l);break;case 1:Nt||(Ge(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&xh(l,e,a)),ul(t,e,l);break;case 21:ul(t,e,l);break;case 22:Nt=(a=Nt)||l.memoizedState!==null,ul(t,e,l),Nt=a;break;default:ul(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 Wb(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Ah),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Ah),e;default:throw Error(o(435,t.tag))}}function Gc(t,e){var l=Wb(t);e.forEach(function(a){var n=iv.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(zl(h.type)){kt=h.stateNode,ce=!1;break t}break;case 5:kt=h.stateNode,ce=!1;break t;case 3:case 4:kt=h.stateNode.containerInfo,ce=!0;break t}h=h.return}if(kt===null)throw Error(o(160));_h(u,f,n),kt=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 Ue=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),be(t),a&4&&(xl(3,t,t.return),Cn(3,t),xl(5,t,t.return));break;case 1:me(e,t),be(t),a&512&&(Nt||l===null||Ge(l,l.return)),a&64&&il&&(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=Ue;if(me(e,t),be(t),a&512&&(Nt||l===null||Ge(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[Wt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Kt(u,a,l),u[Wt]=t,Lt(u),a=u;break t;case"link":var f=Tp("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),Kt(u,a,l),n.head.appendChild(u);break;case"meta":if(f=Tp("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),Kt(u,a,l),n.head.appendChild(u);break;default:throw Error(o(468,a))}u[Wt]=t,Lt(u),a=u}t.stateNode=a}else Ap(n,t.type,t.stateNode);else t.stateNode=Ep(n,a,t.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?Ap(n,t.type,t.stateNode):Ep(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Hc(t,t.memoizedProps,l.memoizedProps)}break;case 27:me(e,t),be(t),a&512&&(Nt||l===null||Ge(l,l.return)),l!==null&&a&4&&Hc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(me(e,t),be(t),a&512&&(Nt||l===null||Ge(l,l.return)),t.flags&32){n=t.stateNode;try{ga(n,"")}catch(R){Et(t,t.return,R)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,Hc(t,n,l!==null?l.memoizedProps:n)),a&1024&&(Yc=!0);break;case 6:if(me(e,t),be(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=Ue,Ue=Eu(e.containerInfo),me(e,t),Ue=n,be(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{ti(e.containerInfo)}catch(R){Et(t,t.return,R)}Yc&&(Yc=!1,Dh(t));break;case 4:a=Ue,Ue=Eu(t.stateNode.containerInfo),me(e,t),be(t),Ue=a;break;case 12:me(e,t),be(t);break;case 13:me(e,t),be(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Jc=je()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Gc(t,a)));break;case 22:n=t.memoizedState!==null;var b=l!==null&&l.memoizedState!==null,T=il,z=Nt;if(il=T||n,Nt=z||b,me(e,t),Nt=z,il=T,be(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||b||il||Nt||ea(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){b=l=e;try{if(u=b.stateNode,n)f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{h=b.stateNode;var N=b.memoizedProps.style,A=N!=null&&N.hasOwnProperty("display")?N.display:null;h.style.display=A==null||typeof A=="boolean"?"":(""+A).trim()}}catch(R){Et(b,b.return,R)}}}else if(e.tag===6){if(l===null){b=e;try{b.stateNode.nodeValue=n?"":b.memoizedProps}catch(R){Et(b,b.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,Gc(t,l))));break;case 19:me(e,t),be(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Gc(t,a)));break;case 30:break;case 21:break;default:me(e,t),be(t)}}function be(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(Eh(a)){l=a;break}a=a.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var n=l.stateNode,u=jc(t);ou(t,u,n);break;case 5:var f=l.stateNode;l.flags&32&&(ga(f,""),l.flags&=-33);var h=jc(t);ou(t,h,f);break;case 3:case 4:var b=l.stateNode.containerInfo,T=jc(t);Lc(t,T,b);break;default:throw Error(o(161))}}catch(z){Et(t,t.return,z)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Dh(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Dh(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Sl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Rh(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:xl(4,e,e.return),ea(e);break;case 1:Ge(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&xh(e,e.return,l),ea(e);break;case 27:Vn(e.stateNode);case 26:case 5:Ge(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 b=n.shared.hiddenCallbacks;if(b!==null)for(n.shared.hiddenCallbacks=null,n=0;n<b.length;n++)ud(b[n],h)}catch(T){Et(a,a.return,T)}}l&&f&64&&wh(u),qn(u,u.return);break;case 27:Th(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 Xc(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&&Sn(l))}function Qc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Sn(t))}function Xe(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Mh(t,e,l,a),e=e.sibling}function Mh(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Xe(t,e,l,a),n&2048&&Cn(9,e);break;case 1:Xe(t,e,l,a);break;case 3:Xe(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&&Sn(t)));break;case 12:if(n&2048){Xe(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(b){Et(e,e.return,b)}}else Xe(t,e,l,a);break;case 13:Xe(t,e,l,a);break;case 23:break;case 22:u=e.stateNode,f=e.alternate,e.memoizedState!==null?u._visibility&2?Xe(t,e,l,a):Hn(t,e):u._visibility&2?Xe(t,e,l,a):(u._visibility|=2,Ua(t,e,l,a,(e.subtreeFlags&10256)!==0)),n&2048&&Xc(f,e);break;case 24:Xe(t,e,l,a),n&2048&&Qc(e.alternate,e);break;default:Xe(t,e,l,a)}}function Ua(t,e,l,a,n){for(n=n&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var u=t,f=e,h=l,b=a,T=f.flags;switch(f.tag){case 0:case 11:case 15:Ua(u,f,h,b,n),Cn(8,f);break;case 23:break;case 22:var z=f.stateNode;f.memoizedState!==null?z._visibility&2?Ua(u,f,h,b,n):Hn(u,f):(z._visibility|=2,Ua(u,f,h,b,n)),n&&T&2048&&Xc(f.alternate,f);break;case 24:Ua(u,f,h,b,n),n&&T&2048&&Qc(f.alternate,f);break;default:Ua(u,f,h,b,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&&Xc(a.alternate,a);break;case 24:Hn(l,a),n&2048&&Qc(a.alternate,a);break;default:Hn(l,a)}e=e.sibling}}var jn=8192;function Ba(t){if(t.subtreeFlags&jn)for(t=t.child;t!==null;)Nh(t),t=t.sibling}function Nh(t){switch(t.tag){case 26:Ba(t),t.flags&jn&&t.memoizedState!==null&&Bv(Ue,t.memoizedState,t.memoizedProps);break;case 5:Ba(t);break;case 3:case 4:var e=Ue;Ue=Eu(t.stateNode.containerInfo),Ba(t),Ue=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=jn,jn=16777216,Ba(t),jn=e):Ba(t));break;default:Ba(t)}}function Uh(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];Gt=a,Ch(a,t)}Uh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Bh(t),t=t.sibling}function Bh(t){switch(t.tag){case 0:case 11:case 15:Ln(t),t.flags&2048&&xl(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];Gt=a,Ch(a,t)}Uh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:xl(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 Ch(t,e){for(;Gt!==null;){var l=Gt;switch(l.tag){case 0:case 11:case 15:xl(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:Sn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Gt=a;else t:for(l=t;Gt!==null;){a=Gt;var n=a.sibling,u=a.return;if(kh(a),a===l){Gt=null;break t}if(n!==null){n.return=u,Gt=n;break t}Gt=u}}}var Fb={getCacheForType:function(t){var e=Ft(Ht),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},Pb=typeof WeakMap=="function"?WeakMap:Map,bt=0,At=null,nt=null,rt=0,vt=0,ve=null,Tl=!1,Ca=!1,Zc=!1,rl=0,Dt=0,Al=0,la=0,Vc=0,ze=0,qa=0,Yn=null,se=null,Kc=!1,Jc=0,du=1/0,hu=null,Rl=null,Vt=0,kl=null,Ha=null,ja=0,$c=0,Wc=null,qh=null,Gn=0,Fc=null;function ye(){if((bt&2)!==0&&rt!==0)return rt&-rt;if(M.T!==null){var t=Ra;return t!==0?t:ns()}return Po()}function Hh(){ze===0&&(ze=(rt&536870912)===0||ft?Jo():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)&&(La(t,0),_l(t,rt,ze,!1)),un(t,l),((bt&2)===0||t!==At)&&(t===At&&((bt&2)===0&&(la|=l),Dt===4&&_l(t,rt,ze,!1)),Qe(t))}function jh(t,e,l){if((bt&6)!==0)throw Error(o(327));var a=!l&&(e&124)===0&&(e&t.expiredLanes)===0||nn(t,e),n=a?ev(t,e):ts(t,e,!0),u=a;do{if(n===0){Ca&&!a&&_l(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!Ib(l)){n=ts(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 b=h.current.memoizedState.isDehydrated;if(b&&(La(h,f).flags|=256),f=ts(h,f,!1),f!==2){if(Zc&&!b){h.errorRecoveryDisabledLanes|=u,la|=u,n=4;break t}u=se,se=n,u!==null&&(se===null?se=u:se.push.apply(se,u))}n=f}if(u=!1,n!==2)continue}}if(n===1){La(t,0),_l(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:_l(a,e,ze,!Tl);break t;case 2:se=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(n=Jc+300-je(),10<n)){if(_l(a,e,ze,!Tl),Ti(a,0,!0)!==0)break t;a.timeoutHandle=pp(Lh.bind(null,a,l,se,hu,Kc,e,ze,la,qa,Tl,u,2,-0,0),n);break t}Lh(a,l,se,hu,Kc,e,ze,la,qa,Tl,u,0,-0,0)}}break}while(!0);Qe(t)}function Lh(t,e,l,a,n,u,f,h,b,T,z,N,A,R){if(t.timeoutHandle=-1,N=e.subtreeFlags,(N&8192||(N&16785408)===16785408)&&($n={stylesheets:null,count:0,unsuspend:Uv},Nh(e),N=Cv(),N!==null)){t.cancelPendingCommit=N(Kh.bind(null,t,e,u,l,a,n,f,h,b,z,1,A,R)),_l(t,u,f,!T);return}Kh(t,e,u,l,a,n,f,h,b)}function Ib(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 _l(t,e,l,a){e&=~Vc,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&&Wo(t,l,e)}function pu(){return(bt&6)===0?(Xn(0),!1):!0}function Pc(){if(nt!==null){if(vt===0)var t=nt.return;else t=nt,Ie=Wl=null,gc(t),Ma=null,Nn=0,t=nt;for(;t!==null;)yh(t.alternate,t),t=t.return;nt=null}}function La(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,bv(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Pc(),At=t,nt=l=We(t.current,null),rt=e,vt=0,ve=null,Tl=!1,Ca=nn(t,e),Zc=!1,qa=ze=Vc=la=Al=Dt=0,se=Yn=null,Kc=!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 rl=e,Ci(),l}function Yh(t,e){lt=null,M.H=eu,e===Tn||e===Zi?(e=nd(),vt=3):e===ed?(e=nd(),vt=4):vt=e===ih?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ve=e,nt===null&&(Dt=1,uu(t,Te(e,t.current)))}function Gh(){var t=M.H;return M.H=eu,t===null?eu:t}function Xh(){var t=M.A;return M.A=Fb,t}function Ic(){Dt=4,Tl||(rt&4194048)!==rt&&_e.current!==null||(Ca=!0),(Al&134217727)===0&&(la&134217727)===0||At===null||_l(At,rt,ze,!1)}function ts(t,e,l){var a=bt;bt|=2;var n=Gh(),u=Xh();(At!==t||rt!==e)&&(hu=null,La(t,e)),e=!1;var f=Dt;t:do try{if(vt!==0&&nt!==null){var h=nt,b=ve;switch(vt){case 8:Pc(),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,Ya(t,h,b,T),l&&Ca){f=0;break t}break;default:T=vt,vt=0,ve=null,Ya(t,h,b,T)}}tv(),f=Dt;break}catch(z){Yh(t,z)}while(!0);return e&&t.shellSuspendCounter++,Ie=Wl=null,bt=a,M.H=n,M.A=u,nt===null&&(At=null,rt=0,Ci()),f}function tv(){for(;nt!==null;)Qh(nt)}function ev(t,e){var l=bt;bt|=2;var a=Gh(),n=Xh();At!==t||rt!==e?(hu=null,du=je()+500,La(t,e)):Ca=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,Ya(t,e,u,1);break;case 2:case 9:if(ld(u)){vt=0,ve=null,Zh(e);break}e=function(){vt!==2&&vt!==9||At!==t||(vt=7),Qe(t)},u.then(e,e);break t;case 3:vt=7;break t;case 4:vt=5;break t;case 7:ld(u)?(vt=0,ve=null,Zh(e)):(vt=0,ve=null,Ya(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||Rp(f)){vt=0,ve=null;var b=h.sibling;if(b!==null)nt=b;else{var T=h.return;T!==null?(nt=T,gu(T)):nt=null}break e}}vt=0,ve=null,Ya(t,e,u,5);break;case 6:vt=0,ve=null,Ya(t,e,u,6);break;case 8:Pc(),Dt=6;break t;default:throw Error(o(462))}}lv();break}catch(z){Yh(t,z)}while(!0);return Ie=Wl=null,M.H=a,M.A=n,bt=l,nt!==null?0:(At=null,rt=0,Ci(),Dt)}function lv(){for(;nt!==null&&!Tm();)Qh(nt)}function Qh(t){var e=bh(t.alternate,t,rl);t.memoizedProps=t.pendingProps,e===null?gu(t):nt=e}function Zh(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=fh(l,e,e.pendingProps,e.type,void 0,rt);break;case 11:e=fh(l,e,e.pendingProps,e.type.render,e.ref,rt);break;case 5:gc(e);default:yh(l,e),e=nt=Vf(e,rl),e=bh(l,e,rl)}t.memoizedProps=t.pendingProps,e===null?gu(t):nt=e}function Ya(t,e,l,a){Ie=Wl=null,gc(e),Ma=null,Nn=0;var n=e.return;try{if(Zb(t,n,e,l,rt)){Dt=1,uu(t,Te(l,t.current)),nt=null;return}}catch(u){if(n!==null)throw nt=n,u;Dt=1,uu(t,Te(l,t.current)),nt=null;return}e.flags&32768?(ft||a===1?t=!0:Ca||(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))),Vh(e,t)):gu(e)}function gu(t){var e=t;do{if((e.flags&32768)!==0){Vh(e,Tl);return}t=e.return;var l=Kb(e.alternate,e,rl);if(l!==null){nt=l;return}if(e=e.sibling,e!==null){nt=e;return}nt=e=t}while(e!==null);Dt===0&&(Dt=5)}function Vh(t,e){do{var l=Jb(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);Dt=6,nt=null}function Kh(t,e,l,a,n,u,f,h,b){t.cancelPendingCommit=null;do mu();while(Vt!==0);if((bt&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,Um(t,l,u,f,h,b),t===At&&(nt=At=null,rt=0),Ha=e,kl=t,ja=l,$c=u,Wc=n,qh=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,uv(xi,function(){return Ph(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=M.T,M.T=null,n=C.p,C.p=2,f=bt,bt|=4;try{$b(t,e,l)}finally{bt=f,C.p=n,M.T=a}}Vt=1,Jh(),$h(),Wh()}}function Jh(){if(Vt===1){Vt=0;var t=kl,e=Ha,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=M.T,M.T=null;var a=C.p;C.p=2;var n=bt;bt|=4;try{Oh(e,t);var u=ds,f=Cf(t.containerInfo),h=u.focusedElem,b=u.selectionRange;if(f!==h&&h&&h.ownerDocument&&Bf(h.ownerDocument.documentElement,h)){if(b!==null&&jr(h)){var T=b.start,z=b.end;if(z===void 0&&(z=T),"selectionStart"in h)h.selectionStart=T,h.selectionEnd=Math.min(z,h.value.length);else{var N=h.ownerDocument||document,A=N&&N.defaultView||window;if(A.getSelection){var R=A.getSelection(),W=h.textContent.length,K=Math.min(b.start,W),xt=b.end===void 0?K:Math.min(b.end,W);!R.extend&&K>xt&&(f=xt,xt=K,K=f);var S=Uf(h,K),y=Uf(h,xt);if(S&&y&&(R.rangeCount!==1||R.anchorNode!==S.node||R.anchorOffset!==S.offset||R.focusNode!==y.node||R.focusOffset!==y.offset)){var E=N.createRange();E.setStart(S.node,S.offset),R.removeAllRanges(),K>xt?(R.addRange(E),R.extend(y.node,y.offset)):(E.setEnd(y.node,y.offset),R.addRange(E))}}}}for(N=[],R=h;R=R.parentNode;)R.nodeType===1&&N.push({element:R,left:R.scrollLeft,top:R.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<N.length;h++){var D=N[h];D.element.scrollLeft=D.left,D.element.scrollTop=D.top}}_u=!!fs,ds=fs=null}finally{bt=n,C.p=a,M.T=l}}t.current=e,Vt=2}}function $h(){if(Vt===2){Vt=0;var t=kl,e=Ha,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=M.T,M.T=null;var a=C.p;C.p=2;var n=bt;bt|=4;try{Rh(t,e.alternate,e)}finally{bt=n,C.p=a,M.T=l}}Vt=3}}function Wh(){if(Vt===4||Vt===3){Vt=0,Am();var t=kl,e=Ha,l=ja,a=qh;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Vt=5:(Vt=0,Ha=kl=null,Fh(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=M.T,n=C.p,C.p=2,M.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{M.T=e,C.p=n}}(ja&3)!==0&&mu(),Qe(t),n=t.pendingLanes,(l&4194090)!==0&&(n&42)!==0?t===Fc?Gn++:(Gn=0,Fc=t):Gn=0,Xn(0)}}function Fh(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Sn(e)))}function mu(t){return Jh(),$h(),Wh(),Ph()}function Ph(){if(Vt!==5)return!1;var t=kl,e=$c;$c=0;var l=vr(ja),a=M.T,n=C.p;try{C.p=32>l?32:l,M.T=null,l=Wc,Wc=null;var u=kl,f=ja;if(Vt=0,Ha=kl=null,ja=0,(bt&6)!==0)throw Error(o(331));var h=bt;if(bt|=4,Bh(u.current),Mh(u,u.current,f,l),bt=h,Xn(0,!1),de&&typeof de.onPostCommitFiberRoot=="function")try{de.onPostCommitFiberRoot(an,u)}catch{}return!0}finally{C.p=n,M.T=a,Fh(t,e)}}function Ih(t,e,l){e=Te(l,e),e=zc(t.stateNode,e,2),t=bl(t,e,2),t!==null&&(un(t,2),Qe(t))}function Et(t,e,l){if(t.tag===3)Ih(t,t,l);else for(;e!==null;){if(e.tag===3){Ih(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=Te(l,t),l=ah(2),a=bl(e,l,2),a!==null&&(nh(l,a,e,t),un(a,2),Qe(a));break}}e=e.return}}function es(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new Pb;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)||(Zc=!0,n.add(l),t=av.bind(null,t,e,l),e.then(t,t))}function av(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&&(Dt===4||Dt===3&&(rt&62914560)===rt&&300>je()-Jc?(bt&2)===0&&La(t,0):Vc|=l,qa===rt&&(qa=0)),Qe(t)}function tp(t,e){e===0&&(e=$o()),t=Sa(t,e),t!==null&&(un(t,e),Qe(t))}function nv(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),tp(t,l)}function iv(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),tp(t,l)}function uv(t,e){return pr(t,e)}var bu=null,Ga=null,ls=!1,vu=!1,as=!1,aa=0;function Qe(t){t!==Ga&&t.next===null&&(Ga===null?bu=Ga=t:Ga=Ga.next=t),vu=!0,ls||(ls=!0,cv())}function Xn(t,e){if(!as&&vu){as=!0;do for(var l=!1,a=bu;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,np(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,np(a,u));a=a.next}while(l);as=!1}}function rv(){ep()}function ep(){vu=ls=!1;var t=0;aa!==0&&(mv()&&(t=aa),aa=0);for(var e=je(),l=null,a=bu;a!==null;){var n=a.next,u=lp(a,e);u===0?(a.next=null,l===null?bu=n:l.next=n,n===null&&(Ga=l)):(l=a,(t!==0||(u&3)!==0)&&(vu=!0)),a=n}Xn(t)}function lp(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,b=n[f];b===-1?((h&l)===0||(h&a)!==0)&&(n[f]=Nm(h,e)):b<=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=Vo;break;case 32:l=xi;break;case 268435456:l=Ko;break;default:l=xi}return a=ap.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 ap(t,e){if(Vt!==0&&Vt!==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:(jh(t,a,e),lp(t,je()),t.callbackNode!=null&&t.callbackNode===l?ap.bind(null,t):null)}function np(t,e){if(mu())return null;jh(t,e,!0)}function cv(){vv(function(){(bt&6)!==0?pr(Zo,rv):ep()})}function ns(){return aa===0&&(aa=Jo()),aa}function ip(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:zi(""+t)}function up(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 sv(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var u=ip((n[ie]||null).action),f=a.submitter;f&&(e=(e=f[ie]||null)?ip(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 b=f?up(n,f):new FormData(n);Tc(l,{pending:!0,data:b,method:n.method,action:u},null,b)}}else typeof u=="function"&&(h.preventDefault(),b=f?up(n,f):new FormData(n),Tc(l,{pending:!0,data:b,method:n.method,action:u},u,b))},currentTarget:n}]})}}for(var is=0;is<Xr.length;is++){var us=Xr[is],ov=us.toLowerCase(),fv=us[0].toUpperCase()+us.slice(1);Ne(ov,"on"+fv)}Ne(jf,"onAnimationEnd"),Ne(Lf,"onAnimationIteration"),Ne(Yf,"onAnimationStart"),Ne("dblclick","onDoubleClick"),Ne("focusin","onFocus"),Ne("focusout","onBlur"),Ne(_b,"onTransitionRun"),Ne(zb,"onTransitionStart"),Ne(Ob,"onTransitionCancel"),Ne(Gf,"onTransitionEnd"),da("onMouseEnter",["mouseout","mouseover"]),da("onMouseLeave",["mouseout","mouseover"]),da("onPointerEnter",["pointerout","pointerover"]),da("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(" "),dv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qn));function rp(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],b=h.instance,T=h.currentTarget;if(h=h.listener,b!==u&&n.isPropagationStopped())break t;u=h,n.currentTarget=T;try{u(n)}catch(z){iu(z)}n.currentTarget=null,u=b}else for(f=0;f<a.length;f++){if(h=a[f],b=h.instance,T=h.currentTarget,h=h.listener,b!==u&&n.isPropagationStopped())break t;u=h,n.currentTarget=T;try{u(n)}catch(z){iu(z)}n.currentTarget=null,u=b}}}}function it(t,e){var l=e[yr];l===void 0&&(l=e[yr]=new Set);var a=t+"__bubble";l.has(a)||(cp(e,t,2,!1),l.add(a))}function rs(t,e,l){var a=0;e&&(a|=4),cp(l,t,a,e)}var yu="_reactListening"+Math.random().toString(36).slice(2);function cs(t){if(!t[yu]){t[yu]=!0,tf.forEach(function(l){l!=="selectionchange"&&(dv.has(l)||rs(l,!1,t),rs(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[yu]||(e[yu]=!0,rs("selectionchange",!1,e))}}function cp(t,e,l,a){switch(Mp(e)){case 2:var n=jv;break;case 8:n=Lv;break;default:n=Ss}l=n.bind(null,e,l,t),n=void 0,!Or||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 ss(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 b=f.tag;if((b===3||b===4)&&f.stateNode.containerInfo===n)return;f=f.return}for(;h!==null;){if(f=sa(h),f===null)return;if(b=f.tag,b===5||b===6||b===26||b===27){a=u=f;continue t}h=h.parentNode}}a=a.return}gf(function(){var T=u,z=_r(l),N=[];t:{var A=Xf.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=ub;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=vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=Jm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=sb;break;case jf:case Lf:case Yf:R=Fm;break;case Gf:R=fb;break;case"scroll":case"scrollend":R=Vm;break;case"wheel":R=hb;break;case"copy":case"cut":case"paste":R=Im;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=wf;break;case"toggle":case"beforetoggle":R=gb}var K=(e&4)!==0,xt=!K&&(t==="scroll"||t==="scrollend"),S=K?A!==null?A+"Capture":null:A;K=[];for(var y=T,E;y!==null;){var D=y;if(E=D.stateNode,D=D.tag,D!==5&&D!==26&&D!==27||E===null||S===null||(D=sn(y,S),D!=null&&K.push(Zn(y,D,E))),xt)break;y=y.return}0<K.length&&(A=new R(A,W,null,l,z),N.push({event:A,listeners:K}))}}if((e&7)===0){t:{if(A=t==="mouseover"||t==="pointerover",R=t==="mouseout"||t==="pointerout",A&&l!==kr&&(W=l.relatedTarget||l.fromElement)&&(sa(W)||W[ca]))break t;if((R||A)&&(A=z.window===z?z:(A=z.ownerDocument)?A.defaultView||A.parentWindow:window,R?(W=l.relatedTarget||l.toElement,R=T,W=W?sa(W):null,W!==null&&(xt=g(W),K=W.tag,W!==xt||K!==5&&K!==27&&K!==6)&&(W=null)):(R=null,W=T),R!==W)){if(K=vf,D="onMouseLeave",S="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(K=wf,D="onPointerLeave",S="onPointerEnter",y="pointer"),xt=R==null?A:cn(R),E=W==null?A:cn(W),A=new K(D,y+"leave",R,l,z),A.target=xt,A.relatedTarget=E,D=null,sa(z)===T&&(K=new K(S,y+"enter",W,l,z),K.target=E,K.relatedTarget=xt,D=K),xt=D,R&&W)e:{for(K=R,S=W,y=0,E=K;E;E=Xa(E))y++;for(E=0,D=S;D;D=Xa(D))E++;for(;0<y-E;)K=Xa(K),y--;for(;0<E-y;)S=Xa(S),E--;for(;y--;){if(K===S||S!==null&&K===S.alternate)break e;K=Xa(K),S=Xa(S)}K=null}else K=null;R!==null&&sp(N,A,R,K,!1),W!==null&&xt!==null&&sp(N,xt,W,K,!0)}}t:{if(A=T?cn(T):window,R=A.nodeName&&A.nodeName.toLowerCase(),R==="select"||R==="input"&&A.type==="file")var G=_f;else if(Rf(A))if(zf)G=Ab;else{G=Eb;var at=Sb}else R=A.nodeName,!R||R.toLowerCase()!=="input"||A.type!=="checkbox"&&A.type!=="radio"?T&&Rr(T.elementType)&&(G=_f):G=Tb;if(G&&(G=G(t,T))){kf(N,G,l,z);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?cn(T):window,t){case"focusin":(Rf(at)||at.contentEditable==="true")&&(ya=at,Lr=T,bn=null);break;case"focusout":bn=Lr=ya=null;break;case"mousedown":Yr=!0;break;case"contextmenu":case"mouseup":case"dragend":Yr=!1,qf(N,l,z);break;case"selectionchange":if(kb)break;case"keydown":case"keyup":qf(N,l,z)}var Q;if(Cr)t:{switch(t){case"compositionstart":var J="onCompositionStart";break t;case"compositionend":J="onCompositionEnd";break t;case"compositionupdate":J="onCompositionUpdate";break t}J=void 0}else va?Tf(t,l)&&(J="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(J="onCompositionStart");J&&(xf&&l.locale!=="ko"&&(va||J!=="onCompositionStart"?J==="onCompositionEnd"&&va&&(Q=mf()):(hl=z,Dr="value"in hl?hl.value:hl.textContent,va=!0)),at=wu(T,J),0<at.length&&(J=new yf(J,t,null,l,z),N.push({event:J,listeners:at}),Q?J.data=Q:(Q=Af(l),Q!==null&&(J.data=Q)))),(Q=bb?vb(t,l):yb(t,l))&&(J=wu(T,"onBeforeInput"),0<J.length&&(at=new yf("onBeforeInput","beforeinput",null,l,z),N.push({event:at,listeners:J}),at.data=Q)),sv(N,t,T,l,z)}rp(N,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=sn(t,l),n!=null&&a.unshift(Zn(t,n,u)),n=sn(t,e),n!=null&&a.push(Zn(t,n,u))),t.tag===3)return a;t=t.return}return[]}function Xa(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,b=h.alternate,T=h.stateNode;if(h=h.tag,b!==null&&b===a)break;h!==5&&h!==26&&h!==27||T===null||(b=T,n?(T=sn(l,u),T!=null&&f.unshift(Zn(l,T,b))):n||(T=sn(l,u),T!=null&&f.push(Zn(l,T,b)))),l=l.return}f.length!==0&&t.push({event:e,listeners:f})}var hv=/\r\n?/g,pv=/\u0000|\uFFFD/g;function op(t){return(typeof t=="string"?t:""+t).replace(hv,`
50
+ `).replace(pv,"")}function fp(t,e){return e=op(e),op(t)===e}function xu(){}function wt(t,e,l,a,n,u){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||ga(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&ga(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":hf(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=zi(""+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=zi(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=xu);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=zi(""+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":Je(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Je(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Je(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Je(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Je(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Je(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Je(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Je(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Je(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=Qm.get(l)||l,Ai(t,l,a))}}function os(t,e,l,a,n,u){switch(l){case"style":hf(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"?ga(t,a):(typeof a=="number"||typeof a=="bigint")&&ga(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=xu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ef.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[ie]||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 Kt(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,b=null,T=null;for(a in l)if(l.hasOwnProperty(a)){var z=l[a];if(z!=null)switch(a){case"name":n=z;break;case"type":f=z;break;case"checked":b=z;break;case"defaultChecked":T=z;break;case"value":u=z;break;case"defaultValue":h=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,e));break;default:wt(t,e,a,z,l,null)}}sf(t,u,h,b,T,f,n,!1),ki(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?pa(t,!!a,e,!1):l!=null&&pa(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)}ff(t,a,n,u),ki(t);return;case"option":for(b in l)if(l.hasOwnProperty(b)&&(a=l[b],a!=null))switch(b){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:wt(t,e,b,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(z in l)l.hasOwnProperty(z)&&(a=l[z],a!==void 0&&os(t,e,z,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 gv(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,b=null,T=null,z=null;for(R in l){var N=l[R];if(l.hasOwnProperty(R)&&N!=null)switch(R){case"checked":break;case"value":break;case"defaultValue":b=N;default:a.hasOwnProperty(R)||wt(t,e,R,null,a,N)}}for(var A in a){var R=a[A];if(N=l[A],a.hasOwnProperty(A)&&(R!=null||N!=null))switch(A){case"type":u=R;break;case"name":n=R;break;case"checked":T=R;break;case"defaultChecked":z=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!==N&&wt(t,e,A,R,a,N)}}Tr(t,f,h,b,T,z,u,n);return;case"select":R=f=h=A=null;for(u in l)if(b=l[u],l.hasOwnProperty(u)&&b!=null)switch(u){case"value":break;case"multiple":R=b;default:a.hasOwnProperty(u)||wt(t,e,u,null,a,b)}for(n in a)if(u=a[n],b=l[n],a.hasOwnProperty(n)&&(u!=null||b!=null))switch(n){case"value":A=u;break;case"defaultValue":h=u;break;case"multiple":f=u;default:u!==b&&wt(t,e,n,u,a,b)}e=h,l=f,a=R,A!=null?pa(t,!!l,A,!1):!!a!=!!l&&(e!=null?pa(t,!!l,e,!0):pa(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)}of(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(b in a)if(A=a[b],R=l[b],a.hasOwnProperty(b)&&A!==R&&(A!=null||R!=null))switch(b){case"selected":t.selected=A&&typeof A!="function"&&typeof A!="symbol";break;default:wt(t,e,b,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 K in l)A=l[K],l.hasOwnProperty(K)&&A!=null&&!a.hasOwnProperty(K)&&wt(t,e,K,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 xt in l)A=l[xt],l.hasOwnProperty(xt)&&A!==void 0&&!a.hasOwnProperty(xt)&&os(t,e,xt,void 0,a,A);for(z in a)A=a[z],R=l[z],!a.hasOwnProperty(z)||A===R||A===void 0&&R===void 0||os(t,e,z,A,a,R);return}}for(var S in l)A=l[S],l.hasOwnProperty(S)&&A!=null&&!a.hasOwnProperty(S)&&wt(t,e,S,null,a,A);for(N in a)A=a[N],R=l[N],!a.hasOwnProperty(N)||A===R||A==null&&R==null||wt(t,e,N,A,a,R)}var fs=null,ds=null;function Su(t){return t.nodeType===9?t:t.ownerDocument}function dp(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 hp(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 hs(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 ps=null;function mv(){var t=window.event;return t&&t.type==="popstate"?t===ps?!1:(ps=t,!0):(ps=null,!1)}var pp=typeof setTimeout=="function"?setTimeout:void 0,bv=typeof clearTimeout=="function"?clearTimeout:void 0,gp=typeof Promise=="function"?Promise:void 0,vv=typeof queueMicrotask=="function"?queueMicrotask:typeof gp<"u"?function(t){return gp.resolve(null).then(t).catch(yv)}:pp;function yv(t){setTimeout(function(){throw t})}function zl(t){return t==="head"}function mp(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,b=f.nodeName;f[rn]||b==="SCRIPT"||b==="STYLE"||b==="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 gs(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":gs(l),wr(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function wv(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=Be(t.nextSibling),t===null)break}return null}function xv(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Be(t.nextSibling),t===null))return null;return t}function ms(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function Sv(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 Be(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 bs=null;function bp(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 vp(t,e,l){switch(e=Su(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,yp=new Set;function Eu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var cl=C.d;C.d={f:Ev,r:Tv,D:Av,C:Rv,L:kv,m:_v,X:Ov,S:zv,M:Dv};function Ev(){var t=cl.f(),e=pu();return t||e}function Tv(t){var e=oa(t);e!==null&&e.tag===5&&e.type==="form"?jd(e):cl.r(t)}var Qa=typeof document>"u"?null:document;function wp(t,e,l){var a=Qa;if(a&&typeof e=="string"&&e){var n=Ee(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),yp.has(n)||(yp.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Kt(e,"link",t),Lt(e),a.head.appendChild(e)))}}function Av(t){cl.D(t),wp("dns-prefetch",t,null)}function Rv(t,e){cl.C(t,e),wp("preconnect",t,e)}function kv(t,e,l){cl.L(t,e,l);var a=Qa;if(a&&t&&e){var n='link[rel="preload"][as="'+Ee(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Ee(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Ee(l.imageSizes)+'"]')):n+='[href="'+Ee(t)+'"]';var u=n;switch(e){case"style":u=Za(t);break;case"script":u=Va(t)}Oe.has(u)||(t=_({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"),Kt(e,"link",t),Lt(e),a.head.appendChild(e)))}}function _v(t,e){cl.m(t,e);var l=Qa;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Ee(a)+'"][href="'+Ee(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Va(t)}if(!Oe.has(u)&&(t=_({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"),Kt(a,"link",t),Lt(a),l.head.appendChild(a)}}}function zv(t,e,l){cl.S(t,e,l);var a=Qa;if(a&&t){var n=fa(a).hoistableStyles,u=Za(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=_({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Oe.get(u))&&vs(t,l);var b=f=a.createElement("link");Lt(b),Kt(b,"link",t),b._p=new Promise(function(T,z){b.onload=T,b.onerror=z}),b.addEventListener("load",function(){h.loading|=1}),b.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 Ov(t,e){cl.X(t,e);var l=Qa;if(l&&t){var a=fa(l).hoistableScripts,n=Va(t),u=a.get(n);u||(u=l.querySelector(Jn(n)),u||(t=_({src:t,async:!0},e),(e=Oe.get(n))&&ys(t,e),u=l.createElement("script"),Lt(u),Kt(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Dv(t,e){cl.M(t,e);var l=Qa;if(l&&t){var a=fa(l).hoistableScripts,n=Va(t),u=a.get(n);u||(u=l.querySelector(Jn(n)),u||(t=_({src:t,async:!0,type:"module"},e),(e=Oe.get(n))&&ys(t,e),u=l.createElement("script"),Lt(u),Kt(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function xp(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=Za(l.href),l=fa(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=Za(l.href);var u=fa(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||Mv(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=Va(l),l=fa(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 Za(t){return'href="'+Ee(t)+'"'}function Kn(t){return'link[rel="stylesheet"]['+t+"]"}function Sp(t){return _({},t,{"data-precedence":t.precedence,precedence:null})}function Mv(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}),Kt(e,"link",l),Lt(e),t.head.appendChild(e))}function Va(t){return'[src="'+Ee(t)+'"]'}function Jn(t){return"script[async]"+t}function Ep(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Ee(l.href)+'"]');if(a)return e.instance=a,Lt(a),a;var n=_({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Lt(a),Kt(a,"style",n),Tu(a,l.precedence,t),e.instance=a;case"stylesheet":n=Za(l.href);var u=t.querySelector(Kn(n));if(u)return e.state.loading|=4,e.instance=u,Lt(u),u;a=Sp(l),(n=Oe.get(n))&&vs(a,n),u=(t.ownerDocument||t).createElement("link"),Lt(u);var f=u;return f._p=new Promise(function(h,b){f.onload=h,f.onerror=b}),Kt(u,"link",a),e.state.loading|=4,Tu(u,l.precedence,t),e.instance=u;case"script":return u=Va(l.src),(n=t.querySelector(Jn(u)))?(e.instance=n,Lt(n),n):(a=l,(n=Oe.get(u))&&(a=_({},l),ys(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Lt(n),Kt(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 vs(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function ys(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 Tp(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[Wt]||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 Ap(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Nv(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 Rp(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var $n=null;function Uv(){}function Bv(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=Za(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,Lt(u);return}u=t.ownerDocument||t,l=Sp(l),(n=Oe.get(n))&&vs(l,n),u=u.createElement("link"),Lt(u);var f=u;f._p=new Promise(function(h,b){f.onload=h,f.onerror=b}),Kt(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 Cv(){if($n===null)throw Error(o(475));var t=$n;return t.stylesheets&&t.count===0&&ws(t,t.stylesheets),0<t.count?function(e){var l=setTimeout(function(){if(t.stylesheets&&ws(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)ws(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var ku=null;function ws(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,ku=new Map,e.forEach(qv,t),ku=null,Ru.call(t))}function qv(t,e){if(!(e.state.loading&4)){var l=ku.get(t);if(l)var a=l.get(null);else{l=new Map,ku.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:et,_currentValue2:et,_threadCount:0};function Hv(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 kp(t,e,l,a,n,u,f,h,b,T,z,N){return t=new Hv(t,e,l,f,h,b,T,N),e=1,u===!0&&(e|=24),u=ge(3,null,null,e),t.current=u,u.stateNode=t,e=ec(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:e},ic(u),t}function _p(t){return t?(t=Ea,t):Ea}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=bl(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 xs(t,e){Op(t,e),(t=t.alternate)&&Op(t,e)}function Dp(t){if(t.tag===13){var e=Sa(t,67108864);e!==null&&we(e,t,67108864),xs(t,67108864)}}var _u=!0;function jv(t,e,l,a){var n=M.T;M.T=null;var u=C.p;try{C.p=2,Ss(t,e,l,a)}finally{C.p=u,M.T=n}}function Lv(t,e,l,a){var n=M.T;M.T=null;var u=C.p;try{C.p=8,Ss(t,e,l,a)}finally{C.p=u,M.T=n}}function Ss(t,e,l,a){if(_u){var n=Es(a);if(n===null)ss(t,e,a,zu,l),Np(t,a);else if(Gv(n,t,e,l,a))a.stopPropagation();else if(Np(t,a),e&4&&-1<Yv.indexOf(t)){for(;n!==null;){var u=oa(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 b=1<<31-he(f);h.entanglements[1]|=b,f&=~b}Qe(u),(bt&6)===0&&(du=je()+500,Xn(0))}}break;case 13:h=Sa(u,2),h!==null&&we(h,u,2),pu(),xs(u,2)}if(u=Es(a),u===null&&ss(t,e,a,zu,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else ss(t,e,a,null,l)}}function Es(t){return t=_r(t),Ts(t)}var zu=null;function Ts(t){if(zu=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 zu=t,null}function Mp(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(Rm()){case Zo:return 2;case Vo:return 8;case xi:case km:return 32;case Ko:return 268435456;default:return 32}default:return 32}}var As=!1,Ol=null,Dl=null,Ml=null,Fn=new Map,Pn=new Map,Nl=[],Yv="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 Np(t,e){switch(t){case"focusin":case"focusout":Ol=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=oa(e),e!==null&&Dp(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function Gv(t,e,l,a,n){switch(e){case"focusin":return Ol=In(Ol,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 Up(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,Bm(t.priority,function(){if(l.tag===13){var a=ye();a=br(a);var n=Sa(l,a);n!==null&&we(n,l,a),xs(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 Ou(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Es(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);kr=a,l.target.dispatchEvent(a),kr=null}else return e=oa(l),e!==null&&Dp(e),t.blockedOn=l,!1;e.shift()}return!0}function Bp(t,e,l){Ou(t)&&l.delete(e)}function Xv(){As=!1,Ol!==null&&Ou(Ol)&&(Ol=null),Dl!==null&&Ou(Dl)&&(Dl=null),Ml!==null&&Ou(Ml)&&(Ml=null),Fn.forEach(Bp),Pn.forEach(Bp)}function Du(t,e){t.blockedOn===e&&(t.blockedOn=null,As||(As=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Xv)))}var Mu=null;function Cp(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(Ts(a||l)===null)continue;break}var u=oa(l);u!==null&&(t.splice(e,3),e-=3,Tc(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function ti(t){function e(b){return Du(b,t)}Ol!==null&&Du(Ol,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);)Up(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[ie]||null;if(typeof u=="function")f||Cp(l);else if(f){var h=null;if(u&&u.hasAttribute("formAction")){if(n=u,f=u[ie]||null)h=f.formAction;else if(Ts(n)!==null)continue}else h=f.action;typeof h=="function"?l[a+1]=h:(l.splice(a,3),a-=3),Cp(l)}}}function Rs(t){this._internalRoot=t}Nu.prototype.render=Rs.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var l=e.current,a=ye();zp(l,a,t,e,null,null)},Nu.prototype.unmount=Rs.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[ca]=null}};function Nu(t){this._internalRoot=t}Nu.prototype.unstable_scheduleHydration=function(t){if(t){var e=Po();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&&Up(t)}};var qp=c.version;if(qp!=="19.1.0")throw Error(o(527,qp,"19.1.0"));C.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 Qv={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:M,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(Qv),de=Uu}catch{}}return Ja.createRoot=function(t,e){if(!d(t))throw Error(o(299));var l=!1,a="",n=Id,u=th,f=eh,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=kp(t,1,!1,null,null,l,a,n,u,f,h,null),t[ca]=e.current,cs(t),new Rs(e)},Ja.hydrateRoot=function(t,e,l){if(!d(t))throw Error(o(299));var a=!1,n="",u=Id,f=th,h=eh,b=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&&(b=l.unstable_transitionCallbacks),l.formState!==void 0&&(T=l.formState)),e=kp(t,1,!0,e,l??null,a,n,u,f,h,b,T),e.context=_p(null),l=e.current,a=ye(),a=br(a),n=ml(a),n.callback=null,bl(l,n,a),l=a,e.current.lanes=l,un(e,l),Qe(e),t[ca]=e.current,cs(t),new Nu(e)},Ja.version="19.1.0",Ja}var Hs;function Kp(){if(Hs)return Cu.exports;Hs=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=Vp(),Cu.exports}var Jp=Kp();const $p=na(Jp);var qt=Lu();/**
51
51
  * @license lucide-react v0.515.0 - ISC
52
52
  *
53
53
  * This source code is licensed under the ISC license.
54
54
  * See the LICENSE file in the root directory of this source tree.
55
- */const Jp=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),$p=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,c,s)=>s?s.toUpperCase():c.toLowerCase()),js=r=>{const i=$p(r);return i.charAt(0).toUpperCase()+i.slice(1)},Ls=(...r)=>r.filter((i,c,s)=>!!i&&i.trim()!==""&&s.indexOf(i)===c).join(" ").trim(),Wp=r=>{for(const i in r)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/**
55
+ */const Wp=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Fp=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,c,s)=>s?s.toUpperCase():c.toLowerCase()),js=r=>{const i=Fp(r);return i.charAt(0).toUpperCase()+i.slice(1)},Ls=(...r)=>r.filter((i,c,s)=>!!i&&i.trim()!==""&&s.indexOf(i)===c).join(" ").trim(),Pp=r=>{for(const i in r)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/**
56
56
  * @license lucide-react v0.515.0 - ISC
57
57
  *
58
58
  * This source code is licensed under the ISC license.
59
59
  * See the LICENSE file in the root directory of this source tree.
60
- */var Fp={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 Ip={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"};/**
61
61
  * @license lucide-react v0.515.0 - ISC
62
62
  *
63
63
  * This source code is licensed under the ISC license.
64
64
  * See the LICENSE file in the root directory of this source tree.
65
- */const Pp=Lt.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:c=2,absoluteStrokeWidth:s,className:o="",children:d,iconNode:g,...m},w)=>Lt.createElement("svg",{ref:w,...Fp,width:i,height:i,stroke:r,strokeWidth:s?Number(c)*24/Number(i):c,className:Ls("lucide",o),...!d&&!Wp(m)&&{"aria-hidden":"true"},...m},[...g.map(([p,v])=>Lt.createElement(p,v)),...Array.isArray(d)?d:[d]]));/**
65
+ */const t0=qt.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:c=2,absoluteStrokeWidth:s,className:o="",children:d,iconNode:g,...m},w)=>qt.createElement("svg",{ref:w,...Ip,width:i,height:i,stroke:r,strokeWidth:s?Number(c)*24/Number(i):c,className:Ls("lucide",o),...!d&&!Pp(m)&&{"aria-hidden":"true"},...m},[...g.map(([p,v])=>qt.createElement(p,v)),...Array.isArray(d)?d:[d]]));/**
66
66
  * @license lucide-react v0.515.0 - ISC
67
67
  *
68
68
  * This source code is licensed under the ISC license.
69
69
  * See the LICENSE file in the root directory of this source tree.
70
- */const Ja=(r,i)=>{const c=Lt.forwardRef(({className:s,...o},d)=>Lt.createElement(Pp,{ref:d,iconNode:i,className:Ls(`lucide-${Jp(js(r))}`,`lucide-${r}`,s),...o}));return c.displayName=js(r),c};/**
70
+ */const ia=(r,i)=>{const c=qt.forwardRef(({className:s,...o},d)=>qt.createElement(t0,{ref:d,iconNode:i,className:Ls(`lucide-${Wp(js(r))}`,`lucide-${r}`,s),...o}));return c.displayName=js(r),c};/**
71
71
  * @license lucide-react v0.515.0 - ISC
72
72
  *
73
73
  * This source code is licensed under the ISC license.
74
74
  * See the LICENSE file in the root directory of this source tree.
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"}]]);/**
75
+ */const Gu=ia("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"}]]);/**
76
76
  * @license lucide-react v0.515.0 - ISC
77
77
  *
78
78
  * This source code is licensed under the ISC license.
79
79
  * See the LICENSE file in the root directory of this source tree.
80
- */const Ip=Ja("message-circle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
80
+ */const e0=ia("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
81
81
  * @license lucide-react v0.515.0 - ISC
82
82
  *
83
83
  * This source code is licensed under the ISC license.
84
84
  * See the LICENSE file in the root directory of this source tree.
85
- */const t0=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"}]]);/**
85
+ */const l0=ia("message-circle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
86
86
  * @license lucide-react v0.515.0 - ISC
87
87
  *
88
88
  * This source code is licensed under the ISC license.
89
89
  * See the LICENSE file in the root directory of this source tree.
90
- */const e0=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"}]]);/**
90
+ */const a0=ia("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"}]]);/**
91
91
  * @license lucide-react v0.515.0 - ISC
92
92
  *
93
93
  * This source code is licensed under the ISC license.
94
94
  * See the LICENSE file in the root directory of this source tree.
95
- */const Ys=Ja("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),l0={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",messageBotIcon:"text-pink-200",messageUser:"bg-transparent backdrop-blur-3xl text-white",messageUserIcon:"text-pink-200",input:"bg-slate-800/50 border-purple-500/30 text-white placeholder-slate-400 border border-purple-200",inputContainer:"border-t border-purple-500/20",sendButton:"text-white",prompt:"bg-black/50 backdrop-blur-3xl text-white",openButton:"bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700 text-white",openButtonShadow:"0 0 30px rgba(147, 51, 234, 0.5)",notifyBadge:"bg-gradient-to-r from-pink-500 to-red-500 text-white"},lighty:{mainBackground:"bg-white",header:"bg-black/90",headerLogoIcon:"text-white",messageBot:"bg-gradient-to-r from-purple-500 to-pink-500 text-white",messageBotIcon:"text-pink-200",messageUser:"bg-black/80 text-white",messageUserIcon:"text-pink-200",input:"placeholder-slate-400 border border-purple-200",inputContainer:"border-t border-purple-500/20",sendButton:"text-purple-500",prompt:"bg-gradient-to-br from-black/80 to-black/90 text-white",openButton:"bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700 text-white",openButtonShadow:"0 0 30px rgba(147, 51, 234, 0.5)",notifyBadge:"bg-gradient-to-r from-pink-500 to-red-500 text-white"},boring:{mainBackground:"bg-white",header:"bg-black/90",headerLogoIcon:"text-white",messageBotIcon:"text-white",messageBot:"bg-black/80 text-white",messageUserIcon:"text-black",messageUser:"text-black",input:"placeholder-slate-400 border border-black/20",inputContainer:"border-t border-black/20",sendButton:"text-black/80",prompt:"bg-gradient-to-br from-black/80 to-black/90 text-white",openButton:"bg-gradient-to-r from-black/80 to-black/90 text-white",openButtonShadow:"0 0 30px rgba(0, 0, 0, 0.5)",notifyBadge:"bg-red-500 text-white"},"o Canada":{mainBackground:"bg-white",header:"bg-[#016553]",headerLogoIcon:"text-white",messageBotIcon:"text-white",messageBot:"bg-[#016553]/80 text-white",messageUserIcon:"text-black",messageUser:"text-black",input:"placeholder-slate-400 border border-black/20",inputContainer:"border-t border-black/20",sendButton:"text-black/80",prompt:"bg-gradient-to-br from-black/80 to-black/90 text-white",openButton:"bg-gradient-to-r from-[#016553]/80 to-[#016553]/90 text-white",openButtonShadow:"0 0 30px rgba(0, 0, 0, 0.5)",notifyBadge:"bg-[#D1A205] text-[#1A1A1A]"}},ee=(r,i)=>l0[r][i]??"";function a0({setIsOpen:r,theme:i,title:c,imageUrl:s,imageWidth:o}){return K.jsxs("div",{className:`widget-header bg-gradient-to-r ${ee(i,"header")} p-4 flex items-center justify-between`,children:[K.jsxs("div",{className:"flex items-center space-x-3",children:[K.jsx("div",{className:`${ee(i,"headerLogoBg")} rounded-full flex items-center justify-center`,children:s?K.jsx("img",{src:s,alt:"chatbot logo",style:{width:o}}):K.jsx(Gu,{className:`w-6 h-6 ${ee(i,"headerLogoIcon")}`})}),K.jsxs("div",{children:[K.jsx("h3",{className:"text-white font-semibold text-xl mb-0",children:c}),K.jsx("p",{className:"text-purple-100 text-sm mb-0",children:"Online"})]})]}),K.jsx("button",{onClick:()=>r(!1),className:"text-white hover:bg-white/20 rounded-full p-1 transition-colors",children:K.jsx(Ys,{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 Gs(r){Bl=r}var $a={exec:()=>null};function dt(r,i=""){let c=typeof r=="string"?r:r.source;const s={replace:(o,d)=>{let g=typeof d=="string"?d:d.source;return g=g.replace(le.caret,"$1"),c=c.replace(o,g),s},getRegex:()=>new RegExp(c,i)};return s}var le={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")},n0=/^(?:[ \t]*(?:\n|$))+/,i0=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,u0=/^ {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+|$)/,r0=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Qu=/(?:[*+-]|\d{1,9}[.)])/,Xs=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Qs=dt(Xs).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=dt(Xs).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]+)*)/,s0=/^[^\n]+/,Vu=/(?!\s*\])(?:\\.|[^\[\]\\])+/,o0=dt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Vu).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),f0=dt(/^( {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]*?(?:-->|$))/,d0=dt("^ {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(),Zs=dt(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(),h0=dt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Zs).getRegex(),Ju={blockquote:h0,code:i0,def:o0,fences:u0,heading:r0,hr:Wa,html:d0,lheading:Qs,list:f0,newline:n0,paragraph:Zs,table:$a,text:s0},Vs=dt("^ *([^\\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(),p0={...Ju,lheading:c0,table:Vs,paragraph:dt(Zu).replace("hr",Wa).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Vs).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()},g0={...Ju,html:dt(`^ *(?: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:dt(Zu).replace("hr",Wa).replace("heading",` *#{1,6} *[^
96
- ]`).replace("lheading",Qs).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},m0=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,b0=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ks=/^( {2,}|\\)\n(?!\s*$)/,v0=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,li=/[\p{P}\p{S}]/u,$u=/[\s\p{P}\p{S}]/u,Js=/[^\s\p{P}\p{S}]/u,y0=dt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,$u).getRegex(),$s=/(?!~)[\p{P}\p{S}]/u,w0=/(?!~)[\s\p{P}\p{S}]/u,x0=/(?:[^\s\p{P}\p{S}]|~)/u,S0=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Ws=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,E0=dt(Ws,"u").replace(/punct/g,li).getRegex(),T0=dt(Ws,"u").replace(/punct/g,$s).getRegex(),Fs="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",A0=dt(Fs,"gu").replace(/notPunctSpace/g,Js).replace(/punctSpace/g,$u).replace(/punct/g,li).getRegex(),R0=dt(Fs,"gu").replace(/notPunctSpace/g,x0).replace(/punctSpace/g,w0).replace(/punct/g,$s).getRegex(),k0=dt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Js).replace(/punctSpace/g,$u).replace(/punct/g,li).getRegex(),_0=dt(/\\(punct)/,"gu").replace(/punct/g,li).getRegex(),z0=dt(/^<(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(),O0=dt(Ku).replace("(?:-->|$)","-->").getRegex(),D0=dt("^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",O0).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ai=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,M0=dt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ai).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ps=dt(/^!?\[(label)\]\[(ref)\]/).replace("label",ai).replace("ref",Vu).getRegex(),Is=dt(/^!?\[(ref)\](?:\[\])?/).replace("ref",Vu).getRegex(),N0=dt("reflink|nolink(?!\\()","g").replace("reflink",Ps).replace("nolink",Is).getRegex(),Wu={_backpedal:$a,anyPunctuation:_0,autolink:z0,blockSkip:S0,br:Ks,code:b0,del:$a,emStrongLDelim:E0,emStrongRDelimAst:A0,emStrongRDelimUnd:k0,escape:m0,link:M0,nolink:Is,punctuation:y0,reflink:Ps,reflinkSearch:N0,tag:D0,text:v0,url:$a},U0={...Wu,link:dt(/^!?\[(label)\]\((.*?)\)/).replace("label",ai).getRegex(),reflink:dt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ai).getRegex()},Fu={...Wu,emStrongRDelimAst:R0,emStrongLDelim:T0,url:dt(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},B0={...Fu,br:dt(Ks).replace("{2,}","*").getRegex(),text:dt(Fu.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ni={normal:Ju,gfm:p0,pedantic:g0},Fa={normal:Wu,gfm:Fu,breaks:B0,pedantic:U0},C0={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},to=r=>C0[r];function qe(r,i){if(i){if(le.escapeTest.test(r))return r.replace(le.escapeReplace,to)}else if(le.escapeTestNoEncode.test(r))return r.replace(le.escapeReplaceNoEncode,to);return r}function eo(r){try{r=encodeURI(r).replace(le.percentDecode,"%")}catch{return null}return r}function lo(r,i){var d;const c=r.replace(le.findPipe,(g,m,w)=>{let p=!1,v=m;for(;--v>=0&&w[v]==="\\";)p=!p;return p?"|":" |"}),s=c.split(le.splitPipe);let o=0;if(s[0].trim()||s.shift(),s.length>0&&!((d=s.at(-1))!=null&&d.trim())&&s.pop(),i)if(s.length>i)s.splice(i);else for(;s.length<i;)s.push("");for(;o<s.length;o++)s[o]=s[o].trim().replace(le.slashPipe,"|");return s}function Pa(r,i,c){const s=r.length;if(s===0)return"";let o=0;for(;o<s&&r.charAt(s-o-1)===i;)o++;return r.slice(0,s-o)}function q0(r,i){if(r.indexOf(i[1])===-1)return-1;let c=0;for(let s=0;s<r.length;s++)if(r[s]==="\\")s++;else if(r[s]===i[0])c++;else if(r[s]===i[1]&&(c--,c<0))return s;return c>0?-2:-1}function ao(r,i,c,s,o){const d=i.href,g=i.title||null,m=r[1].replace(o.other.outputLinkReplace,"$1");s.state.inLink=!0;const w={type:r[0].charAt(0)==="!"?"image":"link",raw:c,href:d,title:g,text:m,tokens:s.inlineTokens(m)};return s.state.inLink=!1,w}function H0(r,i,c){const s=r.match(c.other.indentCodeCompensation);if(s===null)return i;const o=s[1];return i.split(`
95
+ */const n0=ia("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"}]]);/**
96
+ * @license lucide-react v0.515.0 - ISC
97
+ *
98
+ * This source code is licensed under the ISC license.
99
+ * See the LICENSE file in the root directory of this source tree.
100
+ */const Ys=ia("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),i0={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",messageBotIcon:"text-pink-200",messageUser:"bg-transparent backdrop-blur-3xl text-white",messageUserIcon:"text-pink-200",input:"bg-slate-800/50 border-purple-500/30 text-white placeholder-slate-400 border border-purple-200",inputContainer:"border-t border-purple-500/20",sendButton:"text-white",prompt:"bg-black/50 backdrop-blur-3xl text-white",openButton:"bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700 text-white",openButtonShadow:"0 0 30px rgba(147, 51, 234, 0.5)",notifyBadge:"bg-gradient-to-r from-pink-500 to-red-500 text-white"},lighty:{mainBackground:"bg-white",header:"bg-black/90",headerLogoIcon:"text-white",messageBot:"bg-gradient-to-r from-purple-500 to-pink-500 text-white",messageBotIcon:"text-pink-200",messageUser:"bg-black/80 text-white",messageUserIcon:"text-pink-200",input:"placeholder-slate-400 border border-purple-200",inputContainer:"border-t border-purple-500/20",sendButton:"text-purple-500",prompt:"bg-gradient-to-br from-black/80 to-black/90 text-white",openButton:"bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700 text-white",openButtonShadow:"0 0 30px rgba(147, 51, 234, 0.5)",notifyBadge:"bg-gradient-to-r from-pink-500 to-red-500 text-white"},boring:{mainBackground:"bg-white",header:"bg-black/90",headerLogoIcon:"text-white",messageBotIcon:"text-white",messageBot:"bg-black/80 text-white backdrop-blur-xl",messageUserIcon:"text-black",messageUser:"text-black",input:"placeholder-slate-400 border border-black/20",inputContainer:"border-t border-black/20",sendButton:"text-black/80",prompt:"bg-gradient-to-br from-black/80 to-black/90 text-white",openButton:"bg-gradient-to-r from-black/80 to-black/90 text-white",openButtonShadow:"0 0 30px rgba(0, 0, 0, 0.5)",notifyBadge:"bg-red-500 text-white"},"o Canada":{mainBackground:"bg-white",header:"bg-[#016553]",headerLogoIcon:"text-white",messageBotIcon:"text-white",messageBot:"bg-[#016553]/80 text-white",messageUserIcon:"text-black",messageUser:"text-black",input:"placeholder-slate-400 border border-black/20",inputContainer:"border-t border-black/20",sendButton:"text-black/80",prompt:"bg-gradient-to-br from-black/80 to-black/90 text-white",openButton:"bg-gradient-to-r from-[#016553]/80 to-[#016553]/90 text-white",openButtonShadow:"0 0 30px rgba(0, 0, 0, 0.5)",notifyBadge:"bg-[#D1A205] text-[#1A1A1A]"}},Pt=(r,i)=>i0[r][i]??"";function u0({setIsOpen:r,theme:i,title:c,imageUrl:s,imageWidth:o}){return X.jsxs("div",{className:`widget-header bg-gradient-to-r ${Pt(i,"header")} p-4 flex items-center justify-between`,children:[X.jsxs("div",{className:"flex items-center space-x-3",children:[X.jsx("div",{className:`${Pt(i,"headerLogoBg")} rounded-full flex items-center justify-center`,children:s?X.jsx("img",{src:s,alt:"chatbot logo",style:{width:o}}):X.jsx(Gu,{className:`w-6 h-6 ${Pt(i,"headerLogoIcon")}`})}),X.jsxs("div",{children:[X.jsx("h3",{className:"text-white font-semibold text-xl mb-0",children:c}),X.jsx("p",{className:"text-purple-100 text-sm mb-0",children:"Online"})]})]}),X.jsx("button",{onClick:()=>r(!1),className:"text-white hover:bg-white/20 rounded-full p-1 transition-colors",children:X.jsx(Ys,{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 Gs(r){Bl=r}var $a={exec:()=>null};function dt(r,i=""){let c=typeof r=="string"?r:r.source;const s={replace:(o,d)=>{let g=typeof d=="string"?d:d.source;return g=g.replace(It.caret,"$1"),c=c.replace(o,g),s},getRegex:()=>new RegExp(c,i)};return s}var It={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")},r0=/^(?:[ \t]*(?:\n|$))+/,c0=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,s0=/^ {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+|$)/,o0=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Qu=/(?:[*+-]|\d{1,9}[.)])/,Xs=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Qs=dt(Xs).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(),f0=dt(Xs).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]+)*)/,d0=/^[^\n]+/,Vu=/(?!\s*\])(?:\\.|[^\[\]\\])+/,h0=dt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Vu).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),p0=dt(/^( {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]*?(?:-->|$))/,g0=dt("^ {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(),Zs=dt(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(),m0=dt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Zs).getRegex(),Ju={blockquote:m0,code:c0,def:h0,fences:s0,heading:o0,hr:Wa,html:g0,lheading:Qs,list:p0,newline:r0,paragraph:Zs,table:$a,text:d0},Vs=dt("^ *([^\\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(),b0={...Ju,lheading:f0,table:Vs,paragraph:dt(Zu).replace("hr",Wa).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Vs).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()},v0={...Ju,html:dt(`^ *(?: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:dt(Zu).replace("hr",Wa).replace("heading",` *#{1,6} *[^
101
+ ]`).replace("lheading",Qs).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},y0=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,w0=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ks=/^( {2,}|\\)\n(?!\s*$)/,x0=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,li=/[\p{P}\p{S}]/u,$u=/[\s\p{P}\p{S}]/u,Js=/[^\s\p{P}\p{S}]/u,S0=dt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,$u).getRegex(),$s=/(?!~)[\p{P}\p{S}]/u,E0=/(?!~)[\s\p{P}\p{S}]/u,T0=/(?:[^\s\p{P}\p{S}]|~)/u,A0=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Ws=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,R0=dt(Ws,"u").replace(/punct/g,li).getRegex(),k0=dt(Ws,"u").replace(/punct/g,$s).getRegex(),Fs="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",_0=dt(Fs,"gu").replace(/notPunctSpace/g,Js).replace(/punctSpace/g,$u).replace(/punct/g,li).getRegex(),z0=dt(Fs,"gu").replace(/notPunctSpace/g,T0).replace(/punctSpace/g,E0).replace(/punct/g,$s).getRegex(),O0=dt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Js).replace(/punctSpace/g,$u).replace(/punct/g,li).getRegex(),D0=dt(/\\(punct)/,"gu").replace(/punct/g,li).getRegex(),M0=dt(/^<(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(),N0=dt(Ku).replace("(?:-->|$)","-->").getRegex(),U0=dt("^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",N0).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ai=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,B0=dt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ai).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ps=dt(/^!?\[(label)\]\[(ref)\]/).replace("label",ai).replace("ref",Vu).getRegex(),Is=dt(/^!?\[(ref)\](?:\[\])?/).replace("ref",Vu).getRegex(),C0=dt("reflink|nolink(?!\\()","g").replace("reflink",Ps).replace("nolink",Is).getRegex(),Wu={_backpedal:$a,anyPunctuation:D0,autolink:M0,blockSkip:A0,br:Ks,code:w0,del:$a,emStrongLDelim:R0,emStrongRDelimAst:_0,emStrongRDelimUnd:O0,escape:y0,link:B0,nolink:Is,punctuation:S0,reflink:Ps,reflinkSearch:C0,tag:U0,text:x0,url:$a},q0={...Wu,link:dt(/^!?\[(label)\]\((.*?)\)/).replace("label",ai).getRegex(),reflink:dt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ai).getRegex()},Fu={...Wu,emStrongRDelimAst:z0,emStrongLDelim:k0,url:dt(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},H0={...Fu,br:dt(Ks).replace("{2,}","*").getRegex(),text:dt(Fu.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ni={normal:Ju,gfm:b0,pedantic:v0},Fa={normal:Wu,gfm:Fu,breaks:H0,pedantic:q0},j0={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},to=r=>j0[r];function qe(r,i){if(i){if(It.escapeTest.test(r))return r.replace(It.escapeReplace,to)}else if(It.escapeTestNoEncode.test(r))return r.replace(It.escapeReplaceNoEncode,to);return r}function eo(r){try{r=encodeURI(r).replace(It.percentDecode,"%")}catch{return null}return r}function lo(r,i){var d;const c=r.replace(It.findPipe,(g,m,w)=>{let p=!1,v=m;for(;--v>=0&&w[v]==="\\";)p=!p;return p?"|":" |"}),s=c.split(It.splitPipe);let o=0;if(s[0].trim()||s.shift(),s.length>0&&!((d=s.at(-1))!=null&&d.trim())&&s.pop(),i)if(s.length>i)s.splice(i);else for(;s.length<i;)s.push("");for(;o<s.length;o++)s[o]=s[o].trim().replace(It.slashPipe,"|");return s}function Pa(r,i,c){const s=r.length;if(s===0)return"";let o=0;for(;o<s&&r.charAt(s-o-1)===i;)o++;return r.slice(0,s-o)}function L0(r,i){if(r.indexOf(i[1])===-1)return-1;let c=0;for(let s=0;s<r.length;s++)if(r[s]==="\\")s++;else if(r[s]===i[0])c++;else if(r[s]===i[1]&&(c--,c<0))return s;return c>0?-2:-1}function ao(r,i,c,s,o){const d=i.href,g=i.title||null,m=r[1].replace(o.other.outputLinkReplace,"$1");s.state.inLink=!0;const w={type:r[0].charAt(0)==="!"?"image":"link",raw:c,href:d,title:g,text:m,tokens:s.inlineTokens(m)};return s.state.inLink=!1,w}function Y0(r,i,c){const s=r.match(c.other.indentCodeCompensation);if(s===null)return i;const o=s[1];return i.split(`
97
102
  `).map(d=>{const g=d.match(c.other.beginningSpace);if(g===null)return d;const[m]=g;return m.length>=o.length?d.slice(o.length):d}).join(`
98
103
  `)}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 c=i[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?c:Pa(c,`
99
- `)}}}fences(r){const i=this.rules.block.fences.exec(r);if(i){const c=i[0],s=H0(c,i[3]||"",this.rules);return{type:"code",raw:c,lang:i[2]?i[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):i[2],text:s}}}heading(r){const i=this.rules.block.heading.exec(r);if(i){let c=i[2].trim();if(this.rules.other.endingHash.test(c)){const s=Pa(c,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(c=s.trim())}return{type:"heading",raw:i[0],depth:i[1].length,text:c,tokens:this.lexer.inline(c)}}}hr(r){const i=this.rules.block.hr.exec(r);if(i)return{type:"hr",raw:Pa(i[0],`
104
+ `)}}}fences(r){const i=this.rules.block.fences.exec(r);if(i){const c=i[0],s=Y0(c,i[3]||"",this.rules);return{type:"code",raw:c,lang:i[2]?i[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):i[2],text:s}}}heading(r){const i=this.rules.block.heading.exec(r);if(i){let c=i[2].trim();if(this.rules.other.endingHash.test(c)){const s=Pa(c,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(c=s.trim())}return{type:"heading",raw:i[0],depth:i[1].length,text:c,tokens:this.lexer.inline(c)}}}hr(r){const i=this.rules.block.hr.exec(r);if(i)return{type:"hr",raw:Pa(i[0],`
100
105
  `)}}blockquote(r){const i=this.rules.block.blockquote.exec(r);if(i){let c=Pa(i[0],`
101
106
  `).split(`
102
107
  `),s="",o="";const d=[];for(;c.length>0;){let g=!1;const m=[];let w;for(w=0;w<c.length;w++)if(this.rules.other.blockquoteStart.test(c[w]))m.push(c[w]),g=!0;else if(!g)m.push(c[w]);else break;c=c.slice(w);const p=m.join(`
103
108
  `),v=p.replace(this.rules.other.blockquoteSetextReplace,`
104
109
  $1`).replace(this.rules.other.blockquoteSetextReplace2,"");s=s?`${s}
105
110
  ${p}`:p,o=o?`${o}
106
- ${v}`:v;const k=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(v,d,!0),this.lexer.state.top=k,c.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 X=D,N=X.raw+`
111
+ ${v}`:v;const _=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(v,d,!0),this.lexer.state.top=_,c.length===0)break;const O=d.at(-1);if((O==null?void 0:O.type)==="code")break;if((O==null?void 0:O.type)==="blockquote"){const Z=O,U=Z.raw+`
107
112
  `+c.join(`
108
- `),j=this.blockquote(N);d[d.length-1]=j,s=s.substring(0,s.length-X.raw.length)+j.raw,o=o.substring(0,o.length-X.text.length)+j.text;break}else if((D==null?void 0:D.type)==="list"){const X=D,N=X.raw+`
113
+ `),H=this.blockquote(U);d[d.length-1]=H,s=s.substring(0,s.length-Z.raw.length)+H.raw,o=o.substring(0,o.length-Z.text.length)+H.text;break}else if((O==null?void 0:O.type)==="list"){const Z=O,U=Z.raw+`
109
114
  `+c.join(`
110
- `),j=this.list(N);d[d.length-1]=j,s=s.substring(0,s.length-D.raw.length)+j.raw,o=o.substring(0,o.length-X.raw.length)+j.raw,c=N.substring(d.at(-1).raw.length).split(`
111
- `);continue}}return{type:"blockquote",raw:s,tokens:d,text:o}}}list(r){let i=this.rules.block.list.exec(r);if(i){let c=i[1].trim();const s=c.length>1,o={type:"list",raw:"",ordered:s,start:s?+c.slice(0,-1):"",loose:!1,items:[]};c=s?`\\d{1,9}\\${c.slice(-1)}`:`\\${c}`,this.options.pedantic&&(c=s?c:"[*+-]");const d=this.rules.other.listItemRegex(c);let g=!1;for(;r;){let w=!1,p="",v="";if(!(i=d.exec(r))||this.rules.block.hr.test(r))break;p=i[0],r=r.substring(p.length);let k=i[2].split(`
112
- `,1)[0].replace(this.rules.other.listReplaceTabs,tt=>" ".repeat(3*tt.length)),D=r.split(`
113
- `,1)[0],X=!k.trim(),N=0;if(this.options.pedantic?(N=2,v=k.trimStart()):X?N=i[1].length+1:(N=i[2].search(this.rules.other.nonSpaceChar),N=N>4?1:N,v=k.slice(N),N+=i[1].length),X&&this.rules.other.blankLine.test(D)&&(p+=D+`
114
- `,r=r.substring(D.length+1),w=!0),!w){const tt=this.rules.other.nextBulletRegex(N),ct=this.rules.other.hrRegex(N),st=this.rules.other.fencesBeginRegex(N),ut=this.rules.other.headingBeginRegex(N),ht=this.rules.other.htmlBeginRegex(N);for(;r;){const Z=r.split(`
115
- `,1)[0];let vt;if(D=Z,this.options.pedantic?(D=D.replace(this.rules.other.listReplaceNesting," "),vt=D):vt=D.replace(this.rules.other.tabCharGlobal," "),st.test(D)||ut.test(D)||ht.test(D)||tt.test(D)||ct.test(D))break;if(vt.search(this.rules.other.nonSpaceChar)>=N||!D.trim())v+=`
116
- `+vt.slice(N);else{if(X||k.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||st.test(k)||ut.test(k)||ct.test(k))break;v+=`
117
- `+D}!X&&!D.trim()&&(X=!0),p+=Z+`
118
- `,r=r.substring(Z.length+1),k=vt.slice(N)}}o.loose||(g?o.loose=!0:this.rules.other.doubleBlankLine.test(p)&&(g=!0));let j=null,L;this.options.gfm&&(j=this.rules.other.listIsTask.exec(v),j&&(L=j[0]!=="[ ] ",v=v.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:p,task:!!j,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 w=0;w<o.items.length;w++)if(this.lexer.state.top=!1,o.items[w].tokens=this.lexer.blockTokens(o.items[w].text,[]),!o.loose){const p=o.items[w].tokens.filter(k=>k.type==="space"),v=p.length>0&&p.some(k=>this.rules.other.anyLine.test(k.raw));o.loose=v}if(o.loose)for(let w=0;w<o.items.length;w++)o.items[w].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 c=i[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),s=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:c,raw:i[0],href:s,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 c=lo(i[1]),s=i[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=(g=i[3])!=null&&g.trim()?i[3].replace(this.rules.other.tableRowBlankLine,"").split(`
115
+ `),H=this.list(U);d[d.length-1]=H,s=s.substring(0,s.length-O.raw.length)+H.raw,o=o.substring(0,o.length-Z.raw.length)+H.raw,c=U.substring(d.at(-1).raw.length).split(`
116
+ `);continue}}return{type:"blockquote",raw:s,tokens:d,text:o}}}list(r){let i=this.rules.block.list.exec(r);if(i){let c=i[1].trim();const s=c.length>1,o={type:"list",raw:"",ordered:s,start:s?+c.slice(0,-1):"",loose:!1,items:[]};c=s?`\\d{1,9}\\${c.slice(-1)}`:`\\${c}`,this.options.pedantic&&(c=s?c:"[*+-]");const d=this.rules.other.listItemRegex(c);let g=!1;for(;r;){let w=!1,p="",v="";if(!(i=d.exec(r))||this.rules.block.hr.test(r))break;p=i[0],r=r.substring(p.length);let _=i[2].split(`
117
+ `,1)[0].replace(this.rules.other.listReplaceTabs,P=>" ".repeat(3*P.length)),O=r.split(`
118
+ `,1)[0],Z=!_.trim(),U=0;if(this.options.pedantic?(U=2,v=_.trimStart()):Z?U=i[1].length+1:(U=i[2].search(this.rules.other.nonSpaceChar),U=U>4?1:U,v=_.slice(U),U+=i[1].length),Z&&this.rules.other.blankLine.test(O)&&(p+=O+`
119
+ `,r=r.substring(O.length+1),w=!0),!w){const P=this.rules.other.nextBulletRegex(U),st=this.rules.other.hrRegex(U),ut=this.rules.other.fencesBeginRegex(U),ct=this.rules.other.headingBeginRegex(U),ht=this.rules.other.htmlBeginRegex(U);for(;r;){const V=r.split(`
120
+ `,1)[0];let mt;if(O=V,this.options.pedantic?(O=O.replace(this.rules.other.listReplaceNesting," "),mt=O):mt=O.replace(this.rules.other.tabCharGlobal," "),ut.test(O)||ct.test(O)||ht.test(O)||P.test(O)||st.test(O))break;if(mt.search(this.rules.other.nonSpaceChar)>=U||!O.trim())v+=`
121
+ `+mt.slice(U);else{if(Z||_.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||ut.test(_)||ct.test(_)||st.test(_))break;v+=`
122
+ `+O}!Z&&!O.trim()&&(Z=!0),p+=V+`
123
+ `,r=r.substring(V.length+1),_=mt.slice(U)}}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 w=0;w<o.items.length;w++)if(this.lexer.state.top=!1,o.items[w].tokens=this.lexer.blockTokens(o.items[w].text,[]),!o.loose){const p=o.items[w].tokens.filter(_=>_.type==="space"),v=p.length>0&&p.some(_=>this.rules.other.anyLine.test(_.raw));o.loose=v}if(o.loose)for(let w=0;w<o.items.length;w++)o.items[w].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 c=i[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),s=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:c,raw:i[0],href:s,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 c=lo(i[1]),s=i[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=(g=i[3])!=null&&g.trim()?i[3].replace(this.rules.other.tableRowBlankLine,"").split(`
119
124
  `):[],d={type:"table",raw:i[0],header:[],align:[],rows:[]};if(c.length===s.length){for(const m of s)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<c.length;m++)d.header.push({text:c[m],tokens:this.lexer.inline(c[m]),header:!0,align:d.align[m]});for(const m of o)d.rows.push(lo(m,d.header.length).map((w,p)=>({text:w,tokens:this.lexer.inline(w),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 c=i[1].charAt(i[1].length-1)===`
120
- `?i[1].slice(0,-1):i[1];return{type:"paragraph",raw:i[0],text:c,tokens:this.lexer.inline(c)}}}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 c=i[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(c)){if(!this.rules.other.endAngleBracket.test(c))return;const d=Pa(c.slice(0,-1),"\\");if((c.length-d.length)%2===0)return}else{const d=q0(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 s=i[2],o="";if(this.options.pedantic){const d=this.rules.other.pedanticHrefTitle.exec(s);d&&(s=d[1],o=d[3])}else o=i[3]?i[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(c)?s=s.slice(1):s=s.slice(1,-1)),ao(i,{href:s&&s.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 c;if((c=this.rules.inline.reflink.exec(r))||(c=this.rules.inline.nolink.exec(r))){const s=(c[2]||c[1]).replace(this.rules.other.multipleSpaceGlobal," "),o=i[s.toLowerCase()];if(!o){const d=c[0].charAt(0);return{type:"text",raw:d,text:d}}return ao(c,o,c[0],this.lexer,this.rules)}}emStrong(r,i,c=""){let s=this.rules.inline.emStrongLDelim.exec(r);if(!s||s[3]&&c.match(this.rules.other.unicodeAlphaNumeric))return;if(!(s[1]||s[2]||"")||!c||this.rules.inline.punctuation.exec(c)){const d=[...s[0]].length-1;let g,m,w=d,p=0;const v=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,i=i.slice(-1*r.length+d);(s=v.exec(i))!=null;){if(g=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!g)continue;if(m=[...g].length,s[3]||s[4]){w+=m;continue}else if((s[5]||s[6])&&d%3&&!((d+m)%3)){p+=m;continue}if(w-=m,w>0)continue;m=Math.min(m,m+w+p);const k=[...s[0]][0].length,D=r.slice(0,d+s.index+k+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 X=D.slice(2,-2);return{type:"strong",raw:D,text:X,tokens:this.lexer.inlineTokens(X)}}}}codespan(r){const i=this.rules.inline.code.exec(r);if(i){let c=i[2].replace(this.rules.other.newLineCharGlobal," ");const s=this.rules.other.nonSpaceChar.test(c),o=this.rules.other.startingSpaceChar.test(c)&&this.rules.other.endingSpaceChar.test(c);return s&&o&&(c=c.substring(1,c.length-1)),{type:"codespan",raw:i[0],text:c}}}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 c,s;return i[2]==="@"?(c=i[1],s="mailto:"+c):(c=i[1],s=c),{type:"link",raw:i[0],text:c,href:s,tokens:[{type:"text",raw:c,text:c}]}}}url(r){var c;let i;if(i=this.rules.inline.url.exec(r)){let s,o;if(i[2]==="@")s=i[0],o="mailto:"+s;else{let d;do d=i[0],i[0]=((c=this.rules.inline._backpedal.exec(i[0]))==null?void 0:c[0])??"";while(d!==i[0]);s=i[0],i[1]==="www."?o="http://"+i[0]:o=i[0]}return{type:"link",raw:i[0],text:s,href:o,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(r){const i=this.rules.inline.text.exec(r);if(i){const c=this.lexer.state.inRawBlock;return{type:"text",raw:i[0],text:i[0],escaped:c}}}},Ve=class ks{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 c={other:le,block:ni.normal,inline:Fa.normal};this.options.pedantic?(c.block=ni.pedantic,c.inline=Fa.pedantic):this.options.gfm&&(c.block=ni.gfm,this.options.breaks?c.inline=Fa.breaks:c.inline=Fa.gfm),this.tokenizer.rules=c}static get rules(){return{block:ni,inline:Fa}}static lex(i,c){return new ks(c).lex(i)}static lexInline(i,c){return new ks(c).inlineTokens(i)}lex(i){i=i.replace(le.carriageReturn,`
121
- `),this.blockTokens(i,this.tokens);for(let c=0;c<this.inlineQueue.length;c++){const s=this.inlineQueue[c];this.inlineTokens(s.src,s.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(i,c=[],s=!1){var o,d,g;for(this.options.pedantic&&(i=i.replace(le.tabCharGlobal," ").replace(le.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,c))?(i=i.substring(m.raw.length),c.push(m),!0):!1))continue;if(m=this.tokenizer.space(i)){i=i.substring(m.raw.length);const p=c.at(-1);m.raw.length===1&&p!==void 0?p.raw+=`
125
+ `?i[1].slice(0,-1):i[1];return{type:"paragraph",raw:i[0],text:c,tokens:this.lexer.inline(c)}}}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 c=i[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(c)){if(!this.rules.other.endAngleBracket.test(c))return;const d=Pa(c.slice(0,-1),"\\");if((c.length-d.length)%2===0)return}else{const d=L0(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 s=i[2],o="";if(this.options.pedantic){const d=this.rules.other.pedanticHrefTitle.exec(s);d&&(s=d[1],o=d[3])}else o=i[3]?i[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(c)?s=s.slice(1):s=s.slice(1,-1)),ao(i,{href:s&&s.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 c;if((c=this.rules.inline.reflink.exec(r))||(c=this.rules.inline.nolink.exec(r))){const s=(c[2]||c[1]).replace(this.rules.other.multipleSpaceGlobal," "),o=i[s.toLowerCase()];if(!o){const d=c[0].charAt(0);return{type:"text",raw:d,text:d}}return ao(c,o,c[0],this.lexer,this.rules)}}emStrong(r,i,c=""){let s=this.rules.inline.emStrongLDelim.exec(r);if(!s||s[3]&&c.match(this.rules.other.unicodeAlphaNumeric))return;if(!(s[1]||s[2]||"")||!c||this.rules.inline.punctuation.exec(c)){const d=[...s[0]].length-1;let g,m,w=d,p=0;const v=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,i=i.slice(-1*r.length+d);(s=v.exec(i))!=null;){if(g=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!g)continue;if(m=[...g].length,s[3]||s[4]){w+=m;continue}else if((s[5]||s[6])&&d%3&&!((d+m)%3)){p+=m;continue}if(w-=m,w>0)continue;m=Math.min(m,m+w+p);const _=[...s[0]][0].length,O=r.slice(0,d+s.index+_+m);if(Math.min(d,m)%2){const U=O.slice(1,-1);return{type:"em",raw:O,text:U,tokens:this.lexer.inlineTokens(U)}}const Z=O.slice(2,-2);return{type:"strong",raw:O,text:Z,tokens:this.lexer.inlineTokens(Z)}}}}codespan(r){const i=this.rules.inline.code.exec(r);if(i){let c=i[2].replace(this.rules.other.newLineCharGlobal," ");const s=this.rules.other.nonSpaceChar.test(c),o=this.rules.other.startingSpaceChar.test(c)&&this.rules.other.endingSpaceChar.test(c);return s&&o&&(c=c.substring(1,c.length-1)),{type:"codespan",raw:i[0],text:c}}}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 c,s;return i[2]==="@"?(c=i[1],s="mailto:"+c):(c=i[1],s=c),{type:"link",raw:i[0],text:c,href:s,tokens:[{type:"text",raw:c,text:c}]}}}url(r){var c;let i;if(i=this.rules.inline.url.exec(r)){let s,o;if(i[2]==="@")s=i[0],o="mailto:"+s;else{let d;do d=i[0],i[0]=((c=this.rules.inline._backpedal.exec(i[0]))==null?void 0:c[0])??"";while(d!==i[0]);s=i[0],i[1]==="www."?o="http://"+i[0]:o=i[0]}return{type:"link",raw:i[0],text:s,href:o,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(r){const i=this.rules.inline.text.exec(r);if(i){const c=this.lexer.state.inRawBlock;return{type:"text",raw:i[0],text:i[0],escaped:c}}}},Ve=class ks{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 c={other:It,block:ni.normal,inline:Fa.normal};this.options.pedantic?(c.block=ni.pedantic,c.inline=Fa.pedantic):this.options.gfm&&(c.block=ni.gfm,this.options.breaks?c.inline=Fa.breaks:c.inline=Fa.gfm),this.tokenizer.rules=c}static get rules(){return{block:ni,inline:Fa}}static lex(i,c){return new ks(c).lex(i)}static lexInline(i,c){return new ks(c).inlineTokens(i)}lex(i){i=i.replace(It.carriageReturn,`
126
+ `),this.blockTokens(i,this.tokens);for(let c=0;c<this.inlineQueue.length;c++){const s=this.inlineQueue[c];this.inlineTokens(s.src,s.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(i,c=[],s=!1){var o,d,g;for(this.options.pedantic&&(i=i.replace(It.tabCharGlobal," ").replace(It.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,c))?(i=i.substring(m.raw.length),c.push(m),!0):!1))continue;if(m=this.tokenizer.space(i)){i=i.substring(m.raw.length);const p=c.at(-1);m.raw.length===1&&p!==void 0?p.raw+=`
122
127
  `:c.push(m);continue}if(m=this.tokenizer.code(i)){i=i.substring(m.raw.length);const p=c.at(-1);(p==null?void 0:p.type)==="paragraph"||(p==null?void 0:p.type)==="text"?(p.raw+=`
123
128
  `+m.raw,p.text+=`
124
129
  `+m.text,this.inlineQueue.at(-1).src=p.text):c.push(m);continue}if(m=this.tokenizer.fences(i)){i=i.substring(m.raw.length),c.push(m);continue}if(m=this.tokenizer.heading(i)){i=i.substring(m.raw.length),c.push(m);continue}if(m=this.tokenizer.hr(i)){i=i.substring(m.raw.length),c.push(m);continue}if(m=this.tokenizer.blockquote(i)){i=i.substring(m.raw.length),c.push(m);continue}if(m=this.tokenizer.list(i)){i=i.substring(m.raw.length),c.push(m);continue}if(m=this.tokenizer.html(i)){i=i.substring(m.raw.length),c.push(m);continue}if(m=this.tokenizer.def(i)){i=i.substring(m.raw.length);const p=c.at(-1);(p==null?void 0:p.type)==="paragraph"||(p==null?void 0:p.type)==="text"?(p.raw+=`
125
130
  `+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),c.push(m);continue}if(m=this.tokenizer.lheading(i)){i=i.substring(m.raw.length),c.push(m);continue}let w=i;if((g=this.options.extensions)!=null&&g.startBlock){let p=1/0;const v=i.slice(1);let k;this.options.extensions.startBlock.forEach(D=>{k=D.call({lexer:this},v),typeof k=="number"&&k>=0&&(p=Math.min(p,k))}),p<1/0&&p>=0&&(w=i.substring(0,p+1))}if(this.state.top&&(m=this.tokenizer.paragraph(w))){const p=c.at(-1);s&&(p==null?void 0:p.type)==="paragraph"?(p.raw+=`
131
+ `+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),c.push(m);continue}if(m=this.tokenizer.lheading(i)){i=i.substring(m.raw.length),c.push(m);continue}let w=i;if((g=this.options.extensions)!=null&&g.startBlock){let p=1/0;const v=i.slice(1);let _;this.options.extensions.startBlock.forEach(O=>{_=O.call({lexer:this},v),typeof _=="number"&&_>=0&&(p=Math.min(p,_))}),p<1/0&&p>=0&&(w=i.substring(0,p+1))}if(this.state.top&&(m=this.tokenizer.paragraph(w))){const p=c.at(-1);s&&(p==null?void 0:p.type)==="paragraph"?(p.raw+=`
127
132
  `+m.raw,p.text+=`
128
133
  `+m.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=p.text):c.push(m),s=w.length!==i.length,i=i.substring(m.raw.length);continue}if(m=this.tokenizer.text(i)){i=i.substring(m.raw.length);const p=c.at(-1);(p==null?void 0:p.type)==="text"?(p.raw+=`
129
134
  `+m.raw,p.text+=`
130
- `+m.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=p.text):c.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,c}inline(i,c=[]){return this.inlineQueue.push({src:i,tokens:c}),c}inlineTokens(i,c=[]){var m,w,p;let s=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(s))!=null;)v.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,o.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(o=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let d=!1,g="";for(;i;){d||(g=""),d=!1;let v;if((w=(m=this.options.extensions)==null?void 0:m.inline)!=null&&w.some(D=>(v=D.call({lexer:this},i,c))?(i=i.substring(v.raw.length),c.push(v),!0):!1))continue;if(v=this.tokenizer.escape(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.tag(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.link(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.reflink(i,this.tokens.links)){i=i.substring(v.raw.length);const D=c.at(-1);v.type==="text"&&(D==null?void 0:D.type)==="text"?(D.raw+=v.raw,D.text+=v.text):c.push(v);continue}if(v=this.tokenizer.emStrong(i,s,g)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.codespan(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.br(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.del(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.autolink(i)){i=i.substring(v.raw.length),c.push(v);continue}if(!this.state.inLink&&(v=this.tokenizer.url(i))){i=i.substring(v.raw.length),c.push(v);continue}let k=i;if((p=this.options.extensions)!=null&&p.startInline){let D=1/0;const X=i.slice(1);let N;this.options.extensions.startInline.forEach(j=>{N=j.call({lexer:this},X),typeof N=="number"&&N>=0&&(D=Math.min(D,N))}),D<1/0&&D>=0&&(k=i.substring(0,D+1))}if(v=this.tokenizer.inlineText(k)){i=i.substring(v.raw.length),v.raw.slice(-1)!=="_"&&(g=v.raw.slice(-1)),d=!0;const D=c.at(-1);(D==null?void 0:D.type)==="text"?(D.raw+=v.raw,D.text+=v.text):c.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 c}},ui=class{constructor(r){Tt(this,"options");Tt(this,"parser");this.options=r||Bl}space(r){return""}code({text:r,lang:i,escaped:c}){var d;const s=(d=(i||"").match(le.notSpaceStart))==null?void 0:d[0],o=r.replace(le.endingNewline,"")+`
135
+ `+m.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=p.text):c.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,c}inline(i,c=[]){return this.inlineQueue.push({src:i,tokens:c}),c}inlineTokens(i,c=[]){var m,w,p;let s=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(s))!=null;)v.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,o.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(o=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let d=!1,g="";for(;i;){d||(g=""),d=!1;let v;if((w=(m=this.options.extensions)==null?void 0:m.inline)!=null&&w.some(O=>(v=O.call({lexer:this},i,c))?(i=i.substring(v.raw.length),c.push(v),!0):!1))continue;if(v=this.tokenizer.escape(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.tag(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.link(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.reflink(i,this.tokens.links)){i=i.substring(v.raw.length);const O=c.at(-1);v.type==="text"&&(O==null?void 0:O.type)==="text"?(O.raw+=v.raw,O.text+=v.text):c.push(v);continue}if(v=this.tokenizer.emStrong(i,s,g)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.codespan(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.br(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.del(i)){i=i.substring(v.raw.length),c.push(v);continue}if(v=this.tokenizer.autolink(i)){i=i.substring(v.raw.length),c.push(v);continue}if(!this.state.inLink&&(v=this.tokenizer.url(i))){i=i.substring(v.raw.length),c.push(v);continue}let _=i;if((p=this.options.extensions)!=null&&p.startInline){let O=1/0;const Z=i.slice(1);let U;this.options.extensions.startInline.forEach(H=>{U=H.call({lexer:this},Z),typeof U=="number"&&U>=0&&(O=Math.min(O,U))}),O<1/0&&O>=0&&(_=i.substring(0,O+1))}if(v=this.tokenizer.inlineText(_)){i=i.substring(v.raw.length),v.raw.slice(-1)!=="_"&&(g=v.raw.slice(-1)),d=!0;const O=c.at(-1);(O==null?void 0:O.type)==="text"?(O.raw+=v.raw,O.text+=v.text):c.push(v);continue}if(i){const O="Infinite loop on byte: "+i.charCodeAt(0);if(this.options.silent){console.error(O);break}else throw new Error(O)}}return c}},ui=class{constructor(r){Tt(this,"options");Tt(this,"parser");this.options=r||Bl}space(r){return""}code({text:r,lang:i,escaped:c}){var d;const s=(d=(i||"").match(It.notSpaceStart))==null?void 0:d[0],o=r.replace(It.endingNewline,"")+`
131
136
  `;return s?'<pre><code class="language-'+qe(s)+'">'+(c?o:qe(o,!0))+`</code></pre>
132
137
  `:"<pre><code>"+(c?o:qe(o,!0))+`</code></pre>
133
138
  `}blockquote({tokens:r}){return`<blockquote>
@@ -146,23 +151,26 @@ ${this.parser.parse(r)}</blockquote>
146
151
  ${r}</tr>
147
152
  `}tablecell(r){const i=this.parser.parseInline(r.tokens),c=r.header?"th":"td";return(r.align?`<${c} align="${r.align}">`:`<${c}>`)+i+`</${c}>
148
153
  `}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>${qe(r,!0)}</code>`}br(r){return"<br>"}del({tokens:r}){return`<del>${this.parser.parseInline(r)}</del>`}link({href:r,title:i,tokens:c}){const s=this.parser.parseInline(c),o=eo(r);if(o===null)return s;r=o;let d='<a href="'+r+'"';return i&&(d+=' title="'+qe(i)+'"'),d+=">"+s+"</a>",d}image({href:r,title:i,text:c,tokens:s}){s&&(c=this.parser.parseInline(s,this.parser.textRenderer));const o=eo(r);if(o===null)return qe(c);r=o;let d=`<img src="${r}" alt="${c}"`;return i&&(d+=` title="${qe(i)}"`),d+=">",d}text(r){return"tokens"in r&&r.tokens?this.parser.parseInline(r.tokens):"escaped"in r&&r.escaped?r.text:qe(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 _s{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,c){return new _s(c).parse(i)}static parseInline(i,c){return new _s(c).parseInline(i)}parse(i,c=!0){var o,d;let s="";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)){s+=v||"";continue}}const w=m;switch(w.type){case"space":{s+=this.renderer.space(w);continue}case"hr":{s+=this.renderer.hr(w);continue}case"heading":{s+=this.renderer.heading(w);continue}case"code":{s+=this.renderer.code(w);continue}case"table":{s+=this.renderer.table(w);continue}case"blockquote":{s+=this.renderer.blockquote(w);continue}case"list":{s+=this.renderer.list(w);continue}case"html":{s+=this.renderer.html(w);continue}case"paragraph":{s+=this.renderer.paragraph(w);continue}case"text":{let p=w,v=this.renderer.text(p);for(;g+1<i.length&&i[g+1].type==="text";)p=i[++g],v+=`
149
- `+this.renderer.text(p);c?s+=this.renderer.paragraph({type:"paragraph",raw:v,text:v,tokens:[{type:"text",raw:v,text:v,escaped:!0}]}):s+=v;continue}default:{const p='Token with "'+w.type+'" type was not found.';if(this.options.silent)return console.error(p),"";throw new Error(p)}}}return s}parseInline(i,c=this.renderer){var o,d;let s="";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)){s+=p||"";continue}}const w=m;switch(w.type){case"escape":{s+=c.text(w);break}case"html":{s+=c.html(w);break}case"link":{s+=c.link(w);break}case"image":{s+=c.image(w);break}case"strong":{s+=c.strong(w);break}case"em":{s+=c.em(w);break}case"codespan":{s+=c.codespan(w);break}case"br":{s+=c.br(w);break}case"del":{s+=c.del(w);break}case"text":{s+=c.text(w);break}default:{const p='Token with "'+w.type+'" type was not found.';if(this.options.silent)return console.error(p),"";throw new Error(p)}}}return s}},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),j0=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 s,o;let c=[];for(const d of r)switch(c=c.concat(i.call(this,d)),d.type){case"table":{const g=d;for(const m of g.header)c=c.concat(this.walkTokens(m.tokens,i));for(const m of g.rows)for(const w of m)c=c.concat(this.walkTokens(w.tokens,i));break}case"list":{const g=d;c=c.concat(this.walkTokens(g.items,i));break}default:{const g=d;(o=(s=this.defaults.extensions)==null?void 0:s.childTokens)!=null&&o[g.type]?this.defaults.extensions.childTokens[g.type].forEach(m=>{const w=g[m].flat(1/0);c=c.concat(this.walkTokens(w,i))}):g.tokens&&(c=c.concat(this.walkTokens(g.tokens,i)))}}return c}use(...r){const i=this.defaults.extensions||{renderers:{},childTokens:{}};return r.forEach(c=>{const s={...c};if(s.async=this.defaults.async||s.async||!1,c.extensions&&(c.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)}),s.extensions=i),c.renderer){const o=this.defaults.renderer||new ui(this.defaults);for(const d in c.renderer){if(!(d in o))throw new Error(`renderer '${d}' does not exist`);if(["options","parser"].includes(d))continue;const g=d,m=c.renderer[g],w=o[g];o[g]=(...p)=>{let v=m.apply(o,p);return v===!1&&(v=w.apply(o,p)),v||""}}s.renderer=o}if(c.tokenizer){const o=this.defaults.tokenizer||new ii(this.defaults);for(const d in c.tokenizer){if(!(d in o))throw new Error(`tokenizer '${d}' does not exist`);if(["options","rules","lexer"].includes(d))continue;const g=d,m=c.tokenizer[g],w=o[g];o[g]=(...p)=>{let v=m.apply(o,p);return v===!1&&(v=w.apply(o,p)),v}}s.tokenizer=o}if(c.hooks){const o=this.defaults.hooks||new ri;for(const d in c.hooks){if(!(d in o))throw new Error(`hook '${d}' does not exist`);if(["options","block"].includes(d))continue;const g=d,m=c.hooks[g],w=o[g];ri.passThroughHooks.has(d)?o[g]=p=>{if(this.defaults.async)return Promise.resolve(m.call(o,p)).then(k=>w.call(o,k));const v=m.call(o,p);return w.call(o,v)}:o[g]=(...p)=>{let v=m.apply(o,p);return v===!1&&(v=w.apply(o,p)),v}}s.hooks=o}if(c.walkTokens){const o=this.defaults.walkTokens,d=c.walkTokens;s.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,...s}}),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(c,s)=>{const o={...s},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 c>"u"||c===null)return g(new Error("marked(): input parameter is undefined or null"));if(typeof c!="string")return g(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(c)+", string expected"));d.hooks&&(d.hooks.options=d,d.hooks.block=r);const m=d.hooks?d.hooks.provideLexer():r?Ve.lex:Ve.lexInline,w=d.hooks?d.hooks.provideParser():r?Ke.parse:Ke.parseInline;if(d.async)return Promise.resolve(d.hooks?d.hooks.preprocess(c):c).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=>w(p,d)).then(p=>d.hooks?d.hooks.postprocess(p):p).catch(g);try{d.hooks&&(c=d.hooks.preprocess(c));let p=m(c,d);d.hooks&&(p=d.hooks.processAllTokens(p)),d.walkTokens&&this.walkTokens(p,d.walkTokens);let v=w(p,d);return d.hooks&&(v=d.hooks.postprocess(v)),v}catch(p){return g(p)}}}onError(r,i){return c=>{if(c.message+=`
150
- Please report this to https://github.com/markedjs/marked.`,r){const s="<p>An error occurred:</p><pre>"+qe(c.message+"",!0)+"</pre>";return i?Promise.resolve(s):s}if(i)return Promise.reject(c);throw c}}},Cl=new j0;function pt(r,i){return Cl.parse(r,i)}pt.options=pt.setOptions=function(r){return Cl.setOptions(r),pt.defaults=Cl.defaults,Gs(pt.defaults),pt},pt.getDefaults=Xu,pt.defaults=Bl,pt.use=function(...r){return Cl.use(...r),pt.defaults=Cl.defaults,Gs(pt.defaults),pt},pt.walkTokens=function(r,i){return Cl.walkTokens(r,i)},pt.parseInline=Cl.parseInline,pt.Parser=Ke,pt.parser=Ke.parse,pt.Renderer=ui,pt.TextRenderer=Pu,pt.Lexer=Ve,pt.lexer=Ve.lex,pt.Tokenizer=ii,pt.Hooks=ri,pt.parse=pt,pt.options,pt.setOptions,pt.use,pt.walkTokens,pt.parseInline,Ke.parse,Ve.lex;function L0({message:r,index:i,theme:c}){const s=Lt.useMemo(()=>pt(r.content.replaceAll("```",""),{gfm:!0,breaks:!0}),[r.content]);return K.jsx("div",{className:`flex ${r.sender==="user"?"justify-end ai-chatbot__user-message":"justify-start ai-chatbot__bot-message"}`,style:{animationDelay:`${i*.1}s`},children:K.jsx("div",{className:`
154
+ `+this.renderer.text(p);c?s+=this.renderer.paragraph({type:"paragraph",raw:v,text:v,tokens:[{type:"text",raw:v,text:v,escaped:!0}]}):s+=v;continue}default:{const p='Token with "'+w.type+'" type was not found.';if(this.options.silent)return console.error(p),"";throw new Error(p)}}}return s}parseInline(i,c=this.renderer){var o,d;let s="";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)){s+=p||"";continue}}const w=m;switch(w.type){case"escape":{s+=c.text(w);break}case"html":{s+=c.html(w);break}case"link":{s+=c.link(w);break}case"image":{s+=c.image(w);break}case"strong":{s+=c.strong(w);break}case"em":{s+=c.em(w);break}case"codespan":{s+=c.codespan(w);break}case"br":{s+=c.br(w);break}case"del":{s+=c.del(w);break}case"text":{s+=c.text(w);break}default:{const p='Token with "'+w.type+'" type was not found.';if(this.options.silent)return console.error(p),"";throw new Error(p)}}}return s}},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),G0=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 s,o;let c=[];for(const d of r)switch(c=c.concat(i.call(this,d)),d.type){case"table":{const g=d;for(const m of g.header)c=c.concat(this.walkTokens(m.tokens,i));for(const m of g.rows)for(const w of m)c=c.concat(this.walkTokens(w.tokens,i));break}case"list":{const g=d;c=c.concat(this.walkTokens(g.items,i));break}default:{const g=d;(o=(s=this.defaults.extensions)==null?void 0:s.childTokens)!=null&&o[g.type]?this.defaults.extensions.childTokens[g.type].forEach(m=>{const w=g[m].flat(1/0);c=c.concat(this.walkTokens(w,i))}):g.tokens&&(c=c.concat(this.walkTokens(g.tokens,i)))}}return c}use(...r){const i=this.defaults.extensions||{renderers:{},childTokens:{}};return r.forEach(c=>{const s={...c};if(s.async=this.defaults.async||s.async||!1,c.extensions&&(c.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)}),s.extensions=i),c.renderer){const o=this.defaults.renderer||new ui(this.defaults);for(const d in c.renderer){if(!(d in o))throw new Error(`renderer '${d}' does not exist`);if(["options","parser"].includes(d))continue;const g=d,m=c.renderer[g],w=o[g];o[g]=(...p)=>{let v=m.apply(o,p);return v===!1&&(v=w.apply(o,p)),v||""}}s.renderer=o}if(c.tokenizer){const o=this.defaults.tokenizer||new ii(this.defaults);for(const d in c.tokenizer){if(!(d in o))throw new Error(`tokenizer '${d}' does not exist`);if(["options","rules","lexer"].includes(d))continue;const g=d,m=c.tokenizer[g],w=o[g];o[g]=(...p)=>{let v=m.apply(o,p);return v===!1&&(v=w.apply(o,p)),v}}s.tokenizer=o}if(c.hooks){const o=this.defaults.hooks||new ri;for(const d in c.hooks){if(!(d in o))throw new Error(`hook '${d}' does not exist`);if(["options","block"].includes(d))continue;const g=d,m=c.hooks[g],w=o[g];ri.passThroughHooks.has(d)?o[g]=p=>{if(this.defaults.async)return Promise.resolve(m.call(o,p)).then(_=>w.call(o,_));const v=m.call(o,p);return w.call(o,v)}:o[g]=(...p)=>{let v=m.apply(o,p);return v===!1&&(v=w.apply(o,p)),v}}s.hooks=o}if(c.walkTokens){const o=this.defaults.walkTokens,d=c.walkTokens;s.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,...s}}),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(c,s)=>{const o={...s},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 c>"u"||c===null)return g(new Error("marked(): input parameter is undefined or null"));if(typeof c!="string")return g(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(c)+", string expected"));d.hooks&&(d.hooks.options=d,d.hooks.block=r);const m=d.hooks?d.hooks.provideLexer():r?Ve.lex:Ve.lexInline,w=d.hooks?d.hooks.provideParser():r?Ke.parse:Ke.parseInline;if(d.async)return Promise.resolve(d.hooks?d.hooks.preprocess(c):c).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=>w(p,d)).then(p=>d.hooks?d.hooks.postprocess(p):p).catch(g);try{d.hooks&&(c=d.hooks.preprocess(c));let p=m(c,d);d.hooks&&(p=d.hooks.processAllTokens(p)),d.walkTokens&&this.walkTokens(p,d.walkTokens);let v=w(p,d);return d.hooks&&(v=d.hooks.postprocess(v)),v}catch(p){return g(p)}}}onError(r,i){return c=>{if(c.message+=`
155
+ Please report this to https://github.com/markedjs/marked.`,r){const s="<p>An error occurred:</p><pre>"+qe(c.message+"",!0)+"</pre>";return i?Promise.resolve(s):s}if(i)return Promise.reject(c);throw c}}},Cl=new G0;function gt(r,i){return Cl.parse(r,i)}gt.options=gt.setOptions=function(r){return Cl.setOptions(r),gt.defaults=Cl.defaults,Gs(gt.defaults),gt},gt.getDefaults=Xu,gt.defaults=Bl,gt.use=function(...r){return Cl.use(...r),gt.defaults=Cl.defaults,Gs(gt.defaults),gt},gt.walkTokens=function(r,i){return Cl.walkTokens(r,i)},gt.parseInline=Cl.parseInline,gt.Parser=Ke,gt.parser=Ke.parse,gt.Renderer=ui,gt.TextRenderer=Pu,gt.Lexer=Ve,gt.lexer=Ve.lex,gt.Tokenizer=ii,gt.Hooks=ri,gt.parse=gt,gt.options,gt.setOptions,gt.use,gt.walkTokens,gt.parseInline,Ke.parse,Ve.lex;function no({message:r,index:i,theme:c,margin:s=!0}){const o=qt.useMemo(()=>gt(r.content.replaceAll("```",""),{gfm:!0,breaks:!0}),[r.content]);return X.jsx("div",{className:`flex max-w-[400px] ${r.sender==="user"?"justify-end ai-chatbot__user-message":"justify-start ai-chatbot__bot-message"}`,style:{animationDelay:`${i*.1}s`},children:X.jsx("div",{className:`
151
156
  rounded-2xl p-3 shadow-lg
152
- ${r.sender==="user"?`${ee(c,"messageUser")} ml-4 max-w-[80%]`:`${ee(c,"messageBot")} mr-4 max-w-[100%]`}
153
- `,children:K.jsxs("div",{className:"flex items-start space-x-2",children:[r.sender==="bot"&&K.jsx(Gu,{className:`w-4 h-4 mt-0.5 ${ee(c,"messageBotIcon")} flex-shrink-0`}),r.sender==="user"&&K.jsx(e0,{className:`w-4 h-4 mt-0.5 ${ee(c,"messageUserIcon")} flex-shrink-0`}),K.jsx("div",{className:"text-sm leading-relaxed message",dangerouslySetInnerHTML:{__html:s}})]})})})}function Y0(){return K.jsx("div",{className:"flex justify-start",children:K.jsx("div",{className:"bg-gradient-to-r from-slate-700 to-slate-600 rounded-2xl p-3 mr-4",children:K.jsxs("div",{className:"flex items-center space-x-2",children:[K.jsx(Gu,{className:"w-4 h-4 text-cyan-400"}),K.jsxs("div",{className:"flex space-x-1",children:[K.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce"}),K.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),K.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})]})})})}function G0({theme:r}){return K.jsx("div",{className:`absolute -top-2 -left-2 w-6 h-6 rounded-full flex items-center justify-center animate-pulse ${ee(r,"notifyBadge")}`,children:K.jsx("span",{className:"text-xs font-bold",children:"1"})})}function X0({inputValue:r,setInputValue:i,handleSendMessage:c,handleKeyPress:s,theme:o}){return K.jsx("div",{className:`p-4 ${ee(o,"inputContainer")} chatbot-input`,children:K.jsxs("div",{className:"flex space-x-2",children:[K.jsx("textarea",{value:r,onChange:d=>i(d.target.value),onKeyPress:s,placeholder:"Type your message...",className:`flex-1 ${ee(o,"input")} rounded-xl px-4 py-2 transition-all`}),K.jsx("button",{onClick:c,disabled:!r.trim(),children:K.jsx(t0,{className:`w-4 h-4 ${ee(o,"sendButton")} cursor-pointer`})})]})})}function Q0({setIsOpen:r,isOpen:i,theme:c}){return K.jsx("div",{onClick:()=>r(!i),className:`chatbot-open-btn
154
- w-14 h-14 ${ee(c,"openButton")}
155
- rounded-full shadow-2xl items-center justify-center text-white
156
- transition-all duration-300 transform active:scale-9 cursor-pointer backdrop-blur-xl
157
- ${i?"rotate-180":"rotate-0"}
158
- `,style:{boxShadow:ee(c,"openButtonShadow")},children:i?K.jsx(Ys,{className:"w-6 h-6"}):K.jsx(Ip,{className:"w-6 h-6"})})}function Z0(r){return new Promise(i=>setTimeout(i,r))}function V0({prompt:r,handleSendMessage:i,theme:c}){const s=()=>{i(r)};return K.jsx("div",{onClick:s,className:`${ee(c,"prompt")} ai-chatbot-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:K0}=Object.prototype,{getPrototypeOf:Iu}=Object,{iterator:ci,toStringTag:uo}=Symbol,si=(r=>i=>{const c=K0.call(i);return r[c]||(r[c]=c.slice(8,-1).toLowerCase())})(Object.create(null)),Me=r=>(r=r.toLowerCase(),i=>si(i)===r),oi=r=>i=>typeof i===r,{isArray:ia}=Array,Ia=oi("undefined");function J0(r){return r!==null&&!Ia(r)&&r.constructor!==null&&!Ia(r.constructor)&&ne(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const ro=Me("ArrayBuffer");function $0(r){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(r):i=r&&r.buffer&&ro(r.buffer),i}const W0=oi("string"),ne=oi("function"),co=oi("number"),fi=r=>r!==null&&typeof r=="object",F0=r=>r===!0||r===!1,di=r=>{if(si(r)!=="object")return!1;const i=Iu(r);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(uo in r)&&!(ci in r)},P0=Me("Date"),I0=Me("File"),tg=Me("Blob"),eg=Me("FileList"),lg=r=>fi(r)&&ne(r.pipe),ag=r=>{let i;return r&&(typeof FormData=="function"&&r instanceof FormData||ne(r.append)&&((i=si(r))==="formdata"||i==="object"&&ne(r.toString)&&r.toString()==="[object FormData]"))},ng=Me("URLSearchParams"),[ig,ug,rg,cg]=["ReadableStream","Request","Response","Headers"].map(Me),sg=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function tn(r,i,{allOwnKeys:c=!1}={}){if(r===null||typeof r>"u")return;let s,o;if(typeof r!="object"&&(r=[r]),ia(r))for(s=0,o=r.length;s<o;s++)i.call(null,r[s],s,r);else{const d=c?Object.getOwnPropertyNames(r):Object.keys(r),g=d.length;let m;for(s=0;s<g;s++)m=d[s],i.call(null,r[m],m,r)}}function so(r,i){i=i.toLowerCase();const c=Object.keys(r);let s=c.length,o;for(;s-- >0;)if(o=c[s],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={},c=(s,o)=>{const d=r&&so(i,o)||o;di(i[d])&&di(s)?i[d]=tr(i[d],s):di(s)?i[d]=tr({},s):ia(s)?i[d]=s.slice():i[d]=s};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&tn(arguments[s],c);return i}const og=(r,i,c,{allOwnKeys:s}={})=>(tn(i,(o,d)=>{c&&ne(o)?r[d]=no(o,c):r[d]=o},{allOwnKeys:s}),r),fg=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),dg=(r,i,c,s)=>{r.prototype=Object.create(i.prototype,s),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:i.prototype}),c&&Object.assign(r.prototype,c)},hg=(r,i,c,s)=>{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],(!s||s(g,r,i))&&!m[g]&&(i[g]=r[g],m[g]=!0);r=c!==!1&&Iu(r)}while(r&&(!c||c(r,i))&&r!==Object.prototype);return i},pg=(r,i,c)=>{r=String(r),(c===void 0||c>r.length)&&(c=r.length),c-=i.length;const s=r.indexOf(i,c);return s!==-1&&s===c},gg=r=>{if(!r)return null;if(ia(r))return r;let i=r.length;if(!co(i))return null;const c=new Array(i);for(;i-- >0;)c[i]=r[i];return c},mg=(r=>i=>r&&i instanceof r)(typeof Uint8Array<"u"&&Iu(Uint8Array)),bg=(r,i)=>{const s=(r&&r[ci]).call(r);let o;for(;(o=s.next())&&!o.done;){const d=o.value;i.call(r,d[0],d[1])}},vg=(r,i)=>{let c;const s=[];for(;(c=r.exec(i))!==null;)s.push(c);return s},yg=Me("HTMLFormElement"),wg=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(c,s,o){return s.toUpperCase()+o}),fo=(({hasOwnProperty:r})=>(i,c)=>r.call(i,c))(Object.prototype),xg=Me("RegExp"),ho=(r,i)=>{const c=Object.getOwnPropertyDescriptors(r),s={};tn(c,(o,d)=>{let g;(g=i(o,d,r))!==!1&&(s[d]=g||o)}),Object.defineProperties(r,s)},Sg=r=>{ho(r,(i,c)=>{if(ne(r)&&["arguments","caller","callee"].indexOf(c)!==-1)return!1;const s=r[c];if(ne(s)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+c+"'")})}})},Eg=(r,i)=>{const c={},s=o=>{o.forEach(d=>{c[d]=!0})};return ia(r)?s(r):s(String(r).split(i)),c},Tg=()=>{},Ag=(r,i)=>r!=null&&Number.isFinite(r=+r)?r:i;function Rg(r){return!!(r&&ne(r.append)&&r[uo]==="FormData"&&r[ci])}const kg=r=>{const i=new Array(10),c=(s,o)=>{if(fi(s)){if(i.indexOf(s)>=0)return;if(!("toJSON"in s)){i[o]=s;const d=ia(s)?[]:{};return tn(s,(g,m)=>{const w=c(g,o+1);!Ia(w)&&(d[m]=w)}),i[o]=void 0,d}}return s};return c(r,0)},_g=Me("AsyncFunction"),zg=r=>r&&(fi(r)||ne(r))&&ne(r.then)&&ne(r.catch),po=((r,i)=>r?setImmediate:i?((c,s)=>(ql.addEventListener("message",({source:o,data:d})=>{o===ql&&d===c&&s.length&&s.shift()()},!1),o=>{s.push(o),ql.postMessage(c,"*")}))(`axios@${Math.random()}`,[]):c=>setTimeout(c))(typeof setImmediate=="function",ne(ql.postMessage)),Og=typeof queueMicrotask<"u"?queueMicrotask.bind(ql):typeof io<"u"&&io.nextTick||po,_={isArray:ia,isArrayBuffer:ro,isBuffer:J0,isFormData:ag,isArrayBufferView:$0,isString:W0,isNumber:co,isBoolean:F0,isObject:fi,isPlainObject:di,isReadableStream:ig,isRequest:ug,isResponse:rg,isHeaders:cg,isUndefined:Ia,isDate:P0,isFile:I0,isBlob:tg,isRegExp:xg,isFunction:ne,isStream:lg,isURLSearchParams:ng,isTypedArray:mg,isFileList:eg,forEach:tn,merge:tr,extend:og,trim:sg,stripBOM:fg,inherits:dg,toFlatObject:hg,kindOf:si,kindOfTest:Me,endsWith:pg,toArray:gg,forEachEntry:bg,matchAll:vg,isHTMLForm:yg,hasOwnProperty:fo,hasOwnProp:fo,reduceDescriptors:ho,freezeMethods:Sg,toObjectSet:Eg,toCamelCase:wg,noop:Tg,toFiniteNumber:Ag,findKey:so,global:ql,isContextDefined:oo,isSpecCompliantForm:Rg,toJSONObject:kg,isAsyncFn:_g,isThenable:zg,setImmediate:po,asap:Og,isIterable:r=>r!=null&&ne(r[ci])};function P(r,i,c,s,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),c&&(this.config=c),s&&(this.request=s),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,c,s,o,d)=>{const g=Object.create(go);return _.toFlatObject(r,g,function(w){return w!==Error.prototype},m=>m!=="isAxiosError"),P.call(g,r.message,i,c,s,o),g.cause=r,g.name=r.name,d&&Object.assign(g,d),g};const Dg=null;function er(r){return _.isPlainObject(r)||_.isArray(r)}function bo(r){return _.endsWith(r,"[]")?r.slice(0,-2):r}function vo(r,i,c){return r?r.concat(i).map(function(o,d){return o=bo(o),!c&&d?"["+o+"]":o}).join(c?".":""):i}function Mg(r){return _.isArray(r)&&!r.some(er)}const Ng=_.toFlatObject(_,{},null,function(i){return/^is[A-Z]/.test(i)});function hi(r,i,c){if(!_.isObject(r))throw new TypeError("target must be an object");i=i||new FormData,c=_.toFlatObject(c,{metaTokens:!0,dots:!1,indexes:!1},!1,function(j,L){return!_.isUndefined(L[j])});const s=c.metaTokens,o=c.visitor||v,d=c.dots,g=c.indexes,w=(c.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(!w&&_.isBlob(N))throw new P("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(N)||_.isTypedArray(N)?w&&typeof Blob=="function"?new Blob([N]):Buffer.from(N):N}function v(N,j,L){let tt=N;if(N&&!L&&typeof N=="object"){if(_.endsWith(j,"{}"))j=s?j:j.slice(0,-2),N=JSON.stringify(N);else if(_.isArray(N)&&Mg(N)||(_.isFileList(N)||_.endsWith(j,"[]"))&&(tt=_.toArray(N)))return j=bo(j),tt.forEach(function(st,ut){!(_.isUndefined(st)||st===null)&&i.append(g===!0?vo([j],ut,d):g===null?j:j+"[]",p(st))}),!1}return er(N)?!0:(i.append(vo(L,j,d),p(N)),!1)}const k=[],D=Object.assign(Ng,{defaultVisitor:v,convertValue:p,isVisitable:er});function X(N,j){if(!_.isUndefined(N)){if(k.indexOf(N)!==-1)throw Error("Circular reference detected in "+j.join("."));k.push(N),_.forEach(N,function(tt,ct){(!(_.isUndefined(tt)||tt===null)&&o.call(i,tt,_.isString(ct)?ct.trim():ct,j,D))===!0&&X(tt,j?j.concat(ct):[ct])}),k.pop()}}if(!_.isObject(r))throw new TypeError("data must be an object");return X(r),i}function yo(r){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(s){return i[s]})}function lr(r,i){this._pairs=[],r&&hi(r,this,i)}const wo=lr.prototype;wo.append=function(i,c){this._pairs.push([i,c])},wo.toString=function(i){const c=i?function(s){return i.call(this,s,yo)}:yo;return this._pairs.map(function(o){return c(o[0])+"="+c(o[1])},"").join("&")};function Ug(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function xo(r,i,c){if(!i)return r;const s=c&&c.encode||Ug;_.isFunction(c)&&(c={serialize:c});const o=c&&c.serialize;let d;if(o?d=o(i,c):d=_.isURLSearchParams(i)?i.toString():new lr(i,c).toString(s),d){const g=r.indexOf("#");g!==-1&&(r=r.slice(0,g)),r+=(r.indexOf("?")===-1?"?":"&")+d}return r}class So{constructor(){this.handlers=[]}use(i,c,s){return this.handlers.push({fulfilled:i,rejected:c,synchronous:s?s.synchronous:!1,runWhen:s?s.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(s){s!==null&&i(s)})}}const Eo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bg={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,Cg=ar&&(!nr||["ReactNative","NativeScript","NS"].indexOf(nr.product)<0),qg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Hg=ar&&window.location.href||"http://localhost",Ft={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ar,hasStandardBrowserEnv:Cg,hasStandardBrowserWebWorkerEnv:qg,navigator:nr,origin:Hg},Symbol.toStringTag,{value:"Module"})),...Bg};function jg(r,i){return hi(r,new Ft.classes.URLSearchParams,Object.assign({visitor:function(c,s,o,d){return Ft.isNode&&_.isBuffer(c)?(this.append(s,c.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)}},i))}function Lg(r){return _.matchAll(/\w+|\[(\w*)]/g,r).map(i=>i[0]==="[]"?"":i[1]||i[0])}function Yg(r){const i={},c=Object.keys(r);let s;const o=c.length;let d;for(s=0;s<o;s++)d=c[s],i[d]=r[d];return i}function To(r){function i(c,s,o,d){let g=c[d++];if(g==="__proto__")return!0;const m=Number.isFinite(+g),w=d>=c.length;return g=!g&&_.isArray(o)?o.length:g,w?(_.hasOwnProp(o,g)?o[g]=[o[g],s]:o[g]=s,!m):((!o[g]||!_.isObject(o[g]))&&(o[g]=[]),i(c,s,o[g],d)&&_.isArray(o[g])&&(o[g]=Yg(o[g])),!m)}if(_.isFormData(r)&&_.isFunction(r.entries)){const c={};return _.forEachEntry(r,(s,o)=>{i(Lg(s),o,c,0)}),c}return null}function Gg(r,i,c){if(_.isString(r))try{return(i||JSON.parse)(r),_.trim(r)}catch(s){if(s.name!=="SyntaxError")throw s}return(c||JSON.stringify)(r)}const en={transitional:Eo,adapter:["xhr","http","fetch"],transformRequest:[function(i,c){const s=c.getContentType()||"",o=s.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 c.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let m;if(d){if(s.indexOf("application/x-www-form-urlencoded")>-1)return jg(i,this.formSerializer).toString();if((m=_.isFileList(i))||s.indexOf("multipart/form-data")>-1){const w=this.env&&this.env.FormData;return hi(m?{"files[]":i}:i,w&&new w,this.formSerializer)}}return d||o?(c.setContentType("application/json",!1),Gg(i)):i}],transformResponse:[function(i){const c=this.transitional||en.transitional,s=c&&c.forcedJSONParsing,o=this.responseType==="json";if(_.isResponse(i)||_.isReadableStream(i))return i;if(i&&_.isString(i)&&(s&&!this.responseType||o)){const g=!(c&&c.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 Xg=_.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"]),Qg=r=>{const i={};let c,s,o;return r&&r.split(`
159
- `).forEach(function(g){o=g.indexOf(":"),c=g.substring(0,o).trim().toLowerCase(),s=g.substring(o+1).trim(),!(!c||i[c]&&Xg[c])&&(c==="set-cookie"?i[c]?i[c].push(s):i[c]=[s]:i[c]=i[c]?i[c]+", "+s:s)}),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 Zg(r){const i=Object.create(null),c=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=c.exec(r);)i[s[1]]=s[2];return i}const Vg=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function ir(r,i,c,s,o){if(_.isFunction(s))return s.call(this,i,c);if(o&&(i=c),!!_.isString(i)){if(_.isString(s))return i.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(i)}}function Kg(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,c,s)=>c.toUpperCase()+s)}function Jg(r,i){const c=_.toCamelCase(" "+i);["get","set","has"].forEach(s=>{Object.defineProperty(r,s+c,{value:function(o,d,g){return this[s].call(this,i,o,d,g)},configurable:!0})})}let ie=class{constructor(i){i&&this.set(i)}set(i,c,s){const o=this;function d(m,w,p){const v=ln(w);if(!v)throw new Error("header name must be a non-empty string");const k=_.findKey(o,v);(!k||o[k]===void 0||p===!0||p===void 0&&o[k]!==!1)&&(o[k||w]=pi(m))}const g=(m,w)=>_.forEach(m,(p,v)=>d(p,v,w));if(_.isPlainObject(i)||i instanceof this.constructor)g(i,c);else if(_.isString(i)&&(i=i.trim())&&!Vg(i))g(Qg(i),c);else if(_.isObject(i)&&_.isIterable(i)){let m={},w,p;for(const v of i){if(!_.isArray(v))throw TypeError("Object iterator must return a key-value pair");m[p=v[0]]=(w=m[p])?_.isArray(w)?[...w,v[1]]:[w,v[1]]:v[1]}g(m,c)}else i!=null&&d(c,i,s);return this}get(i,c){if(i=ln(i),i){const s=_.findKey(this,i);if(s){const o=this[s];if(!c)return o;if(c===!0)return Zg(o);if(_.isFunction(c))return c.call(this,o,s);if(_.isRegExp(c))return c.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,c){if(i=ln(i),i){const s=_.findKey(this,i);return!!(s&&this[s]!==void 0&&(!c||ir(this,this[s],s,c)))}return!1}delete(i,c){const s=this;let o=!1;function d(g){if(g=ln(g),g){const m=_.findKey(s,g);m&&(!c||ir(s,s[m],m,c))&&(delete s[m],o=!0)}}return _.isArray(i)?i.forEach(d):d(i),o}clear(i){const c=Object.keys(this);let s=c.length,o=!1;for(;s--;){const d=c[s];(!i||ir(this,this[d],d,i,!0))&&(delete this[d],o=!0)}return o}normalize(i){const c=this,s={};return _.forEach(this,(o,d)=>{const g=_.findKey(s,d);if(g){c[g]=pi(o),delete c[d];return}const m=i?Kg(d):String(d).trim();m!==d&&delete c[d],c[m]=pi(o),s[m]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const c=Object.create(null);return _.forEach(this,(s,o)=>{s!=null&&s!==!1&&(c[o]=i&&_.isArray(s)?s.join(", "):s)}),c}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,c])=>i+": "+c).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,...c){const s=new this(i);return c.forEach(o=>s.set(o)),s}static accessor(i){const s=(this[Ao]=this[Ao]={accessors:{}}).accessors,o=this.prototype;function d(g){const m=ln(g);s[m]||(Jg(o,g),s[m]=!0)}return _.isArray(i)?i.forEach(d):d(i),this}};ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),_.reduceDescriptors(ie.prototype,({value:r},i)=>{let c=i[0].toUpperCase()+i.slice(1);return{get:()=>r,set(s){this[c]=s}}}),_.freezeMethods(ie);function ur(r,i){const c=this||en,s=i||c,o=ie.from(s.headers);let d=s.data;return _.forEach(r,function(m){d=m.call(c,d,o.normalize(),i?i.status:void 0)}),o.normalize(),d}function Ro(r){return!!(r&&r.__CANCEL__)}function ua(r,i,c){P.call(this,r??"canceled",P.ERR_CANCELED,i,c),this.name="CanceledError"}_.inherits(ua,P,{__CANCEL__:!0});function ko(r,i,c){const s=c.config.validateStatus;!c.status||!s||s(c.status)?r(c):i(new P("Request failed with status code "+c.status,[P.ERR_BAD_REQUEST,P.ERR_BAD_RESPONSE][Math.floor(c.status/100)-4],c.config,c.request,c))}function $g(r){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return i&&i[1]||""}function Wg(r,i){r=r||10;const c=new Array(r),s=new Array(r);let o=0,d=0,g;return i=i!==void 0?i:1e3,function(w){const p=Date.now(),v=s[d];g||(g=p),c[o]=w,s[o]=p;let k=d,D=0;for(;k!==o;)D+=c[k++],k=k%r;if(o=(o+1)%r,o===d&&(d=(d+1)%r),p-g<i)return;const X=v&&p-v;return X?Math.round(D*1e3/X):void 0}}function Fg(r,i){let c=0,s=1e3/i,o,d;const g=(p,v=Date.now())=>{c=v,o=null,d&&(clearTimeout(d),d=null),r.apply(null,p)};return[(...p)=>{const v=Date.now(),k=v-c;k>=s?g(p,v):(o=p,d||(d=setTimeout(()=>{d=null,g(o)},s-k)))},()=>o&&g(o)]}const gi=(r,i,c=3)=>{let s=0;const o=Wg(50,250);return Fg(d=>{const g=d.loaded,m=d.lengthComputable?d.total:void 0,w=g-s,p=o(w),v=g<=m;s=g;const k={loaded:g,total:m,progress:m?g/m:void 0,bytes:w,rate:p||void 0,estimated:p&&m&&v?(m-g)/p:void 0,event:d,lengthComputable:m!=null,[i?"download":"upload"]:!0};r(k)},c)},_o=(r,i)=>{const c=r!=null;return[s=>i[0]({lengthComputable:c,total:r,loaded:s}),i[1]]},zo=r=>(...i)=>_.asap(()=>r(...i)),Pg=Ft.hasStandardBrowserEnv?((r,i)=>c=>(c=new URL(c,Ft.origin),r.protocol===c.protocol&&r.host===c.host&&(i||r.port===c.port)))(new URL(Ft.origin),Ft.navigator&&/(msie|trident)/i.test(Ft.navigator.userAgent)):()=>!0,Ig=Ft.hasStandardBrowserEnv?{write(r,i,c,s,o,d){const g=[r+"="+encodeURIComponent(i)];_.isNumber(c)&&g.push("expires="+new Date(c).toGMTString()),_.isString(s)&&g.push("path="+s),_.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 tm(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function em(r,i){return i?r.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):r}function Oo(r,i,c){let s=!tm(i);return r&&(s||c==!1)?em(r,i):i}const Do=r=>r instanceof ie?{...r}:r;function Hl(r,i){i=i||{};const c={};function s(p,v,k,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,k,D){if(_.isUndefined(v)){if(!_.isUndefined(p))return s(void 0,p,k,D)}else return s(p,v,k,D)}function d(p,v){if(!_.isUndefined(v))return s(void 0,v)}function g(p,v){if(_.isUndefined(v)){if(!_.isUndefined(p))return s(void 0,p)}else return s(void 0,v)}function m(p,v,k){if(k in i)return s(p,v);if(k in r)return s(void 0,p)}const w={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,k)=>o(Do(p),Do(v),k,!0)};return _.forEach(Object.keys(Object.assign({},r,i)),function(v){const k=w[v]||o,D=k(r[v],i[v],v);_.isUndefined(D)&&k!==m||(c[v]=D)}),c}const Mo=r=>{const i=Hl({},r);let{data:c,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:d,headers:g,auth:m}=i;i.headers=g=ie.from(g),i.url=xo(Oo(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 w;if(_.isFormData(c)){if(Ft.hasStandardBrowserEnv||Ft.hasStandardBrowserWebWorkerEnv)g.setContentType(void 0);else if((w=g.getContentType())!==!1){const[p,...v]=w?w.split(";").map(k=>k.trim()).filter(Boolean):[];g.setContentType([p||"multipart/form-data",...v].join("; "))}}if(Ft.hasStandardBrowserEnv&&(s&&_.isFunction(s)&&(s=s(i)),s||s!==!1&&Pg(i.url))){const p=o&&d&&Ig.read(d);p&&g.set(o,p)}return i},lm=typeof XMLHttpRequest<"u"&&function(r){return new Promise(function(c,s){const o=Mo(r);let d=o.data;const g=ie.from(o.headers).normalize();let{responseType:m,onUploadProgress:w,onDownloadProgress:p}=o,v,k,D,X,N;function j(){X&&X(),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 tt(){if(!L)return;const st=ie.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),ht={data:!m||m==="text"||m==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:st,config:r,request:L};ko(function(vt){c(vt),j()},function(vt){s(vt),j()},ht),L=null}"onloadend"in L?L.onloadend=tt:L.onreadystatechange=function(){!L||L.readyState!==4||L.status===0&&!(L.responseURL&&L.responseURL.indexOf("file:")===0)||setTimeout(tt)},L.onabort=function(){L&&(s(new P("Request aborted",P.ECONNABORTED,r,L)),L=null)},L.onerror=function(){s(new P("Network Error",P.ERR_NETWORK,r,L)),L=null},L.ontimeout=function(){let ut=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const ht=o.transitional||Eo;o.timeoutErrorMessage&&(ut=o.timeoutErrorMessage),s(new P(ut,ht.clarifyTimeoutError?P.ETIMEDOUT:P.ECONNABORTED,r,L)),L=null},d===void 0&&g.setContentType(null),"setRequestHeader"in L&&_.forEach(g.toJSON(),function(ut,ht){L.setRequestHeader(ht,ut)}),_.isUndefined(o.withCredentials)||(L.withCredentials=!!o.withCredentials),m&&m!=="json"&&(L.responseType=o.responseType),p&&([D,N]=gi(p,!0),L.addEventListener("progress",D)),w&&L.upload&&([k,X]=gi(w),L.upload.addEventListener("progress",k),L.upload.addEventListener("loadend",X)),(o.cancelToken||o.signal)&&(v=st=>{L&&(s(!st||st.type?new ua(null,r,L):st),L.abort(),L=null)},o.cancelToken&&o.cancelToken.subscribe(v),o.signal&&(o.signal.aborted?v():o.signal.addEventListener("abort",v)));const ct=$g(o.url);if(ct&&Ft.protocols.indexOf(ct)===-1){s(new P("Unsupported protocol "+ct+":",P.ERR_BAD_REQUEST,r));return}L.send(d||null)})},am=(r,i)=>{const{length:c}=r=r?r.filter(Boolean):[];if(i||c){let s=new AbortController,o;const d=function(p){if(!o){o=!0,m();const v=p instanceof Error?p:this.reason;s.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:w}=s;return w.unsubscribe=()=>_.asap(m),w}},nm=function*(r,i){let c=r.byteLength;if(c<i){yield r;return}let s=0,o;for(;s<c;)o=s+i,yield r.slice(s,o),s=o},im=async function*(r,i){for await(const c of um(r))yield*nm(c,i)},um=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const i=r.getReader();try{for(;;){const{done:c,value:s}=await i.read();if(c)break;yield s}}finally{await i.cancel()}},No=(r,i,c,s)=>{const o=im(r,i);let d=0,g,m=w=>{g||(g=!0,s&&s(w))};return new ReadableStream({async pull(w){try{const{done:p,value:v}=await o.next();if(p){m(),w.close();return}let k=v.byteLength;if(c){let D=d+=k;c(D)}w.enqueue(new Uint8Array(v))}catch(p){throw m(p),p}},cancel(w){return m(w),o.return()}},{highWaterMark:2})},mi=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Uo=mi&&typeof ReadableStream=="function",rm=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)),bi={stream:rr&&(r=>r.body)};mi&&(r=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!bi[i]&&(bi[i]=_.isFunction(r[i])?c=>c[i]():(c,s)=>{throw new P(`Response type '${i}' is not supported`,P.ERR_NOT_SUPPORT,s)})})})(new Response);const sm=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 rm(r)).byteLength},om=async(r,i)=>{const c=_.toFiniteNumber(r.getContentLength());return c??sm(i)},cr={http:Dg,xhr:lm,fetch:mi&&(async r=>{let{url:i,method:c,data:s,signal:o,cancelToken:d,timeout:g,onDownloadProgress:m,onUploadProgress:w,responseType:p,headers:v,withCredentials:k="same-origin",fetchOptions:D}=Mo(r);p=p?(p+"").toLowerCase():"text";let X=am([o,d&&d.toAbortSignal()],g),N;const j=X&&X.unsubscribe&&(()=>{X.unsubscribe()});let L;try{if(w&&cm&&c!=="get"&&c!=="head"&&(L=await om(v,s))!==0){let ht=new Request(i,{method:"POST",body:s,duplex:"half"}),Z;if(_.isFormData(s)&&(Z=ht.headers.get("content-type"))&&v.setContentType(Z),ht.body){const[vt,Yt]=_o(L,gi(zo(w)));s=No(ht.body,Co,vt,Yt)}}_.isString(k)||(k=k?"include":"omit");const tt="credentials"in Request.prototype;N=new Request(i,{...D,signal:X,method:c.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:tt?k:void 0});let ct=await fetch(N,D);const st=rr&&(p==="stream"||p==="response");if(rr&&(m||st&&j)){const ht={};["status","statusText","headers"].forEach(Gt=>{ht[Gt]=ct[Gt]});const Z=_.toFiniteNumber(ct.headers.get("content-length")),[vt,Yt]=m&&_o(Z,gi(zo(m),!0))||[];ct=new Response(No(ct.body,Co,vt,()=>{Yt&&Yt(),j&&j()}),ht)}p=p||"text";let ut=await bi[_.findKey(bi,p)||"text"](ct,r);return!st&&j&&j(),await new Promise((ht,Z)=>{ko(ht,Z,{data:ut,headers:ie.from(ct.headers),status:ct.status,statusText:ct.statusText,config:r,request:N})})}catch(tt){throw j&&j(),tt&&tt.name==="TypeError"&&/Load failed|fetch/i.test(tt.message)?Object.assign(new P("Network Error",P.ERR_NETWORK,r,N),{cause:tt.cause||tt}):P.from(tt,tt&&tt.code,r,N)}})};_.forEach(cr,(r,i)=>{if(r){try{Object.defineProperty(r,"name",{value:i})}catch{}Object.defineProperty(r,"adapterName",{value:i})}});const qo=r=>`- ${r}`,fm=r=>_.isFunction(r)||r===null||r===!1,Ho={getAdapter:r=>{r=_.isArray(r)?r:[r];const{length:i}=r;let c,s;const o={};for(let d=0;d<i;d++){c=r[d];let g;if(s=c,!fm(c)&&(s=cr[(g=String(c)).toLowerCase()],s===void 0))throw new P(`Unknown adapter '${g}'`);if(s)break;o[g||"#"+d]=s}if(!s){const d=Object.entries(o).map(([m,w])=>`adapter ${m} `+(w===!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 s},adapters:cr};function sr(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new ua(null,r)}function jo(r){return sr(r),r.headers=ie.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(s){return sr(r),s.data=ur.call(r,r.transformResponse,s),s.headers=ie.from(s.headers),s},function(s){return Ro(s)||(sr(r),s&&s.response&&(s.response.data=ur.call(r,r.transformResponse,s.response),s.response.headers=ie.from(s.response.headers))),Promise.reject(s)})}const Lo="1.10.0",vi={};["object","boolean","number","function","string","symbol"].forEach((r,i)=>{vi[r]=function(s){return typeof s===r||"a"+(i<1?"n ":" ")+r}});const Yo={};vi.transitional=function(i,c,s){function o(d,g){return"[Axios v"+Lo+"] Transitional option '"+d+"'"+g+(s?". "+s:"")}return(d,g,m)=>{if(i===!1)throw new P(o(g," has been removed"+(c?" in "+c:"")),P.ERR_DEPRECATED);return c&&!Yo[g]&&(Yo[g]=!0,console.warn(o(g," has been deprecated since v"+c+" and will be removed in the near future"))),i?i(d,g,m):!0}},vi.spelling=function(i){return(c,s)=>(console.warn(`${s} is likely a misspelling of ${i}`),!0)};function dm(r,i,c){if(typeof r!="object")throw new P("options must be an object",P.ERR_BAD_OPTION_VALUE);const s=Object.keys(r);let o=s.length;for(;o-- >0;){const d=s[o],g=i[d];if(g){const m=r[d],w=m===void 0||g(m,d,r);if(w!==!0)throw new P("option "+d+" must be "+w,P.ERR_BAD_OPTION_VALUE);continue}if(c!==!0)throw new P("Unknown option "+d,P.ERR_BAD_OPTION)}}const yi={assertOptions:dm,validators:vi},He=yi.validators;let jl=class{constructor(i){this.defaults=i||{},this.interceptors={request:new So,response:new So}}async request(i,c){try{return await this._request(i,c)}catch(s){if(s instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const d=o.stack?o.stack.replace(/^.+\n/,""):"";try{s.stack?d&&!String(s.stack).endsWith(d.replace(/^.+\n.+\n/,""))&&(s.stack+=`
163
- `+d):s.stack=d}catch{}}throw s}}_request(i,c){typeof i=="string"?(c=c||{},c.url=i):c=i||{},c=Hl(this.defaults,c);const{transitional:s,paramsSerializer:o,headers:d}=c;s!==void 0&&yi.assertOptions(s,{silentJSONParsing:He.transitional(He.boolean),forcedJSONParsing:He.transitional(He.boolean),clarifyTimeoutError:He.transitional(He.boolean)},!1),o!=null&&(_.isFunction(o)?c.paramsSerializer={serialize:o}:yi.assertOptions(o,{encode:He.function,serialize:He.function},!0)),c.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?c.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:c.allowAbsoluteUrls=!0),yi.assertOptions(c,{baseUrl:He.spelling("baseURL"),withXsrfToken:He.spelling("withXSRFToken")},!0),c.method=(c.method||this.defaults.method||"get").toLowerCase();let g=d&&_.merge(d.common,d[c.method]);d&&_.forEach(["delete","get","head","post","put","patch","common"],N=>{delete d[N]}),c.headers=ie.concat(g,d);const m=[];let w=!0;this.interceptors.request.forEach(function(j){typeof j.runWhen=="function"&&j.runWhen(c)===!1||(w=w&&j.synchronous,m.unshift(j.fulfilled,j.rejected))});const p=[];this.interceptors.response.forEach(function(j){p.push(j.fulfilled,j.rejected)});let v,k=0,D;if(!w){const N=[jo.bind(this),void 0];for(N.unshift.apply(N,m),N.push.apply(N,p),D=N.length,v=Promise.resolve(c);k<D;)v=v.then(N[k++],N[k++]);return v}D=m.length;let X=c;for(k=0;k<D;){const N=m[k++],j=m[k++];try{X=N(X)}catch(L){j.call(this,L);break}}try{v=jo.call(this,X)}catch(N){return Promise.reject(N)}for(k=0,D=p.length;k<D;)v=v.then(p[k++],p[k++]);return v}getUri(i){i=Hl(this.defaults,i);const c=Oo(i.baseURL,i.url,i.allowAbsoluteUrls);return xo(c,i.params,i.paramsSerializer)}};_.forEach(["delete","get","head","options"],function(i){jl.prototype[i]=function(c,s){return this.request(Hl(s||{},{method:i,url:c,data:(s||{}).data}))}}),_.forEach(["post","put","patch"],function(i){function c(s){return function(d,g,m){return this.request(Hl(m||{},{method:i,headers:s?{"Content-Type":"multipart/form-data"}:{},url:d,data:g}))}}jl.prototype[i]=c(),jl.prototype[i+"Form"]=c(!0)});let hm=class Cp{constructor(i){if(typeof i!="function")throw new TypeError("executor must be a function.");let c;this.promise=new Promise(function(d){c=d});const s=this;this.promise.then(o=>{if(!s._listeners)return;let d=s._listeners.length;for(;d-- >0;)s._listeners[d](o);s._listeners=null}),this.promise.then=o=>{let d;const g=new Promise(m=>{s.subscribe(m),d=m}).then(o);return g.cancel=function(){s.unsubscribe(d)},g},i(function(d,g,m){s.reason||(s.reason=new ua(d,g,m),c(s.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 c=this._listeners.indexOf(i);c!==-1&&this._listeners.splice(c,1)}toAbortSignal(){const i=new AbortController,c=s=>{i.abort(s)};return this.subscribe(c),i.signal.unsubscribe=()=>this.unsubscribe(c),i.signal}static source(){let i;return{token:new Cp(function(o){i=o}),cancel:i}}};function pm(r){return function(c){return r.apply(null,c)}}function gm(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),c=no(jl.prototype.request,i);return _.extend(c,jl.prototype,i,{allOwnKeys:!0}),_.extend(c,i,null,{allOwnKeys:!0}),c.create=function(o){return Go(Hl(r,o))},c}const Dt=Go(en);Dt.Axios=jl,Dt.CanceledError=ua,Dt.CancelToken=hm,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=pm,Dt.isAxiosError=gm,Dt.mergeConfig=Hl,Dt.AxiosHeaders=ie,Dt.formToJSON=r=>To(_.isHTMLForm(r)?new FormData(r):r),Dt.getAdapter=Ho.getAdapter,Dt.HttpStatusCode=or,Dt.default=Dt;const{Axios:ly,AxiosError:ay,CanceledError:ny,isCancel:iy,CancelToken:uy,VERSION:ry,all:cy,Cancel:sy,isAxiosError:oy,spread:fy,toFormData:dy,AxiosHeaders:hy,HttpStatusCode:py,formToJSON:gy,getAdapter:my,mergeConfig:by}=Dt,mm=async(r,i)=>{var o;const c=(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:c}})).data.output},bm=async r=>{const i=await Dt.get(r),c=[];for(const s of i.data.propertyName){const o=JSON.parse(s);c.push(o)}return c.reverse()};function vm({theme:r="boring",notificationBadge:i=!0,greeting:c,pageContext:s,chatPrompts:o=[],chatbotUrl:d,dialogeBaseUrl:g,title:m="AI Assistant",imageUrl:w,imageWidth:p}){const v=c?[{content:c,sender:"bot"}]:[],[k,D]=Lt.useState(!1),[X,N]=Lt.useState(c?v:[]),[j,L]=Lt.useState(""),[tt,ct]=Lt.useState(!1),[st,ut]=Lt.useState(!0),ht=Lt.useRef(null),[Z,vt]=Lt.useState(o),[Yt,Gt]=Lt.useState(i),de=()=>{var gt;(gt=ht.current)==null||gt.scrollIntoView({behavior:"smooth"})};Lt.useEffect(()=>{X.filter(zt=>zt.sender==="user").length>0?ut(!1):ut(!0),de()},[X]),Lt.useEffect(()=>{X.length<=1&&bm(g).then(gt=>{const zt=gt.map(C=>({content:C.data.content,sender:C.type==="human"?"user":"bot"}));N([...v,...zt])})},[g]),Lt.useEffect(()=>{const gt=window.location.pathname;if(s){for(const[zt,{exec:C,timer:B}]of Object.entries(s))if(zt===gt){Je(B,C);break}}},[s]),Lt.useEffect(()=>{k&&Yt&&Gt(!1)},[k]);const Je=async(gt,zt)=>{await Z0(gt),zt({open:{isOpen:k,setIsOpen:D},messageOptions:{messages:X,setMessages:N},input:{inputValue:j,setInputValue:L},promptsOptions:{prompts:Z,setPrompts:vt},scrollToBottom:de})},Pt=async gt=>{const zt=gt||j.trim();if(!zt)return;const C={content:zt,sender:"user"};N(B=>[...B,C]),L(""),ct(!0);try{const q={content:await mm(zt,d),sender:"bot"};N(it=>[...it,q])}catch{const q={content:"Unfortunately, an error occurred while processing your request.",sender:"bot"};N(it=>[...it,q])}finally{ct(!1)}},ue=async gt=>{gt.key==="Enter"&&!gt.shiftKey&&(gt.preventDefault(),await Pt())};return K.jsxs("div",{className:"fixed bottom-1 right-1 md:bottom-6 md:right-6 z-50 ai-chatbot ",children:[K.jsx("div",{className:`
157
+ ${r.sender==="user"?`${Pt(c,"messageUser")} ${s?"ml-4":""} max-w-[80%]`:`${Pt(c,"messageBot")} ${s?"mr-4":""} max-w-[100%]`}
158
+ `,children:X.jsxs("div",{className:"flex items-start space-x-2",children:[r.sender==="bot"&&X.jsx(Gu,{className:`w-4 h-4 mt-0.5 ${Pt(c,"messageBotIcon")} flex-shrink-0`}),r.sender==="user"&&X.jsx(n0,{className:`w-4 h-4 mt-0.5 ${Pt(c,"messageUserIcon")} flex-shrink-0`}),X.jsx("div",{className:"text-sm leading-relaxed message",dangerouslySetInnerHTML:{__html:o}})]})})})}function X0(){return X.jsx("div",{className:"flex justify-start",children:X.jsx("div",{className:"bg-gradient-to-r from-slate-700 to-slate-600 rounded-2xl p-3 mr-4",children:X.jsxs("div",{className:"flex items-center space-x-2",children:[X.jsx(Gu,{className:"w-4 h-4 text-cyan-400"}),X.jsxs("div",{className:"flex space-x-1",children:[X.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce"}),X.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),X.jsx("div",{className:"w-2 h-2 bg-purple-400 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})]})})})}function Q0({theme:r}){return X.jsx("div",{className:`absolute -top-2 -left-2 w-6 h-6 rounded-full flex items-center justify-center animate-pulse ${Pt(r,"notifyBadge")}`,children:X.jsx("span",{className:"text-xs font-bold",children:"1"})})}function Z0({inputValue:r,setInputValue:i,handleSendMessage:c,handleKeyPress:s,theme:o}){return X.jsx("div",{className:`px-4 pt-2 ${Pt(o,"inputContainer")} chatbot-input`,children:X.jsxs("div",{className:"flex space-x-2",children:[X.jsx("textarea",{value:r,onChange:d=>i(d.target.value),onKeyPress:s,placeholder:"Type your message...",className:`flex-1 ${Pt(o,"input")} rounded-xl px-4 py-2 transition-all`}),X.jsx("button",{onClick:c,disabled:!r.trim(),children:X.jsx(a0,{className:`w-4 h-4 ${Pt(o,"sendButton")} cursor-pointer`})})]})})}function V0({setIsOpen:r,isOpen:i,theme:c}){return X.jsx(X.Fragment,{children:X.jsx("div",{onClick:()=>r(!i),className:`chatbot-open-btn
159
+ w-14 h-14 ${Pt(c,"openButton")}
160
+ rounded-full shadow-2xl items-center justify-center text-white
161
+ transition-all duration-300 transform active:scale-9 cursor-pointer backdrop-blur-xl
162
+ ${i?"rotate-180":"rotate-0"}
163
+ `,style:{boxShadow:Pt(c,"openButtonShadow")},children:i?X.jsx(Ys,{className:"w-6 h-6"}):X.jsx(l0,{className:"w-6 h-6"})})})}function K0(r){return new Promise(i=>setTimeout(i,r))}function J0({prompt:r,handleSendMessage:i,theme:c}){const s=()=>{i(r)};return X.jsx("div",{onClick:s,className:`${Pt(c,"prompt")} ai-chatbot-prompt text-sm rounded-full transition hover:scale-98 cursor-pointer px-4 py-2`,children:r})}function io(r,i){return function(){return r.apply(i,arguments)}}var uo={};const{toString:$0}=Object.prototype,{getPrototypeOf:Iu}=Object,{iterator:ci,toStringTag:ro}=Symbol,si=(r=>i=>{const c=$0.call(i);return r[c]||(r[c]=c.slice(8,-1).toLowerCase())})(Object.create(null)),De=r=>(r=r.toLowerCase(),i=>si(i)===r),oi=r=>i=>typeof i===r,{isArray:ua}=Array,Ia=oi("undefined");function W0(r){return r!==null&&!Ia(r)&&r.constructor!==null&&!Ia(r.constructor)&&le(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const co=De("ArrayBuffer");function F0(r){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(r):i=r&&r.buffer&&co(r.buffer),i}const P0=oi("string"),le=oi("function"),so=oi("number"),fi=r=>r!==null&&typeof r=="object",I0=r=>r===!0||r===!1,di=r=>{if(si(r)!=="object")return!1;const i=Iu(r);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(ro in r)&&!(ci in r)},tg=De("Date"),eg=De("File"),lg=De("Blob"),ag=De("FileList"),ng=r=>fi(r)&&le(r.pipe),ig=r=>{let i;return r&&(typeof FormData=="function"&&r instanceof FormData||le(r.append)&&((i=si(r))==="formdata"||i==="object"&&le(r.toString)&&r.toString()==="[object FormData]"))},ug=De("URLSearchParams"),[rg,cg,sg,og]=["ReadableStream","Request","Response","Headers"].map(De),fg=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function tn(r,i,{allOwnKeys:c=!1}={}){if(r===null||typeof r>"u")return;let s,o;if(typeof r!="object"&&(r=[r]),ua(r))for(s=0,o=r.length;s<o;s++)i.call(null,r[s],s,r);else{const d=c?Object.getOwnPropertyNames(r):Object.keys(r),g=d.length;let m;for(s=0;s<g;s++)m=d[s],i.call(null,r[m],m,r)}}function oo(r,i){i=i.toLowerCase();const c=Object.keys(r);let s=c.length,o;for(;s-- >0;)if(o=c[s],i===o.toLowerCase())return o;return null}const ql=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,fo=r=>!Ia(r)&&r!==ql;function tr(){const{caseless:r}=fo(this)&&this||{},i={},c=(s,o)=>{const d=r&&oo(i,o)||o;di(i[d])&&di(s)?i[d]=tr(i[d],s):di(s)?i[d]=tr({},s):ua(s)?i[d]=s.slice():i[d]=s};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&tn(arguments[s],c);return i}const dg=(r,i,c,{allOwnKeys:s}={})=>(tn(i,(o,d)=>{c&&le(o)?r[d]=io(o,c):r[d]=o},{allOwnKeys:s}),r),hg=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),pg=(r,i,c,s)=>{r.prototype=Object.create(i.prototype,s),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:i.prototype}),c&&Object.assign(r.prototype,c)},gg=(r,i,c,s)=>{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],(!s||s(g,r,i))&&!m[g]&&(i[g]=r[g],m[g]=!0);r=c!==!1&&Iu(r)}while(r&&(!c||c(r,i))&&r!==Object.prototype);return i},mg=(r,i,c)=>{r=String(r),(c===void 0||c>r.length)&&(c=r.length),c-=i.length;const s=r.indexOf(i,c);return s!==-1&&s===c},bg=r=>{if(!r)return null;if(ua(r))return r;let i=r.length;if(!so(i))return null;const c=new Array(i);for(;i-- >0;)c[i]=r[i];return c},vg=(r=>i=>r&&i instanceof r)(typeof Uint8Array<"u"&&Iu(Uint8Array)),yg=(r,i)=>{const s=(r&&r[ci]).call(r);let o;for(;(o=s.next())&&!o.done;){const d=o.value;i.call(r,d[0],d[1])}},wg=(r,i)=>{let c;const s=[];for(;(c=r.exec(i))!==null;)s.push(c);return s},xg=De("HTMLFormElement"),Sg=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(c,s,o){return s.toUpperCase()+o}),ho=(({hasOwnProperty:r})=>(i,c)=>r.call(i,c))(Object.prototype),Eg=De("RegExp"),po=(r,i)=>{const c=Object.getOwnPropertyDescriptors(r),s={};tn(c,(o,d)=>{let g;(g=i(o,d,r))!==!1&&(s[d]=g||o)}),Object.defineProperties(r,s)},Tg=r=>{po(r,(i,c)=>{if(le(r)&&["arguments","caller","callee"].indexOf(c)!==-1)return!1;const s=r[c];if(le(s)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+c+"'")})}})},Ag=(r,i)=>{const c={},s=o=>{o.forEach(d=>{c[d]=!0})};return ua(r)?s(r):s(String(r).split(i)),c},Rg=()=>{},kg=(r,i)=>r!=null&&Number.isFinite(r=+r)?r:i;function _g(r){return!!(r&&le(r.append)&&r[ro]==="FormData"&&r[ci])}const zg=r=>{const i=new Array(10),c=(s,o)=>{if(fi(s)){if(i.indexOf(s)>=0)return;if(!("toJSON"in s)){i[o]=s;const d=ua(s)?[]:{};return tn(s,(g,m)=>{const w=c(g,o+1);!Ia(w)&&(d[m]=w)}),i[o]=void 0,d}}return s};return c(r,0)},Og=De("AsyncFunction"),Dg=r=>r&&(fi(r)||le(r))&&le(r.then)&&le(r.catch),go=((r,i)=>r?setImmediate:i?((c,s)=>(ql.addEventListener("message",({source:o,data:d})=>{o===ql&&d===c&&s.length&&s.shift()()},!1),o=>{s.push(o),ql.postMessage(c,"*")}))(`axios@${Math.random()}`,[]):c=>setTimeout(c))(typeof setImmediate=="function",le(ql.postMessage)),Mg=typeof queueMicrotask<"u"?queueMicrotask.bind(ql):typeof uo<"u"&&uo.nextTick||go,k={isArray:ua,isArrayBuffer:co,isBuffer:W0,isFormData:ig,isArrayBufferView:F0,isString:P0,isNumber:so,isBoolean:I0,isObject:fi,isPlainObject:di,isReadableStream:rg,isRequest:cg,isResponse:sg,isHeaders:og,isUndefined:Ia,isDate:tg,isFile:eg,isBlob:lg,isRegExp:Eg,isFunction:le,isStream:ng,isURLSearchParams:ug,isTypedArray:vg,isFileList:ag,forEach:tn,merge:tr,extend:dg,trim:fg,stripBOM:hg,inherits:pg,toFlatObject:gg,kindOf:si,kindOfTest:De,endsWith:mg,toArray:bg,forEachEntry:yg,matchAll:wg,isHTMLForm:xg,hasOwnProperty:ho,hasOwnProp:ho,reduceDescriptors:po,freezeMethods:Tg,toObjectSet:Ag,toCamelCase:Sg,noop:Rg,toFiniteNumber:kg,findKey:oo,global:ql,isContextDefined:fo,isSpecCompliantForm:_g,toJSONObject:zg,isAsyncFn:Og,isThenable:Dg,setImmediate:go,asap:Mg,isIterable:r=>r!=null&&le(r[ci])};function I(r,i,c,s,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),c&&(this.config=c),s&&(this.request=s),o&&(this.response=o,this.status=o.status?o.status:null)}k.inherits(I,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:k.toJSONObject(this.config),code:this.code,status:this.status}}});const mo=I.prototype,bo={};["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=>{bo[r]={value:r}}),Object.defineProperties(I,bo),Object.defineProperty(mo,"isAxiosError",{value:!0}),I.from=(r,i,c,s,o,d)=>{const g=Object.create(mo);return k.toFlatObject(r,g,function(w){return w!==Error.prototype},m=>m!=="isAxiosError"),I.call(g,r.message,i,c,s,o),g.cause=r,g.name=r.name,d&&Object.assign(g,d),g};const Ng=null;function er(r){return k.isPlainObject(r)||k.isArray(r)}function vo(r){return k.endsWith(r,"[]")?r.slice(0,-2):r}function yo(r,i,c){return r?r.concat(i).map(function(o,d){return o=vo(o),!c&&d?"["+o+"]":o}).join(c?".":""):i}function Ug(r){return k.isArray(r)&&!r.some(er)}const Bg=k.toFlatObject(k,{},null,function(i){return/^is[A-Z]/.test(i)});function hi(r,i,c){if(!k.isObject(r))throw new TypeError("target must be an object");i=i||new FormData,c=k.toFlatObject(c,{metaTokens:!0,dots:!1,indexes:!1},!1,function(H,L){return!k.isUndefined(L[H])});const s=c.metaTokens,o=c.visitor||v,d=c.dots,g=c.indexes,w=(c.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(i);if(!k.isFunction(o))throw new TypeError("visitor must be a function");function p(U){if(U===null)return"";if(k.isDate(U))return U.toISOString();if(k.isBoolean(U))return U.toString();if(!w&&k.isBlob(U))throw new I("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(U)||k.isTypedArray(U)?w&&typeof Blob=="function"?new Blob([U]):Buffer.from(U):U}function v(U,H,L){let P=U;if(U&&!L&&typeof U=="object"){if(k.endsWith(H,"{}"))H=s?H:H.slice(0,-2),U=JSON.stringify(U);else if(k.isArray(U)&&Ug(U)||(k.isFileList(U)||k.endsWith(H,"[]"))&&(P=k.toArray(U)))return H=vo(H),P.forEach(function(ut,ct){!(k.isUndefined(ut)||ut===null)&&i.append(g===!0?yo([H],ct,d):g===null?H:H+"[]",p(ut))}),!1}return er(U)?!0:(i.append(yo(L,H,d),p(U)),!1)}const _=[],O=Object.assign(Bg,{defaultVisitor:v,convertValue:p,isVisitable:er});function Z(U,H){if(!k.isUndefined(U)){if(_.indexOf(U)!==-1)throw Error("Circular reference detected in "+H.join("."));_.push(U),k.forEach(U,function(P,st){(!(k.isUndefined(P)||P===null)&&o.call(i,P,k.isString(st)?st.trim():st,H,O))===!0&&Z(P,H?H.concat(st):[st])}),_.pop()}}if(!k.isObject(r))throw new TypeError("data must be an object");return Z(r),i}function wo(r){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(s){return i[s]})}function lr(r,i){this._pairs=[],r&&hi(r,this,i)}const xo=lr.prototype;xo.append=function(i,c){this._pairs.push([i,c])},xo.toString=function(i){const c=i?function(s){return i.call(this,s,wo)}:wo;return this._pairs.map(function(o){return c(o[0])+"="+c(o[1])},"").join("&")};function Cg(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,c){if(!i)return r;const s=c&&c.encode||Cg;k.isFunction(c)&&(c={serialize:c});const o=c&&c.serialize;let d;if(o?d=o(i,c):d=k.isURLSearchParams(i)?i.toString():new lr(i,c).toString(s),d){const g=r.indexOf("#");g!==-1&&(r=r.slice(0,g)),r+=(r.indexOf("?")===-1?"?":"&")+d}return r}class Eo{constructor(){this.handlers=[]}use(i,c,s){return this.handlers.push({fulfilled:i,rejected:c,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){k.forEach(this.handlers,function(s){s!==null&&i(s)})}}const To={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qg={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,Hg=ar&&(!nr||["ReactNative","NativeScript","NS"].indexOf(nr.product)<0),jg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Lg=ar&&window.location.href||"http://localhost",$t={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ar,hasStandardBrowserEnv:Hg,hasStandardBrowserWebWorkerEnv:jg,navigator:nr,origin:Lg},Symbol.toStringTag,{value:"Module"})),...qg};function Yg(r,i){return hi(r,new $t.classes.URLSearchParams,Object.assign({visitor:function(c,s,o,d){return $t.isNode&&k.isBuffer(c)?(this.append(s,c.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)}},i))}function Gg(r){return k.matchAll(/\w+|\[(\w*)]/g,r).map(i=>i[0]==="[]"?"":i[1]||i[0])}function Xg(r){const i={},c=Object.keys(r);let s;const o=c.length;let d;for(s=0;s<o;s++)d=c[s],i[d]=r[d];return i}function Ao(r){function i(c,s,o,d){let g=c[d++];if(g==="__proto__")return!0;const m=Number.isFinite(+g),w=d>=c.length;return g=!g&&k.isArray(o)?o.length:g,w?(k.hasOwnProp(o,g)?o[g]=[o[g],s]:o[g]=s,!m):((!o[g]||!k.isObject(o[g]))&&(o[g]=[]),i(c,s,o[g],d)&&k.isArray(o[g])&&(o[g]=Xg(o[g])),!m)}if(k.isFormData(r)&&k.isFunction(r.entries)){const c={};return k.forEachEntry(r,(s,o)=>{i(Gg(s),o,c,0)}),c}return null}function Qg(r,i,c){if(k.isString(r))try{return(i||JSON.parse)(r),k.trim(r)}catch(s){if(s.name!=="SyntaxError")throw s}return(c||JSON.stringify)(r)}const en={transitional:To,adapter:["xhr","http","fetch"],transformRequest:[function(i,c){const s=c.getContentType()||"",o=s.indexOf("application/json")>-1,d=k.isObject(i);if(d&&k.isHTMLForm(i)&&(i=new FormData(i)),k.isFormData(i))return o?JSON.stringify(Ao(i)):i;if(k.isArrayBuffer(i)||k.isBuffer(i)||k.isStream(i)||k.isFile(i)||k.isBlob(i)||k.isReadableStream(i))return i;if(k.isArrayBufferView(i))return i.buffer;if(k.isURLSearchParams(i))return c.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let m;if(d){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Yg(i,this.formSerializer).toString();if((m=k.isFileList(i))||s.indexOf("multipart/form-data")>-1){const w=this.env&&this.env.FormData;return hi(m?{"files[]":i}:i,w&&new w,this.formSerializer)}}return d||o?(c.setContentType("application/json",!1),Qg(i)):i}],transformResponse:[function(i){const c=this.transitional||en.transitional,s=c&&c.forcedJSONParsing,o=this.responseType==="json";if(k.isResponse(i)||k.isReadableStream(i))return i;if(i&&k.isString(i)&&(s&&!this.responseType||o)){const g=!(c&&c.silentJSONParsing)&&o;try{return JSON.parse(i)}catch(m){if(g)throw m.name==="SyntaxError"?I.from(m,I.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:$t.classes.FormData,Blob:$t.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],r=>{en.headers[r]={}});const Zg=k.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"]),Vg=r=>{const i={};let c,s,o;return r&&r.split(`
164
+ `).forEach(function(g){o=g.indexOf(":"),c=g.substring(0,o).trim().toLowerCase(),s=g.substring(o+1).trim(),!(!c||i[c]&&Zg[c])&&(c==="set-cookie"?i[c]?i[c].push(s):i[c]=[s]:i[c]=i[c]?i[c]+", "+s:s)}),i},Ro=Symbol("internals");function ln(r){return r&&String(r).trim().toLowerCase()}function pi(r){return r===!1||r==null?r:k.isArray(r)?r.map(pi):String(r)}function Kg(r){const i=Object.create(null),c=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=c.exec(r);)i[s[1]]=s[2];return i}const Jg=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function ir(r,i,c,s,o){if(k.isFunction(s))return s.call(this,i,c);if(o&&(i=c),!!k.isString(i)){if(k.isString(s))return i.indexOf(s)!==-1;if(k.isRegExp(s))return s.test(i)}}function $g(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,c,s)=>c.toUpperCase()+s)}function Wg(r,i){const c=k.toCamelCase(" "+i);["get","set","has"].forEach(s=>{Object.defineProperty(r,s+c,{value:function(o,d,g){return this[s].call(this,i,o,d,g)},configurable:!0})})}let ae=class{constructor(i){i&&this.set(i)}set(i,c,s){const o=this;function d(m,w,p){const v=ln(w);if(!v)throw new Error("header name must be a non-empty string");const _=k.findKey(o,v);(!_||o[_]===void 0||p===!0||p===void 0&&o[_]!==!1)&&(o[_||w]=pi(m))}const g=(m,w)=>k.forEach(m,(p,v)=>d(p,v,w));if(k.isPlainObject(i)||i instanceof this.constructor)g(i,c);else if(k.isString(i)&&(i=i.trim())&&!Jg(i))g(Vg(i),c);else if(k.isObject(i)&&k.isIterable(i)){let m={},w,p;for(const v of i){if(!k.isArray(v))throw TypeError("Object iterator must return a key-value pair");m[p=v[0]]=(w=m[p])?k.isArray(w)?[...w,v[1]]:[w,v[1]]:v[1]}g(m,c)}else i!=null&&d(c,i,s);return this}get(i,c){if(i=ln(i),i){const s=k.findKey(this,i);if(s){const o=this[s];if(!c)return o;if(c===!0)return Kg(o);if(k.isFunction(c))return c.call(this,o,s);if(k.isRegExp(c))return c.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,c){if(i=ln(i),i){const s=k.findKey(this,i);return!!(s&&this[s]!==void 0&&(!c||ir(this,this[s],s,c)))}return!1}delete(i,c){const s=this;let o=!1;function d(g){if(g=ln(g),g){const m=k.findKey(s,g);m&&(!c||ir(s,s[m],m,c))&&(delete s[m],o=!0)}}return k.isArray(i)?i.forEach(d):d(i),o}clear(i){const c=Object.keys(this);let s=c.length,o=!1;for(;s--;){const d=c[s];(!i||ir(this,this[d],d,i,!0))&&(delete this[d],o=!0)}return o}normalize(i){const c=this,s={};return k.forEach(this,(o,d)=>{const g=k.findKey(s,d);if(g){c[g]=pi(o),delete c[d];return}const m=i?$g(d):String(d).trim();m!==d&&delete c[d],c[m]=pi(o),s[m]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const c=Object.create(null);return k.forEach(this,(s,o)=>{s!=null&&s!==!1&&(c[o]=i&&k.isArray(s)?s.join(", "):s)}),c}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,c])=>i+": "+c).join(`
165
+ `)}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,...c){const s=new this(i);return c.forEach(o=>s.set(o)),s}static accessor(i){const s=(this[Ro]=this[Ro]={accessors:{}}).accessors,o=this.prototype;function d(g){const m=ln(g);s[m]||(Wg(o,g),s[m]=!0)}return k.isArray(i)?i.forEach(d):d(i),this}};ae.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),k.reduceDescriptors(ae.prototype,({value:r},i)=>{let c=i[0].toUpperCase()+i.slice(1);return{get:()=>r,set(s){this[c]=s}}}),k.freezeMethods(ae);function ur(r,i){const c=this||en,s=i||c,o=ae.from(s.headers);let d=s.data;return k.forEach(r,function(m){d=m.call(c,d,o.normalize(),i?i.status:void 0)}),o.normalize(),d}function ko(r){return!!(r&&r.__CANCEL__)}function ra(r,i,c){I.call(this,r??"canceled",I.ERR_CANCELED,i,c),this.name="CanceledError"}k.inherits(ra,I,{__CANCEL__:!0});function _o(r,i,c){const s=c.config.validateStatus;!c.status||!s||s(c.status)?r(c):i(new I("Request failed with status code "+c.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(c.status/100)-4],c.config,c.request,c))}function Fg(r){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return i&&i[1]||""}function Pg(r,i){r=r||10;const c=new Array(r),s=new Array(r);let o=0,d=0,g;return i=i!==void 0?i:1e3,function(w){const p=Date.now(),v=s[d];g||(g=p),c[o]=w,s[o]=p;let _=d,O=0;for(;_!==o;)O+=c[_++],_=_%r;if(o=(o+1)%r,o===d&&(d=(d+1)%r),p-g<i)return;const Z=v&&p-v;return Z?Math.round(O*1e3/Z):void 0}}function Ig(r,i){let c=0,s=1e3/i,o,d;const g=(p,v=Date.now())=>{c=v,o=null,d&&(clearTimeout(d),d=null),r.apply(null,p)};return[(...p)=>{const v=Date.now(),_=v-c;_>=s?g(p,v):(o=p,d||(d=setTimeout(()=>{d=null,g(o)},s-_)))},()=>o&&g(o)]}const gi=(r,i,c=3)=>{let s=0;const o=Pg(50,250);return Ig(d=>{const g=d.loaded,m=d.lengthComputable?d.total:void 0,w=g-s,p=o(w),v=g<=m;s=g;const _={loaded:g,total:m,progress:m?g/m:void 0,bytes:w,rate:p||void 0,estimated:p&&m&&v?(m-g)/p:void 0,event:d,lengthComputable:m!=null,[i?"download":"upload"]:!0};r(_)},c)},zo=(r,i)=>{const c=r!=null;return[s=>i[0]({lengthComputable:c,total:r,loaded:s}),i[1]]},Oo=r=>(...i)=>k.asap(()=>r(...i)),tm=$t.hasStandardBrowserEnv?((r,i)=>c=>(c=new URL(c,$t.origin),r.protocol===c.protocol&&r.host===c.host&&(i||r.port===c.port)))(new URL($t.origin),$t.navigator&&/(msie|trident)/i.test($t.navigator.userAgent)):()=>!0,em=$t.hasStandardBrowserEnv?{write(r,i,c,s,o,d){const g=[r+"="+encodeURIComponent(i)];k.isNumber(c)&&g.push("expires="+new Date(c).toGMTString()),k.isString(s)&&g.push("path="+s),k.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 lm(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function am(r,i){return i?r.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):r}function Do(r,i,c){let s=!lm(i);return r&&(s||c==!1)?am(r,i):i}const Mo=r=>r instanceof ae?{...r}:r;function Hl(r,i){i=i||{};const c={};function s(p,v,_,O){return k.isPlainObject(p)&&k.isPlainObject(v)?k.merge.call({caseless:O},p,v):k.isPlainObject(v)?k.merge({},v):k.isArray(v)?v.slice():v}function o(p,v,_,O){if(k.isUndefined(v)){if(!k.isUndefined(p))return s(void 0,p,_,O)}else return s(p,v,_,O)}function d(p,v){if(!k.isUndefined(v))return s(void 0,v)}function g(p,v){if(k.isUndefined(v)){if(!k.isUndefined(p))return s(void 0,p)}else return s(void 0,v)}function m(p,v,_){if(_ in i)return s(p,v);if(_ in r)return s(void 0,p)}const w={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,_)=>o(Mo(p),Mo(v),_,!0)};return k.forEach(Object.keys(Object.assign({},r,i)),function(v){const _=w[v]||o,O=_(r[v],i[v],v);k.isUndefined(O)&&_!==m||(c[v]=O)}),c}const No=r=>{const i=Hl({},r);let{data:c,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:d,headers:g,auth:m}=i;i.headers=g=ae.from(g),i.url=So(Do(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 w;if(k.isFormData(c)){if($t.hasStandardBrowserEnv||$t.hasStandardBrowserWebWorkerEnv)g.setContentType(void 0);else if((w=g.getContentType())!==!1){const[p,...v]=w?w.split(";").map(_=>_.trim()).filter(Boolean):[];g.setContentType([p||"multipart/form-data",...v].join("; "))}}if($t.hasStandardBrowserEnv&&(s&&k.isFunction(s)&&(s=s(i)),s||s!==!1&&tm(i.url))){const p=o&&d&&em.read(d);p&&g.set(o,p)}return i},nm=typeof XMLHttpRequest<"u"&&function(r){return new Promise(function(c,s){const o=No(r);let d=o.data;const g=ae.from(o.headers).normalize();let{responseType:m,onUploadProgress:w,onDownloadProgress:p}=o,v,_,O,Z,U;function H(){Z&&Z(),U&&U(),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 P(){if(!L)return;const ut=ae.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),ht={data:!m||m==="text"||m==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:ut,config:r,request:L};_o(function(mt){c(mt),H()},function(mt){s(mt),H()},ht),L=null}"onloadend"in L?L.onloadend=P:L.onreadystatechange=function(){!L||L.readyState!==4||L.status===0&&!(L.responseURL&&L.responseURL.indexOf("file:")===0)||setTimeout(P)},L.onabort=function(){L&&(s(new I("Request aborted",I.ECONNABORTED,r,L)),L=null)},L.onerror=function(){s(new I("Network Error",I.ERR_NETWORK,r,L)),L=null},L.ontimeout=function(){let ct=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const ht=o.transitional||To;o.timeoutErrorMessage&&(ct=o.timeoutErrorMessage),s(new I(ct,ht.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,r,L)),L=null},d===void 0&&g.setContentType(null),"setRequestHeader"in L&&k.forEach(g.toJSON(),function(ct,ht){L.setRequestHeader(ht,ct)}),k.isUndefined(o.withCredentials)||(L.withCredentials=!!o.withCredentials),m&&m!=="json"&&(L.responseType=o.responseType),p&&([O,U]=gi(p,!0),L.addEventListener("progress",O)),w&&L.upload&&([_,Z]=gi(w),L.upload.addEventListener("progress",_),L.upload.addEventListener("loadend",Z)),(o.cancelToken||o.signal)&&(v=ut=>{L&&(s(!ut||ut.type?new ra(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=Fg(o.url);if(st&&$t.protocols.indexOf(st)===-1){s(new I("Unsupported protocol "+st+":",I.ERR_BAD_REQUEST,r));return}L.send(d||null)})},im=(r,i)=>{const{length:c}=r=r?r.filter(Boolean):[];if(i||c){let s=new AbortController,o;const d=function(p){if(!o){o=!0,m();const v=p instanceof Error?p:this.reason;s.abort(v instanceof I?v:new ra(v instanceof Error?v.message:v))}};let g=i&&setTimeout(()=>{g=null,d(new I(`timeout ${i} of ms exceeded`,I.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:w}=s;return w.unsubscribe=()=>k.asap(m),w}},um=function*(r,i){let c=r.byteLength;if(c<i){yield r;return}let s=0,o;for(;s<c;)o=s+i,yield r.slice(s,o),s=o},rm=async function*(r,i){for await(const c of cm(r))yield*um(c,i)},cm=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const i=r.getReader();try{for(;;){const{done:c,value:s}=await i.read();if(c)break;yield s}}finally{await i.cancel()}},Uo=(r,i,c,s)=>{const o=rm(r,i);let d=0,g,m=w=>{g||(g=!0,s&&s(w))};return new ReadableStream({async pull(w){try{const{done:p,value:v}=await o.next();if(p){m(),w.close();return}let _=v.byteLength;if(c){let O=d+=_;c(O)}w.enqueue(new Uint8Array(v))}catch(p){throw m(p),p}},cancel(w){return m(w),o.return()}},{highWaterMark:2})},mi=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Bo=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())),Co=(r,...i)=>{try{return!!r(...i)}catch{return!1}},om=Bo&&Co(()=>{let r=!1;const i=new Request($t.origin,{body:new ReadableStream,method:"POST",get duplex(){return r=!0,"half"}}).headers.has("Content-Type");return r&&!i}),qo=64*1024,rr=Bo&&Co(()=>k.isReadableStream(new Response("").body)),bi={stream:rr&&(r=>r.body)};mi&&(r=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!bi[i]&&(bi[i]=k.isFunction(r[i])?c=>c[i]():(c,s)=>{throw new I(`Response type '${i}' is not supported`,I.ERR_NOT_SUPPORT,s)})})})(new Response);const fm=async r=>{if(r==null)return 0;if(k.isBlob(r))return r.size;if(k.isSpecCompliantForm(r))return(await new Request($t.origin,{method:"POST",body:r}).arrayBuffer()).byteLength;if(k.isArrayBufferView(r)||k.isArrayBuffer(r))return r.byteLength;if(k.isURLSearchParams(r)&&(r=r+""),k.isString(r))return(await sm(r)).byteLength},dm=async(r,i)=>{const c=k.toFiniteNumber(r.getContentLength());return c??fm(i)},cr={http:Ng,xhr:nm,fetch:mi&&(async r=>{let{url:i,method:c,data:s,signal:o,cancelToken:d,timeout:g,onDownloadProgress:m,onUploadProgress:w,responseType:p,headers:v,withCredentials:_="same-origin",fetchOptions:O}=No(r);p=p?(p+"").toLowerCase():"text";let Z=im([o,d&&d.toAbortSignal()],g),U;const H=Z&&Z.unsubscribe&&(()=>{Z.unsubscribe()});let L;try{if(w&&om&&c!=="get"&&c!=="head"&&(L=await dm(v,s))!==0){let ht=new Request(i,{method:"POST",body:s,duplex:"half"}),V;if(k.isFormData(s)&&(V=ht.headers.get("content-type"))&&v.setContentType(V),ht.body){const[mt,Qt]=zo(L,gi(Oo(w)));s=Uo(ht.body,qo,mt,Qt)}}k.isString(_)||(_=_?"include":"omit");const P="credentials"in Request.prototype;U=new Request(i,{...O,signal:Z,method:c.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:P?_:void 0});let st=await fetch(U,O);const ut=rr&&(p==="stream"||p==="response");if(rr&&(m||ut&&H)){const ht={};["status","statusText","headers"].forEach(Ut=>{ht[Ut]=st[Ut]});const V=k.toFiniteNumber(st.headers.get("content-length")),[mt,Qt]=m&&zo(V,gi(Oo(m),!0))||[];st=new Response(Uo(st.body,qo,mt,()=>{Qt&&Qt(),H&&H()}),ht)}p=p||"text";let ct=await bi[k.findKey(bi,p)||"text"](st,r);return!ut&&H&&H(),await new Promise((ht,V)=>{_o(ht,V,{data:ct,headers:ae.from(st.headers),status:st.status,statusText:st.statusText,config:r,request:U})})}catch(P){throw H&&H(),P&&P.name==="TypeError"&&/Load failed|fetch/i.test(P.message)?Object.assign(new I("Network Error",I.ERR_NETWORK,r,U),{cause:P.cause||P}):I.from(P,P&&P.code,r,U)}})};k.forEach(cr,(r,i)=>{if(r){try{Object.defineProperty(r,"name",{value:i})}catch{}Object.defineProperty(r,"adapterName",{value:i})}});const Ho=r=>`- ${r}`,hm=r=>k.isFunction(r)||r===null||r===!1,jo={getAdapter:r=>{r=k.isArray(r)?r:[r];const{length:i}=r;let c,s;const o={};for(let d=0;d<i;d++){c=r[d];let g;if(s=c,!hm(c)&&(s=cr[(g=String(c)).toLowerCase()],s===void 0))throw new I(`Unknown adapter '${g}'`);if(s)break;o[g||"#"+d]=s}if(!s){const d=Object.entries(o).map(([m,w])=>`adapter ${m} `+(w===!1?"is not supported by the environment":"is not available in the build"));let g=i?d.length>1?`since :
166
+ `+d.map(Ho).join(`
167
+ `):" "+Ho(d[0]):"as no adapter specified";throw new I("There is no suitable adapter to dispatch the request "+g,"ERR_NOT_SUPPORT")}return s},adapters:cr};function sr(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new ra(null,r)}function Lo(r){return sr(r),r.headers=ae.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),jo.getAdapter(r.adapter||en.adapter)(r).then(function(s){return sr(r),s.data=ur.call(r,r.transformResponse,s),s.headers=ae.from(s.headers),s},function(s){return ko(s)||(sr(r),s&&s.response&&(s.response.data=ur.call(r,r.transformResponse,s.response),s.response.headers=ae.from(s.response.headers))),Promise.reject(s)})}const Yo="1.10.0",vi={};["object","boolean","number","function","string","symbol"].forEach((r,i)=>{vi[r]=function(s){return typeof s===r||"a"+(i<1?"n ":" ")+r}});const Go={};vi.transitional=function(i,c,s){function o(d,g){return"[Axios v"+Yo+"] Transitional option '"+d+"'"+g+(s?". "+s:"")}return(d,g,m)=>{if(i===!1)throw new I(o(g," has been removed"+(c?" in "+c:"")),I.ERR_DEPRECATED);return c&&!Go[g]&&(Go[g]=!0,console.warn(o(g," has been deprecated since v"+c+" and will be removed in the near future"))),i?i(d,g,m):!0}},vi.spelling=function(i){return(c,s)=>(console.warn(`${s} is likely a misspelling of ${i}`),!0)};function pm(r,i,c){if(typeof r!="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);const s=Object.keys(r);let o=s.length;for(;o-- >0;){const d=s[o],g=i[d];if(g){const m=r[d],w=m===void 0||g(m,d,r);if(w!==!0)throw new I("option "+d+" must be "+w,I.ERR_BAD_OPTION_VALUE);continue}if(c!==!0)throw new I("Unknown option "+d,I.ERR_BAD_OPTION)}}const yi={assertOptions:pm,validators:vi},He=yi.validators;let jl=class{constructor(i){this.defaults=i||{},this.interceptors={request:new Eo,response:new Eo}}async request(i,c){try{return await this._request(i,c)}catch(s){if(s instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const d=o.stack?o.stack.replace(/^.+\n/,""):"";try{s.stack?d&&!String(s.stack).endsWith(d.replace(/^.+\n.+\n/,""))&&(s.stack+=`
168
+ `+d):s.stack=d}catch{}}throw s}}_request(i,c){typeof i=="string"?(c=c||{},c.url=i):c=i||{},c=Hl(this.defaults,c);const{transitional:s,paramsSerializer:o,headers:d}=c;s!==void 0&&yi.assertOptions(s,{silentJSONParsing:He.transitional(He.boolean),forcedJSONParsing:He.transitional(He.boolean),clarifyTimeoutError:He.transitional(He.boolean)},!1),o!=null&&(k.isFunction(o)?c.paramsSerializer={serialize:o}:yi.assertOptions(o,{encode:He.function,serialize:He.function},!0)),c.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?c.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:c.allowAbsoluteUrls=!0),yi.assertOptions(c,{baseUrl:He.spelling("baseURL"),withXsrfToken:He.spelling("withXSRFToken")},!0),c.method=(c.method||this.defaults.method||"get").toLowerCase();let g=d&&k.merge(d.common,d[c.method]);d&&k.forEach(["delete","get","head","post","put","patch","common"],U=>{delete d[U]}),c.headers=ae.concat(g,d);const m=[];let w=!0;this.interceptors.request.forEach(function(H){typeof H.runWhen=="function"&&H.runWhen(c)===!1||(w=w&&H.synchronous,m.unshift(H.fulfilled,H.rejected))});const p=[];this.interceptors.response.forEach(function(H){p.push(H.fulfilled,H.rejected)});let v,_=0,O;if(!w){const U=[Lo.bind(this),void 0];for(U.unshift.apply(U,m),U.push.apply(U,p),O=U.length,v=Promise.resolve(c);_<O;)v=v.then(U[_++],U[_++]);return v}O=m.length;let Z=c;for(_=0;_<O;){const U=m[_++],H=m[_++];try{Z=U(Z)}catch(L){H.call(this,L);break}}try{v=Lo.call(this,Z)}catch(U){return Promise.reject(U)}for(_=0,O=p.length;_<O;)v=v.then(p[_++],p[_++]);return v}getUri(i){i=Hl(this.defaults,i);const c=Do(i.baseURL,i.url,i.allowAbsoluteUrls);return So(c,i.params,i.paramsSerializer)}};k.forEach(["delete","get","head","options"],function(i){jl.prototype[i]=function(c,s){return this.request(Hl(s||{},{method:i,url:c,data:(s||{}).data}))}}),k.forEach(["post","put","patch"],function(i){function c(s){return function(d,g,m){return this.request(Hl(m||{},{method:i,headers:s?{"Content-Type":"multipart/form-data"}:{},url:d,data:g}))}}jl.prototype[i]=c(),jl.prototype[i+"Form"]=c(!0)});let gm=class Hp{constructor(i){if(typeof i!="function")throw new TypeError("executor must be a function.");let c;this.promise=new Promise(function(d){c=d});const s=this;this.promise.then(o=>{if(!s._listeners)return;let d=s._listeners.length;for(;d-- >0;)s._listeners[d](o);s._listeners=null}),this.promise.then=o=>{let d;const g=new Promise(m=>{s.subscribe(m),d=m}).then(o);return g.cancel=function(){s.unsubscribe(d)},g},i(function(d,g,m){s.reason||(s.reason=new ra(d,g,m),c(s.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 c=this._listeners.indexOf(i);c!==-1&&this._listeners.splice(c,1)}toAbortSignal(){const i=new AbortController,c=s=>{i.abort(s)};return this.subscribe(c),i.signal.unsubscribe=()=>this.unsubscribe(c),i.signal}static source(){let i;return{token:new Hp(function(o){i=o}),cancel:i}}};function mm(r){return function(c){return r.apply(null,c)}}function bm(r){return k.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 Xo(r){const i=new jl(r),c=io(jl.prototype.request,i);return k.extend(c,jl.prototype,i,{allOwnKeys:!0}),k.extend(c,i,null,{allOwnKeys:!0}),c.create=function(o){return Xo(Hl(r,o))},c}const zt=Xo(en);zt.Axios=jl,zt.CanceledError=ra,zt.CancelToken=gm,zt.isCancel=ko,zt.VERSION=Yo,zt.toFormData=hi,zt.AxiosError=I,zt.Cancel=zt.CanceledError,zt.all=function(i){return Promise.all(i)},zt.spread=mm,zt.isAxiosError=bm,zt.mergeConfig=Hl,zt.AxiosHeaders=ae,zt.formToJSON=r=>Ao(k.isHTMLForm(r)?new FormData(r):r),zt.getAdapter=jo.getAdapter,zt.HttpStatusCode=or,zt.default=zt;const{Axios:ry,AxiosError:cy,CanceledError:sy,isCancel:oy,CancelToken:fy,VERSION:dy,all:hy,Cancel:py,isAxiosError:gy,spread:my,toFormData:by,AxiosHeaders:vy,HttpStatusCode:yy,formToJSON:wy,getAdapter:xy,mergeConfig:Sy}=zt,vm=async(r,i)=>{var o;const c=(o=window.location.search.replace("?","").split("&").find(d=>d.includes("utm")))==null?void 0:o.split("=")[1];return(await zt.post(i,{message:r},{headers:{utm:c}})).data.output},ym=async r=>{const i=await zt.get(r),c=[];for(const s of i.data.propertyName){const o=JSON.parse(s);c.push(o)}return c.reverse()},wm="script, style, noscript, .ai-chatbot, header, footer, nav, sidebar";function xm(){const r=document.body.cloneNode(!0);return r.querySelectorAll(wm).forEach(i=>i.remove()),r}function Qo(){const r={heading:"h1,h2,h3,h4,h5,h6",paragraph:"p","list-item":"li",blockquote:"blockquote",pre:"pre,code",other:"*"},i=xm(),c=[];for(const[s,o]of Object.entries(r))i.querySelectorAll(o).forEach(d=>{const m=(d.textContent??"").replace(/\s+/g," ").trim();m&&c.push({type:s,text:m})});return c}function Sm({theme:r="boring",notificationBadge:i=!0,greeting:c,pageContext:s,chatPrompts:o=[],chatbotUrl:d,dialogeBaseUrl:g,title:m="AI Assistant",imageUrl:w,imageWidth:p,greetingOutside:v=!1}){const _=c?[{content:c,sender:"bot"}]:[],[O,Z]=qt.useState(!1),[U,H]=qt.useState(c?_:[]),[L,P]=qt.useState(""),[st,ut]=qt.useState(!1),[ct,ht]=qt.useState(!0),V=qt.useRef(null),[mt,Qt]=qt.useState(o),[Ut,xe]=qt.useState(i),[Me,ne]=qt.useState(!1),te=()=>{var M;(M=V.current)==null||M.scrollIntoView({behavior:"smooth"})};qt.useEffect(()=>{U.filter(C=>C.sender==="user").length>0?ht(!1):ht(!0),te()},[U]),qt.useEffect(()=>{U.length<=1&&ym(g).then(M=>{const C=M.map(et=>({content:et.data.content,sender:et.type==="human"?"user":"bot"}));H([..._,...C])})},[g]),qt.useEffect(()=>{const M=window.location.pathname;if(s){for(const[C,{exec:et,timer:pt}]of Object.entries(s))if(C===M){sl(pt,et);break}}},[s]),qt.useEffect(()=>{O&&Ut&&xe(!1)},[O]);const sl=async(M,C)=>{await K0(M),C({open:{isOpen:O,setIsOpen:Z},messageOptions:{messages:U,setMessages:H},input:{inputValue:L,setInputValue:P},promptsOptions:{prompts:mt,setPrompts:Qt},scrollToBottom:te})},oe=async M=>{let C=M||L.trim();if(!C)return;Me&&(C=C+`
169
+
170
+ The content of the page I'm on, if necessary:
171
+ ${Qo()}`),console.log(Qo());const et={content:C,sender:"user"};H(pt=>[...pt,et]),P(""),ut(!0);try{const x={content:await vm(C,d),sender:"bot"};H(B=>[...B,x])}catch{const x={content:"Unfortunately, an error occurred while processing your request.",sender:"bot"};H(B=>[...B,x])}finally{ut(!1)}},q=async M=>{M.key==="Enter"&&!M.shiftKey&&(M.preventDefault(),await oe())};return X.jsxs("div",{className:"fixed flex flex-col items-end bottom-1 right-1 md:bottom-6 md:right-6 z-50 ai-chatbot ",children:[X.jsx("div",{className:`
164
172
  absolute bottom-15 sm:bottom-16 right-0 w-86 sm:w-96 h-[65vh]
165
173
  transform transition-all duration-300 ease-in-out origin-bottom-right
166
174
  ai-chatbot-window
167
- ${k?"scale-100 opacity-100":"scale-0 opacity-0 pointer-events-none"}
168
- `,children:K.jsxs("div",{className:`${ee(r,"mainBackground")} rounded-4xl shadow-2xl backdrop-blur-xl h-full flex flex-col overflow-hidden`,children:[K.jsx(a0,{setIsOpen:D,theme:r,title:m,imageUrl:w,imageWidth:p}),K.jsxs("div",{className:"flex-1 flex flex-col h-full justify-between overflow-y-auto p-2 lg:p-4 space-y-2 lg:space-y-4 scrollbar-thin scrollbar-thumb-purple-500/50 scrollbar-track-transparent",children:[K.jsxs("div",{className:"space-y-4 ",children:[X.map((gt,zt)=>K.jsx(L0,{message:gt,index:zt,theme:r},gt.content)),tt&&K.jsx(Y0,{}),K.jsx("div",{ref:ht})]}),st&&K.jsx("div",{className:"flex gap-2 flex-wrap",children:Z.map(gt=>K.jsx(V0,{prompt:gt,handleSendMessage:Pt,theme:r},gt))})]}),K.jsx(X0,{handleKeyPress:ue,inputValue:j,setInputValue:L,handleSendMessage:()=>Pt(),theme:r})]})}),K.jsx(Q0,{isOpen:k,setIsOpen:D,theme:r}),!k&&Yt&&K.jsx(G0,{theme:r})]})}function ym(r,i={}){const c=typeof r=="string"?document.querySelector(r):r;Kp.createRoot(c).render(K.jsx(vm,{...i}))}return Ze.mountChatbotWidget=ym,Object.defineProperty(Ze,Symbol.toStringTag,{value:"Module"}),Ze}({});
175
+ ${O?"scale-100 opacity-100":"scale-0 opacity-0 pointer-events-none"}
176
+ `,children:X.jsxs("div",{className:`${Pt(r,"mainBackground")} rounded-4xl shadow-2xl backdrop-blur-xl h-full flex flex-col overflow-hidden`,children:[X.jsx(u0,{setIsOpen:Z,theme:r,title:m,imageUrl:w,imageWidth:p}),X.jsxs("div",{className:"flex-1 flex flex-col h-full justify-between overflow-y-auto p-2 lg:p-4 space-y-2 lg:space-y-4 scrollbar-thin scrollbar-thumb-purple-500/50 scrollbar-track-transparent",children:[X.jsxs("div",{className:"space-y-4 ",children:[U.map((M,C)=>X.jsx(no,{message:M,index:C,theme:r},M.content)),st&&X.jsx(X0,{}),X.jsx("div",{ref:V})]}),ct&&X.jsx("div",{className:"flex gap-2 flex-wrap",children:mt.map(M=>X.jsx(J0,{prompt:M,handleSendMessage:oe,theme:r},M))})]}),X.jsx(Z0,{handleKeyPress:q,inputValue:L,setInputValue:P,handleSendMessage:()=>oe(),theme:r}),X.jsxs("div",{className:`px-4 flex items-center py-1 gap-1 cursor-pointer transition-all ${Me?"":"opacity-50"}`,onClick:()=>ne(M=>!M),children:[Me?X.jsx(e0,{className:"bg-black/80 text-white rounded-full p-0.5",size:12}):X.jsx("span",{className:"border border-black/80 size-3 rounded"}),X.jsx("label",{className:"text-xs select-none text-gray-500 cursor-pointer",htmlFor:"share",children:"Share the page content with the chatbot"})]})]})}),v&&c&&!O&&Ut&&X.jsx("div",{className:"pb-2",children:X.jsx(no,{message:{content:c,sender:"bot"},index:0,theme:r,margin:!1})}),X.jsx(V0,{isOpen:O,setIsOpen:Z,theme:r}),!O&&Ut&&!v&&X.jsx(Q0,{theme:r})]})}function Em(r,i={}){const c=typeof r=="string"?document.querySelector(r):r;$p.createRoot(c).render(X.jsx(Sm,{...i}))}return Ze.mountChatbotWidget=Em,Object.defineProperty(Ze,Symbol.toStringTag,{value:"Module"}),Ze}({});