@chatsystem/client 1.1.12 → 1.1.14

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.
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('._dot_spinner_qw18l_1{--uib-size: 2.8rem;--uib-speed: .9s;--uib-color: #183153;position:relative;display:flex;align-items:center;justify-content:flex-start;width:var(--uib-size);height:var(--uib-size)}._dot_spinner__dot_qw18l_13{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%}._dot_spinner__dot_qw18l_13:before{width:20%;height:20%;background-color:var(--uib-color);border-radius:50%;box-shadow:0 0 20px #121f354d;transform:scale(0);opacity:.5;animation:_pulse0112_qw18l_1 calc(var(--uib-speed) * 1.111) ease-in-out infinite;content:""}._dot_spinner__dot_qw18l_13:nth-child(2){transform:rotate(45deg)}._dot_spinner__dot_qw18l_13:nth-child(2):before{animation-delay:calc(var(--uib-speed) * -.875)}._dot_spinner__dot_qw18l_13:nth-child(3){transform:rotate(90deg)}._dot_spinner__dot_qw18l_13:nth-child(3):before{animation-delay:calc(var(--uib-speed) * -.75)}._dot_spinner__dot_qw18l_13:nth-child(4){transform:rotate(135deg)}._dot_spinner__dot_qw18l_13:nth-child(4):before{animation-delay:calc(var(--uib-speed) * -.625)}._dot_spinner__dot_qw18l_13:nth-child(5){transform:rotate(180deg)}._dot_spinner__dot_qw18l_13:nth-child(5):before{animation-delay:calc(var(--uib-speed) * -.5)}._dot_spinner__dot_qw18l_13:nth-child(6){transform:rotate(225deg)}._dot_spinner__dot_qw18l_13:nth-child(6):before{animation-delay:calc(var(--uib-speed) * -.375)}._dot_spinner__dot_qw18l_13:nth-child(7){transform:rotate(270deg)}._dot_spinner__dot_qw18l_13:nth-child(7):before{animation-delay:calc(var(--uib-speed) * -.25)}._dot_spinner__dot_qw18l_13:nth-child(8){transform:rotate(315deg)}._dot_spinner__dot_qw18l_13:nth-child(8):before{animation-delay:calc(var(--uib-speed) * -.125)}@keyframes _pulse0112_qw18l_1{0%,to{transform:scale(0);opacity:.5}50%{transform:scale(1);opacity:1}}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-1\\.5{bottom:.375rem}.bottom-10{bottom:2.5rem}.left-0{left:0}.right-0{right:0}.right-10{right:2.5rem}.right-2{right:.5rem}.top-0{top:0}.z-\\[999999999\\]{z-index:999999999}.z-\\[99999999\\]{z-index:99999999}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-6{margin-bottom:1.5rem}.mr-3{margin-right:.75rem}.mt-3{margin-top:.75rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-12{height:3rem}.h-6{height:1.5rem}.h-8{height:2rem}.max-h-12{max-height:3rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-12{max-width:3rem}.max-w-\\[90\\%\\]{max-width:90%}.grow{flex-grow:1}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-scroll{overflow:scroll}.rounded-\\[50\\%\\]{border-radius:50%}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border,.border-\\[1px\\]{border-width:1px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-slate-400{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.\\!bg-blue-700{--tw-bg-opacity: 1 !important;background-color:rgb(29 78 216 / var(--tw-bg-opacity))!important}.\\!bg-gray-400{--tw-bg-opacity: 1 !important;background-color:rgb(156 163 175 / var(--tw-bg-opacity))!important}.\\!bg-green-700{--tw-bg-opacity: 1 !important;background-color:rgb(21 128 61 / var(--tw-bg-opacity))!important}.\\!bg-red-700{--tw-bg-opacity: 1 !important;background-color:rgb(185 28 28 / var(--tw-bg-opacity))!important}.\\!bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.bg-violet-600{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}.bg-violet-700{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}.p-0{padding:0}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.pb-2{padding-bottom:.5rem}.text-center{text-align:center}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow-\\[0_0px_4px_5px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow: 0 0px 4px 5px rgba(0,0,0,.2);--tw-shadow-colored: 0 0px 4px 5px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:\\!bg-blue-800:hover{--tw-bg-opacity: 1 !important;background-color:rgb(30 64 175 / var(--tw-bg-opacity))!important}.hover\\:\\!bg-blue-900:hover{--tw-bg-opacity: 1 !important;background-color:rgb(30 58 138 / var(--tw-bg-opacity))!important}.hover\\:\\!bg-green-800:hover{--tw-bg-opacity: 1 !important;background-color:rgb(22 101 52 / var(--tw-bg-opacity))!important}.hover\\:\\!bg-red-800:hover{--tw-bg-opacity: 1 !important;background-color:rgb(153 27 27 / var(--tw-bg-opacity))!important}.hover\\:\\!bg-slate-500:hover{--tw-bg-opacity: 1 !important;background-color:rgb(100 116 139 / var(--tw-bg-opacity))!important}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.focus\\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.focus\\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(134 239 172 / var(--tw-ring-opacity))}.focus\\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(252 165 165 / var(--tw-ring-opacity))}.focus\\:ring-slate-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity))}.enabled\\:bg-black:enabled{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.enabled\\:bg-white:enabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.disabled\\:opacity-10:disabled{opacity:.1}:is(.dark .dark\\:border-white){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}:is(.dark .dark\\:bg-white){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}:is(.dark .dark\\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .dark\\:hover\\:bg-white:hover){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}:is(.dark .dark\\:focus\\:ring-blue-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 58 138 / var(--tw-ring-opacity))}:is(.dark .dark\\:focus\\:ring-green-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(20 83 45 / var(--tw-ring-opacity))}:is(.dark .dark\\:focus\\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(127 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\\:focus\\:ring-slate-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(15 23 42 / var(--tw-ring-opacity))}@media (min-width: 768px){.md\\:bottom-2{bottom:.5rem}.md\\:bottom-\\[110px\\]{bottom:110px}.md\\:left-auto{left:auto}.md\\:right-3{right:.75rem}.md\\:right-\\[40px\\]{right:40px}.md\\:top-auto{top:auto}.md\\:h-\\[600px\\]{height:600px}.md\\:w-\\[400px\\]{width:400px}}.menuTransition-enter{opacity:0;transform:scale(.9) translate(200px)}.menuTransition-enter-active{opacity:1;transform:translate(0);transition:opacity .3s,transform .3s}.menuTransition-exit{opacity:1}.menuTransition-exit-active{opacity:0;transform:scale(.5) translate(400px);transition:opacity .3s,transform .3s}p,li,textarea{font-size:14px}textarea::placeholder{font-size:14px}.widget{overflow-x:hidden}.widget ol>li{margin-top:10px;background-color:#0000001a;padding:.5rem 1rem 1rem;border-radius:.5rem}.widget ol>li>p:first-child,.widget ol>li>li:first-child,.widget h3,.widget h2{font-size:1.5rem;margin:1rem 0}.widget a{display:block;cursor:pointer;color:#00f;font-size:1.1rem;margin:1rem 0}.widget a:hover{text-decoration:underline}.widget img{display:block;margin:2rem 0;max-width:200px}.widget hr{margin:1.5rem 0}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('._dot_spinner_qw18l_1{--uib-size: 2.8rem;--uib-speed: .9s;--uib-color: #183153;position:relative;display:flex;align-items:center;justify-content:flex-start;width:var(--uib-size);height:var(--uib-size)}._dot_spinner__dot_qw18l_13{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%}._dot_spinner__dot_qw18l_13:before{width:20%;height:20%;background-color:var(--uib-color);border-radius:50%;box-shadow:0 0 20px #121f354d;transform:scale(0);opacity:.5;animation:_pulse0112_qw18l_1 calc(var(--uib-speed) * 1.111) ease-in-out infinite;content:""}._dot_spinner__dot_qw18l_13:nth-child(2){transform:rotate(45deg)}._dot_spinner__dot_qw18l_13:nth-child(2):before{animation-delay:calc(var(--uib-speed) * -.875)}._dot_spinner__dot_qw18l_13:nth-child(3){transform:rotate(90deg)}._dot_spinner__dot_qw18l_13:nth-child(3):before{animation-delay:calc(var(--uib-speed) * -.75)}._dot_spinner__dot_qw18l_13:nth-child(4){transform:rotate(135deg)}._dot_spinner__dot_qw18l_13:nth-child(4):before{animation-delay:calc(var(--uib-speed) * -.625)}._dot_spinner__dot_qw18l_13:nth-child(5){transform:rotate(180deg)}._dot_spinner__dot_qw18l_13:nth-child(5):before{animation-delay:calc(var(--uib-speed) * -.5)}._dot_spinner__dot_qw18l_13:nth-child(6){transform:rotate(225deg)}._dot_spinner__dot_qw18l_13:nth-child(6):before{animation-delay:calc(var(--uib-speed) * -.375)}._dot_spinner__dot_qw18l_13:nth-child(7){transform:rotate(270deg)}._dot_spinner__dot_qw18l_13:nth-child(7):before{animation-delay:calc(var(--uib-speed) * -.25)}._dot_spinner__dot_qw18l_13:nth-child(8){transform:rotate(315deg)}._dot_spinner__dot_qw18l_13:nth-child(8):before{animation-delay:calc(var(--uib-speed) * -.125)}@keyframes _pulse0112_qw18l_1{0%,to{transform:scale(0);opacity:.5}50%{transform:scale(1);opacity:1}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.bottom-1\\.5{bottom:.375rem}.bottom-10{bottom:2.5rem}.left-0{left:0}.right-0{right:0}.right-10{right:2.5rem}.right-2{right:.5rem}.top-0{top:0}.z-\\[999999999\\]{z-index:999999999}.z-\\[99999999\\]{z-index:99999999}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-6{margin-bottom:1.5rem}.mr-3{margin-right:.75rem}.mt-3{margin-top:.75rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-12{height:3rem}.h-6{height:1.5rem}.h-8{height:2rem}.max-h-12{max-height:3rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-12{max-width:3rem}.max-w-\\[90\\%\\]{max-width:90%}.grow{flex-grow:1}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:fadeIn .3s ease-in-out}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-scroll{overflow:scroll}.rounded-\\[50\\%\\]{border-radius:50%}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border,.border-\\[1px\\]{border-width:1px}.border-l-4{border-left-width:4px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity, 1))}.border-slate-400{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-700{--tw-bg-opacity: 1 !important;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))!important}.\\!bg-gray-400{--tw-bg-opacity: 1 !important;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))!important}.\\!bg-green-700{--tw-bg-opacity: 1 !important;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))!important}.\\!bg-red-700{--tw-bg-opacity: 1 !important;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))!important}.\\!bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))!important}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.bg-violet-600{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity, 1))}.bg-violet-700{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.pb-2{padding-bottom:.5rem}.text-center{text-align:center}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-\\[0_0px_4px_5px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow: 0 0px 4px 5px rgba(0,0,0,.2);--tw-shadow-colored: 0 0px 4px 5px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:\\!bg-blue-800:hover{--tw-bg-opacity: 1 !important;background-color:rgb(30 64 175 / var(--tw-bg-opacity, 1))!important}.hover\\:\\!bg-blue-900:hover{--tw-bg-opacity: 1 !important;background-color:rgb(30 58 138 / var(--tw-bg-opacity, 1))!important}.hover\\:\\!bg-green-800:hover{--tw-bg-opacity: 1 !important;background-color:rgb(22 101 52 / var(--tw-bg-opacity, 1))!important}.hover\\:\\!bg-red-800:hover{--tw-bg-opacity: 1 !important;background-color:rgb(153 27 27 / var(--tw-bg-opacity, 1))!important}.hover\\:\\!bg-slate-500:hover{--tw-bg-opacity: 1 !important;background-color:rgb(100 116 139 / var(--tw-bg-opacity, 1))!important}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity, 1))}.focus\\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(134 239 172 / var(--tw-ring-opacity, 1))}.focus\\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(252 165 165 / var(--tw-ring-opacity, 1))}.focus\\:ring-slate-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity, 1))}.enabled\\:bg-black:enabled{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.enabled\\:bg-white:enabled{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.disabled\\:opacity-10:disabled{opacity:.1}.dark\\:border-white:is(.dark *){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.dark\\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.dark\\:text-black:is(.dark *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.dark\\:hover\\:bg-white:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.dark\\:focus\\:ring-blue-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 58 138 / var(--tw-ring-opacity, 1))}.dark\\:focus\\:ring-green-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(20 83 45 / var(--tw-ring-opacity, 1))}.dark\\:focus\\:ring-red-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(127 29 29 / var(--tw-ring-opacity, 1))}.dark\\:focus\\:ring-slate-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(15 23 42 / var(--tw-ring-opacity, 1))}@media (min-width: 768px){.md\\:bottom-2{bottom:.5rem}.md\\:bottom-\\[110px\\]{bottom:110px}.md\\:left-auto{left:auto}.md\\:right-3{right:.75rem}.md\\:right-\\[40px\\]{right:40px}.md\\:top-auto{top:auto}.md\\:h-\\[600px\\]{height:600px}.md\\:w-\\[400px\\]{width:400px}}.menuTransition-enter{opacity:0;transform:scale(.9) translate(200px)}.menuTransition-enter-active{opacity:1;transform:translate(0);transition:opacity .3s,transform .3s}.menuTransition-exit{opacity:1}.menuTransition-exit-active{opacity:0;transform:scale(.5) translate(400px);transition:opacity .3s,transform .3s}p,li,textarea{font-size:14px}textarea::placeholder{font-size:14px}.chatBox{overflow-x:hidden}.chatBox ol>li{margin-top:10px;background-color:#0000001a;padding:.5rem 1rem 1rem;border-radius:.5rem}.chatBox ol>li>p:first-child,.chatBox ol>li>li:first-child,.chatBox h3,.chatBox h2{font-size:1.5rem;margin:1rem 0}.chatBox a{display:block;cursor:pointer;color:#00f;font-size:1.1rem;margin:1rem 0}.chatBox a:hover{text-decoration:underline}.chatBox img{display:block;margin:2rem 0;max-width:200px}.chatBox hr{margin:1.5rem 0}')),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
2
  var uc = Object.defineProperty;
3
3
  var lc = (e, t, n) => t in e ? uc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
4
  var gt = (e, t, n) => lc(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  import * as He from "react";
6
- import Le, { useState as Ue, useRef as nt, useEffect as ht, useCallback as Qt, useContext as Kt, createContext as cc, useMemo as Zr, forwardRef as fc } from "react";
7
- import Dn from "react-dom";
6
+ import Le, { useState as $e, useRef as tt, useEffect as ht, useCallback as Kt, useContext as Zt, createContext as cc, useMemo as Zr, forwardRef as fc } from "react";
7
+ import kn from "react-dom";
8
8
  var Ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9
9
  function Po(e) {
10
10
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
11
11
  }
12
- var Ia = { exports: {} }, In = {};
12
+ var Ia = { exports: {} }, Nn = {};
13
13
  /**
14
14
  * @license React
15
15
  * react-jsx-runtime.production.min.js
@@ -21,7 +21,7 @@ var Ia = { exports: {} }, In = {};
21
21
  */
22
22
  var $i;
23
23
  function dc() {
24
- if ($i) return In;
24
+ if ($i) return Nn;
25
25
  $i = 1;
26
26
  var e = Le, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
27
27
  function o(i, h, g) {
@@ -31,9 +31,9 @@ function dc() {
31
31
  if (i && i.defaultProps) for (p in h = i.defaultProps, h) u[p] === void 0 && (u[p] = h[p]);
32
32
  return { $$typeof: t, type: i, key: c, ref: l, props: u, _owner: a.current };
33
33
  }
34
- return In.Fragment = n, In.jsx = o, In.jsxs = o, In;
34
+ return Nn.Fragment = n, Nn.jsx = o, Nn.jsxs = o, Nn;
35
35
  }
36
- var Nn = {};
36
+ var On = {};
37
37
  /**
38
38
  * @license React
39
39
  * react-jsx-runtime.development.js
@@ -162,7 +162,7 @@ function hc() {
162
162
  j++;
163
163
  }
164
164
  }
165
- function ie() {
165
+ function se() {
166
166
  {
167
167
  if (j--, j === 0) {
168
168
  var D = {
@@ -211,13 +211,13 @@ function hc() {
211
211
  ` + ae + D;
212
212
  }
213
213
  }
214
- var se = !1, ne;
214
+ var ie = !1, ne;
215
215
  {
216
216
  var we = typeof WeakMap == "function" ? WeakMap : Map;
217
217
  ne = new we();
218
218
  }
219
219
  function X(D, Y) {
220
- if (!D || se)
220
+ if (!D || ie)
221
221
  return "";
222
222
  {
223
223
  var Q = ne.get(D);
@@ -225,7 +225,7 @@ function hc() {
225
225
  return Q;
226
226
  }
227
227
  var ce;
228
- se = !0;
228
+ ie = !0;
229
229
  var Ae = Error.prepareStackTrace;
230
230
  Error.prepareStackTrace = void 0;
231
231
  var Ce;
@@ -265,40 +265,40 @@ function hc() {
265
265
  } catch (It) {
266
266
  if (It && ce && typeof It.stack == "string") {
267
267
  for (var ge = It.stack.split(`
268
- `), Ge = ce.stack.split(`
269
- `), Pe = ge.length - 1, ke = Ge.length - 1; Pe >= 1 && ke >= 0 && ge[Pe] !== Ge[ke]; )
268
+ `), qe = ce.stack.split(`
269
+ `), Pe = ge.length - 1, ke = qe.length - 1; Pe >= 1 && ke >= 0 && ge[Pe] !== qe[ke]; )
270
270
  ke--;
271
271
  for (; Pe >= 1 && ke >= 0; Pe--, ke--)
272
- if (ge[Pe] !== Ge[ke]) {
272
+ if (ge[Pe] !== qe[ke]) {
273
273
  if (Pe !== 1 || ke !== 1)
274
274
  do
275
- if (Pe--, ke--, ke < 0 || ge[Pe] !== Ge[ke]) {
276
- var rt = `
275
+ if (Pe--, ke--, ke < 0 || ge[Pe] !== qe[ke]) {
276
+ var nt = `
277
277
  ` + ge[Pe].replace(" at new ", " at ");
278
- return D.displayName && rt.includes("<anonymous>") && (rt = rt.replace("<anonymous>", D.displayName)), typeof D == "function" && ne.set(D, rt), rt;
278
+ return D.displayName && nt.includes("<anonymous>") && (nt = nt.replace("<anonymous>", D.displayName)), typeof D == "function" && ne.set(D, nt), nt;
279
279
  }
280
280
  while (Pe >= 1 && ke >= 0);
281
281
  break;
282
282
  }
283
283
  }
284
284
  } finally {
285
- se = !1, ee.current = Ce, ie(), Error.prepareStackTrace = Ae;
285
+ ie = !1, ee.current = Ce, se(), Error.prepareStackTrace = Ae;
286
286
  }
287
- var sn = D ? D.displayName || D.name : "", Hi = sn ? ue(sn) : "";
287
+ var on = D ? D.displayName || D.name : "", Hi = on ? ue(on) : "";
288
288
  return typeof D == "function" && ne.set(D, Hi), Hi;
289
289
  }
290
- function $e(D, Y, Q) {
290
+ function Ue(D, Y, Q) {
291
291
  return X(D, !1);
292
292
  }
293
- function We(D) {
293
+ function lt(D) {
294
294
  var Y = D.prototype;
295
295
  return !!(Y && Y.isReactComponent);
296
296
  }
297
- function Je(D, Y, Q) {
297
+ function Ye(D, Y, Q) {
298
298
  if (D == null)
299
299
  return "";
300
300
  if (typeof D == "function")
301
- return X(D, We(D));
301
+ return X(D, lt(D));
302
302
  if (typeof D == "string")
303
303
  return ue(D);
304
304
  switch (D) {
@@ -310,26 +310,26 @@ function hc() {
310
310
  if (typeof D == "object")
311
311
  switch (D.$$typeof) {
312
312
  case h:
313
- return $e(D.render);
313
+ return Ue(D.render);
314
314
  case u:
315
- return Je(D.type, Y, Q);
315
+ return Ye(D.type, Y, Q);
316
316
  case c: {
317
317
  var ce = D, Ae = ce._payload, Ce = ce._init;
318
318
  try {
319
- return Je(Ce(Ae), Y, Q);
319
+ return Ye(Ce(Ae), Y, Q);
320
320
  } catch {
321
321
  }
322
322
  }
323
323
  }
324
324
  return "";
325
325
  }
326
- var pt = Object.prototype.hasOwnProperty, ar = {}, Sn = m.ReactDebugCurrentFrame;
327
- function Ut(D) {
326
+ var pt = Object.prototype.hasOwnProperty, Ut = {}, Cn = m.ReactDebugCurrentFrame;
327
+ function $t(D) {
328
328
  if (D) {
329
- var Y = D._owner, Q = Je(D.type, D._source, Y ? Y.type : null);
330
- Sn.setExtraStackFrame(Q);
329
+ var Y = D._owner, Q = Ye(D.type, D._source, Y ? Y.type : null);
330
+ Cn.setExtraStackFrame(Q);
331
331
  } else
332
- Sn.setExtraStackFrame(null);
332
+ Cn.setExtraStackFrame(null);
333
333
  }
334
334
  function Yr(D, Y, Q, ce, Ae) {
335
335
  {
@@ -339,19 +339,19 @@ function hc() {
339
339
  var ge = void 0;
340
340
  try {
341
341
  if (typeof D[Ee] != "function") {
342
- var Ge = Error((ce || "React class") + ": " + Q + " type `" + Ee + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof D[Ee] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
343
- throw Ge.name = "Invariant Violation", Ge;
342
+ var qe = Error((ce || "React class") + ": " + Q + " type `" + Ee + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof D[Ee] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
343
+ throw qe.name = "Invariant Violation", qe;
344
344
  }
345
345
  ge = D[Ee](Y, Ee, ce, Q, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
346
346
  } catch (Pe) {
347
347
  ge = Pe;
348
348
  }
349
- ge && !(ge instanceof Error) && (Ut(Ae), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ce || "React class", Q, Ee, typeof ge), Ut(null)), ge instanceof Error && !(ge.message in ar) && (ar[ge.message] = !0, Ut(Ae), E("Failed %s type: %s", Q, ge.message), Ut(null));
349
+ ge && !(ge instanceof Error) && ($t(Ae), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ce || "React class", Q, Ee, typeof ge), $t(null)), ge instanceof Error && !(ge.message in Ut) && (Ut[ge.message] = !0, $t(Ae), E("Failed %s type: %s", Q, ge.message), $t(null));
350
350
  }
351
351
  }
352
352
  }
353
353
  var Gr = Array.isArray;
354
- function Cn(D) {
354
+ function In(D) {
355
355
  return Gr(D);
356
356
  }
357
357
  function qr(D) {
@@ -389,7 +389,7 @@ function hc() {
389
389
  }
390
390
  return D.ref !== void 0;
391
391
  }
392
- function $t(D) {
392
+ function jt(D) {
393
393
  if (pt.call(D, "key")) {
394
394
  var Y = Object.getOwnPropertyDescriptor(D, "key").get;
395
395
  if (Y && Y.isReactWarning)
@@ -397,13 +397,13 @@ function hc() {
397
397
  }
398
398
  return D.key !== void 0;
399
399
  }
400
- function jt(D, Y) {
400
+ function zt(D, Y) {
401
401
  if (typeof D.ref == "string" && oe.current && Y && oe.current.stateNode !== Y) {
402
402
  var Q = B(oe.current.type);
403
403
  ct[Q] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(oe.current.type), D.ref), ct[Q] = !0);
404
404
  }
405
405
  }
406
- function Ye(D, Y) {
406
+ function Ge(D, Y) {
407
407
  {
408
408
  var Q = function() {
409
409
  _e || (_e = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Y));
@@ -456,8 +456,8 @@ function hc() {
456
456
  };
457
457
  function Jl(D, Y, Q, ce, Ae) {
458
458
  {
459
- var Ce, Ee = {}, ge = null, Ge = null;
460
- Q !== void 0 && (q(Q), ge = "" + Q), $t(Y) && (q(Y.key), ge = "" + Y.key), ft(Y) && (Ge = Y.ref, jt(Y, Ae));
459
+ var Ce, Ee = {}, ge = null, qe = null;
460
+ Q !== void 0 && (q(Q), ge = "" + Q), jt(Y) && (q(Y.key), ge = "" + Y.key), ft(Y) && (qe = Y.ref, zt(Y, Ae));
461
461
  for (Ce in Y)
462
462
  pt.call(Y, Ce) && !pe.hasOwnProperty(Ce) && (Ee[Ce] = Y[Ce]);
463
463
  if (D && D.defaultProps) {
@@ -465,17 +465,17 @@ function hc() {
465
465
  for (Ce in Pe)
466
466
  Ee[Ce] === void 0 && (Ee[Ce] = Pe[Ce]);
467
467
  }
468
- if (ge || Ge) {
468
+ if (ge || qe) {
469
469
  var ke = typeof D == "function" ? D.displayName || D.name || "Unknown" : D;
470
- ge && Ye(Ee, ke), Ge && wt(Ee, ke);
470
+ ge && Ge(Ee, ke), qe && wt(Ee, ke);
471
471
  }
472
- return dt(D, ge, Ge, Ae, ce, oe.current, Ee);
472
+ return dt(D, ge, qe, Ae, ce, oe.current, Ee);
473
473
  }
474
474
  }
475
475
  var Xr = m.ReactCurrentOwner, Pi = m.ReactDebugCurrentFrame;
476
- function an(D) {
476
+ function sn(D) {
477
477
  if (D) {
478
- var Y = D._owner, Q = Je(D.type, D._source, Y ? Y.type : null);
478
+ var Y = D._owner, Q = Ye(D.type, D._source, Y ? Y.type : null);
479
479
  Pi.setExtraStackFrame(Q);
480
480
  } else
481
481
  Pi.setExtraStackFrame(null);
@@ -523,14 +523,14 @@ Check the top-level render call using <` + Q + ">.");
523
523
  return;
524
524
  ki[Q] = !0;
525
525
  var ce = "";
526
- D && D._owner && D._owner !== Xr.current && (ce = " It was passed a child from " + B(D._owner.type) + "."), an(D), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Q, ce), an(null);
526
+ D && D._owner && D._owner !== Xr.current && (ce = " It was passed a child from " + B(D._owner.type) + "."), sn(D), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Q, ce), sn(null);
527
527
  }
528
528
  }
529
529
  function Bi(D, Y) {
530
530
  {
531
531
  if (typeof D != "object")
532
532
  return;
533
- if (Cn(D))
533
+ if (In(D))
534
534
  for (var Q = 0; Q < D.length; Q++) {
535
535
  var ce = D[Q];
536
536
  Kr(ce) && Mi(ce, Y);
@@ -575,11 +575,11 @@ Check the top-level render call using <` + Q + ">.");
575
575
  for (var Y = Object.keys(D.props), Q = 0; Q < Y.length; Q++) {
576
576
  var ce = Y[Q];
577
577
  if (ce !== "children" && ce !== "key") {
578
- an(D), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ce), an(null);
578
+ sn(D), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ce), sn(null);
579
579
  break;
580
580
  }
581
581
  }
582
- D.ref !== null && (an(D), E("Invalid attribute `ref` supplied to `React.Fragment`."), an(null));
582
+ D.ref !== null && (sn(D), E("Invalid attribute `ref` supplied to `React.Fragment`."), sn(null));
583
583
  }
584
584
  }
585
585
  function Fi(D, Y, Q, ce, Ae, Ce) {
@@ -588,26 +588,26 @@ Check the top-level render call using <` + Q + ">.");
588
588
  if (!Ee) {
589
589
  var ge = "";
590
590
  (D === void 0 || typeof D == "object" && D !== null && Object.keys(D).length === 0) && (ge += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
591
- var Ge = ec();
592
- Ge ? ge += Ge : ge += Di();
591
+ var qe = ec();
592
+ qe ? ge += qe : ge += Di();
593
593
  var Pe;
594
- D === null ? Pe = "null" : Cn(D) ? Pe = "array" : D !== void 0 && D.$$typeof === t ? (Pe = "<" + (B(D.type) || "Unknown") + " />", ge = " Did you accidentally export a JSX literal instead of a component?") : Pe = typeof D, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Pe, ge);
594
+ D === null ? Pe = "null" : In(D) ? Pe = "array" : D !== void 0 && D.$$typeof === t ? (Pe = "<" + (B(D.type) || "Unknown") + " />", ge = " Did you accidentally export a JSX literal instead of a component?") : Pe = typeof D, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Pe, ge);
595
595
  }
596
596
  var ke = Jl(D, Y, Q, Ae, Ce);
597
597
  if (ke == null)
598
598
  return ke;
599
599
  if (Ee) {
600
- var rt = Y.children;
601
- if (rt !== void 0)
600
+ var nt = Y.children;
601
+ if (nt !== void 0)
602
602
  if (ce)
603
- if (Cn(rt)) {
604
- for (var sn = 0; sn < rt.length; sn++)
605
- Bi(rt[sn], D);
606
- Object.freeze && Object.freeze(rt);
603
+ if (In(nt)) {
604
+ for (var on = 0; on < nt.length; on++)
605
+ Bi(nt[on], D);
606
+ Object.freeze && Object.freeze(nt);
607
607
  } else
608
608
  E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
609
609
  else
610
- Bi(rt, D);
610
+ Bi(nt, D);
611
611
  }
612
612
  return D === r ? rc(ke) : nc(ke), ke;
613
613
  }
@@ -619,26 +619,26 @@ Check the top-level render call using <` + Q + ">.");
619
619
  return Fi(D, Y, Q, !1);
620
620
  }
621
621
  var sc = ic, oc = ac;
622
- Nn.Fragment = r, Nn.jsx = sc, Nn.jsxs = oc;
623
- }()), Nn;
622
+ On.Fragment = r, On.jsx = sc, On.jsxs = oc;
623
+ }()), On;
624
624
  }
625
625
  process.env.NODE_ENV === "production" ? Ia.exports = dc() : Ia.exports = hc();
626
- var W = Ia.exports, kn = {}, On = Dn;
626
+ var W = Ia.exports, Mn = {}, Rn = kn;
627
627
  if (process.env.NODE_ENV === "production")
628
- kn.createRoot = On.createRoot, kn.hydrateRoot = On.hydrateRoot;
628
+ Mn.createRoot = Rn.createRoot, Mn.hydrateRoot = Rn.hydrateRoot;
629
629
  else {
630
- var ir = On.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
631
- kn.createRoot = function(e, t) {
630
+ var ir = Rn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
631
+ Mn.createRoot = function(e, t) {
632
632
  ir.usingClientEntryPoint = !0;
633
633
  try {
634
- return On.createRoot(e, t);
634
+ return Rn.createRoot(e, t);
635
635
  } finally {
636
636
  ir.usingClientEntryPoint = !1;
637
637
  }
638
- }, kn.hydrateRoot = function(e, t, n) {
638
+ }, Mn.hydrateRoot = function(e, t, n) {
639
639
  ir.usingClientEntryPoint = !0;
640
640
  try {
641
- return On.hydrateRoot(e, t, n);
641
+ return Rn.hydrateRoot(e, t, n);
642
642
  } finally {
643
643
  ir.usingClientEntryPoint = !1;
644
644
  }
@@ -763,33 +763,33 @@ function pc() {
763
763
  }
764
764
  function A(X) {
765
765
  if (typeof X == "object" && X !== null) {
766
- var $e = X.$$typeof;
767
- switch ($e) {
766
+ var Ue = X.$$typeof;
767
+ switch (Ue) {
768
768
  case t:
769
- var We = X.type;
770
- switch (We) {
769
+ var lt = X.type;
770
+ switch (lt) {
771
771
  case h:
772
772
  case g:
773
773
  case r:
774
774
  case s:
775
775
  case a:
776
776
  case u:
777
- return We;
777
+ return lt;
778
778
  default:
779
- var Je = We && We.$$typeof;
780
- switch (Je) {
779
+ var Ye = lt && lt.$$typeof;
780
+ switch (Ye) {
781
781
  case i:
782
782
  case p:
783
783
  case d:
784
784
  case l:
785
785
  case o:
786
- return Je;
786
+ return Ye;
787
787
  default:
788
- return $e;
788
+ return Ue;
789
789
  }
790
790
  }
791
791
  case n:
792
- return $e;
792
+ return Ue;
793
793
  }
794
794
  }
795
795
  }
@@ -812,7 +812,7 @@ function pc() {
812
812
  function J(X) {
813
813
  return A(X) === p;
814
814
  }
815
- function ie(X) {
815
+ function se(X) {
816
816
  return A(X) === r;
817
817
  }
818
818
  function ee(X) {
@@ -824,7 +824,7 @@ function pc() {
824
824
  function ue(X) {
825
825
  return A(X) === n;
826
826
  }
827
- function se(X) {
827
+ function ie(X) {
828
828
  return A(X) === s;
829
829
  }
830
830
  function ne(X) {
@@ -833,7 +833,7 @@ function pc() {
833
833
  function we(X) {
834
834
  return A(X) === u;
835
835
  }
836
- Se.AsyncMode = v, Se.ConcurrentMode = S, Se.ContextConsumer = N, Se.ContextProvider = _, Se.Element = x, Se.ForwardRef = C, Se.Fragment = L, Se.Lazy = M, Se.Memo = B, Se.Portal = $, Se.Profiler = j, Se.StrictMode = K, Se.Suspense = te, Se.isAsyncMode = ye, Se.isConcurrentMode = I, Se.isContextConsumer = U, Se.isContextProvider = Z, Se.isElement = w, Se.isForwardRef = J, Se.isFragment = ie, Se.isLazy = ee, Se.isMemo = ae, Se.isPortal = ue, Se.isProfiler = se, Se.isStrictMode = ne, Se.isSuspense = we, Se.isValidElementType = y, Se.typeOf = A;
836
+ Se.AsyncMode = v, Se.ConcurrentMode = S, Se.ContextConsumer = N, Se.ContextProvider = _, Se.Element = x, Se.ForwardRef = C, Se.Fragment = L, Se.Lazy = M, Se.Memo = B, Se.Portal = $, Se.Profiler = j, Se.StrictMode = K, Se.Suspense = te, Se.isAsyncMode = ye, Se.isConcurrentMode = I, Se.isContextConsumer = U, Se.isContextProvider = Z, Se.isElement = w, Se.isForwardRef = J, Se.isFragment = se, Se.isLazy = ee, Se.isMemo = ae, Se.isPortal = ue, Se.isProfiler = ie, Se.isStrictMode = ne, Se.isSuspense = we, Se.isValidElementType = y, Se.typeOf = A;
837
837
  }()), Se;
838
838
  }
839
839
  process.env.NODE_ENV === "production" ? Ra.exports = mc() : Ra.exports = pc();
@@ -1004,7 +1004,7 @@ function Ec() {
1004
1004
  function T(I) {
1005
1005
  if (process.env.NODE_ENV !== "production")
1006
1006
  var U = {}, Z = 0;
1007
- function w(ie, ee, ae, ue, se, ne, we) {
1007
+ function w(se, ee, ae, ue, ie, ne, we) {
1008
1008
  if (ue = ue || c, ne = ne || ae, we !== n) {
1009
1009
  if (h) {
1010
1010
  var X = new Error(
@@ -1012,25 +1012,25 @@ function Ec() {
1012
1012
  );
1013
1013
  throw X.name = "Invariant Violation", X;
1014
1014
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1015
- var $e = ue + ":" + ae;
1016
- !U[$e] && // Avoid spamming the console because they are often not actionable except for lib authors
1015
+ var Ue = ue + ":" + ae;
1016
+ !U[Ue] && // Avoid spamming the console because they are often not actionable except for lib authors
1017
1017
  Z < 3 && (s(
1018
1018
  "You are manually calling a React.PropTypes validation function for the `" + ne + "` prop on `" + ue + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1019
- ), U[$e] = !0, Z++);
1019
+ ), U[Ue] = !0, Z++);
1020
1020
  }
1021
1021
  }
1022
- return ee[ae] == null ? ie ? ee[ae] === null ? new f("The " + se + " `" + ne + "` is marked as required " + ("in `" + ue + "`, but its value is `null`.")) : new f("The " + se + " `" + ne + "` is marked as required in " + ("`" + ue + "`, but its value is `undefined`.")) : null : I(ee, ae, ue, se, ne);
1022
+ return ee[ae] == null ? se ? ee[ae] === null ? new f("The " + ie + " `" + ne + "` is marked as required " + ("in `" + ue + "`, but its value is `null`.")) : new f("The " + ie + " `" + ne + "` is marked as required in " + ("`" + ue + "`, but its value is `undefined`.")) : null : I(ee, ae, ue, ie, ne);
1023
1023
  }
1024
1024
  var J = w.bind(null, !1);
1025
1025
  return J.isRequired = w.bind(null, !0), J;
1026
1026
  }
1027
1027
  function m(I) {
1028
- function U(Z, w, J, ie, ee, ae) {
1029
- var ue = Z[w], se = K(ue);
1030
- if (se !== I) {
1028
+ function U(Z, w, J, se, ee, ae) {
1029
+ var ue = Z[w], ie = K(ue);
1030
+ if (ie !== I) {
1031
1031
  var ne = te(ue);
1032
1032
  return new f(
1033
- "Invalid " + ie + " `" + ee + "` of type " + ("`" + ne + "` supplied to `" + J + "`, expected ") + ("`" + I + "`."),
1033
+ "Invalid " + se + " `" + ee + "` of type " + ("`" + ne + "` supplied to `" + J + "`, expected ") + ("`" + I + "`."),
1034
1034
  { expectedType: I }
1035
1035
  );
1036
1036
  }
@@ -1042,16 +1042,16 @@ function Ec() {
1042
1042
  return T(o);
1043
1043
  }
1044
1044
  function y(I) {
1045
- function U(Z, w, J, ie, ee) {
1045
+ function U(Z, w, J, se, ee) {
1046
1046
  if (typeof I != "function")
1047
1047
  return new f("Property `" + ee + "` of component `" + J + "` has invalid PropType notation inside arrayOf.");
1048
1048
  var ae = Z[w];
1049
1049
  if (!Array.isArray(ae)) {
1050
1050
  var ue = K(ae);
1051
- return new f("Invalid " + ie + " `" + ee + "` of type " + ("`" + ue + "` supplied to `" + J + "`, expected an array."));
1051
+ return new f("Invalid " + se + " `" + ee + "` of type " + ("`" + ue + "` supplied to `" + J + "`, expected an array."));
1052
1052
  }
1053
- for (var se = 0; se < ae.length; se++) {
1054
- var ne = I(ae, se, J, ie, ee + "[" + se + "]", n);
1053
+ for (var ie = 0; ie < ae.length; ie++) {
1054
+ var ne = I(ae, ie, J, se, ee + "[" + ie + "]", n);
1055
1055
  if (ne instanceof Error)
1056
1056
  return ne;
1057
1057
  }
@@ -1060,32 +1060,32 @@ function Ec() {
1060
1060
  return T(U);
1061
1061
  }
1062
1062
  function A() {
1063
- function I(U, Z, w, J, ie) {
1063
+ function I(U, Z, w, J, se) {
1064
1064
  var ee = U[Z];
1065
1065
  if (!i(ee)) {
1066
1066
  var ae = K(ee);
1067
- return new f("Invalid " + J + " `" + ie + "` of type " + ("`" + ae + "` supplied to `" + w + "`, expected a single ReactElement."));
1067
+ return new f("Invalid " + J + " `" + se + "` of type " + ("`" + ae + "` supplied to `" + w + "`, expected a single ReactElement."));
1068
1068
  }
1069
1069
  return null;
1070
1070
  }
1071
1071
  return T(I);
1072
1072
  }
1073
1073
  function v() {
1074
- function I(U, Z, w, J, ie) {
1074
+ function I(U, Z, w, J, se) {
1075
1075
  var ee = U[Z];
1076
1076
  if (!e.isValidElementType(ee)) {
1077
1077
  var ae = K(ee);
1078
- return new f("Invalid " + J + " `" + ie + "` of type " + ("`" + ae + "` supplied to `" + w + "`, expected a single ReactElement type."));
1078
+ return new f("Invalid " + J + " `" + se + "` of type " + ("`" + ae + "` supplied to `" + w + "`, expected a single ReactElement type."));
1079
1079
  }
1080
1080
  return null;
1081
1081
  }
1082
1082
  return T(I);
1083
1083
  }
1084
1084
  function S(I) {
1085
- function U(Z, w, J, ie, ee) {
1085
+ function U(Z, w, J, se, ee) {
1086
1086
  if (!(Z[w] instanceof I)) {
1087
1087
  var ae = I.name || c, ue = ye(Z[w]);
1088
- return new f("Invalid " + ie + " `" + ee + "` of type " + ("`" + ue + "` supplied to `" + J + "`, expected ") + ("instance of `" + ae + "`."));
1088
+ return new f("Invalid " + se + " `" + ee + "` of type " + ("`" + ue + "` supplied to `" + J + "`, expected ") + ("instance of `" + ae + "`."));
1089
1089
  }
1090
1090
  return null;
1091
1091
  }
@@ -1096,28 +1096,28 @@ function Ec() {
1096
1096
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
1097
1097
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1098
1098
  ) : s("Invalid argument supplied to oneOf, expected an array.")), o;
1099
- function U(Z, w, J, ie, ee) {
1099
+ function U(Z, w, J, se, ee) {
1100
1100
  for (var ae = Z[w], ue = 0; ue < I.length; ue++)
1101
1101
  if (d(ae, I[ue]))
1102
1102
  return null;
1103
- var se = JSON.stringify(I, function(we, X) {
1104
- var $e = te(X);
1105
- return $e === "symbol" ? String(X) : X;
1103
+ var ie = JSON.stringify(I, function(we, X) {
1104
+ var Ue = te(X);
1105
+ return Ue === "symbol" ? String(X) : X;
1106
1106
  });
1107
- return new f("Invalid " + ie + " `" + ee + "` of value `" + String(ae) + "` " + ("supplied to `" + J + "`, expected one of " + se + "."));
1107
+ return new f("Invalid " + se + " `" + ee + "` of value `" + String(ae) + "` " + ("supplied to `" + J + "`, expected one of " + ie + "."));
1108
1108
  }
1109
1109
  return T(U);
1110
1110
  }
1111
1111
  function _(I) {
1112
- function U(Z, w, J, ie, ee) {
1112
+ function U(Z, w, J, se, ee) {
1113
1113
  if (typeof I != "function")
1114
1114
  return new f("Property `" + ee + "` of component `" + J + "` has invalid PropType notation inside objectOf.");
1115
1115
  var ae = Z[w], ue = K(ae);
1116
1116
  if (ue !== "object")
1117
- return new f("Invalid " + ie + " `" + ee + "` of type " + ("`" + ue + "` supplied to `" + J + "`, expected an object."));
1118
- for (var se in ae)
1119
- if (r(ae, se)) {
1120
- var ne = I(ae, se, J, ie, ee + "." + se, n);
1117
+ return new f("Invalid " + se + " `" + ee + "` of type " + ("`" + ue + "` supplied to `" + J + "`, expected an object."));
1118
+ for (var ie in ae)
1119
+ if (r(ae, ie)) {
1120
+ var ne = I(ae, ie, J, se, ee + "." + ie, n);
1121
1121
  if (ne instanceof Error)
1122
1122
  return ne;
1123
1123
  }
@@ -1135,21 +1135,21 @@ function Ec() {
1135
1135
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + he(Z) + " at index " + U + "."
1136
1136
  ), o;
1137
1137
  }
1138
- function w(J, ie, ee, ae, ue) {
1139
- for (var se = [], ne = 0; ne < I.length; ne++) {
1140
- var we = I[ne], X = we(J, ie, ee, ae, ue, n);
1138
+ function w(J, se, ee, ae, ue) {
1139
+ for (var ie = [], ne = 0; ne < I.length; ne++) {
1140
+ var we = I[ne], X = we(J, se, ee, ae, ue, n);
1141
1141
  if (X == null)
1142
1142
  return null;
1143
- X.data && r(X.data, "expectedType") && se.push(X.data.expectedType);
1143
+ X.data && r(X.data, "expectedType") && ie.push(X.data.expectedType);
1144
1144
  }
1145
- var $e = se.length > 0 ? ", expected one of type [" + se.join(", ") + "]" : "";
1146
- return new f("Invalid " + ae + " `" + ue + "` supplied to " + ("`" + ee + "`" + $e + "."));
1145
+ var Ue = ie.length > 0 ? ", expected one of type [" + ie.join(", ") + "]" : "";
1146
+ return new f("Invalid " + ae + " `" + ue + "` supplied to " + ("`" + ee + "`" + Ue + "."));
1147
1147
  }
1148
1148
  return T(w);
1149
1149
  }
1150
1150
  function C() {
1151
- function I(U, Z, w, J, ie) {
1152
- return $(U[Z]) ? null : new f("Invalid " + J + " `" + ie + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
1151
+ function I(U, Z, w, J, se) {
1152
+ return $(U[Z]) ? null : new f("Invalid " + J + " `" + se + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
1153
1153
  }
1154
1154
  return T(I);
1155
1155
  }
@@ -1159,15 +1159,15 @@ function Ec() {
1159
1159
  );
1160
1160
  }
1161
1161
  function M(I) {
1162
- function U(Z, w, J, ie, ee) {
1162
+ function U(Z, w, J, se, ee) {
1163
1163
  var ae = Z[w], ue = K(ae);
1164
1164
  if (ue !== "object")
1165
- return new f("Invalid " + ie + " `" + ee + "` of type `" + ue + "` " + ("supplied to `" + J + "`, expected `object`."));
1166
- for (var se in I) {
1167
- var ne = I[se];
1165
+ return new f("Invalid " + se + " `" + ee + "` of type `" + ue + "` " + ("supplied to `" + J + "`, expected `object`."));
1166
+ for (var ie in I) {
1167
+ var ne = I[ie];
1168
1168
  if (typeof ne != "function")
1169
- return L(J, ie, ee, se, te(ne));
1170
- var we = ne(ae, se, J, ie, ee + "." + se, n);
1169
+ return L(J, se, ee, ie, te(ne));
1170
+ var we = ne(ae, ie, J, se, ee + "." + ie, n);
1171
1171
  if (we)
1172
1172
  return we;
1173
1173
  }
@@ -1176,21 +1176,21 @@ function Ec() {
1176
1176
  return T(U);
1177
1177
  }
1178
1178
  function B(I) {
1179
- function U(Z, w, J, ie, ee) {
1179
+ function U(Z, w, J, se, ee) {
1180
1180
  var ae = Z[w], ue = K(ae);
1181
1181
  if (ue !== "object")
1182
- return new f("Invalid " + ie + " `" + ee + "` of type `" + ue + "` " + ("supplied to `" + J + "`, expected `object`."));
1183
- var se = t({}, Z[w], I);
1184
- for (var ne in se) {
1182
+ return new f("Invalid " + se + " `" + ee + "` of type `" + ue + "` " + ("supplied to `" + J + "`, expected `object`."));
1183
+ var ie = t({}, Z[w], I);
1184
+ for (var ne in ie) {
1185
1185
  var we = I[ne];
1186
1186
  if (r(I, ne) && typeof we != "function")
1187
- return L(J, ie, ee, ne, te(we));
1187
+ return L(J, se, ee, ne, te(we));
1188
1188
  if (!we)
1189
1189
  return new f(
1190
- "Invalid " + ie + " `" + ee + "` key `" + ne + "` supplied to `" + J + "`.\nBad object: " + JSON.stringify(Z[w], null, " ") + `
1190
+ "Invalid " + se + " `" + ee + "` key `" + ne + "` supplied to `" + J + "`.\nBad object: " + JSON.stringify(Z[w], null, " ") + `
1191
1191
  Valid keys: ` + JSON.stringify(Object.keys(I), null, " ")
1192
1192
  );
1193
- var X = we(ae, ne, J, ie, ee + "." + ne, n);
1193
+ var X = we(ae, ne, J, se, ee + "." + ne, n);
1194
1194
  if (X)
1195
1195
  return X;
1196
1196
  }
@@ -1359,20 +1359,20 @@ var Cc = process.env.NODE_ENV !== "production" ? fe.oneOfType([fe.number, fe.sha
1359
1359
  const Bo = Le.createContext(null);
1360
1360
  var Fo = function(t) {
1361
1361
  return t.scrollTop;
1362
- }, Mn = "unmounted", Vt = "exited", Yt = "entering", ln = "entered", wa = "exiting", St = /* @__PURE__ */ function(e) {
1362
+ }, Bn = "unmounted", Yt = "exited", Gt = "entering", cn = "entered", wa = "exiting", St = /* @__PURE__ */ function(e) {
1363
1363
  ko(t, e);
1364
1364
  function t(r, a) {
1365
1365
  var s;
1366
1366
  s = e.call(this, r, a) || this;
1367
1367
  var o = a, i = o && !o.isMounting ? r.enter : r.appear, h;
1368
- return s.appearStatus = null, r.in ? i ? (h = Vt, s.appearStatus = Yt) : h = ln : r.unmountOnExit || r.mountOnEnter ? h = Mn : h = Vt, s.state = {
1368
+ return s.appearStatus = null, r.in ? i ? (h = Yt, s.appearStatus = Gt) : h = cn : r.unmountOnExit || r.mountOnEnter ? h = Bn : h = Yt, s.state = {
1369
1369
  status: h
1370
1370
  }, s.nextCallback = null, s;
1371
1371
  }
1372
1372
  t.getDerivedStateFromProps = function(a, s) {
1373
1373
  var o = a.in;
1374
- return o && s.status === Mn ? {
1375
- status: Vt
1374
+ return o && s.status === Bn ? {
1375
+ status: Yt
1376
1376
  } : null;
1377
1377
  };
1378
1378
  var n = t.prototype;
@@ -1382,7 +1382,7 @@ var Fo = function(t) {
1382
1382
  var s = null;
1383
1383
  if (a !== this.props) {
1384
1384
  var o = this.state.status;
1385
- this.props.in ? o !== Yt && o !== ln && (s = Yt) : (o === Yt || o === ln) && (s = wa);
1385
+ this.props.in ? o !== Gt && o !== cn && (s = Gt) : (o === Gt || o === cn) && (s = wa);
1386
1386
  }
1387
1387
  this.updateStatus(!1, s);
1388
1388
  }, n.componentWillUnmount = function() {
@@ -1396,43 +1396,43 @@ var Fo = function(t) {
1396
1396
  };
1397
1397
  }, n.updateStatus = function(a, s) {
1398
1398
  if (a === void 0 && (a = !1), s !== null)
1399
- if (this.cancelNextCallback(), s === Yt) {
1399
+ if (this.cancelNextCallback(), s === Gt) {
1400
1400
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
1401
- var o = this.props.nodeRef ? this.props.nodeRef.current : Dn.findDOMNode(this);
1401
+ var o = this.props.nodeRef ? this.props.nodeRef.current : kn.findDOMNode(this);
1402
1402
  o && Fo(o);
1403
1403
  }
1404
1404
  this.performEnter(a);
1405
1405
  } else
1406
1406
  this.performExit();
1407
- else this.props.unmountOnExit && this.state.status === Vt && this.setState({
1408
- status: Mn
1407
+ else this.props.unmountOnExit && this.state.status === Yt && this.setState({
1408
+ status: Bn
1409
1409
  });
1410
1410
  }, n.performEnter = function(a) {
1411
- var s = this, o = this.props.enter, i = this.context ? this.context.isMounting : a, h = this.props.nodeRef ? [i] : [Dn.findDOMNode(this), i], g = h[0], p = h[1], u = this.getTimeouts(), c = i ? u.appear : u.enter;
1411
+ var s = this, o = this.props.enter, i = this.context ? this.context.isMounting : a, h = this.props.nodeRef ? [i] : [kn.findDOMNode(this), i], g = h[0], p = h[1], u = this.getTimeouts(), c = i ? u.appear : u.enter;
1412
1412
  if (!a && !o || Zi.disabled) {
1413
1413
  this.safeSetState({
1414
- status: ln
1414
+ status: cn
1415
1415
  }, function() {
1416
1416
  s.props.onEntered(g);
1417
1417
  });
1418
1418
  return;
1419
1419
  }
1420
1420
  this.props.onEnter(g, p), this.safeSetState({
1421
- status: Yt
1421
+ status: Gt
1422
1422
  }, function() {
1423
1423
  s.props.onEntering(g, p), s.onTransitionEnd(c, function() {
1424
1424
  s.safeSetState({
1425
- status: ln
1425
+ status: cn
1426
1426
  }, function() {
1427
1427
  s.props.onEntered(g, p);
1428
1428
  });
1429
1429
  });
1430
1430
  });
1431
1431
  }, n.performExit = function() {
1432
- var a = this, s = this.props.exit, o = this.getTimeouts(), i = this.props.nodeRef ? void 0 : Dn.findDOMNode(this);
1432
+ var a = this, s = this.props.exit, o = this.getTimeouts(), i = this.props.nodeRef ? void 0 : kn.findDOMNode(this);
1433
1433
  if (!s || Zi.disabled) {
1434
1434
  this.safeSetState({
1435
- status: Vt
1435
+ status: Yt
1436
1436
  }, function() {
1437
1437
  a.props.onExited(i);
1438
1438
  });
@@ -1443,7 +1443,7 @@ var Fo = function(t) {
1443
1443
  }, function() {
1444
1444
  a.props.onExiting(i), a.onTransitionEnd(o.exit, function() {
1445
1445
  a.safeSetState({
1446
- status: Vt
1446
+ status: Yt
1447
1447
  }, function() {
1448
1448
  a.props.onExited(i);
1449
1449
  });
@@ -1462,7 +1462,7 @@ var Fo = function(t) {
1462
1462
  }, this.nextCallback;
1463
1463
  }, n.onTransitionEnd = function(a, s) {
1464
1464
  this.setNextCallback(s);
1465
- var o = this.props.nodeRef ? this.props.nodeRef.current : Dn.findDOMNode(this), i = a == null && !this.props.addEndListener;
1465
+ var o = this.props.nodeRef ? this.props.nodeRef.current : kn.findDOMNode(this), i = a == null && !this.props.addEndListener;
1466
1466
  if (!o || i) {
1467
1467
  setTimeout(this.nextCallback, 0);
1468
1468
  return;
@@ -1474,7 +1474,7 @@ var Fo = function(t) {
1474
1474
  a != null && setTimeout(this.nextCallback, a);
1475
1475
  }, n.render = function() {
1476
1476
  var a = this.state.status;
1477
- if (a === Mn)
1477
+ if (a === Bn)
1478
1478
  return null;
1479
1479
  var s = this.props, o = s.children;
1480
1480
  s.in, s.mountOnEnter, s.unmountOnExit, s.appear, s.enter, s.exit, s.timeout, s.addEndListener, s.onEnter, s.onEntering, s.onEntered, s.onExit, s.onExiting, s.onExited, s.nodeRef;
@@ -1657,7 +1657,7 @@ St.propTypes = process.env.NODE_ENV !== "production" ? {
1657
1657
  */
1658
1658
  onExited: fe.func
1659
1659
  } : {};
1660
- function on() {
1660
+ function un() {
1661
1661
  }
1662
1662
  St.defaultProps = {
1663
1663
  in: !1,
@@ -1666,17 +1666,17 @@ St.defaultProps = {
1666
1666
  appear: !1,
1667
1667
  enter: !0,
1668
1668
  exit: !0,
1669
- onEnter: on,
1670
- onEntering: on,
1671
- onEntered: on,
1672
- onExit: on,
1673
- onExiting: on,
1674
- onExited: on
1669
+ onEnter: un,
1670
+ onEntering: un,
1671
+ onEntered: un,
1672
+ onExit: un,
1673
+ onExiting: un,
1674
+ onExited: un
1675
1675
  };
1676
- St.UNMOUNTED = Mn;
1677
- St.EXITED = Vt;
1678
- St.ENTERING = Yt;
1679
- St.ENTERED = ln;
1676
+ St.UNMOUNTED = Bn;
1677
+ St.EXITED = Yt;
1678
+ St.ENTERING = Gt;
1679
+ St.ENTERED = cn;
1680
1680
  St.EXITING = wa;
1681
1681
  var Nc = function(t, n) {
1682
1682
  return t && n && n.split(" ").forEach(function(r) {
@@ -1879,7 +1879,7 @@ var La = function(e, t) {
1879
1879
  for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (n[a] = r[a]);
1880
1880
  }, La(e, t);
1881
1881
  };
1882
- function ot(e, t) {
1882
+ function st(e, t) {
1883
1883
  if (typeof t != "function" && t !== null)
1884
1884
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1885
1885
  La(e, t);
@@ -1938,10 +1938,10 @@ var Oe;
1938
1938
  (function(e) {
1939
1939
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1940
1940
  })(Oe || (Oe = {}));
1941
- var pn;
1941
+ var gn;
1942
1942
  (function(e) {
1943
1943
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1944
- })(pn || (pn = {}));
1944
+ })(gn || (gn = {}));
1945
1945
  function Ji(e) {
1946
1946
  return e.type === Oe.literal;
1947
1947
  }
@@ -1970,10 +1970,10 @@ function qo(e) {
1970
1970
  return e.type === Oe.tag;
1971
1971
  }
1972
1972
  function Wo(e) {
1973
- return !!(e && typeof e == "object" && e.type === pn.number);
1973
+ return !!(e && typeof e == "object" && e.type === gn.number);
1974
1974
  }
1975
1975
  function Pa(e) {
1976
- return !!(e && typeof e == "object" && e.type === pn.dateTime);
1976
+ return !!(e && typeof e == "object" && e.type === gn.dateTime);
1977
1977
  }
1978
1978
  var Xo = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pc = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1979
1979
  function Dc(e) {
@@ -4050,7 +4050,7 @@ var nf = (
4050
4050
  var m = T;
4051
4051
  this.locale && (m = $c(T, this.locale));
4052
4052
  var c = {
4053
- type: pn.dateTime,
4053
+ type: gn.dateTime,
4054
4054
  pattern: m,
4055
4055
  location: g.styleLocation,
4056
4056
  parsedOptions: this.shouldParseSkeletons ? Dc(m) : {}
@@ -4164,7 +4164,7 @@ var nf = (
4164
4164
  }
4165
4165
  return {
4166
4166
  val: {
4167
- type: pn.number,
4167
+ type: gn.number,
4168
4168
  tokens: r,
4169
4169
  location: n,
4170
4170
  parsedOptions: this.shouldParseSkeletons ? Uc(r) : {}
@@ -4370,7 +4370,7 @@ var hf = {
4370
4370
  var Bt = (
4371
4371
  /** @class */
4372
4372
  function(e) {
4373
- ot(t, e);
4373
+ st(t, e);
4374
4374
  function t(n, r, a) {
4375
4375
  var s = e.call(this, n) || this;
4376
4376
  return s.code = r, s.originalMessage = a, s;
@@ -4382,7 +4382,7 @@ var Bt = (
4382
4382
  ), ss = (
4383
4383
  /** @class */
4384
4384
  function(e) {
4385
- ot(t, e);
4385
+ st(t, e);
4386
4386
  function t(n, r, a, s) {
4387
4387
  return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(a).join('", "'), '"'), At.INVALID_VALUE, s) || this;
4388
4388
  }
@@ -4391,7 +4391,7 @@ var Bt = (
4391
4391
  ), mf = (
4392
4392
  /** @class */
4393
4393
  function(e) {
4394
- ot(t, e);
4394
+ st(t, e);
4395
4395
  function t(n, r, a) {
4396
4396
  return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), At.INVALID_VALUE, a) || this;
4397
4397
  }
@@ -4400,20 +4400,20 @@ var Bt = (
4400
4400
  ), pf = (
4401
4401
  /** @class */
4402
4402
  function(e) {
4403
- ot(t, e);
4403
+ st(t, e);
4404
4404
  function t(n, r) {
4405
4405
  return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), At.MISSING_VALUE, r) || this;
4406
4406
  }
4407
4407
  return t;
4408
4408
  }(Bt)
4409
- ), qe;
4409
+ ), We;
4410
4410
  (function(e) {
4411
4411
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
4412
- })(qe || (qe = {}));
4412
+ })(We || (We = {}));
4413
4413
  function gf(e) {
4414
4414
  return e.length < 2 ? e : e.reduce(function(t, n) {
4415
4415
  var r = t[t.length - 1];
4416
- return !r || r.type !== qe.literal || n.type !== qe.literal ? t.push(n) : r.value += n.value, t;
4416
+ return !r || r.type !== We.literal || n.type !== We.literal ? t.push(n) : r.value += n.value, t;
4417
4417
  }, []);
4418
4418
  }
4419
4419
  function au(e) {
@@ -4423,7 +4423,7 @@ function hr(e, t, n, r, a, s, o) {
4423
4423
  if (e.length === 1 && Ji(e[0]))
4424
4424
  return [
4425
4425
  {
4426
- type: qe.literal,
4426
+ type: We.literal,
4427
4427
  value: e[0].value
4428
4428
  }
4429
4429
  ];
@@ -4431,14 +4431,14 @@ function hr(e, t, n, r, a, s, o) {
4431
4431
  var p = g[h];
4432
4432
  if (Ji(p)) {
4433
4433
  i.push({
4434
- type: qe.literal,
4434
+ type: We.literal,
4435
4435
  value: p.value
4436
4436
  });
4437
4437
  continue;
4438
4438
  }
4439
4439
  if (Lc(p)) {
4440
4440
  typeof s == "number" && i.push({
4441
- type: qe.literal,
4441
+ type: We.literal,
4442
4442
  value: n.getNumberFormat(t).format(s)
4443
4443
  });
4444
4444
  continue;
@@ -4449,7 +4449,7 @@ function hr(e, t, n, r, a, s, o) {
4449
4449
  var c = a[u];
4450
4450
  if (wc(p)) {
4451
4451
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), i.push({
4452
- type: typeof c == "string" ? qe.literal : qe.object,
4452
+ type: typeof c == "string" ? We.literal : We.object,
4453
4453
  value: c
4454
4454
  });
4455
4455
  continue;
@@ -4457,7 +4457,7 @@ function hr(e, t, n, r, a, s, o) {
4457
4457
  if (zo(p)) {
4458
4458
  var l = typeof p.style == "string" ? r.date[p.style] : Pa(p.style) ? p.style.parsedOptions : void 0;
4459
4459
  i.push({
4460
- type: qe.literal,
4460
+ type: We.literal,
4461
4461
  value: n.getDateTimeFormat(t, l).format(c)
4462
4462
  });
4463
4463
  continue;
@@ -4465,7 +4465,7 @@ function hr(e, t, n, r, a, s, o) {
4465
4465
  if (Vo(p)) {
4466
4466
  var l = typeof p.style == "string" ? r.time[p.style] : Pa(p.style) ? p.style.parsedOptions : r.time.medium;
4467
4467
  i.push({
4468
- type: qe.literal,
4468
+ type: We.literal,
4469
4469
  value: n.getDateTimeFormat(t, l).format(c)
4470
4470
  });
4471
4471
  continue;
@@ -4473,7 +4473,7 @@ function hr(e, t, n, r, a, s, o) {
4473
4473
  if (jo(p)) {
4474
4474
  var l = typeof p.style == "string" ? r.number[p.style] : Wo(p.style) ? p.style.parsedOptions : void 0;
4475
4475
  l && l.scale && (c = c * (l.scale || 1)), i.push({
4476
- type: qe.literal,
4476
+ type: We.literal,
4477
4477
  value: n.getNumberFormat(t, l).format(c)
4478
4478
  });
4479
4479
  continue;
@@ -4487,7 +4487,7 @@ function hr(e, t, n, r, a, s, o) {
4487
4487
  }));
4488
4488
  Array.isArray(E) || (E = [E]), i.push.apply(i, E.map(function(v) {
4489
4489
  return {
4490
- type: typeof v == "string" ? qe.literal : qe.object,
4490
+ type: typeof v == "string" ? We.literal : We.object,
4491
4491
  value: v
4492
4492
  };
4493
4493
  }));
@@ -4587,7 +4587,7 @@ var iu = (
4587
4587
  if (g.length === 1)
4588
4588
  return g[0].value;
4589
4589
  var p = g.reduce(function(u, c) {
4590
- return !u.length || c.type !== qe.literal || typeof u[u.length - 1] != "string" ? u.push(c.value) : u[u.length - 1] += c.value, u;
4590
+ return !u.length || c.type !== We.literal || typeof u[u.length - 1] != "string" ? u.push(c.value) : u[u.length - 1] += c.value, u;
4591
4591
  }, []);
4592
4592
  return p.length <= 1 ? p[0] || "" : p;
4593
4593
  }, this.formatToParts = function(h) {
@@ -4683,14 +4683,14 @@ var iu = (
4683
4683
  }
4684
4684
  }, e;
4685
4685
  }()
4686
- ), Zt;
4686
+ ), Jt;
4687
4687
  (function(e) {
4688
4688
  e.FORMAT_ERROR = "FORMAT_ERROR", e.UNSUPPORTED_FORMATTER = "UNSUPPORTED_FORMATTER", e.INVALID_CONFIG = "INVALID_CONFIG", e.MISSING_DATA = "MISSING_DATA", e.MISSING_TRANSLATION = "MISSING_TRANSLATION";
4689
- })(Zt || (Zt = {}));
4690
- var Qn = (
4689
+ })(Jt || (Jt = {}));
4690
+ var Kn = (
4691
4691
  /** @class */
4692
4692
  function(e) {
4693
- ot(t, e);
4693
+ st(t, e);
4694
4694
  function t(n, r, a) {
4695
4695
  var s = this, o = a ? a instanceof Error ? a : new Error(String(a)) : void 0;
4696
4696
  return s = e.call(this, "[@formatjs/intl Error ".concat(n, "] ").concat(r, `
@@ -4703,46 +4703,46 @@ var Qn = (
4703
4703
  ), yf = (
4704
4704
  /** @class */
4705
4705
  function(e) {
4706
- ot(t, e);
4706
+ st(t, e);
4707
4707
  function t(n, r) {
4708
- return e.call(this, Zt.UNSUPPORTED_FORMATTER, n, r) || this;
4708
+ return e.call(this, Jt.UNSUPPORTED_FORMATTER, n, r) || this;
4709
4709
  }
4710
4710
  return t;
4711
- }(Qn)
4711
+ }(Kn)
4712
4712
  ), _f = (
4713
4713
  /** @class */
4714
4714
  function(e) {
4715
- ot(t, e);
4715
+ st(t, e);
4716
4716
  function t(n, r) {
4717
- return e.call(this, Zt.INVALID_CONFIG, n, r) || this;
4717
+ return e.call(this, Jt.INVALID_CONFIG, n, r) || this;
4718
4718
  }
4719
4719
  return t;
4720
- }(Qn)
4720
+ }(Kn)
4721
4721
  ), os = (
4722
4722
  /** @class */
4723
4723
  function(e) {
4724
- ot(t, e);
4724
+ st(t, e);
4725
4725
  function t(n, r) {
4726
- return e.call(this, Zt.MISSING_DATA, n, r) || this;
4726
+ return e.call(this, Jt.MISSING_DATA, n, r) || this;
4727
4727
  }
4728
4728
  return t;
4729
- }(Qn)
4730
- ), ut = (
4729
+ }(Kn)
4730
+ ), ot = (
4731
4731
  /** @class */
4732
4732
  function(e) {
4733
- ot(t, e);
4733
+ st(t, e);
4734
4734
  function t(n, r, a) {
4735
- var s = e.call(this, Zt.FORMAT_ERROR, "".concat(n, `
4735
+ var s = e.call(this, Jt.FORMAT_ERROR, "".concat(n, `
4736
4736
  Locale: `).concat(r, `
4737
4737
  `), a) || this;
4738
4738
  return s.locale = r, s;
4739
4739
  }
4740
4740
  return t;
4741
- }(Qn)
4741
+ }(Kn)
4742
4742
  ), ua = (
4743
4743
  /** @class */
4744
4744
  function(e) {
4745
- ot(t, e);
4745
+ st(t, e);
4746
4746
  function t(n, r, a, s) {
4747
4747
  var o = e.call(this, "".concat(n, `
4748
4748
  MessageID: `).concat(a == null ? void 0 : a.id, `
@@ -4752,22 +4752,22 @@ Description: `).concat(a == null ? void 0 : a.description, `
4752
4752
  return o.descriptor = a, o.locale = r, o;
4753
4753
  }
4754
4754
  return t;
4755
- }(ut)
4755
+ }(ot)
4756
4756
  ), vf = (
4757
4757
  /** @class */
4758
4758
  function(e) {
4759
- ot(t, e);
4759
+ st(t, e);
4760
4760
  function t(n, r) {
4761
- var a = e.call(this, Zt.MISSING_TRANSLATION, 'Missing message: "'.concat(n.id, '" for locale "').concat(r, '", using ').concat(n.defaultMessage ? "default message (".concat(typeof n.defaultMessage == "string" ? n.defaultMessage : n.defaultMessage.map(function(s) {
4761
+ var a = e.call(this, Jt.MISSING_TRANSLATION, 'Missing message: "'.concat(n.id, '" for locale "').concat(r, '", using ').concat(n.defaultMessage ? "default message (".concat(typeof n.defaultMessage == "string" ? n.defaultMessage : n.defaultMessage.map(function(s) {
4762
4762
  var o;
4763
4763
  return (o = s.value) !== null && o !== void 0 ? o : JSON.stringify(s);
4764
4764
  }).join(), ")") : "id", " as fallback.")) || this;
4765
4765
  return a.descriptor = n, a;
4766
4766
  }
4767
4767
  return t;
4768
- }(Qn)
4768
+ }(Kn)
4769
4769
  );
4770
- function en(e, t, n) {
4770
+ function tn(e, t, n) {
4771
4771
  return n === void 0 && (n = {}), t.reduce(function(r, a) {
4772
4772
  return a in e ? r[a] = e[a] : a in n && (r[a] = n[a]), r;
4773
4773
  }, {});
@@ -4797,7 +4797,7 @@ function ou() {
4797
4797
  displayNames: {}
4798
4798
  };
4799
4799
  }
4800
- function zt(e) {
4800
+ function Vt(e) {
4801
4801
  return {
4802
4802
  create: function() {
4803
4803
  return {
@@ -4818,21 +4818,21 @@ function Sf(e) {
4818
4818
  h[g] = arguments[g];
4819
4819
  return new ((i = Intl.DateTimeFormat).bind.apply(i, yt([void 0], h, !1)))();
4820
4820
  }, {
4821
- cache: zt(e.dateTime),
4821
+ cache: Vt(e.dateTime),
4822
4822
  strategy: Tt.variadic
4823
4823
  }), s = Et(function() {
4824
4824
  for (var i, h = [], g = 0; g < arguments.length; g++)
4825
4825
  h[g] = arguments[g];
4826
4826
  return new ((i = Intl.NumberFormat).bind.apply(i, yt([void 0], h, !1)))();
4827
4827
  }, {
4828
- cache: zt(e.number),
4828
+ cache: Vt(e.number),
4829
4829
  strategy: Tt.variadic
4830
4830
  }), o = Et(function() {
4831
4831
  for (var i, h = [], g = 0; g < arguments.length; g++)
4832
4832
  h[g] = arguments[g];
4833
4833
  return new ((i = Intl.PluralRules).bind.apply(i, yt([void 0], h, !1)))();
4834
4834
  }, {
4835
- cache: zt(e.pluralRules),
4835
+ cache: Vt(e.pluralRules),
4836
4836
  strategy: Tt.variadic
4837
4837
  });
4838
4838
  return {
@@ -4845,7 +4845,7 @@ function Sf(e) {
4845
4845
  getPluralRules: o
4846
4846
  } }, p || {}));
4847
4847
  }, {
4848
- cache: zt(e.message),
4848
+ cache: Vt(e.message),
4849
4849
  strategy: Tt.variadic
4850
4850
  }),
4851
4851
  getRelativeTimeFormat: Et(function() {
@@ -4853,7 +4853,7 @@ function Sf(e) {
4853
4853
  i[h] = arguments[h];
4854
4854
  return new (t.bind.apply(t, yt([void 0], i, !1)))();
4855
4855
  }, {
4856
- cache: zt(e.relativeTime),
4856
+ cache: Vt(e.relativeTime),
4857
4857
  strategy: Tt.variadic
4858
4858
  }),
4859
4859
  getPluralRules: o,
@@ -4862,7 +4862,7 @@ function Sf(e) {
4862
4862
  i[h] = arguments[h];
4863
4863
  return new (n.bind.apply(n, yt([void 0], i, !1)))();
4864
4864
  }, {
4865
- cache: zt(e.list),
4865
+ cache: Vt(e.list),
4866
4866
  strategy: Tt.variadic
4867
4867
  }),
4868
4868
  getDisplayNames: Et(function() {
@@ -4870,7 +4870,7 @@ function Sf(e) {
4870
4870
  i[h] = arguments[h];
4871
4871
  return new (r.bind.apply(r, yt([void 0], i, !1)))();
4872
4872
  }, {
4873
- cache: zt(e.displayNames),
4873
+ cache: Vt(e.displayNames),
4874
4874
  strategy: Tt.variadic
4875
4875
  })
4876
4876
  };
@@ -4963,7 +4963,7 @@ var Ha = function(e, t, n, r, a) {
4963
4963
  function Lr(e, t, n, r) {
4964
4964
  var a = e.locale, s = e.formats, o = e.onError, i = e.timeZone;
4965
4965
  r === void 0 && (r = {});
4966
- var h = r.format, g = re(re({}, i && { timeZone: i }), h && fi(s, t, h, o)), p = en(r, uu, g);
4966
+ var h = r.format, g = re(re({}, i && { timeZone: i }), h && fi(s, t, h, o)), p = tn(r, uu, g);
4967
4967
  return t === "time" && !p.hour && !p.minute && !p.second && !p.timeStyle && !p.dateStyle && (p = re(re({}, p), { hour: "numeric", minute: "numeric" })), n(a, p);
4968
4968
  }
4969
4969
  function Cf(e, t) {
@@ -4973,7 +4973,7 @@ function Cf(e, t) {
4973
4973
  try {
4974
4974
  return Lr(e, "date", t, o).format(i);
4975
4975
  } catch (h) {
4976
- e.onError(new ut("Error formatting date.", e.locale, h));
4976
+ e.onError(new ot("Error formatting date.", e.locale, h));
4977
4977
  }
4978
4978
  return String(i);
4979
4979
  }
@@ -4984,18 +4984,18 @@ function If(e, t) {
4984
4984
  try {
4985
4985
  return Lr(e, "time", t, o).format(i);
4986
4986
  } catch (h) {
4987
- e.onError(new ut("Error formatting time.", e.locale, h));
4987
+ e.onError(new ot("Error formatting time.", e.locale, h));
4988
4988
  }
4989
4989
  return String(i);
4990
4990
  }
4991
4991
  function Nf(e, t) {
4992
4992
  for (var n = [], r = 2; r < arguments.length; r++)
4993
4993
  n[r - 2] = arguments[r];
4994
- var a = n[0], s = n[1], o = n[2], i = o === void 0 ? {} : o, h = e.timeZone, g = e.locale, p = e.onError, u = en(i, uu, h ? { timeZone: h } : {});
4994
+ var a = n[0], s = n[1], o = n[2], i = o === void 0 ? {} : o, h = e.timeZone, g = e.locale, p = e.onError, u = tn(i, uu, h ? { timeZone: h } : {});
4995
4995
  try {
4996
4996
  return t(g, u).formatRange(a, s);
4997
4997
  } catch (c) {
4998
- p(new ut("Error formatting date time range.", e.locale, c));
4998
+ p(new ot("Error formatting date time range.", e.locale, c));
4999
4999
  }
5000
5000
  return String(a);
5001
5001
  }
@@ -5006,7 +5006,7 @@ function Of(e, t) {
5006
5006
  try {
5007
5007
  return Lr(e, "date", t, o).formatToParts(i);
5008
5008
  } catch (h) {
5009
- e.onError(new ut("Error formatting date.", e.locale, h));
5009
+ e.onError(new ot("Error formatting date.", e.locale, h));
5010
5010
  }
5011
5011
  return [];
5012
5012
  }
@@ -5017,7 +5017,7 @@ function Rf(e, t) {
5017
5017
  try {
5018
5018
  return Lr(e, "time", t, o).formatToParts(i);
5019
5019
  } catch (h) {
5020
- e.onError(new ut("Error formatting time.", e.locale, h));
5020
+ e.onError(new ot("Error formatting time.", e.locale, h));
5021
5021
  }
5022
5022
  return [];
5023
5023
  }
@@ -5032,11 +5032,11 @@ function Lf(e, t, n, r) {
5032
5032
  o || s(new Bt(`Intl.DisplayNames is not available in this environment.
5033
5033
  Try polyfilling it using "@formatjs/intl-displaynames"
5034
5034
  `, At.MISSING_INTL_API));
5035
- var i = en(r, wf);
5035
+ var i = tn(r, wf);
5036
5036
  try {
5037
5037
  return t(a, i).of(n);
5038
5038
  } catch (h) {
5039
- s(new ut("Error formatting display name.", a, h));
5039
+ s(new ot("Error formatting display name.", a, h));
5040
5040
  }
5041
5041
  }
5042
5042
  var Pf = [
@@ -5061,7 +5061,7 @@ function lu(e, t, n, r) {
5061
5061
  o || s(new Bt(`Intl.ListFormat is not available in this environment.
5062
5062
  Try polyfilling it using "@formatjs/intl-listformat"
5063
5063
  `, At.MISSING_INTL_API));
5064
- var i = en(r, Pf);
5064
+ var i = tn(r, Pf);
5065
5065
  try {
5066
5066
  var h = {}, g = n.map(function(p, u) {
5067
5067
  if (typeof p == "object") {
@@ -5074,7 +5074,7 @@ Try polyfilling it using "@formatjs/intl-listformat"
5074
5074
  return p.type === "literal" ? p : re(re({}, p), { value: h[p.value] || p.value });
5075
5075
  });
5076
5076
  } catch (p) {
5077
- s(new ut("Error formatting list.", a, p));
5077
+ s(new ot("Error formatting list.", a, p));
5078
5078
  }
5079
5079
  return n;
5080
5080
  }
@@ -5084,11 +5084,11 @@ function Bf(e, t, n, r) {
5084
5084
  r === void 0 && (r = {}), Intl.PluralRules || s(new Bt(`Intl.PluralRules is not available in this environment.
5085
5085
  Try polyfilling it using "@formatjs/intl-pluralrules"
5086
5086
  `, At.MISSING_INTL_API));
5087
- var o = en(r, Mf);
5087
+ var o = tn(r, Mf);
5088
5088
  try {
5089
5089
  return t(a, o).select(n);
5090
5090
  } catch (i) {
5091
- s(new ut("Error formatting plural.", a, i));
5091
+ s(new ot("Error formatting plural.", a, i));
5092
5092
  }
5093
5093
  return "other";
5094
5094
  }
@@ -5096,7 +5096,7 @@ var Ff = ["numeric", "style"];
5096
5096
  function Hf(e, t, n) {
5097
5097
  var r = e.locale, a = e.formats, s = e.onError;
5098
5098
  n === void 0 && (n = {});
5099
- var o = n.format, i = !!o && fi(a, "relative", o, s) || {}, h = en(n, Ff, i);
5099
+ var o = n.format, i = !!o && fi(a, "relative", o, s) || {}, h = tn(n, Ff, i);
5100
5100
  return t(r, h);
5101
5101
  }
5102
5102
  function Uf(e, t, n, r, a) {
@@ -5108,7 +5108,7 @@ Try polyfilling it using "@formatjs/intl-relativetimeformat"
5108
5108
  try {
5109
5109
  return Hf(e, t, a).format(n, r);
5110
5110
  } catch (o) {
5111
- e.onError(new ut("Error formatting relative time.", e.locale, o));
5111
+ e.onError(new ot("Error formatting relative time.", e.locale, o));
5112
5112
  }
5113
5113
  return String(n);
5114
5114
  }
@@ -5141,7 +5141,7 @@ var $f = [
5141
5141
  function cu(e, t, n) {
5142
5142
  var r = e.locale, a = e.formats, s = e.onError;
5143
5143
  n === void 0 && (n = {});
5144
- var o = n.format, i = o && fi(a, "number", o, s) || {}, h = en(n, $f, i);
5144
+ var o = n.format, i = o && fi(a, "number", o, s) || {}, h = tn(n, $f, i);
5145
5145
  return t(r, h);
5146
5146
  }
5147
5147
  function jf(e, t, n, r) {
@@ -5149,7 +5149,7 @@ function jf(e, t, n, r) {
5149
5149
  try {
5150
5150
  return cu(e, t, r).format(n);
5151
5151
  } catch (a) {
5152
- e.onError(new ut("Error formatting number.", e.locale, a));
5152
+ e.onError(new ot("Error formatting number.", e.locale, a));
5153
5153
  }
5154
5154
  return String(n);
5155
5155
  }
@@ -5158,7 +5158,7 @@ function zf(e, t, n, r) {
5158
5158
  try {
5159
5159
  return cu(e, t, r).formatToParts(n);
5160
5160
  } catch (a) {
5161
- e.onError(new ut("Error formatting number.", e.locale, a));
5161
+ e.onError(new ot("Error formatting number.", e.locale, a));
5162
5162
  }
5163
5163
  return [];
5164
5164
  }
@@ -5239,7 +5239,7 @@ function hu(e) {
5239
5239
  };
5240
5240
  return t.displayName = $a[e], t;
5241
5241
  }
5242
- function Kn(e) {
5242
+ function Zn(e) {
5243
5243
  var t = function(n) {
5244
5244
  var r = Pr(), a = n.value, s = n.children, o = wr(
5245
5245
  n,
@@ -5310,7 +5310,7 @@ function la(e) {
5310
5310
  var Zf = (
5311
5311
  /** @class */
5312
5312
  function(e) {
5313
- ot(t, e);
5313
+ st(t, e);
5314
5314
  function t() {
5315
5315
  var n = e !== null && e.apply(this, arguments) || this;
5316
5316
  return n.cache = ou(), n.state = {
@@ -5330,11 +5330,11 @@ var Zf = (
5330
5330
  }, t.displayName = "IntlProvider", t.defaultProps = du, t;
5331
5331
  }(He.PureComponent)
5332
5332
  );
5333
- Kn("formatDate");
5334
- Kn("formatTime");
5335
- Kn("formatNumber");
5336
- Kn("formatList");
5337
- Kn("formatDisplayName");
5333
+ Zn("formatDate");
5334
+ Zn("formatTime");
5335
+ Zn("formatNumber");
5336
+ Zn("formatList");
5337
+ Zn("formatDisplayName");
5338
5338
  hu("formatDate");
5339
5339
  hu("formatTime");
5340
5340
  const pu = () => {
@@ -5381,7 +5381,7 @@ function id(e) {
5381
5381
  function ps(e) {
5382
5382
  return e.replace(ad, "") === "";
5383
5383
  }
5384
- class Zn {
5384
+ class Jn {
5385
5385
  /**
5386
5386
  * @constructor
5387
5387
  * @param {Properties} property
@@ -5392,20 +5392,20 @@ class Zn {
5392
5392
  this.property = t, this.normal = n, r && (this.space = r);
5393
5393
  }
5394
5394
  }
5395
- Zn.prototype.property = {};
5396
- Zn.prototype.normal = {};
5397
- Zn.prototype.space = null;
5395
+ Jn.prototype.property = {};
5396
+ Jn.prototype.normal = {};
5397
+ Jn.prototype.space = null;
5398
5398
  function bu(e, t) {
5399
5399
  const n = {}, r = {};
5400
5400
  let a = -1;
5401
5401
  for (; ++a < e.length; )
5402
5402
  Object.assign(n, e[a].property), Object.assign(r, e[a].normal);
5403
- return new Zn(n, r, t);
5403
+ return new Jn(n, r, t);
5404
5404
  }
5405
- function qn(e) {
5405
+ function Wn(e) {
5406
5406
  return e.toLowerCase();
5407
5407
  }
5408
- class lt {
5408
+ class ut {
5409
5409
  /**
5410
5410
  * @constructor
5411
5411
  * @param {string} property
@@ -5415,32 +5415,32 @@ class lt {
5415
5415
  this.property = t, this.attribute = n;
5416
5416
  }
5417
5417
  }
5418
- lt.prototype.space = null;
5419
- lt.prototype.boolean = !1;
5420
- lt.prototype.booleanish = !1;
5421
- lt.prototype.overloadedBoolean = !1;
5422
- lt.prototype.number = !1;
5423
- lt.prototype.commaSeparated = !1;
5424
- lt.prototype.spaceSeparated = !1;
5425
- lt.prototype.commaOrSpaceSeparated = !1;
5426
- lt.prototype.mustUseProperty = !1;
5427
- lt.prototype.defined = !1;
5418
+ ut.prototype.space = null;
5419
+ ut.prototype.boolean = !1;
5420
+ ut.prototype.booleanish = !1;
5421
+ ut.prototype.overloadedBoolean = !1;
5422
+ ut.prototype.number = !1;
5423
+ ut.prototype.commaSeparated = !1;
5424
+ ut.prototype.spaceSeparated = !1;
5425
+ ut.prototype.commaOrSpaceSeparated = !1;
5426
+ ut.prototype.mustUseProperty = !1;
5427
+ ut.prototype.defined = !1;
5428
5428
  let sd = 0;
5429
- const de = tn(), Me = tn(), Eu = tn(), G = tn(), Ie = tn(), hn = tn(), et = tn();
5430
- function tn() {
5429
+ const de = nn(), Me = nn(), Eu = nn(), G = nn(), Ie = nn(), mn = nn(), Je = nn();
5430
+ function nn() {
5431
5431
  return 2 ** ++sd;
5432
5432
  }
5433
5433
  const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5434
5434
  __proto__: null,
5435
5435
  boolean: de,
5436
5436
  booleanish: Me,
5437
- commaOrSpaceSeparated: et,
5438
- commaSeparated: hn,
5437
+ commaOrSpaceSeparated: Je,
5438
+ commaSeparated: mn,
5439
5439
  number: G,
5440
5440
  overloadedBoolean: Eu,
5441
5441
  spaceSeparated: Ie
5442
5442
  }, Symbol.toStringTag, { value: "Module" })), ca = Object.keys(ja);
5443
- class hi extends lt {
5443
+ class hi extends ut {
5444
5444
  /**
5445
5445
  * @constructor
5446
5446
  * @param {string} property
@@ -5462,7 +5462,7 @@ function gs(e, t, n) {
5462
5462
  n && (e[t] = n);
5463
5463
  }
5464
5464
  const od = {}.hasOwnProperty;
5465
- function Tn(e) {
5465
+ function yn(e) {
5466
5466
  const t = {}, n = {};
5467
5467
  let r;
5468
5468
  for (r in e.properties)
@@ -5473,11 +5473,11 @@ function Tn(e) {
5473
5473
  a,
5474
5474
  e.space
5475
5475
  );
5476
- e.mustUseProperty && e.mustUseProperty.includes(r) && (s.mustUseProperty = !0), t[r] = s, n[qn(r)] = r, n[qn(s.attribute)] = r;
5476
+ e.mustUseProperty && e.mustUseProperty.includes(r) && (s.mustUseProperty = !0), t[r] = s, n[Wn(r)] = r, n[Wn(s.attribute)] = r;
5477
5477
  }
5478
- return new Zn(t, n, e.space);
5478
+ return new Jn(t, n, e.space);
5479
5479
  }
5480
- const Tu = Tn({
5480
+ const Tu = yn({
5481
5481
  space: "xlink",
5482
5482
  transform(e, t) {
5483
5483
  return "xlink:" + t.slice(5).toLowerCase();
@@ -5491,7 +5491,7 @@ const Tu = Tn({
5491
5491
  xLinkTitle: null,
5492
5492
  xLinkType: null
5493
5493
  }
5494
- }), yu = Tn({
5494
+ }), yu = yn({
5495
5495
  space: "xml",
5496
5496
  transform(e, t) {
5497
5497
  return "xml:" + t.slice(3).toLowerCase();
@@ -5504,12 +5504,12 @@ function _u(e, t) {
5504
5504
  function vu(e, t) {
5505
5505
  return _u(e, t.toLowerCase());
5506
5506
  }
5507
- const Au = Tn({
5507
+ const Au = yn({
5508
5508
  space: "xmlns",
5509
5509
  attributes: { xmlnsxlink: "xmlns:xlink" },
5510
5510
  transform: vu,
5511
5511
  properties: { xmlns: null, xmlnsXLink: null }
5512
- }), xu = Tn({
5512
+ }), xu = yn({
5513
5513
  transform(e, t) {
5514
5514
  return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
5515
5515
  },
@@ -5564,7 +5564,7 @@ const Au = Tn({
5564
5564
  ariaValueText: null,
5565
5565
  role: null
5566
5566
  }
5567
- }), ud = Tn({
5567
+ }), ud = yn({
5568
5568
  space: "html",
5569
5569
  attributes: {
5570
5570
  acceptcharset: "accept-charset",
@@ -5577,7 +5577,7 @@ const Au = Tn({
5577
5577
  properties: {
5578
5578
  // Standard Properties.
5579
5579
  abbr: null,
5580
- accept: hn,
5580
+ accept: mn,
5581
5581
  acceptCharset: Ie,
5582
5582
  accessKey: Ie,
5583
5583
  action: null,
@@ -5604,7 +5604,7 @@ const Au = Tn({
5604
5604
  contentEditable: Me,
5605
5605
  controls: de,
5606
5606
  controlsList: Ie,
5607
- coords: G | hn,
5607
+ coords: G | mn,
5608
5608
  crossOrigin: null,
5609
5609
  data: null,
5610
5610
  dateTime: null,
@@ -5923,7 +5923,7 @@ const Au = Tn({
5923
5923
  security: null,
5924
5924
  unselectable: null
5925
5925
  }
5926
- }), ld = Tn({
5926
+ }), ld = yn({
5927
5927
  space: "svg",
5928
5928
  attributes: {
5929
5929
  accentHeight: "accent-height",
@@ -6102,7 +6102,7 @@ const Au = Tn({
6102
6102
  },
6103
6103
  transform: _u,
6104
6104
  properties: {
6105
- about: et,
6105
+ about: Je,
6106
6106
  accentHeight: G,
6107
6107
  accumulate: null,
6108
6108
  additive: null,
@@ -6184,9 +6184,9 @@ const Au = Tn({
6184
6184
  from: null,
6185
6185
  fx: null,
6186
6186
  fy: null,
6187
- g1: hn,
6188
- g2: hn,
6189
- glyphName: hn,
6187
+ g1: mn,
6188
+ g2: mn,
6189
+ glyphName: mn,
6190
6190
  glyphOrientationHorizontal: null,
6191
6191
  glyphOrientationVertical: null,
6192
6192
  glyphRef: null,
@@ -6214,7 +6214,7 @@ const Au = Tn({
6214
6214
  k2: G,
6215
6215
  k3: G,
6216
6216
  k4: G,
6217
- kernelMatrix: et,
6217
+ kernelMatrix: Je,
6218
6218
  kernelUnitLength: null,
6219
6219
  keyPoints: null,
6220
6220
  // SEMI_COLON_SEPARATED
@@ -6371,21 +6371,21 @@ const Au = Tn({
6371
6371
  preserveAspectRatio: null,
6372
6372
  primitiveUnits: null,
6373
6373
  propagate: null,
6374
- property: et,
6374
+ property: Je,
6375
6375
  r: null,
6376
6376
  radius: null,
6377
6377
  referrerPolicy: null,
6378
6378
  refX: null,
6379
6379
  refY: null,
6380
- rel: et,
6381
- rev: et,
6380
+ rel: Je,
6381
+ rev: Je,
6382
6382
  renderingIntent: null,
6383
6383
  repeatCount: null,
6384
6384
  repeatDur: null,
6385
- requiredExtensions: et,
6386
- requiredFeatures: et,
6387
- requiredFonts: et,
6388
- requiredFormats: et,
6385
+ requiredExtensions: Je,
6386
+ requiredFeatures: Je,
6387
+ requiredFonts: Je,
6388
+ requiredFormats: Je,
6389
6389
  resource: null,
6390
6390
  restart: null,
6391
6391
  result: null,
@@ -6413,7 +6413,7 @@ const Au = Tn({
6413
6413
  strikethroughThickness: G,
6414
6414
  string: null,
6415
6415
  stroke: null,
6416
- strokeDashArray: et,
6416
+ strokeDashArray: Je,
6417
6417
  strokeDashOffset: null,
6418
6418
  strokeLineCap: null,
6419
6419
  strokeLineJoin: null,
@@ -6427,7 +6427,7 @@ const Au = Tn({
6427
6427
  syncMaster: null,
6428
6428
  syncTolerance: null,
6429
6429
  syncToleranceDefault: null,
6430
- systemLanguage: et,
6430
+ systemLanguage: Je,
6431
6431
  tabIndex: G,
6432
6432
  tableValues: null,
6433
6433
  target: null,
@@ -6441,7 +6441,7 @@ const Au = Tn({
6441
6441
  title: null,
6442
6442
  transformBehavior: null,
6443
6443
  type: null,
6444
- typeOf: et,
6444
+ typeOf: Je,
6445
6445
  to: null,
6446
6446
  transform: null,
6447
6447
  transformOrigin: null,
@@ -6484,8 +6484,8 @@ const Au = Tn({
6484
6484
  }
6485
6485
  }), cd = /^data[-\w.:]+$/i, bs = /-[a-z]/g, fd = /[A-Z]/g;
6486
6486
  function Dr(e, t) {
6487
- const n = qn(t);
6488
- let r = t, a = lt;
6487
+ const n = Wn(t);
6488
+ let r = t, a = ut;
6489
6489
  if (n in e.normal)
6490
6490
  return e.property[e.normal[n]];
6491
6491
  if (n.length > 4 && n.slice(0, 4) === "data" && cd.test(t)) {
@@ -6527,7 +6527,7 @@ const md = {
6527
6527
  xLinkTitle: "xlinkTitle",
6528
6528
  xLinkType: "xlinkType",
6529
6529
  xmlnsXLink: "xmlnsXlink"
6530
- }, Jn = bu([yu, Tu, Au, xu, ud], "html"), Ft = bu([yu, Tu, Au, xu, ld], "svg");
6530
+ }, er = bu([yu, Tu, Au, xu, ud], "html"), Ft = bu([yu, Tu, Au, xu, ld], "svg");
6531
6531
  function Es(e) {
6532
6532
  const t = String(e || "").trim();
6533
6533
  return t ? t.split(/[ \t\n\r\f]+/g) : [];
@@ -6536,7 +6536,7 @@ function Su(e) {
6536
6536
  return e.join(" ").trim();
6537
6537
  }
6538
6538
  var Cu = {}, Ts = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, pd = /\n/g, gd = /^\s*/, bd = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Ed = /^:\s*/, Td = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, yd = /^[;\s]*/, _d = /^\s+|\s+$/g, vd = `
6539
- `, ys = "/", _s = "*", Gt = "", Ad = "comment", xd = "declaration", Sd = function(e, t) {
6539
+ `, ys = "/", _s = "*", qt = "", Ad = "comment", xd = "declaration", Sd = function(e, t) {
6540
6540
  if (typeof e != "string")
6541
6541
  throw new TypeError("First argument must be a string");
6542
6542
  if (!e) return [];
@@ -6583,9 +6583,9 @@ var Cu = {}, Ts = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, pd = /\n/g, gd = /^\s*/, bd
6583
6583
  function u() {
6584
6584
  var d = s();
6585
6585
  if (!(ys != e.charAt(0) || _s != e.charAt(1))) {
6586
- for (var f = 2; Gt != e.charAt(f) && (_s != e.charAt(f) || ys != e.charAt(f + 1)); )
6586
+ for (var f = 2; qt != e.charAt(f) && (_s != e.charAt(f) || ys != e.charAt(f + 1)); )
6587
6587
  ++f;
6588
- if (f += 2, Gt === e.charAt(f - 1))
6588
+ if (f += 2, qt === e.charAt(f - 1))
6589
6589
  return i("End of comment missing");
6590
6590
  var T = e.slice(2, f - 2);
6591
6591
  return r += 2, a(T), e = e.slice(f), r += 2, d({
@@ -6600,8 +6600,8 @@ var Cu = {}, Ts = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, pd = /\n/g, gd = /^\s*/, bd
6600
6600
  if (u(), !h(Ed)) return i("property missing ':'");
6601
6601
  var T = h(Td), m = d({
6602
6602
  type: xd,
6603
- property: vs(f[0].replace(Ts, Gt)),
6604
- value: T ? vs(T[0].replace(Ts, Gt)) : Gt
6603
+ property: vs(f[0].replace(Ts, qt)),
6604
+ value: T ? vs(T[0].replace(Ts, qt)) : qt
6605
6605
  });
6606
6606
  return h(yd), m;
6607
6607
  }
@@ -6616,7 +6616,7 @@ var Cu = {}, Ts = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, pd = /\n/g, gd = /^\s*/, bd
6616
6616
  return g(), l();
6617
6617
  };
6618
6618
  function vs(e) {
6619
- return e ? e.replace(_d, Gt) : Gt;
6619
+ return e ? e.replace(_d, qt) : qt;
6620
6620
  }
6621
6621
  var Cd = Ui && Ui.__importDefault || function(e) {
6622
6622
  return e && e.__esModule ? e : { default: e };
@@ -6654,7 +6654,7 @@ function Rd(e) {
6654
6654
  if (t && n)
6655
6655
  return { start: t, end: n };
6656
6656
  }
6657
- function Hn(e) {
6657
+ function Un(e) {
6658
6658
  return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? xs(e.position) : "start" in e || "end" in e ? xs(e) : "line" in e || "column" in e ? za(e) : "";
6659
6659
  }
6660
6660
  function za(e) {
@@ -6737,7 +6737,7 @@ class ze extends Error {
6737
6737
  h && (s.place = h.position);
6738
6738
  }
6739
6739
  const i = s.place && "start" in s.place ? s.place.start : s.place;
6740
- this.ancestors = s.ancestors || void 0, this.cause = s.cause || void 0, this.column = i ? i.column : void 0, this.fatal = void 0, this.file, this.message = a, this.line = i ? i.line : void 0, this.name = Hn(s.place) || "1:1", this.place = s.place || void 0, this.reason = this.message, this.ruleId = s.ruleId || void 0, this.source = s.source || void 0, this.stack = o && s.cause && typeof s.cause.stack == "string" ? s.cause.stack : "", this.actual, this.expected, this.note, this.url;
6740
+ this.ancestors = s.ancestors || void 0, this.cause = s.cause || void 0, this.column = i ? i.column : void 0, this.fatal = void 0, this.file, this.message = a, this.line = i ? i.line : void 0, this.name = Un(s.place) || "1:1", this.place = s.place || void 0, this.reason = this.message, this.ruleId = s.ruleId || void 0, this.source = s.source || void 0, this.stack = o && s.cause && typeof s.cause.stack == "string" ? s.cause.stack : "", this.actual, this.expected, this.note, this.url;
6741
6741
  }
6742
6742
  }
6743
6743
  ze.prototype.file = "";
@@ -6783,7 +6783,7 @@ function Md(e, t) {
6783
6783
  ignoreInvalidStyle: t.ignoreInvalidStyle || !1,
6784
6784
  passKeys: t.passKeys !== !1,
6785
6785
  passNode: t.passNode || !1,
6786
- schema: t.space === "svg" ? Ft : Jn,
6786
+ schema: t.space === "svg" ? Ft : er,
6787
6787
  stylePropertyNameCase: t.stylePropertyNameCase || "dom",
6788
6788
  tableCellAlignToStyle: t.tableCellAlignToStyle !== !1
6789
6789
  }, s = Ou(a, e, void 0);
@@ -6824,7 +6824,7 @@ function Fd(e, t) {
6824
6824
  return r.type, /** @type {Child | undefined} */
6825
6825
  e.evaluater.evaluateExpression(r.expression);
6826
6826
  }
6827
- Wn(e, t.position);
6827
+ Xn(e, t.position);
6828
6828
  }
6829
6829
  function Hd(e, t) {
6830
6830
  if (t.data && t.data.estree && e.evaluater)
@@ -6832,7 +6832,7 @@ function Hd(e, t) {
6832
6832
  /** @type {Child | undefined} */
6833
6833
  e.evaluater.evaluateProgram(t.data.estree)
6834
6834
  );
6835
- Wn(e, t.position);
6835
+ Xn(e, t.position);
6836
6836
  }
6837
6837
  function Ud(e, t, n) {
6838
6838
  const r = e.schema;
@@ -6917,7 +6917,7 @@ function Gd(e, t) {
6917
6917
  e.evaluater.evaluateExpression(i.argument)
6918
6918
  );
6919
6919
  } else
6920
- Wn(e, t.position);
6920
+ Xn(e, t.position);
6921
6921
  else {
6922
6922
  const a = r.name;
6923
6923
  let s;
@@ -6926,7 +6926,7 @@ function Gd(e, t) {
6926
6926
  const i = r.value.data.estree.body[0];
6927
6927
  i.type, s = e.evaluater.evaluateExpression(i.expression);
6928
6928
  } else
6929
- Wn(e, t.position);
6929
+ Xn(e, t.position);
6930
6930
  else
6931
6931
  s = r.value === null ? !0 : r.value;
6932
6932
  n[a] = /** @type {Props[keyof Props]} */
@@ -7019,9 +7019,9 @@ function wu(e, t, n) {
7019
7019
  }
7020
7020
  if (e.evaluater)
7021
7021
  return e.evaluater.evaluateExpression(r);
7022
- Wn(e);
7022
+ Xn(e);
7023
7023
  }
7024
- function Wn(e, t) {
7024
+ function Xn(e, t) {
7025
7025
  const n = new ze(
7026
7026
  "Cannot handle MDX estrees without `createEvaluater`",
7027
7027
  {
@@ -7114,7 +7114,7 @@ function xt(e, t, n, r) {
7114
7114
  for (n && e.splice(t, n); s < r.length; )
7115
7115
  o = r.slice(s, s + 1e4), o.unshift(t, 0), e.splice(...o), s += 1e4, t += 1e4;
7116
7116
  }
7117
- function at(e, t) {
7117
+ function rt(e, t) {
7118
7118
  return e.length > 0 ? (xt(e, e.length, 0, t), e) : t;
7119
7119
  }
7120
7120
  const Ns = {}.hasOwnProperty;
@@ -7162,10 +7162,10 @@ function Pu(e, t) {
7162
7162
  n > 1114111 ? "�" : String.fromCodePoint(n)
7163
7163
  );
7164
7164
  }
7165
- function mn(e) {
7165
+ function pn(e) {
7166
7166
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
7167
7167
  }
7168
- const vt = Ht(/[A-Za-z]/), tt = Ht(/[\dA-Za-z]/), ih = Ht(/[#-'*+\--9=?A-Z^-~]/);
7168
+ const vt = Ht(/[A-Za-z]/), et = Ht(/[\dA-Za-z]/), ih = Ht(/[#-'*+\--9=?A-Z^-~]/);
7169
7169
  function Va(e) {
7170
7170
  return (
7171
7171
  // Special whitespace codes (which have negative values), C0 and Control
@@ -7190,13 +7190,13 @@ function Ht(e) {
7190
7190
  return n !== null && n > -1 && e.test(String.fromCharCode(n));
7191
7191
  }
7192
7192
  }
7193
- function yn(e) {
7193
+ function _n(e) {
7194
7194
  const t = [];
7195
7195
  let n = -1, r = 0, a = 0;
7196
7196
  for (; ++n < e.length; ) {
7197
7197
  const s = e.charCodeAt(n);
7198
7198
  let o = "";
7199
- if (s === 37 && tt(e.charCodeAt(n + 1)) && tt(e.charCodeAt(n + 2)))
7199
+ if (s === 37 && et(e.charCodeAt(n + 1)) && et(e.charCodeAt(n + 2)))
7200
7200
  a = 2;
7201
7201
  else if (s < 128)
7202
7202
  /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s)) || (o = String.fromCharCode(s));
@@ -7446,27 +7446,27 @@ function ph(e, t) {
7446
7446
  type: h > 1 ? "strong" : "emphasis",
7447
7447
  start: Object.assign({}, o.start),
7448
7448
  end: Object.assign({}, i.end)
7449
- }, e[r][1].end = Object.assign({}, o.start), e[n][1].start = Object.assign({}, i.end), g = [], e[r][1].end.offset - e[r][1].start.offset && (g = at(g, [
7449
+ }, e[r][1].end = Object.assign({}, o.start), e[n][1].start = Object.assign({}, i.end), g = [], e[r][1].end.offset - e[r][1].start.offset && (g = rt(g, [
7450
7450
  ["enter", e[r][1], t],
7451
7451
  ["exit", e[r][1], t]
7452
- ])), g = at(g, [
7452
+ ])), g = rt(g, [
7453
7453
  ["enter", a, t],
7454
7454
  ["enter", o, t],
7455
7455
  ["exit", o, t],
7456
7456
  ["enter", s, t]
7457
- ]), g = at(
7457
+ ]), g = rt(
7458
7458
  g,
7459
7459
  Ei(
7460
7460
  t.parser.constructs.insideSpan.null,
7461
7461
  e.slice(r + 1, n),
7462
7462
  t
7463
7463
  )
7464
- ), g = at(g, [
7464
+ ), g = rt(g, [
7465
7465
  ["exit", s, t],
7466
7466
  ["enter", i, t],
7467
7467
  ["exit", i, t],
7468
7468
  ["exit", a, t]
7469
- ]), e[n][1].end.offset - e[n][1].start.offset ? (p = 2, g = at(g, [
7469
+ ]), e[n][1].end.offset - e[n][1].start.offset ? (p = 2, g = rt(g, [
7470
7470
  ["enter", e[n][1], t],
7471
7471
  ["exit", e[n][1], t]
7472
7472
  ])) : p = 0, xt(e, r - 1, n - r + 3, g), n = r + g.length - p - 2;
@@ -7508,10 +7508,10 @@ function Eh(e, t, n) {
7508
7508
  return vt(l) ? (e.consume(l), o) : g(l);
7509
7509
  }
7510
7510
  function o(l) {
7511
- return l === 43 || l === 45 || l === 46 || tt(l) ? (r = 1, i(l)) : g(l);
7511
+ return l === 43 || l === 45 || l === 46 || et(l) ? (r = 1, i(l)) : g(l);
7512
7512
  }
7513
7513
  function i(l) {
7514
- return l === 58 ? (e.consume(l), r = 0, h) : (l === 43 || l === 45 || l === 46 || tt(l)) && r++ < 32 ? (e.consume(l), i) : (r = 0, g(l));
7514
+ return l === 58 ? (e.consume(l), r = 0, h) : (l === 43 || l === 45 || l === 46 || et(l)) && r++ < 32 ? (e.consume(l), i) : (r = 0, g(l));
7515
7515
  }
7516
7516
  function h(l) {
7517
7517
  return l === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(l), e.exit("autolinkMarker"), e.exit("autolink"), t) : l === null || l === 32 || l === 60 || Va(l) ? n(l) : (e.consume(l), h);
@@ -7520,13 +7520,13 @@ function Eh(e, t, n) {
7520
7520
  return l === 64 ? (e.consume(l), p) : ih(l) ? (e.consume(l), g) : n(l);
7521
7521
  }
7522
7522
  function p(l) {
7523
- return tt(l) ? u(l) : n(l);
7523
+ return et(l) ? u(l) : n(l);
7524
7524
  }
7525
7525
  function u(l) {
7526
7526
  return l === 46 ? (e.consume(l), r = 0, p) : l === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(l), e.exit("autolinkMarker"), e.exit("autolink"), t) : c(l);
7527
7527
  }
7528
7528
  function c(l) {
7529
- if ((l === 45 || tt(l)) && r++ < 63) {
7529
+ if ((l === 45 || et(l)) && r++ < 63) {
7530
7530
  const d = l === 45 ? c : u;
7531
7531
  return e.consume(l), d;
7532
7532
  }
@@ -7613,7 +7613,7 @@ function xh(e, t, n) {
7613
7613
  return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(u), e.exit("characterReferenceMarker"), h;
7614
7614
  }
7615
7615
  function h(u) {
7616
- return u === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(u), e.exit("characterReferenceMarkerNumeric"), g) : (e.enter("characterReferenceValue"), s = 31, o = tt, p(u));
7616
+ return u === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(u), e.exit("characterReferenceMarkerNumeric"), g) : (e.enter("characterReferenceValue"), s = 31, o = et, p(u));
7617
7617
  }
7618
7618
  function g(u) {
7619
7619
  return u === 88 || u === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(u), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), s = 6, o = sh, p) : (e.enter("characterReferenceValue"), s = 7, o = Ya, p(u));
@@ -7621,7 +7621,7 @@ function xh(e, t, n) {
7621
7621
  function p(u) {
7622
7622
  if (u === 59 && a) {
7623
7623
  const c = e.exit("characterReferenceValue");
7624
- return o === tt && !bi(r.sliceSerialize(c)) ? n(u) : (e.enter("characterReferenceMarker"), e.consume(u), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
7624
+ return o === et && !bi(r.sliceSerialize(c)) ? n(u) : (e.enter("characterReferenceMarker"), e.consume(u), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
7625
7625
  }
7626
7626
  return o(u) && a++ < s ? (e.consume(u), p) : n(u);
7627
7627
  }
@@ -7965,7 +7965,7 @@ function Uu(e, t, n, r, a, s) {
7965
7965
  return c === o || c === 92 ? (e.consume(c), p) : p(c);
7966
7966
  }
7967
7967
  }
7968
- function Un(e, t) {
7968
+ function $n(e, t) {
7969
7969
  let n;
7970
7970
  return r;
7971
7971
  function r(a) {
@@ -8003,12 +8003,12 @@ function jh(e, t, n) {
8003
8003
  )(l);
8004
8004
  }
8005
8005
  function i(l) {
8006
- return a = mn(
8006
+ return a = pn(
8007
8007
  r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)
8008
8008
  ), l === 58 ? (e.enter("definitionMarker"), e.consume(l), e.exit("definitionMarker"), h) : n(l);
8009
8009
  }
8010
8010
  function h(l) {
8011
- return Ze(l) ? Un(e, g)(l) : g(l);
8011
+ return Ze(l) ? $n(e, g)(l) : g(l);
8012
8012
  }
8013
8013
  function g(l) {
8014
8014
  return Fu(
@@ -8036,7 +8036,7 @@ function jh(e, t, n) {
8036
8036
  function zh(e, t, n) {
8037
8037
  return r;
8038
8038
  function r(i) {
8039
- return Ze(i) ? Un(e, a)(i) : n(i);
8039
+ return Ze(i) ? $n(e, a)(i) : n(i);
8040
8040
  }
8041
8041
  function a(i) {
8042
8042
  return Uu(
@@ -8222,10 +8222,10 @@ function e0(e, t, n) {
8222
8222
  }
8223
8223
  function T(w) {
8224
8224
  if (w === null || w === 47 || w === 62 || Ze(w)) {
8225
- const J = w === 47, ie = o.toLowerCase();
8226
- return !J && !s && Ds.includes(ie) ? (a = 1, r.interrupt ? t(w) : M(w)) : Xh.includes(o.toLowerCase()) ? (a = 6, J ? (e.consume(w), m) : r.interrupt ? t(w) : M(w)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(w) : s ? E(w) : y(w));
8225
+ const J = w === 47, se = o.toLowerCase();
8226
+ return !J && !s && Ds.includes(se) ? (a = 1, r.interrupt ? t(w) : M(w)) : Xh.includes(o.toLowerCase()) ? (a = 6, J ? (e.consume(w), m) : r.interrupt ? t(w) : M(w)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(w) : s ? E(w) : y(w));
8227
8227
  }
8228
- return w === 45 || tt(w) ? (e.consume(w), o += String.fromCharCode(w), T) : n(w);
8228
+ return w === 45 || et(w) ? (e.consume(w), o += String.fromCharCode(w), T) : n(w);
8229
8229
  }
8230
8230
  function m(w) {
8231
8231
  return w === 62 ? (e.consume(w), r.interrupt ? t : M) : n(w);
@@ -8237,7 +8237,7 @@ function e0(e, t, n) {
8237
8237
  return w === 47 ? (e.consume(w), C) : w === 58 || w === 95 || vt(w) ? (e.consume(w), A) : ve(w) ? (e.consume(w), y) : C(w);
8238
8238
  }
8239
8239
  function A(w) {
8240
- return w === 45 || w === 46 || w === 58 || w === 95 || tt(w) ? (e.consume(w), A) : v(w);
8240
+ return w === 45 || w === 46 || w === 58 || w === 95 || et(w) ? (e.consume(w), A) : v(w);
8241
8241
  }
8242
8242
  function v(w) {
8243
8243
  return w === 61 ? (e.consume(w), S) : ve(w) ? (e.consume(w), v) : y(w);
@@ -8377,19 +8377,19 @@ function a0(e, t, n) {
8377
8377
  return vt(I) ? (e.consume(I), S) : n(I);
8378
8378
  }
8379
8379
  function S(I) {
8380
- return I === 45 || tt(I) ? (e.consume(I), S) : N(I);
8380
+ return I === 45 || et(I) ? (e.consume(I), S) : N(I);
8381
8381
  }
8382
8382
  function N(I) {
8383
8383
  return le(I) ? (o = N, te(I)) : ve(I) ? (e.consume(I), N) : K(I);
8384
8384
  }
8385
8385
  function _(I) {
8386
- return I === 45 || tt(I) ? (e.consume(I), _) : I === 47 || I === 62 || Ze(I) ? x(I) : n(I);
8386
+ return I === 45 || et(I) ? (e.consume(I), _) : I === 47 || I === 62 || Ze(I) ? x(I) : n(I);
8387
8387
  }
8388
8388
  function x(I) {
8389
8389
  return I === 47 ? (e.consume(I), K) : I === 58 || I === 95 || vt(I) ? (e.consume(I), C) : le(I) ? (o = x, te(I)) : ve(I) ? (e.consume(I), x) : K(I);
8390
8390
  }
8391
8391
  function C(I) {
8392
- return I === 45 || I === 46 || I === 58 || I === 95 || tt(I) ? (e.consume(I), C) : L(I);
8392
+ return I === 45 || I === 46 || I === 58 || I === 95 || et(I) ? (e.consume(I), C) : L(I);
8393
8393
  }
8394
8394
  function L(I) {
8395
8395
  return I === 61 ? (e.consume(I), M) : le(I) ? (o = L, te(I)) : ve(I) ? (e.consume(I), L) : x(I);
@@ -8473,19 +8473,19 @@ function l0(e, t) {
8473
8473
  return i = [
8474
8474
  ["enter", h, t],
8475
8475
  ["enter", g, t]
8476
- ], i = at(i, e.slice(s + 1, s + r + 3)), i = at(i, [["enter", p, t]]), i = at(
8476
+ ], i = rt(i, e.slice(s + 1, s + r + 3)), i = rt(i, [["enter", p, t]]), i = rt(
8477
8477
  i,
8478
8478
  Ei(
8479
8479
  t.parser.constructs.insideSpan.null,
8480
8480
  e.slice(s + r + 4, o - 3),
8481
8481
  t
8482
8482
  )
8483
- ), i = at(i, [
8483
+ ), i = rt(i, [
8484
8484
  ["exit", p, t],
8485
8485
  e[o - 2],
8486
8486
  e[o - 1],
8487
8487
  ["exit", g, t]
8488
- ]), i = at(i, e.slice(o + 1)), i = at(i, [["exit", h, t]]), xt(e, s, e.length, i), e;
8488
+ ]), i = rt(i, e.slice(o + 1)), i = rt(i, [["exit", h, t]]), xt(e, s, e.length, i), e;
8489
8489
  }
8490
8490
  function c0(e, t, n) {
8491
8491
  const r = this;
@@ -8498,7 +8498,7 @@ function c0(e, t, n) {
8498
8498
  return i;
8499
8499
  function i(c) {
8500
8500
  return s ? s._inactive ? u(c) : (o = r.parser.defined.includes(
8501
- mn(
8501
+ pn(
8502
8502
  r.sliceSerialize({
8503
8503
  start: s.end,
8504
8504
  end: r.now()
@@ -8537,7 +8537,7 @@ function f0(e, t, n) {
8537
8537
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(u), e.exit("resourceMarker"), a;
8538
8538
  }
8539
8539
  function a(u) {
8540
- return Ze(u) ? Un(e, s)(u) : s(u);
8540
+ return Ze(u) ? $n(e, s)(u) : s(u);
8541
8541
  }
8542
8542
  function s(u) {
8543
8543
  return u === 41 ? p(u) : Fu(
@@ -8553,7 +8553,7 @@ function f0(e, t, n) {
8553
8553
  )(u);
8554
8554
  }
8555
8555
  function o(u) {
8556
- return Ze(u) ? Un(e, h)(u) : p(u);
8556
+ return Ze(u) ? $n(e, h)(u) : p(u);
8557
8557
  }
8558
8558
  function i(u) {
8559
8559
  return n(u);
@@ -8569,7 +8569,7 @@ function f0(e, t, n) {
8569
8569
  )(u) : p(u);
8570
8570
  }
8571
8571
  function g(u) {
8572
- return Ze(u) ? Un(e, p)(u) : p(u);
8572
+ return Ze(u) ? $n(e, p)(u) : p(u);
8573
8573
  }
8574
8574
  function p(u) {
8575
8575
  return u === 41 ? (e.enter("resourceMarker"), e.consume(u), e.exit("resourceMarker"), e.exit("resource"), t) : n(u);
@@ -8591,7 +8591,7 @@ function d0(e, t, n) {
8591
8591
  }
8592
8592
  function s(i) {
8593
8593
  return r.parser.defined.includes(
8594
- mn(
8594
+ pn(
8595
8595
  r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)
8596
8596
  )
8597
8597
  ) ? t(i) : n(i);
@@ -8995,7 +8995,7 @@ function k0(e, t, n) {
8995
8995
  let p = t.tokenize.call(g, h);
8996
8996
  return t.resolveAll && s.push(t), g;
8997
8997
  function u(L) {
8998
- return o = at(o, L), T(), o[o.length - 1] !== null ? [] : (_(t, 0), g.events = Ei(s, g.events, g), g.events);
8998
+ return o = rt(o, L), T(), o[o.length - 1] !== null ? [] : (_(t, 0), g.events = Ei(s, g.events, g), g.events);
8999
8999
  }
9000
9000
  function c(L, M) {
9001
9001
  return B0(l(L), M);
@@ -9058,10 +9058,10 @@ function k0(e, t, n) {
9058
9058
  function U(ee) {
9059
9059
  return ae;
9060
9060
  function ae(ue) {
9061
- const se = ue !== null && ee[ue], ne = ue !== null && ee.null, we = [
9061
+ const ie = ue !== null && ee[ue], ne = ue !== null && ee.null, we = [
9062
9062
  // To do: add more extension tests.
9063
9063
  /* c8 ignore next 2 */
9064
- ...Array.isArray(se) ? se : se ? [se] : [],
9064
+ ...Array.isArray(ie) ? ie : ie ? [ie] : [],
9065
9065
  ...Array.isArray(ne) ? ne : ne ? [ne] : []
9066
9066
  ];
9067
9067
  return Z(we)(ue);
@@ -9073,21 +9073,21 @@ function k0(e, t, n) {
9073
9073
  function w(ee) {
9074
9074
  return ae;
9075
9075
  function ae(ue) {
9076
- return I = x(), ye = ee, ee.partial || (g.currentConstruct = ee), ee.name && g.parser.constructs.disable.null.includes(ee.name) ? ie() : ee.tokenize.call(
9076
+ return I = x(), ye = ee, ee.partial || (g.currentConstruct = ee), ee.name && g.parser.constructs.disable.null.includes(ee.name) ? se() : ee.tokenize.call(
9077
9077
  // If we do have fields, create an object w/ `context` as its
9078
9078
  // prototype.
9079
9079
  // This allows a “live binding”, which is needed for `interrupt`.
9080
9080
  M ? Object.assign(Object.create(g), M) : g,
9081
9081
  h,
9082
9082
  J,
9083
- ie
9083
+ se
9084
9084
  )(ue);
9085
9085
  }
9086
9086
  }
9087
9087
  function J(ee) {
9088
9088
  return L(ye, I), j;
9089
9089
  }
9090
- function ie(ee) {
9090
+ function se(ee) {
9091
9091
  return I.restore(), ++he < te.length ? w(te[he]) : K;
9092
9092
  }
9093
9093
  }
@@ -9322,11 +9322,11 @@ function tm(e) {
9322
9322
  transforms: [],
9323
9323
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
9324
9324
  enter: {
9325
- autolink: s(Sn),
9325
+ autolink: s(Cn),
9326
9326
  autolinkProtocol: x,
9327
9327
  autolinkEmail: x,
9328
- atxHeading: s(We),
9329
- blockQuote: s(se),
9328
+ atxHeading: s(lt),
9329
+ blockQuote: s(ie),
9330
9330
  characterEscape: x,
9331
9331
  characterReference: x,
9332
9332
  codeFenced: s(ne),
@@ -9341,27 +9341,27 @@ function tm(e) {
9341
9341
  definitionDestinationString: o,
9342
9342
  definitionLabelString: o,
9343
9343
  definitionTitleString: o,
9344
- emphasis: s($e),
9345
- hardBreakEscape: s(Je),
9346
- hardBreakTrailing: s(Je),
9344
+ emphasis: s(Ue),
9345
+ hardBreakEscape: s(Ye),
9346
+ hardBreakTrailing: s(Ye),
9347
9347
  htmlFlow: s(pt, o),
9348
9348
  htmlFlowData: x,
9349
9349
  htmlText: s(pt, o),
9350
9350
  htmlTextData: x,
9351
- image: s(ar),
9351
+ image: s(Ut),
9352
9352
  label: o,
9353
- link: s(Sn),
9353
+ link: s(Cn),
9354
9354
  listItem: s(Yr),
9355
9355
  listItemValue: c,
9356
- listOrdered: s(Ut, u),
9357
- listUnordered: s(Ut),
9356
+ listOrdered: s($t, u),
9357
+ listUnordered: s($t),
9358
9358
  paragraph: s(Gr),
9359
9359
  reference: w,
9360
9360
  referenceString: o,
9361
9361
  resourceDestinationString: o,
9362
9362
  resourceTitleString: o,
9363
- setextHeading: s(We),
9364
- strong: s(Cn),
9363
+ setextHeading: s(lt),
9364
+ strong: s(In),
9365
9365
  thematicBreak: s(Wr)
9366
9366
  },
9367
9367
  exit: {
@@ -9372,8 +9372,8 @@ function tm(e) {
9372
9372
  autolinkProtocol: ae,
9373
9373
  blockQuote: h(),
9374
9374
  characterEscapeValue: C,
9375
- characterReferenceMarkerHexadecimal: ie,
9376
- characterReferenceMarkerNumeric: ie,
9375
+ characterReferenceMarkerHexadecimal: se,
9376
+ characterReferenceMarkerNumeric: se,
9377
9377
  characterReferenceValue: ee,
9378
9378
  codeFenced: h(T),
9379
9379
  codeFencedFence: f,
@@ -9478,18 +9478,18 @@ function tm(e) {
9478
9478
  return q;
9479
9479
  }
9480
9480
  function a(H, q, oe) {
9481
- let pe = q - 1, _e = -1, Xe = !1, ct, ft, $t, jt;
9481
+ let pe = q - 1, _e = -1, Xe = !1, ct, ft, jt, zt;
9482
9482
  for (; ++pe <= oe; ) {
9483
- const Ye = H[pe];
9484
- switch (Ye[1].type) {
9483
+ const Ge = H[pe];
9484
+ switch (Ge[1].type) {
9485
9485
  case "listUnordered":
9486
9486
  case "listOrdered":
9487
9487
  case "blockQuote": {
9488
- Ye[0] === "enter" ? _e++ : _e--, jt = void 0;
9488
+ Ge[0] === "enter" ? _e++ : _e--, zt = void 0;
9489
9489
  break;
9490
9490
  }
9491
9491
  case "lineEndingBlank": {
9492
- Ye[0] === "enter" && (ct && !jt && !_e && !$t && ($t = pe), jt = void 0);
9492
+ Ge[0] === "enter" && (ct && !zt && !_e && !jt && (jt = pe), zt = void 0);
9493
9493
  break;
9494
9494
  }
9495
9495
  case "linePrefix":
@@ -9499,9 +9499,9 @@ function tm(e) {
9499
9499
  case "listItemPrefixWhitespace":
9500
9500
  break;
9501
9501
  default:
9502
- jt = void 0;
9502
+ zt = void 0;
9503
9503
  }
9504
- if (!_e && Ye[0] === "enter" && Ye[1].type === "listItemPrefix" || _e === -1 && Ye[0] === "exit" && (Ye[1].type === "listUnordered" || Ye[1].type === "listOrdered")) {
9504
+ if (!_e && Ge[0] === "enter" && Ge[1].type === "listItemPrefix" || _e === -1 && Ge[0] === "exit" && (Ge[1].type === "listUnordered" || Ge[1].type === "listOrdered")) {
9505
9505
  if (ct) {
9506
9506
  let wt = pe;
9507
9507
  for (ft = void 0; wt--; ) {
@@ -9511,20 +9511,20 @@ function tm(e) {
9511
9511
  ft && (H[ft][1].type = "lineEndingBlank", Xe = !0), dt[1].type = "lineEnding", ft = wt;
9512
9512
  } else if (!(dt[1].type === "linePrefix" || dt[1].type === "blockQuotePrefix" || dt[1].type === "blockQuotePrefixWhitespace" || dt[1].type === "blockQuoteMarker" || dt[1].type === "listItemIndent")) break;
9513
9513
  }
9514
- $t && (!ft || $t < ft) && (ct._spread = !0), ct.end = Object.assign(
9514
+ jt && (!ft || jt < ft) && (ct._spread = !0), ct.end = Object.assign(
9515
9515
  {},
9516
- ft ? H[ft][1].start : Ye[1].end
9517
- ), H.splice(ft || pe, 0, ["exit", ct, Ye[2]]), pe++, oe++;
9516
+ ft ? H[ft][1].start : Ge[1].end
9517
+ ), H.splice(ft || pe, 0, ["exit", ct, Ge[2]]), pe++, oe++;
9518
9518
  }
9519
- if (Ye[1].type === "listItemPrefix") {
9519
+ if (Ge[1].type === "listItemPrefix") {
9520
9520
  const wt = {
9521
9521
  type: "listItem",
9522
9522
  _spread: !1,
9523
- start: Object.assign({}, Ye[1].start),
9523
+ start: Object.assign({}, Ge[1].start),
9524
9524
  // @ts-expect-error: we’ll add `end` in a second.
9525
9525
  end: void 0
9526
9526
  };
9527
- ct = wt, H.splice(pe, 0, ["enter", wt, Ye[2]]), pe++, oe++, $t = void 0, jt = !0;
9527
+ ct = wt, H.splice(pe, 0, ["enter", wt, Ge[2]]), pe++, oe++, jt = void 0, zt = !0;
9528
9528
  }
9529
9529
  }
9530
9530
  }
@@ -9560,7 +9560,7 @@ function tm(e) {
9560
9560
  if (pe)
9561
9561
  pe[0].type !== H.type && (q ? q.call(this, H, pe[0]) : (pe[1] || Bs).call(this, H, pe[0]));
9562
9562
  else throw new Error(
9563
- "Cannot close `" + H.type + "` (" + Hn({
9563
+ "Cannot close `" + H.type + "` (" + Un({
9564
9564
  start: H.start,
9565
9565
  end: H.end
9566
9566
  }) + "): it’s not open"
@@ -9600,7 +9600,7 @@ function tm(e) {
9600
9600
  }
9601
9601
  function E(H) {
9602
9602
  const q = this.resume(), oe = this.stack[this.stack.length - 1];
9603
- oe.label = q, oe.identifier = mn(
9603
+ oe.label = q, oe.identifier = pn(
9604
9604
  this.sliceSerialize(H)
9605
9605
  ).toLowerCase();
9606
9606
  }
@@ -9686,7 +9686,7 @@ function tm(e) {
9686
9686
  }
9687
9687
  function he(H) {
9688
9688
  const q = this.sliceSerialize(H), oe = this.stack[this.stack.length - 2];
9689
- oe.label = Z0(q), oe.identifier = mn(q).toLowerCase();
9689
+ oe.label = Z0(q), oe.identifier = pn(q).toLowerCase();
9690
9690
  }
9691
9691
  function ye() {
9692
9692
  const H = this.stack[this.stack.length - 1], q = this.resume(), oe = this.stack[this.stack.length - 1];
@@ -9712,11 +9712,11 @@ function tm(e) {
9712
9712
  }
9713
9713
  function J(H) {
9714
9714
  const q = this.resume(), oe = this.stack[this.stack.length - 1];
9715
- oe.label = q, oe.identifier = mn(
9715
+ oe.label = q, oe.identifier = pn(
9716
9716
  this.sliceSerialize(H)
9717
9717
  ).toLowerCase(), this.data.referenceType = "full";
9718
9718
  }
9719
- function ie(H) {
9719
+ function se(H) {
9720
9720
  this.data.characterReferenceType = H.type;
9721
9721
  }
9722
9722
  function ee(H) {
@@ -9739,7 +9739,7 @@ function tm(e) {
9739
9739
  const q = this.stack[this.stack.length - 1];
9740
9740
  q.url = "mailto:" + this.sliceSerialize(H);
9741
9741
  }
9742
- function se() {
9742
+ function ie() {
9743
9743
  return {
9744
9744
  type: "blockquote",
9745
9745
  children: []
@@ -9768,13 +9768,13 @@ function tm(e) {
9768
9768
  url: ""
9769
9769
  };
9770
9770
  }
9771
- function $e() {
9771
+ function Ue() {
9772
9772
  return {
9773
9773
  type: "emphasis",
9774
9774
  children: []
9775
9775
  };
9776
9776
  }
9777
- function We() {
9777
+ function lt() {
9778
9778
  return {
9779
9779
  type: "heading",
9780
9780
  // @ts-expect-error `depth` will be set later.
@@ -9782,7 +9782,7 @@ function tm(e) {
9782
9782
  children: []
9783
9783
  };
9784
9784
  }
9785
- function Je() {
9785
+ function Ye() {
9786
9786
  return {
9787
9787
  type: "break"
9788
9788
  };
@@ -9793,7 +9793,7 @@ function tm(e) {
9793
9793
  value: ""
9794
9794
  };
9795
9795
  }
9796
- function ar() {
9796
+ function Ut() {
9797
9797
  return {
9798
9798
  type: "image",
9799
9799
  title: null,
@@ -9801,7 +9801,7 @@ function tm(e) {
9801
9801
  alt: null
9802
9802
  };
9803
9803
  }
9804
- function Sn() {
9804
+ function Cn() {
9805
9805
  return {
9806
9806
  type: "link",
9807
9807
  title: null,
@@ -9809,7 +9809,7 @@ function tm(e) {
9809
9809
  children: []
9810
9810
  };
9811
9811
  }
9812
- function Ut(H) {
9812
+ function $t(H) {
9813
9813
  return {
9814
9814
  type: "list",
9815
9815
  ordered: H.type === "listOrdered",
@@ -9832,7 +9832,7 @@ function tm(e) {
9832
9832
  children: []
9833
9833
  };
9834
9834
  }
9835
- function Cn() {
9835
+ function In() {
9836
9836
  return {
9837
9837
  type: "strong",
9838
9838
  children: []
@@ -9889,15 +9889,15 @@ function nm(e, t) {
9889
9889
  }
9890
9890
  function Bs(e, t) {
9891
9891
  throw e ? new Error(
9892
- "Cannot close `" + e.type + "` (" + Hn({
9892
+ "Cannot close `" + e.type + "` (" + Un({
9893
9893
  start: e.start,
9894
9894
  end: e.end
9895
- }) + "): a different token (`" + t.type + "`, " + Hn({
9895
+ }) + "): a different token (`" + t.type + "`, " + Un({
9896
9896
  start: t.start,
9897
9897
  end: t.end
9898
9898
  }) + ") is open"
9899
9899
  ) : new Error(
9900
- "Cannot close document, a token (`" + t.type + "`, " + Hn({
9900
+ "Cannot close document, a token (`" + t.type + "`, " + Un({
9901
9901
  start: t.start,
9902
9902
  end: t.end
9903
9903
  }) + ") is still open"
@@ -9963,7 +9963,7 @@ function um(e, t) {
9963
9963
  return e.patch(t, n), e.applyData(t, n);
9964
9964
  }
9965
9965
  function lm(e, t) {
9966
- const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(t.identifier).toUpperCase(), a = yn(r.toLowerCase()), s = e.footnoteOrder.indexOf(r);
9966
+ const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(t.identifier).toUpperCase(), a = _n(r.toLowerCase()), s = e.footnoteOrder.indexOf(r);
9967
9967
  let o, i = e.footnoteCounts.get(r);
9968
9968
  i === void 0 ? (i = 0, e.footnoteOrder.push(r), o = e.footnoteOrder.length) : o = s + 1, i += 1, e.footnoteCounts.set(r, i);
9969
9969
  const h = {
@@ -10015,13 +10015,13 @@ function dm(e, t) {
10015
10015
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
10016
10016
  if (!r)
10017
10017
  return Yu(e, t);
10018
- const a = { src: yn(r.url || ""), alt: t.alt };
10018
+ const a = { src: _n(r.url || ""), alt: t.alt };
10019
10019
  r.title !== null && r.title !== void 0 && (a.title = r.title);
10020
10020
  const s = { type: "element", tagName: "img", properties: a, children: [] };
10021
10021
  return e.patch(t, s), e.applyData(t, s);
10022
10022
  }
10023
10023
  function hm(e, t) {
10024
- const n = { src: yn(t.url) };
10024
+ const n = { src: _n(t.url) };
10025
10025
  t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title);
10026
10026
  const r = { type: "element", tagName: "img", properties: n, children: [] };
10027
10027
  return e.patch(t, r), e.applyData(t, r);
@@ -10041,7 +10041,7 @@ function pm(e, t) {
10041
10041
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
10042
10042
  if (!r)
10043
10043
  return Yu(e, t);
10044
- const a = { href: yn(r.url || "") };
10044
+ const a = { href: _n(r.url || "") };
10045
10045
  r.title !== null && r.title !== void 0 && (a.title = r.title);
10046
10046
  const s = {
10047
10047
  type: "element",
@@ -10052,7 +10052,7 @@ function pm(e, t) {
10052
10052
  return e.patch(t, s), e.applyData(t, s);
10053
10053
  }
10054
10054
  function gm(e, t) {
10055
- const n = { href: yn(t.url) };
10055
+ const n = { href: _n(t.url) };
10056
10056
  t.title !== null && t.title !== void 0 && (n.title = t.title);
10057
10057
  const r = {
10058
10058
  type: "element",
@@ -10319,24 +10319,24 @@ const qu = -1, Br = 0, Tr = 1, yr = 2, yi = 3, _i = 4, vi = 5, Ai = 6, Wu = 7, X
10319
10319
  return n(new $s[s](o), a);
10320
10320
  };
10321
10321
  return r;
10322
- }, js = (e) => Rm(/* @__PURE__ */ new Map(), e)(0), un = "", { toString: wm } = {}, { keys: Lm } = Object, Rn = (e) => {
10322
+ }, js = (e) => Rm(/* @__PURE__ */ new Map(), e)(0), ln = "", { toString: wm } = {}, { keys: Lm } = Object, wn = (e) => {
10323
10323
  const t = typeof e;
10324
10324
  if (t !== "object" || !e)
10325
10325
  return [Br, t];
10326
10326
  const n = wm.call(e).slice(8, -1);
10327
10327
  switch (n) {
10328
10328
  case "Array":
10329
- return [Tr, un];
10329
+ return [Tr, ln];
10330
10330
  case "Object":
10331
- return [yr, un];
10331
+ return [yr, ln];
10332
10332
  case "Date":
10333
- return [yi, un];
10333
+ return [yi, ln];
10334
10334
  case "RegExp":
10335
- return [_i, un];
10335
+ return [_i, ln];
10336
10336
  case "Map":
10337
- return [vi, un];
10337
+ return [vi, ln];
10338
10338
  case "Set":
10339
- return [Ai, un];
10339
+ return [Ai, ln];
10340
10340
  }
10341
10341
  return n.includes("Array") ? [Tr, n] : n.includes("Error") ? [Wu, n] : [yr, n];
10342
10342
  }, lr = ([e, t]) => e === Br && (t === "function" || t === "symbol"), Pm = (e, t, n, r) => {
@@ -10346,7 +10346,7 @@ const qu = -1, Br = 0, Tr = 1, yr = 2, yi = 3, _i = 4, vi = 5, Ai = 6, Wu = 7, X
10346
10346
  }, s = (o) => {
10347
10347
  if (n.has(o))
10348
10348
  return n.get(o);
10349
- let [i, h] = Rn(o);
10349
+ let [i, h] = wn(o);
10350
10350
  switch (i) {
10351
10351
  case Br: {
10352
10352
  let p = o;
@@ -10387,7 +10387,7 @@ const qu = -1, Br = 0, Tr = 1, yr = 2, yi = 3, _i = 4, vi = 5, Ai = 6, Wu = 7, X
10387
10387
  return s(o.toJSON());
10388
10388
  const p = [], u = a([i, p], o);
10389
10389
  for (const c of Lm(o))
10390
- (e || !lr(Rn(o[c]))) && p.push([s(c), s(o[c])]);
10390
+ (e || !lr(wn(o[c]))) && p.push([s(c), s(o[c])]);
10391
10391
  return u;
10392
10392
  }
10393
10393
  case yi:
@@ -10399,13 +10399,13 @@ const qu = -1, Br = 0, Tr = 1, yr = 2, yi = 3, _i = 4, vi = 5, Ai = 6, Wu = 7, X
10399
10399
  case vi: {
10400
10400
  const p = [], u = a([i, p], o);
10401
10401
  for (const [c, l] of o)
10402
- (e || !(lr(Rn(c)) || lr(Rn(l)))) && p.push([s(c), s(l)]);
10402
+ (e || !(lr(wn(c)) || lr(wn(l)))) && p.push([s(c), s(l)]);
10403
10403
  return u;
10404
10404
  }
10405
10405
  case Ai: {
10406
10406
  const p = [], u = a([i, p], o);
10407
10407
  for (const c of o)
10408
- (e || !lr(Rn(c))) && p.push(s(c));
10408
+ (e || !lr(wn(c))) && p.push(s(c));
10409
10409
  return u;
10410
10410
  }
10411
10411
  }
@@ -10416,7 +10416,7 @@ const qu = -1, Br = 0, Tr = 1, yr = 2, yi = 3, _i = 4, vi = 5, Ai = 6, Wu = 7, X
10416
10416
  }, zs = (e, { json: t, lossy: n } = {}) => {
10417
10417
  const r = [];
10418
10418
  return Pm(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
10419
- }, gn = typeof structuredClone == "function" ? (
10419
+ }, bn = typeof structuredClone == "function" ? (
10420
10420
  /* c8 ignore start */
10421
10421
  (e, t) => t && ("json" in t || "lossy" in t) ? js(zs(e, t)) : structuredClone(e)
10422
10422
  ) : (e, t) => js(zs(e, t));
@@ -10441,7 +10441,7 @@ function Mm(e) {
10441
10441
  const g = e.footnoteById.get(e.footnoteOrder[h]);
10442
10442
  if (!g)
10443
10443
  continue;
10444
- const p = e.all(g), u = String(g.identifier).toUpperCase(), c = yn(u.toLowerCase());
10444
+ const p = e.all(g), u = String(g.identifier).toUpperCase(), c = _n(u.toLowerCase());
10445
10445
  let l = 0;
10446
10446
  const d = [], f = e.footnoteCounts.get(u);
10447
10447
  for (; f !== void 0 && ++l <= f; ) {
@@ -10483,7 +10483,7 @@ function Mm(e) {
10483
10483
  type: "element",
10484
10484
  tagName: s,
10485
10485
  properties: {
10486
- ...gn(o),
10486
+ ...bn(o),
10487
10487
  id: "footnote-label"
10488
10488
  },
10489
10489
  children: [{ type: "text", value: a }]
@@ -10665,10 +10665,10 @@ function qm(e, t) {
10665
10665
  return l(i, p, u);
10666
10666
  if (i.options.passThrough && i.options.passThrough.includes(c)) {
10667
10667
  if ("children" in p) {
10668
- const { children: f, ...T } = p, m = gn(T);
10668
+ const { children: f, ...T } = p, m = bn(T);
10669
10669
  return m.children = i.all(p), m;
10670
10670
  }
10671
- return gn(p);
10671
+ return bn(p);
10672
10672
  }
10673
10673
  return (i.options.unknownHandler || Qm)(i, p, u);
10674
10674
  }
@@ -10705,7 +10705,7 @@ function Xm(e, t) {
10705
10705
  const o = "children" in n ? n.children : [n];
10706
10706
  n = { type: "element", tagName: r, properties: {}, children: o };
10707
10707
  }
10708
- n.type === "element" && s && Object.assign(n.properties, gn(s)), "children" in n && n.children && a !== null && a !== void 0 && (n.children = a);
10708
+ n.type === "element" && s && Object.assign(n.properties, bn(s)), "children" in n && n.children && a !== null && a !== void 0 && (n.children = a);
10709
10709
  }
10710
10710
  return n;
10711
10711
  }
@@ -10858,7 +10858,7 @@ const bt = { basename: np, dirname: rp, extname: ap, join: ip, sep: "/" };
10858
10858
  function np(e, t) {
10859
10859
  if (t !== void 0 && typeof t != "string")
10860
10860
  throw new TypeError('"ext" argument must be a string');
10861
- er(e);
10861
+ tr(e);
10862
10862
  let n = 0, r = -1, a = e.length, s;
10863
10863
  if (t === void 0 || t.length === 0 || t.length > e.length) {
10864
10864
  for (; a--; )
@@ -10884,7 +10884,7 @@ function np(e, t) {
10884
10884
  return n === r ? r = o : r < 0 && (r = e.length), e.slice(n, r);
10885
10885
  }
10886
10886
  function rp(e) {
10887
- if (er(e), e.length === 0)
10887
+ if (tr(e), e.length === 0)
10888
10888
  return ".";
10889
10889
  let t = -1, n = e.length, r;
10890
10890
  for (; --n; )
@@ -10897,7 +10897,7 @@ function rp(e) {
10897
10897
  return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
10898
10898
  }
10899
10899
  function ap(e) {
10900
- er(e);
10900
+ tr(e);
10901
10901
  let t = e.length, n = -1, r = 0, a = -1, s = 0, o;
10902
10902
  for (; t--; ) {
10903
10903
  const i = e.codePointAt(t);
@@ -10917,11 +10917,11 @@ function ap(e) {
10917
10917
  function ip(...e) {
10918
10918
  let t = -1, n;
10919
10919
  for (; ++t < e.length; )
10920
- er(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
10920
+ tr(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
10921
10921
  return n === void 0 ? "." : sp(n);
10922
10922
  }
10923
10923
  function sp(e) {
10924
- er(e);
10924
+ tr(e);
10925
10925
  const t = e.codePointAt(0) === 47;
10926
10926
  let n = op(e, !t);
10927
10927
  return n.length === 0 && !t && (n = "."), n.length > 0 && e.codePointAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
@@ -10957,7 +10957,7 @@ function op(e, t) {
10957
10957
  }
10958
10958
  return n;
10959
10959
  }
10960
- function er(e) {
10960
+ function tr(e) {
10961
10961
  if (typeof e != "string")
10962
10962
  throw new TypeError(
10963
10963
  "Path must be a string. Received " + JSON.stringify(e)
@@ -12125,7 +12125,7 @@ function so(e, t, n) {
12125
12125
  if (typeof n == "string") {
12126
12126
  if (e.number && n && !Number.isNaN(Number(n)))
12127
12127
  return Number(n);
12128
- if ((e.boolean || e.overloadedBoolean) && (n === "" || qn(n) === qn(t)))
12128
+ if ((e.boolean || e.overloadedBoolean) && (n === "" || Wn(n) === Wn(t)))
12129
12129
  return !0;
12130
12130
  }
12131
12131
  return n;
@@ -12184,7 +12184,7 @@ const Rp = [
12184
12184
  "solidColor",
12185
12185
  "textArea",
12186
12186
  "textPath"
12187
- ], wp = el(Jn, "div"), Lp = el(Ft, "g", Rp);
12187
+ ], wp = el(er, "div"), Lp = el(Ft, "g", Rp);
12188
12188
  function Pp(e) {
12189
12189
  const t = String(e), n = [];
12190
12190
  return { toOffset: a, toPoint: r };
@@ -12224,7 +12224,7 @@ function oo(e, t) {
12224
12224
  `, t);
12225
12225
  return r === -1 ? n : n === -1 || n + 1 === r ? r : n < r ? n : r;
12226
12226
  }
12227
- const qt = {
12227
+ const Wt = {
12228
12228
  html: "http://www.w3.org/1999/xhtml",
12229
12229
  mathml: "http://www.w3.org/1998/Math/MathML",
12230
12230
  svg: "http://www.w3.org/2000/svg",
@@ -12238,7 +12238,7 @@ function kp(e, t) {
12238
12238
  {
12239
12239
  file: n.file || void 0,
12240
12240
  location: !1,
12241
- schema: n.space === "svg" ? Ft : Jn,
12241
+ schema: n.space === "svg" ? Ft : er,
12242
12242
  verbose: n.verbose || !1
12243
12243
  },
12244
12244
  e
@@ -12306,7 +12306,7 @@ function nl(e, t) {
12306
12306
  }
12307
12307
  function Mp(e, t) {
12308
12308
  const n = e.schema;
12309
- e.schema = t.namespaceURI === qt.svg ? Ft : Jn;
12309
+ e.schema = t.namespaceURI === Wt.svg ? Ft : er;
12310
12310
  let r = -1;
12311
12311
  const a = {};
12312
12312
  for (; ++r < t.attrs.length; ) {
@@ -12318,7 +12318,7 @@ function Mp(e, t) {
12318
12318
  const i = (
12319
12319
  /** @type {P5Template} */
12320
12320
  t
12321
- ), h = i.sourceCodeLocation, g = h && h.startTag && fn(h.startTag), p = h && h.endTag && fn(h.endTag), u = (
12321
+ ), h = i.sourceCodeLocation, g = h && h.startTag && dn(h.startTag), p = h && h.endTag && dn(h.endTag), u = (
12322
12322
  /** @type {Root} */
12323
12323
  Ci(e, i.content)
12324
12324
  );
@@ -12333,7 +12333,7 @@ function gr(e, t, n) {
12333
12333
  }
12334
12334
  }
12335
12335
  function Bp(e, t, n) {
12336
- const r = fn(n);
12336
+ const r = dn(n);
12337
12337
  if (t.type === "element") {
12338
12338
  const a = t.children[t.children.length - 1];
12339
12339
  if (r && !n.endTag && a && a.position && a.position.end && (r.end = Object.assign({}, a.position.end)), e.verbose) {
@@ -12341,17 +12341,17 @@ function Bp(e, t, n) {
12341
12341
  let o;
12342
12342
  if (n.attrs)
12343
12343
  for (o in n.attrs)
12344
- tl.call(n.attrs, o) && (s[Dr(e.schema, o).property] = fn(
12344
+ tl.call(n.attrs, o) && (s[Dr(e.schema, o).property] = dn(
12345
12345
  n.attrs[o]
12346
12346
  ));
12347
12347
  n.startTag;
12348
- const i = fn(n.startTag), h = n.endTag ? fn(n.endTag) : void 0, g = { opening: i };
12348
+ const i = dn(n.startTag), h = n.endTag ? dn(n.endTag) : void 0, g = { opening: i };
12349
12349
  h && (g.closing = h), g.properties = s, t.data = { position: g };
12350
12350
  }
12351
12351
  }
12352
12352
  return r;
12353
12353
  }
12354
- function fn(e) {
12354
+ function dn(e) {
12355
12355
  const t = uo({
12356
12356
  line: e.startLine,
12357
12357
  column: e.startCol,
@@ -12384,7 +12384,7 @@ function rl(e, t) {
12384
12384
  const Fp = {}, Hp = {}.hasOwnProperty, al = rl("type", { handlers: { root: $p, element: Gp, text: Vp, comment: Yp, doctype: zp } });
12385
12385
  function Up(e, t) {
12386
12386
  const r = (t || Fp).space;
12387
- return al(e, r === "svg" ? Ft : Jn);
12387
+ return al(e, r === "svg" ? Ft : er);
12388
12388
  }
12389
12389
  function $p(e, t) {
12390
12390
  const n = {
@@ -12393,11 +12393,11 @@ function $p(e, t) {
12393
12393
  mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
12394
12394
  childNodes: []
12395
12395
  };
12396
- return n.childNodes = Ii(e.children, n, t), _n(e, n), n;
12396
+ return n.childNodes = Ii(e.children, n, t), vn(e, n), n;
12397
12397
  }
12398
12398
  function jp(e, t) {
12399
12399
  const n = { nodeName: "#document-fragment", childNodes: [] };
12400
- return n.childNodes = Ii(e.children, n, t), _n(e, n), n;
12400
+ return n.childNodes = Ii(e.children, n, t), vn(e, n), n;
12401
12401
  }
12402
12402
  function zp(e) {
12403
12403
  const t = {
@@ -12407,7 +12407,7 @@ function zp(e) {
12407
12407
  systemId: "",
12408
12408
  parentNode: null
12409
12409
  };
12410
- return _n(e, t), t;
12410
+ return vn(e, t), t;
12411
12411
  }
12412
12412
  function Vp(e) {
12413
12413
  const t = {
@@ -12415,7 +12415,7 @@ function Vp(e) {
12415
12415
  value: e.value,
12416
12416
  parentNode: null
12417
12417
  };
12418
- return _n(e, t), t;
12418
+ return vn(e, t), t;
12419
12419
  }
12420
12420
  function Yp(e) {
12421
12421
  const t = {
@@ -12423,7 +12423,7 @@ function Yp(e) {
12423
12423
  data: e.value,
12424
12424
  parentNode: null
12425
12425
  };
12426
- return _n(e, t), t;
12426
+ return vn(e, t), t;
12427
12427
  }
12428
12428
  function Gp(e, t) {
12429
12429
  const n = t;
@@ -12447,11 +12447,11 @@ function Gp(e, t) {
12447
12447
  tagName: e.tagName,
12448
12448
  attrs: a,
12449
12449
  // @ts-expect-error: `parse5` types are wrong.
12450
- namespaceURI: qt[o],
12450
+ namespaceURI: Wt[o],
12451
12451
  childNodes: [],
12452
12452
  parentNode: null
12453
12453
  };
12454
- return i.childNodes = Ii(e.children, i, r), _n(e, i), e.tagName === "template" && e.content && (i.content = jp(e.content, r)), i;
12454
+ return i.childNodes = Ii(e.children, i, r), vn(e, i), e.tagName === "template" && e.content && (i.content = jp(e.content, r)), i;
12455
12455
  }
12456
12456
  function qp(e, t, n) {
12457
12457
  const r = Dr(e, t);
@@ -12464,7 +12464,7 @@ function qp(e, t, n) {
12464
12464
  };
12465
12465
  if (r.space && r.space !== "html" && r.space !== "svg") {
12466
12466
  const s = a.name.indexOf(":");
12467
- s < 0 ? a.prefix = "" : (a.name = a.name.slice(s + 1), a.prefix = r.attribute.slice(0, s)), a.namespace = qt[r.space];
12467
+ s < 0 ? a.prefix = "" : (a.name = a.name.slice(s + 1), a.prefix = r.attribute.slice(0, s)), a.namespace = Wt[r.space];
12468
12468
  }
12469
12469
  return a;
12470
12470
  }
@@ -12478,7 +12478,7 @@ function Ii(e, t, n) {
12478
12478
  }
12479
12479
  return a;
12480
12480
  }
12481
- function _n(e, t) {
12481
+ function vn(e, t) {
12482
12482
  const n = e.position;
12483
12483
  n && n.start && n.end && (n.start.offset, n.end.offset, t.sourceCodeLocation = {
12484
12484
  startLine: n.start.line,
@@ -12983,14 +12983,14 @@ var z;
12983
12983
  (function(e) {
12984
12984
  e.HTML = "http://www.w3.org/1999/xhtml", e.MATHML = "http://www.w3.org/1998/Math/MathML", e.SVG = "http://www.w3.org/2000/svg", e.XLINK = "http://www.w3.org/1999/xlink", e.XML = "http://www.w3.org/XML/1998/namespace", e.XMLNS = "http://www.w3.org/2000/xmlns/";
12985
12985
  })(z || (z = {}));
12986
- var Wt;
12986
+ var Xt;
12987
12987
  (function(e) {
12988
12988
  e.TYPE = "type", e.ACTION = "action", e.ENCODING = "encoding", e.PROMPT = "prompt", e.NAME = "name", e.COLOR = "color", e.FACE = "face", e.SIZE = "size";
12989
- })(Wt || (Wt = {}));
12990
- var it;
12989
+ })(Xt || (Xt = {}));
12990
+ var at;
12991
12991
  (function(e) {
12992
12992
  e.NO_QUIRKS = "no-quirks", e.QUIRKS = "quirks", e.LIMITED_QUIRKS = "limited-quirks";
12993
- })(it || (it = {}));
12993
+ })(at || (at = {}));
12994
12994
  var k;
12995
12995
  (function(e) {
12996
12996
  e.A = "a", e.ADDRESS = "address", e.ANNOTATION_XML = "annotation-xml", e.APPLET = "applet", e.AREA = "area", e.ARTICLE = "article", e.ASIDE = "aside", e.B = "b", e.BASE = "base", e.BASEFONT = "basefont", e.BGSOUND = "bgsound", e.BIG = "big", e.BLOCKQUOTE = "blockquote", e.BODY = "body", e.BR = "br", e.BUTTON = "button", e.CAPTION = "caption", e.CENTER = "center", e.CODE = "code", e.COL = "col", e.COLGROUP = "colgroup", e.DD = "dd", e.DESC = "desc", e.DETAILS = "details", e.DIALOG = "dialog", e.DIR = "dir", e.DIV = "div", e.DL = "dl", e.DT = "dt", e.EM = "em", e.EMBED = "embed", e.FIELDSET = "fieldset", e.FIGCAPTION = "figcaption", e.FIGURE = "figure", e.FONT = "font", e.FOOTER = "footer", e.FOREIGN_OBJECT = "foreignObject", e.FORM = "form", e.FRAME = "frame", e.FRAMESET = "frameset", e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e.HEAD = "head", e.HEADER = "header", e.HGROUP = "hgroup", e.HR = "hr", e.HTML = "html", e.I = "i", e.IMG = "img", e.IMAGE = "image", e.INPUT = "input", e.IFRAME = "iframe", e.KEYGEN = "keygen", e.LABEL = "label", e.LI = "li", e.LINK = "link", e.LISTING = "listing", e.MAIN = "main", e.MALIGNMARK = "malignmark", e.MARQUEE = "marquee", e.MATH = "math", e.MENU = "menu", e.META = "meta", e.MGLYPH = "mglyph", e.MI = "mi", e.MO = "mo", e.MN = "mn", e.MS = "ms", e.MTEXT = "mtext", e.NAV = "nav", e.NOBR = "nobr", e.NOFRAMES = "noframes", e.NOEMBED = "noembed", e.NOSCRIPT = "noscript", e.OBJECT = "object", e.OL = "ol", e.OPTGROUP = "optgroup", e.OPTION = "option", e.P = "p", e.PARAM = "param", e.PLAINTEXT = "plaintext", e.PRE = "pre", e.RB = "rb", e.RP = "rp", e.RT = "rt", e.RTC = "rtc", e.RUBY = "ruby", e.S = "s", e.SCRIPT = "script", e.SEARCH = "search", e.SECTION = "section", e.SELECT = "select", e.SOURCE = "source", e.SMALL = "small", e.SPAN = "span", e.STRIKE = "strike", e.STRONG = "strong", e.STYLE = "style", e.SUB = "sub", e.SUMMARY = "summary", e.SUP = "sup", e.TABLE = "table", e.TBODY = "tbody", e.TEMPLATE = "template", e.TEXTAREA = "textarea", e.TFOOT = "tfoot", e.TD = "td", e.TH = "th", e.THEAD = "thead", e.TITLE = "title", e.TR = "tr", e.TRACK = "track", e.TT = "tt", e.U = "u", e.UL = "ul", e.SVG = "svg", e.VAR = "var", e.WBR = "wbr", e.XMP = "xmp";
@@ -13124,7 +13124,7 @@ const lg = /* @__PURE__ */ new Map([
13124
13124
  [k.WBR, b.WBR],
13125
13125
  [k.XMP, b.XMP]
13126
13126
  ]);
13127
- function vn(e) {
13127
+ function An(e) {
13128
13128
  var t;
13129
13129
  return (t = lg.get(e)) !== null && t !== void 0 ? t : b.UNKNOWN;
13130
13130
  }
@@ -13234,14 +13234,14 @@ const De = {
13234
13234
  function fg(e) {
13235
13235
  return e >= O.DIGIT_0 && e <= O.DIGIT_9;
13236
13236
  }
13237
- function Bn(e) {
13237
+ function Fn(e) {
13238
13238
  return e >= O.LATIN_CAPITAL_A && e <= O.LATIN_CAPITAL_Z;
13239
13239
  }
13240
13240
  function dg(e) {
13241
13241
  return e >= O.LATIN_SMALL_A && e <= O.LATIN_SMALL_Z;
13242
13242
  }
13243
13243
  function Pt(e) {
13244
- return dg(e) || Bn(e);
13244
+ return dg(e) || Fn(e);
13245
13245
  }
13246
13246
  function co(e) {
13247
13247
  return Pt(e) || fg(e);
@@ -13406,7 +13406,7 @@ class mg {
13406
13406
  }
13407
13407
  emitCurrentTagToken() {
13408
13408
  const t = this.currentToken;
13409
- this.prepareToken(t), t.tagID = vn(t.tagName), t.type === me.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(F.endTagWithAttributes), t.selfClosing && this._err(F.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
13409
+ this.prepareToken(t), t.tagID = An(t.tagName), t.type === me.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(F.endTagWithAttributes), t.selfClosing && this._err(F.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
13410
13410
  }
13411
13411
  emitCurrentComment(t) {
13412
13412
  this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
@@ -13953,7 +13953,7 @@ class mg {
13953
13953
  break;
13954
13954
  }
13955
13955
  default:
13956
- n.tagName += String.fromCodePoint(Bn(t) ? fr(t) : t);
13956
+ n.tagName += String.fromCodePoint(Fn(t) ? fr(t) : t);
13957
13957
  }
13958
13958
  }
13959
13959
  // RCDATA less-than sign state
@@ -14285,7 +14285,7 @@ class mg {
14285
14285
  break;
14286
14286
  }
14287
14287
  default:
14288
- this.currentAttr.name += String.fromCodePoint(Bn(t) ? fr(t) : t);
14288
+ this.currentAttr.name += String.fromCodePoint(Fn(t) ? fr(t) : t);
14289
14289
  }
14290
14290
  }
14291
14291
  // After attribute name state
@@ -14686,7 +14686,7 @@ class mg {
14686
14686
  // Before DOCTYPE name state
14687
14687
  //------------------------------------------------------------------
14688
14688
  _stateBeforeDoctypeName(t) {
14689
- if (Bn(t))
14689
+ if (Fn(t))
14690
14690
  this._createDoctypeToken(String.fromCharCode(fr(t))), this.state = R.DOCTYPE_NAME;
14691
14691
  else
14692
14692
  switch (t) {
@@ -14740,7 +14740,7 @@ class mg {
14740
14740
  break;
14741
14741
  }
14742
14742
  default:
14743
- n.name += String.fromCodePoint(Bn(t) ? fr(t) : t);
14743
+ n.name += String.fromCodePoint(Fn(t) ? fr(t) : t);
14744
14744
  }
14745
14745
  }
14746
14746
  // After DOCTYPE name state
@@ -15470,7 +15470,7 @@ const Dt = {
15470
15470
  createDocument() {
15471
15471
  return {
15472
15472
  nodeName: "#document",
15473
- mode: it.NO_QUIRKS,
15473
+ mode: at.NO_QUIRKS,
15474
15474
  childNodes: []
15475
15475
  };
15476
15476
  },
@@ -15699,21 +15699,21 @@ function Ng(e) {
15699
15699
  }
15700
15700
  function Og(e) {
15701
15701
  if (e.name !== ml)
15702
- return it.QUIRKS;
15702
+ return at.QUIRKS;
15703
15703
  const { systemId: t } = e;
15704
15704
  if (t && t.toLowerCase() === xg)
15705
- return it.QUIRKS;
15705
+ return at.QUIRKS;
15706
15706
  let { publicId: n } = e;
15707
15707
  if (n !== null) {
15708
15708
  if (n = n.toLowerCase(), Cg.has(n))
15709
- return it.QUIRKS;
15709
+ return at.QUIRKS;
15710
15710
  let r = t === null ? Sg : pl;
15711
15711
  if (bo(n, r))
15712
- return it.QUIRKS;
15712
+ return at.QUIRKS;
15713
15713
  if (r = t === null ? gl : Ig, bo(n, r))
15714
- return it.LIMITED_QUIRKS;
15714
+ return at.LIMITED_QUIRKS;
15715
15715
  }
15716
- return it.NO_QUIRKS;
15716
+ return at.NO_QUIRKS;
15717
15717
  }
15718
15718
  const Eo = {
15719
15719
  TEXT_HTML: "text/html",
@@ -15874,7 +15874,7 @@ const Eo = {
15874
15874
  ]);
15875
15875
  function Mg(e) {
15876
15876
  const t = e.tagID;
15877
- return t === b.FONT && e.attrs.some(({ name: r }) => r === Wt.COLOR || r === Wt.SIZE || r === Wt.FACE) || kg.has(t);
15877
+ return t === b.FONT && e.attrs.some(({ name: r }) => r === Xt.COLOR || r === Xt.SIZE || r === Xt.FACE) || kg.has(t);
15878
15878
  }
15879
15879
  function bl(e) {
15880
15880
  for (let t = 0; t < e.attrs.length; t++)
@@ -15897,7 +15897,7 @@ function Ni(e) {
15897
15897
  }
15898
15898
  function Bg(e) {
15899
15899
  const t = Dg.get(e.tagName);
15900
- t != null && (e.tagName = t, e.tagID = vn(e.tagName));
15900
+ t != null && (e.tagName = t, e.tagID = An(e.tagName));
15901
15901
  }
15902
15902
  function Fg(e, t) {
15903
15903
  return t === z.MATHML && (e === b.MI || e === b.MO || e === b.MN || e === b.MS || e === b.MTEXT);
@@ -15905,7 +15905,7 @@ function Fg(e, t) {
15905
15905
  function Hg(e, t, n) {
15906
15906
  if (t === z.MATHML && e === b.ANNOTATION_XML) {
15907
15907
  for (let r = 0; r < n.length; r++)
15908
- if (n[r].name === Wt.ENCODING) {
15908
+ if (n[r].name === Xt.ENCODING) {
15909
15909
  const a = n[r].value.toLowerCase();
15910
15910
  return a === Eo.TEXT_HTML || a === Eo.APPLICATION_XML;
15911
15911
  }
@@ -15938,7 +15938,7 @@ class yo {
15938
15938
  this.fragmentContext = r, this.scriptHandler = a, this.currentToken = null, this.stopped = !1, this.insertionMode = P.INITIAL, this.originalInsertionMode = P.INITIAL, this.headElement = null, this.formElement = null, this.currentNotInHTML = !1, this.tmplInsertionModeStack = [], this.pendingCharacterTokens = [], this.hasNonWhitespacePendingCharacterToken = !1, this.framesetOk = !0, this.skipNextNewLine = !1, this.fosterParentingEnabled = !1, this.options = {
15939
15939
  ...To,
15940
15940
  ...t
15941
- }, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = n ?? this.treeAdapter.createDocument(), this.tokenizer = new mg(this.options, this), this.activeFormattingElements = new vg(this.treeAdapter), this.fragmentContextID = r ? vn(this.treeAdapter.getTagName(r)) : b.UNKNOWN, this._setContextModes(r ?? this.document, this.fragmentContextID), this.openElements = new _g(this.document, this.treeAdapter, this);
15941
+ }, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = n ?? this.treeAdapter.createDocument(), this.tokenizer = new mg(this.options, this), this.activeFormattingElements = new vg(this.treeAdapter), this.fragmentContextID = r ? An(this.treeAdapter.getTagName(r)) : b.UNKNOWN, this._setContextModes(r ?? this.document, this.fragmentContextID), this.openElements = new _g(this.document, this.treeAdapter, this);
15942
15942
  }
15943
15943
  // API
15944
15944
  static parse(t, n) {
@@ -16339,27 +16339,27 @@ class yo {
16339
16339
  }
16340
16340
  switch (this.insertionMode) {
16341
16341
  case P.INITIAL: {
16342
- wn(this, t);
16342
+ Ln(this, t);
16343
16343
  break;
16344
16344
  }
16345
16345
  case P.BEFORE_HTML: {
16346
- $n(this, t);
16346
+ jn(this, t);
16347
16347
  break;
16348
16348
  }
16349
16349
  case P.BEFORE_HEAD: {
16350
- jn(this, t);
16350
+ zn(this, t);
16351
16351
  break;
16352
16352
  }
16353
16353
  case P.IN_HEAD: {
16354
- zn(this, t);
16354
+ Vn(this, t);
16355
16355
  break;
16356
16356
  }
16357
16357
  case P.IN_HEAD_NO_SCRIPT: {
16358
- Vn(this, t);
16358
+ Yn(this, t);
16359
16359
  break;
16360
16360
  }
16361
16361
  case P.AFTER_HEAD: {
16362
- Yn(this, t);
16362
+ Gn(this, t);
16363
16363
  break;
16364
16364
  }
16365
16365
  case P.IN_BODY:
@@ -16407,27 +16407,27 @@ class yo {
16407
16407
  }
16408
16408
  switch (this.insertionMode) {
16409
16409
  case P.INITIAL: {
16410
- wn(this, t);
16410
+ Ln(this, t);
16411
16411
  break;
16412
16412
  }
16413
16413
  case P.BEFORE_HTML: {
16414
- $n(this, t);
16414
+ jn(this, t);
16415
16415
  break;
16416
16416
  }
16417
16417
  case P.BEFORE_HEAD: {
16418
- jn(this, t);
16418
+ zn(this, t);
16419
16419
  break;
16420
16420
  }
16421
16421
  case P.IN_HEAD: {
16422
- zn(this, t);
16422
+ Vn(this, t);
16423
16423
  break;
16424
16424
  }
16425
16425
  case P.IN_HEAD_NO_SCRIPT: {
16426
- Vn(this, t);
16426
+ Yn(this, t);
16427
16427
  break;
16428
16428
  }
16429
16429
  case P.AFTER_HEAD: {
16430
- Yn(this, t);
16430
+ Gn(this, t);
16431
16431
  break;
16432
16432
  }
16433
16433
  case P.TEXT: {
@@ -16483,7 +16483,7 @@ class yo {
16483
16483
  break;
16484
16484
  }
16485
16485
  case P.IN_TABLE_TEXT: {
16486
- Ln(this, t);
16486
+ Pn(this, t);
16487
16487
  break;
16488
16488
  }
16489
16489
  case P.AFTER_BODY: {
@@ -16512,7 +16512,7 @@ class yo {
16512
16512
  break;
16513
16513
  }
16514
16514
  case P.IN_TABLE_TEXT: {
16515
- Ln(this, t);
16515
+ Pn(this, t);
16516
16516
  break;
16517
16517
  }
16518
16518
  }
@@ -16539,7 +16539,7 @@ class yo {
16539
16539
  _startTagOutsideForeignContent(t) {
16540
16540
  switch (this.insertionMode) {
16541
16541
  case P.INITIAL: {
16542
- wn(this, t);
16542
+ Ln(this, t);
16543
16543
  break;
16544
16544
  }
16545
16545
  case P.BEFORE_HTML: {
@@ -16567,11 +16567,11 @@ class yo {
16567
16567
  break;
16568
16568
  }
16569
16569
  case P.IN_TABLE: {
16570
- bn(this, t);
16570
+ En(this, t);
16571
16571
  break;
16572
16572
  }
16573
16573
  case P.IN_TABLE_TEXT: {
16574
- Ln(this, t);
16574
+ Pn(this, t);
16575
16575
  break;
16576
16576
  }
16577
16577
  case P.IN_CAPTION: {
@@ -16636,7 +16636,7 @@ class yo {
16636
16636
  _endTagOutsideForeignContent(t) {
16637
16637
  switch (this.insertionMode) {
16638
16638
  case P.INITIAL: {
16639
- wn(this, t);
16639
+ Ln(this, t);
16640
16640
  break;
16641
16641
  }
16642
16642
  case P.BEFORE_HTML: {
@@ -16668,11 +16668,11 @@ class yo {
16668
16668
  break;
16669
16669
  }
16670
16670
  case P.IN_TABLE: {
16671
- Xn(this, t);
16671
+ Qn(this, t);
16672
16672
  break;
16673
16673
  }
16674
16674
  case P.IN_TABLE_TEXT: {
16675
- Ln(this, t);
16675
+ Pn(this, t);
16676
16676
  break;
16677
16677
  }
16678
16678
  case P.IN_CAPTION: {
@@ -16729,27 +16729,27 @@ class yo {
16729
16729
  onEof(t) {
16730
16730
  switch (this.insertionMode) {
16731
16731
  case P.INITIAL: {
16732
- wn(this, t);
16732
+ Ln(this, t);
16733
16733
  break;
16734
16734
  }
16735
16735
  case P.BEFORE_HTML: {
16736
- $n(this, t);
16736
+ jn(this, t);
16737
16737
  break;
16738
16738
  }
16739
16739
  case P.BEFORE_HEAD: {
16740
- jn(this, t);
16740
+ zn(this, t);
16741
16741
  break;
16742
16742
  }
16743
16743
  case P.IN_HEAD: {
16744
- zn(this, t);
16744
+ Vn(this, t);
16745
16745
  break;
16746
16746
  }
16747
16747
  case P.IN_HEAD_NO_SCRIPT: {
16748
- Vn(this, t);
16748
+ Yn(this, t);
16749
16749
  break;
16750
16750
  }
16751
16751
  case P.AFTER_HEAD: {
16752
- Yn(this, t);
16752
+ Gn(this, t);
16753
16753
  break;
16754
16754
  }
16755
16755
  case P.IN_BODY:
@@ -16769,7 +16769,7 @@ class yo {
16769
16769
  break;
16770
16770
  }
16771
16771
  case P.IN_TABLE_TEXT: {
16772
- Ln(this, t);
16772
+ Pn(this, t);
16773
16773
  break;
16774
16774
  }
16775
16775
  case P.IN_TEMPLATE: {
@@ -16861,7 +16861,7 @@ function Wg(e, t) {
16861
16861
  return e.openElements.replace(t.element, r), t.element = r, r;
16862
16862
  }
16863
16863
  function Xg(e, t, n) {
16864
- const r = e.treeAdapter.getTagName(t), a = vn(r);
16864
+ const r = e.treeAdapter.getTagName(t), a = An(r);
16865
16865
  if (e._isElementCausesFosterParenting(a))
16866
16866
  e._fosterParentElement(n);
16867
16867
  else {
@@ -16911,20 +16911,20 @@ function Ri(e, t) {
16911
16911
  }
16912
16912
  function Jg(e, t) {
16913
16913
  e._setDocumentType(t);
16914
- const n = t.forceQuirks ? it.QUIRKS : Og(t);
16914
+ const n = t.forceQuirks ? at.QUIRKS : Og(t);
16915
16915
  Ng(t) || e._err(t, F.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = P.BEFORE_HTML;
16916
16916
  }
16917
- function wn(e, t) {
16918
- e._err(t, F.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, it.QUIRKS), e.insertionMode = P.BEFORE_HTML, e._processToken(t);
16917
+ function Ln(e, t) {
16918
+ e._err(t, F.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, at.QUIRKS), e.insertionMode = P.BEFORE_HTML, e._processToken(t);
16919
16919
  }
16920
16920
  function eb(e, t) {
16921
- t.tagID === b.HTML ? (e._insertElement(t, z.HTML), e.insertionMode = P.BEFORE_HEAD) : $n(e, t);
16921
+ t.tagID === b.HTML ? (e._insertElement(t, z.HTML), e.insertionMode = P.BEFORE_HEAD) : jn(e, t);
16922
16922
  }
16923
16923
  function tb(e, t) {
16924
16924
  const n = t.tagID;
16925
- (n === b.HTML || n === b.HEAD || n === b.BODY || n === b.BR) && $n(e, t);
16925
+ (n === b.HTML || n === b.HEAD || n === b.BODY || n === b.BR) && jn(e, t);
16926
16926
  }
16927
- function $n(e, t) {
16927
+ function jn(e, t) {
16928
16928
  e._insertFakeRootElement(), e.insertionMode = P.BEFORE_HEAD, e._processToken(t);
16929
16929
  }
16930
16930
  function nb(e, t) {
@@ -16938,14 +16938,14 @@ function nb(e, t) {
16938
16938
  break;
16939
16939
  }
16940
16940
  default:
16941
- jn(e, t);
16941
+ zn(e, t);
16942
16942
  }
16943
16943
  }
16944
16944
  function rb(e, t) {
16945
16945
  const n = t.tagID;
16946
- n === b.HEAD || n === b.BODY || n === b.HTML || n === b.BR ? jn(e, t) : e._err(t, F.endTagWithoutMatchingOpenElement);
16946
+ n === b.HEAD || n === b.BODY || n === b.HTML || n === b.BR ? zn(e, t) : e._err(t, F.endTagWithoutMatchingOpenElement);
16947
16947
  }
16948
- function jn(e, t) {
16948
+ function zn(e, t) {
16949
16949
  e._insertFakeElement(k.HEAD, b.HEAD), e.headElement = e.openElements.current, e.insertionMode = P.IN_HEAD, e._processToken(t);
16950
16950
  }
16951
16951
  function mt(e, t) {
@@ -16988,7 +16988,7 @@ function mt(e, t) {
16988
16988
  break;
16989
16989
  }
16990
16990
  default:
16991
- zn(e, t);
16991
+ Vn(e, t);
16992
16992
  }
16993
16993
  }
16994
16994
  function ab(e, t) {
@@ -17000,21 +17000,21 @@ function ab(e, t) {
17000
17000
  case b.BODY:
17001
17001
  case b.BR:
17002
17002
  case b.HTML: {
17003
- zn(e, t);
17003
+ Vn(e, t);
17004
17004
  break;
17005
17005
  }
17006
17006
  case b.TEMPLATE: {
17007
- nn(e, t);
17007
+ rn(e, t);
17008
17008
  break;
17009
17009
  }
17010
17010
  default:
17011
17011
  e._err(t, F.endTagWithoutMatchingOpenElement);
17012
17012
  }
17013
17013
  }
17014
- function nn(e, t) {
17014
+ function rn(e, t) {
17015
17015
  e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== b.TEMPLATE && e._err(t, F.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(b.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) : e._err(t, F.endTagWithoutMatchingOpenElement);
17016
17016
  }
17017
- function zn(e, t) {
17017
+ function Vn(e, t) {
17018
17018
  e.openElements.pop(), e.insertionMode = P.AFTER_HEAD, e._processToken(t);
17019
17019
  }
17020
17020
  function ib(e, t) {
@@ -17038,7 +17038,7 @@ function ib(e, t) {
17038
17038
  break;
17039
17039
  }
17040
17040
  default:
17041
- Vn(e, t);
17041
+ Yn(e, t);
17042
17042
  }
17043
17043
  }
17044
17044
  function sb(e, t) {
@@ -17048,14 +17048,14 @@ function sb(e, t) {
17048
17048
  break;
17049
17049
  }
17050
17050
  case b.BR: {
17051
- Vn(e, t);
17051
+ Yn(e, t);
17052
17052
  break;
17053
17053
  }
17054
17054
  default:
17055
17055
  e._err(t, F.endTagWithoutMatchingOpenElement);
17056
17056
  }
17057
17057
  }
17058
- function Vn(e, t) {
17058
+ function Yn(e, t) {
17059
17059
  const n = t.type === me.EOF ? F.openElementsLeftAfterEof : F.disallowedContentInNoscriptInHead;
17060
17060
  e._err(t, n), e.openElements.pop(), e.insertionMode = P.IN_HEAD, e._processToken(t);
17061
17061
  }
@@ -17091,7 +17091,7 @@ function ob(e, t) {
17091
17091
  break;
17092
17092
  }
17093
17093
  default:
17094
- Yn(e, t);
17094
+ Gn(e, t);
17095
17095
  }
17096
17096
  }
17097
17097
  function ub(e, t) {
@@ -17099,18 +17099,18 @@ function ub(e, t) {
17099
17099
  case b.BODY:
17100
17100
  case b.HTML:
17101
17101
  case b.BR: {
17102
- Yn(e, t);
17102
+ Gn(e, t);
17103
17103
  break;
17104
17104
  }
17105
17105
  case b.TEMPLATE: {
17106
- nn(e, t);
17106
+ rn(e, t);
17107
17107
  break;
17108
17108
  }
17109
17109
  default:
17110
17110
  e._err(t, F.endTagWithoutMatchingOpenElement);
17111
17111
  }
17112
17112
  }
17113
- function Yn(e, t) {
17113
+ function Gn(e, t) {
17114
17114
  e._insertFakeElement(k.BODY, b.BODY), e.insertionMode = P.IN_BODY, Hr(e, t);
17115
17115
  }
17116
17116
  function Hr(e, t) {
@@ -17205,13 +17205,13 @@ function vb(e, t) {
17205
17205
  e._reconstructActiveFormattingElements(), e._insertElement(t, z.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
17206
17206
  }
17207
17207
  function Ab(e, t) {
17208
- e.treeAdapter.getDocumentMode(e.document) !== it.QUIRKS && e.openElements.hasInButtonScope(b.P) && e._closePElement(), e._insertElement(t, z.HTML), e.framesetOk = !1, e.insertionMode = P.IN_TABLE;
17208
+ e.treeAdapter.getDocumentMode(e.document) !== at.QUIRKS && e.openElements.hasInButtonScope(b.P) && e._closePElement(), e._insertElement(t, z.HTML), e.framesetOk = !1, e.insertionMode = P.IN_TABLE;
17209
17209
  }
17210
17210
  function vl(e, t) {
17211
17211
  e._reconstructActiveFormattingElements(), e._appendElement(t, z.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
17212
17212
  }
17213
17213
  function Al(e) {
17214
- const t = ul(e, Wt.TYPE);
17214
+ const t = ul(e, Xt.TYPE);
17215
17215
  return t != null && t.toLowerCase() === $g;
17216
17216
  }
17217
17217
  function xb(e, t) {
@@ -17612,7 +17612,7 @@ function Ur(e, t) {
17612
17612
  break;
17613
17613
  }
17614
17614
  case b.TEMPLATE: {
17615
- nn(e, t);
17615
+ rn(e, t);
17616
17616
  break;
17617
17617
  }
17618
17618
  default:
@@ -17642,7 +17642,7 @@ function Aa(e, t) {
17642
17642
  }
17643
17643
  }
17644
17644
  else
17645
- tr(e, t);
17645
+ nr(e, t);
17646
17646
  }
17647
17647
  function Xb(e, t) {
17648
17648
  e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, z.HTML), e.insertionMode = P.IN_CAPTION;
@@ -17663,12 +17663,12 @@ function e1(e, t) {
17663
17663
  e.openElements.hasInTableScope(b.TABLE) && (e.openElements.popUntilTagNamePopped(b.TABLE), e._resetInsertionMode(), e._processStartTag(t));
17664
17664
  }
17665
17665
  function t1(e, t) {
17666
- Al(t) ? e._appendElement(t, z.HTML) : tr(e, t), t.ackSelfClosing = !0;
17666
+ Al(t) ? e._appendElement(t, z.HTML) : nr(e, t), t.ackSelfClosing = !0;
17667
17667
  }
17668
17668
  function n1(e, t) {
17669
17669
  !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, z.HTML), e.formElement = e.openElements.current, e.openElements.pop());
17670
17670
  }
17671
- function bn(e, t) {
17671
+ function En(e, t) {
17672
17672
  switch (t.tagID) {
17673
17673
  case b.TD:
17674
17674
  case b.TH:
@@ -17713,17 +17713,17 @@ function bn(e, t) {
17713
17713
  break;
17714
17714
  }
17715
17715
  default:
17716
- tr(e, t);
17716
+ nr(e, t);
17717
17717
  }
17718
17718
  }
17719
- function Xn(e, t) {
17719
+ function Qn(e, t) {
17720
17720
  switch (t.tagID) {
17721
17721
  case b.TABLE: {
17722
17722
  e.openElements.hasInTableScope(b.TABLE) && (e.openElements.popUntilTagNamePopped(b.TABLE), e._resetInsertionMode());
17723
17723
  break;
17724
17724
  }
17725
17725
  case b.TEMPLATE: {
17726
- nn(e, t);
17726
+ rn(e, t);
17727
17727
  break;
17728
17728
  }
17729
17729
  case b.BODY:
@@ -17739,10 +17739,10 @@ function Xn(e, t) {
17739
17739
  case b.TR:
17740
17740
  break;
17741
17741
  default:
17742
- tr(e, t);
17742
+ nr(e, t);
17743
17743
  }
17744
17744
  }
17745
- function tr(e, t) {
17745
+ function nr(e, t) {
17746
17746
  const n = e.fosterParentingEnabled;
17747
17747
  e.fosterParentingEnabled = !0, Hr(e, t), e.fosterParentingEnabled = n;
17748
17748
  }
@@ -17752,11 +17752,11 @@ function Cl(e, t) {
17752
17752
  function Il(e, t) {
17753
17753
  e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
17754
17754
  }
17755
- function Ln(e, t) {
17755
+ function Pn(e, t) {
17756
17756
  let n = 0;
17757
17757
  if (e.hasNonWhitespacePendingCharacterToken)
17758
17758
  for (; n < e.pendingCharacterTokens.length; n++)
17759
- tr(e, e.pendingCharacterTokens[n]);
17759
+ nr(e, e.pendingCharacterTokens[n]);
17760
17760
  else
17761
17761
  for (; n < e.pendingCharacterTokens.length; n++)
17762
17762
  e._insertCharacters(e.pendingCharacterTokens[n]);
@@ -17765,14 +17765,14 @@ function Ln(e, t) {
17765
17765
  const Nl = /* @__PURE__ */ new Set([b.CAPTION, b.COL, b.COLGROUP, b.TBODY, b.TD, b.TFOOT, b.TH, b.THEAD, b.TR]);
17766
17766
  function r1(e, t) {
17767
17767
  const n = t.tagID;
17768
- Nl.has(n) ? e.openElements.hasInTableScope(b.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(b.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = P.IN_TABLE, bn(e, t)) : Ve(e, t);
17768
+ Nl.has(n) ? e.openElements.hasInTableScope(b.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(b.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = P.IN_TABLE, En(e, t)) : Ve(e, t);
17769
17769
  }
17770
17770
  function a1(e, t) {
17771
17771
  const n = t.tagID;
17772
17772
  switch (n) {
17773
17773
  case b.CAPTION:
17774
17774
  case b.TABLE: {
17775
- e.openElements.hasInTableScope(b.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(b.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = P.IN_TABLE, n === b.TABLE && Xn(e, t));
17775
+ e.openElements.hasInTableScope(b.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(b.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = P.IN_TABLE, n === b.TABLE && Qn(e, t));
17776
17776
  break;
17777
17777
  }
17778
17778
  case b.BODY:
@@ -17815,7 +17815,7 @@ function i1(e, t) {
17815
17815
  break;
17816
17816
  }
17817
17817
  case b.TEMPLATE: {
17818
- nn(e, t);
17818
+ rn(e, t);
17819
17819
  break;
17820
17820
  }
17821
17821
  case b.COL:
@@ -17844,11 +17844,11 @@ function $r(e, t) {
17844
17844
  case b.TBODY:
17845
17845
  case b.TFOOT:
17846
17846
  case b.THEAD: {
17847
- e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = P.IN_TABLE, bn(e, t));
17847
+ e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = P.IN_TABLE, En(e, t));
17848
17848
  break;
17849
17849
  }
17850
17850
  default:
17851
- bn(e, t);
17851
+ En(e, t);
17852
17852
  }
17853
17853
  }
17854
17854
  function ti(e, t) {
@@ -17861,7 +17861,7 @@ function ti(e, t) {
17861
17861
  break;
17862
17862
  }
17863
17863
  case b.TABLE: {
17864
- e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = P.IN_TABLE, Xn(e, t));
17864
+ e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = P.IN_TABLE, Qn(e, t));
17865
17865
  break;
17866
17866
  }
17867
17867
  case b.BODY:
@@ -17874,7 +17874,7 @@ function ti(e, t) {
17874
17874
  case b.TR:
17875
17875
  break;
17876
17876
  default:
17877
- Xn(e, t);
17877
+ Qn(e, t);
17878
17878
  }
17879
17879
  }
17880
17880
  function jr(e, t) {
@@ -17895,7 +17895,7 @@ function jr(e, t) {
17895
17895
  break;
17896
17896
  }
17897
17897
  default:
17898
- bn(e, t);
17898
+ En(e, t);
17899
17899
  }
17900
17900
  }
17901
17901
  function Ol(e, t) {
@@ -17923,7 +17923,7 @@ function Ol(e, t) {
17923
17923
  case b.TH:
17924
17924
  break;
17925
17925
  default:
17926
- Xn(e, t);
17926
+ Qn(e, t);
17927
17927
  }
17928
17928
  }
17929
17929
  function s1(e, t) {
@@ -18003,7 +18003,7 @@ function wl(e, t) {
18003
18003
  break;
18004
18004
  }
18005
18005
  case b.TEMPLATE: {
18006
- nn(e, t);
18006
+ rn(e, t);
18007
18007
  break;
18008
18008
  }
18009
18009
  }
@@ -18036,7 +18036,7 @@ function c1(e, t) {
18036
18036
  case b.TBODY:
18037
18037
  case b.TFOOT:
18038
18038
  case b.THEAD: {
18039
- e.tmplInsertionModeStack[0] = P.IN_TABLE, e.insertionMode = P.IN_TABLE, bn(e, t);
18039
+ e.tmplInsertionModeStack[0] = P.IN_TABLE, e.insertionMode = P.IN_TABLE, En(e, t);
18040
18040
  break;
18041
18041
  }
18042
18042
  case b.COL: {
@@ -18057,7 +18057,7 @@ function c1(e, t) {
18057
18057
  }
18058
18058
  }
18059
18059
  function f1(e, t) {
18060
- t.tagID === b.TEMPLATE && nn(e, t);
18060
+ t.tagID === b.TEMPLATE && rn(e, t);
18061
18061
  }
18062
18062
  function Ll(e, t) {
18063
18063
  e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(b.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : Ri(e, t);
@@ -18191,7 +18191,7 @@ function kl(e, t) {
18191
18191
  stitches: !1,
18192
18192
  options: t || {}
18193
18193
  };
18194
- r(e, a), An(a, Ct());
18194
+ r(e, a), xn(a, Ct());
18195
18195
  const s = n ? a.parser.document : a.parser.getFragment(), o = kp(s, {
18196
18196
  // To do: support `space`?
18197
18197
  file: a.options.file
@@ -18225,9 +18225,9 @@ function C1(e, t) {
18225
18225
  const n = {
18226
18226
  type: me.CHARACTER,
18227
18227
  chars: e.value,
18228
- location: nr(e)
18228
+ location: rr(e)
18229
18229
  };
18230
- An(t, Ct(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
18230
+ xn(t, Ct(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
18231
18231
  }
18232
18232
  function I1(e, t) {
18233
18233
  const n = {
@@ -18236,9 +18236,9 @@ function I1(e, t) {
18236
18236
  forceQuirks: !1,
18237
18237
  publicId: "",
18238
18238
  systemId: "",
18239
- location: nr(e)
18239
+ location: rr(e)
18240
18240
  };
18241
- An(t, Ct(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
18241
+ xn(t, Ct(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
18242
18242
  }
18243
18243
  function N1(e, t) {
18244
18244
  t.stitches = !0;
@@ -18256,9 +18256,9 @@ function Bl(e, t) {
18256
18256
  const n = e.value, r = {
18257
18257
  type: me.COMMENT,
18258
18258
  data: n,
18259
- location: nr(e)
18259
+ location: rr(e)
18260
18260
  };
18261
- An(t, Ct(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
18261
+ xn(t, Ct(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
18262
18262
  }
18263
18263
  function O1(e, t) {
18264
18264
  if (t.parser.tokenizer.preprocessor.html = "", t.parser.tokenizer.preprocessor.pos = -1, t.parser.tokenizer.preprocessor.lastGapPos = -2, t.parser.tokenizer.preprocessor.gapStack = [], t.parser.tokenizer.preprocessor.skipNextNewLine = !1, t.parser.tokenizer.preprocessor.lastChunkWritten = !1, t.parser.tokenizer.preprocessor.endOfChunkHit = !1, t.parser.tokenizer.preprocessor.isEol = !1, Fl(t, Ct(e)), t.parser.tokenizer.write(e.value, !1), t.parser.tokenizer._runParsingLoop(), t.parser.tokenizer.state === 72 || t.parser.tokenizer.state === 78) {
@@ -18279,7 +18279,7 @@ function R1(e, t) {
18279
18279
  throw A1.has(n.type) && (r = ". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"), new Error("Cannot compile `" + n.type + "` node" + r);
18280
18280
  }
18281
18281
  }
18282
- function An(e, t) {
18282
+ function xn(e, t) {
18283
18283
  Fl(e, t);
18284
18284
  const n = e.parser.tokenizer.currentCharacterToken;
18285
18285
  n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = De.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
@@ -18300,40 +18300,40 @@ function Fl(e, t) {
18300
18300
  function w1(e, t) {
18301
18301
  const n = e.tagName.toLowerCase();
18302
18302
  if (t.parser.tokenizer.state === De.PLAINTEXT) return;
18303
- An(t, Ct(e));
18303
+ xn(t, Ct(e));
18304
18304
  const r = t.parser.openElements.current;
18305
- let a = "namespaceURI" in r ? r.namespaceURI : qt.html;
18306
- a === qt.html && n === "svg" && (a = qt.svg);
18305
+ let a = "namespaceURI" in r ? r.namespaceURI : Wt.html;
18306
+ a === Wt.html && n === "svg" && (a = Wt.svg);
18307
18307
  const s = Up(
18308
18308
  // Shallow clone to not delve into `children`: we only need the attributes.
18309
18309
  { ...e, children: [] },
18310
- { space: a === qt.svg ? "svg" : "html" }
18310
+ { space: a === Wt.svg ? "svg" : "html" }
18311
18311
  ), o = {
18312
18312
  type: me.START_TAG,
18313
18313
  tagName: n,
18314
- tagID: vn(n),
18314
+ tagID: An(n),
18315
18315
  // We always send start and end tags.
18316
18316
  selfClosing: !1,
18317
18317
  ackSelfClosing: !1,
18318
18318
  // Always element.
18319
18319
  /* c8 ignore next */
18320
18320
  attrs: "attrs" in s ? s.attrs : [],
18321
- location: nr(e)
18321
+ location: rr(e)
18322
18322
  };
18323
18323
  t.parser.currentToken = o, t.parser._processToken(t.parser.currentToken), t.parser.tokenizer.lastStartTagName = n;
18324
18324
  }
18325
18325
  function L1(e, t) {
18326
18326
  const n = e.tagName.toLowerCase();
18327
18327
  if (!t.parser.tokenizer.inForeignNode && Wp.includes(n) || t.parser.tokenizer.state === De.PLAINTEXT) return;
18328
- An(t, kr(e));
18328
+ xn(t, kr(e));
18329
18329
  const r = {
18330
18330
  type: me.END_TAG,
18331
18331
  tagName: n,
18332
- tagID: vn(n),
18332
+ tagID: An(n),
18333
18333
  selfClosing: !1,
18334
18334
  ackSelfClosing: !1,
18335
18335
  attrs: [],
18336
- location: nr(e)
18336
+ location: rr(e)
18337
18337
  };
18338
18338
  t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken), // Current element is closed.
18339
18339
  n === t.parser.tokenizer.lastStartTagName && // `<textarea>` and `<title>`
@@ -18345,7 +18345,7 @@ function P1(e) {
18345
18345
  const t = e.type === "root" ? e.children[0] : e;
18346
18346
  return !!(t && (t.type === "doctype" || t.type === "element" && t.tagName.toLowerCase() === "html"));
18347
18347
  }
18348
- function nr(e) {
18348
+ function rr(e) {
18349
18349
  const t = Ct(e) || {
18350
18350
  line: void 0,
18351
18351
  column: void 0,
@@ -18365,7 +18365,7 @@ function nr(e) {
18365
18365
  };
18366
18366
  }
18367
18367
  function D1(e) {
18368
- return "children" in e ? gn({ ...e, children: [] }) : gn(e);
18368
+ return "children" in e ? bn({ ...e, children: [] }) : bn(e);
18369
18369
  }
18370
18370
  function k1(e) {
18371
18371
  return function(t, n) {
@@ -18375,28 +18375,38 @@ function k1(e) {
18375
18375
  );
18376
18376
  };
18377
18377
  }
18378
- const M1 = ({ userType: e, content: t }) => {
18379
- const { chatlineLabelAssistantTranslation: n, chatlineLabelUserTranslation: r } = pu(), a = e === "user", s = e === "assistant";
18380
- return /* @__PURE__ */ W.jsxs("div", { className: "flex justify-between mt-8", children: [
18378
+ const M1 = ({
18379
+ userType: e,
18380
+ content: t,
18381
+ metaData: n
18382
+ }) => {
18383
+ const { chatlineLabelAssistantTranslation: r, chatlineLabelUserTranslation: a } = pu(), s = e === "user", o = e === "assistant";
18384
+ return /* @__PURE__ */ W.jsxs("div", { className: "flex justify-between mt-8 ", children: [
18381
18385
  /* @__PURE__ */ W.jsxs("div", { className: "w-10 mr-3", children: [
18382
- a && /* @__PURE__ */ W.jsx(Jf, { fill: "#4564d6" }),
18383
- s && /* @__PURE__ */ W.jsx(ed, { fill: "#32cf56" })
18386
+ s && /* @__PURE__ */ W.jsx(Jf, { fill: "#4564d6" }),
18387
+ o && /* @__PURE__ */ W.jsx(ed, { fill: "#32cf56" })
18384
18388
  ] }),
18385
- /* @__PURE__ */ W.jsxs("div", { className: "w-full", children: [
18386
- /* @__PURE__ */ W.jsx("p", { className: "font-bold", children: e === "user" ? r : n }),
18387
- /* @__PURE__ */ W.jsx("div", { children: /* @__PURE__ */ W.jsx(vp, { rehypePlugins: [k1], children: t && t }) })
18388
- ] })
18389
+ /* @__PURE__ */ W.jsxs(
18390
+ "div",
18391
+ {
18392
+ className: `w-full p-4 rounded-lg transition-all duration-300 ${n != null && n.isErrorMessage ? "bg-red-100 border-l-4 border-red-400 text-red-800 shadow-md animate-fade-in" : "bg-white text-gray-800"}`,
18393
+ children: [
18394
+ /* @__PURE__ */ W.jsx("p", { className: "font-bold", children: e === "user" ? a : r }),
18395
+ /* @__PURE__ */ W.jsx("div", { children: /* @__PURE__ */ W.jsx(vp, { rehypePlugins: [k1], children: t && t }) })
18396
+ ]
18397
+ }
18398
+ )
18389
18399
  ] });
18390
18400
  };
18391
18401
  function B1(e, t, n) {
18392
- let [r, a] = Ue(e || t), s = nt(e !== void 0), o = e !== void 0;
18402
+ let [r, a] = $e(e || t), s = tt(e !== void 0), o = e !== void 0;
18393
18403
  ht(() => {
18394
18404
  let g = s.current;
18395
18405
  g !== o && console.warn(`WARN: A component changed from ${g ? "controlled" : "uncontrolled"} to ${o ? "controlled" : "uncontrolled"}.`), s.current = o;
18396
18406
  }, [
18397
18407
  o
18398
18408
  ]);
18399
- let i = o ? e : r, h = Qt((g, ...p) => {
18409
+ let i = o ? e : r, h = Kt((g, ...p) => {
18400
18410
  let u = (c, ...l) => {
18401
18411
  n && (Object.is(i, c) || n(c, ...l)), o || (i = c);
18402
18412
  };
@@ -18420,7 +18430,7 @@ const xr = {
18420
18430
  }, Hl = /* @__PURE__ */ Le.createContext(xr), F1 = /* @__PURE__ */ Le.createContext(!1);
18421
18431
  let H1 = !!(typeof window < "u" && window.document && window.document.createElement), xa = /* @__PURE__ */ new WeakMap();
18422
18432
  function U1(e = !1) {
18423
- let t = Kt(Hl), n = nt(null);
18433
+ let t = Zt(Hl), n = tt(null);
18424
18434
  if (n.current === null && !e) {
18425
18435
  var r, a;
18426
18436
  let s = (a = Le.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || a === void 0 || (r = a.ReactCurrentOwner) === null || r === void 0 ? void 0 : r.current;
@@ -18436,13 +18446,13 @@ function U1(e = !1) {
18436
18446
  return n.current;
18437
18447
  }
18438
18448
  function $1(e) {
18439
- let t = Kt(Hl);
18449
+ let t = Zt(Hl);
18440
18450
  t === xr && !H1 && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
18441
18451
  let n = U1(!!e), r = t === xr && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${t.prefix}`;
18442
18452
  return e || `${r}-${n}`;
18443
18453
  }
18444
18454
  function j1(e) {
18445
- let t = Le.useId(), [n] = Ue(q1()), r = n || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${xr.prefix}`;
18455
+ let t = Le.useId(), [n] = $e(q1()), r = n || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${xr.prefix}`;
18446
18456
  return e || `${r}-${t}`;
18447
18457
  }
18448
18458
  const z1 = typeof Le.useId == "function" ? j1 : $1;
@@ -18457,7 +18467,7 @@ function G1(e) {
18457
18467
  };
18458
18468
  }
18459
18469
  function q1() {
18460
- return typeof Le.useSyncExternalStore == "function" ? Le.useSyncExternalStore(G1, V1, Y1) : Kt(F1);
18470
+ return typeof Le.useSyncExternalStore == "function" ? Le.useSyncExternalStore(G1, V1, Y1) : Zt(F1);
18461
18471
  }
18462
18472
  function Ul(e) {
18463
18473
  var t, n, r = "";
@@ -18472,21 +18482,21 @@ function W1() {
18472
18482
  for (var e, t, n = 0, r = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = Ul(e)) && (r && (r += " "), r += t);
18473
18483
  return r;
18474
18484
  }
18475
- const rn = typeof document < "u" ? Le.useLayoutEffect : () => {
18485
+ const an = typeof document < "u" ? Le.useLayoutEffect : () => {
18476
18486
  };
18477
- function Xt(e) {
18478
- const t = nt(null);
18479
- return rn(() => {
18487
+ function Qt(e) {
18488
+ const t = tt(null);
18489
+ return an(() => {
18480
18490
  t.current = e;
18481
18491
  }, [
18482
18492
  e
18483
- ]), Qt((...n) => {
18493
+ ]), Kt((...n) => {
18484
18494
  const r = t.current;
18485
18495
  return r == null ? void 0 : r(...n);
18486
18496
  }, []);
18487
18497
  }
18488
18498
  function X1(e) {
18489
- let [t, n] = Ue(e), r = nt(null), a = Xt(() => {
18499
+ let [t, n] = $e(e), r = tt(null), a = Qt(() => {
18490
18500
  if (!r.current) return;
18491
18501
  let o = r.current.next();
18492
18502
  if (o.done) {
@@ -18495,10 +18505,10 @@ function X1(e) {
18495
18505
  }
18496
18506
  t === o.value ? a() : n(o.value);
18497
18507
  });
18498
- rn(() => {
18508
+ an(() => {
18499
18509
  r.current && a();
18500
18510
  });
18501
- let s = Xt((o) => {
18511
+ let s = Qt((o) => {
18502
18512
  r.current = o(t), a();
18503
18513
  });
18504
18514
  return [
@@ -18508,10 +18518,10 @@ function X1(e) {
18508
18518
  }
18509
18519
  let Q1 = !!(typeof window < "u" && window.document && window.document.createElement), Sr = /* @__PURE__ */ new Map();
18510
18520
  function Cr(e) {
18511
- let [t, n] = Ue(e), r = nt(null), a = z1(t), s = Qt((o) => {
18521
+ let [t, n] = $e(e), r = tt(null), a = z1(t), s = Kt((o) => {
18512
18522
  r.current = o;
18513
18523
  }, []);
18514
- return Q1 && Sr.set(a, s), rn(() => {
18524
+ return Q1 && Sr.set(a, s), an(() => {
18515
18525
  let o = a;
18516
18526
  return () => {
18517
18527
  Sr.delete(o);
@@ -18532,7 +18542,7 @@ function K1(e, t) {
18532
18542
  return r ? (r(e), e) : t;
18533
18543
  }
18534
18544
  function xo(e = []) {
18535
- let t = Cr(), [n, r] = X1(t), a = Qt(() => {
18545
+ let t = Cr(), [n, r] = X1(t), a = Kt(() => {
18536
18546
  r(function* () {
18537
18547
  yield t, yield document.getElementById(t) ? t : void 0;
18538
18548
  });
@@ -18540,7 +18550,7 @@ function xo(e = []) {
18540
18550
  t,
18541
18551
  r
18542
18552
  ]);
18543
- return rn(a, [
18553
+ return an(a, [
18544
18554
  t,
18545
18555
  a,
18546
18556
  ...e
@@ -18551,10 +18561,10 @@ function Z1(...e) {
18551
18561
  for (let n of e) typeof n == "function" && n(...t);
18552
18562
  };
18553
18563
  }
18554
- const rr = (e) => {
18564
+ const ar = (e) => {
18555
18565
  var t;
18556
18566
  return (t = e == null ? void 0 : e.ownerDocument) !== null && t !== void 0 ? t : document;
18557
- }, Ir = (e) => e && "window" in e && e.window === e ? e : rr(e).defaultView || window;
18567
+ }, Ir = (e) => e && "window" in e && e.window === e ? e : ar(e).defaultView || window;
18558
18568
  function Nr(...e) {
18559
18569
  let t = {
18560
18570
  ...e[0]
@@ -18647,7 +18657,7 @@ function lE() {
18647
18657
  function cE() {
18648
18658
  return oE(/Android/i);
18649
18659
  }
18650
- let cn = /* @__PURE__ */ new Map(), ni = /* @__PURE__ */ new Set();
18660
+ let fn = /* @__PURE__ */ new Map(), ni = /* @__PURE__ */ new Set();
18651
18661
  function Co() {
18652
18662
  if (typeof window > "u") return;
18653
18663
  function e(r) {
@@ -18655,14 +18665,14 @@ function Co() {
18655
18665
  }
18656
18666
  let t = (r) => {
18657
18667
  if (!e(r) || !r.target) return;
18658
- let a = cn.get(r.target);
18659
- a || (a = /* @__PURE__ */ new Set(), cn.set(r.target, a), r.target.addEventListener("transitioncancel", n, {
18668
+ let a = fn.get(r.target);
18669
+ a || (a = /* @__PURE__ */ new Set(), fn.set(r.target, a), r.target.addEventListener("transitioncancel", n, {
18660
18670
  once: !0
18661
18671
  })), a.add(r.propertyName);
18662
18672
  }, n = (r) => {
18663
18673
  if (!e(r) || !r.target) return;
18664
- let a = cn.get(r.target);
18665
- if (a && (a.delete(r.propertyName), a.size === 0 && (r.target.removeEventListener("transitioncancel", n), cn.delete(r.target)), cn.size === 0)) {
18674
+ let a = fn.get(r.target);
18675
+ if (a && (a.delete(r.propertyName), a.size === 0 && (r.target.removeEventListener("transitioncancel", n), fn.delete(r.target)), fn.size === 0)) {
18666
18676
  for (let s of ni) s();
18667
18677
  ni.clear();
18668
18678
  }
@@ -18672,7 +18682,7 @@ function Co() {
18672
18682
  typeof document < "u" && (document.readyState !== "loading" ? Co() : document.addEventListener("DOMContentLoaded", Co));
18673
18683
  function fE(e) {
18674
18684
  requestAnimationFrame(() => {
18675
- cn.size === 0 ? e() : ni.add(e);
18685
+ fn.size === 0 ? e() : ni.add(e);
18676
18686
  });
18677
18687
  }
18678
18688
  function dE(e, t) {
@@ -18689,7 +18699,7 @@ function dE(e, t) {
18689
18699
  };
18690
18700
  }
18691
18701
  function hE(e, t) {
18692
- rn(() => {
18702
+ an(() => {
18693
18703
  if (e && e.ref && t)
18694
18704
  return e.ref.current = t.current, () => {
18695
18705
  e.ref && (e.ref.current = null);
@@ -18700,7 +18710,7 @@ function mE(e) {
18700
18710
  return e.mozInputSource === 0 && e.isTrusted ? !0 : cE() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
18701
18711
  }
18702
18712
  function pE(e, t, n) {
18703
- let r = nt(t), a = Xt(() => {
18713
+ let r = tt(t), a = Qt(() => {
18704
18714
  n && n(r.current);
18705
18715
  });
18706
18716
  ht(() => {
@@ -18739,20 +18749,20 @@ class bE {
18739
18749
  }
18740
18750
  }
18741
18751
  function EE(e) {
18742
- let t = nt({
18752
+ let t = tt({
18743
18753
  isFocused: !1,
18744
18754
  observer: null
18745
18755
  });
18746
- rn(() => {
18756
+ an(() => {
18747
18757
  const r = t.current;
18748
18758
  return () => {
18749
18759
  r.observer && (r.observer.disconnect(), r.observer = null);
18750
18760
  };
18751
18761
  }, []);
18752
- let n = Xt((r) => {
18762
+ let n = Qt((r) => {
18753
18763
  e == null || e(r);
18754
18764
  });
18755
- return Qt((r) => {
18765
+ return Kt((r) => {
18756
18766
  if (r.target instanceof HTMLButtonElement || r.target instanceof HTMLInputElement || r.target instanceof HTMLTextAreaElement || r.target instanceof HTMLSelectElement) {
18757
18767
  t.current.isFocused = !0;
18758
18768
  let a = r.target, s = (o) => {
@@ -18785,13 +18795,13 @@ function EE(e) {
18785
18795
  }
18786
18796
  function TE(e) {
18787
18797
  let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: a } = e;
18788
- const s = Qt((h) => {
18798
+ const s = Kt((h) => {
18789
18799
  if (h.target === h.currentTarget)
18790
18800
  return r && r(h), a && a(!1), !0;
18791
18801
  }, [
18792
18802
  r,
18793
18803
  a
18794
- ]), o = EE(s), i = Qt((h) => {
18804
+ ]), o = EE(s), i = Kt((h) => {
18795
18805
  h.target === h.currentTarget && document.activeElement === h.target && (n && n(h), a && a(!0), o(h));
18796
18806
  }, [
18797
18807
  a,
@@ -18805,7 +18815,7 @@ function TE(e) {
18805
18815
  }
18806
18816
  };
18807
18817
  }
18808
- let xn = null, yE = /* @__PURE__ */ new Set(), Gn = /* @__PURE__ */ new Map(), Jt = !1, ri = !1;
18818
+ let Sn = null, yE = /* @__PURE__ */ new Set(), qn = /* @__PURE__ */ new Map(), en = !1, ri = !1;
18809
18819
  function zr(e, t) {
18810
18820
  for (let n of yE) n(e, t);
18811
18821
  }
@@ -18813,40 +18823,40 @@ function _E(e) {
18813
18823
  return !(e.metaKey || !lE() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
18814
18824
  }
18815
18825
  function Or(e) {
18816
- Jt = !0, _E(e) && (xn = "keyboard", zr("keyboard", e));
18826
+ en = !0, _E(e) && (Sn = "keyboard", zr("keyboard", e));
18817
18827
  }
18818
- function st(e) {
18819
- xn = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Jt = !0, zr("pointer", e));
18828
+ function it(e) {
18829
+ Sn = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (en = !0, zr("pointer", e));
18820
18830
  }
18821
18831
  function $l(e) {
18822
- mE(e) && (Jt = !0, xn = "virtual");
18832
+ mE(e) && (en = !0, Sn = "virtual");
18823
18833
  }
18824
18834
  function jl(e) {
18825
- e.target === window || e.target === document || (!Jt && !ri && (xn = "virtual", zr("virtual", e)), Jt = !1, ri = !1);
18835
+ e.target === window || e.target === document || (!en && !ri && (Sn = "virtual", zr("virtual", e)), en = !1, ri = !1);
18826
18836
  }
18827
18837
  function zl() {
18828
- Jt = !1, ri = !0;
18838
+ en = !1, ri = !0;
18829
18839
  }
18830
18840
  function Io(e) {
18831
- if (typeof window > "u" || Gn.get(Ir(e))) return;
18832
- const t = Ir(e), n = rr(e);
18841
+ if (typeof window > "u" || qn.get(Ir(e))) return;
18842
+ const t = Ir(e), n = ar(e);
18833
18843
  let r = t.HTMLElement.prototype.focus;
18834
18844
  t.HTMLElement.prototype.focus = function() {
18835
- Jt = !0, r.apply(this, arguments);
18836
- }, n.addEventListener("keydown", Or, !0), n.addEventListener("keyup", Or, !0), n.addEventListener("click", $l, !0), t.addEventListener("focus", jl, !0), t.addEventListener("blur", zl, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", st, !0), n.addEventListener("pointermove", st, !0), n.addEventListener("pointerup", st, !0)) : (n.addEventListener("mousedown", st, !0), n.addEventListener("mousemove", st, !0), n.addEventListener("mouseup", st, !0)), t.addEventListener("beforeunload", () => {
18845
+ en = !0, r.apply(this, arguments);
18846
+ }, n.addEventListener("keydown", Or, !0), n.addEventListener("keyup", Or, !0), n.addEventListener("click", $l, !0), t.addEventListener("focus", jl, !0), t.addEventListener("blur", zl, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", it, !0), n.addEventListener("pointermove", it, !0), n.addEventListener("pointerup", it, !0)) : (n.addEventListener("mousedown", it, !0), n.addEventListener("mousemove", it, !0), n.addEventListener("mouseup", it, !0)), t.addEventListener("beforeunload", () => {
18837
18847
  Vl(e);
18838
18848
  }, {
18839
18849
  once: !0
18840
- }), Gn.set(t, {
18850
+ }), qn.set(t, {
18841
18851
  focus: r
18842
18852
  });
18843
18853
  }
18844
18854
  const Vl = (e, t) => {
18845
- const n = Ir(e), r = rr(e);
18846
- t && r.removeEventListener("DOMContentLoaded", t), Gn.has(n) && (n.HTMLElement.prototype.focus = Gn.get(n).focus, r.removeEventListener("keydown", Or, !0), r.removeEventListener("keyup", Or, !0), r.removeEventListener("click", $l, !0), n.removeEventListener("focus", jl, !0), n.removeEventListener("blur", zl, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", st, !0), r.removeEventListener("pointermove", st, !0), r.removeEventListener("pointerup", st, !0)) : (r.removeEventListener("mousedown", st, !0), r.removeEventListener("mousemove", st, !0), r.removeEventListener("mouseup", st, !0)), Gn.delete(n));
18855
+ const n = Ir(e), r = ar(e);
18856
+ t && r.removeEventListener("DOMContentLoaded", t), qn.has(n) && (n.HTMLElement.prototype.focus = qn.get(n).focus, r.removeEventListener("keydown", Or, !0), r.removeEventListener("keyup", Or, !0), r.removeEventListener("click", $l, !0), n.removeEventListener("focus", jl, !0), n.removeEventListener("blur", zl, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", it, !0), r.removeEventListener("pointermove", it, !0), r.removeEventListener("pointerup", it, !0)) : (r.removeEventListener("mousedown", it, !0), r.removeEventListener("mousemove", it, !0), r.removeEventListener("mouseup", it, !0)), qn.delete(n));
18847
18857
  };
18848
18858
  function vE(e) {
18849
- const t = rr(e);
18859
+ const t = ar(e);
18850
18860
  let n;
18851
18861
  return t.readyState !== "loading" ? Io(e) : (n = () => {
18852
18862
  Io(e);
@@ -18854,10 +18864,10 @@ function vE(e) {
18854
18864
  }
18855
18865
  typeof document < "u" && vE();
18856
18866
  function AE() {
18857
- return xn;
18867
+ return Sn;
18858
18868
  }
18859
18869
  function xE(e) {
18860
- xn = e, zr(e, null);
18870
+ Sn = e, zr(e, null);
18861
18871
  }
18862
18872
  function No(e) {
18863
18873
  if (!e) return;
@@ -18890,7 +18900,7 @@ function SE(e) {
18890
18900
  };
18891
18901
  }
18892
18902
  function CE(e) {
18893
- const t = rr(e);
18903
+ const t = ar(e);
18894
18904
  if (AE() === "virtual") {
18895
18905
  let n = t.activeElement;
18896
18906
  fE(() => {
@@ -18959,13 +18969,13 @@ class Oo {
18959
18969
  new Li();
18960
18970
  let NE = /* @__PURE__ */ Le.createContext(null);
18961
18971
  function OE(e) {
18962
- let t = Kt(NE) || {};
18972
+ let t = Zt(NE) || {};
18963
18973
  hE(t, e);
18964
18974
  let { ref: n, ...r } = t;
18965
18975
  return r;
18966
18976
  }
18967
18977
  function RE(e, t) {
18968
- let { focusProps: n } = TE(e), { keyboardProps: r } = SE(e), a = Nr(n, r), s = OE(t), o = e.isDisabled ? {} : s, i = nt(e.autoFocus);
18978
+ let { focusProps: n } = TE(e), { keyboardProps: r } = SE(e), a = Nr(n, r), s = OE(t), o = e.isDisabled ? {} : s, i = tt(e.autoFocus);
18969
18979
  return ht(() => {
18970
18980
  i.current && t.current && CE(t.current), i.current = !1;
18971
18981
  }, [
@@ -18979,15 +18989,15 @@ function RE(e, t) {
18979
18989
  }
18980
18990
  function wE(e, t, n) {
18981
18991
  let { validationBehavior: r, focus: a } = e;
18982
- rn(() => {
18992
+ an(() => {
18983
18993
  if (r === "native" && (n != null && n.current)) {
18984
18994
  let h = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
18985
18995
  n.current.setCustomValidity(h), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(PE(n.current));
18986
18996
  }
18987
18997
  });
18988
- let s = Xt(() => {
18998
+ let s = Qt(() => {
18989
18999
  t.resetValidation();
18990
- }), o = Xt((h) => {
19000
+ }), o = Qt((h) => {
18991
19001
  var g;
18992
19002
  t.displayValidation.isInvalid || t.commitValidation();
18993
19003
  let p = n == null || (g = n.current) === null || g === void 0 ? void 0 : g.form;
@@ -18996,7 +19006,7 @@ function wE(e, t, n) {
18996
19006
  a ? a() : (u = n.current) === null || u === void 0 || u.focus(), xE("keyboard");
18997
19007
  }
18998
19008
  h.preventDefault();
18999
- }), i = Xt(() => {
19009
+ }), i = Qt(() => {
19000
19010
  t.commitValidation();
19001
19011
  });
19002
19012
  ht(() => {
@@ -19062,7 +19072,7 @@ const Yl = {
19062
19072
  ...Yl,
19063
19073
  customError: !0,
19064
19074
  valid: !1
19065
- }, Pn = {
19075
+ }, Dn = {
19066
19076
  isInvalid: !1,
19067
19077
  validationDetails: Yl,
19068
19078
  validationErrors: []
@@ -19092,28 +19102,28 @@ function BE(e) {
19092
19102
  a
19093
19103
  ]);
19094
19104
  s != null && s.validationDetails.valid && (s = null);
19095
- let p = Kt(kE), u = Zr(() => r ? Array.isArray(r) ? r.flatMap((C) => ai(p[C])) : ai(p[r]) : [], [
19105
+ let p = Zt(kE), u = Zr(() => r ? Array.isArray(r) ? r.flatMap((C) => ai(p[C])) : ai(p[r]) : [], [
19096
19106
  p,
19097
19107
  r
19098
- ]), [c, l] = Ue(p), [d, f] = Ue(!1);
19108
+ ]), [c, l] = $e(p), [d, f] = $e(!1);
19099
19109
  p !== c && (l(p), f(!1));
19100
19110
  let T = Zr(() => wo(d ? [] : u), [
19101
19111
  d,
19102
19112
  u
19103
- ]), m = nt(Pn), [E, y] = Ue(Pn), A = nt(Pn), v = () => {
19113
+ ]), m = tt(Dn), [E, y] = $e(Dn), A = tt(Dn), v = () => {
19104
19114
  if (!S) return;
19105
19115
  N(!1);
19106
19116
  let C = g || s || m.current;
19107
19117
  Sa(C, A.current) || (A.current = C, y(C));
19108
- }, [S, N] = Ue(!1);
19118
+ }, [S, N] = $e(!1);
19109
19119
  return ht(v), {
19110
- realtimeValidation: h || T || g || s || Pn,
19120
+ realtimeValidation: h || T || g || s || Dn,
19111
19121
  displayValidation: i === "native" ? h || T || E : h || T || g || s || E,
19112
19122
  updateValidation(C) {
19113
19123
  i === "aria" && !Sa(E, C) ? y(C) : m.current = C;
19114
19124
  },
19115
19125
  resetValidation() {
19116
- let C = Pn;
19126
+ let C = Dn;
19117
19127
  Sa(C, A.current) || (A.current = C, y(C)), i === "native" && N(!1), f(!0);
19118
19128
  },
19119
19129
  commitValidation() {
@@ -19263,7 +19273,7 @@ function $E(e, t) {
19263
19273
  };
19264
19274
  }
19265
19275
  const jE = (e) => e.charCodeAt(e.length - 1) === 10, zE = (e) => {
19266
- const [t, n] = Ue(""), r = () => {
19276
+ const [t, n] = $e(""), r = () => {
19267
19277
  c.current && (c.current.style.height = c.current.scrollHeight + "px");
19268
19278
  }, a = () => {
19269
19279
  c.current && (c.current.style.height = "48px");
@@ -19278,7 +19288,7 @@ const jE = (e) => e.charCodeAt(e.length - 1) === 10, zE = (e) => {
19278
19288
  isLoadingStream: g,
19279
19289
  LoadingComponent: p,
19280
19290
  onPressLoadingButton: u
19281
- } = e, c = nt(null), { labelProps: l, inputProps: d } = $E(
19291
+ } = e, c = tt(null), { labelProps: l, inputProps: d } = $E(
19282
19292
  {
19283
19293
  ...e,
19284
19294
  inputElementType: "textarea"
@@ -19385,13 +19395,13 @@ const jE = (e) => e.charCodeAt(e.length - 1) === 10, zE = (e) => {
19385
19395
  }
19386
19396
  ) })
19387
19397
  }
19388
- ) }), dn = class dn {
19398
+ ) }), hn = class hn {
19389
19399
  constructor() {
19390
19400
  }
19391
19401
  };
19392
- gt(dn, "getApiUrl", () => process.env.NODE_ENV === "development" ? "http://localhost:3001" : "https://www.api.chatsystem.ai"), gt(dn, "getHeaders", ({ contentType: t = "text/plain" }) => ({
19402
+ gt(hn, "getApiUrl", () => process.env.NODE_ENV === "development" ? "http://localhost:3001" : "https://www.api.chatsystem.ai"), gt(hn, "getHeaders", ({ contentType: t = "text/plain" }) => ({
19393
19403
  "Content-Type": t
19394
- })), gt(dn, "getFetchConfig", ({
19404
+ })), gt(hn, "getFetchConfig", ({
19395
19405
  contentType: t = "text/plain",
19396
19406
  httpVerb: n = "GET",
19397
19407
  body: r,
@@ -19399,12 +19409,12 @@ gt(dn, "getApiUrl", () => process.env.NODE_ENV === "development" ? "http://local
19399
19409
  }) => {
19400
19410
  const s = {
19401
19411
  method: n,
19402
- headers: dn.getHeaders({ contentType: t }),
19412
+ headers: hn.getHeaders({ contentType: t }),
19403
19413
  ...a
19404
19414
  };
19405
19415
  return r && (s.body = JSON.stringify(r)), s;
19406
19416
  });
19407
- let En = dn;
19417
+ let Tn = hn;
19408
19418
  var je = /* @__PURE__ */ ((e) => (e.FRENCH = "fr-FR", e.ENGLISH = "en-US", e))(je || {});
19409
19419
  const YE = {
19410
19420
  "generic.language.english": "English",
@@ -19592,7 +19602,7 @@ const WE = "languageSettings", ql = Le.createContext({
19592
19602
  }), XE = (e) => /(\[.*|\!\[.*)$/.test(e), QE = (e) => /\)/.test(e);
19593
19603
  var Wl = /* @__PURE__ */ ((e) => (e.GET_DISCUSSION_ID = "/id", e))(Wl || {});
19594
19604
  const KE = (e) => !!e.startsWith("/"), ZE = (e, t) => e === Wl.GET_DISCUSSION_ID ? t ? `Votre ID de discussion est ${t}` : "Votre ID de discussion n'est pas encore défini. Envoyez un premier message pour que ce soit le cas." : `La commande ${e} n'est pas prise en compte.`;
19595
- var Fn = /* @__PURE__ */ ((e) => (e.OUTPUT_STREAM_TEXT_TYPE = "text", e.OUTPUT_STREAM_NUMBER_OF_STEPS_TYPE = "number_of_steps", e.OUTPUT_STREAM_CURRENT_STEP_NUMBER_TYPE = "current_step_number", e.OUTPUT_STREAM_CURRENT_STEP_NAME_TYPE = "current_step_name", e))(Fn || {});
19605
+ var Hn = /* @__PURE__ */ ((e) => (e.OUTPUT_STREAM_TEXT_TYPE = "text", e.OUTPUT_STREAM_NUMBER_OF_STEPS_TYPE = "number_of_steps", e.OUTPUT_STREAM_CURRENT_STEP_NUMBER_TYPE = "current_step_number", e.OUTPUT_STREAM_CURRENT_STEP_NAME_TYPE = "current_step_name", e))(Hn || {});
19596
19606
  const Ot = class Ot {
19597
19607
  constructor() {
19598
19608
  }
@@ -19611,7 +19621,7 @@ gt(Ot, "transformStringifiedObjectIntoArrayOfObjects", (t) => {
19611
19621
  console.warn("Could not parse the objects. Objects received :"), console.warn("Initial objects :", t), console.warn("objectsCompleted :", r), console.warn("objectsCleaned :", a);
19612
19622
  }
19613
19623
  return s;
19614
- }), gt(Ot, "isObjectOutputstreamTextDTO", (t) => t.type === Fn.OUTPUT_STREAM_TEXT_TYPE), gt(Ot, "isObjectOutputstreamLoadingNumberOfStepsDTO", (t) => t.type === Fn.OUTPUT_STREAM_NUMBER_OF_STEPS_TYPE), gt(Ot, "isObjectOutputstreamLoadingCurrentStepNumberDTO", (t) => t.type === Fn.OUTPUT_STREAM_CURRENT_STEP_NUMBER_TYPE), gt(Ot, "isObjectOutputstreamLoadingCurrentStepNameDTO", (t) => t.type === Fn.OUTPUT_STREAM_CURRENT_STEP_NAME_TYPE), gt(Ot, "containsObjectWithLastAnswerToTrue", (t) => {
19624
+ }), gt(Ot, "isObjectOutputstreamTextDTO", (t) => t.type === Hn.OUTPUT_STREAM_TEXT_TYPE), gt(Ot, "isObjectOutputstreamLoadingNumberOfStepsDTO", (t) => t.type === Hn.OUTPUT_STREAM_NUMBER_OF_STEPS_TYPE), gt(Ot, "isObjectOutputstreamLoadingCurrentStepNumberDTO", (t) => t.type === Hn.OUTPUT_STREAM_CURRENT_STEP_NUMBER_TYPE), gt(Ot, "isObjectOutputstreamLoadingCurrentStepNameDTO", (t) => t.type === Hn.OUTPUT_STREAM_CURRENT_STEP_NAME_TYPE), gt(Ot, "containsObjectWithLastAnswerToTrue", (t) => {
19615
19625
  for (const n of t)
19616
19626
  if (Ot.isObjectOutputstreamTextDTO(n) && n.isLastAnswer)
19617
19627
  return !0;
@@ -19741,15 +19751,15 @@ const JE = "_dot_spinner_qw18l_1", eT = "_dot_spinner__dot_qw18l_13", tT = "_pul
19741
19751
  let Ca = new AbortController();
19742
19752
  const Kl = ({ appToken: e }) => {
19743
19753
  e || console.log("Dev - Admin settings");
19744
- const t = nt(null), { placeholderTranslation: n } = pu(), { conversation: r, setConversation: a } = Kt(
19754
+ const t = tt(null), { placeholderTranslation: n } = pu(), { conversation: r, setConversation: a } = Zt(
19745
19755
  Ql
19746
- ), [s, o] = Ue("notLoading"), [i, h] = Ue(null), { defaultStartingStep: g } = Xl(), [p, u] = Ue(
19756
+ ), [s, o] = $e("notLoading"), [i, h] = $e(null), { defaultStartingStep: g } = Xl(), [p, u] = $e(
19747
19757
  null
19748
- ), [c, l] = Ue(
19758
+ ), [c, l] = $e(
19749
19759
  g
19750
- ), [d, f] = Ue(
19760
+ ), [d, f] = $e(
19751
19761
  null
19752
- ), { appCurrentLang: T } = Kt(ql), m = (v) => {
19762
+ ), { appCurrentLang: T } = Zt(ql), m = (v) => {
19753
19763
  a((S) => [
19754
19764
  ...S,
19755
19765
  { content: v, userType: "user" }
@@ -19771,7 +19781,7 @@ const Kl = ({ appToken: e }) => {
19771
19781
  );
19772
19782
  }, A = async (v) => {
19773
19783
  o("loadingIntermediaryStates");
19774
- const S = En.getApiUrl(), N = {
19784
+ const S = Tn.getApiUrl(), N = {
19775
19785
  query: v,
19776
19786
  language: T.locale
19777
19787
  };
@@ -19782,7 +19792,7 @@ const Kl = ({ appToken: e }) => {
19782
19792
  content: ""
19783
19793
  }
19784
19794
  ]), i && (N.discussionId = i);
19785
- const _ = Ca.signal, x = En.getFetchConfig({
19795
+ const _ = Ca.signal, x = Tn.getFetchConfig({
19786
19796
  httpVerb: "POST",
19787
19797
  body: N,
19788
19798
  contentType: "application/json",
@@ -19799,37 +19809,45 @@ const Kl = ({ appToken: e }) => {
19799
19809
  return Z();
19800
19810
  function Z() {
19801
19811
  return L == null ? void 0 : L.read().then((w) => {
19802
- const { done: J, value: ie } = w, ee = M.decode(ie), ae = kt.transformStringifiedObjectIntoArrayOfObjects(
19812
+ const { done: J, value: se } = w, ee = M.decode(se), ae = kt.transformStringifiedObjectIntoArrayOfObjects(
19803
19813
  ee
19804
19814
  );
19805
19815
  kt.containsObjectWithLastAnswerToTrue(ae) && o("loadingFinalAnswer");
19806
- for (const se of ae)
19807
- if (kt.isObjectOutputstreamTextDTO(se)) {
19808
- const { content: ne, isLastAnswer: we, streamSourceUuid: X } = se;
19809
- te && te !== X && (B += '<span style="display:block;height:1rem;"></span>'), te = X, we && (K = !0), U.enqueue(ne), QE(ne) ? ($ += ne, B += $, $ = "", j = !1) : j || XE(ne) ? ($ += ne, j = !0) : B += ne, a(($e) => {
19810
- const We = [...$e], Je = We.length - 1, pt = We[Je];
19811
- return We[Je] = {
19812
- ...pt,
19813
- content: pt.content = B
19814
- }, [...We];
19816
+ for (const ie of ae)
19817
+ if (kt.isObjectOutputstreamTextDTO(ie)) {
19818
+ const {
19819
+ content: ne,
19820
+ isLastAnswer: we,
19821
+ streamSourceUuid: X,
19822
+ shouldStopStream: Ue
19823
+ } = ie;
19824
+ console.log("object", ie), te && te !== X && (B += '<span style="display:block;height:1rem;"></span>'), te = X, (we || Ue) && (K = !0), U.enqueue(ne), QE(ne) ? ($ += ne, B += $, $ = "", j = !1) : j || XE(ne) ? ($ += ne, j = !0) : B += ne, a((lt) => {
19825
+ const Ye = [...lt], pt = Ye.length - 1, Ut = Ye[pt];
19826
+ return Ye[pt] = {
19827
+ ...Ut,
19828
+ content: Ut.content = B,
19829
+ metaData: {
19830
+ isErrorMessage: Ue
19831
+ }
19832
+ }, [...Ye];
19815
19833
  });
19816
19834
  } else if (kt.isObjectOutputstreamLoadingCurrentStepNumberDTO(
19817
- se
19835
+ ie
19818
19836
  )) {
19819
- const { content: ne } = se;
19837
+ const { content: ne } = ie;
19820
19838
  U.enqueue(ne), f(ne);
19821
19839
  } else if (kt.isObjectOutputstreamLoadingCurrentStepNameDTO(
19822
- se
19840
+ ie
19823
19841
  )) {
19824
- const { content: ne } = se;
19842
+ const { content: ne } = ie;
19825
19843
  U.enqueue(ne), l(ne);
19826
19844
  } else if (kt.isObjectOutputstreamLoadingNumberOfStepsDTO(
19827
- se
19845
+ ie
19828
19846
  )) {
19829
- const { content: ne } = se;
19847
+ const { content: ne } = ie;
19830
19848
  U.enqueue(ne), u(ne);
19831
19849
  } else
19832
- console.warn(`Object not handled - ${se}`);
19850
+ console.warn(`Object not handled - ${ie}`);
19833
19851
  if (E(), J && K) {
19834
19852
  U.close(), o("notLoading"), l(g), f(null);
19835
19853
  return;
@@ -19851,7 +19869,8 @@ const Kl = ({ appToken: e }) => {
19851
19869
  M1,
19852
19870
  {
19853
19871
  content: v.content,
19854
- userType: v.userType
19872
+ userType: v.userType,
19873
+ metaData: v.metaData
19855
19874
  },
19856
19875
  S
19857
19876
  )),
@@ -19897,7 +19916,7 @@ const Kl = ({ appToken: e }) => {
19897
19916
  "div",
19898
19917
  {
19899
19918
  ref: t,
19900
- className: `widget
19919
+ className: `chatBox
19901
19920
  fixed
19902
19921
  z-[99999999]
19903
19922
  md:bottom-[110px]
@@ -19931,7 +19950,7 @@ const Kl = ({ appToken: e }) => {
19931
19950
  }
19932
19951
  )
19933
19952
  ), sT = ({ isWidgetOpen: e, appToken: t }) => {
19934
- const n = nt(null);
19953
+ const n = tt(null);
19935
19954
  return /* @__PURE__ */ W.jsx("div", { children: /* @__PURE__ */ W.jsx(
19936
19955
  ui,
19937
19956
  {
@@ -19980,7 +19999,7 @@ const Kl = ({ appToken: e }) => {
19980
19999
  WE
19981
20000
  )), r && (e == null ? void 0 : e[r]) !== void 0 ? n = e[r] : (n = e[t], n.isDefault = !0), n;
19982
20001
  }, fT = (e, t) => {
19983
- const [n, r] = Ue(e[t]), a = (s) => {
20002
+ const [n, r] = $e(e[t]), a = (s) => {
19984
20003
  Object.keys(e).includes(s == null ? void 0 : s.locale) ? r(s) : r(e[je.ENGLISH]);
19985
20004
  };
19986
20005
  return ht(() => {
@@ -19993,9 +20012,9 @@ const Kl = ({ appToken: e }) => {
19993
20012
  }, dT = (e) => Object.values(je).includes(e), hT = (e) => dT(e) ? e : (console.log(
19994
20013
  `Language ${e} not handled for now. Using ${je.ENGLISH}.`
19995
20014
  ), je.ENGLISH), mT = (e) => {
19996
- const t = En.getApiUrl(), [n, r] = Ue([]);
20015
+ const t = Tn.getApiUrl(), [n, r] = $e([]);
19997
20016
  return ht(() => {
19998
- const a = En.getFetchConfig({
20017
+ const a = Tn.getFetchConfig({
19999
20018
  httpVerb: "GET",
20000
20019
  contentType: "application/json"
20001
20020
  });
@@ -20052,7 +20071,7 @@ function Lo({
20052
20071
  displayMode: t = "bubble"
20053
20072
  /* BUBBLE */
20054
20073
  }) {
20055
- const [n, r] = Ue(!1);
20074
+ const [n, r] = $e(!1);
20056
20075
  e || console.warn(
20057
20076
  "appToken not defined in ai-client. Please see the documentation at URL_ERROR_IN_DOC"
20058
20077
  );
@@ -20068,7 +20087,7 @@ function Lo({
20068
20087
  ),
20069
20088
  /* @__PURE__ */ W.jsx(sT, { isWidgetOpen: n, appToken: e })
20070
20089
  ] }),
20071
- a === "chatbox" && /* @__PURE__ */ W.jsx(Kl, { appToken: e })
20090
+ a === "chatbox" && /* @__PURE__ */ W.jsx("div", { className: "chatBox", children: /* @__PURE__ */ W.jsx(Kl, { appToken: e }) })
20072
20091
  ] });
20073
20092
  }
20074
20093
  var Zl = { exports: {} };
@@ -20398,12 +20417,12 @@ var Zl = { exports: {} };
20398
20417
  const { is: U, then: Z, otherwise: w } = he[I], J = `${j}${K.switch ? "." + I : ""}`;
20399
20418
  if (U.$_match(te, x.nest(U, `${J}.is`), C)) {
20400
20419
  if (Z) {
20401
- const ie = x.localize([...x.path, `${J}.then`], x.ancestors, x.schemas), { schema: ee, id: ae } = Z._generate(_, ie, C);
20420
+ const se = x.localize([...x.path, `${J}.then`], x.ancestors, x.schemas), { schema: ee, id: ae } = Z._generate(_, se, C);
20402
20421
  L.push(ee), M.push(`${J}.then${ae ? `(${ae})` : ""}`);
20403
20422
  break;
20404
20423
  }
20405
20424
  } else if (w) {
20406
- const ie = x.localize([...x.path, `${J}.otherwise`], x.ancestors, x.schemas), { schema: ee, id: ae } = w._generate(_, ie, C);
20425
+ const se = x.localize([...x.path, `${J}.otherwise`], x.ancestors, x.schemas), { schema: ee, id: ae } = w._generate(_, se, C);
20407
20426
  L.push(ee), M.push(`${J}.otherwise${ae ? `(${ae})` : ""}`);
20408
20427
  break;
20409
20428
  }
@@ -23106,8 +23125,8 @@ var Zl = { exports: {} };
23106
23125
  p.ipv4address = "(?:" + E + "\\.){3}" + E;
23107
23126
  const y = c + "{1,4}", A = "(?:" + y + ":" + y + "|" + p.ipv4address + ")", v = "(?:" + y + ":){6}" + A, S = "::(?:" + y + ":){5}" + A, N = "(?:" + y + ")?::(?:" + y + ":){4}" + A, _ = "(?:(?:" + y + ":){0,1}" + y + ")?::(?:" + y + ":){3}" + A, x = "(?:(?:" + y + ":){0,2}" + y + ")?::(?:" + y + ":){2}" + A, C = "(?:(?:" + y + ":){0,3}" + y + ")?::" + y + ":" + A, L = "(?:(?:" + y + ":){0,4}" + y + ")?::" + A, M = "(?:(?:" + y + ":){0,5}" + y + ")?::" + y, B = "(?:(?:" + y + ":){0,6}" + y + ")?::";
23108
23127
  p.ipv4Cidr = "(?:\\d|[1-2]\\d|3[0-2])", p.ipv6Cidr = "(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])", p.ipv6address = "(?:" + v + "|" + S + "|" + N + "|" + _ + "|" + x + "|" + C + "|" + L + "|" + M + "|" + B + ")", p.ipvFuture = "v" + c + "+\\.[" + l + d + ":]+", p.scheme = "[a-zA-Z][a-zA-Z\\d+-\\.]*", p.schemeRegex = new RegExp(p.scheme);
23109
- const $ = "[" + l + f + d + ":]*", j = "[" + l + f + d + "]{1,255}", K = "(?:\\[(?:" + p.ipv6address + "|" + p.ipvFuture + ")\\]|" + p.ipv4address + "|" + j + ")", te = "(?:" + $ + "@)?" + K + "(?::\\d*)?", he = "(?:" + $ + "@)?(" + K + ")(?::\\d*)?", ye = m + "*", I = m + "+", U = "(?:\\/" + ye + ")*", Z = "\\/(?:" + I + U + ")?", w = I + U, J = "[" + l + f + d + "@]+" + U, ie = "(?:\\/\\/\\/" + ye + U + ")";
23110
- return p.hierPart = "(?:(?:\\/\\/" + te + U + ")|" + Z + "|" + w + "|" + ie + ")", p.hierPartCapture = "(?:(?:\\/\\/" + he + U + ")|" + Z + "|" + w + ")", p.relativeRef = "(?:(?:\\/\\/" + te + U + ")|" + Z + "|" + J + "|)", p.relativeRefCapture = "(?:(?:\\/\\/" + he + U + ")|" + Z + "|" + J + "|)", p.query = "[" + T + "\\/\\?]*(?=#|$)", p.queryWithSquareBrackets = "[" + T + "\\[\\]\\/\\?]*(?=#|$)", p.fragment = "[" + T + "\\/\\?]*", p;
23128
+ const $ = "[" + l + f + d + ":]*", j = "[" + l + f + d + "]{1,255}", K = "(?:\\[(?:" + p.ipv6address + "|" + p.ipvFuture + ")\\]|" + p.ipv4address + "|" + j + ")", te = "(?:" + $ + "@)?" + K + "(?::\\d*)?", he = "(?:" + $ + "@)?(" + K + ")(?::\\d*)?", ye = m + "*", I = m + "+", U = "(?:\\/" + ye + ")*", Z = "\\/(?:" + I + U + ")?", w = I + U, J = "[" + l + f + d + "@]+" + U, se = "(?:\\/\\/\\/" + ye + U + ")";
23129
+ return p.hierPart = "(?:(?:\\/\\/" + te + U + ")|" + Z + "|" + w + "|" + se + ")", p.hierPartCapture = "(?:(?:\\/\\/" + he + U + ")|" + Z + "|" + w + ")", p.relativeRef = "(?:(?:\\/\\/" + te + U + ")|" + Z + "|" + J + "|)", p.relativeRefCapture = "(?:(?:\\/\\/" + he + U + ")|" + Z + "|" + J + "|)", p.query = "[" + T + "\\/\\?]*(?=#|$)", p.queryWithSquareBrackets = "[" + T + "\\[\\]\\/\\?]*(?=#|$)", p.fragment = "[" + T + "\\/\\?]*", p;
23111
23130
  } };
23112
23131
  g.rfc3986 = g.generate(), s.ip = { v4Cidr: g.rfc3986.ipv4Cidr, v6Cidr: g.rfc3986.ipv6Cidr, ipv4: g.rfc3986.ipv4address, ipv6: g.rfc3986.ipv6address, ipvfuture: g.rfc3986.ipvFuture }, g.createRegex = function(p) {
23113
23132
  const u = g.rfc3986, c = "(?:\\?" + (p.allowQuerySquareBrackets ? u.queryWithSquareBrackets : u.query) + ")?(?:#" + u.fragment + ")?", l = p.domain ? u.relativeRefCapture : u.relativeRef;
@@ -23305,7 +23324,7 @@ const ET = {
23305
23324
  throw new Error((n = e == null ? void 0 : e.error) == null ? void 0 : n.message);
23306
23325
  };
23307
23326
  yT();
23308
- process.env.NODE_ENV === "development" && window && window.location && window.location.href === "http://localhost:5173/" && kn.createRoot(document.getElementById("root")).render(
23327
+ process.env.NODE_ENV === "development" && window && window.location && window.location.href === "http://localhost:5173/" && Mn.createRoot(document.getElementById("root")).render(
23309
23328
  /* @__PURE__ */ W.jsxs(Le.StrictMode, { children: [
23310
23329
  /* @__PURE__ */ W.jsx(Lo, { appToken: "ADMIN_APP_TOKEN_ID" }),
23311
23330
  /* @__PURE__ */ W.jsx(