youverify-liveness-web 0.1.12 → 0.1.13

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,5 +1,5 @@
1
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 Xe, F, cr, we, Fn, ur, Ot, nn, Rt, Vt, dr, Ze = {}, fr = [], xo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, mt = Array.isArray;
2
+ var Xe, F, cr, we, xn, ur, Ot, nn, Rt, Vt, dr, Ze = {}, fr = [], Fo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, mt = Array.isArray;
3
3
  function ce(e, t) {
4
4
  for (var n in t) e[n] = t[n];
5
5
  return e;
@@ -21,7 +21,7 @@ function je(e, t, n, r, o) {
21
21
  function rn() {
22
22
  return { current: null };
23
23
  }
24
- function H(e) {
24
+ function D(e) {
25
25
  return e.children;
26
26
  }
27
27
  function te(e, t) {
@@ -43,7 +43,7 @@ function hr(e) {
43
43
  }
44
44
  }
45
45
  function Ut(e) {
46
- (!e.__d && (e.__d = !0) && we.push(e) && !dt.__r++ || Fn !== F.debounceRendering) && ((Fn = F.debounceRendering) || ur)(dt);
46
+ (!e.__d && (e.__d = !0) && we.push(e) && !dt.__r++ || xn !== F.debounceRendering) && ((xn = F.debounceRendering) || ur)(dt);
47
47
  }
48
48
  function dt() {
49
49
  var e, t, n, r, o, i, a, s;
@@ -51,13 +51,13 @@ function dt() {
51
51
  dt.__r = 0;
52
52
  }
53
53
  function _r(e, t, n, r, o, i, a, s, l, u, d) {
54
- var c, p, f, m, y, v = r && r.__k || fr, _ = t.length;
55
- for (n.__d = l, So(n, t, v), l = n.__d, c = 0; c < _; c++) (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (p = f.__i === -1 ? Ze : v[f.__i] || Ze, f.__i = c, on(e, f, p, o, i, a, s, l, u, d), m = f.__e, f.ref && p.ref != f.ref && (p.ref && an(p.ref, null, f), d.push(f.ref, f.__c || m, f)), y == null && m != null && (y = m), 65536 & f.__u || p.__k === f.__k ? l = vr(f, l, e) : typeof f.type == "function" && f.__d !== void 0 ? l = f.__d : m && (l = m.nextSibling), f.__d = void 0, f.__u &= -196609);
54
+ var c, p, f, v, y, m = r && r.__k || fr, _ = t.length;
55
+ for (n.__d = l, So(n, t, m), l = n.__d, c = 0; c < _; c++) (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (p = f.__i === -1 ? Ze : m[f.__i] || Ze, f.__i = c, on(e, f, p, o, i, a, s, l, u, d), v = f.__e, f.ref && p.ref != f.ref && (p.ref && an(p.ref, null, f), d.push(f.ref, f.__c || v, f)), y == null && v != null && (y = v), 65536 & f.__u || p.__k === f.__k ? l = vr(f, l, e) : typeof f.type == "function" && f.__d !== void 0 ? l = f.__d : v && (l = v.nextSibling), f.__d = void 0, f.__u &= -196609);
56
56
  n.__d = l, n.__e = y;
57
57
  }
58
58
  function So(e, t, n) {
59
59
  var r, o, i, a, s, l = t.length, u = n.length, d = u, c = 0;
60
- for (e.__k = [], r = 0; r < l; 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 ? je(null, o, null, null, null) : mt(o) ? je(H, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? je(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, s = Po(o, n, a, d), o.__i = s, i = null, s !== -1 && (d--, (i = n[s]) && (i.__u |= 131072)), i == null || i.__v === null ? (s == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : s !== a && (s == a - 1 ? c = s - a : s == a + 1 ? c++ : s > a ? d > l - a ? c += s - a : c-- : s < a && c++, s !== r + c && (o.__u |= 65536))) : (i = n[a]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = ke(i)), Wt(i, i, !1), n[a] = null, d--);
60
+ for (e.__k = [], r = 0; r < l; 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 ? je(null, o, null, null, null) : mt(o) ? je(D, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? je(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, s = Mo(o, n, a, d), o.__i = s, i = null, s !== -1 && (d--, (i = n[s]) && (i.__u |= 131072)), i == null || i.__v === null ? (s == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : s !== a && (s == a - 1 ? c = s - a : s == a + 1 ? c++ : s > a ? d > l - a ? c += s - a : c-- : s < a && c++, s !== r + c && (o.__u |= 65536))) : (i = n[a]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = ke(i)), Wt(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 = ke(i)), Wt(i, i));
62
62
  }
63
63
  function vr(e, t, n) {
@@ -77,7 +77,7 @@ function ue(e, t) {
77
77
  ue(n, t);
78
78
  }) : t.push(e)), t;
79
79
  }
80
- function Po(e, t, n, r) {
80
+ function Mo(e, t, n, r) {
81
81
  var o = e.key, i = e.type, a = n - 1, s = n + 1, l = t[n];
82
82
  if (l === null || l && o == l.key && i === l.type && !(131072 & l.__u)) return n;
83
83
  if (r > (l != null && !(131072 & l.__u) ? 1 : 0)) for (; a >= 0 || s < t.length; ) {
@@ -92,15 +92,15 @@ function Po(e, t, n, r) {
92
92
  }
93
93
  return -1;
94
94
  }
95
- function xn(e, t, n) {
96
- t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || xo.test(t) ? n : n + "px";
95
+ function Fn(e, t, n) {
96
+ t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || Fo.test(t) ? n : n + "px";
97
97
  }
98
98
  function ot(e, t, n, r, o) {
99
99
  var i;
100
100
  e: if (t === "style") if (typeof n == "string") e.style.cssText = n;
101
101
  else {
102
- if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || xn(e.style, t, "");
103
- if (n) for (t in n) r && n[t] === r[t] || xn(e.style, t, n[t]);
102
+ if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || Fn(e.style, t, "");
103
+ if (n) for (t in n) r && n[t] === r[t] || Fn(e.style, t, n[t]);
104
104
  }
105
105
  else if (t[0] === "o" && t[1] === "n") i = t !== (t = t.replace(/(PointerCapture)$|Capture$/i, "$1")), t = t.toLowerCase() in e || t === "onFocusOut" || t === "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? r ? n.u = r.u : (n.u = nn, e.addEventListener(t, i ? Vt : Rt, i)) : e.removeEventListener(t, i ? Vt : Rt, i);
106
106
  else {
@@ -124,38 +124,38 @@ function Sn(e) {
124
124
  };
125
125
  }
126
126
  function on(e, t, n, r, o, i, a, s, l, u) {
127
- var d, c, p, f, m, y, v, _, g, E, C, $, M, O, R, W, b = t.type;
127
+ var d, c, p, f, v, y, m, _, g, b, C, $, P, O, R, W, E = t.type;
128
128
  if (t.constructor !== void 0) return null;
129
129
  128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (d = F.__b) && d(t);
130
- e: if (typeof b == "function") try {
131
- if (_ = t.props, g = "prototype" in b && b.prototype.render, E = (d = b.contextType) && r[d.__c], C = d ? E ? E.props.value : d.__ : r, n.__c ? v = (c = t.__c = n.__c).__ = c.__E : (g ? t.__c = c = new b(_, C) : (t.__c = c = new te(_, C), c.constructor = b, c.render = No), E && E.sub(c), c.props = _, c.state || (c.state = {}), c.context = C, c.__n = r, p = c.__d = !0, c.__h = [], c._sb = []), g && c.__s == null && (c.__s = c.state), g && b.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ce({}, c.__s)), ce(c.__s, b.getDerivedStateFromProps(_, c.__s))), f = c.props, m = c.state, c.__v = t, p) g && b.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), g && c.componentDidMount != null && c.__h.push(c.componentDidMount);
130
+ e: if (typeof E == "function") try {
131
+ if (_ = t.props, g = "prototype" in E && E.prototype.render, b = (d = E.contextType) && r[d.__c], C = d ? b ? b.props.value : d.__ : r, n.__c ? m = (c = t.__c = n.__c).__ = c.__E : (g ? t.__c = c = new E(_, C) : (t.__c = c = new te(_, C), c.constructor = E, c.render = No), b && b.sub(c), c.props = _, c.state || (c.state = {}), c.context = C, c.__n = r, p = c.__d = !0, c.__h = [], c._sb = []), g && c.__s == null && (c.__s = c.state), g && E.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ce({}, c.__s)), ce(c.__s, E.getDerivedStateFromProps(_, c.__s))), f = c.props, v = c.state, c.__v = t, p) g && E.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), g && c.componentDidMount != null && c.__h.push(c.componentDidMount);
132
132
  else {
133
- if (g && b.getDerivedStateFromProps == null && _ !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(_, C), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(_, c.__s, C) === !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(x) {
135
- x && (x.__ = t);
133
+ if (g && E.getDerivedStateFromProps == null && _ !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(_, C), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(_, c.__s, C) === !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(k) {
135
+ k && (k.__ = t);
136
136
  }), $ = 0; $ < c._sb.length; $++) c.__h.push(c._sb[$]);
137
137
  c._sb = [], c.__h.length && a.push(c);
138
138
  break e;
139
139
  }
140
140
  c.componentWillUpdate != null && c.componentWillUpdate(_, c.__s, C), g && c.componentDidUpdate != null && c.__h.push(function() {
141
- c.componentDidUpdate(f, m, y);
141
+ c.componentDidUpdate(f, v, y);
142
142
  });
143
143
  }
144
- if (c.context = C, c.props = _, c.__P = e, c.__e = !1, M = F.__r, O = 0, g) {
145
- for (c.state = c.__s, c.__d = !1, M && M(t), d = c.render(c.props, c.state, c.context), R = 0; R < c._sb.length; R++) c.__h.push(c._sb[R]);
144
+ if (c.context = C, c.props = _, c.__P = e, c.__e = !1, P = F.__r, O = 0, g) {
145
+ for (c.state = c.__s, c.__d = !1, P && P(t), d = c.render(c.props, c.state, c.context), R = 0; R < c._sb.length; R++) c.__h.push(c._sb[R]);
146
146
  c._sb = [];
147
147
  } else do
148
- c.__d = !1, M && M(t), d = c.render(c.props, c.state, c.context), c.state = c.__s;
148
+ c.__d = !1, P && P(t), d = c.render(c.props, c.state, c.context), c.state = c.__s;
149
149
  while (c.__d && ++O < 25);
150
- c.state = c.__s, c.getChildContext != null && (r = ce(ce({}, r), c.getChildContext())), g && !p && c.getSnapshotBeforeUpdate != null && (y = c.getSnapshotBeforeUpdate(f, m)), _r(e, mt(W = d != null && d.type === H && d.key == null ? d.props.children : d) ? W : [W], t, n, r, o, i, a, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), v && (c.__E = c.__ = null);
151
- } catch (x) {
150
+ c.state = c.__s, c.getChildContext != null && (r = ce(ce({}, r), c.getChildContext())), g && !p && c.getSnapshotBeforeUpdate != null && (y = c.getSnapshotBeforeUpdate(f, v)), _r(e, mt(W = d != null && d.type === D && d.key == null ? d.props.children : d) ? W : [W], t, n, r, o, i, a, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), m && (c.__E = c.__ = null);
151
+ } catch (k) {
152
152
  if (t.__v = null, l || i != null) {
153
153
  for (t.__u |= l ? 160 : 32; s && s.nodeType === 8 && s.nextSibling; ) s = s.nextSibling;
154
154
  i[i.indexOf(s)] = null, t.__e = s;
155
155
  } else t.__e = n.__e, t.__k = n.__k;
156
- F.__e(x, t, n);
156
+ F.__e(k, t, n);
157
157
  }
158
- else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Mo(n.__e, t, n, r, o, i, a, l, u);
158
+ else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Po(n.__e, t, n, r, o, i, a, l, u);
159
159
  (d = F.diffed) && d(t);
160
160
  }
161
161
  function mr(e, t, n) {
@@ -171,8 +171,8 @@ function mr(e, t, n) {
171
171
  }
172
172
  });
173
173
  }
174
- function Mo(e, t, n, r, o, i, a, s, l) {
175
- var u, d, c, p, f, m, y, v = n.props, _ = t.props, g = t.type;
174
+ function Po(e, t, n, r, o, i, a, s, l) {
175
+ var u, d, c, p, f, v, y, m = n.props, _ = t.props, g = t.type;
176
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
177
  for (u = 0; u < i.length; u++) if ((f = i[u]) && "setAttribute" in f == !!g && (g ? f.localName === g : f.nodeType === 3)) {
178
178
  e = f, i[u] = null;
@@ -183,20 +183,20 @@ function Mo(e, t, n, r, o, i, a, s, l) {
183
183
  if (g === null) return document.createTextNode(_);
184
184
  e = document.createElementNS(o, g, _.is && _), i = null, s = !1;
185
185
  }
186
- if (g === null) v === _ || s && e.data === _ || (e.data = _);
186
+ if (g === null) m === _ || s && e.data === _ || (e.data = _);
187
187
  else {
188
- if (i = i && Xe.call(e.childNodes), v = n.props || Ze, !s && i != null) for (v = {}, u = 0; u < e.attributes.length; u++) v[(f = e.attributes[u]).name] = f.value;
189
- for (u in v) if (f = v[u], u != "children") {
188
+ if (i = i && Xe.call(e.childNodes), m = n.props || Ze, !s && i != null) for (m = {}, u = 0; u < e.attributes.length; u++) m[(f = e.attributes[u]).name] = f.value;
189
+ for (u in m) if (f = m[u], u != "children") {
190
190
  if (u == "dangerouslySetInnerHTML") c = f;
191
191
  else if (u !== "key" && !(u in _)) {
192
192
  if (u == "value" && "defaultValue" in _ || u == "checked" && "defaultChecked" in _) continue;
193
193
  ot(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" ? m = f : u == "checked" ? y = f : u === "key" || s && typeof f != "function" || v[u] === f || ot(e, u, f, v[u], o);
196
+ for (u in _) f = _[u], u == "children" ? p = f : u == "dangerouslySetInnerHTML" ? d = f : u == "value" ? v = f : u == "checked" ? y = f : u === "key" || s && typeof f != "function" || m[u] === f || ot(e, u, f, m[u], o);
197
197
  if (d) s || c && (d.__html === c.__html || d.__html === e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
198
198
  else if (c && (e.innerHTML = ""), _r(e, mt(p) ? p : [p], t, n, r, g === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && ke(n, 0), s, l), i != null) for (u = i.length; u--; ) i[u] != null && pr(i[u]);
199
- s || (u = "value", m !== void 0 && (m !== e[u] || g === "progress" && !m || g === "option" && m !== v[u]) && ot(e, u, m, v[u], o), u = "checked", y !== void 0 && y !== e[u] && ot(e, u, y, v[u], o));
199
+ s || (u = "value", v !== void 0 && (v !== e[u] || g === "progress" && !v || g === "option" && v !== m[u]) && ot(e, u, v, m[u], o), u = "checked", y !== void 0 && y !== e[u] && ot(e, u, y, m[u], o));
200
200
  }
201
201
  return e;
202
202
  }
@@ -228,7 +228,7 @@ function No(e, t, n) {
228
228
  }
229
229
  function Ae(e, t, n) {
230
230
  var r, o, i, a;
231
- F.__ && F.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], on(t, e = (!r && n || t).__k = ne(H, null, [e]), o || Ze, Ze, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Xe.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), mr(i, e, a);
231
+ F.__ && F.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], on(t, e = (!r && n || t).__k = ne(D, null, [e]), o || Ze, Ze, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Xe.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), mr(i, e, a);
232
232
  }
233
233
  function yr(e, t) {
234
234
  Ae(e, t, yr);
@@ -273,7 +273,7 @@ Xe = fr.slice, F = { __e: function(e, t, n, r) {
273
273
  n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ce({}, this.state), typeof e == "function" && (e = e(ce({}, n), this.props)), e && ce(n, e), e != null && this.__v && (t && this._sb.push(t), Ut(this));
274
274
  }, te.prototype.forceUpdate = function(e) {
275
275
  this.__v && (this.__e = !0, e && this.__h.push(e), Ut(this));
276
- }, te.prototype.render = H, we = [], ur = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ot = function(e, t) {
276
+ }, te.prototype.render = D, we = [], ur = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ot = function(e, t) {
277
277
  return e.__v.__b - t.__v.__b;
278
278
  }, dt.__r = 0, nn = 0, Rt = Sn(!1), Vt = Sn(!0), dr = 0;
279
279
  var Ao = 0;
@@ -285,17 +285,17 @@ function h(e, t, n, r, o, i) {
285
285
  if (typeof e == "function" && (a = e.defaultProps)) for (s in a) l[s] === void 0 && (l[s] = a[s]);
286
286
  return F.vnode && F.vnode(u), u;
287
287
  }
288
- var fe, L, Pt, Pn, Ie = 0, gr = [], V = F, Mn = V.__b, Nn = V.__r, Ln = V.diffed, An = V.__c, In = V.unmount, Hn = V.__;
289
- function xe(e, t) {
288
+ var fe, L, Mt, Mn, Ie = 0, gr = [], V = F, Pn = V.__b, Nn = V.__r, Ln = V.diffed, An = V.__c, In = V.unmount, Hn = V.__;
289
+ function Fe(e, t) {
290
290
  V.__h && V.__h(L, e, Ie || t), Ie = 0;
291
291
  var n = L.__H || (L.__H = { __: [], __h: [] });
292
292
  return e >= n.__.length && n.__.push({}), n.__[e];
293
293
  }
294
- function k(e) {
294
+ function x(e) {
295
295
  return Ie = 1, Qe(wr, e);
296
296
  }
297
297
  function Qe(e, t, n) {
298
- var r = xe(fe++, 2);
298
+ var r = Fe(fe++, 2);
299
299
  if (r.t = e, !r.__c && (r.__ = [n ? n(t) : wr(void 0, t), function(s) {
300
300
  var l = r.__N ? r.__N[0] : r.__[0], u = r.t(l, s);
301
301
  l !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
@@ -329,15 +329,15 @@ function Qe(e, t, n) {
329
329
  return r.__N || r.__;
330
330
  }
331
331
  function N(e, t) {
332
- var n = xe(fe++, 3);
332
+ var n = Fe(fe++, 3);
333
333
  !V.__s && cn(n.__H, t) && (n.__ = e, n.i = t, L.__H.__h.push(n));
334
334
  }
335
335
  function Se(e, t) {
336
- var n = xe(fe++, 4);
336
+ var n = Fe(fe++, 4);
337
337
  !V.__s && cn(n.__H, t) && (n.__ = e, n.i = t, L.__h.push(n));
338
338
  }
339
339
  function w(e) {
340
- return Ie = 5, P(function() {
340
+ return Ie = 5, M(function() {
341
341
  return { current: e };
342
342
  }, []);
343
343
  }
@@ -350,24 +350,24 @@ function sn(e, t, n) {
350
350
  }) : void 0;
351
351
  }, n == null ? n : n.concat(e));
352
352
  }
353
- function P(e, t) {
354
- var n = xe(fe++, 7);
353
+ function M(e, t) {
354
+ var n = Fe(fe++, 7);
355
355
  return cn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
356
356
  }
357
- function A(e, t) {
358
- return Ie = 8, P(function() {
357
+ function I(e, t) {
358
+ return Ie = 8, M(function() {
359
359
  return e;
360
360
  }, t);
361
361
  }
362
362
  function j(e) {
363
- var t = L.context[e.__c], n = xe(fe++, 9);
363
+ var t = L.context[e.__c], n = Fe(fe++, 9);
364
364
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(L)), t.props.value) : e.__;
365
365
  }
366
366
  function ln(e, t) {
367
367
  V.useDebugValue && V.useDebugValue(t ? t(e) : e);
368
368
  }
369
369
  function Io(e) {
370
- var t = xe(fe++, 10), n = k();
370
+ var t = Fe(fe++, 10), n = x();
371
371
  return t.__ = e, L.componentDidCatch || (L.componentDidCatch = function(r, o) {
372
372
  t.__ && t.__(r, o), n[1](r);
373
373
  }), [n[0], function() {
@@ -375,7 +375,7 @@ function Io(e) {
375
375
  }];
376
376
  }
377
377
  function me() {
378
- var e = xe(fe++, 11);
378
+ var e = Fe(fe++, 11);
379
379
  if (!e.__) {
380
380
  for (var t = L.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
381
381
  var n = t.__m || (t.__m = [0, 0]);
@@ -391,21 +391,21 @@ function Ho() {
391
391
  }
392
392
  }
393
393
  V.__b = function(e) {
394
- L = null, Mn && Mn(e);
394
+ L = null, Pn && Pn(e);
395
395
  }, V.__ = function(e, t) {
396
396
  e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Hn && Hn(e, t);
397
397
  }, V.__r = function(e) {
398
398
  Nn && Nn(e), fe = 0;
399
399
  var t = (L = e.__c).__H;
400
- t && (Pt === L ? (t.__h = [], L.__h = [], t.__.forEach(function(n) {
400
+ t && (Mt === L ? (t.__h = [], L.__h = [], t.__.forEach(function(n) {
401
401
  n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
402
- })) : (t.__h.forEach(ut), t.__h.forEach(zt), t.__h = [], fe = 0)), Pt = L;
402
+ })) : (t.__h.forEach(ut), t.__h.forEach(zt), t.__h = [], fe = 0)), Mt = L;
403
403
  }, V.diffed = function(e) {
404
404
  Ln && Ln(e);
405
405
  var t = e.__c;
406
- t && t.__H && (t.__H.__h.length && (gr.push(t) !== 1 && Pn === V.requestAnimationFrame || ((Pn = V.requestAnimationFrame) || Do)(Ho)), t.__H.__.forEach(function(n) {
406
+ t && t.__H && (t.__H.__h.length && (gr.push(t) !== 1 && Mn === V.requestAnimationFrame || ((Mn = V.requestAnimationFrame) || Do)(Ho)), t.__H.__.forEach(function(n) {
407
407
  n.i && (n.__H = n.i), n.i = void 0;
408
- })), Pt = L = null;
408
+ })), Mt = L = null;
409
409
  }, V.__c = function(e, t) {
410
410
  t.some(function(n) {
411
411
  try {
@@ -524,7 +524,7 @@ function kr(e) {
524
524
  var t = e.__.__c;
525
525
  return t && t.__a && t.__a(e);
526
526
  }
527
- function Fr(e) {
527
+ function xr(e) {
528
528
  var t, n, r;
529
529
  function o(i) {
530
530
  if (t || (t = e()).then(function(a) {
@@ -571,8 +571,8 @@ F.unmount = function(e) {
571
571
  }
572
572
  this.__b = null;
573
573
  }
574
- var o = t.__a && ne(H, null, e.fallback);
575
- return o && (o.__u &= -33), [ne(H, null, t.__a ? null : e.children), o];
574
+ var o = t.__a && ne(D, null, e.fallback);
575
+ return o && (o.__u &= -33), [ne(D, null, t.__a ? null : e.children), o];
576
576
  };
577
577
  var Un = 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; ) {
@@ -624,13 +624,13 @@ function yt(e, t) {
624
624
  Un(e, n, t);
625
625
  });
626
626
  };
627
- var xr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Wo = /^(?: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]/, zo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, jo = /[A-Z0-9]/g, Bo = typeof document < "u", qo = function(e) {
627
+ var Fr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Wo = /^(?: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]/, zo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, jo = /[A-Z0-9]/g, Bo = typeof document < "u", qo = function(e) {
628
628
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
629
629
  };
630
630
  function Sr(e, t, n) {
631
631
  return t.__k == null && (t.textContent = ""), Ae(e, t), typeof n == "function" && n(), e ? e.__c : null;
632
632
  }
633
- function Pr(e, t, n) {
633
+ function Mr(e, t, n) {
634
634
  return yr(e, t), typeof n == "function" && n(), e ? e.__c : null;
635
635
  }
636
636
  te.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
@@ -670,7 +670,7 @@ F.vnode = function(e) {
670
670
  })), r == "select" && o.defaultValue != null && (o.value = ue(n.children).forEach(function(l) {
671
671
  l.props.selected = o.multiple ? o.defaultValue.indexOf(l.props.value) != -1 : o.defaultValue == l.props.value;
672
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 = xr, zn && zn(e);
673
+ }(e), e.$$typeof = Fr, zn && zn(e);
674
674
  };
675
675
  var jn = F.__r;
676
676
  F.__r = function(e) {
@@ -682,17 +682,17 @@ F.diffed = function(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), dn = null;
684
684
  };
685
- var Mr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
685
+ var Pr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
686
686
  return dn.__n[e.__c].props.value;
687
- }, useCallback: A, useContext: j, useDebugValue: ln, useDeferredValue: hn, useEffect: N, useId: me, useImperativeHandle: sn, useInsertionEffect: vn, useLayoutEffect: Se, useMemo: P, useReducer: Qe, useRef: w, useState: k, useSyncExternalStore: gt, useTransition: _n } } }, Xo = "17.0.2";
687
+ }, useCallback: I, useContext: j, useDebugValue: ln, useDeferredValue: hn, useEffect: N, useId: me, useImperativeHandle: sn, useInsertionEffect: vn, useLayoutEffect: Se, useMemo: M, useReducer: Qe, useRef: w, useState: x, useSyncExternalStore: gt, useTransition: _n } } }, Xo = "17.0.2";
688
688
  function Nr(e) {
689
689
  return ne.bind(null, e);
690
690
  }
691
691
  function De(e) {
692
- return !!e && e.$$typeof === xr;
692
+ return !!e && e.$$typeof === Fr;
693
693
  }
694
694
  function Lr(e) {
695
- return De(e) && e.type === H;
695
+ return De(e) && e.type === D;
696
696
  }
697
697
  function Ar(e) {
698
698
  return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
@@ -710,7 +710,7 @@ var Dr = function(e, t) {
710
710
  return e(t);
711
711
  }, Or = function(e, t) {
712
712
  return e(t);
713
- }, Rr = H;
713
+ }, Rr = D;
714
714
  function pn(e) {
715
715
  e();
716
716
  }
@@ -722,16 +722,16 @@ function _n() {
722
722
  }
723
723
  var vn = Se, Vr = De;
724
724
  function gt(e, t) {
725
- var n = t(), r = k({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
725
+ var n = t(), r = x({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
726
726
  return Se(function() {
727
- o.__ = n, o.v = t, Mt(o) && i({ h: o });
727
+ o.__ = n, o.v = t, Pt(o) && i({ h: o });
728
728
  }, [e, n, t]), N(function() {
729
- return Mt(o) && i({ h: o }), e(function() {
730
- Mt(o) && i({ h: o });
729
+ return Pt(o) && i({ h: o }), e(function() {
730
+ Pt(o) && i({ h: o });
731
731
  });
732
732
  }, [e]), n;
733
733
  }
734
- function Mt(e) {
734
+ function Pt(e) {
735
735
  var t, n, r = e.v, o = e.__;
736
736
  try {
737
737
  var i = r();
@@ -740,17 +740,17 @@ function Mt(e) {
740
740
  return !0;
741
741
  }
742
742
  }
743
- var T = { useState: k, useId: me, useReducer: Qe, useEffect: N, useLayoutEffect: Se, useInsertionEffect: vn, useTransition: _n, useDeferredValue: hn, useSyncExternalStore: gt, startTransition: pn, useRef: w, useImperativeHandle: sn, useMemo: P, useCallback: A, useContext: j, useDebugValue: ln, version: "17.0.2", Children: $r, render: Sr, hydrate: Pr, unmountComponentAtNode: Ir, createPortal: yt, createElement: ne, createContext: K, createFactory: Nr, cloneElement: fn, createRef: rn, Fragment: H, isValidElement: De, isElement: Vr, isFragment: Lr, isMemo: Ar, findDOMNode: Hr, Component: te, PureComponent: ft, memo: Er, forwardRef: un, flushSync: Or, unstable_batchedUpdates: Dr, StrictMode: Rr, Suspense: Be, SuspenseList: Le, lazy: Fr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Mr };
743
+ var T = { useState: x, useId: me, useReducer: Qe, useEffect: N, useLayoutEffect: Se, useInsertionEffect: vn, useTransition: _n, useDeferredValue: hn, useSyncExternalStore: gt, startTransition: pn, useRef: w, useImperativeHandle: sn, useMemo: M, useCallback: I, useContext: j, useDebugValue: ln, version: "17.0.2", Children: $r, render: Sr, hydrate: Mr, unmountComponentAtNode: Ir, createPortal: yt, createElement: ne, createContext: K, createFactory: Nr, cloneElement: fn, createRef: rn, Fragment: D, isValidElement: De, isElement: Vr, isFragment: Lr, isMemo: Ar, findDOMNode: Hr, Component: te, PureComponent: ft, memo: Er, forwardRef: un, flushSync: Or, unstable_batchedUpdates: Dr, StrictMode: Rr, Suspense: Be, SuspenseList: Le, lazy: xr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Pr };
744
744
  const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
745
745
  __proto__: null,
746
746
  Children: $r,
747
747
  Component: te,
748
- Fragment: H,
748
+ Fragment: D,
749
749
  PureComponent: ft,
750
750
  StrictMode: Rr,
751
751
  Suspense: Be,
752
752
  SuspenseList: Le,
753
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Mr,
753
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Pr,
754
754
  cloneElement: fn,
755
755
  createContext: K,
756
756
  createElement: ne,
@@ -761,18 +761,18 @@ const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
761
761
  findDOMNode: Hr,
762
762
  flushSync: Or,
763
763
  forwardRef: un,
764
- hydrate: Pr,
764
+ hydrate: Mr,
765
765
  isElement: Vr,
766
766
  isFragment: Lr,
767
767
  isMemo: Ar,
768
768
  isValidElement: De,
769
- lazy: Fr,
769
+ lazy: xr,
770
770
  memo: Er,
771
771
  render: Sr,
772
772
  startTransition: pn,
773
773
  unmountComponentAtNode: Ir,
774
774
  unstable_batchedUpdates: Dr,
775
- useCallback: A,
775
+ useCallback: I,
776
776
  useContext: j,
777
777
  useDebugValue: ln,
778
778
  useDeferredValue: hn,
@@ -782,10 +782,10 @@ const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
782
782
  useImperativeHandle: sn,
783
783
  useInsertionEffect: vn,
784
784
  useLayoutEffect: Se,
785
- useMemo: P,
785
+ useMemo: M,
786
786
  useReducer: Qe,
787
787
  useRef: w,
788
- useState: k,
788
+ useState: x,
789
789
  useSyncExternalStore: gt,
790
790
  useTransition: _n,
791
791
  version: Xo
@@ -797,7 +797,7 @@ function Qo(e) {
797
797
  t.current = e;
798
798
  }, [
799
799
  e
800
- ]), A((...n) => {
800
+ ]), I((...n) => {
801
801
  const r = t.current;
802
802
  return r == null ? void 0 : r(...n);
803
803
  }, []);
@@ -856,7 +856,7 @@ function Wr(e) {
856
856
  let n = Qo((r) => {
857
857
  e == null || e(r);
858
858
  });
859
- return A((r) => {
859
+ return I((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) => {
@@ -889,13 +889,13 @@ function Wr(e) {
889
889
  }
890
890
  function ii(e) {
891
891
  let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: o } = e;
892
- const i = A((l) => {
892
+ const i = I((l) => {
893
893
  if (l.target === l.currentTarget)
894
894
  return r && r(l), o && o(!1), !0;
895
895
  }, [
896
896
  r,
897
897
  o
898
- ]), a = Wr(i), s = A((l) => {
898
+ ]), a = Wr(i), s = I((l) => {
899
899
  const u = Je(l.target);
900
900
  l.target === l.currentTarget && u.activeElement === l.target && (n && n(l), o && o(!0), a(l));
901
901
  }, [
@@ -910,7 +910,7 @@ function ii(e) {
910
910
  }
911
911
  };
912
912
  }
913
- let et = null, Bt = /* @__PURE__ */ new Set(), qe = /* @__PURE__ */ new Map(), Fe = !1, qt = !1;
913
+ let et = null, Bt = /* @__PURE__ */ new Set(), qe = /* @__PURE__ */ new Map(), xe = !1, qt = !1;
914
914
  const ai = {
915
915
  Tab: !0,
916
916
  Escape: !0
@@ -922,26 +922,26 @@ function si(e) {
922
922
  return !(e.metaKey || !ti() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
923
923
  }
924
924
  function pt(e) {
925
- Fe = !0, si(e) && (et = "keyboard", mn("keyboard", e));
925
+ xe = !0, si(e) && (et = "keyboard", mn("keyboard", e));
926
926
  }
927
927
  function X(e) {
928
- et = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Fe = !0, mn("pointer", e));
928
+ et = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (xe = !0, mn("pointer", e));
929
929
  }
930
930
  function zr(e) {
931
- ri(e) && (Fe = !0, et = "virtual");
931
+ ri(e) && (xe = !0, et = "virtual");
932
932
  }
933
933
  function jr(e) {
934
- e.target === window || e.target === document || (!Fe && !qt && (et = "virtual", mn("virtual", e)), Fe = !1, qt = !1);
934
+ e.target === window || e.target === document || (!xe && !qt && (et = "virtual", mn("virtual", e)), xe = !1, qt = !1);
935
935
  }
936
936
  function Br() {
937
- Fe = !1, qt = !0;
937
+ xe = !1, qt = !0;
938
938
  }
939
939
  function Yt(e) {
940
940
  if (typeof window > "u" || qe.get(Ee(e))) return;
941
941
  const t = Ee(e), n = Je(e);
942
942
  let r = t.HTMLElement.prototype.focus;
943
943
  t.HTMLElement.prototype.focus = function() {
944
- Fe = !0, r.apply(this, arguments);
944
+ xe = !0, r.apply(this, arguments);
945
945
  }, n.addEventListener("keydown", pt, !0), n.addEventListener("keyup", pt, !0), n.addEventListener("click", zr, !0), t.addEventListener("focus", jr, !0), t.addEventListener("blur", Br, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", X, !0), n.addEventListener("pointermove", X, !0), n.addEventListener("pointerup", X, !0)) : (n.addEventListener("mousedown", X, !0), n.addEventListener("mousemove", X, !0), n.addEventListener("mouseup", X, !0)), t.addEventListener("beforeunload", () => {
946
946
  qr(e);
947
947
  }, {
@@ -994,13 +994,13 @@ function di(e, t, n) {
994
994
  function fi(e) {
995
995
  let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: o } = e, i = w({
996
996
  isFocusWithin: !1
997
- }), a = A((u) => {
997
+ }), a = I((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
- ]), s = Wr(a), l = A((u) => {
1003
+ ]), s = Wr(a), l = I((u) => {
1004
1004
  !i.current.isFocusWithin && document.activeElement === u.target && (r && r(u), o && o(!0), i.current.isFocusWithin = !0, s(u));
1005
1005
  }, [
1006
1006
  r,
@@ -1036,31 +1036,31 @@ function pi() {
1036
1036
  };
1037
1037
  }
1038
1038
  function hi(e) {
1039
- let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] = k(!1), s = w({
1039
+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] = x(!1), s = w({
1040
1040
  isHovered: !1,
1041
1041
  ignoreEmulatedMouseEvents: !1,
1042
1042
  pointerType: "",
1043
1043
  target: null
1044
1044
  }).current;
1045
1045
  N(pi, []);
1046
- let { hoverProps: l, triggerHoverEnd: u } = P(() => {
1047
- let d = (f, m) => {
1048
- if (s.pointerType = m, o || m === "touch" || s.isHovered || !f.currentTarget.contains(f.target)) return;
1046
+ let { hoverProps: l, triggerHoverEnd: u } = M(() => {
1047
+ let d = (f, v) => {
1048
+ if (s.pointerType = v, o || v === "touch" || s.isHovered || !f.currentTarget.contains(f.target)) return;
1049
1049
  s.isHovered = !0;
1050
1050
  let y = f.currentTarget;
1051
1051
  s.target = y, t && t({
1052
1052
  type: "hoverstart",
1053
1053
  target: y,
1054
- pointerType: m
1054
+ pointerType: v
1055
1055
  }), n && n(!0), a(!0);
1056
- }, c = (f, m) => {
1057
- if (s.pointerType = "", s.target = null, m === "touch" || !s.isHovered) return;
1056
+ }, c = (f, v) => {
1057
+ if (s.pointerType = "", s.target = null, v === "touch" || !s.isHovered) return;
1058
1058
  s.isHovered = !1;
1059
1059
  let y = f.currentTarget;
1060
1060
  r && r({
1061
1061
  type: "hoverend",
1062
1062
  target: y,
1063
- pointerType: m
1063
+ pointerType: v
1064
1064
  }), n && n(!1), a(!1);
1065
1065
  }, p = {};
1066
1066
  return typeof PointerEvent < "u" ? (p.onPointerEnter = (f) => {
@@ -1099,7 +1099,7 @@ function _i(e = {}) {
1099
1099
  let { autoFocus: t = !1, isTextInput: n, within: r } = e, o = w({
1100
1100
  isFocused: !1,
1101
1101
  isFocusVisible: t || Yr()
1102
- }), [i, a] = k(!1), [s, l] = k(() => o.current.isFocused && o.current.isFocusVisible), u = A(() => l(o.current.isFocused && o.current.isFocusVisible), []), d = A((f) => {
1102
+ }), [i, a] = x(!1), [s, l] = x(() => o.current.isFocused && o.current.isFocusVisible), u = I(() => l(o.current.isFocused && o.current.isFocusVisible), []), d = I((f) => {
1103
1103
  o.current.isFocused = f, a(f), u();
1104
1104
  }, [
1105
1105
  u
@@ -1197,20 +1197,20 @@ function ye() {
1197
1197
  return t;
1198
1198
  }
1199
1199
  function Et() {
1200
- let [e] = k(ye);
1200
+ let [e] = x(ye);
1201
1201
  return N(() => () => e.dispose(), [e]), e;
1202
1202
  }
1203
1203
  let B = (e, t) => {
1204
1204
  Te.isServer ? N(e, t) : Se(e, t);
1205
1205
  };
1206
- function Pe(e) {
1206
+ function Me(e) {
1207
1207
  let t = w(e);
1208
1208
  return B(() => {
1209
1209
  t.current = e;
1210
1210
  }, [e]), t;
1211
1211
  }
1212
- let I = function(e) {
1213
- let t = Pe(e);
1212
+ let H = function(e) {
1213
+ let t = Me(e);
1214
1214
  return T.useCallback((...n) => t.current(...n), [t]);
1215
1215
  };
1216
1216
  function gi(e) {
@@ -1221,9 +1221,9 @@ function wi(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
1223
  function bi({ disabled: e = !1 } = {}) {
1224
- let t = w(null), [n, r] = k(!1), o = Et(), i = I(() => {
1224
+ let t = w(null), [n, r] = x(!1), o = Et(), i = H(() => {
1225
1225
  t.current = null, r(!1), o.dispose();
1226
- }), a = I((s) => {
1226
+ }), a = H((s) => {
1227
1227
  if (o.dispose(), t.current === null) {
1228
1228
  t.current = s.currentTarget, r(!0);
1229
1229
  {
@@ -1280,23 +1280,23 @@ function it(e, t = {}, n, r, o) {
1280
1280
  let c = {};
1281
1281
  if (t) {
1282
1282
  let p = !1, f = [];
1283
- for (let [m, y] of Object.entries(t)) typeof y == "boolean" && (p = !0), y === !0 && f.push(m.replace(/([A-Z])/g, (v) => `-${v.toLowerCase()}`));
1283
+ for (let [v, y] of Object.entries(t)) typeof y == "boolean" && (p = !0), y === !0 && f.push(v.replace(/([A-Z])/g, (m) => `-${m.toLowerCase()}`));
1284
1284
  if (p) {
1285
1285
  c["data-headlessui-state"] = f.join(" ");
1286
- for (let m of f) c[`data-${m}`] = "";
1286
+ for (let v of f) c[`data-${v}`] = "";
1287
1287
  }
1288
1288
  }
1289
- if (i === H && (Object.keys(ge(l)).length > 0 || Object.keys(ge(c)).length > 0)) if (!De(d) || Array.isArray(d) && d.length > 1) {
1289
+ if (i === D && (Object.keys(ge(l)).length > 0 || Object.keys(ge(c)).length > 0)) if (!De(d) || Array.isArray(d) && d.length > 1) {
1290
1290
  if (Object.keys(ge(l)).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(ge(l)).concat(Object.keys(ge(c))).map((p) => ` - ${p}`).join(`
1291
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(`
1292
1292
  `)].join(`
1293
1293
  `));
1294
1294
  } else {
1295
- let p = d.props, f = p == null ? void 0 : p.className, m = typeof f == "function" ? (..._) => Gt(f(..._), l.className) : Gt(f, l.className), y = m ? { className: m } : {}, v = Gr(d.props, ge(At(l, ["ref"])));
1296
- for (let _ in c) _ in v && delete c[_];
1297
- return fn(d, Object.assign({}, v, c, u, { ref: o(d.ref, u.ref) }, y));
1295
+ let p = d.props, f = p == null ? void 0 : p.className, v = typeof f == "function" ? (..._) => Gt(f(..._), l.className) : Gt(f, l.className), y = v ? { className: v } : {}, m = Gr(d.props, ge(At(l, ["ref"])));
1296
+ for (let _ in c) _ in m && delete c[_];
1297
+ return fn(d, Object.assign({}, m, c, u, { ref: o(d.ref, u.ref) }, y));
1298
1298
  }
1299
- return ne(i, Object.assign({}, At(l, ["ref"]), i !== H && u, i !== H && c), d);
1299
+ return ne(i, Object.assign({}, At(l, ["ref"]), i !== D && u, i !== D && c), d);
1300
1300
  }
1301
1301
  function $i(...e) {
1302
1302
  return e.every((t) => t == null) ? void 0 : (t) => {
@@ -1349,19 +1349,19 @@ function At(e, t = []) {
1349
1349
  let Ci = "button";
1350
1350
  function ki(e, t) {
1351
1351
  var n;
1352
- let r = Kr(), { disabled: o = r || !1, autoFocus: i = !1, ...a } = e, { isFocusVisible: s, focusProps: l } = _i({ autoFocus: i }), { isHovered: u, hoverProps: d } = hi({ isDisabled: o }), { pressed: c, pressProps: p } = bi({ disabled: o }), f = Ti({ ref: t, type: (n = a.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, l, d, p), m = P(() => ({ disabled: o, hover: u, focus: s, active: c, autofocus: i }), [o, u, s, c, i]);
1353
- return G({ ourProps: f, theirProps: a, slot: m, defaultTag: Ci, name: "Button" });
1352
+ let r = Kr(), { disabled: o = r || !1, autoFocus: i = !1, ...a } = e, { isFocusVisible: s, focusProps: l } = _i({ autoFocus: i }), { isHovered: u, hoverProps: d } = hi({ isDisabled: o }), { pressed: c, pressProps: p } = bi({ disabled: o }), f = Ti({ ref: t, type: (n = a.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, l, d, p), v = M(() => ({ disabled: o, hover: u, focus: s, active: c, autofocus: i }), [o, u, s, c, i]);
1353
+ return G({ ourProps: f, theirProps: a, slot: v, defaultTag: Ci, name: "Button" });
1354
1354
  }
1355
- let Fi = q(ki), xi = "div";
1355
+ let xi = q(ki), Fi = "div";
1356
1356
  var vt = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(vt || {});
1357
1357
  function Si(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 G({ ourProps: i, theirProps: o, slot: {}, defaultTag: xi, name: "Hidden" });
1360
+ return G({ ourProps: i, theirProps: o, slot: {}, defaultTag: Fi, name: "Hidden" });
1361
1361
  }
1362
- let Zt = q(Si), Pi = K(null);
1363
- function Mi({ children: e }) {
1364
- let t = j(Pi);
1362
+ let Zt = q(Si), Mi = K(null);
1363
+ function Pi({ children: e }) {
1364
+ let t = j(Mi);
1365
1365
  if (!t) return T.createElement(T.Fragment, null, e);
1366
1366
  let { target: n } = t;
1367
1367
  return n ? yt(T.createElement(T.Fragment, null, e), n) : null;
@@ -1375,7 +1375,7 @@ function ae(...e) {
1375
1375
  N(() => {
1376
1376
  t.current = e;
1377
1377
  }, [e]);
1378
- let n = I((r) => {
1378
+ let n = H((r) => {
1379
1379
  for (let o of t.current) o != null && (typeof o == "function" ? o(r) : o.current = r);
1380
1380
  });
1381
1381
  return e.every((r) => r == null || (r == null ? void 0 : r[Zr])) ? void 0 : n;
@@ -1391,12 +1391,12 @@ function Xr() {
1391
1391
  return e;
1392
1392
  }
1393
1393
  function Li() {
1394
- let [e, t] = k([]);
1395
- return [e.length > 0 ? e.join(" ") : void 0, P(() => function(n) {
1396
- let r = I((i) => (t((a) => [...a, i]), () => t((a) => {
1394
+ let [e, t] = x([]);
1395
+ return [e.length > 0 ? e.join(" ") : void 0, M(() => function(n) {
1396
+ let r = H((i) => (t((a) => [...a, i]), () => t((a) => {
1397
1397
  let s = a.slice(), l = s.indexOf(i);
1398
1398
  return l !== -1 && s.splice(l, 1), s;
1399
- }))), o = P(() => ({ register: r, slot: n.slot, name: n.name, props: n.props, value: n.value }), [r, n.slot, n.name, n.props, n.value]);
1399
+ }))), o = M(() => ({ register: r, slot: n.slot, name: n.name, props: n.props, value: n.value }), [r, n.slot, n.name, n.props, n.value]);
1400
1400
  return T.createElement(yn.Provider, { value: o }, n.children);
1401
1401
  }, [t])];
1402
1402
  }
@@ -1404,7 +1404,7 @@ let Ai = "p";
1404
1404
  function Ii(e, t) {
1405
1405
  let n = me(), r = Kr(), { id: o = `headlessui-description-${n}`, ...i } = e, a = Xr(), s = ae(t);
1406
1406
  B(() => a.register(o), [o, a.register]);
1407
- let l = r || !1, u = P(() => ({ ...a.slot, disabled: l }), [a.slot, l]), d = { ref: s, ...a.props, id: o };
1407
+ let l = r || !1, u = M(() => ({ ...a.slot, disabled: l }), [a.slot, l]), d = { ref: s, ...a.props, id: o };
1408
1408
  return G({ ourProps: d, theirProps: i, slot: u, defaultTag: Ai, name: a.name || "Description" });
1409
1409
  }
1410
1410
  let Hi = q(Ii), Di = Object.assign(Hi, {});
@@ -1488,7 +1488,7 @@ function Wi(e, { allowed: t, disallowed: n } = {}) {
1488
1488
  }, [r, t, n]);
1489
1489
  }
1490
1490
  function to(e, t, n) {
1491
- let r = Pe((o) => {
1491
+ let r = Me((o) => {
1492
1492
  let i = o.getBoundingClientRect();
1493
1493
  i.x === 0 && i.y === 0 && i.width === 0 && i.height === 0 && n();
1494
1494
  });
@@ -1554,7 +1554,7 @@ function Xi(e, t = (n) => n) {
1554
1554
  }
1555
1555
  function Ke(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
1556
1556
  let i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ? Xi(e) : e : t & 64 ? qi(e) : Bi(e);
1557
- o.length > 0 && a.length > 1 && (a = a.filter((f) => !o.some((m) => m != null && "current" in m ? (m == null ? void 0 : m.current) === f : m === f))), r = r ?? i.activeElement;
1557
+ o.length > 0 && a.length > 1 && (a = a.filter((f) => !o.some((v) => v != null && "current" in v ? (v == null ? void 0 : v.current) === f : v === f))), r = r ?? i.activeElement;
1558
1558
  let s = (() => {
1559
1559
  if (t & 5) return 1;
1560
1560
  if (t & 10) return -1;
@@ -1588,7 +1588,7 @@ function Ji() {
1588
1588
  return ro() || Qi();
1589
1589
  }
1590
1590
  function Ue(e, t, n, r) {
1591
- let o = Pe(n);
1591
+ let o = Me(n);
1592
1592
  N(() => {
1593
1593
  if (!e) return;
1594
1594
  function i(a) {
@@ -1598,7 +1598,7 @@ function Ue(e, t, n, r) {
1598
1598
  }, [e, t, r]);
1599
1599
  }
1600
1600
  function oo(e, t, n, r) {
1601
- let o = Pe(n);
1601
+ let o = Me(n);
1602
1602
  N(() => {
1603
1603
  if (!e) return;
1604
1604
  function i(a) {
@@ -1609,7 +1609,7 @@ function oo(e, t, n, r) {
1609
1609
  }
1610
1610
  const Zn = 30;
1611
1611
  function ea(e, t, n) {
1612
- let r = Oe(e, "outside-click"), o = Pe(n), i = A(function(l, u) {
1612
+ let r = Oe(e, "outside-click"), o = Me(n), i = I(function(l, u) {
1613
1613
  if (l.defaultPrevented) return;
1614
1614
  let d = u(l);
1615
1615
  if (d === null || !d.getRootNode().contains(d) || !d.isConnected) return;
@@ -1641,10 +1641,10 @@ function ea(e, t, n) {
1641
1641
  }, !0), oo(r, "blur", (l) => i(l, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
1642
1642
  }
1643
1643
  function tt(...e) {
1644
- return P(() => wt(...e), [...e]);
1644
+ return M(() => wt(...e), [...e]);
1645
1645
  }
1646
1646
  function io(e, t, n, r) {
1647
- let o = Pe(n);
1647
+ let o = Me(n);
1648
1648
  N(() => {
1649
1649
  e = e ?? window;
1650
1650
  function i(a) {
@@ -1760,7 +1760,7 @@ function sa(e) {
1760
1760
  };
1761
1761
  }
1762
1762
  function la(e = 0) {
1763
- let [t, n] = k(e), r = A((l) => n(l), [t]), o = A((l) => n((u) => u | l), [t]), i = A((l) => (t & l) === l, [t]), a = A((l) => n((u) => u & ~l), [n]), s = A((l) => n((u) => u ^ l), [n]);
1763
+ let [t, n] = x(e), r = I((l) => n(l), [t]), o = I((l) => n((u) => u | l), [t]), i = I((l) => (t & l) === l, [t]), a = I((l) => n((u) => u & ~l), [n]), s = I((l) => n((u) => u ^ l), [n]);
1764
1764
  return { flags: t, setFlag: r, addFlag: o, hasFlag: i, removeFlag: a, toggleFlag: s };
1765
1765
  }
1766
1766
  var ca = ((e) => (e[e.None = 0] = "None", e[e.Closed = 1] = "Closed", e[e.Enter = 2] = "Enter", e[e.Leave = 4] = "Leave", e))(ca || {});
@@ -1770,19 +1770,19 @@ function ua(e) {
1770
1770
  return t;
1771
1771
  }
1772
1772
  function da(e, t, n, r) {
1773
- let [o, i] = k(n), { hasFlag: a, addFlag: s, removeFlag: l } = la(e && o ? 3 : 0), u = w(!1), d = w(!1), c = Et();
1773
+ let [o, i] = x(n), { hasFlag: a, addFlag: s, removeFlag: l } = la(e && o ? 3 : 0), u = w(!1), d = w(!1), c = Et();
1774
1774
  return B(function p() {
1775
1775
  var f;
1776
1776
  if (!e) return;
1777
1777
  n && i(!0);
1778
- let m = t.current;
1779
- return m ? ((f = r == null ? void 0 : r.start) == null || f.call(r, n), fa(m, { inFlight: u, prepare() {
1778
+ let v = t.current;
1779
+ return v ? ((f = r == null ? void 0 : r.start) == null || f.call(r, n), fa(v, { inFlight: u, prepare() {
1780
1780
  d.current ? d.current = !1 : d.current = u.current, u.current = !0, !d.current && (n ? (s(3), l(4)) : (s(4), l(2)));
1781
1781
  }, run() {
1782
1782
  d.current ? n ? (l(3), s(4)) : (l(4), s(3)) : n ? l(1) : s(1);
1783
1783
  }, done() {
1784
1784
  var y;
1785
- d.current && typeof m.getAnimations == "function" && m.getAnimations().length > 0 || (u.current = !1, l(7), n || i(!1), (y = r == null ? void 0 : r.end) == null || y.call(r, n));
1785
+ d.current && typeof v.getAnimations == "function" && v.getAnimations().length > 0 || (u.current = !1, l(7), n || i(!1), (y = r == null ? void 0 : r.end) == null || y.call(r, n));
1786
1786
  } })) : n ? (s(3), c.nextFrame(() => p())) : 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
  }
@@ -1825,7 +1825,7 @@ function ha(e, { inFlight: t, prepare: n }) {
1825
1825
  e.style.transition = "none", n(), e.offsetHeight, e.style.transition = r;
1826
1826
  }
1827
1827
  function gn(e, t) {
1828
- let n = w([]), r = I(e);
1828
+ let n = w([]), r = H(e);
1829
1829
  N(() => {
1830
1830
  let o = [...n.current];
1831
1831
  for (let [i, a] of t.entries()) if (n.current[i] !== a) {
@@ -1860,7 +1860,7 @@ ma(() => {
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
1862
  function ao(e) {
1863
- let t = I(e), n = w(!1);
1863
+ let t = H(e), n = w(!1);
1864
1864
  N(() => (n.current = !1, () => {
1865
1865
  n.current = !0, bt(() => {
1866
1866
  n.current && t();
@@ -1873,7 +1873,7 @@ function ya() {
1873
1873
  }, () => !1, () => !e) : !1;
1874
1874
  }
1875
1875
  function nt() {
1876
- let e = ya(), [t, n] = k(Te.isHandoffComplete);
1876
+ let e = ya(), [t, n] = x(Te.isHandoffComplete);
1877
1877
  return t && Te.isHandoffComplete === !1 && n(!1), N(() => {
1878
1878
  t !== !0 && n(!0);
1879
1879
  }, [t]), N(() => Te.handoff(), []), e ? !1 : t;
@@ -1886,7 +1886,7 @@ function Xn(e) {
1886
1886
  return T.createElement(so.Provider, { value: e.force }, e.children);
1887
1887
  }
1888
1888
  function wa(e) {
1889
- let t = ga(), n = j(co), r = tt(e), [o, i] = k(() => {
1889
+ let t = ga(), n = j(co), r = tt(e), [o, i] = x(() => {
1890
1890
  var a;
1891
1891
  if (!t && n !== null) return (a = n.current) != null ? a : null;
1892
1892
  if (Te.isServer) return null;
@@ -1902,10 +1902,10 @@ function wa(e) {
1902
1902
  t || n !== null && i(n.current);
1903
1903
  }, [n, i, t]), o;
1904
1904
  }
1905
- let lo = H, ba = q(function(e, t) {
1905
+ let lo = D, ba = q(function(e, t) {
1906
1906
  let n = e, r = w(null), o = ae(Ni((d) => {
1907
1907
  r.current = d;
1908
- }), t), i = tt(r), a = wa(r), [s] = k(() => {
1908
+ }), t), i = tt(r), a = wa(r), [s] = x(() => {
1909
1909
  var d;
1910
1910
  return Te.isServer ? null : (d = i == null ? void 0 : i.createElement("div")) != null ? d : null;
1911
1911
  }), l = j(en), u = nt();
@@ -1922,23 +1922,23 @@ function Ea(e, t) {
1922
1922
  let n = ae(t), { enabled: r = !0, ...o } = e;
1923
1923
  return r ? T.createElement(ba, { ...o, ref: n }) : G({ ourProps: { ref: n }, theirProps: o, slot: {}, defaultTag: lo, name: "Portal" });
1924
1924
  }
1925
- let $a = H, co = K(null);
1925
+ let $a = D, co = K(null);
1926
1926
  function Ta(e, t) {
1927
1927
  let { target: n, ...r } = e, o = { ref: ae(t) };
1928
1928
  return T.createElement(co.Provider, { value: n }, G({ ourProps: o, theirProps: r, defaultTag: $a, name: "Popover.Group" }));
1929
1929
  }
1930
1930
  let en = K(null);
1931
1931
  function Ca() {
1932
- let e = j(en), t = w([]), n = I((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = I((i) => {
1932
+ let e = j(en), t = w([]), n = H((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = H((i) => {
1933
1933
  let a = t.current.indexOf(i);
1934
1934
  a !== -1 && t.current.splice(a, 1), e && e.unregister(i);
1935
- }), o = P(() => ({ register: n, unregister: r, portals: t }), [n, r, t]);
1936
- return [t, P(() => function({ children: i }) {
1935
+ }), o = M(() => ({ register: n, unregister: r, portals: t }), [n, r, t]);
1936
+ return [t, M(() => function({ children: i }) {
1937
1937
  return T.createElement(en.Provider, { value: o }, i);
1938
1938
  }, [o])];
1939
1939
  }
1940
- let ka = q(Ea), uo = q(Ta), Fa = Object.assign(ka, { Group: uo });
1941
- function xa(e, t = typeof document < "u" ? document.defaultView : null, n) {
1940
+ let ka = q(Ea), uo = q(Ta), xa = Object.assign(ka, { Group: uo });
1941
+ function Fa(e, t = typeof document < "u" ? document.defaultView : null, n) {
1942
1942
  let r = Oe(e, "escape");
1943
1943
  io(t, "keydown", (o) => {
1944
1944
  r && (o.defaultPrevented || o.key === Qr.Escape && n(o));
@@ -1946,7 +1946,7 @@ function xa(e, t = typeof document < "u" ? document.defaultView : null, n) {
1946
1946
  }
1947
1947
  function Sa() {
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);
1949
+ let [t] = x(() => typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [n, r] = x((e = t == null ? void 0 : t.matches) != null ? e : !1);
1950
1950
  return B(() => {
1951
1951
  if (!t) return;
1952
1952
  function o(i) {
@@ -1955,9 +1955,9 @@ function Sa() {
1955
1955
  return t.addEventListener("change", o), () => t.removeEventListener("change", o);
1956
1956
  }, [t]), n;
1957
1957
  }
1958
- function Pa({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {}) {
1958
+ function Ma({ 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 = tt(o), a = I(() => {
1960
+ let o = w((r = n == null ? void 0 : n.current) != null ? r : null), i = tt(o), a = H(() => {
1961
1961
  var s, l, 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));
@@ -1965,7 +1965,7 @@ function Pa({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {})
1965
1965
  for (let c of (s = i == null ? void 0 : i.querySelectorAll("html > *, body > *")) != null ? s : []) c !== document.body && c !== document.head && c instanceof HTMLElement && c.id !== "headlessui-portal-root" && (c.contains(o.current) || c.contains((u = (l = o.current) == null ? void 0 : l.getRootNode()) == null ? void 0 : u.host) || d.some((p) => c.contains(p)) || d.push(c));
1966
1966
  return d;
1967
1967
  });
1968
- return { resolveContainers: a, contains: I((s) => a().some((l) => l.contains(s))), mainTreeNodeRef: o, MainTreeNode: P(() => function() {
1968
+ return { resolveContainers: a, contains: H((s) => a().some((l) => l.contains(s))), mainTreeNodeRef: o, MainTreeNode: M(() => function() {
1969
1969
  return n != null ? null : T.createElement(Zt, { features: vt.Hidden, ref: o });
1970
1970
  }, [o, n]) };
1971
1971
  }
@@ -1976,7 +1976,7 @@ function wn() {
1976
1976
  }), []), e;
1977
1977
  }
1978
1978
  var ze = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(ze || {});
1979
- function Ma() {
1979
+ function Pa() {
1980
1980
  let e = w(0);
1981
1981
  return oo(!0, "keydown", (t) => {
1982
1982
  t.key === "Tab" && (e.current = t.shiftKey ? 1 : 0);
@@ -1998,27 +1998,27 @@ function La(e, t) {
1998
1998
  Da(s, { ownerDocument: u });
1999
1999
  let d = Oa(s, { ownerDocument: u, container: n, initialFocus: o, initialFocusFallback: i });
2000
2000
  Ra(s, { ownerDocument: u, container: n, containers: a, previousActiveElement: d });
2001
- let c = Ma(), p = I((_) => {
2001
+ let c = Pa(), p = H((_) => {
2002
2002
  let g = n.current;
2003
- g && ((E) => E())(() => {
2003
+ g && ((b) => b())(() => {
2004
2004
  ve(c.current, { [ze.Forwards]: () => {
2005
2005
  Ke(g, le.First, { skipElements: [_.relatedTarget, i] });
2006
2006
  }, [ze.Backwards]: () => {
2007
2007
  Ke(g, le.Last, { skipElements: [_.relatedTarget, i] });
2008
2008
  } });
2009
2009
  });
2010
- }), f = Oe(!!(s & 2), "focus-trap#tab-lock"), m = Et(), y = w(!1), v = { ref: r, onKeyDown(_) {
2011
- _.key == "Tab" && (y.current = !0, m.requestAnimationFrame(() => {
2010
+ }), f = Oe(!!(s & 2), "focus-trap#tab-lock"), v = Et(), y = w(!1), m = { ref: r, onKeyDown(_) {
2011
+ _.key == "Tab" && (y.current = !0, v.requestAnimationFrame(() => {
2012
2012
  y.current = !1;
2013
2013
  }));
2014
2014
  }, onBlur(_) {
2015
2015
  if (!(s & 4)) return;
2016
2016
  let g = fo(a);
2017
2017
  n.current instanceof HTMLElement && g.add(n.current);
2018
- let E = _.relatedTarget;
2019
- E instanceof HTMLElement && E.dataset.headlessuiFocusGuard !== "true" && (po(g, E) || (y.current ? Ke(n.current, ve(c.current, { [ze.Forwards]: () => le.Next, [ze.Backwards]: () => le.Previous }) | le.WrapAround, { relativeTo: _.target }) : _.target instanceof HTMLElement && de(_.target)));
2018
+ let b = _.relatedTarget;
2019
+ b instanceof HTMLElement && b.dataset.headlessuiFocusGuard !== "true" && (po(g, b) || (y.current ? Ke(n.current, ve(c.current, { [ze.Forwards]: () => le.Next, [ze.Backwards]: () => le.Previous }) | le.WrapAround, { relativeTo: _.target }) : _.target instanceof HTMLElement && de(_.target)));
2020
2020
  } };
2021
- return T.createElement(T.Fragment, null, f && T.createElement(Zt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: vt.Focusable }), G({ ourProps: v, theirProps: l, defaultTag: Na, name: "FocusTrap" }), f && T.createElement(Zt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: vt.Focusable }));
2021
+ return T.createElement(T.Fragment, null, f && T.createElement(Zt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: vt.Focusable }), G({ ourProps: m, theirProps: l, defaultTag: Na, name: "FocusTrap" }), f && T.createElement(Zt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: vt.Focusable }));
2022
2022
  }
2023
2023
  let Aa = q(La), Ia = Object.assign(Aa, { features: be });
2024
2024
  function Ha(e = !0) {
@@ -2027,7 +2027,7 @@ function Ha(e = !0) {
2027
2027
  r === !0 && n === !1 && bt(() => {
2028
2028
  t.current.splice(0);
2029
2029
  }), r === !1 && n === !0 && (t.current = he.slice());
2030
- }, [e, he, t]), I(() => {
2030
+ }, [e, he, t]), H(() => {
2031
2031
  var n;
2032
2032
  return (n = t.current.find((r) => r != null && r.isConnected)) != null ? n : null;
2033
2033
  });
@@ -2091,7 +2091,7 @@ function po(e, t) {
2091
2091
  }
2092
2092
  function ho(e) {
2093
2093
  var t;
2094
- return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((t = e.as) != null ? t : vo) !== H || T.Children.count(e.children) === 1;
2094
+ return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((t = e.as) != null ? t : vo) !== D || T.Children.count(e.children) === 1;
2095
2095
  }
2096
2096
  let Ct = K(null);
2097
2097
  Ct.displayName = "TransitionContext";
@@ -2108,97 +2108,97 @@ function Wa() {
2108
2108
  }
2109
2109
  let kt = K(null);
2110
2110
  kt.displayName = "NestingContext";
2111
- function Ft(e) {
2112
- return "children" in e ? Ft(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2111
+ function xt(e) {
2112
+ return "children" in e ? xt(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2113
2113
  }
2114
2114
  function _o(e, t) {
2115
- let n = Pe(e), r = w([]), o = wn(), i = Et(), a = I((f, m = _e.Hidden) => {
2116
- let y = r.current.findIndex(({ el: v }) => v === f);
2117
- y !== -1 && (ve(m, { [_e.Unmount]() {
2115
+ let n = Me(e), r = w([]), o = wn(), i = Et(), a = H((f, v = _e.Hidden) => {
2116
+ let y = r.current.findIndex(({ el: m }) => m === f);
2117
+ y !== -1 && (ve(v, { [_e.Unmount]() {
2118
2118
  r.current.splice(y, 1);
2119
2119
  }, [_e.Hidden]() {
2120
2120
  r.current[y].state = "hidden";
2121
2121
  } }), i.microTask(() => {
2122
- var v;
2123
- !Ft(r) && o.current && ((v = n.current) == null || v.call(n));
2122
+ var m;
2123
+ !xt(r) && o.current && ((m = n.current) == null || m.call(n));
2124
2124
  }));
2125
- }), s = I((f) => {
2126
- let m = r.current.find(({ el: y }) => y === f);
2127
- return m ? m.state !== "visible" && (m.state = "visible") : r.current.push({ el: f, state: "visible" }), () => a(f, _e.Unmount);
2128
- }), l = w([]), u = w(Promise.resolve()), d = w({ enter: [], leave: [] }), c = I((f, m, y) => {
2129
- l.current.splice(0), t && (t.chains.current[m] = t.chains.current[m].filter(([v]) => v !== f)), t == null || t.chains.current[m].push([f, new Promise((v) => {
2130
- l.current.push(v);
2131
- })]), t == null || t.chains.current[m].push([f, new Promise((v) => {
2132
- Promise.all(d.current[m].map(([_, g]) => g)).then(() => v());
2133
- })]), m === "enter" ? u.current = u.current.then(() => t == null ? void 0 : t.wait.current).then(() => y(m)) : y(m);
2134
- }), p = I((f, m, y) => {
2135
- Promise.all(d.current[m].splice(0).map(([v, _]) => _)).then(() => {
2136
- var v;
2137
- (v = l.current.shift()) == null || v();
2138
- }).then(() => y(m));
2125
+ }), s = H((f) => {
2126
+ let v = r.current.find(({ el: y }) => y === f);
2127
+ return v ? v.state !== "visible" && (v.state = "visible") : r.current.push({ el: f, state: "visible" }), () => a(f, _e.Unmount);
2128
+ }), l = w([]), u = w(Promise.resolve()), d = w({ enter: [], leave: [] }), c = H((f, v, y) => {
2129
+ l.current.splice(0), t && (t.chains.current[v] = t.chains.current[v].filter(([m]) => m !== f)), t == null || t.chains.current[v].push([f, new Promise((m) => {
2130
+ l.current.push(m);
2131
+ })]), t == null || t.chains.current[v].push([f, new Promise((m) => {
2132
+ Promise.all(d.current[v].map(([_, g]) => g)).then(() => m());
2133
+ })]), v === "enter" ? u.current = u.current.then(() => t == null ? void 0 : t.wait.current).then(() => y(v)) : y(v);
2134
+ }), p = H((f, v, y) => {
2135
+ Promise.all(d.current[v].splice(0).map(([m, _]) => _)).then(() => {
2136
+ var m;
2137
+ (m = l.current.shift()) == null || m();
2138
+ }).then(() => y(v));
2139
2139
  });
2140
- return P(() => ({ children: r, register: s, unregister: a, onStart: c, onStop: p, wait: u, chains: d }), [s, a, r, c, p, d, u]);
2140
+ return M(() => ({ children: r, register: s, unregister: a, onStart: c, onStop: p, wait: u, chains: d }), [s, a, r, c, p, d, u]);
2141
2141
  }
2142
- let vo = H, mo = _t.RenderStrategy;
2142
+ let vo = D, mo = _t.RenderStrategy;
2143
2143
  function za(e, t) {
2144
2144
  var n, r;
2145
- let { transition: o = !0, beforeEnter: i, afterEnter: a, beforeLeave: s, afterLeave: l, enter: u, enterFrom: d, enterTo: c, entered: p, leave: f, leaveFrom: m, leaveTo: y, ...v } = e, _ = w(null), g = ho(e), E = ae(...g ? [_, t] : t === null ? [] : [t]), C = (n = v.unmount) == null || n ? _e.Unmount : _e.Hidden, { show: $, appear: M, initial: O } = Ua(), [R, W] = k($ ? "visible" : "hidden"), b = Wa(), { register: x, unregister: S } = b;
2146
- B(() => x(_), [x, _]), B(() => {
2145
+ let { transition: o = !0, beforeEnter: i, afterEnter: a, beforeLeave: s, afterLeave: l, enter: u, enterFrom: d, enterTo: c, entered: p, leave: f, leaveFrom: v, leaveTo: y, ...m } = e, _ = w(null), g = ho(e), b = ae(...g ? [_, t] : t === null ? [] : [t]), C = (n = m.unmount) == null || n ? _e.Unmount : _e.Hidden, { show: $, appear: P, initial: O } = Ua(), [R, W] = x($ ? "visible" : "hidden"), E = Wa(), { register: k, unregister: S } = E;
2146
+ B(() => k(_), [k, _]), B(() => {
2147
2147
  if (C === _e.Hidden && _.current) {
2148
2148
  if ($ && R !== "visible") {
2149
2149
  W("visible");
2150
2150
  return;
2151
2151
  }
2152
- return ve(R, { hidden: () => S(_), visible: () => x(_) });
2152
+ return ve(R, { hidden: () => S(_), visible: () => k(_) });
2153
2153
  }
2154
- }, [R, _, x, S, $, C]);
2155
- let D = nt();
2154
+ }, [R, _, k, S, $, C]);
2155
+ let A = nt();
2156
2156
  B(() => {
2157
- if (g && D && R === "visible" && _.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
2158
- }, [_, R, D, g]);
2159
- let Z = O && !M, re = M && $ && O, Q = w(!1), J = _o(() => {
2157
+ if (g && A && R === "visible" && _.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
2158
+ }, [_, R, A, g]);
2159
+ let Z = O && !P, re = P && $ && O, Q = w(!1), J = _o(() => {
2160
2160
  Q.current || (W("hidden"), S(_));
2161
- }, b), Ne = I((St) => {
2161
+ }, E), Ne = H((St) => {
2162
2162
  Q.current = !0;
2163
2163
  let rt = St ? "enter" : "leave";
2164
2164
  J.onStart(_, rt, (Ve) => {
2165
2165
  Ve === "enter" ? i == null || i() : Ve === "leave" && (s == null || s());
2166
2166
  });
2167
- }), pe = I((St) => {
2167
+ }), pe = H((St) => {
2168
2168
  let rt = St ? "enter" : "leave";
2169
2169
  Q.current = !1, J.onStop(_, rt, (Ve) => {
2170
2170
  Ve === "enter" ? a == null || a() : Ve === "leave" && (l == null || l());
2171
- }), rt === "leave" && !Ft(J) && (W("hidden"), S(_));
2171
+ }), rt === "leave" && !xt(J) && (W("hidden"), S(_));
2172
2172
  });
2173
2173
  N(() => {
2174
2174
  g && o || (Ne($), pe($));
2175
2175
  }, [$, g, o]);
2176
- let z = !(!o || !g || !D || Z), [, U] = da(z, _, $, { start: Ne, end: pe }), Fo = ge({ ref: E, className: ((r = Gt(v.className, re && u, re && d, U.enter && u, U.enter && U.closed && d, U.enter && !U.closed && c, U.leave && f, U.leave && !U.closed && m, U.leave && U.closed && y, !U.transition && $ && p)) == null ? void 0 : r.trim()) || void 0, ...ua(U) }), Re = 0;
2177
- return R === "visible" && (Re |= ee.Open), R === "hidden" && (Re |= ee.Closed), U.enter && (Re |= ee.Opening), U.leave && (Re |= ee.Closing), T.createElement(kt.Provider, { value: J }, T.createElement(_a, { value: Re }, G({ ourProps: Fo, theirProps: v, defaultTag: vo, features: mo, visible: R === "visible", name: "Transition.Child" })));
2176
+ let z = !(!o || !g || !A || Z), [, U] = da(z, _, $, { start: Ne, end: pe }), xo = ge({ ref: b, className: ((r = Gt(m.className, re && u, re && d, U.enter && u, U.enter && U.closed && d, U.enter && !U.closed && c, U.leave && f, U.leave && !U.closed && v, U.leave && U.closed && y, !U.transition && $ && p)) == null ? void 0 : r.trim()) || void 0, ...ua(U) }), Re = 0;
2177
+ return R === "visible" && (Re |= ee.Open), R === "hidden" && (Re |= ee.Closed), U.enter && (Re |= ee.Opening), U.leave && (Re |= ee.Closing), T.createElement(kt.Provider, { value: J }, T.createElement(_a, { value: Re }, G({ ourProps: xo, theirProps: m, defaultTag: vo, features: mo, visible: R === "visible", name: "Transition.Child" })));
2178
2178
  }
2179
2179
  function ja(e, t) {
2180
2180
  let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, a = w(null), s = ho(e), l = ae(...s ? [a, t] : t === null ? [] : [t]);
2181
2181
  nt();
2182
2182
  let u = Tt();
2183
2183
  if (n === void 0 && u !== null && (n = (u & ee.Open) === ee.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 = _o(() => {
2184
+ let [d, c] = x(n ? "visible" : "hidden"), p = _o(() => {
2185
2185
  n || c("hidden");
2186
- }), [f, m] = k(!0), y = w([n]);
2186
+ }), [f, v] = x(!0), y = w([n]);
2187
2187
  B(() => {
2188
- f !== !1 && y.current[y.current.length - 1] !== n && (y.current.push(n), m(!1));
2188
+ f !== !1 && y.current[y.current.length - 1] !== n && (y.current.push(n), v(!1));
2189
2189
  }, [y, n]);
2190
- let v = P(() => ({ show: n, appear: r, initial: f }), [n, r, f]);
2190
+ let m = M(() => ({ show: n, appear: r, initial: f }), [n, r, f]);
2191
2191
  to(n, a, () => c("hidden")), B(() => {
2192
- n ? c("visible") : !Ft(p) && a.current !== null && c("hidden");
2192
+ n ? c("visible") : !xt(p) && a.current !== null && c("hidden");
2193
2193
  }, [n, p]);
2194
- let _ = { unmount: o }, g = I(() => {
2194
+ let _ = { unmount: o }, g = H(() => {
2195
2195
  var C;
2196
- f && m(!1), (C = e.beforeEnter) == null || C.call(e);
2197
- }), E = I(() => {
2196
+ f && v(!1), (C = e.beforeEnter) == null || C.call(e);
2197
+ }), b = H(() => {
2198
2198
  var C;
2199
- f && m(!1), (C = e.beforeLeave) == null || C.call(e);
2199
+ f && v(!1), (C = e.beforeLeave) == null || C.call(e);
2200
2200
  });
2201
- return T.createElement(kt.Provider, { value: p }, T.createElement(Ct.Provider, { value: v }, G({ ourProps: { ..._, as: H, children: T.createElement(yo, { ref: l, ..._, ...i, beforeEnter: g, beforeLeave: E }) }, theirProps: {}, defaultTag: H, features: mo, visible: d === "visible", name: "Transition" })));
2201
+ return T.createElement(kt.Provider, { value: p }, T.createElement(Ct.Provider, { value: m }, G({ ourProps: { ..._, as: D, children: T.createElement(yo, { ref: l, ..._, ...i, beforeEnter: g, beforeLeave: b }) }, theirProps: {}, defaultTag: D, features: mo, visible: d === "visible", name: "Transition" })));
2202
2202
  }
2203
2203
  function Ba(e, t) {
2204
2204
  let n = j(Ct) !== null, r = Tt() !== null;
@@ -2210,11 +2210,11 @@ let Ka = { 0(e, t) {
2210
2210
  return e.titleId === t.id ? e : { ...e, titleId: t.id };
2211
2211
  } }, En = K(null);
2212
2212
  En.displayName = "DialogContext";
2213
- function xt(e) {
2213
+ function Ft(e) {
2214
2214
  let t = j(En);
2215
2215
  if (t === null) {
2216
2216
  let n = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
2217
- throw Error.captureStackTrace && Error.captureStackTrace(n, xt), n;
2217
+ throw Error.captureStackTrace && Error.captureStackTrace(n, Ft), n;
2218
2218
  }
2219
2219
  return t;
2220
2220
  }
@@ -2228,23 +2228,23 @@ let Qn = q(function(e, t) {
2228
2228
  }();
2229
2229
  let p = Tt();
2230
2230
  o === void 0 && p !== null && (o = (p & ee.Open) === ee.Open);
2231
- let f = w(null), m = ae(f, t), y = tt(f), v = o ? 0 : 1, [_, g] = Qe(Ga, { titleId: null, descriptionId: null, panelRef: rn() }), E = I(() => i(!1)), C = I((z) => g({ type: 0, id: z })), $ = nt() ? v === 0 : !1, [M, O] = Ca(), R = { get current() {
2231
+ let f = w(null), v = ae(f, t), y = tt(f), m = o ? 0 : 1, [_, g] = Qe(Ga, { titleId: null, descriptionId: null, panelRef: rn() }), b = H(() => i(!1)), C = H((z) => g({ type: 0, id: z })), $ = nt() ? m === 0 : !1, [P, O] = Ca(), R = { get current() {
2232
2232
  var z;
2233
2233
  return (z = _.panelRef.current) != null ? z : f.current;
2234
- } }, { resolveContainers: W, mainTreeNodeRef: b, MainTreeNode: x } = Pa({ portals: M, defaultContainers: [R] }), S = p !== null ? (p & ee.Closing) === ee.Closing : !1;
2235
- Wi(u || S ? !1 : $, { allowed: I(() => {
2234
+ } }, { resolveContainers: W, mainTreeNodeRef: E, MainTreeNode: k } = Ma({ portals: P, defaultContainers: [R] }), S = p !== null ? (p & ee.Closing) === ee.Closing : !1;
2235
+ Wi(u || S ? !1 : $, { allowed: H(() => {
2236
2236
  var z, U;
2237
2237
  return [(U = (z = f.current) == null ? void 0 : z.closest("[data-headlessui-portal]")) != null ? U : null];
2238
- }), disallowed: I(() => {
2238
+ }), disallowed: H(() => {
2239
2239
  var z, U;
2240
- return [(U = (z = b.current) == null ? void 0 : z.closest("body > *:not(#headlessui-portal-root)")) != null ? U : null];
2240
+ return [(U = (z = E.current) == null ? void 0 : z.closest("body > *:not(#headlessui-portal-root)")) != null ? U : null];
2241
2241
  }) }), ea($, W, (z) => {
2242
- z.preventDefault(), E();
2243
- }), xa($, y == null ? void 0 : y.defaultView, (z) => {
2244
- z.preventDefault(), z.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), E();
2245
- }), aa(u || S ? !1 : $, y, W), to($, f, E);
2246
- let [D, Z] = Li(), re = P(() => [{ dialogState: v, close: E, setTitleId: C }, _], [v, _, E, C]), Q = P(() => ({ open: v === 0 }), [v]), J = { ref: m, id: r, role: s, tabIndex: -1, "aria-modal": u ? void 0 : v === 0 ? !0 : void 0, "aria-labelledby": _.titleId, "aria-describedby": D }, Ne = !Sa(), pe = be.None;
2247
- return $ && !u && (pe |= be.RestoreFocus, pe |= be.TabLock, l && (pe |= be.AutoFocus), Ne && (pe |= be.InitialFocus)), T.createElement(va, null, T.createElement(Xn, { force: !0 }, T.createElement(Fa, null, T.createElement(En.Provider, { value: re }, T.createElement(uo, { target: f }, T.createElement(Xn, { force: !1 }, T.createElement(Z, { slot: Q }, T.createElement(O, null, T.createElement(Ia, { initialFocus: a, initialFocusFallback: f, containers: W, features: pe }, T.createElement(Ri, { value: E }, G({ ourProps: J, theirProps: d, slot: Q, defaultTag: Za, features: Xa, visible: v === 0, name: "Dialog" })))))))))), T.createElement(Mi, null, T.createElement(x, null)));
2242
+ z.preventDefault(), b();
2243
+ }), Fa($, y == null ? void 0 : y.defaultView, (z) => {
2244
+ z.preventDefault(), z.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), b();
2245
+ }), aa(u || S ? !1 : $, y, W), to($, f, b);
2246
+ let [A, Z] = Li(), re = M(() => [{ dialogState: m, close: b, setTitleId: C }, _], [m, _, b, C]), Q = M(() => ({ open: m === 0 }), [m]), J = { ref: v, id: r, role: s, tabIndex: -1, "aria-modal": u ? void 0 : m === 0 ? !0 : void 0, "aria-labelledby": _.titleId, "aria-describedby": A }, Ne = !Sa(), pe = be.None;
2247
+ return $ && !u && (pe |= be.RestoreFocus, pe |= be.TabLock, l && (pe |= be.AutoFocus), Ne && (pe |= be.InitialFocus)), T.createElement(va, null, T.createElement(Xn, { force: !0 }, T.createElement(xa, null, T.createElement(En.Provider, { value: re }, T.createElement(uo, { target: f }, T.createElement(Xn, { force: !1 }, T.createElement(Z, { slot: Q }, T.createElement(O, null, T.createElement(Ia, { initialFocus: a, initialFocusFallback: f, containers: W, features: pe }, T.createElement(Ri, { value: b }, G({ ourProps: J, theirProps: d, slot: Q, defaultTag: Za, features: Xa, visible: m === 0, name: "Dialog" })))))))))), T.createElement(Pi, null, T.createElement(k, null)));
2248
2248
  }), Za = "div", Xa = _t.RenderStrategy | _t.Static;
2249
2249
  function Qa(e, t) {
2250
2250
  let { transition: n = !1, open: r, ...o } = e, i = Tt(), a = e.hasOwnProperty("open") || i !== null, s = e.hasOwnProperty("onClose");
@@ -2257,21 +2257,21 @@ function Qa(e, t) {
2257
2257
  }
2258
2258
  let Ja = "div";
2259
2259
  function es(e, t) {
2260
- let n = me(), { id: r = `headlessui-dialog-panel-${n}`, transition: o = !1, ...i } = e, [{ dialogState: a }, s] = xt("Dialog.Panel"), l = ae(t, s.panelRef), u = P(() => ({ open: a === 0 }), [a]), d = I((c) => {
2260
+ let n = me(), { id: r = `headlessui-dialog-panel-${n}`, transition: o = !1, ...i } = e, [{ dialogState: a }, s] = Ft("Dialog.Panel"), l = ae(t, s.panelRef), u = M(() => ({ open: a === 0 }), [a]), d = H((c) => {
2261
2261
  c.stopPropagation();
2262
2262
  });
2263
- return T.createElement(o ? bn : H, null, G({ ourProps: { ref: l, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: Ja, name: "Dialog.Panel" }));
2263
+ return T.createElement(o ? bn : D, null, G({ ourProps: { ref: l, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: Ja, name: "Dialog.Panel" }));
2264
2264
  }
2265
2265
  let ts = "div";
2266
2266
  function ns(e, t) {
2267
- let { transition: n = !1, ...r } = e, [{ dialogState: o }] = xt("Dialog.Backdrop"), i = P(() => ({ open: o === 0 }), [o]);
2268
- return T.createElement(n ? bn : H, null, G({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: ts, name: "Dialog.Backdrop" }));
2267
+ let { transition: n = !1, ...r } = e, [{ dialogState: o }] = Ft("Dialog.Backdrop"), i = M(() => ({ open: o === 0 }), [o]);
2268
+ return T.createElement(n ? bn : D, null, G({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: ts, name: "Dialog.Backdrop" }));
2269
2269
  }
2270
2270
  let rs = "h2";
2271
2271
  function os(e, t) {
2272
- let n = me(), { id: r = `headlessui-dialog-title-${n}`, ...o } = e, [{ dialogState: i, setTitleId: a }] = xt("Dialog.Title"), s = ae(t);
2272
+ let n = me(), { id: r = `headlessui-dialog-title-${n}`, ...o } = e, [{ dialogState: i, setTitleId: a }] = Ft("Dialog.Title"), s = ae(t);
2273
2273
  N(() => (a(r), () => a(null)), [r, a]);
2274
- let l = P(() => ({ open: i === 0 }), [i]);
2274
+ let l = M(() => ({ open: i === 0 }), [i]);
2275
2275
  return G({ ourProps: { ref: s, id: r }, theirProps: o, slot: l, defaultTag: rs, name: "Dialog.Title" });
2276
2276
  }
2277
2277
  let is = q(Qa), go = q(es);
@@ -2294,7 +2294,7 @@ const ls = "_root_1hpzn_1", cs = "_modal_1hpzn_10", us = "_container_1hpzn_13",
2294
2294
  strokeWidth: i,
2295
2295
  className: a = "",
2296
2296
  viewBox: s = "0 0 20 20"
2297
- } = e, l = P(() => {
2297
+ } = e, l = M(() => {
2298
2298
  switch (n) {
2299
2299
  case "sm":
2300
2300
  return "yvlw-w-4 yvlw-h-4";
@@ -2499,9 +2499,9 @@ function ks() {
2499
2499
  function Eo(e = {}) {
2500
2500
  const { onRecord: t = () => {
2501
2501
  }, onStop: n = () => {
2502
- } } = e, r = w([]), o = w(null), i = w(null), a = A((c) => {
2502
+ } } = e, r = w([]), o = w(null), i = w(null), a = I((c) => {
2503
2503
  r.current.push(c);
2504
- }, []), s = A(
2504
+ }, []), s = I(
2505
2505
  async (c) => {
2506
2506
  if (o.current)
2507
2507
  return;
@@ -2509,11 +2509,11 @@ function Eo(e = {}) {
2509
2509
  o.current = p;
2510
2510
  },
2511
2511
  []
2512
- ), l = A((c) => {
2512
+ ), l = I((c) => {
2513
2513
  c.data.size > 0 && t(c.data);
2514
- }, []), u = A(() => {
2514
+ }, []), u = I(() => {
2515
2515
  !i.current || i.current.state === "inactive" || (i.current.stop(), i.current.stream.getTracks().forEach((c) => c.stop()), n());
2516
- }, []), d = A((c) => {
2516
+ }, []), d = I((c) => {
2517
2517
  i.current || (i.current = new MediaRecorder(
2518
2518
  c,
2519
2519
  ks()
@@ -2531,7 +2531,7 @@ function Eo(e = {}) {
2531
2531
  function He(e, t) {
2532
2532
  return Math.sqrt(e ** 2 + t ** 2);
2533
2533
  }
2534
- function Fs(e) {
2534
+ function xs(e) {
2535
2535
  const t = e.slice();
2536
2536
  for (let n = t.length - 1; n > 0; n--) {
2537
2537
  const r = Math.floor(Math.random() * (n + 1));
@@ -2539,7 +2539,7 @@ function Fs(e) {
2539
2539
  }
2540
2540
  return t;
2541
2541
  }
2542
- function xs(e, t) {
2542
+ function Fs(e, t) {
2543
2543
  return new Promise((n, r) => {
2544
2544
  const o = new File([e], `${Date.now()}`, {
2545
2545
  type: t
@@ -2547,28 +2547,28 @@ function xs(e, t) {
2547
2547
  i.readAsDataURL(o), i.onload = () => n(i.result), i.onerror = (a) => r(a);
2548
2548
  });
2549
2549
  }
2550
- const Ss = "https://identity.dev.svc.youverify.co";
2551
- function Ps() {
2552
- return { postData: async (t) => {
2553
- const { faceImage: n, publicKey: r, passed: o, metadata: i } = t, a = await fetch(`${Ss}/v1/sdk/identity/liveness/`, {
2550
+ const Ss = (e) => e ? "https://identity.staging.svc.youverify.co" : "https://identity.svc.youverify.co";
2551
+ function Ms(e) {
2552
+ return { postData: async (n) => {
2553
+ const { faceImage: r, publicKey: o, passed: i, metadata: a } = n, s = Ss(e), l = await fetch(`${s}/v1/sdk/identity/liveness/`, {
2554
2554
  method: "POST",
2555
2555
  headers: {
2556
2556
  "Content-Type": "application/json"
2557
2557
  },
2558
2558
  body: JSON.stringify({
2559
- publicMerchantID: r,
2559
+ publicMerchantID: o,
2560
2560
  components: ["liveness"],
2561
- faceImage: n,
2562
- passed: o,
2563
- metadata: i
2561
+ faceImage: r,
2562
+ passed: i,
2563
+ metadata: a
2564
2564
  })
2565
2565
  });
2566
- if (!a.ok)
2567
- throw a;
2568
- return (await a.json()).data;
2566
+ if (!l.ok)
2567
+ throw l;
2568
+ return (await l.json()).data;
2569
2569
  } };
2570
2570
  }
2571
- const Ms = 360, Ns = "#125766", Ls = "https://cdn.youverify.co/1721901834404-q2nxqyng5klm918b3BDVU.jpg", $o = {
2571
+ const Ps = 360, Ns = "#125766", Ls = "https://cdn.youverify.co/1721901834404-q2nxqyng5klm918b3BDVU.jpg", $o = {
2572
2572
  "complete-the-circle": {
2573
2573
  Icon: vs,
2574
2574
  name: "Complete The Circle ⭕️",
@@ -2620,36 +2620,37 @@ function As(e) {
2620
2620
  onSuccess: l = () => {
2621
2621
  },
2622
2622
  metadata: u,
2623
- presentation: d
2624
- } = e, [c, p] = k(0), [f, m] = k(0), [y, v] = k(null), { saveStream: _, savePhoto: g, savedPhoto: E } = Eo(), { postData: C } = Ps(), $ = P(
2625
- () => f === n.length,
2626
- [n, f]
2627
- ), M = () => {
2628
- m((b) => b + 1), p((b) => b + 1);
2629
- }, O = (b) => {
2630
- const x = new Image();
2631
- x.crossOrigin = "Anonymous", x.src = Ls, x.onload = () => {
2632
- const S = bo(x, x.width, x.height);
2633
- Ce.detectFaces(b, S);
2623
+ presentation: d,
2624
+ sandboxEnvironment: c = !0
2625
+ } = e, [p, f] = x(0), [v, y] = x(0), [m, _] = x(null), { saveStream: g, savePhoto: b, savedPhoto: C } = Eo(), { postData: $ } = Ms(c), P = M(
2626
+ () => v === n.length,
2627
+ [n, v]
2628
+ ), O = () => {
2629
+ y((k) => k + 1), f((k) => k + 1);
2630
+ }, R = (k) => {
2631
+ const S = new Image();
2632
+ S.crossOrigin = "Anonymous", S.src = Ls, S.onload = () => {
2633
+ const A = bo(S, S.width, S.height);
2634
+ Ce.detectFaces(k, A);
2634
2635
  };
2635
- }, R = async () => {
2636
- const b = await C({
2637
- faceImage: E.current ? await xs(E.current, "image/png") : null,
2636
+ }, W = async () => {
2637
+ const k = await $({
2638
+ faceImage: C.current ? await Fs(C.current, "image/png") : null,
2638
2639
  publicKey: t,
2639
2640
  passed: !0,
2640
2641
  metadata: u
2641
2642
  });
2642
- l(b), s();
2643
- }, W = async () => {
2644
- const b = await Ce.loadDetector();
2645
- Jn = b, O(b), v(b);
2643
+ l(k), s();
2644
+ }, E = async () => {
2645
+ const k = await Ce.loadDetector();
2646
+ Jn = k, R(k), _(k);
2646
2647
  };
2647
2648
  return N(() => {
2648
2649
  if (er) {
2649
- v(Jn);
2650
+ _(Jn);
2650
2651
  return;
2651
2652
  }
2652
- W(), er = !0;
2653
+ E(), er = !0;
2653
2654
  }, []), /* @__PURE__ */ h(
2654
2655
  To.Provider,
2655
2656
  {
@@ -2657,23 +2658,23 @@ function As(e) {
2657
2658
  tasks: n,
2658
2659
  namespace: o,
2659
2660
  user: i,
2660
- currentTaskIndex: c,
2661
- completed: $,
2662
- completedCount: f,
2663
- nextTask: M,
2661
+ currentTaskIndex: p,
2662
+ completed: P,
2663
+ completedCount: v,
2664
+ nextTask: O,
2664
2665
  branding: a,
2665
2666
  onRequestClose: s,
2666
- faceDetector: y,
2667
- saveStream: _,
2668
- savePhoto: g,
2669
- onComplete: R,
2667
+ faceDetector: m,
2668
+ saveStream: g,
2669
+ savePhoto: b,
2670
+ onComplete: W,
2670
2671
  presentation: d
2671
2672
  },
2672
2673
  children: r
2673
2674
  }
2674
2675
  );
2675
2676
  }
2676
- function Me() {
2677
+ function Pe() {
2677
2678
  return j(To);
2678
2679
  }
2679
2680
  const Is = "_root_vqy7d_1", Hs = "_container_vqy7d_4", Ds = "_lhs_vqy7d_7", Os = "_info_vqy7d_11", Rs = "_active_vqy7d_32", Vs = "_completed_vqy7d_39", Us = "_rhs_vqy7d_62", Ws = "_profile_vqy7d_65", zs = "_avatar_vqy7d_68", js = "_main_vqy7d_81", Bs = "_content_vqy7d_84", Y = {
@@ -2694,12 +2695,12 @@ const Is = "_root_vqy7d_1", Hs = "_container_vqy7d_4", Ds = "_lhs_vqy7d_7", Os =
2694
2695
  brand: Ks
2695
2696
  };
2696
2697
  function Gs() {
2697
- const { branding: e } = Me();
2698
+ const { branding: e } = Pe();
2698
2699
  return /* @__PURE__ */ h("div", { className: It.root, children: /* @__PURE__ */ h("div", { className: It.container, children: /* @__PURE__ */ h("div", { className: It.brand, children: (e == null ? void 0 : e.logo) && /* @__PURE__ */ h("img", { className: "yvlw-h-10", src: e.logo, alt: "Logo" }) }) }) });
2699
2700
  }
2700
2701
  const tr = "colorScheme";
2701
2702
  function Zs() {
2702
- const { namespace: e } = Me(), t = () => {
2703
+ const { namespace: e } = Pe(), t = () => {
2703
2704
  const o = localStorage.getItem(tr);
2704
2705
  return !o && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : o;
2705
2706
  }, n = (o = null) => {
@@ -2765,7 +2766,7 @@ function al(e) {
2765
2766
  sectionsCount: n,
2766
2767
  faceDetected: r,
2767
2768
  divisions: o = il
2768
- } = e, i = P(() => {
2769
+ } = e, i = M(() => {
2769
2770
  const a = [We.container];
2770
2771
  return r && a.push(We.focused), a.join(" ");
2771
2772
  }, [r]);
@@ -2846,15 +2847,15 @@ function Tn(e = {}) {
2846
2847
  },
2847
2848
  onError: o = () => {
2848
2849
  }
2849
- } = e, { faceDetector: i, savePhoto: a } = Me(), s = w(!1), l = w(!1), { checkFacialFeatures: u, checkZoomLevel: d, checkInFrame: c } = sl(), p = w(null), f = (y, v) => {
2850
+ } = e, { faceDetector: i, savePhoto: a } = Pe(), s = w(!1), l = w(!1), { checkFacialFeatures: u, checkZoomLevel: d, checkInFrame: c } = sl(), p = w(null), f = (y, m) => {
2850
2851
  var _;
2851
2852
  try {
2852
2853
  if (y.length === 0)
2853
2854
  throw new Error("Detecting face...");
2854
2855
  if (y.length > 1)
2855
2856
  throw new Error("A maximum of 1 face is allowed");
2856
- const g = p.current, E = (_ = p.current) == null ? void 0 : _.parentElement;
2857
- if (!g || !E)
2857
+ const g = p.current, b = (_ = p.current) == null ? void 0 : _.parentElement;
2858
+ if (!g || !b)
2858
2859
  return;
2859
2860
  const C = y[0];
2860
2861
  for (const $ of t)
@@ -2862,13 +2863,13 @@ function Tn(e = {}) {
2862
2863
  case "zoom":
2863
2864
  d(
2864
2865
  C,
2865
- Math.min(E.clientHeight, E.clientWidth)
2866
+ Math.min(b.clientHeight, b.clientWidth)
2866
2867
  );
2867
2868
  break;
2868
2869
  case "features":
2869
2870
  u(
2870
2871
  C,
2871
- Math.min(E.clientHeight, E.clientWidth)
2872
+ Math.min(b.clientHeight, b.clientWidth)
2872
2873
  );
2873
2874
  break;
2874
2875
  case "in-frame":
@@ -2876,14 +2877,14 @@ function Tn(e = {}) {
2876
2877
  throw new Error(
2877
2878
  "Frame size is required to check if face is in frame"
2878
2879
  );
2879
- const M = n + 200;
2880
+ const P = n + 200;
2880
2881
  c(C, {
2881
- x: (E.clientWidth - M) / 2,
2882
- y: (E.clientHeight - M) / 2,
2883
- width: M,
2884
- height: M,
2885
- offsetX: (g.videoWidth - E.clientWidth) / 2,
2886
- offsetY: (g.videoHeight - E.clientHeight) / 2
2882
+ x: (b.clientWidth - P) / 2,
2883
+ y: (b.clientHeight - P) / 2,
2884
+ width: P,
2885
+ height: P,
2886
+ offsetX: (g.videoWidth - b.clientWidth) / 2,
2887
+ offsetY: (g.videoHeight - b.clientHeight) / 2
2887
2888
  });
2888
2889
  break;
2889
2890
  default:
@@ -2891,29 +2892,29 @@ function Tn(e = {}) {
2891
2892
  }
2892
2893
  if (!l.current)
2893
2894
  throw s.current || (s.current = !0, setTimeout(() => {
2894
- a(v), l.current = !0;
2895
+ a(m), l.current = !0;
2895
2896
  }, 3e3)), new Error("Keep head still for a photograph");
2896
2897
  r(C);
2897
2898
  } catch (g) {
2898
- const { message: E } = g;
2899
- o(E);
2899
+ const { message: b } = g;
2900
+ o(b);
2900
2901
  }
2901
2902
  };
2902
2903
  return { detectFaces: async (y) => {
2903
2904
  if (!i)
2904
2905
  return;
2905
- const { ref: v } = y;
2906
- p.current = v.current;
2906
+ const { ref: m } = y;
2907
+ p.current = m.current;
2907
2908
  const _ = p.current;
2908
2909
  if (!_)
2909
2910
  throw new Error("No Video Source detected");
2910
- const { videoWidth: g, videoHeight: E } = _;
2911
- if (g === 0 || E === 0)
2911
+ const { videoWidth: g, videoHeight: b } = _;
2912
+ if (g === 0 || b === 0)
2912
2913
  return;
2913
2914
  const C = bo(
2914
2915
  _,
2915
2916
  g,
2916
- E
2917
+ b
2917
2918
  // frameSize,
2918
2919
  ), $ = await Ce.detectFaces(i, C);
2919
2920
  f($, _);
@@ -2963,7 +2964,7 @@ function Ge(e) {
2963
2964
  /* @__PURE__ */ h("h2", { children: r }),
2964
2965
  /* @__PURE__ */ h("p", { className: "subtext", children: n }),
2965
2966
  !l && /* @__PURE__ */ h("div", { className: "yvlw-mt-12", children: /* @__PURE__ */ h(
2966
- Fi,
2967
+ xi,
2967
2968
  {
2968
2969
  onClick: () => i(),
2969
2970
  className: "yvlw-flex yvlw-items-center yvlw-space-x-3",
@@ -2989,7 +2990,7 @@ function Cn(e) {
2989
2990
  },
2990
2991
  onReset: s = () => {
2991
2992
  }
2992
- } = e, [l, u] = k(!1), { completedCount: d, tasks: c, nextTask: p } = Me(), f = P(() => $o[r], [r]), m = P(
2993
+ } = e, [l, u] = x(!1), { completedCount: d, tasks: c, nextTask: p } = Pe(), f = M(() => $o[r], [r]), v = M(
2993
2994
  () => d * 100 / c.length,
2994
2995
  [d, c.length]
2995
2996
  );
@@ -2997,7 +2998,7 @@ function Cn(e) {
2997
2998
  /* @__PURE__ */ h(
2998
2999
  "div",
2999
3000
  {
3000
- style: { width: `${m}%` },
3001
+ style: { width: `${v}%` },
3001
3002
  className: oe.progress
3002
3003
  }
3003
3004
  ),
@@ -3110,13 +3111,13 @@ function Cn(e) {
3110
3111
  }
3111
3112
  function kn(e = {}) {
3112
3113
  const { timeout: t, onTimeout: n = () => {
3113
- } } = e, [r, o] = k(!1), i = w(null), a = A(() => {
3114
+ } } = e, [r, o] = x(!1), i = w(null), a = I(() => {
3114
3115
  t && i.current && clearTimeout(i.current);
3115
- }, []), s = A(() => {
3116
+ }, []), s = I(() => {
3116
3117
  t && (i.current = setTimeout(() => {
3117
3118
  o(!0), n();
3118
3119
  }, t));
3119
- }, []), l = A(() => {
3120
+ }, []), l = I(() => {
3120
3121
  o(!1), s();
3121
3122
  }, []);
3122
3123
  return N(() => a, []), {
@@ -3128,22 +3129,22 @@ function kn(e = {}) {
3128
3129
  }
3129
3130
  const El = 1, Ht = 8, ir = "Place face in frame";
3130
3131
  function $l(e) {
3131
- const { difficulty: t, timeout: n } = e, { saveStream: r } = Me(), [o, i] = k([]), [a, s] = k(ir), [l, u] = k(!1), [d, c] = k(!1), p = w(/* @__PURE__ */ new Set()), f = w(!1), m = w(null), {
3132
+ const { difficulty: t, timeout: n } = e, { saveStream: r } = Pe(), [o, i] = x([]), [a, s] = x(ir), [l, u] = x(!1), [d, c] = x(!1), p = w(/* @__PURE__ */ new Set()), f = w(!1), v = w(null), {
3132
3133
  reset: y,
3133
- start: v,
3134
+ start: m,
3134
3135
  stop: _,
3135
3136
  timedOut: g
3136
- } = kn({ timeout: n }), E = () => {
3137
- i([]), s(ir), u(!1), c(!1), p.current = /* @__PURE__ */ new Set(), f.current = !1, m.current = null, y();
3138
- }, C = (b) => {
3139
- const x = b * Ht, S = Math.ceil((x + 1) / Ms);
3137
+ } = kn({ timeout: n }), b = () => {
3138
+ i([]), s(ir), u(!1), c(!1), p.current = /* @__PURE__ */ new Set(), f.current = !1, v.current = null, y();
3139
+ }, C = (E) => {
3140
+ const k = E * Ht, S = Math.ceil((k + 1) / Ps);
3140
3141
  p.current.has(S) || (p.current.add(S), i(Array.from(p.current))), p.current.size >= Ht && (_(), setTimeout(() => {
3141
3142
  c(!0);
3142
3143
  }, 1e3));
3143
- }, $ = (b, x) => {
3144
- let D = Math.atan2(x, b) * (180 / Math.PI);
3145
- return D < 0 && (D += 360), D;
3146
- }, M = P(() => {
3144
+ }, $ = (E, k) => {
3145
+ let A = Math.atan2(k, E) * (180 / Math.PI);
3146
+ return A < 0 && (A += 360), A;
3147
+ }, P = M(() => {
3147
3148
  if (p.current.size === 0)
3148
3149
  return 25;
3149
3150
  switch (t) {
@@ -3154,22 +3155,22 @@ function $l(e) {
3154
3155
  default:
3155
3156
  return 10;
3156
3157
  }
3157
- }, []), O = (b) => {
3158
- const { keypoints: x, box: S } = b, D = { x: S.width * 0.5, y: S.height * 0.5 }, Z = x[El], re = { y: Z.y - S.yMin, x: Z.x - S.xMin }, Q = D.x - re.x, J = re.y - D.y;
3159
- return Math.abs(Q) < M && Math.abs(J) < M ? null : $(Q, J);
3158
+ }, []), O = (E) => {
3159
+ const { keypoints: k, box: S } = E, A = { x: S.width * 0.5, y: S.height * 0.5 }, Z = k[El], re = { y: Z.y - S.yMin, x: Z.x - S.xMin }, Q = A.x - re.x, J = re.y - A.y;
3160
+ return Math.abs(Q) < P && Math.abs(J) < P ? null : $(Q, J);
3160
3161
  }, { detectFaces: R } = Tn({
3161
3162
  frameSize: 280,
3162
3163
  validations: ["zoom", "in-frame"],
3163
- onFace: (b) => {
3164
+ onFace: (E) => {
3164
3165
  u(!0), s("Slowly move head around to complete circle");
3165
- const x = O(b);
3166
- x && C(x);
3166
+ const k = O(E);
3167
+ k && C(k);
3167
3168
  },
3168
- onError: (b) => {
3169
- s(b), i([]), p.current.clear(), m.current = null, f.current = !1;
3169
+ onError: (E) => {
3170
+ s(E), i([]), p.current.clear(), v.current = null, f.current = !1;
3170
3171
  }
3171
3172
  });
3172
- return /* @__PURE__ */ h(H, { children: /* @__PURE__ */ h(
3173
+ return /* @__PURE__ */ h(D, { children: /* @__PURE__ */ h(
3173
3174
  Cn,
3174
3175
  {
3175
3176
  instruction: {
@@ -3179,14 +3180,14 @@ function $l(e) {
3179
3180
  name: "complete-the-circle",
3180
3181
  completed: d,
3181
3182
  failed: g,
3182
- onReset: E,
3183
- onStart: v,
3184
- children: /* @__PURE__ */ h($n, { onStream: (b) => {
3183
+ onReset: b,
3184
+ onStart: m,
3185
+ children: /* @__PURE__ */ h($n, { onStream: (E) => {
3185
3186
  try {
3186
- if (!b.current || d)
3187
+ if (!E.current || d)
3187
3188
  return;
3188
- const { videoWidth: x } = b.current;
3189
- R({ ref: b, frameSize: x });
3189
+ const { videoWidth: k } = E.current;
3190
+ R({ ref: E, frameSize: k });
3190
3191
  } catch {
3191
3192
  }
3192
3193
  }, onRecord: r, children: /* @__PURE__ */ h(
@@ -3200,15 +3201,15 @@ function $l(e) {
3200
3201
  }
3201
3202
  ) });
3202
3203
  }
3203
- const Tl = "_root_thujo_1", Cl = "_sticker_thujo_4", kl = "_no_thujo_7", Fl = "_yes_thujo_12", Dt = {
3204
+ const Tl = "_root_thujo_1", Cl = "_sticker_thujo_4", kl = "_no_thujo_7", xl = "_yes_thujo_12", Dt = {
3204
3205
  root: Tl,
3205
3206
  sticker: Cl,
3206
3207
  no: kl,
3207
- yes: Fl
3208
+ yes: xl
3208
3209
  };
3209
- function xl(e) {
3210
+ function Fl(e) {
3210
3211
  const { show: t, stickers: n } = e;
3211
- return /* @__PURE__ */ h(H, { children: t && /* @__PURE__ */ h("div", { className: Dt.root, children: n.map((r) => /* @__PURE__ */ h(
3212
+ return /* @__PURE__ */ h(D, { children: t && /* @__PURE__ */ h("div", { className: Dt.root, children: n.map((r) => /* @__PURE__ */ h(
3212
3213
  "div",
3213
3214
  {
3214
3215
  className: `${Dt.sticker} ${Dt[r]}`,
@@ -3221,28 +3222,28 @@ const Sl = {
3221
3222
  question: "Are you alive?",
3222
3223
  errorMessage: "You have to be alive to proceed though",
3223
3224
  answer: !0
3224
- }, Pl = "Wrong answer. Try again", ar = "Keep face in camera";
3225
- function Ml(e) {
3226
- const { difficulty: t, questions: n = [Sl], timeout: r } = e, [o, i] = k(ar), [a, s] = k(!1), [l, u] = k(!1), { saveStream: d } = Me(), c = w("inactive"), p = w(0), f = w(!1), m = w(null), y = w(null), v = () => {
3227
- m.current && clearTimeout(m.current), y.current && clearTimeout(y.current);
3225
+ }, Ml = "Wrong answer. Try again", ar = "Keep face in camera";
3226
+ function Pl(e) {
3227
+ const { difficulty: t, questions: n = [Sl], timeout: r } = e, [o, i] = x(ar), [a, s] = x(!1), [l, u] = x(!1), { saveStream: d } = Pe(), c = w("inactive"), p = w(0), f = w(!1), v = w(null), y = w(null), m = () => {
3228
+ v.current && clearTimeout(v.current), y.current && clearTimeout(y.current);
3228
3229
  }, {
3229
3230
  reset: _,
3230
3231
  start: g,
3231
- stop: E,
3232
+ stop: b,
3232
3233
  timedOut: C
3233
3234
  } = kn({
3234
3235
  timeout: r,
3235
- onTimeout: v
3236
+ onTimeout: m
3236
3237
  }), $ = () => {
3237
3238
  i(ar), s(!1), u(!1), c.current = "inactive", p.current = 0, f.current = !1, _();
3238
- }, M = (S) => {
3239
- const { keypoints: D } = S, Z = D[1], re = D[9], Q = Z.x - re.x, J = Z.y - re.y;
3239
+ }, P = (S) => {
3240
+ const { keypoints: A } = S, Z = A[1], re = A[9], Q = Z.x - re.x, J = Z.y - re.y;
3240
3241
  return 90 - Math.atan2(J, Q) * (180 / Math.PI);
3241
3242
  }, O = (S) => {
3242
- c.current = "inactive", i(n[S].question), m.current = setTimeout(() => {
3243
+ c.current = "inactive", i(n[S].question), v.current = setTimeout(() => {
3243
3244
  c.current = "active";
3244
3245
  }, 2e3);
3245
- }, R = P(() => {
3246
+ }, R = M(() => {
3246
3247
  switch (t) {
3247
3248
  case "easy":
3248
3249
  return 2;
@@ -3255,38 +3256,38 @@ function Ml(e) {
3255
3256
  try {
3256
3257
  if (c.current = "inactive", Math.abs(S) < R)
3257
3258
  throw new Error("Tilt head further to answer");
3258
- const D = S > 0, Z = n[p.current].answer;
3259
- if (D === Z)
3260
- p.current += 1, p.current === n.length ? (u(!0), E()) : O(p.current);
3259
+ const A = S > 0, Z = n[p.current].answer;
3260
+ if (A === Z)
3261
+ p.current += 1, p.current === n.length ? (u(!0), b()) : O(p.current);
3261
3262
  else
3262
3263
  throw new Error(
3263
- n[p.current].errorMessage || Pl
3264
+ n[p.current].errorMessage || Ml
3264
3265
  );
3265
- } catch (D) {
3266
- i(D.message), y.current = setTimeout(() => {
3266
+ } catch (A) {
3267
+ i(A.message), y.current = setTimeout(() => {
3267
3268
  O(p.current);
3268
3269
  }, 2e3);
3269
3270
  }
3270
- }, { detectFaces: b } = Tn({
3271
+ }, { detectFaces: E } = Tn({
3271
3272
  onFace: (S) => {
3272
3273
  if (f.current || (s(!0), f.current = !0, O(p.current)), c.current === "inactive")
3273
3274
  return;
3274
- const D = M(S);
3275
- W(D);
3275
+ const A = P(S);
3276
+ W(A);
3276
3277
  },
3277
3278
  onError: (S) => {
3278
3279
  i(S);
3279
3280
  }
3280
- }), x = (S) => {
3281
+ }), k = (S) => {
3281
3282
  try {
3282
3283
  if (!S.current || l)
3283
3284
  return;
3284
- const { videoWidth: D } = S.current;
3285
- b({ ref: S, frameSize: D });
3285
+ const { videoWidth: A } = S.current;
3286
+ E({ ref: S, frameSize: A });
3286
3287
  } catch {
3287
3288
  }
3288
3289
  };
3289
- return N(() => v, []), /* @__PURE__ */ h(
3290
+ return N(() => m, []), /* @__PURE__ */ h(
3290
3291
  Cn,
3291
3292
  {
3292
3293
  instruction: {
@@ -3298,7 +3299,7 @@ function Ml(e) {
3298
3299
  onReset: $,
3299
3300
  onStart: g,
3300
3301
  completed: l,
3301
- children: /* @__PURE__ */ h($n, { onStream: x, onRecord: d, children: /* @__PURE__ */ h(xl, { show: a, stickers: ["yes", "no"] }) })
3302
+ children: /* @__PURE__ */ h($n, { onStream: k, onRecord: d, children: /* @__PURE__ */ h(Fl, { show: a, stickers: ["yes", "no"] }) })
3302
3303
  }
3303
3304
  );
3304
3305
  }
@@ -3318,7 +3319,7 @@ function Nl(e = {}) {
3318
3319
  };
3319
3320
  }
3320
3321
  function Ll(e) {
3321
- const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(null), a = w(!0), s = w(null), l = w(null), u = w(0), d = w(!1), c = P(() => {
3322
+ const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(null), a = w(!0), s = w(null), l = w(null), u = w(0), d = w(!1), c = M(() => {
3322
3323
  switch (o) {
3323
3324
  case "easy":
3324
3325
  return 6;
@@ -3329,20 +3330,20 @@ function Ll(e) {
3329
3330
  }
3330
3331
  }, []), p = () => {
3331
3332
  if (u.current < t) {
3332
- const v = t - u.current;
3333
- let _ = `Nod head ${v} `;
3334
- v < t && (_ += "more "), _ += v > 1 ? "times" : "time", n(_);
3333
+ const m = t - u.current;
3334
+ let _ = `Nod head ${m} `;
3335
+ m < t && (_ += "more "), _ += m > 1 ? "times" : "time", n(_);
3335
3336
  return;
3336
3337
  }
3337
3338
  d.current = !0, n("Great, hang on..."), setTimeout(() => {
3338
3339
  r();
3339
3340
  }, 500);
3340
3341
  }, { canUse: f } = Nl({
3341
- onChange: (v) => {
3342
- l.current = v;
3342
+ onChange: (m) => {
3343
+ l.current = m;
3343
3344
  }
3344
3345
  });
3345
- return { evaluate: (v) => {
3346
+ return { evaluate: (m) => {
3346
3347
  if (!f) {
3347
3348
  n("Cannot perform task. Transfer to mobile device to complete");
3348
3349
  return;
@@ -3357,7 +3358,7 @@ function Ll(e) {
3357
3358
  }
3358
3359
  if (d.current)
3359
3360
  return;
3360
- const { keypoints: _ } = v, g = He(
3361
+ const { keypoints: _ } = m, g = He(
3361
3362
  _[6].x - _[8].x,
3362
3363
  _[6].y - _[8].y
3363
3364
  ), C = He(
@@ -3378,7 +3379,7 @@ function Ll(e) {
3378
3379
  } };
3379
3380
  }
3380
3381
  function Al(e) {
3381
- const { onMessage: t, onComplete: n, difficulty: r } = e, o = w(!1), i = P(() => {
3382
+ const { onMessage: t, onComplete: n, difficulty: r } = e, o = w(!1), i = M(() => {
3382
3383
  switch (r) {
3383
3384
  case "easy":
3384
3385
  return 80;
@@ -3410,7 +3411,7 @@ function Al(e) {
3410
3411
  } };
3411
3412
  }
3412
3413
  function Il(e) {
3413
- const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(!0), a = w(!1), s = w(null), l = w(0), u = P(() => {
3414
+ const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(!0), a = w(!1), s = w(null), l = w(0), u = M(() => {
3414
3415
  switch (o) {
3415
3416
  case "easy":
3416
3417
  return {
@@ -3432,14 +3433,14 @@ function Il(e) {
3432
3433
  i.current && (y >= u.closed || (i.current = !1, s.current = Date.now()));
3433
3434
  }, c = (y) => {
3434
3435
  if (!i.current && !(y < u.open) && (i.current = !0, s.current)) {
3435
- const v = Date.now(), _ = s.current;
3436
- (v - _) / 1e3 <= 2 && (l.current += 1);
3436
+ const m = Date.now(), _ = s.current;
3437
+ (m - _) / 1e3 <= 2 && (l.current += 1);
3437
3438
  }
3438
3439
  }, p = () => {
3439
3440
  if (l.current < t) {
3440
3441
  const y = t - l.current;
3441
- let v = `Blink right eye ${y} `;
3442
- y < t && (v += "more "), v += y > 1 ? "times" : "time", n(v);
3442
+ let m = `Blink right eye ${y} `;
3443
+ y < t && (m += "more "), m += y > 1 ? "times" : "time", n(m);
3443
3444
  return;
3444
3445
  }
3445
3446
  a.current = !0, n("Great, hang on..."), setTimeout(() => {
@@ -3449,14 +3450,14 @@ function Il(e) {
3449
3450
  return { evaluate: (y) => {
3450
3451
  if (a.current)
3451
3452
  return;
3452
- const { keypoints: v } = y, _ = He(
3453
- v[6].x - v[8].x,
3454
- v[6].y - v[8].y
3455
- ), E = He(
3456
- v[145].x - v[159].x,
3457
- v[145].y - v[159].y
3453
+ const { keypoints: m } = y, _ = He(
3454
+ m[6].x - m[8].x,
3455
+ m[6].y - m[8].y
3456
+ ), b = He(
3457
+ m[145].x - m[159].x,
3458
+ m[145].y - m[159].y
3458
3459
  ) / _ * 100;
3459
- d(E), c(E), p();
3460
+ d(b), c(b), p();
3460
3461
  }, reset: () => {
3461
3462
  i.current = !0, a.current = !1, s.current = null, l.current = 0;
3462
3463
  } };
@@ -3473,66 +3474,66 @@ function Hl() {
3473
3474
  };
3474
3475
  }
3475
3476
  var ko = /* @__PURE__ */ ((e) => (e.nod = "nod", e.open_mouth = "open_mouth", e.blink = "blink", e))(ko || {});
3476
- const sr = Fs(Object.keys(ko)), lr = "Keep face in camera";
3477
+ const sr = xs(Object.keys(ko)), lr = "Keep face in camera";
3477
3478
  function Dl(e) {
3478
- const { difficulty: t, maxBlinks: n = 5, maxNods: r = 5, timeout: o } = e, i = w(0), [a, s] = k(lr), [l, u] = k(!1), [d, c] = k(null), p = w(!1), { requestDeviceOrientationPermission: f } = Hl(), {
3479
- reset: m,
3479
+ const { difficulty: t, maxBlinks: n = 5, maxNods: r = 5, timeout: o } = e, i = w(0), [a, s] = x(lr), [l, u] = x(!1), [d, c] = x(null), p = w(!1), { requestDeviceOrientationPermission: f } = Hl(), {
3480
+ reset: v,
3480
3481
  start: y,
3481
- stop: v,
3482
+ stop: m,
3482
3483
  timedOut: _
3483
3484
  } = kn({ timeout: o }), g = () => {
3484
3485
  if (i.current === sr.length - 1) {
3485
- u(!0), v();
3486
+ u(!0), m();
3486
3487
  return;
3487
3488
  }
3488
3489
  i.current += 1;
3489
- }, E = Ll({
3490
+ }, b = Ll({
3490
3491
  total: Math.floor(Math.random() * r + 1),
3491
3492
  difficulty: t,
3492
- onMessage: (b) => s(b),
3493
+ onMessage: (E) => s(E),
3493
3494
  onComplete: g
3494
3495
  }), C = Al({
3495
3496
  difficulty: t,
3496
- onMessage: (b) => s(b),
3497
+ onMessage: (E) => s(E),
3497
3498
  onComplete: g
3498
3499
  }), $ = Il({
3499
3500
  total: Math.floor(Math.random() * n + 1),
3500
3501
  difficulty: t,
3501
- onMessage: (b) => s(b),
3502
+ onMessage: (E) => s(E),
3502
3503
  onComplete: g
3503
- }), { detectFaces: M } = Tn({
3504
- onFace: (b) => {
3504
+ }), { detectFaces: P } = Tn({
3505
+ onFace: (E) => {
3505
3506
  switch (p.current || (p.current = !0), sr[i.current]) {
3506
3507
  case "nod":
3507
- E.evaluate(b);
3508
+ b.evaluate(E);
3508
3509
  break;
3509
3510
  case "open_mouth":
3510
- C.evaluate(b);
3511
+ C.evaluate(E);
3511
3512
  break;
3512
3513
  case "blink":
3513
- $.evaluate(b);
3514
+ $.evaluate(E);
3514
3515
  break;
3515
3516
  }
3516
3517
  },
3517
- onError: (b) => {
3518
- s(b);
3518
+ onError: (E) => {
3519
+ s(E);
3519
3520
  }
3520
3521
  }), O = () => {
3521
- i.current = 0, s(lr), u(!1), p.current = !1, $.reset(), E.reset(), C.reset(), m();
3522
- }, R = async (b) => {
3522
+ i.current = 0, s(lr), u(!1), p.current = !1, $.reset(), b.reset(), C.reset(), v();
3523
+ }, R = async (E) => {
3523
3524
  try {
3524
- if (!b.current || l)
3525
+ if (!E.current || l)
3525
3526
  return;
3526
- const { videoWidth: x } = b.current;
3527
- await M({ ref: b, frameSize: x, throttleInterval: 500 });
3527
+ const { videoWidth: k } = E.current;
3528
+ await P({ ref: E, frameSize: k, throttleInterval: 500 });
3528
3529
  } catch {
3529
3530
  }
3530
3531
  }, W = async () => {
3531
3532
  try {
3532
3533
  await f();
3533
- } catch (b) {
3534
- const x = b;
3535
- s(x.message), c(x);
3534
+ } catch (E) {
3535
+ const k = E;
3536
+ s(k.message), c(k);
3536
3537
  }
3537
3538
  };
3538
3539
  return /* @__PURE__ */ h(
@@ -3549,7 +3550,7 @@ function Dl(e) {
3549
3550
  onStart: async () => {
3550
3551
  await W(), y();
3551
3552
  },
3552
- children: d ? /* @__PURE__ */ h(H, {}) : /* @__PURE__ */ h($n, { onStream: R })
3553
+ children: d ? /* @__PURE__ */ h(D, {}) : /* @__PURE__ */ h($n, { onStream: R })
3553
3554
  }
3554
3555
  );
3555
3556
  }
@@ -3563,7 +3564,7 @@ function Ol() {
3563
3564
  onComplete: s,
3564
3565
  faceDetector: l,
3565
3566
  presentation: u
3566
- } = Me(), [d, c] = k(!1), [p, f] = k(!1), [m, y] = k(null), [v, _] = k(!1);
3567
+ } = Pe(), [d, c] = x(!1), [p, f] = x(!1), [v, y] = x(null), [m, _] = x(!1);
3567
3568
  N(() => {
3568
3569
  const $ = t();
3569
3570
  n($);
@@ -3576,7 +3577,7 @@ function Ol() {
3576
3577
  } finally {
3577
3578
  c(!1);
3578
3579
  }
3579
- }, E = A(
3580
+ }, b = I(
3580
3581
  ($) => $ === i ? Y.active : i > $ ? Y.completed : "subtext",
3581
3582
  [i]
3582
3583
  );
@@ -3586,7 +3587,7 @@ function Ol() {
3586
3587
  /* @__PURE__ */ h(Gs, {}),
3587
3588
  /* @__PURE__ */ h("div", { children: /* @__PURE__ */ h("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." }) }),
3588
3589
  /* @__PURE__ */ h("ol", { children: [
3589
- o.map(($, M) => /* @__PURE__ */ h("li", { className: E(M), children: $o[$.id].name }, `task-${M}`)),
3590
+ o.map(($, P) => /* @__PURE__ */ h("li", { className: b(P), children: $o[$.id].name }, `task-${P}`)),
3590
3591
  /* @__PURE__ */ h("li", { className: a ? Y.active : "", children: "Complete! 🎉" })
3591
3592
  ] })
3592
3593
  ] }),
@@ -3622,26 +3623,26 @@ function Ol() {
3622
3623
  ) : /* @__PURE__ */ h(Co, { size: "lg" }) })
3623
3624
  }
3624
3625
  ),
3625
- o.map(($, M) => {
3626
+ o.map(($, P) => {
3626
3627
  let O;
3627
3628
  switch ($.id) {
3628
3629
  case "complete-the-circle":
3629
3630
  O = /* @__PURE__ */ h($l, { ...$ });
3630
3631
  break;
3631
3632
  case "yes-or-no":
3632
- O = /* @__PURE__ */ h(Ml, { ...$ });
3633
+ O = /* @__PURE__ */ h(Pl, { ...$ });
3633
3634
  break;
3634
3635
  case "motions":
3635
3636
  O = /* @__PURE__ */ h(Dl, { ...$ });
3636
3637
  break;
3637
3638
  default:
3638
- O = /* @__PURE__ */ h(H, {});
3639
+ O = /* @__PURE__ */ h(D, {});
3639
3640
  break;
3640
3641
  }
3641
3642
  return /* @__PURE__ */ h(
3642
3643
  ie,
3643
3644
  {
3644
- show: p && !a && i === M,
3645
+ show: p && !a && i === P,
3645
3646
  appear: !0,
3646
3647
  as: "div",
3647
3648
  leave: "yvlw-transform yvlw-transition yvlw-duration-300",
@@ -3652,7 +3653,7 @@ function Ol() {
3652
3653
  className: "yvlw-h-full",
3653
3654
  children: O
3654
3655
  },
3655
- `task-${M}`
3656
+ `task-${P}`
3656
3657
  );
3657
3658
  }),
3658
3659
  /* @__PURE__ */ h(
@@ -3670,13 +3671,13 @@ function Ol() {
3670
3671
  Ge,
3671
3672
  {
3672
3673
  Icon: ws,
3673
- title: v ? "All Set!" : "Completed",
3674
- description: v ? "You can now close or exit the window" : "Your Identity verification has been completed successfully. Thanks for your patience",
3674
+ title: m ? "All Set!" : "Completed",
3675
+ description: m ? "You can now close or exit the window" : "Your Identity verification has been completed successfully. Thanks for your patience",
3675
3676
  actionText: "Finish",
3676
3677
  loading: d,
3677
3678
  onActionClick: g,
3678
- hideButton: v,
3679
- children: m && /* @__PURE__ */ h("div", { className: "yvlw-mt-3", children: m })
3679
+ hideButton: m,
3680
+ children: v && /* @__PURE__ */ h("div", { className: "yvlw-mt-3", children: v })
3680
3681
  }
3681
3682
  ) })
3682
3683
  }
@@ -3710,9 +3711,10 @@ function Rl(e) {
3710
3711
  onFailure: s,
3711
3712
  presentation: l = "modal",
3712
3713
  publicKey: u,
3713
- metadata: d
3714
- } = e, [c, p] = k(e.show), f = () => {
3715
- p(!1), i();
3714
+ metadata: d,
3715
+ sandboxEnvironment: c
3716
+ } = e, [p, f] = x(e.show), v = () => {
3717
+ f(!1), i();
3716
3718
  };
3717
3719
  return /* @__PURE__ */ h(
3718
3720
  As,
@@ -3722,17 +3724,18 @@ function Rl(e) {
3722
3724
  tasks: t,
3723
3725
  user: r,
3724
3726
  branding: o,
3725
- onRequestClose: f,
3727
+ onRequestClose: v,
3726
3728
  onSuccess: a,
3727
3729
  onFailure: s,
3728
3730
  metadata: d,
3729
3731
  presentation: l,
3732
+ sandboxEnvironment: c,
3730
3733
  children: /* @__PURE__ */ h(
3731
3734
  ss,
3732
3735
  {
3733
3736
  id: n,
3734
- open: l === "page" ? !0 : c,
3735
- onClose: f,
3737
+ open: l === "page" ? !0 : p,
3738
+ onClose: v,
3736
3739
  transition: !0,
3737
3740
  className: `${hs.root} ${at.root} ${at[l]}`,
3738
3741
  style: {
@@ -3740,7 +3743,7 @@ function Rl(e) {
3740
3743
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3741
3744
  },
3742
3745
  children: [
3743
- l === "modal" && /* @__PURE__ */ h("div", { onClick: f, role: "button", className: at.close, children: /* @__PURE__ */ h(Es, { className: "yvlw-text-white" }) }),
3746
+ l === "modal" && /* @__PURE__ */ h("div", { onClick: v, role: "button", className: at.close, children: /* @__PURE__ */ h(Es, { className: "yvlw-text-white" }) }),
3744
3747
  /* @__PURE__ */ h(go, { className: `${at.container}`, children: /* @__PURE__ */ h(Ol, {}) })
3745
3748
  ]
3746
3749
  }