youverify-liveness-web 0.1.9 → 0.1.11

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,10 +1,10 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap";*,: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: }.yvlw-absolute{position:absolute}.yvlw-m-0{margin:0}.yvlw-mx-auto{margin-left:auto;margin-right:auto}.yvlw-mb-12{margin-bottom:3rem}.yvlw-mt-12{margin-top:3rem}.yvlw-mt-3{margin-top:.75rem}.yvlw-flex{display:flex}.yvlw-hidden{display:none}.yvlw-h-10{height:2.5rem}.yvlw-h-20{height:5rem}.yvlw-h-3{height:.75rem}.yvlw-h-4{height:1rem}.yvlw-h-5{height:1.25rem}.yvlw-h-7{height:1.75rem}.yvlw-h-full{height:100%}.yvlw-w-10{width:2.5rem}.yvlw-w-4{width:1rem}.yvlw-w-5{width:1.25rem}.yvlw-w-7{width:1.75rem}.yvlw-w-full{width:100%}.yvlw-flex-1{flex:1 1 0%}.yvlw--translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw--translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-scale-100{--tw-scale-x: 1;--tw-scale-y: 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))}.yvlw-scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-scale-75{--tw-scale-x: .75;--tw-scale-y: .75;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))}.yvlw-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-flex-col{flex-direction:column}.yvlw-items-center{align-items:center}.yvlw-justify-center{justify-content:center}.yvlw-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-p-0{padding:0}.yvlw-text-xs{font-size:.75rem;line-height:1rem}.yvlw-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.yvlw-opacity-0{opacity:0}.yvlw-opacity-100{opacity:1}.yvlw-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}.yvlw-duration-200{transition-duration:.2s}.yvlw-duration-300{transition-duration:.3s}.yvlw-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.subtext{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.subtext:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.divider{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.divider:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\\:yvlw-block:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:block}.dark\\:yvlw-hidden:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:none}._root_1hpzn_1{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:DM Sans,sans-serif;position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;min-height:100vh;min-height:-webkit-fill-available;align-items:center;justify-content:center;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:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}._root_1hpzn_1[data-closed]{opacity:0}._root_1hpzn_1._modal_1hpzn_10{background-color:#0000004d}@media (min-width: 768px){._root_1hpzn_1._modal_1hpzn_10{padding:1rem}._root_1hpzn_1._modal_1hpzn_10 ._container_1hpzn_13{border-radius:.75rem}._root_1hpzn_1._page_1hpzn_16{padding:0}}._root_1hpzn_1 ._close_1hpzn_19{position:absolute;top:.5rem;left:.5rem;display:flex;align-items:center;justify-content:center;z-index:20;height:1.5rem;width:1.5rem;border-radius:9999px;background-color:#00000080}._root_1hpzn_1 ._close_1hpzn_19 svg{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}._root_1hpzn_1 ._close_1hpzn_19 svg:hover{--tw-rotate: 90deg;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))}._root_1hpzn_1 ._container_1hpzn_13{height:100%;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}._root_1hpzn_1 ._container_1hpzn_13:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_1h6qm_1 *,._root_1h6qm_1 :before,._root_1h6qm_1 :after{box-sizing:border-box;border-width:0;border-style:solid}._root_1h6qm_1 :before,._root_1h6qm_1 :after{--tw-content: ""}._root_1h6qm_1 html,._root_1h6qm_1 :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";-webkit-tap-highlight-color:transparent}._root_1h6qm_1 body{margin:0;line-height:inherit}._root_1h6qm_1 hr{height:0;color:inherit;border-top-width:1px}._root_1h6qm_1 abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6{font-size:inherit;font-weight:inherit}._root_1h6qm_1 a{color:inherit;text-decoration:inherit}._root_1h6qm_1 b,._root_1h6qm_1 strong{font-weight:bolder}._root_1h6qm_1 code,._root_1h6qm_1 kbd,._root_1h6qm_1 samp,._root_1h6qm_1 pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}._root_1h6qm_1 small{font-size:80%}._root_1h6qm_1 sub,._root_1h6qm_1 sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}._root_1h6qm_1 sub{bottom:-.25em}._root_1h6qm_1 sup{top:-.5em}._root_1h6qm_1 table{text-indent:0;border-color:inherit;border-collapse:collapse}._root_1h6qm_1 button,._root_1h6qm_1 input,._root_1h6qm_1 optgroup,._root_1h6qm_1 select,._root_1h6qm_1 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}._root_1h6qm_1 button,._root_1h6qm_1 select{text-transform:none}._root_1h6qm_1 button,._root_1h6qm_1 input:where([type=button]),._root_1h6qm_1 input:where([type=reset]),._root_1h6qm_1 input:where([type=submit]){-moz-appearance:button;appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}._root_1h6qm_1 :-moz-focusring{outline:auto}._root_1h6qm_1 :-moz-ui-invalid{box-shadow:none}._root_1h6qm_1 progress{vertical-align:baseline}._root_1h6qm_1 ::-webkit-inner-spin-button,._root_1h6qm_1 ::-webkit-outer-spin-button{height:auto}._root_1h6qm_1 [type=search]{-moz-appearance:textfield;appearance:textfield;-webkit-appearance:textfield;outline-offset:-2px}._root_1h6qm_1 ::-webkit-search-decoration{-webkit-appearance:none}._root_1h6qm_1 ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}._root_1h6qm_1 summary{display:list-item}._root_1h6qm_1 blockquote,._root_1h6qm_1 dl,._root_1h6qm_1 dd,._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6,._root_1h6qm_1 hr,._root_1h6qm_1 figure,._root_1h6qm_1 p,._root_1h6qm_1 pre{margin:0}._root_1h6qm_1 fieldset{margin:0;padding:0}._root_1h6qm_1 legend{padding:0}._root_1h6qm_1 ol,._root_1h6qm_1 ul,._root_1h6qm_1 menu{list-style:none;margin:0;padding:0}._root_1h6qm_1 dialog{padding:0}._root_1h6qm_1 textarea{resize:vertical}._root_1h6qm_1 input::-moz-placeholder,._root_1h6qm_1 textarea::-moz-placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 input::placeholder,._root_1h6qm_1 textarea::placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 button,._root_1h6qm_1 [role=button]{cursor:pointer}._root_1h6qm_1 :disabled{cursor:default}._root_1h6qm_1 img,._root_1h6qm_1 svg,._root_1h6qm_1 video,._root_1h6qm_1 canvas,._root_1h6qm_1 audio,._root_1h6qm_1 iframe,._root_1h6qm_1 embed,._root_1h6qm_1 object{display:block}._root_1h6qm_1 [hidden]{display:none}._root_vqy7d_1{height:100%}._root_vqy7d_1 ._container_vqy7d_4{display:flex;height:100%}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:none;width:20%;flex-direction:column;justify-content:space-between}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:flex}}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{padding-top:.75rem;padding-bottom:.75rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11{padding-left:1.5rem;padding-right:1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol{position:relative;margin:0;list-style-type:none;padding:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li{counter-increment:item;margin-bottom:24px;position:relative;font-size:.875rem;line-height:1.25rem;display:flex;align-items:center}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{width:28px;height:28px;border-radius:9999px;border-width:2px;--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{margin-right:1rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{content:counter(item);flex-shrink:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32{font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39{font-weight:500;text-decoration-line:line-through}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):after{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{top:28px;bottom:-24px;left:14px;content:"";position:absolute;width:1px}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:last-child:after{content:none}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:none;width:20%}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{padding-top:.75rem;padding-bottom:.75rem}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:block}}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{height:2.5rem;width:2.5rem;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{display:flex;align-items:center;justify-content:center;font-size:1.125rem;line-height:1.75rem;font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4{margin-bottom:-.25rem;text-overflow:ellipsis;font-weight:600;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 p{margin-top:0;margin-bottom:0;font-size:.75rem;line-height:1rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer{padding-left:1.5rem;padding-right:1.5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{flex:1 1 0%}@media (min-width: 768px){._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{padding-top:1rem;padding-bottom:1rem}}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{margin-left:auto;margin-right:auto;height:100%;width:100%;overflow:hidden;border-radius:1rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{max-width:500px}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._completed_vqy7d_39{display:flex;height:100%;width:100%;align-items:center;justify-content:center}._root_135td_1 ._container_135td_1 ._brand_135td_1{display:flex;align-items:center;gap:7px;font-weight:600}._root_bcsvc_1{position:relative;height:100%;width:100%}._root_bcsvc_1 video{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;transform:scaleX(-1)}._container_mcmsr_1{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(255,255,255,0) 100%)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(0,0,0,0) 100%)}._container_mcmsr_1{z-index:1}._container_mcmsr_1:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(255,255,255,.5) 101px)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(0,0,0,.8) 101px)}._container_mcmsr_1:before{transition:opacity .3s linear}._container_mcmsr_1._focused_mcmsr_12:before{opacity:1}._container_mcmsr_1 ._progress_mcmsr_15{position:relative;height:280px;width:280px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid gray}._container_mcmsr_1 ._progress_mcmsr_15 div{position:absolute;height:3px;transform-origin:50%;border-radius:2px;width:5px;background-color:gray;transition-property:background-color,transform,width;transition-duration:.3s;transition-timing-function:ease-in-out}._container_mcmsr_1 ._progress_mcmsr_15 div._completed_mcmsr_36{width:20px;background-color:#07da63}._container_mcmsr_1 ._marker_mcmsr_40{position:relative;width:280px;height:280px}._container_mcmsr_1 ._marker_mcmsr_40>div{position:absolute;height:1.75rem;width:1.75rem;border-width:2px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}._container_mcmsr_1 ._marker_mcmsr_40>div:first-child{top:-.25rem;left:-.25rem;border-top-left-radius:50%;border-bottom-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(2){top:-.25rem;right:-.25rem;border-top-right-radius:50%;border-bottom-width:0px;border-left-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(3){bottom:-.25rem;left:-.25rem;border-bottom-left-radius:50%;border-top-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:last-child{bottom:-.25rem;right:-.25rem;border-bottom-right-radius:50%;border-top-width:0px;border-left-width:0px}._root_1psx5_1{height:100%;text-align:center}._root_1psx5_1 ._container_1psx5_4{position:relative;height:100%}._root_1psx5_1 ._container_1psx5_4 ._progress_1psx5_7{background-color:var(--branding-color);position:absolute;top:0;left:0;height:4px;border-radius:.5rem;z-index:2}._root_1psx5_1 ._container_1psx5_4 ._intro_1psx5_12{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem}._root_1psx5_1 ._container_1psx5_4 ._content_1psx5_15{height:75%;width:100%}._root_1psx5_1 ._container_1psx5_4 ._branding_1psx5_18{position:absolute;left:0;right:0;bottom:1.5rem;text-align:center;font-size:.75rem;line-height:1rem;font-weight:500;display:flex;align-items:center;justify-content:center}._root_1psx5_1 ._container_1psx5_4 ._branding_1psx5_18>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}._root_1psx5_1 ._container_1psx5_4 ._instructionsContainer_1psx5_22{border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_1psx5_1 ._container_1psx5_4 ._instructionsContainer_1psx5_22:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_1psx5_1 ._container_1psx5_4 ._instructions_1psx5_22{margin-left:auto;margin-right:auto;padding:1rem 1rem 1.5rem;text-align:center;max-width:400px}._root_1psx5_1 ._container_1psx5_4 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_1psx5_1 ._container_1psx5_4 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_1psx5_1 ._container_1psx5_4 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_1psx5_1 ._container_1psx5_4 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_1psx5_1 ._container_1psx5_4 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_1j21c_1{text-align:center;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem .75rem}._root_1j21c_1 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_1j21c_1 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_1j21c_1 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_1j21c_1 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_1j21c_1 button ._spinner_1j21c_18{height:100%;width:100%;border-radius:50%;border-width:2px;height:1rem;width:1rem;border-color:var(--branding-color);border-left-color:transparent;animation:_spin_1j21c_18 .7s linear infinite}@keyframes _spin_1j21c_18{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._root_1j21c_1 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_1j21c_1 button:hover ._spinner_1j21c_18{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));border-left-color:transparent}._root_thujo_1{position:absolute;top:0;right:0;bottom:0;left:0}._root_thujo_1 ._sticker_thujo_4{position:absolute}._root_thujo_1 ._sticker_thujo_4._no_thujo_7{top:2.5rem;left:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));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);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity));transform:rotate(335deg)}._root_thujo_1 ._sticker_thujo_4._yes_thujo_12{top:2.5rem;right:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));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);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity));transform:rotate(45deg)}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- var Ye, T, tr, _e, $n, nr, Ht, Jt, At, Ot, rr, qe = {}, or = [], go = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, pt = Array.isArray;
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap";*,: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: }.yvlw-absolute{position:absolute}.yvlw-m-0{margin:0}.yvlw-mx-auto{margin-left:auto;margin-right:auto}.yvlw-mb-12{margin-bottom:3rem}.yvlw-mt-12{margin-top:3rem}.yvlw-mt-3{margin-top:.75rem}.yvlw-flex{display:flex}.yvlw-hidden{display:none}.yvlw-h-10{height:2.5rem}.yvlw-h-20{height:5rem}.yvlw-h-3{height:.75rem}.yvlw-h-4{height:1rem}.yvlw-h-5{height:1.25rem}.yvlw-h-7{height:1.75rem}.yvlw-h-full{height:100%}.yvlw-w-10{width:2.5rem}.yvlw-w-4{width:1rem}.yvlw-w-5{width:1.25rem}.yvlw-w-7{width:1.75rem}.yvlw-w-full{width:100%}.yvlw-flex-1{flex:1 1 0%}.yvlw--translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw--translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-scale-100{--tw-scale-x: 1;--tw-scale-y: 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))}.yvlw-scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-scale-75{--tw-scale-x: .75;--tw-scale-y: .75;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))}.yvlw-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.yvlw-flex-col{flex-direction:column}.yvlw-items-center{align-items:center}.yvlw-justify-center{justify-content:center}.yvlw-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.yvlw-p-0{padding:0}.yvlw-text-xs{font-size:.75rem;line-height:1rem}.yvlw-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.yvlw-opacity-0{opacity:0}.yvlw-opacity-100{opacity:1}.yvlw-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}.yvlw-duration-200{transition-duration:.2s}.yvlw-duration-300{transition-duration:.3s}.yvlw-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.subtext{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.subtext:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.divider{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.divider:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\\:yvlw-block:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:block}.dark\\:yvlw-hidden:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){display:none}._root_1hpzn_1{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:DM Sans,sans-serif;position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;min-height:100vh;min-height:-webkit-fill-available;align-items:center;justify-content:center;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:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}._root_1hpzn_1[data-closed]{opacity:0}._root_1hpzn_1._modal_1hpzn_10{background-color:#0000004d}@media (min-width: 768px){._root_1hpzn_1._modal_1hpzn_10{padding:1rem}._root_1hpzn_1._modal_1hpzn_10 ._container_1hpzn_13{border-radius:.75rem}._root_1hpzn_1._page_1hpzn_16{padding:0}}._root_1hpzn_1 ._close_1hpzn_19{position:absolute;top:.5rem;left:.5rem;display:flex;align-items:center;justify-content:center;z-index:20;height:1.5rem;width:1.5rem;border-radius:9999px;background-color:#00000080}._root_1hpzn_1 ._close_1hpzn_19 svg{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}._root_1hpzn_1 ._close_1hpzn_19 svg:hover{--tw-rotate: 90deg;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))}._root_1hpzn_1 ._container_1hpzn_13{height:100%;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}._root_1hpzn_1 ._container_1hpzn_13:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_1h6qm_1 *,._root_1h6qm_1 :before,._root_1h6qm_1 :after{box-sizing:border-box;border-width:0;border-style:solid}._root_1h6qm_1 :before,._root_1h6qm_1 :after{--tw-content: ""}._root_1h6qm_1 html,._root_1h6qm_1 :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";-webkit-tap-highlight-color:transparent}._root_1h6qm_1 body{margin:0;line-height:inherit}._root_1h6qm_1 hr{height:0;color:inherit;border-top-width:1px}._root_1h6qm_1 abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6{font-size:inherit;font-weight:inherit}._root_1h6qm_1 a{color:inherit;text-decoration:inherit}._root_1h6qm_1 b,._root_1h6qm_1 strong{font-weight:bolder}._root_1h6qm_1 code,._root_1h6qm_1 kbd,._root_1h6qm_1 samp,._root_1h6qm_1 pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}._root_1h6qm_1 small{font-size:80%}._root_1h6qm_1 sub,._root_1h6qm_1 sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}._root_1h6qm_1 sub{bottom:-.25em}._root_1h6qm_1 sup{top:-.5em}._root_1h6qm_1 table{text-indent:0;border-color:inherit;border-collapse:collapse}._root_1h6qm_1 button,._root_1h6qm_1 input,._root_1h6qm_1 optgroup,._root_1h6qm_1 select,._root_1h6qm_1 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}._root_1h6qm_1 button,._root_1h6qm_1 select{text-transform:none}._root_1h6qm_1 button,._root_1h6qm_1 input:where([type=button]),._root_1h6qm_1 input:where([type=reset]),._root_1h6qm_1 input:where([type=submit]){-moz-appearance:button;appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}._root_1h6qm_1 :-moz-focusring{outline:auto}._root_1h6qm_1 :-moz-ui-invalid{box-shadow:none}._root_1h6qm_1 progress{vertical-align:baseline}._root_1h6qm_1 ::-webkit-inner-spin-button,._root_1h6qm_1 ::-webkit-outer-spin-button{height:auto}._root_1h6qm_1 [type=search]{-moz-appearance:textfield;appearance:textfield;-webkit-appearance:textfield;outline-offset:-2px}._root_1h6qm_1 ::-webkit-search-decoration{-webkit-appearance:none}._root_1h6qm_1 ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}._root_1h6qm_1 summary{display:list-item}._root_1h6qm_1 blockquote,._root_1h6qm_1 dl,._root_1h6qm_1 dd,._root_1h6qm_1 h1,._root_1h6qm_1 h2,._root_1h6qm_1 h3,._root_1h6qm_1 h4,._root_1h6qm_1 h5,._root_1h6qm_1 h6,._root_1h6qm_1 hr,._root_1h6qm_1 figure,._root_1h6qm_1 p,._root_1h6qm_1 pre{margin:0}._root_1h6qm_1 fieldset{margin:0;padding:0}._root_1h6qm_1 legend{padding:0}._root_1h6qm_1 ol,._root_1h6qm_1 ul,._root_1h6qm_1 menu{list-style:none;margin:0;padding:0}._root_1h6qm_1 dialog{padding:0}._root_1h6qm_1 textarea{resize:vertical}._root_1h6qm_1 input::-moz-placeholder,._root_1h6qm_1 textarea::-moz-placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 input::placeholder,._root_1h6qm_1 textarea::placeholder{opacity:1;color:#9ca3af}._root_1h6qm_1 button,._root_1h6qm_1 [role=button]{cursor:pointer}._root_1h6qm_1 :disabled{cursor:default}._root_1h6qm_1 img,._root_1h6qm_1 svg,._root_1h6qm_1 video,._root_1h6qm_1 canvas,._root_1h6qm_1 audio,._root_1h6qm_1 iframe,._root_1h6qm_1 embed,._root_1h6qm_1 object{display:block}._root_1h6qm_1 [hidden]{display:none}._root_vqy7d_1{height:100%}._root_vqy7d_1 ._container_vqy7d_4{display:flex;height:100%}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:none;width:20%;flex-direction:column;justify-content:space-between}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{display:flex}}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7{padding-top:.75rem;padding-bottom:.75rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11{padding-left:1.5rem;padding-right:1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol{position:relative;margin:0;list-style-type:none;padding:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li{counter-increment:item;margin-bottom:24px;position:relative;font-size:.875rem;line-height:1.25rem;display:flex;align-items:center}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{width:28px;height:28px;border-radius:9999px;border-width:2px;--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{margin-right:1rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:before{content:counter(item);flex-shrink:0}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32{font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._active_vqy7d_32:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39{font-weight:500;text-decoration-line:line-through}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li._completed_vqy7d_39:before{background-color:var(--branding-color);border-style:none;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):after{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:after{top:28px;bottom:-24px;left:14px;content:"";position:absolute;width:1px}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 ._info_vqy7d_11 ol li:last-child:after{content:none}._root_vqy7d_1 ._container_vqy7d_4 ._lhs_vqy7d_7 footer{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:none;width:20%}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{padding-top:.75rem;padding-bottom:.75rem}@media (min-width: 1280px){._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62{display:block}}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{height:2.5rem;width:2.5rem;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 ._avatar_vqy7d_68{display:flex;align-items:center;justify-content:center;font-size:1.125rem;line-height:1.75rem;font-weight:500}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4{margin-bottom:-.25rem;text-overflow:ellipsis;font-weight:600;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 h4:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 ._profile_vqy7d_65 p{margin-top:0;margin-bottom:0;font-size:.75rem;line-height:1rem}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}._root_vqy7d_1 ._container_vqy7d_4 ._rhs_vqy7d_62 footer{padding-left:1.5rem;padding-right:1.5rem;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{flex:1 1 0%}@media (min-width: 768px){._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81{padding-top:1rem;padding-bottom:1rem}}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{margin-left:auto;margin-right:auto;height:100%;width:100%;overflow:hidden;border-radius:1rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._content_vqy7d_84{max-width:500px}._root_vqy7d_1 ._container_vqy7d_4 ._main_vqy7d_81 ._completed_vqy7d_39{display:flex;height:100%;width:100%;align-items:center;justify-content:center}._root_135td_1 ._container_135td_1 ._brand_135td_1{display:flex;align-items:center;gap:7px;font-weight:600}._root_bcsvc_1{position:relative;height:100%;width:100%}._root_bcsvc_1 video{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;transform:scaleX(-1)}._container_mcmsr_1{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(255,255,255,0) 100%)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){background-image:radial-gradient(circle at 50% 50%,transparent 1400px,rgba(0,0,0,0) 100%)}._container_mcmsr_1{z-index:1}._container_mcmsr_1:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(255,255,255,.5) 101px)}._container_mcmsr_1:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *):before{background-image:radial-gradient(circle at 50% 50%,transparent 140px,rgba(0,0,0,.8) 101px)}._container_mcmsr_1:before{transition:opacity .3s linear}._container_mcmsr_1._focused_mcmsr_12:before{opacity:1}._container_mcmsr_1 ._progress_mcmsr_15{position:relative;height:280px;width:280px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid gray}._container_mcmsr_1 ._progress_mcmsr_15 div{position:absolute;height:3px;transform-origin:50%;border-radius:2px;width:5px;background-color:gray;transition-property:background-color,transform,width;transition-duration:.3s;transition-timing-function:ease-in-out}._container_mcmsr_1 ._progress_mcmsr_15 div._completed_mcmsr_36{width:20px;background-color:#07da63}._container_mcmsr_1 ._marker_mcmsr_40{position:relative;width:280px;height:280px}._container_mcmsr_1 ._marker_mcmsr_40>div{position:absolute;height:1.75rem;width:1.75rem;border-width:2px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}._container_mcmsr_1 ._marker_mcmsr_40>div:first-child{top:-.25rem;left:-.25rem;border-top-left-radius:50%;border-bottom-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(2){top:-.25rem;right:-.25rem;border-top-right-radius:50%;border-bottom-width:0px;border-left-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:nth-child(3){bottom:-.25rem;left:-.25rem;border-bottom-left-radius:50%;border-top-width:0px;border-right-width:0px}._container_mcmsr_1 ._marker_mcmsr_40>div:last-child{bottom:-.25rem;right:-.25rem;border-bottom-right-radius:50%;border-top-width:0px;border-left-width:0px}._root_1psx5_1{height:100%;text-align:center}._root_1psx5_1 ._container_1psx5_4{position:relative;height:100%}._root_1psx5_1 ._container_1psx5_4 ._progress_1psx5_7{background-color:var(--branding-color);position:absolute;top:0;left:0;height:4px;border-radius:.5rem;z-index:2}._root_1psx5_1 ._container_1psx5_4 ._intro_1psx5_12{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem}._root_1psx5_1 ._container_1psx5_4 ._content_1psx5_15{height:75%;width:100%}._root_1psx5_1 ._container_1psx5_4 ._branding_1psx5_18{position:absolute;left:0;right:0;bottom:1.5rem;text-align:center;font-size:.75rem;line-height:1rem;font-weight:500;display:flex;align-items:center;justify-content:center}._root_1psx5_1 ._container_1psx5_4 ._branding_1psx5_18>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}._root_1psx5_1 ._container_1psx5_4 ._instructionsContainer_1psx5_22{border-top-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}._root_1psx5_1 ._container_1psx5_4 ._instructionsContainer_1psx5_22:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}._root_1psx5_1 ._container_1psx5_4 ._instructions_1psx5_22{margin-left:auto;margin-right:auto;padding:1rem 1rem 1.5rem;text-align:center;max-width:400px}._root_1psx5_1 ._container_1psx5_4 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_1psx5_1 ._container_1psx5_4 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_1psx5_1 ._container_1psx5_4 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_1psx5_1 ._container_1psx5_4 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_1psx5_1 ._container_1psx5_4 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_h5elg_1{text-align:center;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem .75rem}._root_h5elg_1 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_h5elg_1 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_h5elg_1 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_h5elg_1 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_h5elg_1 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_h5elg_1 button:hover ._spinner_h5elg_22{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));border-left-color:transparent}._container_1vep2_1{height:100%;width:100%;border-radius:50%;border-width:2px;border-color:var(--branding-color);border-left-color:transparent;animation:_spin_1vep2_1 .7s linear infinite}._container_1vep2_1._md_1vep2_7{height:1rem;width:1rem}._container_1vep2_1._lg_1vep2_10{height:1.75rem;width:1.75rem}@keyframes _spin_1vep2_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._root_thujo_1{position:absolute;top:0;right:0;bottom:0;left:0}._root_thujo_1 ._sticker_thujo_4{position:absolute}._root_thujo_1 ._sticker_thujo_4._no_thujo_7{top:2.5rem;left:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));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);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity));transform:rotate(335deg)}._root_thujo_1 ._sticker_thujo_4._yes_thujo_12{top:2.5rem;right:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));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);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity));transform:rotate(45deg)}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ var Ye, k, nr, _e, En, rr, Dt, Jt, At, Ot, or, qe = {}, ir = [], bo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, pt = Array.isArray;
3
3
  function ne(e, t) {
4
4
  for (var n in t) e[n] = t[n];
5
5
  return e;
6
6
  }
7
- function ir(e) {
7
+ function ar(e) {
8
8
  var t = e.parentNode;
9
9
  t && t.removeChild(e);
10
10
  }
@@ -15,13 +15,13 @@ function X(e, t, n) {
15
15
  return Ue(e, a, r, o, null);
16
16
  }
17
17
  function Ue(e, t, n, r, o) {
18
- var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: o ?? ++tr, __i: -1, __u: 0 };
19
- return o == null && T.vnode != null && T.vnode(i), i;
18
+ var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: o ?? ++nr, __i: -1, __u: 0 };
19
+ return o == null && k.vnode != null && k.vnode(i), i;
20
20
  }
21
21
  function en() {
22
22
  return { current: null };
23
23
  }
24
- function H(e) {
24
+ function N(e) {
25
25
  return e.children;
26
26
  }
27
27
  function Z(e, t) {
@@ -32,38 +32,38 @@ function be(e, t) {
32
32
  for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
33
33
  return typeof e.type == "function" ? be(e) : null;
34
34
  }
35
- function ar(e) {
35
+ function lr(e) {
36
36
  var t, n;
37
37
  if ((e = e.__) != null && e.__c != null) {
38
38
  for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) {
39
39
  e.__e = e.__c.base = n.__e;
40
40
  break;
41
41
  }
42
- return ar(e);
42
+ return lr(e);
43
43
  }
44
44
  }
45
45
  function It(e) {
46
- (!e.__d && (e.__d = !0) && _e.push(e) && !at.__r++ || $n !== T.debounceRendering) && (($n = T.debounceRendering) || nr)(at);
46
+ (!e.__d && (e.__d = !0) && _e.push(e) && !at.__r++ || En !== k.debounceRendering) && ((En = k.debounceRendering) || rr)(at);
47
47
  }
48
48
  function at() {
49
49
  var e, t, n, r, o, i, a, l;
50
- for (_e.sort(Ht); e = _e.shift(); ) e.__d && (t = _e.length, r = void 0, i = (o = (n = e).__v).__e, a = [], l = [], n.__P && ((r = ne({}, o)).__v = o.__v + 1, T.vnode && T.vnode(r), tn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, a, i ?? be(o), !!(32 & o.__u), l), r.__v = o.__v, r.__.__k[r.__i] = r, cr(a, r, l), r.__e != i && ar(r)), _e.length > t && _e.sort(Ht));
50
+ for (_e.sort(Dt); e = _e.shift(); ) e.__d && (t = _e.length, r = void 0, i = (o = (n = e).__v).__e, a = [], l = [], n.__P && ((r = ne({}, o)).__v = o.__v + 1, k.vnode && k.vnode(r), tn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, a, i ?? be(o), !!(32 & o.__u), l), r.__v = o.__v, r.__.__k[r.__i] = r, ur(a, r, l), r.__e != i && lr(r)), _e.length > t && _e.sort(Dt));
51
51
  at.__r = 0;
52
52
  }
53
- function lr(e, t, n, r, o, i, a, l, s, u, d) {
54
- var c, p, f, h, y, m = r && r.__k || or, _ = t.length;
55
- for (n.__d = s, wo(n, t, m), s = n.__d, c = 0; c < _; c++) (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (p = f.__i === -1 ? qe : m[f.__i] || qe, f.__i = c, tn(e, f, p, o, i, a, l, s, u, d), h = f.__e, f.ref && p.ref != f.ref && (p.ref && nn(p.ref, null, f), d.push(f.ref, f.__c || h, f)), y == null && h != null && (y = h), 65536 & f.__u || p.__k === f.__k ? s = sr(f, s, e) : typeof f.type == "function" && f.__d !== void 0 ? s = f.__d : h && (s = h.nextSibling), f.__d = void 0, f.__u &= -196609);
56
- n.__d = s, n.__e = y;
53
+ function sr(e, t, n, r, o, i, a, l, s, u, d) {
54
+ var c, h, f, _, v, m = r && r.__k || ir, y = t.length;
55
+ for (n.__d = s, $o(n, t, m), s = n.__d, c = 0; c < y; c++) (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (h = f.__i === -1 ? qe : m[f.__i] || qe, f.__i = c, tn(e, f, h, o, i, a, l, s, u, d), _ = f.__e, f.ref && h.ref != f.ref && (h.ref && nn(h.ref, null, f), d.push(f.ref, f.__c || _, f)), v == null && _ != null && (v = _), 65536 & f.__u || h.__k === f.__k ? s = cr(f, s, e) : typeof f.type == "function" && f.__d !== void 0 ? s = f.__d : _ && (s = _.nextSibling), f.__d = void 0, f.__u &= -196609);
56
+ n.__d = s, n.__e = v;
57
57
  }
58
- function wo(e, t, n) {
58
+ function $o(e, t, n) {
59
59
  var r, o, i, a, l, s = t.length, u = n.length, d = u, c = 0;
60
- for (e.__k = [], r = 0; r < s; r++) a = r + c, (o = e.__k[r] = (o = t[r]) == null || typeof o == "boolean" || typeof o == "function" ? null : typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? Ue(null, o, null, null, null) : pt(o) ? Ue(H, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? Ue(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, l = bo(o, n, a, d), o.__i = l, i = null, l !== -1 && (d--, (i = n[l]) && (i.__u |= 131072)), i == null || i.__v === null ? (l == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : l !== a && (l == a - 1 ? c = l - a : l == a + 1 ? c++ : l > a ? d > s - a ? c += l - a : c-- : l < a && c++, l !== r + c && (o.__u |= 65536))) : (i = n[a]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = be(i)), Rt(i, i, !1), n[a] = null, d--);
60
+ for (e.__k = [], r = 0; r < s; r++) a = r + c, (o = e.__k[r] = (o = t[r]) == null || typeof o == "boolean" || typeof o == "function" ? null : typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? Ue(null, o, null, null, null) : pt(o) ? Ue(N, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? Ue(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, l = Eo(o, n, a, d), o.__i = l, i = null, l !== -1 && (d--, (i = n[l]) && (i.__u |= 131072)), i == null || i.__v === null ? (l == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : l !== a && (l == a - 1 ? c = l - a : l == a + 1 ? c++ : l > a ? d > s - a ? c += l - a : c-- : l < a && c++, l !== r + c && (o.__u |= 65536))) : (i = n[a]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = be(i)), Rt(i, i, !1), n[a] = null, d--);
61
61
  if (d) for (r = 0; r < u; r++) (i = n[r]) != null && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = be(i)), Rt(i, i));
62
62
  }
63
- function sr(e, t, n) {
63
+ function cr(e, t, n) {
64
64
  var r, o;
65
65
  if (typeof e.type == "function") {
66
- for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = sr(r[o], t, n));
66
+ for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = cr(r[o], t, n));
67
67
  return t;
68
68
  }
69
69
  e.__e != t && (t && e.type && !n.contains(t) && (t = be(e)), n.insertBefore(e.__e, t || null), t = e.__e);
@@ -77,7 +77,7 @@ function re(e, t) {
77
77
  re(n, t);
78
78
  }) : t.push(e)), t;
79
79
  }
80
- function bo(e, t, n, r) {
80
+ function Eo(e, t, n, r) {
81
81
  var o = e.key, i = e.type, a = n - 1, l = n + 1, s = t[n];
82
82
  if (s === null || s && o == s.key && i === s.type && !(131072 & s.__u)) return n;
83
83
  if (r > (s != null && !(131072 & s.__u) ? 1 : 0)) for (; a >= 0 || l < t.length; ) {
@@ -93,7 +93,7 @@ function bo(e, t, n, r) {
93
93
  return -1;
94
94
  }
95
95
  function Cn(e, t, n) {
96
- t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || go.test(t) ? n : n + "px";
96
+ t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || bo.test(t) ? n : n + "px";
97
97
  }
98
98
  function nt(e, t, n, r, o) {
99
99
  var i;
@@ -119,84 +119,84 @@ function Tn(e) {
119
119
  var n = this.l[t.type + e];
120
120
  if (t.t == null) t.t = Jt++;
121
121
  else if (t.t < n.u) return;
122
- return n(T.event ? T.event(t) : t);
122
+ return n(k.event ? k.event(t) : t);
123
123
  }
124
124
  };
125
125
  }
126
126
  function tn(e, t, n, r, o, i, a, l, s, u) {
127
- var d, c, p, f, h, y, m, _, g, C, b, E, F, A, M, S, L = t.type;
127
+ var d, c, h, f, _, v, m, y, $, E, g, w, F, H, O, V, S = t.type;
128
128
  if (t.constructor !== void 0) return null;
129
- 128 & n.__u && (s = !!(32 & n.__u), i = [l = t.__e = n.__e]), (d = T.__b) && d(t);
130
- e: if (typeof L == "function") try {
131
- if (_ = t.props, g = "prototype" in L && L.prototype.render, C = (d = L.contextType) && r[d.__c], b = d ? C ? C.props.value : d.__ : r, n.__c ? m = (c = t.__c = n.__c).__ = c.__E : (g ? t.__c = c = new L(_, b) : (t.__c = c = new Z(_, b), c.constructor = L, c.render = $o), C && C.sub(c), c.props = _, c.state || (c.state = {}), c.context = b, c.__n = r, p = c.__d = !0, c.__h = [], c._sb = []), g && c.__s == null && (c.__s = c.state), g && L.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ne({}, c.__s)), ne(c.__s, L.getDerivedStateFromProps(_, c.__s))), f = c.props, h = c.state, c.__v = t, p) g && L.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), g && c.componentDidMount != null && c.__h.push(c.componentDidMount);
129
+ 128 & n.__u && (s = !!(32 & n.__u), i = [l = t.__e = n.__e]), (d = k.__b) && d(t);
130
+ e: if (typeof S == "function") try {
131
+ if (y = t.props, $ = "prototype" in S && S.prototype.render, E = (d = S.contextType) && r[d.__c], g = d ? E ? E.props.value : d.__ : r, n.__c ? m = (c = t.__c = n.__c).__ = c.__E : ($ ? t.__c = c = new S(y, g) : (t.__c = c = new Z(y, g), c.constructor = S, c.render = To), E && E.sub(c), c.props = y, c.state || (c.state = {}), c.context = g, c.__n = r, h = c.__d = !0, c.__h = [], c._sb = []), $ && c.__s == null && (c.__s = c.state), $ && S.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ne({}, c.__s)), ne(c.__s, S.getDerivedStateFromProps(y, c.__s))), f = c.props, _ = c.state, c.__v = t, h) $ && S.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), $ && c.componentDidMount != null && c.__h.push(c.componentDidMount);
132
132
  else {
133
- if (g && L.getDerivedStateFromProps == null && _ !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(_, b), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(_, c.__s, b) === !1 || t.__v === n.__v)) {
134
- for (t.__v !== n.__v && (c.props = _, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(U) {
135
- U && (U.__ = t);
136
- }), E = 0; E < c._sb.length; E++) c.__h.push(c._sb[E]);
133
+ if ($ && S.getDerivedStateFromProps == null && y !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(y, g), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(y, c.__s, g) === !1 || t.__v === n.__v)) {
134
+ for (t.__v !== n.__v && (c.props = y, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(I) {
135
+ I && (I.__ = t);
136
+ }), w = 0; w < c._sb.length; w++) c.__h.push(c._sb[w]);
137
137
  c._sb = [], c.__h.length && a.push(c);
138
138
  break e;
139
139
  }
140
- c.componentWillUpdate != null && c.componentWillUpdate(_, c.__s, b), g && c.componentDidUpdate != null && c.__h.push(function() {
141
- c.componentDidUpdate(f, h, y);
140
+ c.componentWillUpdate != null && c.componentWillUpdate(y, c.__s, g), $ && c.componentDidUpdate != null && c.__h.push(function() {
141
+ c.componentDidUpdate(f, _, v);
142
142
  });
143
143
  }
144
- if (c.context = b, c.props = _, c.__P = e, c.__e = !1, F = T.__r, A = 0, g) {
145
- for (c.state = c.__s, c.__d = !1, F && F(t), d = c.render(c.props, c.state, c.context), M = 0; M < c._sb.length; M++) c.__h.push(c._sb[M]);
144
+ if (c.context = g, c.props = y, c.__P = e, c.__e = !1, F = k.__r, H = 0, $) {
145
+ for (c.state = c.__s, c.__d = !1, F && F(t), d = c.render(c.props, c.state, c.context), O = 0; O < c._sb.length; O++) c.__h.push(c._sb[O]);
146
146
  c._sb = [];
147
147
  } else do
148
148
  c.__d = !1, F && F(t), d = c.render(c.props, c.state, c.context), c.state = c.__s;
149
- while (c.__d && ++A < 25);
150
- c.state = c.__s, c.getChildContext != null && (r = ne(ne({}, r), c.getChildContext())), g && !p && c.getSnapshotBeforeUpdate != null && (y = c.getSnapshotBeforeUpdate(f, h)), lr(e, pt(S = d != null && d.type === H && d.key == null ? d.props.children : d) ? S : [S], t, n, r, o, i, a, l, s, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), m && (c.__E = c.__ = null);
151
- } catch (U) {
149
+ while (c.__d && ++H < 25);
150
+ c.state = c.__s, c.getChildContext != null && (r = ne(ne({}, r), c.getChildContext())), $ && !h && c.getSnapshotBeforeUpdate != null && (v = c.getSnapshotBeforeUpdate(f, _)), sr(e, pt(V = d != null && d.type === N && d.key == null ? d.props.children : d) ? V : [V], t, n, r, o, i, a, l, s, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), m && (c.__E = c.__ = null);
151
+ } catch (I) {
152
152
  if (t.__v = null, s || i != null) {
153
153
  for (t.__u |= s ? 160 : 32; l && l.nodeType === 8 && l.nextSibling; ) l = l.nextSibling;
154
154
  i[i.indexOf(l)] = null, t.__e = l;
155
155
  } else t.__e = n.__e, t.__k = n.__k;
156
- T.__e(U, t, n);
156
+ k.__e(I, t, n);
157
157
  }
158
- else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Eo(n.__e, t, n, r, o, i, a, s, u);
159
- (d = T.diffed) && d(t);
158
+ else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Co(n.__e, t, n, r, o, i, a, s, u);
159
+ (d = k.diffed) && d(t);
160
160
  }
161
- function cr(e, t, n) {
161
+ function ur(e, t, n) {
162
162
  t.__d = void 0;
163
163
  for (var r = 0; r < n.length; r++) nn(n[r], n[++r], n[++r]);
164
- T.__c && T.__c(t, e), e.some(function(o) {
164
+ k.__c && k.__c(t, e), e.some(function(o) {
165
165
  try {
166
166
  e = o.__h, o.__h = [], e.some(function(i) {
167
167
  i.call(o);
168
168
  });
169
169
  } catch (i) {
170
- T.__e(i, o.__v);
170
+ k.__e(i, o.__v);
171
171
  }
172
172
  });
173
173
  }
174
- function Eo(e, t, n, r, o, i, a, l, s) {
175
- var u, d, c, p, f, h, y, m = n.props, _ = t.props, g = t.type;
176
- if (g === "svg" ? o = "http://www.w3.org/2000/svg" : g === "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), i != null) {
177
- for (u = 0; u < i.length; u++) if ((f = i[u]) && "setAttribute" in f == !!g && (g ? f.localName === g : f.nodeType === 3)) {
174
+ function Co(e, t, n, r, o, i, a, l, s) {
175
+ var u, d, c, h, f, _, v, m = n.props, y = t.props, $ = t.type;
176
+ if ($ === "svg" ? o = "http://www.w3.org/2000/svg" : $ === "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), i != null) {
177
+ for (u = 0; u < i.length; u++) if ((f = i[u]) && "setAttribute" in f == !!$ && ($ ? f.localName === $ : f.nodeType === 3)) {
178
178
  e = f, i[u] = null;
179
179
  break;
180
180
  }
181
181
  }
182
182
  if (e == null) {
183
- if (g === null) return document.createTextNode(_);
184
- e = document.createElementNS(o, g, _.is && _), i = null, l = !1;
183
+ if ($ === null) return document.createTextNode(y);
184
+ e = document.createElementNS(o, $, y.is && y), i = null, l = !1;
185
185
  }
186
- if (g === null) m === _ || l && e.data === _ || (e.data = _);
186
+ if ($ === null) m === y || l && e.data === y || (e.data = y);
187
187
  else {
188
188
  if (i = i && Ye.call(e.childNodes), m = n.props || qe, !l && i != null) for (m = {}, u = 0; u < e.attributes.length; u++) m[(f = e.attributes[u]).name] = f.value;
189
189
  for (u in m) if (f = m[u], u != "children") {
190
190
  if (u == "dangerouslySetInnerHTML") c = f;
191
- else if (u !== "key" && !(u in _)) {
192
- if (u == "value" && "defaultValue" in _ || u == "checked" && "defaultChecked" in _) continue;
191
+ else if (u !== "key" && !(u in y)) {
192
+ if (u == "value" && "defaultValue" in y || u == "checked" && "defaultChecked" in y) continue;
193
193
  nt(e, u, null, f, o);
194
194
  }
195
195
  }
196
- for (u in _) f = _[u], u == "children" ? p = f : u == "dangerouslySetInnerHTML" ? d = f : u == "value" ? h = f : u == "checked" ? y = f : u === "key" || l && typeof f != "function" || m[u] === f || nt(e, u, f, m[u], o);
196
+ for (u in y) f = y[u], u == "children" ? h = f : u == "dangerouslySetInnerHTML" ? d = f : u == "value" ? _ = f : u == "checked" ? v = f : u === "key" || l && typeof f != "function" || m[u] === f || nt(e, u, f, m[u], o);
197
197
  if (d) l || c && (d.__html === c.__html || d.__html === e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
198
- else if (c && (e.innerHTML = ""), lr(e, pt(p) ? p : [p], t, n, r, g === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && be(n, 0), l, s), i != null) for (u = i.length; u--; ) i[u] != null && ir(i[u]);
199
- l || (u = "value", h !== void 0 && (h !== e[u] || g === "progress" && !h || g === "option" && h !== m[u]) && nt(e, u, h, m[u], o), u = "checked", y !== void 0 && y !== e[u] && nt(e, u, y, m[u], o));
198
+ else if (c && (e.innerHTML = ""), sr(e, pt(h) ? h : [h], t, n, r, $ === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && be(n, 0), l, s), i != null) for (u = i.length; u--; ) i[u] != null && ar(i[u]);
199
+ l || (u = "value", _ !== void 0 && (_ !== e[u] || $ === "progress" && !_ || $ === "option" && _ !== m[u]) && nt(e, u, _, m[u], o), u = "checked", v !== void 0 && v !== e[u] && nt(e, u, v, m[u], o));
200
200
  }
201
201
  return e;
202
202
  }
@@ -207,39 +207,39 @@ function nn(e, t, n) {
207
207
  r && e.__u(), r && t == null || (e.__u = e(t));
208
208
  } else e.current = t;
209
209
  } catch (o) {
210
- T.__e(o, n);
210
+ k.__e(o, n);
211
211
  }
212
212
  }
213
213
  function Rt(e, t, n) {
214
214
  var r, o;
215
- if (T.unmount && T.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || nn(r, null, t)), (r = e.__c) != null) {
215
+ if (k.unmount && k.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || nn(r, null, t)), (r = e.__c) != null) {
216
216
  if (r.componentWillUnmount) try {
217
217
  r.componentWillUnmount();
218
218
  } catch (i) {
219
- T.__e(i, t);
219
+ k.__e(i, t);
220
220
  }
221
221
  r.base = r.__P = null;
222
222
  }
223
223
  if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && Rt(r[o], t, n || typeof e.type != "function");
224
- n || e.__e == null || ir(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
224
+ n || e.__e == null || ar(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
225
225
  }
226
- function $o(e, t, n) {
226
+ function To(e, t, n) {
227
227
  return this.constructor(e, n);
228
228
  }
229
- function Me(e, t, n) {
229
+ function Pe(e, t, n) {
230
230
  var r, o, i, a;
231
- T.__ && T.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], tn(t, e = (!r && n || t).__k = X(H, null, [e]), o || qe, qe, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Ye.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), cr(i, e, a);
231
+ k.__ && k.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], tn(t, e = (!r && n || t).__k = X(N, null, [e]), o || qe, qe, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Ye.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), ur(i, e, a);
232
232
  }
233
- function ur(e, t) {
234
- Me(e, t, ur);
233
+ function dr(e, t) {
234
+ Pe(e, t, dr);
235
235
  }
236
- function Co(e, t, n) {
236
+ function ko(e, t, n) {
237
237
  var r, o, i, a, l = ne({}, e.props);
238
238
  for (i in e.type && e.type.defaultProps && (a = e.type.defaultProps), t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : l[i] = t[i] === void 0 && a !== void 0 ? a[i] : t[i];
239
239
  return arguments.length > 2 && (l.children = arguments.length > 3 ? Ye.call(arguments, 2) : n), Ue(e.type, l, r || e.key, o || e.ref, null);
240
240
  }
241
241
  function q(e, t) {
242
- var n = { __c: t = "__cC" + rr++, __: e, Consumer: function(r, o) {
242
+ var n = { __c: t = "__cC" + or++, __: e, Consumer: function(r, o) {
243
243
  return r.children(o);
244
244
  }, Provider: function(r) {
245
245
  var o, i;
@@ -261,58 +261,58 @@ function q(e, t) {
261
261
  } };
262
262
  return n.Provider.__ = n.Consumer.contextType = n;
263
263
  }
264
- Ye = or.slice, T = { __e: function(e, t, n, r) {
264
+ Ye = ir.slice, k = { __e: function(e, t, n, r) {
265
265
  for (var o, i, a; t = t.__; ) if ((o = t.__c) && !o.__) try {
266
266
  if ((i = o.constructor) && i.getDerivedStateFromError != null && (o.setState(i.getDerivedStateFromError(e)), a = o.__d), o.componentDidCatch != null && (o.componentDidCatch(e, r || {}), a = o.__d), a) return o.__E = o;
267
267
  } catch (l) {
268
268
  e = l;
269
269
  }
270
270
  throw e;
271
- } }, tr = 0, Z.prototype.setState = function(e, t) {
271
+ } }, nr = 0, Z.prototype.setState = function(e, t) {
272
272
  var n;
273
273
  n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ne({}, this.state), typeof e == "function" && (e = e(ne({}, n), this.props)), e && ne(n, e), e != null && this.__v && (t && this._sb.push(t), It(this));
274
274
  }, Z.prototype.forceUpdate = function(e) {
275
275
  this.__v && (this.__e = !0, e && this.__h.push(e), It(this));
276
- }, Z.prototype.render = H, _e = [], nr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ht = function(e, t) {
276
+ }, Z.prototype.render = N, _e = [], rr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Dt = function(e, t) {
277
277
  return e.__v.__b - t.__v.__b;
278
- }, at.__r = 0, Jt = 0, At = Tn(!1), Ot = Tn(!0), rr = 0;
279
- var To = 0;
280
- function v(e, t, n, r, o, i) {
278
+ }, at.__r = 0, Jt = 0, At = Tn(!1), Ot = Tn(!0), or = 0;
279
+ var Fo = 0;
280
+ function p(e, t, n, r, o, i) {
281
281
  t || (t = {});
282
282
  var a, l, s = t;
283
283
  if ("ref" in s) for (l in s = {}, t) l == "ref" ? a = t[l] : s[l] = t[l];
284
- var u = { type: e, props: s, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --To, __i: -1, __u: 0, __source: o, __self: i };
284
+ var u = { type: e, props: s, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --Fo, __i: -1, __u: 0, __source: o, __self: i };
285
285
  if (typeof e == "function" && (a = e.defaultProps)) for (l in a) s[l] === void 0 && (s[l] = a[l]);
286
- return T.vnode && T.vnode(u), u;
286
+ return k.vnode && k.vnode(u), u;
287
287
  }
288
- var ae, P, Ft, kn, Le = 0, dr = [], O = T, Fn = O.__b, xn = O.__r, Sn = O.diffed, Pn = O.__c, Mn = O.unmount, Ln = O.__;
289
- function $e(e, t) {
290
- O.__h && O.__h(P, e, Le || t), Le = 0;
288
+ var ae, P, Ft, kn, Me = 0, fr = [], D = k, Fn = D.__b, xn = D.__r, Sn = D.diffed, Pn = D.__c, Mn = D.unmount, Ln = D.__;
289
+ function Ee(e, t) {
290
+ D.__h && D.__h(P, e, Me || t), Me = 0;
291
291
  var n = P.__H || (P.__H = { __: [], __h: [] });
292
292
  return e >= n.__.length && n.__.push({}), n.__[e];
293
293
  }
294
- function k(e) {
295
- return Le = 1, Ke(fr, e);
294
+ function T(e) {
295
+ return Me = 1, Ke(pr, e);
296
296
  }
297
297
  function Ke(e, t, n) {
298
- var r = $e(ae++, 2);
299
- if (r.t = e, !r.__c && (r.__ = [n ? n(t) : fr(void 0, t), function(l) {
298
+ var r = Ee(ae++, 2);
299
+ if (r.t = e, !r.__c && (r.__ = [n ? n(t) : pr(void 0, t), function(l) {
300
300
  var s = r.__N ? r.__N[0] : r.__[0], u = r.t(s, l);
301
301
  s !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
302
302
  }], r.__c = P, !P.u)) {
303
303
  var o = function(l, s, u) {
304
304
  if (!r.__c.__H) return !0;
305
- var d = r.__c.__H.__.filter(function(p) {
306
- return !!p.__c;
305
+ var d = r.__c.__H.__.filter(function(h) {
306
+ return !!h.__c;
307
307
  });
308
- if (d.every(function(p) {
309
- return !p.__N;
308
+ if (d.every(function(h) {
309
+ return !h.__N;
310
310
  })) return !i || i.call(this, l, s, u);
311
311
  var c = !1;
312
- return d.forEach(function(p) {
313
- if (p.__N) {
314
- var f = p.__[0];
315
- p.__ = p.__N, p.__N = void 0, f !== p.__[0] && (c = !0);
312
+ return d.forEach(function(h) {
313
+ if (h.__N) {
314
+ var f = h.__[0];
315
+ h.__ = h.__N, h.__N = void 0, f !== h.__[0] && (c = !0);
316
316
  }
317
317
  }), !(!c && r.__c.props === l) && (!i || i.call(this, l, s, u));
318
318
  };
@@ -328,21 +328,21 @@ function Ke(e, t, n) {
328
328
  }
329
329
  return r.__N || r.__;
330
330
  }
331
- function N(e, t) {
332
- var n = $e(ae++, 3);
333
- !O.__s && an(n.__H, t) && (n.__ = e, n.i = t, P.__H.__h.push(n));
331
+ function M(e, t) {
332
+ var n = Ee(ae++, 3);
333
+ !D.__s && an(n.__H, t) && (n.__ = e, n.i = t, P.__H.__h.push(n));
334
334
  }
335
335
  function Ce(e, t) {
336
- var n = $e(ae++, 4);
337
- !O.__s && an(n.__H, t) && (n.__ = e, n.i = t, P.__h.push(n));
336
+ var n = Ee(ae++, 4);
337
+ !D.__s && an(n.__H, t) && (n.__ = e, n.i = t, P.__h.push(n));
338
338
  }
339
- function w(e) {
340
- return Le = 5, x(function() {
339
+ function b(e) {
340
+ return Me = 5, x(function() {
341
341
  return { current: e };
342
342
  }, []);
343
343
  }
344
344
  function rn(e, t, n) {
345
- Le = 6, Ce(function() {
345
+ Me = 6, Ce(function() {
346
346
  return typeof e == "function" ? (e(t()), function() {
347
347
  return e(null);
348
348
  }) : e ? (e.current = t(), function() {
@@ -351,23 +351,23 @@ function rn(e, t, n) {
351
351
  }, n == null ? n : n.concat(e));
352
352
  }
353
353
  function x(e, t) {
354
- var n = $e(ae++, 7);
354
+ var n = Ee(ae++, 7);
355
355
  return an(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
356
356
  }
357
- function I(e, t) {
358
- return Le = 8, x(function() {
357
+ function A(e, t) {
358
+ return Me = 8, x(function() {
359
359
  return e;
360
360
  }, t);
361
361
  }
362
362
  function W(e) {
363
- var t = P.context[e.__c], n = $e(ae++, 9);
363
+ var t = P.context[e.__c], n = Ee(ae++, 9);
364
364
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(P)), t.props.value) : e.__;
365
365
  }
366
366
  function on(e, t) {
367
- O.useDebugValue && O.useDebugValue(t ? t(e) : e);
367
+ D.useDebugValue && D.useDebugValue(t ? t(e) : e);
368
368
  }
369
- function ko(e) {
370
- var t = $e(ae++, 10), n = k();
369
+ function xo(e) {
370
+ var t = Ee(ae++, 10), n = T();
371
371
  return t.__ = e, P.componentDidCatch || (P.componentDidCatch = function(r, o) {
372
372
  t.__ && t.__(r, o), n[1](r);
373
373
  }), [n[0], function() {
@@ -375,7 +375,7 @@ function ko(e) {
375
375
  }];
376
376
  }
377
377
  function fe() {
378
- var e = $e(ae++, 11);
378
+ var e = Ee(ae++, 11);
379
379
  if (!e.__) {
380
380
  for (var t = P.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
381
381
  var n = t.__m || (t.__m = [0, 0]);
@@ -383,30 +383,30 @@ function fe() {
383
383
  }
384
384
  return e.__;
385
385
  }
386
- function Fo() {
387
- for (var e; e = dr.shift(); ) if (e.__P && e.__H) try {
386
+ function So() {
387
+ for (var e; e = fr.shift(); ) if (e.__P && e.__H) try {
388
388
  e.__H.__h.forEach(it), e.__H.__h.forEach(Vt), e.__H.__h = [];
389
389
  } catch (t) {
390
- e.__H.__h = [], O.__e(t, e.__v);
390
+ e.__H.__h = [], D.__e(t, e.__v);
391
391
  }
392
392
  }
393
- O.__b = function(e) {
393
+ D.__b = function(e) {
394
394
  P = null, Fn && Fn(e);
395
- }, O.__ = function(e, t) {
395
+ }, D.__ = function(e, t) {
396
396
  e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Ln && Ln(e, t);
397
- }, O.__r = function(e) {
397
+ }, D.__r = function(e) {
398
398
  xn && xn(e), ae = 0;
399
399
  var t = (P = e.__c).__H;
400
400
  t && (Ft === P ? (t.__h = [], P.__h = [], t.__.forEach(function(n) {
401
401
  n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
402
402
  })) : (t.__h.forEach(it), t.__h.forEach(Vt), t.__h = [], ae = 0)), Ft = P;
403
- }, O.diffed = function(e) {
403
+ }, D.diffed = function(e) {
404
404
  Sn && Sn(e);
405
405
  var t = e.__c;
406
- t && t.__H && (t.__H.__h.length && (dr.push(t) !== 1 && kn === O.requestAnimationFrame || ((kn = O.requestAnimationFrame) || xo)(Fo)), t.__H.__.forEach(function(n) {
406
+ t && t.__H && (t.__H.__h.length && (fr.push(t) !== 1 && kn === D.requestAnimationFrame || ((kn = D.requestAnimationFrame) || Po)(So)), t.__H.__.forEach(function(n) {
407
407
  n.i && (n.__H = n.i), n.i = void 0;
408
408
  })), Ft = P = null;
409
- }, O.__c = function(e, t) {
409
+ }, D.__c = function(e, t) {
410
410
  t.some(function(n) {
411
411
  try {
412
412
  n.__h.forEach(it), n.__h = n.__h.filter(function(r) {
@@ -415,10 +415,10 @@ O.__b = function(e) {
415
415
  } catch (r) {
416
416
  t.some(function(o) {
417
417
  o.__h && (o.__h = []);
418
- }), t = [], O.__e(r, n.__v);
418
+ }), t = [], D.__e(r, n.__v);
419
419
  }
420
420
  }), Pn && Pn(e, t);
421
- }, O.unmount = function(e) {
421
+ }, D.unmount = function(e) {
422
422
  Mn && Mn(e);
423
423
  var t, n = e.__c;
424
424
  n && n.__H && (n.__H.__.forEach(function(r) {
@@ -427,10 +427,10 @@ O.__b = function(e) {
427
427
  } catch (o) {
428
428
  t = o;
429
429
  }
430
- }), n.__H = void 0, t && O.__e(t, n.__v));
430
+ }), n.__H = void 0, t && D.__e(t, n.__v));
431
431
  };
432
432
  var Nn = typeof requestAnimationFrame == "function";
433
- function xo(e) {
433
+ function Po(e) {
434
434
  var t, n = function() {
435
435
  clearTimeout(r), Nn && cancelAnimationFrame(t), setTimeout(e);
436
436
  }, r = setTimeout(n, 100);
@@ -449,10 +449,10 @@ function an(e, t) {
449
449
  return n !== e[r];
450
450
  });
451
451
  }
452
- function fr(e, t) {
452
+ function pr(e, t) {
453
453
  return typeof t == "function" ? t(e) : t;
454
454
  }
455
- function pr(e, t) {
455
+ function hr(e, t) {
456
456
  for (var n in t) e[n] = t[n];
457
457
  return e;
458
458
  }
@@ -464,7 +464,7 @@ function Ut(e, t) {
464
464
  function lt(e, t) {
465
465
  this.props = e, this.context = t;
466
466
  }
467
- function vr(e, t) {
467
+ function _r(e, t) {
468
468
  function n(o) {
469
469
  var i = this.props.ref, a = i == o.ref;
470
470
  return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a : Ut(this.props, o);
@@ -477,54 +477,54 @@ function vr(e, t) {
477
477
  (lt.prototype = new Z()).isPureReactComponent = !0, lt.prototype.shouldComponentUpdate = function(e, t) {
478
478
  return Ut(this.props, e) || Ut(this.state, t);
479
479
  };
480
- var Dn = T.__b;
481
- T.__b = function(e) {
482
- e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Dn && Dn(e);
480
+ var Hn = k.__b;
481
+ k.__b = function(e) {
482
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Hn && Hn(e);
483
483
  };
484
- var So = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
484
+ var Mo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
485
485
  function ln(e) {
486
486
  function t(n) {
487
- var r = pr({}, n);
487
+ var r = hr({}, n);
488
488
  return delete r.ref, e(r, n.ref || null);
489
489
  }
490
- return t.$$typeof = So, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
490
+ return t.$$typeof = Mo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
491
491
  }
492
- var Hn = function(e, t) {
492
+ var Dn = function(e, t) {
493
493
  return e == null ? null : re(re(e).map(t));
494
- }, _r = { map: Hn, forEach: Hn, count: function(e) {
494
+ }, vr = { map: Dn, forEach: Dn, count: function(e) {
495
495
  return e ? re(e).length : 0;
496
496
  }, only: function(e) {
497
497
  var t = re(e);
498
498
  if (t.length !== 1) throw "Children.only";
499
499
  return t[0];
500
- }, toArray: re }, Po = T.__e;
501
- T.__e = function(e, t, n, r) {
500
+ }, toArray: re }, Lo = k.__e;
501
+ k.__e = function(e, t, n, r) {
502
502
  if (e.then) {
503
503
  for (var o, i = t; i = i.__; ) if ((o = i.__c) && o.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), o.__c(e, t);
504
504
  }
505
- Po(e, t, n, r);
505
+ Lo(e, t, n, r);
506
506
  };
507
- var An = T.unmount;
508
- function hr(e, t, n) {
507
+ var An = k.unmount;
508
+ function mr(e, t, n) {
509
509
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
510
510
  typeof r.__c == "function" && r.__c();
511
- }), e.__c.__H = null), (e = pr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
512
- return hr(r, t, n);
511
+ }), e.__c.__H = null), (e = hr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
512
+ return mr(r, t, n);
513
513
  })), e;
514
514
  }
515
- function mr(e, t, n) {
515
+ function yr(e, t, n) {
516
516
  return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
517
- return mr(r, t, n);
517
+ return yr(r, t, n);
518
518
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
519
519
  }
520
520
  function We() {
521
521
  this.__u = 0, this.t = null, this.__b = null;
522
522
  }
523
- function yr(e) {
523
+ function gr(e) {
524
524
  var t = e.__.__c;
525
525
  return t && t.__a && t.__a(e);
526
526
  }
527
- function gr(e) {
527
+ function wr(e) {
528
528
  var t, n, r;
529
529
  function o(i) {
530
530
  if (t || (t = e()).then(function(a) {
@@ -537,16 +537,16 @@ function gr(e) {
537
537
  }
538
538
  return o.displayName = "Lazy", o.__f = !0, o;
539
539
  }
540
- function Pe() {
540
+ function Se() {
541
541
  this.u = null, this.o = null;
542
542
  }
543
- T.unmount = function(e) {
543
+ k.unmount = function(e) {
544
544
  var t = e.__c;
545
545
  t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), An && An(e);
546
546
  }, (We.prototype = new Z()).__c = function(e, t) {
547
547
  var n = t.__c, r = this;
548
548
  r.t == null && (r.t = []), r.t.push(n);
549
- var o = yr(r.__v), i = !1, a = function() {
549
+ var o = gr(r.__v), i = !1, a = function() {
550
550
  i || (i = !0, n.__R = null, o ? o(l) : l());
551
551
  };
552
552
  n.__R = a;
@@ -554,7 +554,7 @@ T.unmount = function(e) {
554
554
  if (!--r.__u) {
555
555
  if (r.state.__a) {
556
556
  var s = r.state.__a;
557
- r.__v.__k[0] = mr(s, s.__c.__P, s.__c.__O);
557
+ r.__v.__k[0] = yr(s, s.__c.__P, s.__c.__O);
558
558
  }
559
559
  var u;
560
560
  for (r.setState({ __a: r.__b = null }); u = r.t.pop(); ) u.forceUpdate();
@@ -567,12 +567,12 @@ T.unmount = function(e) {
567
567
  if (this.__b) {
568
568
  if (this.__v.__k) {
569
569
  var n = document.createElement("div"), r = this.__v.__k[0].__c;
570
- this.__v.__k[0] = hr(this.__b, n, r.__O = r.__P);
570
+ this.__v.__k[0] = mr(this.__b, n, r.__O = r.__P);
571
571
  }
572
572
  this.__b = null;
573
573
  }
574
- var o = t.__a && X(H, null, e.fallback);
575
- return o && (o.__u &= -33), [X(H, null, t.__a ? null : e.children), o];
574
+ var o = t.__a && X(N, null, e.fallback);
575
+ return o && (o.__u &= -33), [X(N, null, t.__a ? null : e.children), o];
576
576
  };
577
577
  var On = function(e, t, n) {
578
578
  if (++n[1] === n[0] && e.o.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.o.size)) for (n = e.u; n; ) {
@@ -581,15 +581,15 @@ var On = function(e, t, n) {
581
581
  e.u = n = n[2];
582
582
  }
583
583
  };
584
- function Mo(e) {
584
+ function No(e) {
585
585
  return this.getChildContext = function() {
586
586
  return e.context;
587
587
  }, e.children;
588
588
  }
589
- function Lo(e) {
589
+ function Ho(e) {
590
590
  var t = this, n = e.i;
591
591
  t.componentWillUnmount = function() {
592
- Me(null, t.l), t.l = null, t.i = null;
592
+ Pe(null, t.l), t.l = null, t.i = null;
593
593
  }, t.i && t.i !== n && t.componentWillUnmount(), t.l || (t.i = n, t.l = { nodeType: 1, parentNode: n, childNodes: [], contains: function() {
594
594
  return !0;
595
595
  }, appendChild: function(r) {
@@ -598,40 +598,40 @@ function Lo(e) {
598
598
  this.childNodes.push(r), t.i.appendChild(r);
599
599
  }, removeChild: function(r) {
600
600
  this.childNodes.splice(this.childNodes.indexOf(r) >>> 1, 1), t.i.removeChild(r);
601
- } }), Me(X(Mo, { context: t.context }, e.__v), t.l);
601
+ } }), Pe(X(No, { context: t.context }, e.__v), t.l);
602
602
  }
603
- function vt(e, t) {
604
- var n = X(Lo, { __v: e, i: t });
603
+ function ht(e, t) {
604
+ var n = X(Ho, { __v: e, i: t });
605
605
  return n.containerInfo = t, n;
606
606
  }
607
- (Pe.prototype = new Z()).__a = function(e) {
608
- var t = this, n = yr(t.__v), r = t.o.get(e);
607
+ (Se.prototype = new Z()).__a = function(e) {
608
+ var t = this, n = gr(t.__v), r = t.o.get(e);
609
609
  return r[0]++, function(o) {
610
610
  var i = function() {
611
611
  t.props.revealOrder ? (r.push(o), On(t, e, r)) : o();
612
612
  };
613
613
  n ? n(i) : i();
614
614
  };
615
- }, Pe.prototype.render = function(e) {
615
+ }, Se.prototype.render = function(e) {
616
616
  this.u = null, this.o = /* @__PURE__ */ new Map();
617
617
  var t = re(e.children);
618
618
  e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
619
619
  for (var n = t.length; n--; ) this.o.set(t[n], this.u = [1, 0, this.u]);
620
620
  return e.children;
621
- }, Pe.prototype.componentDidUpdate = Pe.prototype.componentDidMount = function() {
621
+ }, Se.prototype.componentDidUpdate = Se.prototype.componentDidMount = function() {
622
622
  var e = this;
623
623
  this.o.forEach(function(t, n) {
624
624
  On(e, n, t);
625
625
  });
626
626
  };
627
- var wr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, No = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Do = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Ho = /[A-Z0-9]/g, Ao = typeof document < "u", Oo = function(e) {
627
+ var br = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Do = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Ao = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Oo = /[A-Z0-9]/g, Io = typeof document < "u", Ro = function(e) {
628
628
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
629
629
  };
630
- function br(e, t, n) {
631
- return t.__k == null && (t.textContent = ""), Me(e, t), typeof n == "function" && n(), e ? e.__c : null;
630
+ function $r(e, t, n) {
631
+ return t.__k == null && (t.textContent = ""), Pe(e, t), typeof n == "function" && n(), e ? e.__c : null;
632
632
  }
633
633
  function Er(e, t, n) {
634
- return ur(e, t), typeof n == "function" && n(), e ? e.__c : null;
634
+ return dr(e, t), typeof n == "function" && n(), e ? e.__c : null;
635
635
  }
636
636
  Z.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
637
637
  Object.defineProperty(Z.prototype, e, { configurable: !0, get: function() {
@@ -640,77 +640,77 @@ Z.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
640
640
  Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
641
641
  } });
642
642
  });
643
- var In = T.event;
644
- function Io() {
643
+ var In = k.event;
644
+ function Vo() {
645
645
  }
646
- function Ro() {
646
+ function Uo() {
647
647
  return this.cancelBubble;
648
648
  }
649
- function Vo() {
649
+ function Wo() {
650
650
  return this.defaultPrevented;
651
651
  }
652
- T.event = function(e) {
653
- return In && (e = In(e)), e.persist = Io, e.isPropagationStopped = Ro, e.isDefaultPrevented = Vo, e.nativeEvent = e;
652
+ k.event = function(e) {
653
+ return In && (e = In(e)), e.persist = Vo, e.isPropagationStopped = Uo, e.isDefaultPrevented = Wo, e.nativeEvent = e;
654
654
  };
655
- var sn, Uo = { enumerable: !1, configurable: !0, get: function() {
655
+ var sn, zo = { enumerable: !1, configurable: !0, get: function() {
656
656
  return this.class;
657
- } }, Rn = T.vnode;
658
- T.vnode = function(e) {
657
+ } }, Rn = k.vnode;
658
+ k.vnode = function(e) {
659
659
  typeof e.type == "string" && function(t) {
660
660
  var n = t.props, r = t.type, o = {};
661
661
  for (var i in n) {
662
662
  var a = n[i];
663
- if (!(i === "value" && "defaultValue" in n && a == null || Ao && i === "children" && r === "noscript" || i === "class" || i === "className")) {
663
+ if (!(i === "value" && "defaultValue" in n && a == null || Io && i === "children" && r === "noscript" || i === "class" || i === "className")) {
664
664
  var l = i.toLowerCase();
665
- i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && a === !0 ? a = "" : l === "translate" && a === "no" ? a = !1 : l === "ondoubleclick" ? i = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || Oo(n.type) ? l === "onfocus" ? i = "onfocusin" : l === "onblur" ? i = "onfocusout" : Do.test(i) ? i = l : r.indexOf("-") === -1 && No.test(i) ? i = i.replace(Ho, "-$&").toLowerCase() : a === null && (a = void 0) : l = i = "oninput", l === "oninput" && o[i = l] && (i = "oninputCapture"), o[i] = a;
665
+ i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && a === !0 ? a = "" : l === "translate" && a === "no" ? a = !1 : l === "ondoubleclick" ? i = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || Ro(n.type) ? l === "onfocus" ? i = "onfocusin" : l === "onblur" ? i = "onfocusout" : Ao.test(i) ? i = l : r.indexOf("-") === -1 && Do.test(i) ? i = i.replace(Oo, "-$&").toLowerCase() : a === null && (a = void 0) : l = i = "oninput", l === "oninput" && o[i = l] && (i = "oninputCapture"), o[i] = a;
666
666
  }
667
667
  }
668
668
  r == "select" && o.multiple && Array.isArray(o.value) && (o.value = re(n.children).forEach(function(s) {
669
669
  s.props.selected = o.value.indexOf(s.props.value) != -1;
670
670
  })), r == "select" && o.defaultValue != null && (o.value = re(n.children).forEach(function(s) {
671
671
  s.props.selected = o.multiple ? o.defaultValue.indexOf(s.props.value) != -1 : o.defaultValue == s.props.value;
672
- })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", Uo)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
673
- }(e), e.$$typeof = wr, Rn && Rn(e);
672
+ })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", zo)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
673
+ }(e), e.$$typeof = br, Rn && Rn(e);
674
674
  };
675
- var Vn = T.__r;
676
- T.__r = function(e) {
675
+ var Vn = k.__r;
676
+ k.__r = function(e) {
677
677
  Vn && Vn(e), sn = e.__c;
678
678
  };
679
- var Un = T.diffed;
680
- T.diffed = function(e) {
679
+ var Un = k.diffed;
680
+ k.diffed = function(e) {
681
681
  Un && Un(e);
682
682
  var t = e.props, n = e.__e;
683
683
  n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), sn = null;
684
684
  };
685
- var $r = { ReactCurrentDispatcher: { current: { readContext: function(e) {
685
+ var Cr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
686
686
  return sn.__n[e.__c].props.value;
687
- }, useCallback: I, useContext: W, useDebugValue: on, useDeferredValue: dn, useEffect: N, useId: fe, useImperativeHandle: rn, useInsertionEffect: pn, useLayoutEffect: Ce, useMemo: x, useReducer: Ke, useRef: w, useState: k, useSyncExternalStore: _t, useTransition: fn } } }, Wo = "17.0.2";
688
- function Cr(e) {
687
+ }, useCallback: A, useContext: W, useDebugValue: on, useDeferredValue: dn, useEffect: M, useId: fe, useImperativeHandle: rn, useInsertionEffect: pn, useLayoutEffect: Ce, useMemo: x, useReducer: Ke, useRef: b, useState: T, useSyncExternalStore: _t, useTransition: fn } } }, jo = "17.0.2";
688
+ function Tr(e) {
689
689
  return X.bind(null, e);
690
690
  }
691
- function De(e) {
692
- return !!e && e.$$typeof === wr;
693
- }
694
- function Tr(e) {
695
- return De(e) && e.type === H;
691
+ function Ne(e) {
692
+ return !!e && e.$$typeof === br;
696
693
  }
697
694
  function kr(e) {
695
+ return Ne(e) && e.type === N;
696
+ }
697
+ function Fr(e) {
698
698
  return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
699
699
  }
700
700
  function cn(e) {
701
- return De(e) ? Co.apply(null, arguments) : e;
702
- }
703
- function Fr(e) {
704
- return !!e.__k && (Me(null, e), !0);
701
+ return Ne(e) ? ko.apply(null, arguments) : e;
705
702
  }
706
703
  function xr(e) {
704
+ return !!e.__k && (Pe(null, e), !0);
705
+ }
706
+ function Sr(e) {
707
707
  return e && (e.base || e.nodeType === 1 && e) || null;
708
708
  }
709
- var Sr = function(e, t) {
709
+ var Pr = function(e, t) {
710
710
  return e(t);
711
- }, Pr = function(e, t) {
711
+ }, Mr = function(e, t) {
712
712
  return e(t);
713
- }, Mr = H;
713
+ }, Lr = N;
714
714
  function un(e) {
715
715
  e();
716
716
  }
@@ -720,12 +720,12 @@ function dn(e) {
720
720
  function fn() {
721
721
  return [!1, un];
722
722
  }
723
- var pn = Ce, Lr = De;
723
+ var pn = Ce, Nr = Ne;
724
724
  function _t(e, t) {
725
- var n = t(), r = k({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
725
+ var n = t(), r = T({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
726
726
  return Ce(function() {
727
727
  o.__ = n, o.v = t, xt(o) && i({ h: o });
728
- }, [e, n, t]), N(function() {
728
+ }, [e, n, t]), M(function() {
729
729
  return xt(o) && i({ h: o }), e(function() {
730
730
  xt(o) && i({ h: o });
731
731
  });
@@ -740,64 +740,64 @@ function xt(e) {
740
740
  return !0;
741
741
  }
742
742
  }
743
- var $ = { useState: k, useId: fe, useReducer: Ke, useEffect: N, useLayoutEffect: Ce, useInsertionEffect: pn, useTransition: fn, useDeferredValue: dn, useSyncExternalStore: _t, startTransition: un, useRef: w, useImperativeHandle: rn, useMemo: x, useCallback: I, useContext: W, useDebugValue: on, version: "17.0.2", Children: _r, render: br, hydrate: Er, unmountComponentAtNode: Fr, createPortal: vt, createElement: X, createContext: q, createFactory: Cr, cloneElement: cn, createRef: en, Fragment: H, isValidElement: De, isElement: Lr, isFragment: Tr, isMemo: kr, findDOMNode: xr, Component: Z, PureComponent: lt, memo: vr, forwardRef: ln, flushSync: Pr, unstable_batchedUpdates: Sr, StrictMode: Mr, Suspense: We, SuspenseList: Pe, lazy: gr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: $r };
743
+ var C = { useState: T, useId: fe, useReducer: Ke, useEffect: M, useLayoutEffect: Ce, useInsertionEffect: pn, useTransition: fn, useDeferredValue: dn, useSyncExternalStore: _t, startTransition: un, useRef: b, useImperativeHandle: rn, useMemo: x, useCallback: A, useContext: W, useDebugValue: on, version: "17.0.2", Children: vr, render: $r, hydrate: Er, unmountComponentAtNode: xr, createPortal: ht, createElement: X, createContext: q, createFactory: Tr, cloneElement: cn, createRef: en, Fragment: N, isValidElement: Ne, isElement: Nr, isFragment: kr, isMemo: Fr, findDOMNode: Sr, Component: Z, PureComponent: lt, memo: _r, forwardRef: ln, flushSync: Mr, unstable_batchedUpdates: Pr, StrictMode: Lr, Suspense: We, SuspenseList: Se, lazy: wr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Cr };
744
744
  const Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
745
745
  __proto__: null,
746
- Children: _r,
746
+ Children: vr,
747
747
  Component: Z,
748
- Fragment: H,
748
+ Fragment: N,
749
749
  PureComponent: lt,
750
- StrictMode: Mr,
750
+ StrictMode: Lr,
751
751
  Suspense: We,
752
- SuspenseList: Pe,
753
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: $r,
752
+ SuspenseList: Se,
753
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Cr,
754
754
  cloneElement: cn,
755
755
  createContext: q,
756
756
  createElement: X,
757
- createFactory: Cr,
758
- createPortal: vt,
757
+ createFactory: Tr,
758
+ createPortal: ht,
759
759
  createRef: en,
760
- default: $,
761
- findDOMNode: xr,
762
- flushSync: Pr,
760
+ default: C,
761
+ findDOMNode: Sr,
762
+ flushSync: Mr,
763
763
  forwardRef: ln,
764
764
  hydrate: Er,
765
- isElement: Lr,
766
- isFragment: Tr,
767
- isMemo: kr,
768
- isValidElement: De,
769
- lazy: gr,
770
- memo: vr,
771
- render: br,
765
+ isElement: Nr,
766
+ isFragment: kr,
767
+ isMemo: Fr,
768
+ isValidElement: Ne,
769
+ lazy: wr,
770
+ memo: _r,
771
+ render: $r,
772
772
  startTransition: un,
773
- unmountComponentAtNode: Fr,
774
- unstable_batchedUpdates: Sr,
775
- useCallback: I,
773
+ unmountComponentAtNode: xr,
774
+ unstable_batchedUpdates: Pr,
775
+ useCallback: A,
776
776
  useContext: W,
777
777
  useDebugValue: on,
778
778
  useDeferredValue: dn,
779
- useEffect: N,
780
- useErrorBoundary: ko,
779
+ useEffect: M,
780
+ useErrorBoundary: xo,
781
781
  useId: fe,
782
782
  useImperativeHandle: rn,
783
783
  useInsertionEffect: pn,
784
784
  useLayoutEffect: Ce,
785
785
  useMemo: x,
786
786
  useReducer: Ke,
787
- useRef: w,
788
- useState: k,
787
+ useRef: b,
788
+ useState: T,
789
789
  useSyncExternalStore: _t,
790
790
  useTransition: fn,
791
- version: Wo
792
- }, Symbol.toStringTag, { value: "Module" })), Nr = typeof document < "u" ? $.useLayoutEffect : () => {
791
+ version: jo
792
+ }, Symbol.toStringTag, { value: "Module" })), Hr = typeof document < "u" ? C.useLayoutEffect : () => {
793
793
  };
794
- function jo(e) {
795
- const t = w(null);
796
- return Nr(() => {
794
+ function Bo(e) {
795
+ const t = b(null);
796
+ return Hr(() => {
797
797
  t.current = e;
798
798
  }, [
799
799
  e
800
- ]), I((...n) => {
800
+ ]), A((...n) => {
801
801
  const r = t.current;
802
802
  return r == null ? void 0 : r(...n);
803
803
  }, []);
@@ -806,24 +806,24 @@ const Ge = (e) => {
806
806
  var t;
807
807
  return (t = e == null ? void 0 : e.ownerDocument) !== null && t !== void 0 ? t : document;
808
808
  }, me = (e) => e && "window" in e && e.window === e ? e : Ge(e).defaultView || window;
809
- function zo(e) {
809
+ function qo(e) {
810
810
  var t;
811
811
  return typeof window > "u" || window.navigator == null ? !1 : ((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.brands.some((n) => e.test(n.brand))) || e.test(window.navigator.userAgent);
812
812
  }
813
- function Bo(e) {
813
+ function Yo(e) {
814
814
  var t;
815
815
  return typeof window < "u" && window.navigator != null ? e.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
816
816
  }
817
- function qo() {
818
- return Bo(/^Mac/i);
817
+ function Ko() {
818
+ return Yo(/^Mac/i);
819
819
  }
820
- function Yo() {
821
- return zo(/Android/i);
820
+ function Go() {
821
+ return qo(/Android/i);
822
822
  }
823
- function Ko(e) {
824
- return e.mozInputSource === 0 && e.isTrusted ? !0 : Yo() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
823
+ function Zo(e) {
824
+ return e.mozInputSource === 0 && e.isTrusted ? !0 : Go() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
825
825
  }
826
- class Go {
826
+ class Xo {
827
827
  isDefaultPrevented() {
828
828
  return this.nativeEvent.defaultPrevented;
829
829
  }
@@ -843,24 +843,24 @@ class Go {
843
843
  }
844
844
  }
845
845
  function Dr(e) {
846
- let t = w({
846
+ let t = b({
847
847
  isFocused: !1,
848
848
  observer: null
849
849
  });
850
- Nr(() => {
850
+ Hr(() => {
851
851
  const r = t.current;
852
852
  return () => {
853
853
  r.observer && (r.observer.disconnect(), r.observer = null);
854
854
  };
855
855
  }, []);
856
- let n = jo((r) => {
856
+ let n = Bo((r) => {
857
857
  e == null || e(r);
858
858
  });
859
- return I((r) => {
859
+ return A((r) => {
860
860
  if (r.target instanceof HTMLButtonElement || r.target instanceof HTMLInputElement || r.target instanceof HTMLTextAreaElement || r.target instanceof HTMLSelectElement) {
861
861
  t.current.isFocused = !0;
862
862
  let o = r.target, i = (a) => {
863
- t.current.isFocused = !1, o.disabled && n(new Go("blur", a)), t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
863
+ t.current.isFocused = !1, o.disabled && n(new Xo("blur", a)), t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
864
864
  };
865
865
  o.addEventListener("focusout", i, {
866
866
  once: !0
@@ -887,15 +887,15 @@ function Dr(e) {
887
887
  n
888
888
  ]);
889
889
  }
890
- function Zo(e) {
890
+ function Qo(e) {
891
891
  let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: o } = e;
892
- const i = I((s) => {
892
+ const i = A((s) => {
893
893
  if (s.target === s.currentTarget)
894
894
  return r && r(s), o && o(!1), !0;
895
895
  }, [
896
896
  r,
897
897
  o
898
- ]), a = Dr(i), l = I((s) => {
898
+ ]), a = Dr(i), l = A((s) => {
899
899
  const u = Ge(s.target);
900
900
  s.target === s.currentTarget && u.activeElement === s.target && (n && n(s), o && o(!0), a(s));
901
901
  }, [
@@ -910,62 +910,62 @@ function Zo(e) {
910
910
  }
911
911
  };
912
912
  }
913
- let Ze = null, Wt = /* @__PURE__ */ new Set(), je = /* @__PURE__ */ new Map(), Ee = !1, jt = !1;
914
- const Xo = {
913
+ let Ze = null, Wt = /* @__PURE__ */ new Set(), ze = /* @__PURE__ */ new Map(), $e = !1, zt = !1;
914
+ const Jo = {
915
915
  Tab: !0,
916
916
  Escape: !0
917
917
  };
918
- function vn(e, t) {
918
+ function hn(e, t) {
919
919
  for (let n of Wt) n(e, t);
920
920
  }
921
- function Qo(e) {
922
- return !(e.metaKey || !qo() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
921
+ function ei(e) {
922
+ return !(e.metaKey || !Ko() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
923
923
  }
924
924
  function st(e) {
925
- Ee = !0, Qo(e) && (Ze = "keyboard", vn("keyboard", e));
925
+ $e = !0, ei(e) && (Ze = "keyboard", hn("keyboard", e));
926
926
  }
927
927
  function K(e) {
928
- Ze = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Ee = !0, vn("pointer", e));
929
- }
930
- function Hr(e) {
931
- Ko(e) && (Ee = !0, Ze = "virtual");
928
+ Ze = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && ($e = !0, hn("pointer", e));
932
929
  }
933
930
  function Ar(e) {
934
- e.target === window || e.target === document || (!Ee && !jt && (Ze = "virtual", vn("virtual", e)), Ee = !1, jt = !1);
931
+ Zo(e) && ($e = !0, Ze = "virtual");
932
+ }
933
+ function Or(e) {
934
+ e.target === window || e.target === document || (!$e && !zt && (Ze = "virtual", hn("virtual", e)), $e = !1, zt = !1);
935
935
  }
936
- function Or() {
937
- Ee = !1, jt = !0;
936
+ function Ir() {
937
+ $e = !1, zt = !0;
938
938
  }
939
- function zt(e) {
940
- if (typeof window > "u" || je.get(me(e))) return;
939
+ function jt(e) {
940
+ if (typeof window > "u" || ze.get(me(e))) return;
941
941
  const t = me(e), n = Ge(e);
942
942
  let r = t.HTMLElement.prototype.focus;
943
943
  t.HTMLElement.prototype.focus = function() {
944
- Ee = !0, r.apply(this, arguments);
945
- }, n.addEventListener("keydown", st, !0), n.addEventListener("keyup", st, !0), n.addEventListener("click", Hr, !0), t.addEventListener("focus", Ar, !0), t.addEventListener("blur", Or, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", K, !0), n.addEventListener("pointermove", K, !0), n.addEventListener("pointerup", K, !0)) : (n.addEventListener("mousedown", K, !0), n.addEventListener("mousemove", K, !0), n.addEventListener("mouseup", K, !0)), t.addEventListener("beforeunload", () => {
946
- Ir(e);
944
+ $e = !0, r.apply(this, arguments);
945
+ }, n.addEventListener("keydown", st, !0), n.addEventListener("keyup", st, !0), n.addEventListener("click", Ar, !0), t.addEventListener("focus", Or, !0), t.addEventListener("blur", Ir, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", K, !0), n.addEventListener("pointermove", K, !0), n.addEventListener("pointerup", K, !0)) : (n.addEventListener("mousedown", K, !0), n.addEventListener("mousemove", K, !0), n.addEventListener("mouseup", K, !0)), t.addEventListener("beforeunload", () => {
946
+ Rr(e);
947
947
  }, {
948
948
  once: !0
949
- }), je.set(t, {
949
+ }), ze.set(t, {
950
950
  focus: r
951
951
  });
952
952
  }
953
- const Ir = (e, t) => {
953
+ const Rr = (e, t) => {
954
954
  const n = me(e), r = Ge(e);
955
- t && r.removeEventListener("DOMContentLoaded", t), je.has(n) && (n.HTMLElement.prototype.focus = je.get(n).focus, r.removeEventListener("keydown", st, !0), r.removeEventListener("keyup", st, !0), r.removeEventListener("click", Hr, !0), n.removeEventListener("focus", Ar, !0), n.removeEventListener("blur", Or, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", K, !0), r.removeEventListener("pointermove", K, !0), r.removeEventListener("pointerup", K, !0)) : (r.removeEventListener("mousedown", K, !0), r.removeEventListener("mousemove", K, !0), r.removeEventListener("mouseup", K, !0)), je.delete(n));
955
+ t && r.removeEventListener("DOMContentLoaded", t), ze.has(n) && (n.HTMLElement.prototype.focus = ze.get(n).focus, r.removeEventListener("keydown", st, !0), r.removeEventListener("keyup", st, !0), r.removeEventListener("click", Ar, !0), n.removeEventListener("focus", Or, !0), n.removeEventListener("blur", Ir, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", K, !0), r.removeEventListener("pointermove", K, !0), r.removeEventListener("pointerup", K, !0)) : (r.removeEventListener("mousedown", K, !0), r.removeEventListener("mousemove", K, !0), r.removeEventListener("mouseup", K, !0)), ze.delete(n));
956
956
  };
957
- function Jo(e) {
957
+ function ti(e) {
958
958
  const t = Ge(e);
959
959
  let n;
960
- return t.readyState !== "loading" ? zt(e) : (n = () => {
961
- zt(e);
962
- }, t.addEventListener("DOMContentLoaded", n)), () => Ir(e, n);
960
+ return t.readyState !== "loading" ? jt(e) : (n = () => {
961
+ jt(e);
962
+ }, t.addEventListener("DOMContentLoaded", n)), () => Rr(e, n);
963
963
  }
964
- typeof document < "u" && Jo();
965
- function Rr() {
964
+ typeof document < "u" && ti();
965
+ function Vr() {
966
966
  return Ze !== "pointer";
967
967
  }
968
- const ei = /* @__PURE__ */ new Set([
968
+ const ni = /* @__PURE__ */ new Set([
969
969
  "checkbox",
970
970
  "radio",
971
971
  "range",
@@ -976,31 +976,31 @@ const ei = /* @__PURE__ */ new Set([
976
976
  "submit",
977
977
  "reset"
978
978
  ]);
979
- function ti(e, t, n) {
979
+ function ri(e, t, n) {
980
980
  var r;
981
981
  const o = typeof window < "u" ? me(n == null ? void 0 : n.target).HTMLInputElement : HTMLInputElement, i = typeof window < "u" ? me(n == null ? void 0 : n.target).HTMLTextAreaElement : HTMLTextAreaElement, a = typeof window < "u" ? me(n == null ? void 0 : n.target).HTMLElement : HTMLElement, l = typeof window < "u" ? me(n == null ? void 0 : n.target).KeyboardEvent : KeyboardEvent;
982
- return e = e || (n == null ? void 0 : n.target) instanceof o && !ei.has(n == null || (r = n.target) === null || r === void 0 ? void 0 : r.type) || (n == null ? void 0 : n.target) instanceof i || (n == null ? void 0 : n.target) instanceof a && (n == null ? void 0 : n.target.isContentEditable), !(e && t === "keyboard" && n instanceof l && !Xo[n.key]);
982
+ return e = e || (n == null ? void 0 : n.target) instanceof o && !ni.has(n == null || (r = n.target) === null || r === void 0 ? void 0 : r.type) || (n == null ? void 0 : n.target) instanceof i || (n == null ? void 0 : n.target) instanceof a && (n == null ? void 0 : n.target.isContentEditable), !(e && t === "keyboard" && n instanceof l && !Jo[n.key]);
983
983
  }
984
- function ni(e, t, n) {
985
- zt(), N(() => {
984
+ function oi(e, t, n) {
985
+ jt(), M(() => {
986
986
  let r = (o, i) => {
987
- ti(!!(n != null && n.isTextInput), o, i) && e(Rr());
987
+ ri(!!(n != null && n.isTextInput), o, i) && e(Vr());
988
988
  };
989
989
  return Wt.add(r), () => {
990
990
  Wt.delete(r);
991
991
  };
992
992
  }, t);
993
993
  }
994
- function ri(e) {
995
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: o } = e, i = w({
994
+ function ii(e) {
995
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: o } = e, i = b({
996
996
  isFocusWithin: !1
997
- }), a = I((u) => {
997
+ }), a = A((u) => {
998
998
  i.current.isFocusWithin && !u.currentTarget.contains(u.relatedTarget) && (i.current.isFocusWithin = !1, n && n(u), o && o(!1));
999
999
  }, [
1000
1000
  n,
1001
1001
  o,
1002
1002
  i
1003
- ]), l = Dr(a), s = I((u) => {
1003
+ ]), l = Dr(a), s = A((u) => {
1004
1004
  !i.current.isFocusWithin && document.activeElement === u.target && (r && r(u), o && o(!0), i.current.isFocusWithin = !0, l(u));
1005
1005
  }, [
1006
1006
  r,
@@ -1026,55 +1026,55 @@ function Bt() {
1026
1026
  ct = !1;
1027
1027
  }, 50);
1028
1028
  }
1029
- function jn(e) {
1029
+ function zn(e) {
1030
1030
  e.pointerType === "touch" && Bt();
1031
1031
  }
1032
- function oi() {
1032
+ function ai() {
1033
1033
  if (!(typeof document > "u"))
1034
- return typeof PointerEvent < "u" ? document.addEventListener("pointerup", jn) : document.addEventListener("touchend", Bt), St++, () => {
1035
- St--, !(St > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", jn) : document.removeEventListener("touchend", Bt));
1034
+ return typeof PointerEvent < "u" ? document.addEventListener("pointerup", zn) : document.addEventListener("touchend", Bt), St++, () => {
1035
+ St--, !(St > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", zn) : document.removeEventListener("touchend", Bt));
1036
1036
  };
1037
1037
  }
1038
- function ii(e) {
1039
- let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] = k(!1), l = w({
1038
+ function li(e) {
1039
+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] = T(!1), l = b({
1040
1040
  isHovered: !1,
1041
1041
  ignoreEmulatedMouseEvents: !1,
1042
1042
  pointerType: "",
1043
1043
  target: null
1044
1044
  }).current;
1045
- N(oi, []);
1045
+ M(ai, []);
1046
1046
  let { hoverProps: s, triggerHoverEnd: u } = x(() => {
1047
- let d = (f, h) => {
1048
- if (l.pointerType = h, o || h === "touch" || l.isHovered || !f.currentTarget.contains(f.target)) return;
1047
+ let d = (f, _) => {
1048
+ if (l.pointerType = _, o || _ === "touch" || l.isHovered || !f.currentTarget.contains(f.target)) return;
1049
1049
  l.isHovered = !0;
1050
- let y = f.currentTarget;
1051
- l.target = y, t && t({
1050
+ let v = f.currentTarget;
1051
+ l.target = v, t && t({
1052
1052
  type: "hoverstart",
1053
- target: y,
1054
- pointerType: h
1053
+ target: v,
1054
+ pointerType: _
1055
1055
  }), n && n(!0), a(!0);
1056
- }, c = (f, h) => {
1057
- if (l.pointerType = "", l.target = null, h === "touch" || !l.isHovered) return;
1056
+ }, c = (f, _) => {
1057
+ if (l.pointerType = "", l.target = null, _ === "touch" || !l.isHovered) return;
1058
1058
  l.isHovered = !1;
1059
- let y = f.currentTarget;
1059
+ let v = f.currentTarget;
1060
1060
  r && r({
1061
1061
  type: "hoverend",
1062
- target: y,
1063
- pointerType: h
1062
+ target: v,
1063
+ pointerType: _
1064
1064
  }), n && n(!1), a(!1);
1065
- }, p = {};
1066
- return typeof PointerEvent < "u" ? (p.onPointerEnter = (f) => {
1065
+ }, h = {};
1066
+ return typeof PointerEvent < "u" ? (h.onPointerEnter = (f) => {
1067
1067
  ct && f.pointerType === "mouse" || d(f, f.pointerType);
1068
- }, p.onPointerLeave = (f) => {
1068
+ }, h.onPointerLeave = (f) => {
1069
1069
  !o && f.currentTarget.contains(f.target) && c(f, f.pointerType);
1070
- }) : (p.onTouchStart = () => {
1070
+ }) : (h.onTouchStart = () => {
1071
1071
  l.ignoreEmulatedMouseEvents = !0;
1072
- }, p.onMouseEnter = (f) => {
1072
+ }, h.onMouseEnter = (f) => {
1073
1073
  !l.ignoreEmulatedMouseEvents && !ct && d(f, "mouse"), l.ignoreEmulatedMouseEvents = !1;
1074
- }, p.onMouseLeave = (f) => {
1074
+ }, h.onMouseLeave = (f) => {
1075
1075
  !o && f.currentTarget.contains(f.target) && c(f, "mouse");
1076
1076
  }), {
1077
- hoverProps: p,
1077
+ hoverProps: h,
1078
1078
  triggerHoverEnd: c
1079
1079
  };
1080
1080
  }, [
@@ -1084,7 +1084,7 @@ function ii(e) {
1084
1084
  o,
1085
1085
  l
1086
1086
  ]);
1087
- return N(() => {
1087
+ return M(() => {
1088
1088
  o && u({
1089
1089
  currentTarget: l.target
1090
1090
  }, l.pointerType);
@@ -1095,35 +1095,35 @@ function ii(e) {
1095
1095
  isHovered: i
1096
1096
  };
1097
1097
  }
1098
- function ai(e = {}) {
1099
- let { autoFocus: t = !1, isTextInput: n, within: r } = e, o = w({
1098
+ function si(e = {}) {
1099
+ let { autoFocus: t = !1, isTextInput: n, within: r } = e, o = b({
1100
1100
  isFocused: !1,
1101
- isFocusVisible: t || Rr()
1102
- }), [i, a] = k(!1), [l, s] = k(() => o.current.isFocused && o.current.isFocusVisible), u = I(() => s(o.current.isFocused && o.current.isFocusVisible), []), d = I((f) => {
1101
+ isFocusVisible: t || Vr()
1102
+ }), [i, a] = T(!1), [l, s] = T(() => o.current.isFocused && o.current.isFocusVisible), u = A(() => s(o.current.isFocused && o.current.isFocusVisible), []), d = A((f) => {
1103
1103
  o.current.isFocused = f, a(f), u();
1104
1104
  }, [
1105
1105
  u
1106
1106
  ]);
1107
- ni((f) => {
1107
+ oi((f) => {
1108
1108
  o.current.isFocusVisible = f, u();
1109
1109
  }, [], {
1110
1110
  isTextInput: n
1111
1111
  });
1112
- let { focusProps: c } = Zo({
1112
+ let { focusProps: c } = Qo({
1113
1113
  isDisabled: r,
1114
1114
  onFocusChange: d
1115
- }), { focusWithinProps: p } = ri({
1115
+ }), { focusWithinProps: h } = ii({
1116
1116
  isDisabled: !r,
1117
1117
  onFocusWithinChange: d
1118
1118
  });
1119
1119
  return {
1120
1120
  isFocused: i,
1121
1121
  isFocusVisible: l,
1122
- focusProps: r ? p : c
1122
+ focusProps: r ? h : c
1123
1123
  };
1124
1124
  }
1125
- var li = Object.defineProperty, si = (e, t, n) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pt = (e, t, n) => (si(e, typeof t != "symbol" ? t + "" : t, n), n);
1126
- let ci = class {
1125
+ var ci = Object.defineProperty, ui = (e, t, n) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pt = (e, t, n) => (ui(e, typeof t != "symbol" ? t + "" : t, n), n);
1126
+ let di = class {
1127
1127
  constructor() {
1128
1128
  Pt(this, "current", this.detect()), Pt(this, "handoffState", "pending"), Pt(this, "currentId", 0);
1129
1129
  }
@@ -1151,8 +1151,8 @@ let ci = class {
1151
1151
  get isHandoffComplete() {
1152
1152
  return this.handoffState === "complete";
1153
1153
  }
1154
- }, ge = new ci();
1155
- function ht(e) {
1154
+ }, ge = new di();
1155
+ function vt(e) {
1156
1156
  return ge.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
1157
1157
  }
1158
1158
  function mt(e) {
@@ -1197,41 +1197,41 @@ function pe() {
1197
1197
  return t;
1198
1198
  }
1199
1199
  function yt() {
1200
- let [e] = k(pe);
1201
- return N(() => () => e.dispose(), [e]), e;
1200
+ let [e] = T(pe);
1201
+ return M(() => () => e.dispose(), [e]), e;
1202
1202
  }
1203
- let j = (e, t) => {
1204
- ge.isServer ? N(e, t) : Ce(e, t);
1203
+ let z = (e, t) => {
1204
+ ge.isServer ? M(e, t) : Ce(e, t);
1205
1205
  };
1206
1206
  function Te(e) {
1207
- let t = w(e);
1208
- return j(() => {
1207
+ let t = b(e);
1208
+ return z(() => {
1209
1209
  t.current = e;
1210
1210
  }, [e]), t;
1211
1211
  }
1212
- let D = function(e) {
1212
+ let L = function(e) {
1213
1213
  let t = Te(e);
1214
- return $.useCallback((...n) => t.current(...n), [t]);
1214
+ return C.useCallback((...n) => t.current(...n), [t]);
1215
1215
  };
1216
- function ui(e) {
1216
+ function fi(e) {
1217
1217
  let t = e.width / 2, n = e.height / 2;
1218
1218
  return { top: e.clientY - n, right: e.clientX + t, bottom: e.clientY + n, left: e.clientX - t };
1219
1219
  }
1220
- function di(e, t) {
1220
+ function pi(e, t) {
1221
1221
  return !(!e || !t || e.right < t.left || e.left > t.right || e.bottom < t.top || e.top > t.bottom);
1222
1222
  }
1223
- function fi({ disabled: e = !1 } = {}) {
1224
- let t = w(null), [n, r] = k(!1), o = yt(), i = D(() => {
1223
+ function hi({ disabled: e = !1 } = {}) {
1224
+ let t = b(null), [n, r] = T(!1), o = yt(), i = L(() => {
1225
1225
  t.current = null, r(!1), o.dispose();
1226
- }), a = D((l) => {
1226
+ }), a = L((l) => {
1227
1227
  if (o.dispose(), t.current === null) {
1228
1228
  t.current = l.currentTarget, r(!0);
1229
1229
  {
1230
- let s = ht(l.currentTarget);
1230
+ let s = vt(l.currentTarget);
1231
1231
  o.addEventListener(s, "pointerup", i, !1), o.addEventListener(s, "pointermove", (u) => {
1232
1232
  if (t.current) {
1233
- let d = ui(u);
1234
- r(di(d, t.current.getBoundingClientRect()));
1233
+ let d = fi(u);
1234
+ r(pi(d, t.current.getBoundingClientRect()));
1235
1235
  }
1236
1236
  }, !1), o.addEventListener(s, "pointercancel", i, !1);
1237
1237
  }
@@ -1239,9 +1239,9 @@ function fi({ disabled: e = !1 } = {}) {
1239
1239
  });
1240
1240
  return { pressed: n, pressProps: e ? {} : { onPointerDown: a, onPointerUp: i, onClick: i } };
1241
1241
  }
1242
- let pi = q(void 0);
1243
- function Vr() {
1244
- return W(pi);
1242
+ let _i = q(void 0);
1243
+ function Ur() {
1244
+ return W(_i);
1245
1245
  }
1246
1246
  function qt(...e) {
1247
1247
  return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
@@ -1257,7 +1257,7 @@ function de(e, t, ...n) {
1257
1257
  var ut = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(ut || {}), ue = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(ue || {});
1258
1258
  function Y({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, visible: i = !0, name: a, mergeRefs: l }) {
1259
1259
  l = l ?? vi;
1260
- let s = Ur(t, e);
1260
+ let s = Wr(t, e);
1261
1261
  if (i) return rt(s, n, r, a, l);
1262
1262
  let u = o ?? 0;
1263
1263
  if (u & 2) {
@@ -1279,31 +1279,31 @@ function rt(e, t = {}, n, r, o) {
1279
1279
  "className" in s && s.className && typeof s.className == "function" && (s.className = s.className(t)), s["aria-labelledby"] && s["aria-labelledby"] === s.id && (s["aria-labelledby"] = void 0);
1280
1280
  let c = {};
1281
1281
  if (t) {
1282
- let p = !1, f = [];
1283
- for (let [h, y] of Object.entries(t)) typeof y == "boolean" && (p = !0), y === !0 && f.push(h.replace(/([A-Z])/g, (m) => `-${m.toLowerCase()}`));
1284
- if (p) {
1282
+ let h = !1, f = [];
1283
+ for (let [_, v] of Object.entries(t)) typeof v == "boolean" && (h = !0), v === !0 && f.push(_.replace(/([A-Z])/g, (m) => `-${m.toLowerCase()}`));
1284
+ if (h) {
1285
1285
  c["data-headlessui-state"] = f.join(" ");
1286
- for (let h of f) c[`data-${h}`] = "";
1286
+ for (let _ of f) c[`data-${_}`] = "";
1287
1287
  }
1288
1288
  }
1289
- if (i === H && (Object.keys(ve(s)).length > 0 || Object.keys(ve(c)).length > 0)) if (!De(d) || Array.isArray(d) && d.length > 1) {
1290
- if (Object.keys(ve(s)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(ve(s)).concat(Object.keys(ve(c))).map((p) => ` - ${p}`).join(`
1291
- `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((p) => ` - ${p}`).join(`
1289
+ if (i === N && (Object.keys(he(s)).length > 0 || Object.keys(he(c)).length > 0)) if (!Ne(d) || Array.isArray(d) && d.length > 1) {
1290
+ if (Object.keys(he(s)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(he(s)).concat(Object.keys(he(c))).map((h) => ` - ${h}`).join(`
1291
+ `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((h) => ` - ${h}`).join(`
1292
1292
  `)].join(`
1293
1293
  `));
1294
1294
  } else {
1295
- let p = d.props, f = p == null ? void 0 : p.className, h = typeof f == "function" ? (..._) => qt(f(..._), s.className) : qt(f, s.className), y = h ? { className: h } : {}, m = Ur(d.props, ve(Mt(s, ["ref"])));
1296
- for (let _ in c) _ in m && delete c[_];
1297
- return cn(d, Object.assign({}, m, c, u, { ref: o(d.ref, u.ref) }, y));
1295
+ let h = d.props, f = h == null ? void 0 : h.className, _ = typeof f == "function" ? (...y) => qt(f(...y), s.className) : qt(f, s.className), v = _ ? { className: _ } : {}, m = Wr(d.props, he(Mt(s, ["ref"])));
1296
+ for (let y in c) y in m && delete c[y];
1297
+ return cn(d, Object.assign({}, m, c, u, { ref: o(d.ref, u.ref) }, v));
1298
1298
  }
1299
- return X(i, Object.assign({}, Mt(s, ["ref"]), i !== H && u, i !== H && c), d);
1299
+ return X(i, Object.assign({}, Mt(s, ["ref"]), i !== N && u, i !== N && c), d);
1300
1300
  }
1301
1301
  function vi(...e) {
1302
1302
  return e.every((t) => t == null) ? void 0 : (t) => {
1303
1303
  for (let n of e) n != null && (typeof n == "function" ? n(t) : n.current = t);
1304
1304
  };
1305
1305
  }
1306
- function Ur(...e) {
1306
+ function Wr(...e) {
1307
1307
  if (e.length === 0) return {};
1308
1308
  if (e.length === 1) return e[0];
1309
1309
  let t = {}, n = {};
@@ -1321,7 +1321,7 @@ function Ur(...e) {
1321
1321
  } });
1322
1322
  return t;
1323
1323
  }
1324
- function _i(...e) {
1324
+ function mi(...e) {
1325
1325
  if (e.length === 0) return {};
1326
1326
  if (e.length === 1) return e[0];
1327
1327
  let t = {}, n = {};
@@ -1332,11 +1332,11 @@ function _i(...e) {
1332
1332
  } });
1333
1333
  return t;
1334
1334
  }
1335
- function z(e) {
1335
+ function j(e) {
1336
1336
  var t;
1337
1337
  return Object.assign(ln(e), { displayName: (t = e.displayName) != null ? t : e.name });
1338
1338
  }
1339
- function ve(e) {
1339
+ function he(e) {
1340
1340
  let t = Object.assign({}, e);
1341
1341
  for (let n in t) t[n] === void 0 && delete t[n];
1342
1342
  return t;
@@ -1346,39 +1346,39 @@ function Mt(e, t = []) {
1346
1346
  for (let r of t) r in n && delete n[r];
1347
1347
  return n;
1348
1348
  }
1349
- let hi = "button";
1350
- function mi(e, t) {
1349
+ let yi = "button";
1350
+ function gi(e, t) {
1351
1351
  var n;
1352
- let r = Vr(), { disabled: o = r || !1, autoFocus: i = !1, ...a } = e, { isFocusVisible: l, focusProps: s } = ai({ autoFocus: i }), { isHovered: u, hoverProps: d } = ii({ isDisabled: o }), { pressed: c, pressProps: p } = fi({ disabled: o }), f = _i({ ref: t, type: (n = a.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, s, d, p), h = x(() => ({ disabled: o, hover: u, focus: l, active: c, autofocus: i }), [o, u, l, c, i]);
1353
- return Y({ ourProps: f, theirProps: a, slot: h, defaultTag: hi, name: "Button" });
1352
+ let r = Ur(), { disabled: o = r || !1, autoFocus: i = !1, ...a } = e, { isFocusVisible: l, focusProps: s } = si({ autoFocus: i }), { isHovered: u, hoverProps: d } = li({ isDisabled: o }), { pressed: c, pressProps: h } = hi({ disabled: o }), f = mi({ ref: t, type: (n = a.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, s, d, h), _ = x(() => ({ disabled: o, hover: u, focus: l, active: c, autofocus: i }), [o, u, l, c, i]);
1353
+ return Y({ ourProps: f, theirProps: a, slot: _, defaultTag: yi, name: "Button" });
1354
1354
  }
1355
- let yi = z(mi), gi = "div";
1355
+ let wi = j(gi), bi = "div";
1356
1356
  var dt = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(dt || {});
1357
- function wi(e, t) {
1357
+ function $i(e, t) {
1358
1358
  var n;
1359
1359
  let { features: r = 1, ...o } = e, i = { ref: t, "aria-hidden": (r & 2) === 2 ? !0 : (n = o["aria-hidden"]) != null ? n : void 0, hidden: (r & 4) === 4 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(r & 4) === 4 && (r & 2) !== 2 && { display: "none" } } };
1360
- return Y({ ourProps: i, theirProps: o, slot: {}, defaultTag: gi, name: "Hidden" });
1360
+ return Y({ ourProps: i, theirProps: o, slot: {}, defaultTag: bi, name: "Hidden" });
1361
1361
  }
1362
- let Yt = z(wi), bi = q(null);
1363
- function Ei({ children: e }) {
1364
- let t = W(bi);
1365
- if (!t) return $.createElement($.Fragment, null, e);
1362
+ let Yt = j($i), Ei = q(null);
1363
+ function Ci({ children: e }) {
1364
+ let t = W(Ei);
1365
+ if (!t) return C.createElement(C.Fragment, null, e);
1366
1366
  let { target: n } = t;
1367
- return n ? vt($.createElement($.Fragment, null, e), n) : null;
1367
+ return n ? ht(C.createElement(C.Fragment, null, e), n) : null;
1368
1368
  }
1369
- let Wr = Symbol();
1370
- function $i(e, t = !0) {
1371
- return Object.assign(e, { [Wr]: t });
1369
+ let zr = Symbol();
1370
+ function Ti(e, t = !0) {
1371
+ return Object.assign(e, { [zr]: t });
1372
1372
  }
1373
1373
  function J(...e) {
1374
- let t = w(e);
1375
- N(() => {
1374
+ let t = b(e);
1375
+ M(() => {
1376
1376
  t.current = e;
1377
1377
  }, [e]);
1378
- let n = D((r) => {
1378
+ let n = L((r) => {
1379
1379
  for (let o of t.current) o != null && (typeof o == "function" ? o(r) : o.current = r);
1380
1380
  });
1381
- return e.every((r) => r == null || (r == null ? void 0 : r[Wr])) ? void 0 : n;
1381
+ return e.every((r) => r == null || (r == null ? void 0 : r[zr])) ? void 0 : n;
1382
1382
  }
1383
1383
  let _n = q(null);
1384
1384
  _n.displayName = "DescriptionContext";
@@ -1390,31 +1390,31 @@ function jr() {
1390
1390
  }
1391
1391
  return e;
1392
1392
  }
1393
- function Ci() {
1394
- let [e, t] = k([]);
1393
+ function ki() {
1394
+ let [e, t] = T([]);
1395
1395
  return [e.length > 0 ? e.join(" ") : void 0, x(() => function(n) {
1396
- let r = D((i) => (t((a) => [...a, i]), () => t((a) => {
1396
+ let r = L((i) => (t((a) => [...a, i]), () => t((a) => {
1397
1397
  let l = a.slice(), s = l.indexOf(i);
1398
1398
  return s !== -1 && l.splice(s, 1), l;
1399
1399
  }))), o = x(() => ({ register: r, slot: n.slot, name: n.name, props: n.props, value: n.value }), [r, n.slot, n.name, n.props, n.value]);
1400
- return $.createElement(_n.Provider, { value: o }, n.children);
1400
+ return C.createElement(_n.Provider, { value: o }, n.children);
1401
1401
  }, [t])];
1402
1402
  }
1403
- let Ti = "p";
1404
- function ki(e, t) {
1405
- let n = fe(), r = Vr(), { id: o = `headlessui-description-${n}`, ...i } = e, a = jr(), l = J(t);
1406
- j(() => a.register(o), [o, a.register]);
1403
+ let Fi = "p";
1404
+ function xi(e, t) {
1405
+ let n = fe(), r = Ur(), { id: o = `headlessui-description-${n}`, ...i } = e, a = jr(), l = J(t);
1406
+ z(() => a.register(o), [o, a.register]);
1407
1407
  let s = r || !1, u = x(() => ({ ...a.slot, disabled: s }), [a.slot, s]), d = { ref: l, ...a.props, id: o };
1408
- return Y({ ourProps: d, theirProps: i, slot: u, defaultTag: Ti, name: a.name || "Description" });
1408
+ return Y({ ourProps: d, theirProps: i, slot: u, defaultTag: Fi, name: a.name || "Description" });
1409
1409
  }
1410
- let Fi = z(ki), xi = Object.assign(Fi, {});
1411
- var zr = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(zr || {});
1412
- let Si = q(() => {
1410
+ let Si = j(xi), Pi = Object.assign(Si, {});
1411
+ var Br = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Br || {});
1412
+ let Mi = q(() => {
1413
1413
  });
1414
- function Pi({ value: e, children: t }) {
1415
- return $.createElement(Si.Provider, { value: e }, t);
1414
+ function Li({ value: e, children: t }) {
1415
+ return C.createElement(Mi.Provider, { value: e }, t);
1416
1416
  }
1417
- let Mi = class extends Map {
1417
+ let Ni = class extends Map {
1418
1418
  constructor(t) {
1419
1419
  super(), this.factory = t;
1420
1420
  }
@@ -1423,7 +1423,7 @@ let Mi = class extends Map {
1423
1423
  return n === void 0 && (n = this.factory(t), this.set(t, n)), n;
1424
1424
  }
1425
1425
  };
1426
- function Br(e, t) {
1426
+ function qr(e, t) {
1427
1427
  let n = e(), r = /* @__PURE__ */ new Set();
1428
1428
  return { getSnapshot() {
1429
1429
  return n;
@@ -1434,10 +1434,10 @@ function Br(e, t) {
1434
1434
  a && (n = a, r.forEach((l) => l()));
1435
1435
  } };
1436
1436
  }
1437
- function qr(e) {
1437
+ function Yr(e) {
1438
1438
  return _t(e.subscribe, e.getSnapshot, e.getSnapshot);
1439
1439
  }
1440
- let Li = new Mi(() => Br(() => [], { ADD(e) {
1440
+ let Hi = new Ni(() => qr(() => [], { ADD(e) {
1441
1441
  return this.includes(e) ? this : [...this, e];
1442
1442
  }, REMOVE(e) {
1443
1443
  let t = this.indexOf(e);
@@ -1446,53 +1446,53 @@ let Li = new Mi(() => Br(() => [], { ADD(e) {
1446
1446
  return n.splice(t, 1), n;
1447
1447
  } }));
1448
1448
  function He(e, t) {
1449
- let n = Li.get(t), r = fe(), o = qr(n);
1450
- if (j(() => {
1449
+ let n = Hi.get(t), r = fe(), o = Yr(n);
1450
+ if (z(() => {
1451
1451
  if (e) return n.dispatch("ADD", r), () => n.dispatch("REMOVE", r);
1452
1452
  }, [n, e]), !e) return !1;
1453
1453
  let i = o.indexOf(r), a = o.length;
1454
1454
  return i === -1 && (i = a, a += 1), i === a - 1;
1455
1455
  }
1456
- let Kt = /* @__PURE__ */ new Map(), ze = /* @__PURE__ */ new Map();
1457
- function zn(e) {
1456
+ let Kt = /* @__PURE__ */ new Map(), je = /* @__PURE__ */ new Map();
1457
+ function jn(e) {
1458
1458
  var t;
1459
- let n = (t = ze.get(e)) != null ? t : 0;
1460
- return ze.set(e, n + 1), n !== 0 ? () => Bn(e) : (Kt.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => Bn(e));
1459
+ let n = (t = je.get(e)) != null ? t : 0;
1460
+ return je.set(e, n + 1), n !== 0 ? () => Bn(e) : (Kt.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => Bn(e));
1461
1461
  }
1462
1462
  function Bn(e) {
1463
1463
  var t;
1464
- let n = (t = ze.get(e)) != null ? t : 1;
1465
- if (n === 1 ? ze.delete(e) : ze.set(e, n - 1), n !== 1) return;
1464
+ let n = (t = je.get(e)) != null ? t : 1;
1465
+ if (n === 1 ? je.delete(e) : je.set(e, n - 1), n !== 1) return;
1466
1466
  let r = Kt.get(e);
1467
1467
  r && (r["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", r["aria-hidden"]), e.inert = r.inert, Kt.delete(e));
1468
1468
  }
1469
- function Ni(e, { allowed: t, disallowed: n } = {}) {
1469
+ function Di(e, { allowed: t, disallowed: n } = {}) {
1470
1470
  let r = He(e, "inert-others");
1471
- j(() => {
1471
+ z(() => {
1472
1472
  var o, i;
1473
1473
  if (!r) return;
1474
1474
  let a = pe();
1475
- for (let s of (o = n == null ? void 0 : n()) != null ? o : []) s && a.add(zn(s));
1475
+ for (let s of (o = n == null ? void 0 : n()) != null ? o : []) s && a.add(jn(s));
1476
1476
  let l = (i = t == null ? void 0 : t()) != null ? i : [];
1477
1477
  for (let s of l) {
1478
1478
  if (!s) continue;
1479
- let u = ht(s);
1479
+ let u = vt(s);
1480
1480
  if (!u) continue;
1481
1481
  let d = s.parentElement;
1482
1482
  for (; d && d !== u.body; ) {
1483
- for (let c of d.children) l.some((p) => c.contains(p)) || a.add(zn(c));
1483
+ for (let c of d.children) l.some((h) => c.contains(h)) || a.add(jn(c));
1484
1484
  d = d.parentElement;
1485
1485
  }
1486
1486
  }
1487
1487
  return a.dispose;
1488
1488
  }, [r, t, n]);
1489
1489
  }
1490
- function Yr(e, t, n) {
1490
+ function Kr(e, t, n) {
1491
1491
  let r = Te((o) => {
1492
1492
  let i = o.getBoundingClientRect();
1493
1493
  i.x === 0 && i.y === 0 && i.width === 0 && i.height === 0 && n();
1494
1494
  });
1495
- N(() => {
1495
+ M(() => {
1496
1496
  if (!e) return;
1497
1497
  let o = t === null ? null : t instanceof HTMLElement ? t : t.current;
1498
1498
  if (!o) return;
@@ -1508,18 +1508,18 @@ function Yr(e, t, n) {
1508
1508
  return () => i.dispose();
1509
1509
  }, [t, r, e]);
1510
1510
  }
1511
- let Gt = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), Di = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
1512
- var te = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(te || {}), Zt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Zt || {}), Hi = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Hi || {});
1513
- function Ai(e = document.body) {
1511
+ let Gt = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), Ai = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
1512
+ var te = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(te || {}), Zt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Zt || {}), Oi = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Oi || {});
1513
+ function Ii(e = document.body) {
1514
1514
  return e == null ? [] : Array.from(e.querySelectorAll(Gt)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1515
1515
  }
1516
- function Oi(e = document.body) {
1517
- return e == null ? [] : Array.from(e.querySelectorAll(Di)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1516
+ function Ri(e = document.body) {
1517
+ return e == null ? [] : Array.from(e.querySelectorAll(Ai)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1518
1518
  }
1519
- var Kr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Kr || {});
1520
- function Ii(e, t = 0) {
1519
+ var Gr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Gr || {});
1520
+ function Vi(e, t = 0) {
1521
1521
  var n;
1522
- return e === ((n = ht(e)) == null ? void 0 : n.body) ? !1 : de(t, { 0() {
1522
+ return e === ((n = vt(e)) == null ? void 0 : n.body) ? !1 : de(t, { 0() {
1523
1523
  return e.matches(Gt);
1524
1524
  }, 1() {
1525
1525
  let r = e;
@@ -1530,7 +1530,7 @@ function Ii(e, t = 0) {
1530
1530
  return !1;
1531
1531
  } });
1532
1532
  }
1533
- var Ri = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(Ri || {});
1533
+ var Ui = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(Ui || {});
1534
1534
  typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (e) => {
1535
1535
  e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
1536
1536
  }, !0), document.addEventListener("click", (e) => {
@@ -1539,12 +1539,12 @@ typeof window < "u" && typeof document < "u" && (document.addEventListener("keyd
1539
1539
  function oe(e) {
1540
1540
  e == null || e.focus({ preventScroll: !0 });
1541
1541
  }
1542
- let Vi = ["textarea", "input"].join(",");
1543
- function Ui(e) {
1542
+ let Wi = ["textarea", "input"].join(",");
1543
+ function zi(e) {
1544
1544
  var t, n;
1545
- return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, Vi)) != null ? n : !1;
1545
+ return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, Wi)) != null ? n : !1;
1546
1546
  }
1547
- function Wi(e, t = (n) => n) {
1547
+ function ji(e, t = (n) => n) {
1548
1548
  return e.slice().sort((n, r) => {
1549
1549
  let o = t(n), i = t(r);
1550
1550
  if (o === null || i === null) return 0;
@@ -1553,8 +1553,8 @@ function Wi(e, t = (n) => n) {
1553
1553
  });
1554
1554
  }
1555
1555
  function Be(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
1556
- let i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ? Wi(e) : e : t & 64 ? Oi(e) : Ai(e);
1557
- o.length > 0 && a.length > 1 && (a = a.filter((f) => !o.some((h) => h != null && "current" in h ? (h == null ? void 0 : h.current) === f : h === f))), r = r ?? i.activeElement;
1556
+ let i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ? ji(e) : e : t & 64 ? Ri(e) : Ii(e);
1557
+ o.length > 0 && a.length > 1 && (a = a.filter((f) => !o.some((_) => _ != null && "current" in _ ? (_ == null ? void 0 : _.current) === f : _ === f))), r = r ?? i.activeElement;
1558
1558
  let l = (() => {
1559
1559
  if (t & 5) return 1;
1560
1560
  if (t & 10) return -1;
@@ -1565,7 +1565,7 @@ function Be(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] }
1565
1565
  if (t & 4) return Math.max(0, a.indexOf(r)) + 1;
1566
1566
  if (t & 8) return a.length - 1;
1567
1567
  throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
1568
- })(), u = t & 32 ? { preventScroll: !0 } : {}, d = 0, c = a.length, p;
1568
+ })(), u = t & 32 ? { preventScroll: !0 } : {}, d = 0, c = a.length, h;
1569
1569
  do {
1570
1570
  if (d >= c || d + c <= 0) return 0;
1571
1571
  let f = s + d;
@@ -1574,22 +1574,22 @@ function Be(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] }
1574
1574
  if (f < 0) return 3;
1575
1575
  if (f >= c) return 1;
1576
1576
  }
1577
- p = a[f], p == null || p.focus(u), d += l;
1578
- } while (p !== i.activeElement);
1579
- return t & 6 && Ui(p) && p.select(), 2;
1577
+ h = a[f], h == null || h.focus(u), d += l;
1578
+ } while (h !== i.activeElement);
1579
+ return t & 6 && zi(h) && h.select(), 2;
1580
1580
  }
1581
- function Gr() {
1581
+ function Zr() {
1582
1582
  return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
1583
1583
  }
1584
- function ji() {
1584
+ function Bi() {
1585
1585
  return /Android/gi.test(window.navigator.userAgent);
1586
1586
  }
1587
- function zi() {
1588
- return Gr() || ji();
1587
+ function qi() {
1588
+ return Zr() || Bi();
1589
1589
  }
1590
1590
  function Ie(e, t, n, r) {
1591
1591
  let o = Te(n);
1592
- N(() => {
1592
+ M(() => {
1593
1593
  if (!e) return;
1594
1594
  function i(a) {
1595
1595
  o.current(a);
@@ -1597,9 +1597,9 @@ function Ie(e, t, n, r) {
1597
1597
  return document.addEventListener(t, i, r), () => document.removeEventListener(t, i, r);
1598
1598
  }, [e, t, r]);
1599
1599
  }
1600
- function Zr(e, t, n, r) {
1600
+ function Xr(e, t, n, r) {
1601
1601
  let o = Te(n);
1602
- N(() => {
1602
+ M(() => {
1603
1603
  if (!e) return;
1604
1604
  function i(a) {
1605
1605
  o.current(a);
@@ -1608,21 +1608,21 @@ function Zr(e, t, n, r) {
1608
1608
  }, [e, t, r]);
1609
1609
  }
1610
1610
  const qn = 30;
1611
- function Bi(e, t, n) {
1612
- let r = He(e, "outside-click"), o = Te(n), i = I(function(s, u) {
1611
+ function Yi(e, t, n) {
1612
+ let r = He(e, "outside-click"), o = Te(n), i = A(function(s, u) {
1613
1613
  if (s.defaultPrevented) return;
1614
1614
  let d = u(s);
1615
1615
  if (d === null || !d.getRootNode().contains(d) || !d.isConnected) return;
1616
- let c = function p(f) {
1617
- return typeof f == "function" ? p(f()) : Array.isArray(f) || f instanceof Set ? f : [f];
1616
+ let c = function h(f) {
1617
+ return typeof f == "function" ? h(f()) : Array.isArray(f) || f instanceof Set ? f : [f];
1618
1618
  }(t);
1619
- for (let p of c) {
1620
- if (p === null) continue;
1621
- let f = p instanceof HTMLElement ? p : p.current;
1619
+ for (let h of c) {
1620
+ if (h === null) continue;
1621
+ let f = h instanceof HTMLElement ? h : h.current;
1622
1622
  if (f != null && f.contains(d) || s.composed && s.composedPath().includes(f)) return;
1623
1623
  }
1624
- return !Ii(d, Kr.Loose) && d.tabIndex !== -1 && s.preventDefault(), o.current(s, d);
1625
- }, [o]), a = w(null);
1624
+ return !Vi(d, Gr.Loose) && d.tabIndex !== -1 && s.preventDefault(), o.current(s, d);
1625
+ }, [o]), a = b(null);
1626
1626
  Ie(r, "pointerdown", (s) => {
1627
1627
  var u, d;
1628
1628
  a.current = ((d = (u = s.composedPath) == null ? void 0 : u.call(s)) == null ? void 0 : d[0]) || s.target;
@@ -1630,22 +1630,22 @@ function Bi(e, t, n) {
1630
1630
  var u, d;
1631
1631
  a.current = ((d = (u = s.composedPath) == null ? void 0 : u.call(s)) == null ? void 0 : d[0]) || s.target;
1632
1632
  }, !0), Ie(r, "click", (s) => {
1633
- zi() || a.current && (i(s, () => a.current), a.current = null);
1633
+ qi() || a.current && (i(s, () => a.current), a.current = null);
1634
1634
  }, !0);
1635
- let l = w({ x: 0, y: 0 });
1635
+ let l = b({ x: 0, y: 0 });
1636
1636
  Ie(r, "touchstart", (s) => {
1637
1637
  l.current.x = s.touches[0].clientX, l.current.y = s.touches[0].clientY;
1638
1638
  }, !0), Ie(r, "touchend", (s) => {
1639
1639
  let u = { x: s.changedTouches[0].clientX, y: s.changedTouches[0].clientY };
1640
1640
  if (!(Math.abs(u.x - l.current.x) >= qn || Math.abs(u.y - l.current.y) >= qn)) return i(s, () => s.target instanceof HTMLElement ? s.target : null);
1641
- }, !0), Zr(r, "blur", (s) => i(s, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
1641
+ }, !0), Xr(r, "blur", (s) => i(s, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
1642
1642
  }
1643
1643
  function Xe(...e) {
1644
- return x(() => ht(...e), [...e]);
1644
+ return x(() => vt(...e), [...e]);
1645
1645
  }
1646
- function Xr(e, t, n, r) {
1646
+ function Qr(e, t, n, r) {
1647
1647
  let o = Te(n);
1648
- N(() => {
1648
+ M(() => {
1649
1649
  e = e ?? window;
1650
1650
  function i(a) {
1651
1651
  o.current(a);
@@ -1653,7 +1653,7 @@ function Xr(e, t, n, r) {
1653
1653
  return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r);
1654
1654
  }, [e, t, r]);
1655
1655
  }
1656
- function qi() {
1656
+ function Ki() {
1657
1657
  let e;
1658
1658
  return { before({ doc: t }) {
1659
1659
  var n;
@@ -1664,8 +1664,8 @@ function qi() {
1664
1664
  n.style(r, "paddingRight", `${i}px`);
1665
1665
  } };
1666
1666
  }
1667
- function Yi() {
1668
- return Gr() ? { before({ doc: e, d: t, meta: n }) {
1667
+ function Gi() {
1668
+ return Zr() ? { before({ doc: e, d: t, meta: n }) {
1669
1669
  function r(o) {
1670
1670
  return n.containers.flatMap((i) => i()).some((i) => i.contains(o));
1671
1671
  }
@@ -1707,17 +1707,17 @@ function Yi() {
1707
1707
  });
1708
1708
  } } : {};
1709
1709
  }
1710
- function Ki() {
1710
+ function Zi() {
1711
1711
  return { before({ doc: e, d: t }) {
1712
1712
  t.style(e.documentElement, "overflow", "hidden");
1713
1713
  } };
1714
1714
  }
1715
- function Gi(e) {
1715
+ function Xi(e) {
1716
1716
  let t = {};
1717
1717
  for (let n of e) Object.assign(t, n(t));
1718
1718
  return t;
1719
1719
  }
1720
- let ye = Br(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
1720
+ let ye = qr(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
1721
1721
  var n;
1722
1722
  let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: pe(), meta: /* @__PURE__ */ new Set() };
1723
1723
  return r.count++, r.meta.add(t), this.set(e, r), this;
@@ -1725,7 +1725,7 @@ let ye = Br(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
1725
1725
  let n = this.get(e);
1726
1726
  return n && (n.count--, n.meta.delete(t)), this;
1727
1727
  }, SCROLL_PREVENT({ doc: e, d: t, meta: n }) {
1728
- let r = { doc: e, d: t, meta: Gi(n) }, o = [Yi(), qi(), Ki()];
1728
+ let r = { doc: e, d: t, meta: Xi(n) }, o = [Gi(), Ki(), Zi()];
1729
1729
  o.forEach(({ before: i }) => i == null ? void 0 : i(r)), o.forEach(({ after: i }) => i == null ? void 0 : i(r));
1730
1730
  }, SCROLL_ALLOW({ d: e }) {
1731
1731
  e.dispose();
@@ -1740,63 +1740,63 @@ ye.subscribe(() => {
1740
1740
  (o && !r || !o && r) && ye.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && ye.dispatch("TEARDOWN", n);
1741
1741
  }
1742
1742
  });
1743
- function Zi(e, t, n = () => ({ containers: [] })) {
1744
- let r = qr(ye), o = t ? r.get(t) : void 0, i = o ? o.count > 0 : !1;
1745
- return j(() => {
1743
+ function Qi(e, t, n = () => ({ containers: [] })) {
1744
+ let r = Yr(ye), o = t ? r.get(t) : void 0, i = o ? o.count > 0 : !1;
1745
+ return z(() => {
1746
1746
  if (!(!t || !e)) return ye.dispatch("PUSH", t, n), () => ye.dispatch("POP", t, n);
1747
1747
  }, [e, t]), i;
1748
1748
  }
1749
- function Xi(e, t, n = () => [document.body]) {
1749
+ function Ji(e, t, n = () => [document.body]) {
1750
1750
  let r = He(e, "scroll-lock");
1751
- Zi(r, t, (o) => {
1751
+ Qi(r, t, (o) => {
1752
1752
  var i;
1753
1753
  return { containers: [...(i = o.containers) != null ? i : [], n] };
1754
1754
  });
1755
1755
  }
1756
- function Qi(e) {
1756
+ function ea(e) {
1757
1757
  let t = { called: !1 };
1758
1758
  return (...n) => {
1759
1759
  if (!t.called) return t.called = !0, e(...n);
1760
1760
  };
1761
1761
  }
1762
- function Ji(e = 0) {
1763
- let [t, n] = k(e), r = I((s) => n(s), [t]), o = I((s) => n((u) => u | s), [t]), i = I((s) => (t & s) === s, [t]), a = I((s) => n((u) => u & ~s), [n]), l = I((s) => n((u) => u ^ s), [n]);
1762
+ function ta(e = 0) {
1763
+ let [t, n] = T(e), r = A((s) => n(s), [t]), o = A((s) => n((u) => u | s), [t]), i = A((s) => (t & s) === s, [t]), a = A((s) => n((u) => u & ~s), [n]), l = A((s) => n((u) => u ^ s), [n]);
1764
1764
  return { flags: t, setFlag: r, addFlag: o, hasFlag: i, removeFlag: a, toggleFlag: l };
1765
1765
  }
1766
- var ea = ((e) => (e[e.None = 0] = "None", e[e.Closed = 1] = "Closed", e[e.Enter = 2] = "Enter", e[e.Leave = 4] = "Leave", e))(ea || {});
1767
- function ta(e) {
1766
+ var na = ((e) => (e[e.None = 0] = "None", e[e.Closed = 1] = "Closed", e[e.Enter = 2] = "Enter", e[e.Leave = 4] = "Leave", e))(na || {});
1767
+ function ra(e) {
1768
1768
  let t = {};
1769
1769
  for (let n in e) e[n] === !0 && (t[`data-${n}`] = "");
1770
1770
  return t;
1771
1771
  }
1772
- function na(e, t, n, r) {
1773
- let [o, i] = k(n), { hasFlag: a, addFlag: l, removeFlag: s } = Ji(e && o ? 3 : 0), u = w(!1), d = w(!1), c = yt();
1774
- return j(function p() {
1772
+ function oa(e, t, n, r) {
1773
+ let [o, i] = T(n), { hasFlag: a, addFlag: l, removeFlag: s } = ta(e && o ? 3 : 0), u = b(!1), d = b(!1), c = yt();
1774
+ return z(function h() {
1775
1775
  var f;
1776
1776
  if (!e) return;
1777
1777
  n && i(!0);
1778
- let h = t.current;
1779
- return h ? ((f = r == null ? void 0 : r.start) == null || f.call(r, n), ra(h, { inFlight: u, prepare() {
1778
+ let _ = t.current;
1779
+ return _ ? ((f = r == null ? void 0 : r.start) == null || f.call(r, n), ia(_, { inFlight: u, prepare() {
1780
1780
  d.current ? d.current = !1 : d.current = u.current, u.current = !0, !d.current && (n ? (l(3), s(4)) : (l(4), s(2)));
1781
1781
  }, run() {
1782
1782
  d.current ? n ? (s(3), l(4)) : (s(4), l(3)) : n ? s(1) : l(1);
1783
1783
  }, done() {
1784
- var y;
1785
- d.current && typeof h.getAnimations == "function" && h.getAnimations().length > 0 || (u.current = !1, s(7), n || i(!1), (y = r == null ? void 0 : r.end) == null || y.call(r, n));
1786
- } })) : n ? (l(3), c.nextFrame(() => p())) : void 0;
1784
+ var v;
1785
+ d.current && typeof _.getAnimations == "function" && _.getAnimations().length > 0 || (u.current = !1, s(7), n || i(!1), (v = r == null ? void 0 : r.end) == null || v.call(r, n));
1786
+ } })) : n ? (l(3), c.nextFrame(() => h())) : void 0;
1787
1787
  }, [e, n, t, c]), e ? [o, { closed: a(1), enter: a(2), leave: a(4), transition: a(2) || a(4) }] : [n, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
1788
1788
  }
1789
- function ra(e, { prepare: t, run: n, done: r, inFlight: o }) {
1789
+ function ia(e, { prepare: t, run: n, done: r, inFlight: o }) {
1790
1790
  let i = pe();
1791
- return ia(e, { prepare: t, inFlight: o }), i.nextFrame(() => {
1792
- i.add(oa(e, r)), n();
1791
+ return la(e, { prepare: t, inFlight: o }), i.nextFrame(() => {
1792
+ i.add(aa(e, r)), n();
1793
1793
  }), i.dispose;
1794
1794
  }
1795
- function oa(e, t) {
1796
- let n = Qi(t), r = pe();
1795
+ function aa(e, t) {
1796
+ let n = ea(t), r = pe();
1797
1797
  if (!e) return r.dispose;
1798
1798
  let { transitionDuration: o, transitionDelay: i } = getComputedStyle(e), [a, l] = [o, i].map((u) => {
1799
- let [d = 0] = u.split(",").filter(Boolean).map((c) => c.includes("ms") ? parseFloat(c) : parseFloat(c) * 1e3).sort((c, p) => p - c);
1799
+ let [d = 0] = u.split(",").filter(Boolean).map((c) => c.includes("ms") ? parseFloat(c) : parseFloat(c) * 1e3).sort((c, h) => h - c);
1800
1800
  return d;
1801
1801
  }), s = a + l;
1802
1802
  if (s !== 0) {
@@ -1804,8 +1804,8 @@ function oa(e, t) {
1804
1804
  let c = d.setTimeout(() => {
1805
1805
  n(), d.dispose();
1806
1806
  }, s);
1807
- d.addEventListener(e, "transitionrun", (p) => {
1808
- p.target === p.currentTarget && (c(), d.addEventListener(e, "transitioncancel", (f) => {
1807
+ d.addEventListener(e, "transitionrun", (h) => {
1808
+ h.target === h.currentTarget && (c(), d.addEventListener(e, "transitioncancel", (f) => {
1809
1809
  f.target === f.currentTarget && (n(), u());
1810
1810
  }));
1811
1811
  });
@@ -1816,7 +1816,7 @@ function oa(e, t) {
1816
1816
  } else n();
1817
1817
  return r.dispose;
1818
1818
  }
1819
- function ia(e, { inFlight: t, prepare: n }) {
1819
+ function la(e, { inFlight: t, prepare: n }) {
1820
1820
  if (t != null && t.current) {
1821
1821
  n();
1822
1822
  return;
@@ -1824,9 +1824,9 @@ function ia(e, { inFlight: t, prepare: n }) {
1824
1824
  let r = e.style.transition;
1825
1825
  e.style.transition = "none", n(), e.offsetHeight, e.style.transition = r;
1826
1826
  }
1827
- function hn(e, t) {
1828
- let n = w([]), r = D(e);
1829
- N(() => {
1827
+ function vn(e, t) {
1828
+ let n = b([]), r = L(e);
1829
+ M(() => {
1830
1830
  let o = [...n.current];
1831
1831
  for (let [i, a] of t.entries()) if (n.current[i] !== a) {
1832
1832
  let l = r(t, o);
@@ -1840,53 +1840,53 @@ var G = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing
1840
1840
  function wt() {
1841
1841
  return W(gt);
1842
1842
  }
1843
- function aa({ value: e, children: t }) {
1844
- return $.createElement(gt.Provider, { value: e }, t);
1843
+ function sa({ value: e, children: t }) {
1844
+ return C.createElement(gt.Provider, { value: e }, t);
1845
1845
  }
1846
- function la({ children: e }) {
1847
- return $.createElement(gt.Provider, { value: null }, e);
1846
+ function ca({ children: e }) {
1847
+ return C.createElement(gt.Provider, { value: null }, e);
1848
1848
  }
1849
- function sa(e) {
1849
+ function ua(e) {
1850
1850
  function t() {
1851
1851
  document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", t));
1852
1852
  }
1853
1853
  typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", t), t());
1854
1854
  }
1855
1855
  let ce = [];
1856
- sa(() => {
1856
+ ua(() => {
1857
1857
  function e(t) {
1858
1858
  t.target instanceof HTMLElement && t.target !== document.body && ce[0] !== t.target && (ce.unshift(t.target), ce = ce.filter((n) => n != null && n.isConnected), ce.splice(10));
1859
1859
  }
1860
1860
  window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
1861
1861
  });
1862
- function Qr(e) {
1863
- let t = D(e), n = w(!1);
1864
- N(() => (n.current = !1, () => {
1862
+ function Jr(e) {
1863
+ let t = L(e), n = b(!1);
1864
+ M(() => (n.current = !1, () => {
1865
1865
  n.current = !0, mt(() => {
1866
1866
  n.current && t();
1867
1867
  });
1868
1868
  }), [t]);
1869
1869
  }
1870
- function ca() {
1870
+ function da() {
1871
1871
  let e = typeof document > "u";
1872
1872
  return "useSyncExternalStore" in Wn ? ((t) => t.useSyncExternalStore)(Wn)(() => () => {
1873
1873
  }, () => !1, () => !e) : !1;
1874
1874
  }
1875
1875
  function Qe() {
1876
- let e = ca(), [t, n] = k(ge.isHandoffComplete);
1877
- return t && ge.isHandoffComplete === !1 && n(!1), N(() => {
1876
+ let e = da(), [t, n] = T(ge.isHandoffComplete);
1877
+ return t && ge.isHandoffComplete === !1 && n(!1), M(() => {
1878
1878
  t !== !0 && n(!0);
1879
- }, [t]), N(() => ge.handoff(), []), e ? !1 : t;
1879
+ }, [t]), M(() => ge.handoff(), []), e ? !1 : t;
1880
1880
  }
1881
- let Jr = q(!1);
1882
- function ua() {
1883
- return W(Jr);
1881
+ let eo = q(!1);
1882
+ function fa() {
1883
+ return W(eo);
1884
1884
  }
1885
1885
  function Yn(e) {
1886
- return $.createElement(Jr.Provider, { value: e.force }, e.children);
1886
+ return C.createElement(eo.Provider, { value: e.force }, e.children);
1887
1887
  }
1888
- function da(e) {
1889
- let t = ua(), n = W(to), r = Xe(e), [o, i] = k(() => {
1888
+ function pa(e) {
1889
+ let t = fa(), n = W(no), r = Xe(e), [o, i] = T(() => {
1890
1890
  var a;
1891
1891
  if (!t && n !== null) return (a = n.current) != null ? a : null;
1892
1892
  if (ge.isServer) return null;
@@ -1896,58 +1896,58 @@ function da(e) {
1896
1896
  let s = r.createElement("div");
1897
1897
  return s.setAttribute("id", "headlessui-portal-root"), r.body.appendChild(s);
1898
1898
  });
1899
- return N(() => {
1899
+ return M(() => {
1900
1900
  o !== null && (r != null && r.body.contains(o) || r == null || r.body.appendChild(o));
1901
- }, [o, r]), N(() => {
1901
+ }, [o, r]), M(() => {
1902
1902
  t || n !== null && i(n.current);
1903
1903
  }, [n, i, t]), o;
1904
1904
  }
1905
- let eo = H, fa = z(function(e, t) {
1906
- let n = e, r = w(null), o = J($i((d) => {
1905
+ let to = N, ha = j(function(e, t) {
1906
+ let n = e, r = b(null), o = J(Ti((d) => {
1907
1907
  r.current = d;
1908
- }), t), i = Xe(r), a = da(r), [l] = k(() => {
1908
+ }), t), i = Xe(r), a = pa(r), [l] = T(() => {
1909
1909
  var d;
1910
1910
  return ge.isServer ? null : (d = i == null ? void 0 : i.createElement("div")) != null ? d : null;
1911
1911
  }), s = W(Xt), u = Qe();
1912
- return j(() => {
1912
+ return z(() => {
1913
1913
  !a || !l || a.contains(l) || (l.setAttribute("data-headlessui-portal", ""), a.appendChild(l));
1914
- }, [a, l]), j(() => {
1914
+ }, [a, l]), z(() => {
1915
1915
  if (l && s) return s.register(l);
1916
- }, [s, l]), Qr(() => {
1916
+ }, [s, l]), Jr(() => {
1917
1917
  var d;
1918
1918
  !a || !l || (l instanceof Node && a.contains(l) && a.removeChild(l), a.childNodes.length <= 0 && ((d = a.parentElement) == null || d.removeChild(a)));
1919
- }), u ? !a || !l ? null : vt(Y({ ourProps: { ref: o }, theirProps: n, slot: {}, defaultTag: eo, name: "Portal" }), l) : null;
1919
+ }), u ? !a || !l ? null : ht(Y({ ourProps: { ref: o }, theirProps: n, slot: {}, defaultTag: to, name: "Portal" }), l) : null;
1920
1920
  });
1921
- function pa(e, t) {
1921
+ function _a(e, t) {
1922
1922
  let n = J(t), { enabled: r = !0, ...o } = e;
1923
- return r ? $.createElement(fa, { ...o, ref: n }) : Y({ ourProps: { ref: n }, theirProps: o, slot: {}, defaultTag: eo, name: "Portal" });
1923
+ return r ? C.createElement(ha, { ...o, ref: n }) : Y({ ourProps: { ref: n }, theirProps: o, slot: {}, defaultTag: to, name: "Portal" });
1924
1924
  }
1925
- let va = H, to = q(null);
1926
- function _a(e, t) {
1925
+ let va = N, no = q(null);
1926
+ function ma(e, t) {
1927
1927
  let { target: n, ...r } = e, o = { ref: J(t) };
1928
- return $.createElement(to.Provider, { value: n }, Y({ ourProps: o, theirProps: r, defaultTag: va, name: "Popover.Group" }));
1928
+ return C.createElement(no.Provider, { value: n }, Y({ ourProps: o, theirProps: r, defaultTag: va, name: "Popover.Group" }));
1929
1929
  }
1930
1930
  let Xt = q(null);
1931
- function ha() {
1932
- let e = W(Xt), t = w([]), n = D((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = D((i) => {
1931
+ function ya() {
1932
+ let e = W(Xt), t = b([]), n = L((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = L((i) => {
1933
1933
  let a = t.current.indexOf(i);
1934
1934
  a !== -1 && t.current.splice(a, 1), e && e.unregister(i);
1935
1935
  }), o = x(() => ({ register: n, unregister: r, portals: t }), [n, r, t]);
1936
1936
  return [t, x(() => function({ children: i }) {
1937
- return $.createElement(Xt.Provider, { value: o }, i);
1937
+ return C.createElement(Xt.Provider, { value: o }, i);
1938
1938
  }, [o])];
1939
1939
  }
1940
- let ma = z(pa), no = z(_a), ya = Object.assign(ma, { Group: no });
1941
- function ga(e, t = typeof document < "u" ? document.defaultView : null, n) {
1940
+ let ga = j(_a), ro = j(ma), wa = Object.assign(ga, { Group: ro });
1941
+ function ba(e, t = typeof document < "u" ? document.defaultView : null, n) {
1942
1942
  let r = He(e, "escape");
1943
- Xr(t, "keydown", (o) => {
1944
- r && (o.defaultPrevented || o.key === zr.Escape && n(o));
1943
+ Qr(t, "keydown", (o) => {
1944
+ r && (o.defaultPrevented || o.key === Br.Escape && n(o));
1945
1945
  });
1946
1946
  }
1947
- function wa() {
1947
+ function $a() {
1948
1948
  var e;
1949
- let [t] = k(() => typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [n, r] = k((e = t == null ? void 0 : t.matches) != null ? e : !1);
1950
- return j(() => {
1949
+ let [t] = T(() => typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [n, r] = T((e = t == null ? void 0 : t.matches) != null ? e : !1);
1950
+ return z(() => {
1951
1951
  if (!t) return;
1952
1952
  function o(i) {
1953
1953
  r(i.matches);
@@ -1955,94 +1955,94 @@ function wa() {
1955
1955
  return t.addEventListener("change", o), () => t.removeEventListener("change", o);
1956
1956
  }, [t]), n;
1957
1957
  }
1958
- function ba({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {}) {
1958
+ function Ea({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {}) {
1959
1959
  var r;
1960
- let o = w((r = n == null ? void 0 : n.current) != null ? r : null), i = Xe(o), a = D(() => {
1960
+ let o = b((r = n == null ? void 0 : n.current) != null ? r : null), i = Xe(o), a = L(() => {
1961
1961
  var l, s, u;
1962
1962
  let d = [];
1963
1963
  for (let c of e) c !== null && (c instanceof HTMLElement ? d.push(c) : "current" in c && c.current instanceof HTMLElement && d.push(c.current));
1964
1964
  if (t != null && t.current) for (let c of t.current) d.push(c);
1965
- for (let c of (l = i == null ? void 0 : i.querySelectorAll("html > *, body > *")) != null ? l : []) c !== document.body && c !== document.head && c instanceof HTMLElement && c.id !== "headlessui-portal-root" && (c.contains(o.current) || c.contains((u = (s = o.current) == null ? void 0 : s.getRootNode()) == null ? void 0 : u.host) || d.some((p) => c.contains(p)) || d.push(c));
1965
+ for (let c of (l = i == null ? void 0 : i.querySelectorAll("html > *, body > *")) != null ? l : []) c !== document.body && c !== document.head && c instanceof HTMLElement && c.id !== "headlessui-portal-root" && (c.contains(o.current) || c.contains((u = (s = o.current) == null ? void 0 : s.getRootNode()) == null ? void 0 : u.host) || d.some((h) => c.contains(h)) || d.push(c));
1966
1966
  return d;
1967
1967
  });
1968
- return { resolveContainers: a, contains: D((l) => a().some((s) => s.contains(l))), mainTreeNodeRef: o, MainTreeNode: x(() => function() {
1969
- return n != null ? null : $.createElement(Yt, { features: dt.Hidden, ref: o });
1968
+ return { resolveContainers: a, contains: L((l) => a().some((s) => s.contains(l))), mainTreeNodeRef: o, MainTreeNode: x(() => function() {
1969
+ return n != null ? null : C.createElement(Yt, { features: dt.Hidden, ref: o });
1970
1970
  }, [o, n]) };
1971
1971
  }
1972
1972
  function mn() {
1973
- let e = w(!1);
1974
- return j(() => (e.current = !0, () => {
1973
+ let e = b(!1);
1974
+ return z(() => (e.current = !0, () => {
1975
1975
  e.current = !1;
1976
1976
  }), []), e;
1977
1977
  }
1978
1978
  var Ve = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(Ve || {});
1979
- function Ea() {
1980
- let e = w(0);
1981
- return Zr(!0, "keydown", (t) => {
1979
+ function Ca() {
1980
+ let e = b(0);
1981
+ return Xr(!0, "keydown", (t) => {
1982
1982
  t.key === "Tab" && (e.current = t.shiftKey ? 1 : 0);
1983
1983
  }, !0), e;
1984
1984
  }
1985
- function ro(e) {
1985
+ function oo(e) {
1986
1986
  if (!e) return /* @__PURE__ */ new Set();
1987
1987
  if (typeof e == "function") return new Set(e());
1988
1988
  let t = /* @__PURE__ */ new Set();
1989
1989
  for (let n of e.current) n.current instanceof HTMLElement && t.add(n.current);
1990
1990
  return t;
1991
1991
  }
1992
- let $a = "div";
1993
- var he = ((e) => (e[e.None = 0] = "None", e[e.InitialFocus = 1] = "InitialFocus", e[e.TabLock = 2] = "TabLock", e[e.FocusLock = 4] = "FocusLock", e[e.RestoreFocus = 8] = "RestoreFocus", e[e.AutoFocus = 16] = "AutoFocus", e))(he || {});
1994
- function Ca(e, t) {
1995
- let n = w(null), r = J(n, t), { initialFocus: o, initialFocusFallback: i, containers: a, features: l = 15, ...s } = e;
1992
+ let Ta = "div";
1993
+ var ve = ((e) => (e[e.None = 0] = "None", e[e.InitialFocus = 1] = "InitialFocus", e[e.TabLock = 2] = "TabLock", e[e.FocusLock = 4] = "FocusLock", e[e.RestoreFocus = 8] = "RestoreFocus", e[e.AutoFocus = 16] = "AutoFocus", e))(ve || {});
1994
+ function ka(e, t) {
1995
+ let n = b(null), r = J(n, t), { initialFocus: o, initialFocusFallback: i, containers: a, features: l = 15, ...s } = e;
1996
1996
  Qe() || (l = 0);
1997
1997
  let u = Xe(n);
1998
- xa(l, { ownerDocument: u });
1999
- let d = Sa(l, { ownerDocument: u, container: n, initialFocus: o, initialFocusFallback: i });
2000
- Pa(l, { ownerDocument: u, container: n, containers: a, previousActiveElement: d });
2001
- let c = Ea(), p = D((_) => {
2002
- let g = n.current;
2003
- g && ((C) => C())(() => {
1998
+ Pa(l, { ownerDocument: u });
1999
+ let d = Ma(l, { ownerDocument: u, container: n, initialFocus: o, initialFocusFallback: i });
2000
+ La(l, { ownerDocument: u, container: n, containers: a, previousActiveElement: d });
2001
+ let c = Ca(), h = L((y) => {
2002
+ let $ = n.current;
2003
+ $ && ((E) => E())(() => {
2004
2004
  de(c.current, { [Ve.Forwards]: () => {
2005
- Be(g, te.First, { skipElements: [_.relatedTarget, i] });
2005
+ Be($, te.First, { skipElements: [y.relatedTarget, i] });
2006
2006
  }, [Ve.Backwards]: () => {
2007
- Be(g, te.Last, { skipElements: [_.relatedTarget, i] });
2007
+ Be($, te.Last, { skipElements: [y.relatedTarget, i] });
2008
2008
  } });
2009
2009
  });
2010
- }), f = He(!!(l & 2), "focus-trap#tab-lock"), h = yt(), y = w(!1), m = { ref: r, onKeyDown(_) {
2011
- _.key == "Tab" && (y.current = !0, h.requestAnimationFrame(() => {
2012
- y.current = !1;
2010
+ }), f = He(!!(l & 2), "focus-trap#tab-lock"), _ = yt(), v = b(!1), m = { ref: r, onKeyDown(y) {
2011
+ y.key == "Tab" && (v.current = !0, _.requestAnimationFrame(() => {
2012
+ v.current = !1;
2013
2013
  }));
2014
- }, onBlur(_) {
2014
+ }, onBlur(y) {
2015
2015
  if (!(l & 4)) return;
2016
- let g = ro(a);
2017
- n.current instanceof HTMLElement && g.add(n.current);
2018
- let C = _.relatedTarget;
2019
- C instanceof HTMLElement && C.dataset.headlessuiFocusGuard !== "true" && (oo(g, C) || (y.current ? Be(n.current, de(c.current, { [Ve.Forwards]: () => te.Next, [Ve.Backwards]: () => te.Previous }) | te.WrapAround, { relativeTo: _.target }) : _.target instanceof HTMLElement && oe(_.target)));
2016
+ let $ = oo(a);
2017
+ n.current instanceof HTMLElement && $.add(n.current);
2018
+ let E = y.relatedTarget;
2019
+ E instanceof HTMLElement && E.dataset.headlessuiFocusGuard !== "true" && (io($, E) || (v.current ? Be(n.current, de(c.current, { [Ve.Forwards]: () => te.Next, [Ve.Backwards]: () => te.Previous }) | te.WrapAround, { relativeTo: y.target }) : y.target instanceof HTMLElement && oe(y.target)));
2020
2020
  } };
2021
- return $.createElement($.Fragment, null, f && $.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: dt.Focusable }), Y({ ourProps: m, theirProps: s, defaultTag: $a, name: "FocusTrap" }), f && $.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: dt.Focusable }));
2021
+ return C.createElement(C.Fragment, null, f && C.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: h, features: dt.Focusable }), Y({ ourProps: m, theirProps: s, defaultTag: Ta, name: "FocusTrap" }), f && C.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: h, features: dt.Focusable }));
2022
2022
  }
2023
- let Ta = z(Ca), ka = Object.assign(Ta, { features: he });
2024
- function Fa(e = !0) {
2025
- let t = w(ce.slice());
2026
- return hn(([n], [r]) => {
2023
+ let Fa = j(ka), xa = Object.assign(Fa, { features: ve });
2024
+ function Sa(e = !0) {
2025
+ let t = b(ce.slice());
2026
+ return vn(([n], [r]) => {
2027
2027
  r === !0 && n === !1 && mt(() => {
2028
2028
  t.current.splice(0);
2029
2029
  }), r === !1 && n === !0 && (t.current = ce.slice());
2030
- }, [e, ce, t]), D(() => {
2030
+ }, [e, ce, t]), L(() => {
2031
2031
  var n;
2032
2032
  return (n = t.current.find((r) => r != null && r.isConnected)) != null ? n : null;
2033
2033
  });
2034
2034
  }
2035
- function xa(e, { ownerDocument: t }) {
2036
- let n = !!(e & 8), r = Fa(n);
2037
- hn(() => {
2035
+ function Pa(e, { ownerDocument: t }) {
2036
+ let n = !!(e & 8), r = Sa(n);
2037
+ vn(() => {
2038
2038
  n || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) && oe(r());
2039
- }, [n]), Qr(() => {
2039
+ }, [n]), Jr(() => {
2040
2040
  n && oe(r());
2041
2041
  });
2042
2042
  }
2043
- function Sa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFallback: o }) {
2044
- let i = w(null), a = He(!!(e & 1), "focus-trap#initial-focus"), l = mn();
2045
- return hn(() => {
2043
+ function Ma(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFallback: o }) {
2044
+ let i = b(null), a = He(!!(e & 1), "focus-trap#initial-focus"), l = mn();
2045
+ return vn(() => {
2046
2046
  if (e === 0) return;
2047
2047
  if (!a) {
2048
2048
  o != null && o.current && oe(o.current);
@@ -2073,140 +2073,140 @@ function Sa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
2073
2073
  });
2074
2074
  }, [o, a, e]), i;
2075
2075
  }
2076
- function Pa(e, { ownerDocument: t, container: n, containers: r, previousActiveElement: o }) {
2076
+ function La(e, { ownerDocument: t, container: n, containers: r, previousActiveElement: o }) {
2077
2077
  let i = mn(), a = !!(e & 4);
2078
- Xr(t == null ? void 0 : t.defaultView, "focus", (l) => {
2078
+ Qr(t == null ? void 0 : t.defaultView, "focus", (l) => {
2079
2079
  if (!a || !i.current) return;
2080
- let s = ro(r);
2080
+ let s = oo(r);
2081
2081
  n.current instanceof HTMLElement && s.add(n.current);
2082
2082
  let u = o.current;
2083
2083
  if (!u) return;
2084
2084
  let d = l.target;
2085
- d && d instanceof HTMLElement ? oo(s, d) ? (o.current = d, oe(d)) : (l.preventDefault(), l.stopPropagation(), oe(u)) : oe(o.current);
2085
+ d && d instanceof HTMLElement ? io(s, d) ? (o.current = d, oe(d)) : (l.preventDefault(), l.stopPropagation(), oe(u)) : oe(o.current);
2086
2086
  }, !0);
2087
2087
  }
2088
- function oo(e, t) {
2088
+ function io(e, t) {
2089
2089
  for (let n of e) if (n.contains(t)) return !0;
2090
2090
  return !1;
2091
2091
  }
2092
- function io(e) {
2092
+ function ao(e) {
2093
2093
  var t;
2094
- return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((t = e.as) != null ? t : lo) !== H || $.Children.count(e.children) === 1;
2094
+ return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((t = e.as) != null ? t : so) !== N || C.Children.count(e.children) === 1;
2095
2095
  }
2096
2096
  let bt = q(null);
2097
2097
  bt.displayName = "TransitionContext";
2098
- var Ma = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Ma || {});
2099
- function La() {
2098
+ var Na = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Na || {});
2099
+ function Ha() {
2100
2100
  let e = W(bt);
2101
2101
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
2102
2102
  return e;
2103
2103
  }
2104
- function Na() {
2105
- let e = W(Et);
2104
+ function Da() {
2105
+ let e = W($t);
2106
2106
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
2107
2107
  return e;
2108
2108
  }
2109
- let Et = q(null);
2110
- Et.displayName = "NestingContext";
2111
- function $t(e) {
2112
- return "children" in e ? $t(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2109
+ let $t = q(null);
2110
+ $t.displayName = "NestingContext";
2111
+ function Et(e) {
2112
+ return "children" in e ? Et(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2113
2113
  }
2114
- function ao(e, t) {
2115
- let n = Te(e), r = w([]), o = mn(), i = yt(), a = D((f, h = ue.Hidden) => {
2116
- let y = r.current.findIndex(({ el: m }) => m === f);
2117
- y !== -1 && (de(h, { [ue.Unmount]() {
2118
- r.current.splice(y, 1);
2114
+ function lo(e, t) {
2115
+ let n = Te(e), r = b([]), o = mn(), i = yt(), a = L((f, _ = ue.Hidden) => {
2116
+ let v = r.current.findIndex(({ el: m }) => m === f);
2117
+ v !== -1 && (de(_, { [ue.Unmount]() {
2118
+ r.current.splice(v, 1);
2119
2119
  }, [ue.Hidden]() {
2120
- r.current[y].state = "hidden";
2120
+ r.current[v].state = "hidden";
2121
2121
  } }), i.microTask(() => {
2122
2122
  var m;
2123
- !$t(r) && o.current && ((m = n.current) == null || m.call(n));
2123
+ !Et(r) && o.current && ((m = n.current) == null || m.call(n));
2124
2124
  }));
2125
- }), l = D((f) => {
2126
- let h = r.current.find(({ el: y }) => y === f);
2127
- return h ? h.state !== "visible" && (h.state = "visible") : r.current.push({ el: f, state: "visible" }), () => a(f, ue.Unmount);
2128
- }), s = w([]), u = w(Promise.resolve()), d = w({ enter: [], leave: [] }), c = D((f, h, y) => {
2129
- s.current.splice(0), t && (t.chains.current[h] = t.chains.current[h].filter(([m]) => m !== f)), t == null || t.chains.current[h].push([f, new Promise((m) => {
2125
+ }), l = L((f) => {
2126
+ let _ = r.current.find(({ el: v }) => v === f);
2127
+ return _ ? _.state !== "visible" && (_.state = "visible") : r.current.push({ el: f, state: "visible" }), () => a(f, ue.Unmount);
2128
+ }), s = b([]), u = b(Promise.resolve()), d = b({ enter: [], leave: [] }), c = L((f, _, v) => {
2129
+ s.current.splice(0), t && (t.chains.current[_] = t.chains.current[_].filter(([m]) => m !== f)), t == null || t.chains.current[_].push([f, new Promise((m) => {
2130
2130
  s.current.push(m);
2131
- })]), t == null || t.chains.current[h].push([f, new Promise((m) => {
2132
- Promise.all(d.current[h].map(([_, g]) => g)).then(() => m());
2133
- })]), h === "enter" ? u.current = u.current.then(() => t == null ? void 0 : t.wait.current).then(() => y(h)) : y(h);
2134
- }), p = D((f, h, y) => {
2135
- Promise.all(d.current[h].splice(0).map(([m, _]) => _)).then(() => {
2131
+ })]), t == null || t.chains.current[_].push([f, new Promise((m) => {
2132
+ Promise.all(d.current[_].map(([y, $]) => $)).then(() => m());
2133
+ })]), _ === "enter" ? u.current = u.current.then(() => t == null ? void 0 : t.wait.current).then(() => v(_)) : v(_);
2134
+ }), h = L((f, _, v) => {
2135
+ Promise.all(d.current[_].splice(0).map(([m, y]) => y)).then(() => {
2136
2136
  var m;
2137
2137
  (m = s.current.shift()) == null || m();
2138
- }).then(() => y(h));
2138
+ }).then(() => v(_));
2139
2139
  });
2140
- return x(() => ({ children: r, register: l, unregister: a, onStart: c, onStop: p, wait: u, chains: d }), [l, a, r, c, p, d, u]);
2140
+ return x(() => ({ children: r, register: l, unregister: a, onStart: c, onStop: h, wait: u, chains: d }), [l, a, r, c, h, d, u]);
2141
2141
  }
2142
- let lo = H, so = ut.RenderStrategy;
2143
- function Da(e, t) {
2142
+ let so = N, co = ut.RenderStrategy;
2143
+ function Aa(e, t) {
2144
2144
  var n, r;
2145
- let { transition: o = !0, beforeEnter: i, afterEnter: a, beforeLeave: l, afterLeave: s, enter: u, enterFrom: d, enterTo: c, entered: p, leave: f, leaveFrom: h, leaveTo: y, ...m } = e, _ = w(null), g = io(e), C = J(...g ? [_, t] : t === null ? [] : [t]), b = (n = m.unmount) == null || n ? ue.Unmount : ue.Hidden, { show: E, appear: F, initial: A } = La(), [M, S] = k(E ? "visible" : "hidden"), L = Na(), { register: U, unregister: Q } = L;
2146
- j(() => U(_), [U, _]), j(() => {
2147
- if (b === ue.Hidden && _.current) {
2148
- if (E && M !== "visible") {
2149
- S("visible");
2145
+ let { transition: o = !0, beforeEnter: i, afterEnter: a, beforeLeave: l, afterLeave: s, enter: u, enterFrom: d, enterTo: c, entered: h, leave: f, leaveFrom: _, leaveTo: v, ...m } = e, y = b(null), $ = ao(e), E = J(...$ ? [y, t] : t === null ? [] : [t]), g = (n = m.unmount) == null || n ? ue.Unmount : ue.Hidden, { show: w, appear: F, initial: H } = Ha(), [O, V] = T(w ? "visible" : "hidden"), S = Da(), { register: I, unregister: Q } = S;
2146
+ z(() => I(y), [I, y]), z(() => {
2147
+ if (g === ue.Hidden && y.current) {
2148
+ if (w && O !== "visible") {
2149
+ V("visible");
2150
2150
  return;
2151
2151
  }
2152
- return de(M, { hidden: () => Q(_), visible: () => U(_) });
2153
- }
2154
- }, [M, _, U, Q, E, b]);
2155
- let Fe = Qe();
2156
- j(() => {
2157
- if (g && Fe && M === "visible" && _.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
2158
- }, [_, M, Fe, g]);
2159
- let Tt = A && !F, Je = F && E && A, xe = w(!1), Se = ao(() => {
2160
- xe.current || (S("hidden"), Q(_));
2161
- }, L), et = D((kt) => {
2162
- xe.current = !0;
2152
+ return de(O, { hidden: () => Q(y), visible: () => I(y) });
2153
+ }
2154
+ }, [O, y, I, Q, w, g]);
2155
+ let De = Qe();
2156
+ z(() => {
2157
+ if ($ && De && O === "visible" && y.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
2158
+ }, [y, O, De, $]);
2159
+ let Tt = H && !F, Je = F && w && H, Fe = b(!1), xe = lo(() => {
2160
+ Fe.current || (V("hidden"), Q(y));
2161
+ }, S), et = L((kt) => {
2162
+ Fe.current = !0;
2163
2163
  let tt = kt ? "enter" : "leave";
2164
- Se.onStart(_, tt, (Oe) => {
2164
+ xe.onStart(y, tt, (Oe) => {
2165
2165
  Oe === "enter" ? i == null || i() : Oe === "leave" && (l == null || l());
2166
2166
  });
2167
- }), se = D((kt) => {
2167
+ }), se = L((kt) => {
2168
2168
  let tt = kt ? "enter" : "leave";
2169
- xe.current = !1, Se.onStop(_, tt, (Oe) => {
2169
+ Fe.current = !1, xe.onStop(y, tt, (Oe) => {
2170
2170
  Oe === "enter" ? a == null || a() : Oe === "leave" && (s == null || s());
2171
- }), tt === "leave" && !$t(Se) && (S("hidden"), Q(_));
2171
+ }), tt === "leave" && !Et(xe) && (V("hidden"), Q(y));
2172
2172
  });
2173
- N(() => {
2174
- g && o || (et(E), se(E));
2175
- }, [E, g, o]);
2176
- let V = !(!o || !g || !Fe || Tt), [, R] = na(V, _, E, { start: et, end: se }), yo = ve({ ref: C, className: ((r = qt(m.className, Je && u, Je && d, R.enter && u, R.enter && R.closed && d, R.enter && !R.closed && c, R.leave && f, R.leave && !R.closed && h, R.leave && R.closed && y, !R.transition && E && p)) == null ? void 0 : r.trim()) || void 0, ...ta(R) }), Ae = 0;
2177
- return M === "visible" && (Ae |= G.Open), M === "hidden" && (Ae |= G.Closed), R.enter && (Ae |= G.Opening), R.leave && (Ae |= G.Closing), $.createElement(Et.Provider, { value: Se }, $.createElement(aa, { value: Ae }, Y({ ourProps: yo, theirProps: m, defaultTag: lo, features: so, visible: M === "visible", name: "Transition.Child" })));
2178
- }
2179
- function Ha(e, t) {
2180
- let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, a = w(null), l = io(e), s = J(...l ? [a, t] : t === null ? [] : [t]);
2173
+ M(() => {
2174
+ $ && o || (et(w), se(w));
2175
+ }, [w, $, o]);
2176
+ let U = !(!o || !$ || !De || Tt), [, R] = oa(U, y, w, { start: et, end: se }), wo = he({ ref: E, className: ((r = qt(m.className, Je && u, Je && d, R.enter && u, R.enter && R.closed && d, R.enter && !R.closed && c, R.leave && f, R.leave && !R.closed && _, R.leave && R.closed && v, !R.transition && w && h)) == null ? void 0 : r.trim()) || void 0, ...ra(R) }), Ae = 0;
2177
+ return O === "visible" && (Ae |= G.Open), O === "hidden" && (Ae |= G.Closed), R.enter && (Ae |= G.Opening), R.leave && (Ae |= G.Closing), C.createElement($t.Provider, { value: xe }, C.createElement(sa, { value: Ae }, Y({ ourProps: wo, theirProps: m, defaultTag: so, features: co, visible: O === "visible", name: "Transition.Child" })));
2178
+ }
2179
+ function Oa(e, t) {
2180
+ let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, a = b(null), l = ao(e), s = J(...l ? [a, t] : t === null ? [] : [t]);
2181
2181
  Qe();
2182
2182
  let u = wt();
2183
2183
  if (n === void 0 && u !== null && (n = (u & G.Open) === G.Open), n === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
2184
- let [d, c] = k(n ? "visible" : "hidden"), p = ao(() => {
2184
+ let [d, c] = T(n ? "visible" : "hidden"), h = lo(() => {
2185
2185
  n || c("hidden");
2186
- }), [f, h] = k(!0), y = w([n]);
2187
- j(() => {
2188
- f !== !1 && y.current[y.current.length - 1] !== n && (y.current.push(n), h(!1));
2189
- }, [y, n]);
2186
+ }), [f, _] = T(!0), v = b([n]);
2187
+ z(() => {
2188
+ f !== !1 && v.current[v.current.length - 1] !== n && (v.current.push(n), _(!1));
2189
+ }, [v, n]);
2190
2190
  let m = x(() => ({ show: n, appear: r, initial: f }), [n, r, f]);
2191
- Yr(n, a, () => c("hidden")), j(() => {
2192
- n ? c("visible") : !$t(p) && a.current !== null && c("hidden");
2193
- }, [n, p]);
2194
- let _ = { unmount: o }, g = D(() => {
2195
- var b;
2196
- f && h(!1), (b = e.beforeEnter) == null || b.call(e);
2197
- }), C = D(() => {
2198
- var b;
2199
- f && h(!1), (b = e.beforeLeave) == null || b.call(e);
2191
+ Kr(n, a, () => c("hidden")), z(() => {
2192
+ n ? c("visible") : !Et(h) && a.current !== null && c("hidden");
2193
+ }, [n, h]);
2194
+ let y = { unmount: o }, $ = L(() => {
2195
+ var g;
2196
+ f && _(!1), (g = e.beforeEnter) == null || g.call(e);
2197
+ }), E = L(() => {
2198
+ var g;
2199
+ f && _(!1), (g = e.beforeLeave) == null || g.call(e);
2200
2200
  });
2201
- return $.createElement(Et.Provider, { value: p }, $.createElement(bt.Provider, { value: m }, Y({ ourProps: { ..._, as: H, children: $.createElement(co, { ref: s, ..._, ...i, beforeEnter: g, beforeLeave: C }) }, theirProps: {}, defaultTag: H, features: so, visible: d === "visible", name: "Transition" })));
2201
+ return C.createElement($t.Provider, { value: h }, C.createElement(bt.Provider, { value: m }, Y({ ourProps: { ...y, as: N, children: C.createElement(uo, { ref: s, ...y, ...i, beforeEnter: $, beforeLeave: E }) }, theirProps: {}, defaultTag: N, features: co, visible: d === "visible", name: "Transition" })));
2202
2202
  }
2203
- function Aa(e, t) {
2203
+ function Ia(e, t) {
2204
2204
  let n = W(bt) !== null, r = wt() !== null;
2205
- return $.createElement($.Fragment, null, !n && r ? $.createElement(Qt, { ref: t, ...e }) : $.createElement(co, { ref: t, ...e }));
2205
+ return C.createElement(C.Fragment, null, !n && r ? C.createElement(Qt, { ref: t, ...e }) : C.createElement(uo, { ref: t, ...e }));
2206
2206
  }
2207
- let Qt = z(Ha), co = z(Da), yn = z(Aa), ie = Object.assign(Qt, { Child: yn, Root: Qt });
2208
- var Oa = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Oa || {}), Ia = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(Ia || {});
2209
- let Ra = { 0(e, t) {
2207
+ let Qt = j(Oa), uo = j(Aa), yn = j(Ia), ie = Object.assign(Qt, { Child: yn, Root: Qt });
2208
+ var Ra = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Ra || {}), Va = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(Va || {});
2209
+ let Ua = { 0(e, t) {
2210
2210
  return e.titleId === t.id ? e : { ...e, titleId: t.id };
2211
2211
  } }, gn = q(null);
2212
2212
  gn.displayName = "DialogContext";
@@ -2218,73 +2218,73 @@ function Ct(e) {
2218
2218
  }
2219
2219
  return t;
2220
2220
  }
2221
- function Va(e, t) {
2222
- return de(t.type, Ra, e, t);
2221
+ function Wa(e, t) {
2222
+ return de(t.type, Ua, e, t);
2223
2223
  }
2224
- let Kn = z(function(e, t) {
2225
- let n = fe(), { id: r = `headlessui-dialog-${n}`, open: o, onClose: i, initialFocus: a, role: l = "dialog", autoFocus: s = !0, __demoMode: u = !1, ...d } = e, c = w(!1);
2224
+ let Kn = j(function(e, t) {
2225
+ let n = fe(), { id: r = `headlessui-dialog-${n}`, open: o, onClose: i, initialFocus: a, role: l = "dialog", autoFocus: s = !0, __demoMode: u = !1, ...d } = e, c = b(!1);
2226
2226
  l = function() {
2227
2227
  return l === "dialog" || l === "alertdialog" ? l : (c.current || (c.current = !0, console.warn(`Invalid role [${l}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog");
2228
2228
  }();
2229
- let p = wt();
2230
- o === void 0 && p !== null && (o = (p & G.Open) === G.Open);
2231
- let f = w(null), h = J(f, t), y = Xe(f), m = o ? 0 : 1, [_, g] = Ke(Va, { titleId: null, descriptionId: null, panelRef: en() }), C = D(() => i(!1)), b = D((V) => g({ type: 0, id: V })), E = Qe() ? m === 0 : !1, [F, A] = ha(), M = { get current() {
2232
- var V;
2233
- return (V = _.panelRef.current) != null ? V : f.current;
2234
- } }, { resolveContainers: S, mainTreeNodeRef: L, MainTreeNode: U } = ba({ portals: F, defaultContainers: [M] }), Q = p !== null ? (p & G.Closing) === G.Closing : !1;
2235
- Ni(u || Q ? !1 : E, { allowed: D(() => {
2236
- var V, R;
2237
- return [(R = (V = f.current) == null ? void 0 : V.closest("[data-headlessui-portal]")) != null ? R : null];
2238
- }), disallowed: D(() => {
2239
- var V, R;
2240
- return [(R = (V = L.current) == null ? void 0 : V.closest("body > *:not(#headlessui-portal-root)")) != null ? R : null];
2241
- }) }), Bi(E, S, (V) => {
2242
- V.preventDefault(), C();
2243
- }), ga(E, y == null ? void 0 : y.defaultView, (V) => {
2244
- V.preventDefault(), V.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), C();
2245
- }), Xi(u || Q ? !1 : E, y, S), Yr(E, f, C);
2246
- let [Fe, Tt] = Ci(), Je = x(() => [{ dialogState: m, close: C, setTitleId: b }, _], [m, _, C, b]), xe = x(() => ({ open: m === 0 }), [m]), Se = { ref: h, id: r, role: l, tabIndex: -1, "aria-modal": u ? void 0 : m === 0 ? !0 : void 0, "aria-labelledby": _.titleId, "aria-describedby": Fe }, et = !wa(), se = he.None;
2247
- return E && !u && (se |= he.RestoreFocus, se |= he.TabLock, s && (se |= he.AutoFocus), et && (se |= he.InitialFocus)), $.createElement(la, null, $.createElement(Yn, { force: !0 }, $.createElement(ya, null, $.createElement(gn.Provider, { value: Je }, $.createElement(no, { target: f }, $.createElement(Yn, { force: !1 }, $.createElement(Tt, { slot: xe }, $.createElement(A, null, $.createElement(ka, { initialFocus: a, initialFocusFallback: f, containers: S, features: se }, $.createElement(Pi, { value: C }, Y({ ourProps: Se, theirProps: d, slot: xe, defaultTag: Ua, features: Wa, visible: m === 0, name: "Dialog" })))))))))), $.createElement(Ei, null, $.createElement(U, null)));
2248
- }), Ua = "div", Wa = ut.RenderStrategy | ut.Static;
2249
- function ja(e, t) {
2229
+ let h = wt();
2230
+ o === void 0 && h !== null && (o = (h & G.Open) === G.Open);
2231
+ let f = b(null), _ = J(f, t), v = Xe(f), m = o ? 0 : 1, [y, $] = Ke(Wa, { titleId: null, descriptionId: null, panelRef: en() }), E = L(() => i(!1)), g = L((U) => $({ type: 0, id: U })), w = Qe() ? m === 0 : !1, [F, H] = ya(), O = { get current() {
2232
+ var U;
2233
+ return (U = y.panelRef.current) != null ? U : f.current;
2234
+ } }, { resolveContainers: V, mainTreeNodeRef: S, MainTreeNode: I } = Ea({ portals: F, defaultContainers: [O] }), Q = h !== null ? (h & G.Closing) === G.Closing : !1;
2235
+ Di(u || Q ? !1 : w, { allowed: L(() => {
2236
+ var U, R;
2237
+ return [(R = (U = f.current) == null ? void 0 : U.closest("[data-headlessui-portal]")) != null ? R : null];
2238
+ }), disallowed: L(() => {
2239
+ var U, R;
2240
+ return [(R = (U = S.current) == null ? void 0 : U.closest("body > *:not(#headlessui-portal-root)")) != null ? R : null];
2241
+ }) }), Yi(w, V, (U) => {
2242
+ U.preventDefault(), E();
2243
+ }), ba(w, v == null ? void 0 : v.defaultView, (U) => {
2244
+ U.preventDefault(), U.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), E();
2245
+ }), Ji(u || Q ? !1 : w, v, V), Kr(w, f, E);
2246
+ let [De, Tt] = ki(), Je = x(() => [{ dialogState: m, close: E, setTitleId: g }, y], [m, y, E, g]), Fe = x(() => ({ open: m === 0 }), [m]), xe = { ref: _, id: r, role: l, tabIndex: -1, "aria-modal": u ? void 0 : m === 0 ? !0 : void 0, "aria-labelledby": y.titleId, "aria-describedby": De }, et = !$a(), se = ve.None;
2247
+ return w && !u && (se |= ve.RestoreFocus, se |= ve.TabLock, s && (se |= ve.AutoFocus), et && (se |= ve.InitialFocus)), C.createElement(ca, null, C.createElement(Yn, { force: !0 }, C.createElement(wa, null, C.createElement(gn.Provider, { value: Je }, C.createElement(ro, { target: f }, C.createElement(Yn, { force: !1 }, C.createElement(Tt, { slot: Fe }, C.createElement(H, null, C.createElement(xa, { initialFocus: a, initialFocusFallback: f, containers: V, features: se }, C.createElement(Li, { value: E }, Y({ ourProps: xe, theirProps: d, slot: Fe, defaultTag: za, features: ja, visible: m === 0, name: "Dialog" })))))))))), C.createElement(Ci, null, C.createElement(I, null)));
2248
+ }), za = "div", ja = ut.RenderStrategy | ut.Static;
2249
+ function Ba(e, t) {
2250
2250
  let { transition: n = !1, open: r, ...o } = e, i = wt(), a = e.hasOwnProperty("open") || i !== null, l = e.hasOwnProperty("onClose");
2251
2251
  if (!a && !l) throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
2252
2252
  if (!a) throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");
2253
2253
  if (!l) throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
2254
2254
  if (!i && typeof e.open != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);
2255
2255
  if (typeof e.onClose != "function") throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);
2256
- return (r !== void 0 || n) && !o.static ? $.createElement(ie, { show: r, transition: n, unmount: o.unmount }, $.createElement(Kn, { ref: t, ...o })) : $.createElement(Kn, { ref: t, open: r, ...o });
2256
+ return (r !== void 0 || n) && !o.static ? C.createElement(ie, { show: r, transition: n, unmount: o.unmount }, C.createElement(Kn, { ref: t, ...o })) : C.createElement(Kn, { ref: t, open: r, ...o });
2257
2257
  }
2258
- let za = "div";
2259
- function Ba(e, t) {
2260
- let n = fe(), { id: r = `headlessui-dialog-panel-${n}`, transition: o = !1, ...i } = e, [{ dialogState: a }, l] = Ct("Dialog.Panel"), s = J(t, l.panelRef), u = x(() => ({ open: a === 0 }), [a]), d = D((c) => {
2258
+ let qa = "div";
2259
+ function Ya(e, t) {
2260
+ let n = fe(), { id: r = `headlessui-dialog-panel-${n}`, transition: o = !1, ...i } = e, [{ dialogState: a }, l] = Ct("Dialog.Panel"), s = J(t, l.panelRef), u = x(() => ({ open: a === 0 }), [a]), d = L((c) => {
2261
2261
  c.stopPropagation();
2262
2262
  });
2263
- return $.createElement(o ? yn : H, null, Y({ ourProps: { ref: s, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: za, name: "Dialog.Panel" }));
2263
+ return C.createElement(o ? yn : N, null, Y({ ourProps: { ref: s, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: qa, name: "Dialog.Panel" }));
2264
2264
  }
2265
- let qa = "div";
2266
- function Ya(e, t) {
2265
+ let Ka = "div";
2266
+ function Ga(e, t) {
2267
2267
  let { transition: n = !1, ...r } = e, [{ dialogState: o }] = Ct("Dialog.Backdrop"), i = x(() => ({ open: o === 0 }), [o]);
2268
- return $.createElement(n ? yn : H, null, Y({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: qa, name: "Dialog.Backdrop" }));
2268
+ return C.createElement(n ? yn : N, null, Y({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: Ka, name: "Dialog.Backdrop" }));
2269
2269
  }
2270
- let Ka = "h2";
2271
- function Ga(e, t) {
2270
+ let Za = "h2";
2271
+ function Xa(e, t) {
2272
2272
  let n = fe(), { id: r = `headlessui-dialog-title-${n}`, ...o } = e, [{ dialogState: i, setTitleId: a }] = Ct("Dialog.Title"), l = J(t);
2273
- N(() => (a(r), () => a(null)), [r, a]);
2273
+ M(() => (a(r), () => a(null)), [r, a]);
2274
2274
  let s = x(() => ({ open: i === 0 }), [i]);
2275
- return Y({ ourProps: { ref: l, id: r }, theirProps: o, slot: s, defaultTag: Ka, name: "Dialog.Title" });
2276
- }
2277
- let Za = z(ja), uo = z(Ba);
2278
- z(Ya);
2279
- let Xa = z(Ga), Qa = Object.assign(Za, { Panel: uo, Title: Xa, Description: xi });
2280
- const Ja = "_root_1hpzn_1", el = "_modal_1hpzn_10", tl = "_container_1hpzn_13", nl = "_page_1hpzn_16", rl = "_close_1hpzn_19", ot = {
2281
- root: Ja,
2282
- modal: el,
2283
- container: tl,
2284
- page: nl,
2285
- close: rl
2286
- }, ol = "_root_1h6qm_1", il = {
2287
- root: ol
2275
+ return Y({ ourProps: { ref: l, id: r }, theirProps: o, slot: s, defaultTag: Za, name: "Dialog.Title" });
2276
+ }
2277
+ let Qa = j(Ba), fo = j(Ya);
2278
+ j(Ga);
2279
+ let Ja = j(Xa), el = Object.assign(Qa, { Panel: fo, Title: Ja, Description: Pi });
2280
+ const tl = "_root_1hpzn_1", nl = "_modal_1hpzn_10", rl = "_container_1hpzn_13", ol = "_page_1hpzn_16", il = "_close_1hpzn_19", ot = {
2281
+ root: tl,
2282
+ modal: nl,
2283
+ container: rl,
2284
+ page: ol,
2285
+ close: il
2286
+ }, al = "_root_1h6qm_1", ll = {
2287
+ root: al
2288
2288
  }, le = (e) => {
2289
2289
  const {
2290
2290
  children: t,
@@ -2308,7 +2308,7 @@ const Ja = "_root_1hpzn_1", el = "_modal_1hpzn_10", tl = "_container_1hpzn_13",
2308
2308
  return "yvlw-w-5 yvlw-h-5";
2309
2309
  }
2310
2310
  }, [n]);
2311
- return /* @__PURE__ */ v(
2311
+ return /* @__PURE__ */ p(
2312
2312
  "svg",
2313
2313
  {
2314
2314
  xmlns: "http://www.w3.org/2000/svg",
@@ -2320,91 +2320,91 @@ const Ja = "_root_1hpzn_1", el = "_modal_1hpzn_10", tl = "_container_1hpzn_13",
2320
2320
  children: t
2321
2321
  }
2322
2322
  );
2323
- }, al = () => /* @__PURE__ */ v(le, { children: /* @__PURE__ */ v("path", { d: "M10 2a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 2zM10 15a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 15zM10 7a3 3 0 100 6 3 3 0 000-6zM15.657 5.404a.75.75 0 10-1.06-1.06l-1.061 1.06a.75.75 0 001.06 1.06l1.06-1.06zM6.464 14.596a.75.75 0 10-1.06-1.06l-1.06 1.06a.75.75 0 001.06 1.06l1.06-1.06zM18 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 0118 10zM5 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 015 10zM14.596 15.657a.75.75 0 001.06-1.06l-1.06-1.061a.75.75 0 10-1.06 1.06l1.06 1.06zM5.404 6.464a.75.75 0 001.06-1.06l-1.06-1.06a.75.75 0 10-1.061 1.06l1.06 1.06z" }) }), fo = (e) => /* @__PURE__ */ v(le, { ...e, children: /* @__PURE__ */ v(
2323
+ }, sl = () => /* @__PURE__ */ p(le, { children: /* @__PURE__ */ p("path", { d: "M10 2a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 2zM10 15a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 15zM10 7a3 3 0 100 6 3 3 0 000-6zM15.657 5.404a.75.75 0 10-1.06-1.06l-1.061 1.06a.75.75 0 001.06 1.06l1.06-1.06zM6.464 14.596a.75.75 0 10-1.06-1.06l-1.06 1.06a.75.75 0 001.06 1.06l1.06-1.06zM18 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 0118 10zM5 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 015 10zM14.596 15.657a.75.75 0 001.06-1.06l-1.06-1.061a.75.75 0 10-1.06 1.06l1.06 1.06zM5.404 6.464a.75.75 0 001.06-1.06l-1.06-1.06a.75.75 0 10-1.061 1.06l1.06 1.06z" }) }), po = (e) => /* @__PURE__ */ p(le, { ...e, children: /* @__PURE__ */ p(
2324
2324
  "path",
2325
2325
  {
2326
2326
  fillRule: "evenodd",
2327
2327
  d: "M7.455 2.004a.75.75 0 01.26.77 7 7 0 009.958 7.967.75.75 0 011.067.853A8.5 8.5 0 116.647 1.921a.75.75 0 01.808.083z",
2328
2328
  clipRule: "evenodd"
2329
2329
  }
2330
- ) }), ll = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 24 24", children: [
2331
- /* @__PURE__ */ v("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2332
- /* @__PURE__ */ v("path", { d: "M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z" })
2333
- ] }), sl = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 24 24", children: [
2334
- /* @__PURE__ */ v("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2335
- /* @__PURE__ */ v("path", { d: "M3.72 6.04c.47.46 1.21.48 1.71.06.37-.32.69-.51.87-.43.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1h1.21c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25h-1.22c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3c-1.09 0-2.04.63-2.7 1.22-.53.48-.53 1.32-.02 1.82zm10.16 12.51c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z" })
2336
- ] }), cl = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 24 24", children: [
2337
- /* @__PURE__ */ v("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2338
- /* @__PURE__ */ v("path", { d: "M3.72 6.04c.47.46 1.21.48 1.71.06.37-.32.69-.51.87-.43.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1h1.21c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25h-1.22c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3c-1.09 0-2.04.63-2.7 1.22-.53.48-.53 1.32-.02 1.82zm10.16 12.51c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z" })
2339
- ] }), ul = (e) => /* @__PURE__ */ v(le, { ...e, children: [
2340
- /* @__PURE__ */ v("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2341
- /* @__PURE__ */ v("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm0 7c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm6 5H6v-.99c.2-.72 3.3-2.01 6-2.01s5.8 1.29 6 2v1z" })
2342
- ] }), dl = (e) => /* @__PURE__ */ v(le, { ...e, children: /* @__PURE__ */ v("path", { d: "M18,10l-1.77-2.03l0.25-2.69l-2.63-0.6l-1.37-2.32L10,3.43L7.53,2.36L6.15,4.68L3.53,5.28l0.25,2.69L2,10l1.77,2.03 l-0.25,2.69l2.63,0.6l1.37,2.32L10,16.56l2.47,1.07l1.37-2.32l2.63-0.6l-0.25-2.69L18,10z M13.18,8.47l-4.24,4.24 c-0.2,0.2-0.51,0.2-0.71,0L6.82,11.3c-0.2-0.2-0.2-0.51,0-0.71s0.51-0.2,0.71,0l1.06,1.06l3.89-3.89c0.2-0.2,0.51-0.2,0.71,0 S13.38,8.28,13.18,8.47z" }) }), fl = (e) => /* @__PURE__ */ v(le, { ...e, children: /* @__PURE__ */ v("path", { d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" }) }), pl = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 99 32", children: [
2343
- /* @__PURE__ */ v("g", { clipPath: "url(#clip0_9581_165880)", children: [
2344
- /* @__PURE__ */ v(
2330
+ ) }), cl = (e) => /* @__PURE__ */ p(le, { ...e, viewBox: "0 0 24 24", children: [
2331
+ /* @__PURE__ */ p("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2332
+ /* @__PURE__ */ p("path", { d: "M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z" })
2333
+ ] }), ul = (e) => /* @__PURE__ */ p(le, { ...e, viewBox: "0 0 24 24", children: [
2334
+ /* @__PURE__ */ p("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2335
+ /* @__PURE__ */ p("path", { d: "M3.72 6.04c.47.46 1.21.48 1.71.06.37-.32.69-.51.87-.43.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1h1.21c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25h-1.22c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3c-1.09 0-2.04.63-2.7 1.22-.53.48-.53 1.32-.02 1.82zm10.16 12.51c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z" })
2336
+ ] }), dl = (e) => /* @__PURE__ */ p(le, { ...e, viewBox: "0 0 24 24", children: [
2337
+ /* @__PURE__ */ p("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2338
+ /* @__PURE__ */ p("path", { d: "M3.72 6.04c.47.46 1.21.48 1.71.06.37-.32.69-.51.87-.43.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1h1.21c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25h-1.22c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3c-1.09 0-2.04.63-2.7 1.22-.53.48-.53 1.32-.02 1.82zm10.16 12.51c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z" })
2339
+ ] }), fl = (e) => /* @__PURE__ */ p(le, { ...e, children: [
2340
+ /* @__PURE__ */ p("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2341
+ /* @__PURE__ */ p("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm0 7c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm6 5H6v-.99c.2-.72 3.3-2.01 6-2.01s5.8 1.29 6 2v1z" })
2342
+ ] }), pl = (e) => /* @__PURE__ */ p(le, { ...e, children: /* @__PURE__ */ p("path", { d: "M18,10l-1.77-2.03l0.25-2.69l-2.63-0.6l-1.37-2.32L10,3.43L7.53,2.36L6.15,4.68L3.53,5.28l0.25,2.69L2,10l1.77,2.03 l-0.25,2.69l2.63,0.6l1.37,2.32L10,16.56l2.47,1.07l1.37-2.32l2.63-0.6l-0.25-2.69L18,10z M13.18,8.47l-4.24,4.24 c-0.2,0.2-0.51,0.2-0.71,0L6.82,11.3c-0.2-0.2-0.2-0.51,0-0.71s0.51-0.2,0.71,0l1.06,1.06l3.89-3.89c0.2-0.2,0.51-0.2,0.71,0 S13.38,8.28,13.18,8.47z" }) }), hl = (e) => /* @__PURE__ */ p(le, { ...e, children: /* @__PURE__ */ p("path", { d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" }) }), _l = (e) => /* @__PURE__ */ p(le, { ...e, viewBox: "0 0 99 32", children: [
2343
+ /* @__PURE__ */ p("g", { clipPath: "url(#clip0_9581_165880)", children: [
2344
+ /* @__PURE__ */ p(
2345
2345
  "path",
2346
2346
  {
2347
2347
  d: "M98.9474 20.7006V2.701C98.9474 1.20997 97.7302 0 96.2304 0H87.4325H2.71699C1.21714 0 0 1.20997 0 2.701V29.299C0 30.79 1.21714 32 2.71699 32H86.6203C87.2911 32 87.938 31.7523 88.4388 31.3069L98.0489 22.7084C98.6191 22.1964 98.9474 21.4651 98.9474 20.7006Z",
2348
2348
  fill: "#46B2C8"
2349
2349
  }
2350
2350
  ),
2351
- /* @__PURE__ */ v(
2351
+ /* @__PURE__ */ p(
2352
2352
  "path",
2353
2353
  {
2354
2354
  d: "M24.3666 25.2683H20.593C19.3951 25.2683 18.4199 24.2989 18.4199 23.108V8.8908C18.4199 7.69988 19.3951 6.73047 20.593 6.73047H24.3642C25.5622 6.73047 26.5374 7.69988 26.5374 8.8908V23.1056C26.5398 24.2989 25.5646 25.2683 24.3666 25.2683ZM20.593 8.52161C20.3894 8.52161 20.2217 8.68596 20.2217 8.8908V23.1056C20.2217 23.3081 20.387 23.4748 20.593 23.4748H24.3642C24.5679 23.4748 24.7356 23.3104 24.7356 23.1056V8.8908C24.7356 8.68834 24.5703 8.52161 24.3642 8.52161H20.593Z",
2355
2355
  fill: "#C7E8EF"
2356
2356
  }
2357
2357
  ),
2358
- /* @__PURE__ */ v(
2358
+ /* @__PURE__ */ p(
2359
2359
  "path",
2360
2360
  {
2361
2361
  d: "M68.9385 6.74805H67.1367V25.2549H68.9385V6.74805Z",
2362
2362
  fill: "white"
2363
2363
  }
2364
2364
  ),
2365
- /* @__PURE__ */ v(
2365
+ /* @__PURE__ */ p(
2366
2366
  "path",
2367
2367
  {
2368
2368
  d: "M55.0725 8.52161V6.73047H47.8535V25.2683H55.0725V23.4748H49.6577V18.9874H52.9664V17.1963H49.6577V8.52161H55.0725Z",
2369
2369
  fill: "white"
2370
2370
  }
2371
2371
  ),
2372
- /* @__PURE__ */ v(
2372
+ /* @__PURE__ */ p(
2373
2373
  "path",
2374
2374
  {
2375
2375
  d: "M46.528 6.73828L44.4795 23.4993C44.283 24.5354 43.4061 25.2595 42.3447 25.2595C41.2833 25.2595 40.404 24.5354 40.2099 23.4993L40.2003 23.4421L38.1758 6.73828H39.9919L41.9853 23.1896C42.0404 23.4183 42.2081 23.4683 42.3447 23.4683C42.4789 23.4683 42.649 23.4183 42.7041 23.1896L44.7119 6.73828H46.528Z",
2376
2376
  fill: "white"
2377
2377
  }
2378
2378
  ),
2379
- /* @__PURE__ */ v(
2379
+ /* @__PURE__ */ p(
2380
2380
  "path",
2381
2381
  {
2382
2382
  d: "M36.9104 6.73047V23.1056C36.9104 24.2965 35.9353 25.2659 34.7373 25.2659H30.9685C29.7681 25.2659 28.793 24.2965 28.793 23.1056V6.73047H30.5947V23.1056C30.5947 23.3104 30.7624 23.4748 30.9685 23.4748H34.7373C34.9433 23.4748 35.1087 23.3081 35.1087 23.1056V6.73047H36.9104Z",
2383
2383
  fill: "#C7E8EF"
2384
2384
  }
2385
2385
  ),
2386
- /* @__PURE__ */ v(
2386
+ /* @__PURE__ */ p(
2387
2387
  "path",
2388
2388
  {
2389
2389
  d: "M78.6291 8.53181V6.73828H71.4102V25.2618H73.2143V18.9976H76.5231V17.2065H73.2143V8.53181H78.6291Z",
2390
2390
  fill: "white"
2391
2391
  }
2392
2392
  ),
2393
- /* @__PURE__ */ v(
2393
+ /* @__PURE__ */ p(
2394
2394
  "path",
2395
2395
  {
2396
2396
  d: "M15.8797 6.73047L13.3089 14.9764L10.9034 6.73047H9.02734L12.3793 18.2157V25.2516H14.181V18.2324L17.7653 6.73047H15.8797Z",
2397
2397
  fill: "#C7E8EF"
2398
2398
  }
2399
2399
  ),
2400
- /* @__PURE__ */ v(
2400
+ /* @__PURE__ */ p(
2401
2401
  "path",
2402
2402
  {
2403
2403
  d: "M85.7767 6.73047L83.2058 14.9764L80.7979 6.73047H78.9219L82.2738 18.2157V25.2516H84.0755V18.2324L87.6623 6.73047H85.7767Z",
2404
2404
  fill: "white"
2405
2405
  }
2406
2406
  ),
2407
- /* @__PURE__ */ v(
2407
+ /* @__PURE__ */ p(
2408
2408
  "path",
2409
2409
  {
2410
2410
  d: "M61.2349 18.4801C63.4535 17.5226 65.0085 15.3241 65.0085 12.7732V8.8908C65.0085 7.69988 64.0357 6.73047 62.8354 6.73047H59.0618C57.8638 6.73047 56.8887 7.69988 56.8887 8.8908V18.0918V18.9874V25.2493H58.6904V18.9898H58.7527C58.9659 18.9898 59.1768 18.9779 59.3828 18.9588L63.6093 25.254H65.78L61.2349 18.4801ZM58.6928 17.1986V8.89318C58.6928 8.68834 58.8581 8.52399 59.0618 8.52399H62.8354C63.039 8.52399 63.2044 8.69072 63.2044 8.89318V12.7756C63.2044 15.2146 61.2085 17.1986 58.7551 17.1986H58.6928Z",
@@ -2412,7 +2412,7 @@ const Ja = "_root_1hpzn_1", el = "_modal_1hpzn_10", tl = "_container_1hpzn_13",
2412
2412
  }
2413
2413
  )
2414
2414
  ] }),
2415
- /* @__PURE__ */ v("defs", { children: /* @__PURE__ */ v("clipPath", { id: "clip0_9581_165880", children: /* @__PURE__ */ v("rect", { width: "98.9474", height: "32", fill: "white" }) }) })
2415
+ /* @__PURE__ */ p("defs", { children: /* @__PURE__ */ p("clipPath", { id: "clip0_9581_165880", children: /* @__PURE__ */ p("rect", { width: "98.9474", height: "32", fill: "white" }) }) })
2416
2416
  ] });
2417
2417
  class we {
2418
2418
  static loadVision() {
@@ -2479,15 +2479,16 @@ class we {
2479
2479
  const vl = (e, t) => {
2480
2480
  let n;
2481
2481
  return typeof OffscreenCanvas < "u" ? n = new OffscreenCanvas(e, t) : (n = document.createElement("canvas"), n.width = e, n.height = t), n;
2482
- }, po = (e, t, n, r) => {
2482
+ }, ho = (e, t, n, r) => {
2483
2483
  let o = 0, i = 0, a = t, l = n;
2484
2484
  const u = vl(t, n).getContext("2d");
2485
2485
  return u.drawImage(e, 0, 0), u.getImageData(o, i, a, l);
2486
- }, _l = (e) => new Promise((t) => {
2486
+ }, ml = (e) => new Promise((t) => {
2487
2487
  const n = document.createElement("canvas");
2488
- n.width = e.width, n.height = e.height, n.getContext("2d").putImageData(e, 0, 0), n.toBlob((o) => t(o));
2488
+ let { width: r } = e, { height: o } = e;
2489
+ e instanceof HTMLVideoElement && (r = e.videoWidth, o = e.videoHeight), n.width = r, n.height = o, n.getContext("2d").drawImage(e, 0, 0), n.toBlob((a) => t(a));
2489
2490
  });
2490
- function hl() {
2491
+ function yl() {
2491
2492
  if (MediaRecorder.isTypeSupported("video/webm; codecs=vp9"))
2492
2493
  return { mimeType: "video/webm; codecs=vp9" };
2493
2494
  if (MediaRecorder.isTypeSupported("video/webm"))
@@ -2495,24 +2496,27 @@ function hl() {
2495
2496
  if (MediaRecorder.isTypeSupported("video/mp4"))
2496
2497
  return { mimeType: "video/mp4" };
2497
2498
  }
2498
- function vo(e = {}) {
2499
+ function _o(e = {}) {
2499
2500
  const { onRecord: t = () => {
2500
2501
  }, onStop: n = () => {
2501
- } } = e, r = w([]), o = w(null), i = w(null), a = I((c) => {
2502
+ } } = e, r = b([]), o = b(null), i = b(null), a = A((c) => {
2502
2503
  r.current.push(c);
2503
- }, []), l = I(async (c) => {
2504
- if (o.current)
2505
- return;
2506
- const p = await _l(c);
2507
- o.current = p;
2508
- }, []), s = I((c) => {
2504
+ }, []), l = A(
2505
+ async (c) => {
2506
+ if (o.current)
2507
+ return;
2508
+ const h = await ml(c);
2509
+ o.current = h;
2510
+ },
2511
+ []
2512
+ ), s = A((c) => {
2509
2513
  c.data.size > 0 && t(c.data);
2510
- }, []), u = I(() => {
2514
+ }, []), u = A(() => {
2511
2515
  !i.current || i.current.state === "inactive" || (i.current.stop(), i.current.stream.getTracks().forEach((c) => c.stop()), n());
2512
- }, []), d = I((c) => {
2516
+ }, []), d = A((c) => {
2513
2517
  i.current || (i.current = new MediaRecorder(
2514
2518
  c,
2515
- hl()
2519
+ yl()
2516
2520
  ), i.current.ondataavailable = s, i.current.onstop = u, i.current.start(1e3));
2517
2521
  }, []);
2518
2522
  return {
@@ -2524,10 +2528,10 @@ function vo(e = {}) {
2524
2528
  savedPhoto: o
2525
2529
  };
2526
2530
  }
2527
- function Ne(e, t) {
2531
+ function Le(e, t) {
2528
2532
  return Math.sqrt(e ** 2 + t ** 2);
2529
2533
  }
2530
- function ml(e) {
2534
+ function gl(e) {
2531
2535
  const t = e.slice();
2532
2536
  for (let n = t.length - 1; n > 0; n--) {
2533
2537
  const r = Math.floor(Math.random() * (n + 1));
@@ -2535,7 +2539,7 @@ function ml(e) {
2535
2539
  }
2536
2540
  return t;
2537
2541
  }
2538
- function yl(e, t) {
2542
+ function wl(e, t) {
2539
2543
  return new Promise((n, r) => {
2540
2544
  const o = new File([e], `${Date.now()}`, {
2541
2545
  type: t
@@ -2543,10 +2547,10 @@ function yl(e, t) {
2543
2547
  i.readAsDataURL(o), i.onload = () => n(i.result), i.onerror = (a) => r(a);
2544
2548
  });
2545
2549
  }
2546
- const gl = "https://identity.dev.svc.youverify.co";
2547
- function wl() {
2550
+ const bl = "https://identity.dev.svc.youverify.co";
2551
+ function $l() {
2548
2552
  return { postData: async (t) => {
2549
- const { faceImage: n, publicKey: r, passed: o, metadata: i } = t, a = await fetch(`${gl}/v1/sdk/identity/liveness/`, {
2553
+ const { faceImage: n, publicKey: r, passed: o, metadata: i } = t, a = await fetch(`${bl}/v1/sdk/identity/liveness/`, {
2550
2554
  method: "POST",
2551
2555
  headers: {
2552
2556
  "Content-Type": "application/json"
@@ -2564,28 +2568,28 @@ function wl() {
2564
2568
  return (await a.json()).data;
2565
2569
  } };
2566
2570
  }
2567
- const bl = 360, El = "#125766", $l = "https://cdn.youverify.co/1721901834404-q2nxqyng5klm918b3BDVU.jpg", _o = {
2571
+ const El = 360, Cl = "#125766", Tl = "https://cdn.youverify.co/1721901834404-q2nxqyng5klm918b3BDVU.jpg", vo = {
2568
2572
  "complete-the-circle": {
2569
- Icon: ll,
2573
+ Icon: cl,
2570
2574
  name: "Complete The Circle ⭕️",
2571
2575
  description: "First position your face in the camera frame. Then move your head in a circle to show all the angles of your face"
2572
2576
  },
2573
2577
  "yes-or-no": {
2574
- Icon: sl,
2578
+ Icon: ul,
2575
2579
  name: "Yes or No ❓",
2576
2580
  description: "First position your face in the camera. Then tilt your head to the left to answer No and to the right to answer Yes"
2577
2581
  },
2578
2582
  motions: {
2579
- Icon: cl,
2583
+ Icon: dl,
2580
2584
  name: "Motions 💫",
2581
2585
  description: "First position your face in the camera frame, then follow the instructions"
2582
2586
  },
2583
2587
  "facial-expressions": {
2584
- Icon: fo,
2588
+ Icon: po,
2585
2589
  name: "Facial Expressions 🤪",
2586
2590
  description: "First position your face in the camera frame. Then move your head in a circle to show all the angles of your face"
2587
2591
  }
2588
- }, ho = q({
2592
+ }, mo = q({
2589
2593
  tasks: [],
2590
2594
  namespace: "",
2591
2595
  user: void 0,
@@ -2604,7 +2608,7 @@ const bl = 360, El = "#125766", $l = "https://cdn.youverify.co/1721901834404-q2n
2604
2608
  onComplete: () => Promise.resolve()
2605
2609
  });
2606
2610
  let Gn, Zn = !1;
2607
- function Cl(e) {
2611
+ function kl(e) {
2608
2612
  const {
2609
2613
  publicKey: t,
2610
2614
  tasks: n,
@@ -2615,84 +2619,86 @@ function Cl(e) {
2615
2619
  onRequestClose: l,
2616
2620
  onSuccess: s = () => {
2617
2621
  },
2618
- metadata: u
2619
- } = e, [d, c] = k(0), [p, f] = k(0), [h, y] = k(null), { saveStream: m, savePhoto: _, savedPhoto: g } = vo(), { postData: C } = wl(), b = x(
2620
- () => p === n.length,
2621
- [n, p]
2622
- ), E = () => {
2623
- f((S) => S + 1), c((S) => S + 1);
2624
- }, F = (S) => {
2625
- const L = new Image();
2626
- L.crossOrigin = "Anonymous", L.src = $l, L.onload = () => {
2627
- const U = po(L, L.width, L.height);
2628
- we.detectFaces(S, U);
2622
+ metadata: u,
2623
+ presentation: d
2624
+ } = e, [c, h] = T(0), [f, _] = T(0), [v, m] = T(null), { saveStream: y, savePhoto: $, savedPhoto: E } = _o(), { postData: g } = $l(), w = x(
2625
+ () => f === n.length,
2626
+ [n, f]
2627
+ ), F = () => {
2628
+ _((S) => S + 1), h((S) => S + 1);
2629
+ }, H = (S) => {
2630
+ const I = new Image();
2631
+ I.crossOrigin = "Anonymous", I.src = Tl, I.onload = () => {
2632
+ const Q = ho(I, I.width, I.height);
2633
+ we.detectFaces(S, Q);
2629
2634
  };
2630
- }, A = async () => {
2631
- const S = await C({
2632
- faceImage: g.current ? await yl(g.current, "image/png") : null,
2635
+ }, O = async () => {
2636
+ const S = await g({
2637
+ faceImage: E.current ? await wl(E.current, "image/png") : null,
2633
2638
  publicKey: t,
2634
2639
  passed: !0,
2635
2640
  metadata: u
2636
2641
  });
2637
2642
  s(S), l();
2638
- }, M = async () => {
2643
+ }, V = async () => {
2639
2644
  const S = await we.loadDetector();
2640
- Gn = S, F(S), y(S);
2645
+ Gn = S, H(S), m(S);
2641
2646
  };
2642
- return N(() => {
2647
+ return M(() => {
2643
2648
  if (Zn) {
2644
- y(Gn);
2649
+ m(Gn);
2645
2650
  return;
2646
2651
  }
2647
- M(), Zn = !0;
2648
- }, []), /* @__PURE__ */ v(
2649
- ho.Provider,
2652
+ V(), Zn = !0;
2653
+ }, []), /* @__PURE__ */ p(
2654
+ mo.Provider,
2650
2655
  {
2651
2656
  value: {
2652
2657
  tasks: n,
2653
2658
  namespace: o,
2654
2659
  user: i,
2655
- currentTaskIndex: d,
2656
- completed: b,
2657
- completedCount: p,
2658
- nextTask: E,
2660
+ currentTaskIndex: c,
2661
+ completed: w,
2662
+ completedCount: f,
2663
+ nextTask: F,
2659
2664
  branding: a,
2660
2665
  onRequestClose: l,
2661
- faceDetector: h,
2662
- saveStream: m,
2663
- savePhoto: _,
2664
- onComplete: A
2666
+ faceDetector: v,
2667
+ saveStream: y,
2668
+ savePhoto: $,
2669
+ onComplete: O,
2670
+ presentation: d
2665
2671
  },
2666
2672
  children: r
2667
2673
  }
2668
2674
  );
2669
2675
  }
2670
2676
  function ke() {
2671
- return W(ho);
2672
- }
2673
- const Tl = "_root_vqy7d_1", kl = "_container_vqy7d_4", Fl = "_lhs_vqy7d_7", xl = "_info_vqy7d_11", Sl = "_active_vqy7d_32", Pl = "_completed_vqy7d_39", Ml = "_rhs_vqy7d_62", Ll = "_profile_vqy7d_65", Nl = "_avatar_vqy7d_68", Dl = "_main_vqy7d_81", Hl = "_content_vqy7d_84", B = {
2674
- root: Tl,
2675
- container: kl,
2676
- lhs: Fl,
2677
- info: xl,
2678
- active: Sl,
2679
- completed: Pl,
2680
- rhs: Ml,
2681
- profile: Ll,
2682
- avatar: Nl,
2683
- main: Dl,
2684
- content: Hl
2685
- }, Al = "_root_135td_1", Ol = "_container_135td_1", Il = "_brand_135td_1", Lt = {
2686
- root: Al,
2687
- container: Ol,
2688
- brand: Il
2677
+ return W(mo);
2678
+ }
2679
+ const Fl = "_root_vqy7d_1", xl = "_container_vqy7d_4", Sl = "_lhs_vqy7d_7", Pl = "_info_vqy7d_11", Ml = "_active_vqy7d_32", Ll = "_completed_vqy7d_39", Nl = "_rhs_vqy7d_62", Hl = "_profile_vqy7d_65", Dl = "_avatar_vqy7d_68", Al = "_main_vqy7d_81", Ol = "_content_vqy7d_84", B = {
2680
+ root: Fl,
2681
+ container: xl,
2682
+ lhs: Sl,
2683
+ info: Pl,
2684
+ active: Ml,
2685
+ completed: Ll,
2686
+ rhs: Nl,
2687
+ profile: Hl,
2688
+ avatar: Dl,
2689
+ main: Al,
2690
+ content: Ol
2691
+ }, Il = "_root_135td_1", Rl = "_container_135td_1", Vl = "_brand_135td_1", Lt = {
2692
+ root: Il,
2693
+ container: Rl,
2694
+ brand: Vl
2689
2695
  };
2690
- function Rl() {
2696
+ function Ul() {
2691
2697
  const { branding: e } = ke();
2692
- return /* @__PURE__ */ v("div", { className: Lt.root, children: /* @__PURE__ */ v("div", { className: Lt.container, children: /* @__PURE__ */ v("div", { className: Lt.brand, children: (e == null ? void 0 : e.logo) && /* @__PURE__ */ v("img", { className: "yvlw-h-10", src: e.logo, alt: "Logo" }) }) }) });
2698
+ return /* @__PURE__ */ p("div", { className: Lt.root, children: /* @__PURE__ */ p("div", { className: Lt.container, children: /* @__PURE__ */ p("div", { className: Lt.brand, children: (e == null ? void 0 : e.logo) && /* @__PURE__ */ p("img", { className: "yvlw-h-10", src: e.logo, alt: "Logo" }) }) }) });
2693
2699
  }
2694
2700
  const Xn = "colorScheme";
2695
- function Vl() {
2701
+ function Wl() {
2696
2702
  const { namespace: e } = ke(), t = () => {
2697
2703
  const o = localStorage.getItem(Xn);
2698
2704
  return !o && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : o;
@@ -2706,65 +2712,65 @@ function Vl() {
2706
2712
  return n(o === "dark" ? "light" : "dark");
2707
2713
  }, getColorScheme: t };
2708
2714
  }
2709
- const Ul = "_root_bcsvc_1", Wl = {
2710
- root: Ul
2715
+ const zl = "_root_bcsvc_1", jl = {
2716
+ root: zl
2711
2717
  };
2712
- function jl() {
2718
+ function Bl() {
2713
2719
  if (!(window.screen.width >= 900))
2714
2720
  return 10 / 9;
2715
2721
  }
2716
2722
  function wn(e) {
2717
2723
  const { children: t, onStream: n = () => {
2718
2724
  }, onRecord: r = () => {
2719
- } } = e, o = w(null), i = w(0), a = w(null), { start: l, stop: s } = vo({
2725
+ } } = e, o = b(null), i = b(0), a = b(null), { start: l, stop: s } = _o({
2720
2726
  onRecord: r
2721
2727
  }), u = async () => {
2722
2728
  try {
2723
- const p = await navigator.mediaDevices.getUserMedia({
2724
- video: { aspectRatio: { exact: jl() } }
2729
+ const h = await navigator.mediaDevices.getUserMedia({
2730
+ video: { aspectRatio: { exact: Bl() } }
2725
2731
  });
2726
- a.current = p, l(p), o.current && (o.current.srcObject = p);
2732
+ a.current = h, l(h), o.current && (o.current.srcObject = h);
2727
2733
  } catch {
2728
2734
  }
2729
2735
  }, d = () => {
2730
- a.current && (a.current.getTracks().forEach((p) => p.stop()), a.current = null, s(), o.current && (o.current.srcObject = null));
2736
+ a.current && (a.current.getTracks().forEach((h) => h.stop()), a.current = null, s(), o.current && (o.current.srcObject = null));
2731
2737
  }, c = () => {
2732
2738
  n(o), i.current = requestAnimationFrame(c);
2733
2739
  };
2734
- return N(() => {
2735
- const p = o.current;
2736
- if (!p)
2740
+ return M(() => {
2741
+ const h = o.current;
2742
+ if (!h)
2737
2743
  return;
2738
2744
  const f = () => {
2739
2745
  i.current = requestAnimationFrame(c);
2740
2746
  };
2741
- return u(), p.addEventListener("canplay", f), () => {
2742
- p.removeEventListener("canplay", f), cancelAnimationFrame(i.current), d();
2747
+ return u(), h.addEventListener("canplay", f), () => {
2748
+ h.removeEventListener("canplay", f), cancelAnimationFrame(i.current), d();
2743
2749
  };
2744
- }, []), /* @__PURE__ */ v("div", { className: Wl.root, children: [
2745
- /* @__PURE__ */ v("video", { ref: o, autoPlay: !0, loop: !0, playsInline: !0 }),
2750
+ }, []), /* @__PURE__ */ p("div", { className: jl.root, children: [
2751
+ /* @__PURE__ */ p("video", { ref: o, autoPlay: !0, loop: !0, playsInline: !0 }),
2746
2752
  t
2747
2753
  ] });
2748
2754
  }
2749
- const zl = "_container_mcmsr_1", Bl = "_focused_mcmsr_12", ql = "_progress_mcmsr_15", Yl = "_completed_mcmsr_36", Kl = "_marker_mcmsr_40", Re = {
2750
- container: zl,
2751
- focused: Bl,
2752
- progress: ql,
2753
- completed: Yl,
2754
- marker: Kl
2755
- }, Qn = 360, Gl = 50;
2756
- function Zl(e) {
2755
+ const ql = "_container_mcmsr_1", Yl = "_focused_mcmsr_12", Kl = "_progress_mcmsr_15", Gl = "_completed_mcmsr_36", Zl = "_marker_mcmsr_40", Re = {
2756
+ container: ql,
2757
+ focused: Yl,
2758
+ progress: Kl,
2759
+ completed: Gl,
2760
+ marker: Zl
2761
+ }, Qn = 360, Xl = 50;
2762
+ function Ql(e) {
2757
2763
  const {
2758
2764
  visitedSections: t,
2759
2765
  sectionsCount: n,
2760
2766
  faceDetected: r,
2761
- divisions: o = Gl
2767
+ divisions: o = Xl
2762
2768
  } = e, i = x(() => {
2763
2769
  const a = [Re.container];
2764
2770
  return r && a.push(Re.focused), a.join(" ");
2765
2771
  }, [r]);
2766
- return /* @__PURE__ */ v("div", { className: i, children: [
2767
- /* @__PURE__ */ v(
2772
+ return /* @__PURE__ */ p("div", { className: i, children: [
2773
+ /* @__PURE__ */ p(
2768
2774
  ie,
2769
2775
  {
2770
2776
  as: "div",
@@ -2776,18 +2782,18 @@ function Zl(e) {
2776
2782
  enterFrom: "yvlw-scale-125 yvlw-opacity-0",
2777
2783
  enterTo: "yvlw-scale-100 yvlw-opacity-100",
2778
2784
  className: "yvlw-absolute",
2779
- children: /* @__PURE__ */ v("div", { className: Re.progress, children: Array.from(Array(o).keys()).map((a) => {
2785
+ children: /* @__PURE__ */ p("div", { className: Re.progress, children: Array.from(Array(o).keys()).map((a) => {
2780
2786
  const l = a * Qn / o, s = Math.ceil(
2781
2787
  (l + 1) * n / Qn
2782
2788
  ), u = t.includes(s), d = u ? a - (s - 1) * (o / n) : 0, c = [];
2783
2789
  u && c.push(Re.completed);
2784
- const p = u ? "translateX(158px)" : "translateX(150px)";
2785
- return /* @__PURE__ */ v(
2790
+ const h = u ? "translateX(158px)" : "translateX(150px)";
2791
+ return /* @__PURE__ */ p(
2786
2792
  "div",
2787
2793
  {
2788
2794
  className: c.join(" "),
2789
2795
  style: {
2790
- transform: `rotate(${l}deg) ${p}`,
2796
+ transform: `rotate(${l}deg) ${h}`,
2791
2797
  transitionDelay: `${d * 20}ms`
2792
2798
  }
2793
2799
  },
@@ -2796,7 +2802,7 @@ function Zl(e) {
2796
2802
  }) })
2797
2803
  }
2798
2804
  ),
2799
- /* @__PURE__ */ v(
2805
+ /* @__PURE__ */ p(
2800
2806
  ie,
2801
2807
  {
2802
2808
  as: "div",
@@ -2808,17 +2814,17 @@ function Zl(e) {
2808
2814
  enterFrom: "yvlw-scale-75 yvlw-opacity-0",
2809
2815
  enterTo: "yvlw-scale-100 yvlw-opacity-100",
2810
2816
  className: "yvlw-absolute",
2811
- children: /* @__PURE__ */ v("div", { className: Re.marker, children: [
2812
- /* @__PURE__ */ v("div", {}),
2813
- /* @__PURE__ */ v("div", {}),
2814
- /* @__PURE__ */ v("div", {}),
2815
- /* @__PURE__ */ v("div", {})
2817
+ children: /* @__PURE__ */ p("div", { className: Re.marker, children: [
2818
+ /* @__PURE__ */ p("div", {}),
2819
+ /* @__PURE__ */ p("div", {}),
2820
+ /* @__PURE__ */ p("div", {}),
2821
+ /* @__PURE__ */ p("div", {})
2816
2822
  ] })
2817
2823
  }
2818
2824
  )
2819
2825
  ] });
2820
2826
  }
2821
- function Xl() {
2827
+ function Jl() {
2822
2828
  return { checkZoomLevel: (r, o) => {
2823
2829
  const { box: i } = r, { width: a, height: l } = i, s = a * l, u = o ** 2, d = s / u;
2824
2830
  if (d > 0.9)
@@ -2840,29 +2846,29 @@ function bn(e = {}) {
2840
2846
  },
2841
2847
  onError: o = () => {
2842
2848
  }
2843
- } = e, { faceDetector: i } = ke(), { checkFacialFeatures: a, checkZoomLevel: l, checkInFrame: s } = Xl(), u = w(null), d = (p, f) => {
2844
- var h;
2849
+ } = e, { faceDetector: i, savePhoto: a } = ke(), l = b(!1), s = b(!1), { checkFacialFeatures: u, checkZoomLevel: d, checkInFrame: c } = Jl(), h = b(null), f = (v, m) => {
2850
+ var y;
2845
2851
  try {
2846
- if (p.length === 0)
2852
+ if (v.length === 0)
2847
2853
  throw new Error("Detecting face...");
2848
- if (p.length > 1)
2854
+ if (v.length > 1)
2849
2855
  throw new Error("A maximum of 1 face is allowed");
2850
- const y = u.current, m = (h = u.current) == null ? void 0 : h.parentElement;
2851
- if (!y || !m)
2856
+ const $ = h.current, E = (y = h.current) == null ? void 0 : y.parentElement;
2857
+ if (!$ || !E)
2852
2858
  return;
2853
- const _ = p[0];
2854
- for (const g of t)
2855
- switch (g) {
2859
+ const g = v[0];
2860
+ for (const w of t)
2861
+ switch (w) {
2856
2862
  case "zoom":
2857
- l(
2858
- _,
2859
- Math.min(m.clientHeight, m.clientWidth)
2863
+ d(
2864
+ g,
2865
+ Math.min(E.clientHeight, E.clientWidth)
2860
2866
  );
2861
2867
  break;
2862
2868
  case "features":
2863
- a(
2864
- _,
2865
- Math.min(m.clientHeight, m.clientWidth)
2869
+ u(
2870
+ g,
2871
+ Math.min(E.clientHeight, E.clientWidth)
2866
2872
  );
2867
2873
  break;
2868
2874
  case "in-frame":
@@ -2870,59 +2876,76 @@ function bn(e = {}) {
2870
2876
  throw new Error(
2871
2877
  "Frame size is required to check if face is in frame"
2872
2878
  );
2873
- const C = n + 200;
2874
- s(_, {
2875
- x: (m.clientWidth - C) / 2,
2876
- y: (m.clientHeight - C) / 2,
2877
- width: C,
2878
- height: C,
2879
- offsetX: (y.videoWidth - m.clientWidth) / 2,
2880
- offsetY: (y.videoHeight - m.clientHeight) / 2
2879
+ const F = n + 200;
2880
+ c(g, {
2881
+ x: (E.clientWidth - F) / 2,
2882
+ y: (E.clientHeight - F) / 2,
2883
+ width: F,
2884
+ height: F,
2885
+ offsetX: ($.videoWidth - E.clientWidth) / 2,
2886
+ offsetY: ($.videoHeight - E.clientHeight) / 2
2881
2887
  });
2882
2888
  break;
2883
2889
  default:
2884
2890
  break;
2885
2891
  }
2886
- r(_, f);
2887
- } catch (y) {
2888
- const { message: m } = y;
2889
- o(m);
2892
+ if (!s.current)
2893
+ throw l.current || (l.current = !0, setTimeout(() => {
2894
+ a(m), s.current = !0;
2895
+ }, 3e3)), new Error("Keep head still for a photograph");
2896
+ r(g);
2897
+ } catch ($) {
2898
+ const { message: E } = $;
2899
+ o(E);
2890
2900
  }
2891
2901
  };
2892
- return { detectFaces: async (p) => {
2902
+ return { detectFaces: async (v) => {
2893
2903
  if (!i)
2894
2904
  return;
2895
- const { ref: f } = p;
2896
- u.current = f.current;
2897
- const h = u.current;
2898
- if (!h)
2905
+ const { ref: m } = v;
2906
+ h.current = m.current;
2907
+ const y = h.current;
2908
+ if (!y)
2899
2909
  throw new Error("No Video Source detected");
2900
- const { videoWidth: y, videoHeight: m } = h;
2901
- if (y === 0 || m === 0)
2910
+ const { videoWidth: $, videoHeight: E } = y;
2911
+ if ($ === 0 || E === 0)
2902
2912
  return;
2903
- const _ = po(
2904
- h,
2913
+ const g = ho(
2905
2914
  y,
2906
- m
2915
+ $,
2916
+ E
2907
2917
  // frameSize,
2908
- ), g = await we.detectFaces(i, _);
2909
- d(g, _);
2918
+ ), w = await we.detectFaces(i, g);
2919
+ f(w, y);
2910
2920
  } };
2911
2921
  }
2912
- const Ql = "_root_1psx5_1", Jl = "_container_1psx5_4", es = "_progress_1psx5_7", ts = "_intro_1psx5_12", ns = "_content_1psx5_15", rs = "_branding_1psx5_18", os = "_instructionsContainer_1psx5_22", is = "_instructions_1psx5_22", ee = {
2913
- root: Ql,
2914
- container: Jl,
2915
- progress: es,
2916
- intro: ts,
2917
- content: ns,
2918
- branding: rs,
2919
- instructionsContainer: os,
2920
- instructions: is
2921
- }, as = "_root_1j21c_1", ls = "_spinner_1j21c_18", ss = "_spin_1j21c_18", Jn = {
2922
- root: as,
2923
- spinner: ls,
2924
- spin: ss
2922
+ const es = "_root_1psx5_1", ts = "_container_1psx5_4", ns = "_progress_1psx5_7", rs = "_intro_1psx5_12", os = "_content_1psx5_15", is = "_branding_1psx5_18", as = "_instructionsContainer_1psx5_22", ls = "_instructions_1psx5_22", ee = {
2923
+ root: es,
2924
+ container: ts,
2925
+ progress: ns,
2926
+ intro: rs,
2927
+ content: os,
2928
+ branding: is,
2929
+ instructionsContainer: as,
2930
+ instructions: ls
2931
+ }, ss = "_root_h5elg_1", cs = "_spinner_h5elg_22", Jn = {
2932
+ root: ss,
2933
+ spinner: cs
2934
+ }, us = "_container_1vep2_1", ds = "_spin_1vep2_1", fs = "_md_1vep2_7", ps = "_lg_1vep2_10", er = {
2935
+ container: us,
2936
+ spin: ds,
2937
+ md: fs,
2938
+ lg: ps
2925
2939
  };
2940
+ function yo(e) {
2941
+ const { size: t = "md", className: n = "" } = e;
2942
+ return /* @__PURE__ */ p(
2943
+ "span",
2944
+ {
2945
+ className: `${er.container} ${er[t]} ${n}`
2946
+ }
2947
+ );
2948
+ }
2926
2949
  function ft(e) {
2927
2950
  const {
2928
2951
  Icon: t,
@@ -2932,42 +2955,43 @@ function ft(e) {
2932
2955
  onActionClick: i = () => {
2933
2956
  },
2934
2957
  loading: a = !1,
2935
- children: l
2958
+ children: l,
2959
+ hideButton: s = !1
2936
2960
  } = e;
2937
- return /* @__PURE__ */ v("div", { className: Jn.root, children: [
2938
- /* @__PURE__ */ v(t, { size: "custom", className: "yvlw-h-20 yvlw-mx-auto yvlw-mb-12" }),
2939
- /* @__PURE__ */ v("h2", { children: r }),
2940
- /* @__PURE__ */ v("p", { className: "subtext", children: n }),
2941
- /* @__PURE__ */ v("div", { className: "yvlw-mt-12", children: /* @__PURE__ */ v(
2942
- yi,
2961
+ return /* @__PURE__ */ p("div", { className: Jn.root, children: [
2962
+ /* @__PURE__ */ p(t, { size: "custom", className: "yvlw-h-20 yvlw-mx-auto yvlw-mb-12" }),
2963
+ /* @__PURE__ */ p("h2", { children: r }),
2964
+ /* @__PURE__ */ p("p", { className: "subtext", children: n }),
2965
+ !s && /* @__PURE__ */ p("div", { className: "yvlw-mt-12", children: /* @__PURE__ */ p(
2966
+ wi,
2943
2967
  {
2944
2968
  onClick: () => i(),
2945
2969
  className: "yvlw-flex yvlw-items-center yvlw-space-x-3",
2946
2970
  disabled: a,
2947
2971
  children: [
2948
- /* @__PURE__ */ v("span", { className: "yvlw-flex-1 yvlw-flex yvlw-items-center yvlw-space-x-1 yvlw-justify-center", children: o }),
2949
- a && /* @__PURE__ */ v("span", { className: Jn.spinner })
2972
+ /* @__PURE__ */ p("span", { className: "yvlw-flex-1 yvlw-flex yvlw-items-center yvlw-space-x-1 yvlw-justify-center", children: o }),
2973
+ a && /* @__PURE__ */ p(yo, { className: Jn.spinner })
2950
2974
  ]
2951
2975
  }
2952
2976
  ) }),
2953
2977
  l
2954
2978
  ] });
2955
2979
  }
2956
- function En(e) {
2980
+ function $n(e) {
2957
2981
  const { children: t, instruction: n, name: r, completed: o, onStart: i = () => {
2958
- } } = e, [a, l] = k(!1), { completedCount: s, tasks: u, nextTask: d } = ke(), c = x(() => _o[r], [r]), p = x(
2982
+ } } = e, [a, l] = T(!1), { completedCount: s, tasks: u, nextTask: d } = ke(), c = x(() => vo[r], [r]), h = x(
2959
2983
  () => s * 100 / u.length,
2960
2984
  [s, u.length]
2961
2985
  );
2962
- return /* @__PURE__ */ v("div", { className: ee.root, children: /* @__PURE__ */ v("div", { className: `${ee.container} view`, children: [
2963
- /* @__PURE__ */ v(
2986
+ return /* @__PURE__ */ p("div", { className: ee.root, children: /* @__PURE__ */ p("div", { className: `${ee.container} view`, children: [
2987
+ /* @__PURE__ */ p(
2964
2988
  "div",
2965
2989
  {
2966
- style: { width: `${p}%` },
2990
+ style: { width: `${h}%` },
2967
2991
  className: ee.progress
2968
2992
  }
2969
2993
  ),
2970
- /* @__PURE__ */ v(
2994
+ /* @__PURE__ */ p(
2971
2995
  ie,
2972
2996
  {
2973
2997
  show: !a && !o,
@@ -2979,7 +3003,7 @@ function En(e) {
2979
3003
  leaveFrom: "yvlw-translate-x-0",
2980
3004
  leaveTo: "yvlw--translate-x-full",
2981
3005
  className: "yvlw-absolute yvlw-h-full yvlw-w-full",
2982
- children: /* @__PURE__ */ v("div", { className: `${ee.intro}`, children: /* @__PURE__ */ v(
3006
+ children: /* @__PURE__ */ p("div", { className: `${ee.intro}`, children: /* @__PURE__ */ p(
2983
3007
  ft,
2984
3008
  {
2985
3009
  Icon: c.Icon,
@@ -2993,7 +3017,7 @@ function En(e) {
2993
3017
  ) })
2994
3018
  }
2995
3019
  ),
2996
- /* @__PURE__ */ v(
3020
+ /* @__PURE__ */ p(
2997
3021
  ie,
2998
3022
  {
2999
3023
  as: "div",
@@ -3006,22 +3030,22 @@ function En(e) {
3006
3030
  leaveTo: "yvlw-translate-x-full",
3007
3031
  className: "yvlw-absolute yvlw-w-full yvlw-h-full",
3008
3032
  children: [
3009
- /* @__PURE__ */ v("div", { className: `${ee.content}`, children: t }),
3010
- /* @__PURE__ */ v("div", { className: ee.instructionsContainer, children: [
3011
- /* @__PURE__ */ v("div", { className: ee.instructions, children: [
3012
- /* @__PURE__ */ v("h2", { children: n.title }),
3013
- /* @__PURE__ */ v("p", { className: "subtext", children: n.description })
3033
+ /* @__PURE__ */ p("div", { className: `${ee.content}`, children: t }),
3034
+ /* @__PURE__ */ p("div", { className: ee.instructionsContainer, children: [
3035
+ /* @__PURE__ */ p("div", { className: ee.instructions, children: [
3036
+ /* @__PURE__ */ p("h2", { children: n.title }),
3037
+ /* @__PURE__ */ p("p", { className: "subtext", children: n.description })
3014
3038
  ] }),
3015
- /* @__PURE__ */ v("div", { className: ee.branding, children: [
3016
- /* @__PURE__ */ v("span", { children: "Powered by" }),
3039
+ /* @__PURE__ */ p("div", { className: ee.branding, children: [
3040
+ /* @__PURE__ */ p("span", { children: "Powered by" }),
3017
3041
  " ",
3018
- /* @__PURE__ */ v(pl, { size: "custom", className: "yvlw-h-3" })
3042
+ /* @__PURE__ */ p(_l, { size: "custom", className: "yvlw-h-3" })
3019
3043
  ] })
3020
3044
  ] })
3021
3045
  ]
3022
3046
  }
3023
3047
  ),
3024
- /* @__PURE__ */ v(
3048
+ /* @__PURE__ */ p(
3025
3049
  ie,
3026
3050
  {
3027
3051
  show: o,
@@ -3033,7 +3057,7 @@ function En(e) {
3033
3057
  leaveFrom: "yvlw-translate-x-0",
3034
3058
  leaveTo: "yvlw-translate-x-full",
3035
3059
  className: "yvlw-absolute yvlw-w-full yvlw-h-full",
3036
- children: /* @__PURE__ */ v("div", { className: `${ee.intro}`, children: /* @__PURE__ */ v(
3060
+ children: /* @__PURE__ */ p("div", { className: `${ee.intro}`, children: /* @__PURE__ */ p(
3037
3061
  ft,
3038
3062
  {
3039
3063
  Icon: c.Icon,
@@ -3050,18 +3074,18 @@ function En(e) {
3050
3074
  )
3051
3075
  ] }) });
3052
3076
  }
3053
- const cs = 1, Nt = 8;
3054
- function us(e) {
3055
- const { difficulty: t } = e, { saveStream: n, savePhoto: r } = ke(), [o, i] = k([]), [a, l] = k("Place face in frame"), [s, u] = k(!1), [d, c] = k(!1), p = w(/* @__PURE__ */ new Set()), f = w(!1), h = w(null), y = (E) => {
3056
- const F = E * Nt, A = Math.ceil((F + 1) / bl);
3057
- p.current.has(A) || (p.current.add(A), i(Array.from(p.current))), p.current.size >= Nt && setTimeout(() => {
3058
- c(!0);
3077
+ const hs = 1, Nt = 8;
3078
+ function _s(e) {
3079
+ const { difficulty: t } = e, { saveStream: n } = ke(), [r, o] = T([]), [i, a] = T("Place face in frame"), [l, s] = T(!1), [u, d] = T(!1), c = b(/* @__PURE__ */ new Set()), h = b(!1), f = b(null), _ = (g) => {
3080
+ const w = g * Nt, F = Math.ceil((w + 1) / El);
3081
+ c.current.has(F) || (c.current.add(F), o(Array.from(c.current))), c.current.size >= Nt && setTimeout(() => {
3082
+ d(!0);
3059
3083
  }, 1e3);
3060
- }, m = (E, F) => {
3061
- let M = Math.atan2(F, E) * (180 / Math.PI);
3062
- return M < 0 && (M += 360), M;
3063
- }, _ = x(() => {
3064
- if (p.current.size === 0)
3084
+ }, v = (g, w) => {
3085
+ let H = Math.atan2(w, g) * (180 / Math.PI);
3086
+ return H < 0 && (H += 360), H;
3087
+ }, m = x(() => {
3088
+ if (c.current.size === 0)
3065
3089
  return 25;
3066
3090
  switch (t) {
3067
3091
  case "easy":
@@ -3071,80 +3095,80 @@ function us(e) {
3071
3095
  default:
3072
3096
  return 10;
3073
3097
  }
3074
- }, []), g = (E) => {
3075
- const { keypoints: F, box: A } = E, M = { x: A.width * 0.5, y: A.height * 0.5 }, S = F[cs], L = { y: S.y - A.yMin, x: S.x - A.xMin }, U = M.x - L.x, Q = L.y - M.y;
3076
- return Math.abs(U) < _ && Math.abs(Q) < _ ? null : m(U, Q);
3077
- }, { detectFaces: C } = bn({
3098
+ }, []), y = (g) => {
3099
+ const { keypoints: w, box: F } = g, H = { x: F.width * 0.5, y: F.height * 0.5 }, O = w[hs], V = { y: O.y - F.yMin, x: O.x - F.xMin }, S = H.x - V.x, I = V.y - H.y;
3100
+ return Math.abs(S) < m && Math.abs(I) < m ? null : v(S, I);
3101
+ }, { detectFaces: $ } = bn({
3078
3102
  frameSize: 280,
3079
3103
  validations: ["zoom", "in-frame"],
3080
- onFace: (E, F) => {
3081
- r(F), u(!0), l("Slowly move head around to complete circle");
3082
- const A = g(E);
3083
- A && y(A);
3104
+ onFace: (g) => {
3105
+ s(!0), a("Slowly move head around to complete circle");
3106
+ const w = y(g);
3107
+ w && _(w);
3084
3108
  },
3085
- onError: (E) => {
3086
- l(E), i([]), p.current.clear(), h.current = null, f.current = !1;
3109
+ onError: (g) => {
3110
+ a(g), o([]), c.current.clear(), f.current = null, h.current = !1;
3087
3111
  }
3088
3112
  });
3089
- return /* @__PURE__ */ v(H, { children: /* @__PURE__ */ v(
3090
- En,
3113
+ return /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
3114
+ $n,
3091
3115
  {
3092
3116
  instruction: {
3093
- title: a,
3094
- description: s ? void 0 : "Always ensure face is in frame"
3117
+ title: i,
3118
+ description: l ? void 0 : "Always ensure face is in frame"
3095
3119
  },
3096
3120
  name: "complete-the-circle",
3097
- completed: d,
3098
- children: /* @__PURE__ */ v(wn, { onStream: (E) => {
3121
+ completed: u,
3122
+ children: /* @__PURE__ */ p(wn, { onStream: (g) => {
3099
3123
  try {
3100
- if (!E.current || d)
3124
+ if (!g.current || u)
3101
3125
  return;
3102
- const { videoWidth: F } = E.current;
3103
- C({ ref: E, frameSize: F });
3126
+ const { videoWidth: w } = g.current;
3127
+ $({ ref: g, frameSize: w });
3104
3128
  } catch {
3105
3129
  }
3106
- }, onRecord: n, children: /* @__PURE__ */ v(
3107
- Zl,
3130
+ }, onRecord: n, children: /* @__PURE__ */ p(
3131
+ Ql,
3108
3132
  {
3109
- faceDetected: s,
3133
+ faceDetected: l,
3110
3134
  sectionsCount: Nt,
3111
- visitedSections: o
3135
+ visitedSections: r
3112
3136
  }
3113
3137
  ) })
3114
3138
  }
3115
3139
  ) });
3116
3140
  }
3117
- const ds = "_root_thujo_1", fs = "_sticker_thujo_4", ps = "_no_thujo_7", vs = "_yes_thujo_12", Dt = {
3118
- root: ds,
3119
- sticker: fs,
3120
- no: ps,
3121
- yes: vs
3141
+ const vs = "_root_thujo_1", ms = "_sticker_thujo_4", ys = "_no_thujo_7", gs = "_yes_thujo_12", Ht = {
3142
+ root: vs,
3143
+ sticker: ms,
3144
+ no: ys,
3145
+ yes: gs
3122
3146
  };
3123
- function _s(e) {
3147
+ function ws(e) {
3124
3148
  const { show: t, stickers: n } = e;
3125
- return /* @__PURE__ */ v(H, { children: t && /* @__PURE__ */ v("div", { className: Dt.root, children: n.map((r) => /* @__PURE__ */ v(
3149
+ return /* @__PURE__ */ p(N, { children: t && /* @__PURE__ */ p("div", { className: Ht.root, children: n.map((r) => /* @__PURE__ */ p(
3126
3150
  "div",
3127
3151
  {
3128
- className: `${Dt.sticker} ${Dt[r]}`,
3152
+ className: `${Ht.sticker} ${Ht[r]}`,
3129
3153
  children: r.toUpperCase()
3130
3154
  },
3131
3155
  `sticker-${r}`
3132
3156
  )) }) });
3133
3157
  }
3134
- const hs = {
3158
+ const bs = {
3135
3159
  question: "Are you alive?",
3136
3160
  errorMessage: "You have to be alive to proceed though",
3137
3161
  answer: !0
3138
- }, ms = "Wrong answer. Try again";
3139
- function ys(e) {
3140
- const { difficulty: t, questions: n = [hs] } = e, [r, o] = k("Keep face in camera"), [i, a] = k(!1), [l, s] = k(!1), { saveStream: u, savePhoto: d } = ke(), c = w("inactive"), p = w(0), f = w(!1), h = (b) => {
3141
- const { keypoints: E } = b, F = E[1], A = E[9], M = F.x - A.x, S = F.y - A.y;
3142
- return 90 - Math.atan2(S, M) * (180 / Math.PI);
3143
- }, y = (b) => {
3144
- c.current = "inactive", o(n[b].question), setTimeout(() => {
3145
- c.current = "active";
3162
+ }, $s = "Wrong answer. Try again";
3163
+ function Es(e) {
3164
+ const { difficulty: t, questions: n = [bs] } = e, [r, o] = T("Keep face in camera"), [i, a] = T(!1), [l, s] = T(!1), { saveStream: u } = ke(), d = b("inactive"), c = b(0), h = b(!1), f = (E) => {
3165
+ const { keypoints: g } = E, w = g[1], F = g[9], H = w.x - F.x, O = w.y - F.y;
3166
+ return 90 - Math.atan2(O, H) * (180 / Math.PI);
3167
+ }, _ = (E) => {
3168
+ d.current = "inactive", o(n[E].question), setTimeout(() => {
3169
+ d.current = "active";
3146
3170
  }, 2e3);
3147
- }, m = x(() => {
3171
+ }, v = x(() => {
3148
3172
  switch (t) {
3149
3173
  case "easy":
3150
3174
  return 2;
@@ -3153,35 +3177,35 @@ function ys(e) {
3153
3177
  default:
3154
3178
  return 4;
3155
3179
  }
3156
- }, []), _ = (b) => {
3180
+ }, []), m = (E) => {
3157
3181
  try {
3158
- if (c.current = "inactive", Math.abs(b) < m)
3182
+ if (d.current = "inactive", Math.abs(E) < v)
3159
3183
  throw new Error("Tilt head further to answer");
3160
- const E = b > 0, F = n[p.current].answer;
3161
- if (E === F)
3162
- p.current += 1, p.current === n.length ? s(!0) : y(p.current);
3184
+ const g = E > 0, w = n[c.current].answer;
3185
+ if (g === w)
3186
+ c.current += 1, c.current === n.length ? s(!0) : _(c.current);
3163
3187
  else
3164
3188
  throw new Error(
3165
- n[p.current].errorMessage || ms
3189
+ n[c.current].errorMessage || $s
3166
3190
  );
3167
- } catch (E) {
3168
- o(E.message), setTimeout(() => {
3169
- y(p.current);
3191
+ } catch (g) {
3192
+ o(g.message), setTimeout(() => {
3193
+ _(c.current);
3170
3194
  }, 2e3);
3171
3195
  }
3172
- }, { detectFaces: g } = bn({
3173
- onFace: (b, E) => {
3174
- if (f.current || (a(!0), d(E), f.current = !0, y(p.current)), c.current === "inactive")
3196
+ }, { detectFaces: y } = bn({
3197
+ onFace: (E) => {
3198
+ if (h.current || (a(!0), h.current = !0, _(c.current)), d.current === "inactive")
3175
3199
  return;
3176
- const F = h(b);
3177
- _(F);
3200
+ const g = f(E);
3201
+ m(g);
3178
3202
  },
3179
- onError: (b) => {
3180
- o(b);
3203
+ onError: (E) => {
3204
+ o(E);
3181
3205
  }
3182
3206
  });
3183
- return /* @__PURE__ */ v(
3184
- En,
3207
+ return /* @__PURE__ */ p(
3208
+ $n,
3185
3209
  {
3186
3210
  instruction: {
3187
3211
  title: r,
@@ -3189,19 +3213,19 @@ function ys(e) {
3189
3213
  },
3190
3214
  name: "yes-or-no",
3191
3215
  completed: l,
3192
- children: /* @__PURE__ */ v(wn, { onStream: (b) => {
3216
+ children: /* @__PURE__ */ p(wn, { onStream: (E) => {
3193
3217
  try {
3194
- if (!b.current || l)
3218
+ if (!E.current || l)
3195
3219
  return;
3196
- const { videoWidth: E } = b.current;
3197
- g({ ref: b, frameSize: E });
3220
+ const { videoWidth: g } = E.current;
3221
+ y({ ref: E, frameSize: g });
3198
3222
  } catch {
3199
3223
  }
3200
- }, onRecord: u, children: /* @__PURE__ */ v(_s, { show: i, stickers: ["yes", "no"] }) })
3224
+ }, onRecord: u, children: /* @__PURE__ */ p(ws, { show: i, stickers: ["yes", "no"] }) })
3201
3225
  }
3202
3226
  );
3203
3227
  }
3204
- function gs(e = {}) {
3228
+ function Cs(e = {}) {
3205
3229
  const { onChange: t = () => {
3206
3230
  } } = e, n = !!window.DeviceOrientationEvent, r = (o) => {
3207
3231
  t({
@@ -3210,14 +3234,14 @@ function gs(e = {}) {
3210
3234
  gamma: o.gamma
3211
3235
  });
3212
3236
  };
3213
- return N(() => (window.addEventListener("deviceorientation", r), () => {
3237
+ return M(() => (window.addEventListener("deviceorientation", r), () => {
3214
3238
  window.removeEventListener("deviceorientation", r);
3215
3239
  }), []), {
3216
3240
  canUse: n
3217
3241
  };
3218
3242
  }
3219
- function ws(e) {
3220
- const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(null), a = w(!0), l = w(null), s = w(null), u = w(0), d = w(!1), c = x(() => {
3243
+ function Ts(e) {
3244
+ const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = b(null), a = b(!0), l = b(null), s = b(null), u = b(0), d = b(!1), c = x(() => {
3221
3245
  switch (o) {
3222
3246
  case "easy":
3223
3247
  return 6;
@@ -3226,22 +3250,22 @@ function ws(e) {
3226
3250
  default:
3227
3251
  return 8;
3228
3252
  }
3229
- }, []), p = () => {
3253
+ }, []), h = () => {
3230
3254
  if (u.current < t) {
3231
- const y = t - u.current;
3232
- let m = `Nod head ${y} `;
3233
- y < t && (m += "more "), m += y > 1 ? "times" : "time", n(m);
3255
+ const v = t - u.current;
3256
+ let m = `Nod head ${v} `;
3257
+ v < t && (m += "more "), m += v > 1 ? "times" : "time", n(m);
3234
3258
  return;
3235
3259
  }
3236
3260
  d.current = !0, n("Great, hang on..."), setTimeout(() => {
3237
3261
  r();
3238
3262
  }, 500);
3239
- }, { canUse: f } = gs({
3240
- onChange: (y) => {
3241
- s.current = y;
3263
+ }, { canUse: f } = Cs({
3264
+ onChange: (v) => {
3265
+ s.current = v;
3242
3266
  }
3243
3267
  });
3244
- return { evaluate: (y) => {
3268
+ return { evaluate: (v) => {
3245
3269
  if (!f) {
3246
3270
  n("Cannot perform task. Transfer to mobile device to complete");
3247
3271
  return;
@@ -3256,26 +3280,26 @@ function ws(e) {
3256
3280
  }
3257
3281
  if (d.current)
3258
3282
  return;
3259
- const { keypoints: m } = y, _ = Ne(
3283
+ const { keypoints: m } = v, y = Le(
3260
3284
  m[6].x - m[8].x,
3261
3285
  m[6].y - m[8].y
3262
- ), C = Ne(
3286
+ ), E = Le(
3263
3287
  m[2].x - m[1].x,
3264
3288
  m[2].y - m[1].y
3265
- ) / _ * 10;
3266
- if (C > c) {
3289
+ ) / y * 10;
3290
+ if (E > c) {
3267
3291
  if (i.current || !a.current)
3268
3292
  return;
3269
- i.current = C, a.current = !1, l.current = setTimeout(() => {
3293
+ i.current = E, a.current = !1, l.current = setTimeout(() => {
3270
3294
  i.current = null;
3271
3295
  }, 3e3);
3272
3296
  } else
3273
- i.current && i.current - C > c / 2 && (u.current += 1, i.current = null, l.current && clearTimeout(l.current)), a.current = !0;
3274
- p();
3297
+ i.current && i.current - E > c / 2 && (u.current += 1, i.current = null, l.current && clearTimeout(l.current)), a.current = !0;
3298
+ h();
3275
3299
  } };
3276
3300
  }
3277
- function bs(e) {
3278
- const { onMessage: t, onComplete: n, difficulty: r } = e, o = w(!1), i = x(() => {
3301
+ function ks(e) {
3302
+ const { onMessage: t, onComplete: n, difficulty: r } = e, o = b(!1), i = x(() => {
3279
3303
  switch (r) {
3280
3304
  case "easy":
3281
3305
  return 80;
@@ -3288,11 +3312,11 @@ function bs(e) {
3288
3312
  return { evaluate: (l) => {
3289
3313
  if (o.current)
3290
3314
  return;
3291
- const { keypoints: s } = l, u = Ne(
3315
+ const { keypoints: s } = l, u = Le(
3292
3316
  s[6].x - s[8].x,
3293
3317
  s[6].y - s[8].y
3294
3318
  );
3295
- if (Ne(
3319
+ if (Le(
3296
3320
  s[14].x - s[13].x,
3297
3321
  s[14].y - s[13].y
3298
3322
  ) / u * 100 > i) {
@@ -3304,8 +3328,8 @@ function bs(e) {
3304
3328
  t("Open your mouth wide");
3305
3329
  } };
3306
3330
  }
3307
- function Es(e) {
3308
- const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(!0), a = w(!1), l = w(null), s = w(0), u = x(() => {
3331
+ function Fs(e) {
3332
+ const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = b(!0), a = b(!1), l = b(null), s = b(0), u = x(() => {
3309
3333
  switch (o) {
3310
3334
  case "easy":
3311
3335
  return {
@@ -3323,38 +3347,38 @@ function Es(e) {
3323
3347
  open: 30
3324
3348
  };
3325
3349
  }
3326
- }, []), d = (h) => {
3327
- i.current && (h >= u.closed || (i.current = !1, l.current = Date.now()));
3328
- }, c = (h) => {
3329
- if (!i.current && !(h < u.open) && (i.current = !0, l.current)) {
3330
- const y = Date.now(), m = l.current;
3331
- (y - m) / 1e3 <= 2 && (s.current += 1);
3350
+ }, []), d = (_) => {
3351
+ i.current && (_ >= u.closed || (i.current = !1, l.current = Date.now()));
3352
+ }, c = (_) => {
3353
+ if (!i.current && !(_ < u.open) && (i.current = !0, l.current)) {
3354
+ const v = Date.now(), m = l.current;
3355
+ (v - m) / 1e3 <= 2 && (s.current += 1);
3332
3356
  }
3333
- }, p = () => {
3357
+ }, h = () => {
3334
3358
  if (s.current < t) {
3335
- const h = t - s.current;
3336
- let y = `Blink right eye ${h} `;
3337
- h < t && (y += "more "), y += h > 1 ? "times" : "time", n(y);
3359
+ const _ = t - s.current;
3360
+ let v = `Blink right eye ${_} `;
3361
+ _ < t && (v += "more "), v += _ > 1 ? "times" : "time", n(v);
3338
3362
  return;
3339
3363
  }
3340
3364
  a.current = !0, n("Great, hang on..."), setTimeout(() => {
3341
3365
  r();
3342
3366
  }, 500);
3343
3367
  };
3344
- return { evaluate: (h) => {
3368
+ return { evaluate: (_) => {
3345
3369
  if (a.current)
3346
3370
  return;
3347
- const { keypoints: y } = h, m = Ne(
3348
- y[6].x - y[8].x,
3349
- y[6].y - y[8].y
3350
- ), g = Ne(
3351
- y[145].x - y[159].x,
3352
- y[145].y - y[159].y
3371
+ const { keypoints: v } = _, m = Le(
3372
+ v[6].x - v[8].x,
3373
+ v[6].y - v[8].y
3374
+ ), $ = Le(
3375
+ v[145].x - v[159].x,
3376
+ v[145].y - v[159].y
3353
3377
  ) / m * 100;
3354
- d(g), c(g), p();
3378
+ d($), c($), h();
3355
3379
  } };
3356
3380
  }
3357
- function $s() {
3381
+ function xs() {
3358
3382
  return {
3359
3383
  requestDeviceOrientationPermission: async () => {
3360
3384
  if (!window.DeviceOrientationEvent)
@@ -3365,49 +3389,49 @@ function $s() {
3365
3389
  }
3366
3390
  };
3367
3391
  }
3368
- var mo = /* @__PURE__ */ ((e) => (e.nod = "nod", e.open_mouth = "open_mouth", e.blink = "blink", e))(mo || {});
3369
- const er = ml(Object.keys(mo));
3370
- function Cs(e) {
3371
- const { difficulty: t, maxBlinks: n = 5, maxNods: r = 5 } = e, o = w(0), [i, a] = k("Keep face in camera"), [l, s] = k(!1), [u, d] = k(null), c = w(!1), { requestDeviceOrientationPermission: p } = $s(), f = () => {
3372
- if (o.current === er.length - 1) {
3392
+ var go = /* @__PURE__ */ ((e) => (e.nod = "nod", e.open_mouth = "open_mouth", e.blink = "blink", e))(go || {});
3393
+ const tr = gl(Object.keys(go));
3394
+ function Ss(e) {
3395
+ const { difficulty: t, maxBlinks: n = 5, maxNods: r = 5 } = e, o = b(0), [i, a] = T("Keep face in camera"), [l, s] = T(!1), [u, d] = T(null), c = b(!1), { requestDeviceOrientationPermission: h } = xs(), f = () => {
3396
+ if (o.current === tr.length - 1) {
3373
3397
  s(!0);
3374
3398
  return;
3375
3399
  }
3376
3400
  o.current += 1;
3377
- }, h = ws({
3401
+ }, _ = Ts({
3378
3402
  total: Math.floor(Math.random() * r + 1),
3379
3403
  difficulty: t,
3380
- onMessage: (b) => a(b),
3404
+ onMessage: (g) => a(g),
3381
3405
  onComplete: f
3382
- }), y = bs({
3406
+ }), v = ks({
3383
3407
  difficulty: t,
3384
- onMessage: (b) => a(b),
3408
+ onMessage: (g) => a(g),
3385
3409
  onComplete: f
3386
- }), m = Es({
3410
+ }), m = Fs({
3387
3411
  total: Math.floor(Math.random() * n + 1),
3388
3412
  difficulty: t,
3389
- onMessage: (b) => a(b),
3413
+ onMessage: (g) => a(g),
3390
3414
  onComplete: f
3391
- }), { detectFaces: _ } = bn({
3392
- onFace: (b) => {
3393
- switch (c.current || (c.current = !0), er[o.current]) {
3415
+ }), { detectFaces: y } = bn({
3416
+ onFace: (g) => {
3417
+ switch (c.current || (c.current = !0), tr[o.current]) {
3394
3418
  case "nod":
3395
- h.evaluate(b);
3419
+ _.evaluate(g);
3396
3420
  break;
3397
3421
  case "open_mouth":
3398
- y.evaluate(b);
3422
+ v.evaluate(g);
3399
3423
  break;
3400
3424
  case "blink":
3401
- m.evaluate(b);
3425
+ m.evaluate(g);
3402
3426
  break;
3403
3427
  }
3404
3428
  },
3405
- onError: (b) => {
3406
- a(b);
3429
+ onError: (g) => {
3430
+ a(g);
3407
3431
  }
3408
3432
  });
3409
- return /* @__PURE__ */ v(
3410
- En,
3433
+ return /* @__PURE__ */ p(
3434
+ $n,
3411
3435
  {
3412
3436
  instruction: {
3413
3437
  title: i,
@@ -3417,66 +3441,74 @@ function Cs(e) {
3417
3441
  completed: l,
3418
3442
  onStart: async () => {
3419
3443
  try {
3420
- await p();
3421
- } catch (b) {
3422
- const E = b;
3423
- a(E.message), d(E);
3444
+ await h();
3445
+ } catch (g) {
3446
+ const w = g;
3447
+ a(w.message), d(w);
3424
3448
  }
3425
3449
  },
3426
- children: u ? /* @__PURE__ */ v(H, {}) : /* @__PURE__ */ v(wn, { onStream: async (b) => {
3450
+ children: u ? /* @__PURE__ */ p(N, {}) : /* @__PURE__ */ p(wn, { onStream: async (g) => {
3427
3451
  try {
3428
- if (!b.current || l)
3452
+ if (!g.current || l)
3429
3453
  return;
3430
- const { videoWidth: E } = b.current;
3431
- await _({ ref: b, frameSize: E, throttleInterval: 500 });
3454
+ const { videoWidth: w } = g.current;
3455
+ await y({ ref: g, frameSize: w, throttleInterval: 500 });
3432
3456
  } catch {
3433
3457
  }
3434
3458
  } })
3435
3459
  }
3436
3460
  );
3437
3461
  }
3438
- function Ts() {
3439
- var m;
3440
- const { toggleColorScheme: e, getColorScheme: t, setColorScheme: n } = Vl(), { user: r, tasks: o, currentTaskIndex: i, completed: a, onComplete: l } = ke(), [s, u] = k(!1), [d, c] = k(!1), [p, f] = k(null);
3441
- N(() => {
3442
- const _ = t();
3443
- n(_);
3462
+ function Ps() {
3463
+ var g;
3464
+ const { toggleColorScheme: e, getColorScheme: t, setColorScheme: n } = Wl(), {
3465
+ user: r,
3466
+ tasks: o,
3467
+ currentTaskIndex: i,
3468
+ completed: a,
3469
+ onComplete: l,
3470
+ faceDetector: s,
3471
+ presentation: u
3472
+ } = ke(), [d, c] = T(!1), [h, f] = T(!1), [_, v] = T(null), [m, y] = T(!1);
3473
+ M(() => {
3474
+ const w = t();
3475
+ n(w);
3444
3476
  }, []);
3445
- const h = async () => {
3477
+ const $ = async () => {
3446
3478
  try {
3447
- u(!0), f(null), await l();
3448
- } catch (_) {
3449
- f(_.message);
3479
+ c(!0), v(null), await l(), u === "page" && y(!0);
3480
+ } catch (w) {
3481
+ v(w.message);
3450
3482
  } finally {
3451
- u(!1);
3483
+ c(!1);
3452
3484
  }
3453
- }, y = I(
3454
- (_) => _ === i ? B.active : i > _ ? B.completed : "subtext",
3485
+ }, E = A(
3486
+ (w) => w === i ? B.active : i > w ? B.completed : "subtext",
3455
3487
  [i]
3456
3488
  );
3457
- return /* @__PURE__ */ v("div", { className: B.root, children: /* @__PURE__ */ v("div", { className: B.container, children: [
3458
- /* @__PURE__ */ v("div", { className: `${B.lhs} divider`, children: [
3459
- /* @__PURE__ */ v("div", { className: B.info, children: [
3460
- /* @__PURE__ */ v(Rl, {}),
3461
- /* @__PURE__ */ v("div", { children: /* @__PURE__ */ v("p", { className: "yvlw-text-xs yvlw-m-0 yvlw-p-0 subtext", children: "You have been given this set of tasks to complete. They are pretty easy to do but we will be guiding you every step of the way." }) }),
3462
- /* @__PURE__ */ v("ol", { children: [
3463
- o.map((_, g) => /* @__PURE__ */ v("li", { className: y(g), children: _o[_.id].name }, `task-${g}`)),
3464
- /* @__PURE__ */ v("li", { className: a ? B.active : "", children: "Complete! 🎉" })
3489
+ return /* @__PURE__ */ p("div", { className: B.root, children: /* @__PURE__ */ p("div", { className: B.container, children: [
3490
+ /* @__PURE__ */ p("div", { className: `${B.lhs} divider`, children: [
3491
+ /* @__PURE__ */ p("div", { className: B.info, children: [
3492
+ /* @__PURE__ */ p(Ul, {}),
3493
+ /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p("p", { className: "yvlw-text-xs yvlw-m-0 yvlw-p-0 subtext", children: "You have been given this set of tasks to complete. They are pretty easy to do but we will be guiding you every step of the way." }) }),
3494
+ /* @__PURE__ */ p("ol", { children: [
3495
+ o.map((w, F) => /* @__PURE__ */ p("li", { className: E(F), children: vo[w.id].name }, `task-${F}`)),
3496
+ /* @__PURE__ */ p("li", { className: a ? B.active : "", children: "Complete! 🎉" })
3465
3497
  ] })
3466
3498
  ] }),
3467
- /* @__PURE__ */ v("footer", { className: "divider", children: [
3468
- /* @__PURE__ */ v("div", { children: "Powered by Youverify" }),
3469
- /* @__PURE__ */ v("div", { onClick: () => e(), role: "button", children: [
3470
- /* @__PURE__ */ v("div", { className: "dark:yvlw-hidden", children: /* @__PURE__ */ v(fo, {}) }),
3471
- /* @__PURE__ */ v("div", { className: "yvlw-hidden dark:yvlw-block", children: /* @__PURE__ */ v(al, {}) })
3499
+ /* @__PURE__ */ p("footer", { className: "divider", children: [
3500
+ /* @__PURE__ */ p("div", { children: "Powered by Youverify" }),
3501
+ /* @__PURE__ */ p("div", { onClick: () => e(), role: "button", children: [
3502
+ /* @__PURE__ */ p("div", { className: "dark:yvlw-hidden", children: /* @__PURE__ */ p(po, {}) }),
3503
+ /* @__PURE__ */ p("div", { className: "yvlw-hidden dark:yvlw-block", children: /* @__PURE__ */ p(sl, {}) })
3472
3504
  ] })
3473
3505
  ] })
3474
3506
  ] }),
3475
- /* @__PURE__ */ v("div", { className: B.main, children: /* @__PURE__ */ v("div", { className: B.content, children: [
3476
- /* @__PURE__ */ v(
3507
+ /* @__PURE__ */ p("div", { className: B.main, children: /* @__PURE__ */ p("div", { className: B.content, children: [
3508
+ /* @__PURE__ */ p(
3477
3509
  ie,
3478
3510
  {
3479
- show: !d,
3511
+ show: !h,
3480
3512
  as: "div",
3481
3513
  leave: "yvlw-transform yvlw-transition yvlw-duration-300",
3482
3514
  leaveFrom: "yvlw-translate-y-0 yvlw-opacity-100",
@@ -3484,38 +3516,38 @@ function Ts() {
3484
3516
  enterFrom: "yvlw-translate-y-full yvlw-opacity-0",
3485
3517
  enterTo: "yvlw-translate-y-0 yvlw-opacity-100",
3486
3518
  className: "yvlw-h-full yvlw-w-full",
3487
- children: /* @__PURE__ */ v("div", { className: B.completed, children: /* @__PURE__ */ v(
3519
+ children: /* @__PURE__ */ p("div", { className: B.completed, children: s ? /* @__PURE__ */ p(
3488
3520
  ft,
3489
3521
  {
3490
- Icon: ul,
3522
+ Icon: fl,
3491
3523
  title: "Liveness Check",
3492
3524
  description: "To ensure the security of your identity, we conduct a liveness check to verify that you are a real person actively engaging with the process.",
3493
3525
  actionText: "Start Liveness Test",
3494
- onActionClick: () => c(!0)
3526
+ onActionClick: () => f(!0)
3495
3527
  }
3496
- ) })
3528
+ ) : /* @__PURE__ */ p(yo, { size: "lg" }) })
3497
3529
  }
3498
3530
  ),
3499
- o.map((_, g) => {
3500
- let C;
3501
- switch (_.id) {
3531
+ o.map((w, F) => {
3532
+ let H;
3533
+ switch (w.id) {
3502
3534
  case "complete-the-circle":
3503
- C = /* @__PURE__ */ v(us, { ..._ });
3535
+ H = /* @__PURE__ */ p(_s, { ...w });
3504
3536
  break;
3505
3537
  case "yes-or-no":
3506
- C = /* @__PURE__ */ v(ys, { ..._ });
3538
+ H = /* @__PURE__ */ p(Es, { ...w });
3507
3539
  break;
3508
3540
  case "motions":
3509
- C = /* @__PURE__ */ v(Cs, { ..._ });
3541
+ H = /* @__PURE__ */ p(Ss, { ...w });
3510
3542
  break;
3511
3543
  default:
3512
- C = /* @__PURE__ */ v(H, {});
3544
+ H = /* @__PURE__ */ p(N, {});
3513
3545
  break;
3514
3546
  }
3515
- return /* @__PURE__ */ v(
3547
+ return /* @__PURE__ */ p(
3516
3548
  ie,
3517
3549
  {
3518
- show: d && !a && i === g,
3550
+ show: h && !a && i === F,
3519
3551
  appear: !0,
3520
3552
  as: "div",
3521
3553
  leave: "yvlw-transform yvlw-transition yvlw-duration-300",
@@ -3524,15 +3556,15 @@ function Ts() {
3524
3556
  enterFrom: "yvlw-translate-y-full yvlw-opacity-0",
3525
3557
  enterTo: "yvlw-translate-y-0 yvlw-opacity-100",
3526
3558
  className: "yvlw-h-full",
3527
- children: C
3559
+ children: H
3528
3560
  },
3529
- `task-${g}`
3561
+ `task-${F}`
3530
3562
  );
3531
3563
  }),
3532
- /* @__PURE__ */ v(
3564
+ /* @__PURE__ */ p(
3533
3565
  ie,
3534
3566
  {
3535
- show: d && a,
3567
+ show: h && a,
3536
3568
  as: "div",
3537
3569
  leave: "yvlw-transform yvlw-transition yvlw-duration-300",
3538
3570
  leaveFrom: "yvlw-translate-y-0 yvlw-opacity-100",
@@ -3540,44 +3572,39 @@ function Ts() {
3540
3572
  enterFrom: "yvlw-translate-y-full yvlw-opacity-0",
3541
3573
  enterTo: "yvlw-translate-y-0 yvlw-opacity-100",
3542
3574
  className: "yvlw-h-full yvlw-w-full",
3543
- children: /* @__PURE__ */ v("div", { className: B.completed, children: /* @__PURE__ */ v(
3575
+ children: /* @__PURE__ */ p("div", { className: B.completed, children: /* @__PURE__ */ p(
3544
3576
  ft,
3545
3577
  {
3546
- Icon: dl,
3547
- title: "Successful",
3548
- description: "Your Identity verification has been completed successfully. Thanks for your patience",
3578
+ Icon: pl,
3579
+ title: m ? "All Set!" : "Completed",
3580
+ description: m ? "You can now close or exit the window" : "Your Identity verification has been completed successfully. Thanks for your patience",
3549
3581
  actionText: "Finish",
3550
- loading: s,
3551
- onActionClick: h,
3552
- children: p && /* @__PURE__ */ v("div", { className: "yvlw-mt-3", children: p })
3582
+ loading: d,
3583
+ onActionClick: $,
3584
+ hideButton: m,
3585
+ children: _ && /* @__PURE__ */ p("div", { className: "yvlw-mt-3", children: _ })
3553
3586
  }
3554
3587
  ) })
3555
3588
  }
3556
3589
  )
3557
3590
  ] }) }),
3558
- /* @__PURE__ */ v("div", { className: `${B.rhs} divider`, children: [
3559
- r && /* @__PURE__ */ v("div", { className: `${B.profile} divider`, children: [
3560
- /* @__PURE__ */ v("div", { children: /* @__PURE__ */ v("div", { className: B.avatar, children: [
3561
- r.firstName.charAt(0).toUpperCase(),
3562
- (m = r.lastName) == null ? void 0 : m.charAt(0).toUpperCase()
3563
- ] }) }),
3564
- /* @__PURE__ */ v("div", { children: [
3565
- /* @__PURE__ */ v("h4", { children: [
3566
- r.firstName,
3567
- " ",
3568
- r.lastName
3569
- ] }),
3570
- r.email && /* @__PURE__ */ v("p", { className: "subtext", children: r.email })
3571
- ] })
3572
- ] }),
3573
- /* @__PURE__ */ v("footer", { children: [
3574
- /* @__PURE__ */ v("div", { children: "About · Terms · Help · Privacy · Contact" }),
3575
- /* @__PURE__ */ v("div", { children: "© 2024 from Youverify Inc." })
3591
+ /* @__PURE__ */ p("div", { className: `${B.rhs} divider`, children: r && /* @__PURE__ */ p("div", { className: `${B.profile} divider`, children: [
3592
+ /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p("div", { className: B.avatar, children: [
3593
+ r.firstName.charAt(0).toUpperCase(),
3594
+ (g = r.lastName) == null ? void 0 : g.charAt(0).toUpperCase()
3595
+ ] }) }),
3596
+ /* @__PURE__ */ p("div", { children: [
3597
+ /* @__PURE__ */ p("h4", { children: [
3598
+ r.firstName,
3599
+ " ",
3600
+ r.lastName
3601
+ ] }),
3602
+ r.email && /* @__PURE__ */ p("p", { className: "subtext", children: r.email })
3576
3603
  ] })
3577
- ] })
3604
+ ] }) })
3578
3605
  ] }) });
3579
3606
  }
3580
- function ks(e) {
3607
+ function Ms(e) {
3581
3608
  const {
3582
3609
  tasks: t,
3583
3610
  namespace: n,
@@ -3590,11 +3617,11 @@ function ks(e) {
3590
3617
  presentation: s = "modal",
3591
3618
  publicKey: u,
3592
3619
  metadata: d
3593
- } = e, [c, p] = k(e.show), f = () => {
3594
- p(!1), i();
3620
+ } = e, [c, h] = T(e.show), f = () => {
3621
+ h(!1), i();
3595
3622
  };
3596
- return /* @__PURE__ */ v(
3597
- Cl,
3623
+ return /* @__PURE__ */ p(
3624
+ kl,
3598
3625
  {
3599
3626
  namespace: n,
3600
3627
  publicKey: u,
@@ -3605,28 +3632,29 @@ function ks(e) {
3605
3632
  onSuccess: a,
3606
3633
  onFailure: l,
3607
3634
  metadata: d,
3608
- children: /* @__PURE__ */ v(
3609
- Qa,
3635
+ presentation: s,
3636
+ children: /* @__PURE__ */ p(
3637
+ el,
3610
3638
  {
3611
3639
  id: n,
3612
3640
  open: s === "page" ? !0 : c,
3613
3641
  onClose: f,
3614
3642
  transition: !0,
3615
- className: `${il.root} ${ot.root} ${ot[s]}`,
3643
+ className: `${ll.root} ${ot.root} ${ot[s]}`,
3616
3644
  style: {
3617
- "--branding-color": (o == null ? void 0 : o.color) ?? El
3645
+ "--branding-color": (o == null ? void 0 : o.color) ?? Cl
3618
3646
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3619
3647
  },
3620
3648
  children: [
3621
- s === "modal" && /* @__PURE__ */ v("div", { onClick: f, role: "button", className: ot.close, children: /* @__PURE__ */ v(fl, { className: "yvlw-text-white" }) }),
3622
- /* @__PURE__ */ v(uo, { className: `${ot.container}`, children: /* @__PURE__ */ v(Ts, {}) })
3649
+ s === "modal" && /* @__PURE__ */ p("div", { onClick: f, role: "button", className: ot.close, children: /* @__PURE__ */ p(hl, { className: "yvlw-text-white" }) }),
3650
+ /* @__PURE__ */ p(fo, { className: `${ot.container}`, children: /* @__PURE__ */ p(Ps, {}) })
3623
3651
  ]
3624
3652
  }
3625
3653
  )
3626
3654
  }
3627
3655
  );
3628
3656
  }
3629
- class Ss {
3657
+ class Hs {
3630
3658
  constructor(t) {
3631
3659
  this.tasks = [], this.container = null, this.namespace = "liveness-web-sdk";
3632
3660
  const { presentation: n = "modal" } = t;
@@ -3641,9 +3669,9 @@ class Ss {
3641
3669
  throw new Error("First Name is required when User object is supplied");
3642
3670
  }
3643
3671
  async start(t) {
3644
- t && (this.tasks = t), this.validateOptions(), this.container = document.createElement("div"), document.body.appendChild(this.container), Me(
3645
- /* @__PURE__ */ v(
3646
- ks,
3672
+ t && (this.tasks = t), this.validateOptions(), this.container = document.createElement("div"), document.body.appendChild(this.container), Pe(
3673
+ /* @__PURE__ */ p(
3674
+ Ms,
3647
3675
  {
3648
3676
  namespace: this.namespace,
3649
3677
  publicKey: this.props.publicKey,
@@ -3670,5 +3698,5 @@ class Ss {
3670
3698
  }
3671
3699
  }
3672
3700
  export {
3673
- Ss as default
3701
+ Hs as default
3674
3702
  };