youverify-liveness-web 0.1.8 → 0.1.9

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,6 +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_1j21c_1{text-align:center;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem .75rem}._root_1j21c_1 h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.5rem;line-height:2rem;font-weight:900}._root_1j21c_1 h2:where([liveness-web-sdk-color-scheme=dark],[liveness-web-sdk-color-scheme=dark] *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}._root_1j21c_1 p{font-size:.875rem;line-height:1.25rem;font-weight:300;max-width:400px}._root_1j21c_1 button{color:var(--branding-color);border-color:var(--branding-color);border-radius:9999px;border-width:2px;padding:.5rem 2rem;font-weight:500}._root_1j21c_1 button ._spinner_1j21c_18{height:100%;width:100%;border-radius:50%;border-width:2px;height:1rem;width:1rem;border-color:var(--branding-color);border-left-color:transparent;animation:_spin_1j21c_18 .7s linear infinite}@keyframes _spin_1j21c_18{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._root_1j21c_1 button:hover{background-color:var(--branding-color);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._root_1j21c_1 button:hover ._spinner_1j21c_18{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));border-left-color:transparent}._root_thujo_1{position:absolute;top:0;right:0;bottom:0;left:0}._root_thujo_1 ._sticker_thujo_4{position:absolute}._root_thujo_1 ._sticker_thujo_4._no_thujo_7{top:2.5rem;left:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity));transform:rotate(335deg)}._root_thujo_1 ._sticker_thujo_4._yes_thujo_12{top:2.5rem;right:1.5rem;border-width:4px;--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity));padding:.5rem 1rem;--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);stroke:#fff;font-size:2.25rem;line-height:2.5rem;font-weight:900;letter-spacing:.1em;--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity));transform:rotate(45deg)}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- import go from "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.3";
3
- var Ye, T, tr, _e, $n, nr, Ht, Jt, At, Ot, rr, qe = {}, or = [], wo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, pt = Array.isArray;
2
+ var Ye, T, tr, _e, $n, nr, Ht, Jt, At, Ot, rr, qe = {}, or = [], go = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, pt = Array.isArray;
4
3
  function ne(e, t) {
5
4
  for (var n in t) e[n] = t[n];
6
5
  return e;
@@ -28,10 +27,10 @@ function H(e) {
28
27
  function Z(e, t) {
29
28
  this.props = e, this.context = t;
30
29
  }
31
- function we(e, t) {
32
- if (t == null) return e.__ ? we(e.__, e.__i + 1) : null;
30
+ function be(e, t) {
31
+ if (t == null) return e.__ ? be(e.__, e.__i + 1) : null;
33
32
  for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
34
- return typeof e.type == "function" ? we(e) : null;
33
+ return typeof e.type == "function" ? be(e) : null;
35
34
  }
36
35
  function ar(e) {
37
36
  var t, n;
@@ -48,18 +47,18 @@ function It(e) {
48
47
  }
49
48
  function at() {
50
49
  var e, t, n, r, o, i, a, l;
51
- for (_e.sort(Ht); e = _e.shift(); ) e.__d && (t = _e.length, r = void 0, i = (o = (n = e).__v).__e, a = [], l = [], n.__P && ((r = ne({}, o)).__v = o.__v + 1, T.vnode && T.vnode(r), tn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, a, i ?? we(o), !!(32 & o.__u), l), r.__v = o.__v, r.__.__k[r.__i] = r, cr(a, r, l), r.__e != i && ar(r)), _e.length > t && _e.sort(Ht));
50
+ for (_e.sort(Ht); e = _e.shift(); ) e.__d && (t = _e.length, r = void 0, i = (o = (n = e).__v).__e, a = [], l = [], n.__P && ((r = ne({}, o)).__v = o.__v + 1, T.vnode && T.vnode(r), tn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, a, i ?? be(o), !!(32 & o.__u), l), r.__v = o.__v, r.__.__k[r.__i] = r, cr(a, r, l), r.__e != i && ar(r)), _e.length > t && _e.sort(Ht));
52
51
  at.__r = 0;
53
52
  }
54
53
  function lr(e, t, n, r, o, i, a, l, s, u, d) {
55
54
  var c, p, f, h, y, m = r && r.__k || or, _ = t.length;
56
- for (n.__d = s, bo(n, t, m), s = n.__d, c = 0; c < _; c++) (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (p = f.__i === -1 ? qe : m[f.__i] || qe, f.__i = c, tn(e, f, p, o, i, a, l, s, u, d), h = f.__e, f.ref && p.ref != f.ref && (p.ref && nn(p.ref, null, f), d.push(f.ref, f.__c || h, f)), y == null && h != null && (y = h), 65536 & f.__u || p.__k === f.__k ? s = sr(f, s, e) : typeof f.type == "function" && f.__d !== void 0 ? s = f.__d : h && (s = h.nextSibling), f.__d = void 0, f.__u &= -196609);
55
+ for (n.__d = s, wo(n, t, m), s = n.__d, c = 0; c < _; c++) (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (p = f.__i === -1 ? qe : m[f.__i] || qe, f.__i = c, tn(e, f, p, o, i, a, l, s, u, d), h = f.__e, f.ref && p.ref != f.ref && (p.ref && nn(p.ref, null, f), d.push(f.ref, f.__c || h, f)), y == null && h != null && (y = h), 65536 & f.__u || p.__k === f.__k ? s = sr(f, s, e) : typeof f.type == "function" && f.__d !== void 0 ? s = f.__d : h && (s = h.nextSibling), f.__d = void 0, f.__u &= -196609);
57
56
  n.__d = s, n.__e = y;
58
57
  }
59
- function bo(e, t, n) {
58
+ function wo(e, t, n) {
60
59
  var r, o, i, a, l, s = t.length, u = n.length, d = u, c = 0;
61
- for (e.__k = [], r = 0; r < s; r++) a = r + c, (o = e.__k[r] = (o = t[r]) == null || typeof o == "boolean" || typeof o == "function" ? null : typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? Ue(null, o, null, null, null) : pt(o) ? Ue(H, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? Ue(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, l = Eo(o, n, a, d), o.__i = l, i = null, l !== -1 && (d--, (i = n[l]) && (i.__u |= 131072)), i == null || i.__v === null ? (l == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : l !== a && (l == a - 1 ? c = l - a : l == a + 1 ? c++ : l > a ? d > s - a ? c += l - a : c-- : l < a && c++, l !== r + c && (o.__u |= 65536))) : (i = n[a]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = we(i)), Rt(i, i, !1), n[a] = null, d--);
62
- if (d) for (r = 0; r < u; r++) (i = n[r]) != null && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = we(i)), Rt(i, i));
60
+ for (e.__k = [], r = 0; r < s; r++) a = r + c, (o = e.__k[r] = (o = t[r]) == null || typeof o == "boolean" || typeof o == "function" ? null : typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? Ue(null, o, null, null, null) : pt(o) ? Ue(H, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? Ue(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, l = bo(o, n, a, d), o.__i = l, i = null, l !== -1 && (d--, (i = n[l]) && (i.__u |= 131072)), i == null || i.__v === null ? (l == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : l !== a && (l == a - 1 ? c = l - a : l == a + 1 ? c++ : l > a ? d > s - a ? c += l - a : c-- : l < a && c++, l !== r + c && (o.__u |= 65536))) : (i = n[a]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = be(i)), Rt(i, i, !1), n[a] = null, d--);
61
+ if (d) for (r = 0; r < u; r++) (i = n[r]) != null && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = be(i)), Rt(i, i));
63
62
  }
64
63
  function sr(e, t, n) {
65
64
  var r, o;
@@ -67,7 +66,7 @@ function sr(e, t, n) {
67
66
  for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = sr(r[o], t, n));
68
67
  return t;
69
68
  }
70
- e.__e != t && (t && e.type && !n.contains(t) && (t = we(e)), n.insertBefore(e.__e, t || null), t = e.__e);
69
+ e.__e != t && (t && e.type && !n.contains(t) && (t = be(e)), n.insertBefore(e.__e, t || null), t = e.__e);
71
70
  do
72
71
  t = t && t.nextSibling;
73
72
  while (t != null && t.nodeType === 8);
@@ -78,7 +77,7 @@ function re(e, t) {
78
77
  re(n, t);
79
78
  }) : t.push(e)), t;
80
79
  }
81
- function Eo(e, t, n, r) {
80
+ function bo(e, t, n, r) {
82
81
  var o = e.key, i = e.type, a = n - 1, l = n + 1, s = t[n];
83
82
  if (s === null || s && o == s.key && i === s.type && !(131072 & s.__u)) return n;
84
83
  if (r > (s != null && !(131072 & s.__u) ? 1 : 0)) for (; a >= 0 || l < t.length; ) {
@@ -94,7 +93,7 @@ function Eo(e, t, n, r) {
94
93
  return -1;
95
94
  }
96
95
  function Cn(e, t, n) {
97
- t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || wo.test(t) ? n : n + "px";
96
+ t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || go.test(t) ? n : n + "px";
98
97
  }
99
98
  function nt(e, t, n, r, o) {
100
99
  var i;
@@ -129,7 +128,7 @@ function tn(e, t, n, r, o, i, a, l, s, u) {
129
128
  if (t.constructor !== void 0) return null;
130
129
  128 & n.__u && (s = !!(32 & n.__u), i = [l = t.__e = n.__e]), (d = T.__b) && d(t);
131
130
  e: if (typeof L == "function") try {
132
- if (_ = t.props, g = "prototype" in L && L.prototype.render, C = (d = L.contextType) && r[d.__c], b = d ? C ? C.props.value : d.__ : r, n.__c ? m = (c = t.__c = n.__c).__ = c.__E : (g ? t.__c = c = new L(_, b) : (t.__c = c = new Z(_, b), c.constructor = L, c.render = Co), C && C.sub(c), c.props = _, c.state || (c.state = {}), c.context = b, c.__n = r, p = c.__d = !0, c.__h = [], c._sb = []), g && c.__s == null && (c.__s = c.state), g && L.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ne({}, c.__s)), ne(c.__s, L.getDerivedStateFromProps(_, c.__s))), f = c.props, h = c.state, c.__v = t, p) g && L.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), g && c.componentDidMount != null && c.__h.push(c.componentDidMount);
131
+ if (_ = t.props, g = "prototype" in L && L.prototype.render, C = (d = L.contextType) && r[d.__c], b = d ? C ? C.props.value : d.__ : r, n.__c ? m = (c = t.__c = n.__c).__ = c.__E : (g ? t.__c = c = new L(_, b) : (t.__c = c = new Z(_, b), c.constructor = L, c.render = $o), C && C.sub(c), c.props = _, c.state || (c.state = {}), c.context = b, c.__n = r, p = c.__d = !0, c.__h = [], c._sb = []), g && c.__s == null && (c.__s = c.state), g && L.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ne({}, c.__s)), ne(c.__s, L.getDerivedStateFromProps(_, c.__s))), f = c.props, h = c.state, c.__v = t, p) g && L.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), g && c.componentDidMount != null && c.__h.push(c.componentDidMount);
133
132
  else {
134
133
  if (g && L.getDerivedStateFromProps == null && _ !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(_, b), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(_, c.__s, b) === !1 || t.__v === n.__v)) {
135
134
  for (t.__v !== n.__v && (c.props = _, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(U) {
@@ -156,7 +155,7 @@ function tn(e, t, n, r, o, i, a, l, s, u) {
156
155
  } else t.__e = n.__e, t.__k = n.__k;
157
156
  T.__e(U, t, n);
158
157
  }
159
- else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = $o(n.__e, t, n, r, o, i, a, s, u);
158
+ else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = Eo(n.__e, t, n, r, o, i, a, s, u);
160
159
  (d = T.diffed) && d(t);
161
160
  }
162
161
  function cr(e, t, n) {
@@ -172,7 +171,7 @@ function cr(e, t, n) {
172
171
  }
173
172
  });
174
173
  }
175
- function $o(e, t, n, r, o, i, a, l, s) {
174
+ function Eo(e, t, n, r, o, i, a, l, s) {
176
175
  var u, d, c, p, f, h, y, m = n.props, _ = t.props, g = t.type;
177
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) {
178
177
  for (u = 0; u < i.length; u++) if ((f = i[u]) && "setAttribute" in f == !!g && (g ? f.localName === g : f.nodeType === 3)) {
@@ -196,7 +195,7 @@ function $o(e, t, n, r, o, i, a, l, s) {
196
195
  }
197
196
  for (u in _) f = _[u], u == "children" ? p = f : u == "dangerouslySetInnerHTML" ? d = f : u == "value" ? h = f : u == "checked" ? y = f : u === "key" || l && typeof f != "function" || m[u] === f || nt(e, u, f, m[u], o);
198
197
  if (d) l || c && (d.__html === c.__html || d.__html === e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
199
- else if (c && (e.innerHTML = ""), lr(e, pt(p) ? p : [p], t, n, r, g === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && we(n, 0), l, s), i != null) for (u = i.length; u--; ) i[u] != null && ir(i[u]);
198
+ else if (c && (e.innerHTML = ""), lr(e, pt(p) ? p : [p], t, n, r, g === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && be(n, 0), l, s), i != null) for (u = i.length; u--; ) i[u] != null && ir(i[u]);
200
199
  l || (u = "value", h !== void 0 && (h !== e[u] || g === "progress" && !h || g === "option" && h !== m[u]) && nt(e, u, h, m[u], o), u = "checked", y !== void 0 && y !== e[u] && nt(e, u, y, m[u], o));
201
200
  }
202
201
  return e;
@@ -224,17 +223,17 @@ function Rt(e, t, n) {
224
223
  if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && Rt(r[o], t, n || typeof e.type != "function");
225
224
  n || e.__e == null || ir(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
226
225
  }
227
- function Co(e, t, n) {
226
+ function $o(e, t, n) {
228
227
  return this.constructor(e, n);
229
228
  }
230
- function Pe(e, t, n) {
229
+ function Me(e, t, n) {
231
230
  var r, o, i, a;
232
231
  T.__ && T.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], tn(t, e = (!r && n || t).__k = X(H, null, [e]), o || qe, qe, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Ye.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), cr(i, e, a);
233
232
  }
234
233
  function ur(e, t) {
235
- Pe(e, t, ur);
234
+ Me(e, t, ur);
236
235
  }
237
- function To(e, t, n) {
236
+ function Co(e, t, n) {
238
237
  var r, o, i, a, l = ne({}, e.props);
239
238
  for (i in e.type && e.type.defaultProps && (a = e.type.defaultProps), t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : l[i] = t[i] === void 0 && a !== void 0 ? a[i] : t[i];
240
239
  return arguments.length > 2 && (l.children = arguments.length > 3 ? Ye.call(arguments, 2) : n), Ue(e.type, l, r || e.key, o || e.ref, null);
@@ -277,26 +276,26 @@ Ye = or.slice, T = { __e: function(e, t, n, r) {
277
276
  }, Z.prototype.render = H, _e = [], nr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ht = function(e, t) {
278
277
  return e.__v.__b - t.__v.__b;
279
278
  }, at.__r = 0, Jt = 0, At = Tn(!1), Ot = Tn(!0), rr = 0;
280
- var ko = 0;
279
+ var To = 0;
281
280
  function v(e, t, n, r, o, i) {
282
281
  t || (t = {});
283
282
  var a, l, s = t;
284
283
  if ("ref" in s) for (l in s = {}, t) l == "ref" ? a = t[l] : s[l] = t[l];
285
- var u = { type: e, props: s, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --ko, __i: -1, __u: 0, __source: o, __self: i };
284
+ var u = { type: e, props: s, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --To, __i: -1, __u: 0, __source: o, __self: i };
286
285
  if (typeof e == "function" && (a = e.defaultProps)) for (l in a) s[l] === void 0 && (s[l] = a[l]);
287
286
  return T.vnode && T.vnode(u), u;
288
287
  }
289
- var ae, P, Ft, kn, Me = 0, dr = [], O = T, Fn = O.__b, xn = O.__r, Sn = O.diffed, Pn = O.__c, Mn = O.unmount, Ln = O.__;
290
- function Ee(e, t) {
291
- O.__h && O.__h(P, e, Me || t), Me = 0;
288
+ var ae, P, Ft, kn, Le = 0, dr = [], O = T, Fn = O.__b, xn = O.__r, Sn = O.diffed, Pn = O.__c, Mn = O.unmount, Ln = O.__;
289
+ function $e(e, t) {
290
+ O.__h && O.__h(P, e, Le || t), Le = 0;
292
291
  var n = P.__H || (P.__H = { __: [], __h: [] });
293
292
  return e >= n.__.length && n.__.push({}), n.__[e];
294
293
  }
295
294
  function k(e) {
296
- return Me = 1, Ke(fr, e);
295
+ return Le = 1, Ke(fr, e);
297
296
  }
298
297
  function Ke(e, t, n) {
299
- var r = Ee(ae++, 2);
298
+ var r = $e(ae++, 2);
300
299
  if (r.t = e, !r.__c && (r.__ = [n ? n(t) : fr(void 0, t), function(l) {
301
300
  var s = r.__N ? r.__N[0] : r.__[0], u = r.t(s, l);
302
301
  s !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
@@ -330,20 +329,20 @@ function Ke(e, t, n) {
330
329
  return r.__N || r.__;
331
330
  }
332
331
  function N(e, t) {
333
- var n = Ee(ae++, 3);
332
+ var n = $e(ae++, 3);
334
333
  !O.__s && an(n.__H, t) && (n.__ = e, n.i = t, P.__H.__h.push(n));
335
334
  }
336
- function $e(e, t) {
337
- var n = Ee(ae++, 4);
335
+ function Ce(e, t) {
336
+ var n = $e(ae++, 4);
338
337
  !O.__s && an(n.__H, t) && (n.__ = e, n.i = t, P.__h.push(n));
339
338
  }
340
339
  function w(e) {
341
- return Me = 5, x(function() {
340
+ return Le = 5, x(function() {
342
341
  return { current: e };
343
342
  }, []);
344
343
  }
345
344
  function rn(e, t, n) {
346
- Me = 6, $e(function() {
345
+ Le = 6, Ce(function() {
347
346
  return typeof e == "function" ? (e(t()), function() {
348
347
  return e(null);
349
348
  }) : e ? (e.current = t(), function() {
@@ -352,23 +351,23 @@ function rn(e, t, n) {
352
351
  }, n == null ? n : n.concat(e));
353
352
  }
354
353
  function x(e, t) {
355
- var n = Ee(ae++, 7);
354
+ var n = $e(ae++, 7);
356
355
  return an(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
357
356
  }
358
357
  function I(e, t) {
359
- return Me = 8, x(function() {
358
+ return Le = 8, x(function() {
360
359
  return e;
361
360
  }, t);
362
361
  }
363
362
  function W(e) {
364
- var t = P.context[e.__c], n = Ee(ae++, 9);
363
+ var t = P.context[e.__c], n = $e(ae++, 9);
365
364
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(P)), t.props.value) : e.__;
366
365
  }
367
366
  function on(e, t) {
368
367
  O.useDebugValue && O.useDebugValue(t ? t(e) : e);
369
368
  }
370
- function Fo(e) {
371
- var t = Ee(ae++, 10), n = k();
369
+ function ko(e) {
370
+ var t = $e(ae++, 10), n = k();
372
371
  return t.__ = e, P.componentDidCatch || (P.componentDidCatch = function(r, o) {
373
372
  t.__ && t.__(r, o), n[1](r);
374
373
  }), [n[0], function() {
@@ -376,7 +375,7 @@ function Fo(e) {
376
375
  }];
377
376
  }
378
377
  function fe() {
379
- var e = Ee(ae++, 11);
378
+ var e = $e(ae++, 11);
380
379
  if (!e.__) {
381
380
  for (var t = P.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
382
381
  var n = t.__m || (t.__m = [0, 0]);
@@ -384,7 +383,7 @@ function fe() {
384
383
  }
385
384
  return e.__;
386
385
  }
387
- function xo() {
386
+ function Fo() {
388
387
  for (var e; e = dr.shift(); ) if (e.__P && e.__H) try {
389
388
  e.__H.__h.forEach(it), e.__H.__h.forEach(Vt), e.__H.__h = [];
390
389
  } catch (t) {
@@ -404,7 +403,7 @@ O.__b = function(e) {
404
403
  }, O.diffed = function(e) {
405
404
  Sn && Sn(e);
406
405
  var t = e.__c;
407
- t && t.__H && (t.__H.__h.length && (dr.push(t) !== 1 && kn === O.requestAnimationFrame || ((kn = O.requestAnimationFrame) || So)(xo)), t.__H.__.forEach(function(n) {
406
+ t && t.__H && (t.__H.__h.length && (dr.push(t) !== 1 && kn === O.requestAnimationFrame || ((kn = O.requestAnimationFrame) || xo)(Fo)), t.__H.__.forEach(function(n) {
408
407
  n.i && (n.__H = n.i), n.i = void 0;
409
408
  })), Ft = P = null;
410
409
  }, O.__c = function(e, t) {
@@ -431,7 +430,7 @@ O.__b = function(e) {
431
430
  }), n.__H = void 0, t && O.__e(t, n.__v));
432
431
  };
433
432
  var Nn = typeof requestAnimationFrame == "function";
434
- function So(e) {
433
+ function xo(e) {
435
434
  var t, n = function() {
436
435
  clearTimeout(r), Nn && cancelAnimationFrame(t), setTimeout(e);
437
436
  }, r = setTimeout(n, 100);
@@ -482,13 +481,13 @@ var Dn = T.__b;
482
481
  T.__b = function(e) {
483
482
  e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Dn && Dn(e);
484
483
  };
485
- var Po = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
484
+ var So = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
486
485
  function ln(e) {
487
486
  function t(n) {
488
487
  var r = pr({}, n);
489
488
  return delete r.ref, e(r, n.ref || null);
490
489
  }
491
- return t.$$typeof = Po, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
490
+ return t.$$typeof = So, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
492
491
  }
493
492
  var Hn = function(e, t) {
494
493
  return e == null ? null : re(re(e).map(t));
@@ -498,12 +497,12 @@ var Hn = function(e, t) {
498
497
  var t = re(e);
499
498
  if (t.length !== 1) throw "Children.only";
500
499
  return t[0];
501
- }, toArray: re }, Mo = T.__e;
500
+ }, toArray: re }, Po = T.__e;
502
501
  T.__e = function(e, t, n, r) {
503
502
  if (e.then) {
504
503
  for (var o, i = t; i = i.__; ) if ((o = i.__c) && o.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), o.__c(e, t);
505
504
  }
506
- Mo(e, t, n, r);
505
+ Po(e, t, n, r);
507
506
  };
508
507
  var An = T.unmount;
509
508
  function hr(e, t, n) {
@@ -538,7 +537,7 @@ function gr(e) {
538
537
  }
539
538
  return o.displayName = "Lazy", o.__f = !0, o;
540
539
  }
541
- function Se() {
540
+ function Pe() {
542
541
  this.u = null, this.o = null;
543
542
  }
544
543
  T.unmount = function(e) {
@@ -582,15 +581,15 @@ var On = function(e, t, n) {
582
581
  e.u = n = n[2];
583
582
  }
584
583
  };
585
- function Lo(e) {
584
+ function Mo(e) {
586
585
  return this.getChildContext = function() {
587
586
  return e.context;
588
587
  }, e.children;
589
588
  }
590
- function No(e) {
589
+ function Lo(e) {
591
590
  var t = this, n = e.i;
592
591
  t.componentWillUnmount = function() {
593
- Pe(null, t.l), t.l = null, t.i = null;
592
+ Me(null, t.l), t.l = null, t.i = null;
594
593
  }, t.i && t.i !== n && t.componentWillUnmount(), t.l || (t.i = n, t.l = { nodeType: 1, parentNode: n, childNodes: [], contains: function() {
595
594
  return !0;
596
595
  }, appendChild: function(r) {
@@ -599,13 +598,13 @@ function No(e) {
599
598
  this.childNodes.push(r), t.i.appendChild(r);
600
599
  }, removeChild: function(r) {
601
600
  this.childNodes.splice(this.childNodes.indexOf(r) >>> 1, 1), t.i.removeChild(r);
602
- } }), Pe(X(Lo, { context: t.context }, e.__v), t.l);
601
+ } }), Me(X(Mo, { context: t.context }, e.__v), t.l);
603
602
  }
604
603
  function vt(e, t) {
605
- var n = X(No, { __v: e, i: t });
604
+ var n = X(Lo, { __v: e, i: t });
606
605
  return n.containerInfo = t, n;
607
606
  }
608
- (Se.prototype = new Z()).__a = function(e) {
607
+ (Pe.prototype = new Z()).__a = function(e) {
609
608
  var t = this, n = yr(t.__v), r = t.o.get(e);
610
609
  return r[0]++, function(o) {
611
610
  var i = function() {
@@ -613,23 +612,23 @@ function vt(e, t) {
613
612
  };
614
613
  n ? n(i) : i();
615
614
  };
616
- }, Se.prototype.render = function(e) {
615
+ }, Pe.prototype.render = function(e) {
617
616
  this.u = null, this.o = /* @__PURE__ */ new Map();
618
617
  var t = re(e.children);
619
618
  e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
620
619
  for (var n = t.length; n--; ) this.o.set(t[n], this.u = [1, 0, this.u]);
621
620
  return e.children;
622
- }, Se.prototype.componentDidUpdate = Se.prototype.componentDidMount = function() {
621
+ }, Pe.prototype.componentDidUpdate = Pe.prototype.componentDidMount = function() {
623
622
  var e = this;
624
623
  this.o.forEach(function(t, n) {
625
624
  On(e, n, t);
626
625
  });
627
626
  };
628
- var wr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Do = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Ho = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Ao = /[A-Z0-9]/g, Oo = typeof document < "u", Io = function(e) {
627
+ var wr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, No = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Do = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Ho = /[A-Z0-9]/g, Ao = typeof document < "u", Oo = function(e) {
629
628
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
630
629
  };
631
630
  function br(e, t, n) {
632
- return t.__k == null && (t.textContent = ""), Pe(e, t), typeof n == "function" && n(), e ? e.__c : null;
631
+ return t.__k == null && (t.textContent = ""), Me(e, t), typeof n == "function" && n(), e ? e.__c : null;
633
632
  }
634
633
  function Er(e, t, n) {
635
634
  return ur(e, t), typeof n == "function" && n(), e ? e.__c : null;
@@ -642,18 +641,18 @@ Z.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
642
641
  } });
643
642
  });
644
643
  var In = T.event;
645
- function Ro() {
644
+ function Io() {
646
645
  }
647
- function Vo() {
646
+ function Ro() {
648
647
  return this.cancelBubble;
649
648
  }
650
- function Uo() {
649
+ function Vo() {
651
650
  return this.defaultPrevented;
652
651
  }
653
652
  T.event = function(e) {
654
- return In && (e = In(e)), e.persist = Ro, e.isPropagationStopped = Vo, e.isDefaultPrevented = Uo, e.nativeEvent = e;
653
+ return In && (e = In(e)), e.persist = Io, e.isPropagationStopped = Ro, e.isDefaultPrevented = Vo, e.nativeEvent = e;
655
654
  };
656
- var sn, Wo = { enumerable: !1, configurable: !0, get: function() {
655
+ var sn, Uo = { enumerable: !1, configurable: !0, get: function() {
657
656
  return this.class;
658
657
  } }, Rn = T.vnode;
659
658
  T.vnode = function(e) {
@@ -661,16 +660,16 @@ T.vnode = function(e) {
661
660
  var n = t.props, r = t.type, o = {};
662
661
  for (var i in n) {
663
662
  var a = n[i];
664
- if (!(i === "value" && "defaultValue" in n && a == null || Oo && i === "children" && r === "noscript" || i === "class" || i === "className")) {
663
+ if (!(i === "value" && "defaultValue" in n && a == null || Ao && i === "children" && r === "noscript" || i === "class" || i === "className")) {
665
664
  var l = i.toLowerCase();
666
- i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && a === !0 ? a = "" : l === "translate" && a === "no" ? a = !1 : l === "ondoubleclick" ? i = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || Io(n.type) ? l === "onfocus" ? i = "onfocusin" : l === "onblur" ? i = "onfocusout" : Ho.test(i) ? i = l : r.indexOf("-") === -1 && Do.test(i) ? i = i.replace(Ao, "-$&").toLowerCase() : a === null && (a = void 0) : l = i = "oninput", l === "oninput" && o[i = l] && (i = "oninputCapture"), o[i] = a;
665
+ i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && a === !0 ? a = "" : l === "translate" && a === "no" ? a = !1 : l === "ondoubleclick" ? i = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || Oo(n.type) ? l === "onfocus" ? i = "onfocusin" : l === "onblur" ? i = "onfocusout" : Do.test(i) ? i = l : r.indexOf("-") === -1 && No.test(i) ? i = i.replace(Ho, "-$&").toLowerCase() : a === null && (a = void 0) : l = i = "oninput", l === "oninput" && o[i = l] && (i = "oninputCapture"), o[i] = a;
667
666
  }
668
667
  }
669
668
  r == "select" && o.multiple && Array.isArray(o.value) && (o.value = re(n.children).forEach(function(s) {
670
669
  s.props.selected = o.value.indexOf(s.props.value) != -1;
671
670
  })), r == "select" && o.defaultValue != null && (o.value = re(n.children).forEach(function(s) {
672
671
  s.props.selected = o.multiple ? o.defaultValue.indexOf(s.props.value) != -1 : o.defaultValue == s.props.value;
673
- })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", Wo)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
672
+ })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", Uo)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
674
673
  }(e), e.$$typeof = wr, Rn && Rn(e);
675
674
  };
676
675
  var Vn = T.__r;
@@ -685,7 +684,7 @@ T.diffed = function(e) {
685
684
  };
686
685
  var $r = { ReactCurrentDispatcher: { current: { readContext: function(e) {
687
686
  return sn.__n[e.__c].props.value;
688
- }, useCallback: I, useContext: W, useDebugValue: on, useDeferredValue: dn, useEffect: N, useId: fe, useImperativeHandle: rn, useInsertionEffect: pn, useLayoutEffect: $e, useMemo: x, useReducer: Ke, useRef: w, useState: k, useSyncExternalStore: _t, useTransition: fn } } }, jo = "17.0.2";
687
+ }, useCallback: I, useContext: W, useDebugValue: on, useDeferredValue: dn, useEffect: N, useId: fe, useImperativeHandle: rn, useInsertionEffect: pn, useLayoutEffect: Ce, useMemo: x, useReducer: Ke, useRef: w, useState: k, useSyncExternalStore: _t, useTransition: fn } } }, Wo = "17.0.2";
689
688
  function Cr(e) {
690
689
  return X.bind(null, e);
691
690
  }
@@ -699,10 +698,10 @@ function kr(e) {
699
698
  return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
700
699
  }
701
700
  function cn(e) {
702
- return De(e) ? To.apply(null, arguments) : e;
701
+ return De(e) ? Co.apply(null, arguments) : e;
703
702
  }
704
703
  function Fr(e) {
705
- return !!e.__k && (Pe(null, e), !0);
704
+ return !!e.__k && (Me(null, e), !0);
706
705
  }
707
706
  function xr(e) {
708
707
  return e && (e.base || e.nodeType === 1 && e) || null;
@@ -721,10 +720,10 @@ function dn(e) {
721
720
  function fn() {
722
721
  return [!1, un];
723
722
  }
724
- var pn = $e, Lr = De;
723
+ var pn = Ce, Lr = De;
725
724
  function _t(e, t) {
726
725
  var n = t(), r = k({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
727
- return $e(function() {
726
+ return Ce(function() {
728
727
  o.__ = n, o.v = t, xt(o) && i({ h: o });
729
728
  }, [e, n, t]), N(function() {
730
729
  return xt(o) && i({ h: o }), e(function() {
@@ -741,7 +740,7 @@ function xt(e) {
741
740
  return !0;
742
741
  }
743
742
  }
744
- var $ = { useState: k, useId: fe, useReducer: Ke, useEffect: N, useLayoutEffect: $e, useInsertionEffect: pn, useTransition: fn, useDeferredValue: dn, useSyncExternalStore: _t, startTransition: un, useRef: w, useImperativeHandle: rn, useMemo: x, useCallback: I, useContext: W, useDebugValue: on, version: "17.0.2", Children: _r, render: br, hydrate: Er, unmountComponentAtNode: Fr, createPortal: vt, createElement: X, createContext: q, createFactory: Cr, cloneElement: cn, createRef: en, Fragment: H, isValidElement: De, isElement: Lr, isFragment: Tr, isMemo: kr, findDOMNode: xr, Component: Z, PureComponent: lt, memo: vr, forwardRef: ln, flushSync: Pr, unstable_batchedUpdates: Sr, StrictMode: Mr, Suspense: We, SuspenseList: Se, lazy: gr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: $r };
743
+ var $ = { useState: k, useId: fe, useReducer: Ke, useEffect: N, useLayoutEffect: Ce, useInsertionEffect: pn, useTransition: fn, useDeferredValue: dn, useSyncExternalStore: _t, startTransition: un, useRef: w, useImperativeHandle: rn, useMemo: x, useCallback: I, useContext: W, useDebugValue: on, version: "17.0.2", Children: _r, render: br, hydrate: Er, unmountComponentAtNode: Fr, createPortal: vt, createElement: X, createContext: q, createFactory: Cr, cloneElement: cn, createRef: en, Fragment: H, isValidElement: De, isElement: Lr, isFragment: Tr, isMemo: kr, findDOMNode: xr, Component: Z, PureComponent: lt, memo: vr, forwardRef: ln, flushSync: Pr, unstable_batchedUpdates: Sr, StrictMode: Mr, Suspense: We, SuspenseList: Pe, lazy: gr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: $r };
745
744
  const Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
746
745
  __proto__: null,
747
746
  Children: _r,
@@ -750,7 +749,7 @@ const Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
750
749
  PureComponent: lt,
751
750
  StrictMode: Mr,
752
751
  Suspense: We,
753
- SuspenseList: Se,
752
+ SuspenseList: Pe,
754
753
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: $r,
755
754
  cloneElement: cn,
756
755
  createContext: q,
@@ -778,21 +777,21 @@ const Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
778
777
  useDebugValue: on,
779
778
  useDeferredValue: dn,
780
779
  useEffect: N,
781
- useErrorBoundary: Fo,
780
+ useErrorBoundary: ko,
782
781
  useId: fe,
783
782
  useImperativeHandle: rn,
784
783
  useInsertionEffect: pn,
785
- useLayoutEffect: $e,
784
+ useLayoutEffect: Ce,
786
785
  useMemo: x,
787
786
  useReducer: Ke,
788
787
  useRef: w,
789
788
  useState: k,
790
789
  useSyncExternalStore: _t,
791
790
  useTransition: fn,
792
- version: jo
791
+ version: Wo
793
792
  }, Symbol.toStringTag, { value: "Module" })), Nr = typeof document < "u" ? $.useLayoutEffect : () => {
794
793
  };
795
- function zo(e) {
794
+ function jo(e) {
796
795
  const t = w(null);
797
796
  return Nr(() => {
798
797
  t.current = e;
@@ -807,24 +806,24 @@ const Ge = (e) => {
807
806
  var t;
808
807
  return (t = e == null ? void 0 : e.ownerDocument) !== null && t !== void 0 ? t : document;
809
808
  }, me = (e) => e && "window" in e && e.window === e ? e : Ge(e).defaultView || window;
810
- function Bo(e) {
809
+ function zo(e) {
811
810
  var t;
812
811
  return typeof window > "u" || window.navigator == null ? !1 : ((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.brands.some((n) => e.test(n.brand))) || e.test(window.navigator.userAgent);
813
812
  }
814
- function qo(e) {
813
+ function Bo(e) {
815
814
  var t;
816
815
  return typeof window < "u" && window.navigator != null ? e.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
817
816
  }
818
- function Yo() {
819
- return qo(/^Mac/i);
817
+ function qo() {
818
+ return Bo(/^Mac/i);
820
819
  }
821
- function Ko() {
822
- return Bo(/Android/i);
820
+ function Yo() {
821
+ return zo(/Android/i);
823
822
  }
824
- function Go(e) {
825
- return e.mozInputSource === 0 && e.isTrusted ? !0 : Ko() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
823
+ function Ko(e) {
824
+ return e.mozInputSource === 0 && e.isTrusted ? !0 : Yo() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
826
825
  }
827
- class Zo {
826
+ class Go {
828
827
  isDefaultPrevented() {
829
828
  return this.nativeEvent.defaultPrevented;
830
829
  }
@@ -854,14 +853,14 @@ function Dr(e) {
854
853
  r.observer && (r.observer.disconnect(), r.observer = null);
855
854
  };
856
855
  }, []);
857
- let n = zo((r) => {
856
+ let n = jo((r) => {
858
857
  e == null || e(r);
859
858
  });
860
859
  return I((r) => {
861
860
  if (r.target instanceof HTMLButtonElement || r.target instanceof HTMLInputElement || r.target instanceof HTMLTextAreaElement || r.target instanceof HTMLSelectElement) {
862
861
  t.current.isFocused = !0;
863
862
  let o = r.target, i = (a) => {
864
- t.current.isFocused = !1, o.disabled && n(new Zo("blur", a)), t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
863
+ t.current.isFocused = !1, o.disabled && n(new Go("blur", a)), t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
865
864
  };
866
865
  o.addEventListener("focusout", i, {
867
866
  once: !0
@@ -888,7 +887,7 @@ function Dr(e) {
888
887
  n
889
888
  ]);
890
889
  }
891
- function Xo(e) {
890
+ function Zo(e) {
892
891
  let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: o } = e;
893
892
  const i = I((s) => {
894
893
  if (s.target === s.currentTarget)
@@ -911,38 +910,38 @@ function Xo(e) {
911
910
  }
912
911
  };
913
912
  }
914
- let Ze = null, Wt = /* @__PURE__ */ new Set(), je = /* @__PURE__ */ new Map(), be = !1, jt = !1;
915
- const Qo = {
913
+ let Ze = null, Wt = /* @__PURE__ */ new Set(), je = /* @__PURE__ */ new Map(), Ee = !1, jt = !1;
914
+ const Xo = {
916
915
  Tab: !0,
917
916
  Escape: !0
918
917
  };
919
918
  function vn(e, t) {
920
919
  for (let n of Wt) n(e, t);
921
920
  }
922
- function Jo(e) {
923
- return !(e.metaKey || !Yo() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
921
+ function Qo(e) {
922
+ return !(e.metaKey || !qo() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
924
923
  }
925
924
  function st(e) {
926
- be = !0, Jo(e) && (Ze = "keyboard", vn("keyboard", e));
925
+ Ee = !0, Qo(e) && (Ze = "keyboard", vn("keyboard", e));
927
926
  }
928
927
  function K(e) {
929
- Ze = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (be = !0, vn("pointer", e));
928
+ Ze = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Ee = !0, vn("pointer", e));
930
929
  }
931
930
  function Hr(e) {
932
- Go(e) && (be = !0, Ze = "virtual");
931
+ Ko(e) && (Ee = !0, Ze = "virtual");
933
932
  }
934
933
  function Ar(e) {
935
- e.target === window || e.target === document || (!be && !jt && (Ze = "virtual", vn("virtual", e)), be = !1, jt = !1);
934
+ e.target === window || e.target === document || (!Ee && !jt && (Ze = "virtual", vn("virtual", e)), Ee = !1, jt = !1);
936
935
  }
937
936
  function Or() {
938
- be = !1, jt = !0;
937
+ Ee = !1, jt = !0;
939
938
  }
940
939
  function zt(e) {
941
940
  if (typeof window > "u" || je.get(me(e))) return;
942
941
  const t = me(e), n = Ge(e);
943
942
  let r = t.HTMLElement.prototype.focus;
944
943
  t.HTMLElement.prototype.focus = function() {
945
- be = !0, r.apply(this, arguments);
944
+ Ee = !0, r.apply(this, arguments);
946
945
  }, n.addEventListener("keydown", st, !0), n.addEventListener("keyup", st, !0), n.addEventListener("click", Hr, !0), t.addEventListener("focus", Ar, !0), t.addEventListener("blur", Or, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", K, !0), n.addEventListener("pointermove", K, !0), n.addEventListener("pointerup", K, !0)) : (n.addEventListener("mousedown", K, !0), n.addEventListener("mousemove", K, !0), n.addEventListener("mouseup", K, !0)), t.addEventListener("beforeunload", () => {
947
946
  Ir(e);
948
947
  }, {
@@ -955,18 +954,18 @@ const Ir = (e, t) => {
955
954
  const n = me(e), r = Ge(e);
956
955
  t && r.removeEventListener("DOMContentLoaded", t), je.has(n) && (n.HTMLElement.prototype.focus = je.get(n).focus, r.removeEventListener("keydown", st, !0), r.removeEventListener("keyup", st, !0), r.removeEventListener("click", Hr, !0), n.removeEventListener("focus", Ar, !0), n.removeEventListener("blur", Or, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", K, !0), r.removeEventListener("pointermove", K, !0), r.removeEventListener("pointerup", K, !0)) : (r.removeEventListener("mousedown", K, !0), r.removeEventListener("mousemove", K, !0), r.removeEventListener("mouseup", K, !0)), je.delete(n));
957
956
  };
958
- function ei(e) {
957
+ function Jo(e) {
959
958
  const t = Ge(e);
960
959
  let n;
961
960
  return t.readyState !== "loading" ? zt(e) : (n = () => {
962
961
  zt(e);
963
962
  }, t.addEventListener("DOMContentLoaded", n)), () => Ir(e, n);
964
963
  }
965
- typeof document < "u" && ei();
964
+ typeof document < "u" && Jo();
966
965
  function Rr() {
967
966
  return Ze !== "pointer";
968
967
  }
969
- const ti = /* @__PURE__ */ new Set([
968
+ const ei = /* @__PURE__ */ new Set([
970
969
  "checkbox",
971
970
  "radio",
972
971
  "range",
@@ -977,22 +976,22 @@ const ti = /* @__PURE__ */ new Set([
977
976
  "submit",
978
977
  "reset"
979
978
  ]);
980
- function ni(e, t, n) {
979
+ function ti(e, t, n) {
981
980
  var r;
982
981
  const o = typeof window < "u" ? me(n == null ? void 0 : n.target).HTMLInputElement : HTMLInputElement, i = typeof window < "u" ? me(n == null ? void 0 : n.target).HTMLTextAreaElement : HTMLTextAreaElement, a = typeof window < "u" ? me(n == null ? void 0 : n.target).HTMLElement : HTMLElement, l = typeof window < "u" ? me(n == null ? void 0 : n.target).KeyboardEvent : KeyboardEvent;
983
- return e = e || (n == null ? void 0 : n.target) instanceof o && !ti.has(n == null || (r = n.target) === null || r === void 0 ? void 0 : r.type) || (n == null ? void 0 : n.target) instanceof i || (n == null ? void 0 : n.target) instanceof a && (n == null ? void 0 : n.target.isContentEditable), !(e && t === "keyboard" && n instanceof l && !Qo[n.key]);
982
+ return e = e || (n == null ? void 0 : n.target) instanceof o && !ei.has(n == null || (r = n.target) === null || r === void 0 ? void 0 : r.type) || (n == null ? void 0 : n.target) instanceof i || (n == null ? void 0 : n.target) instanceof a && (n == null ? void 0 : n.target.isContentEditable), !(e && t === "keyboard" && n instanceof l && !Xo[n.key]);
984
983
  }
985
- function ri(e, t, n) {
984
+ function ni(e, t, n) {
986
985
  zt(), N(() => {
987
986
  let r = (o, i) => {
988
- ni(!!(n != null && n.isTextInput), o, i) && e(Rr());
987
+ ti(!!(n != null && n.isTextInput), o, i) && e(Rr());
989
988
  };
990
989
  return Wt.add(r), () => {
991
990
  Wt.delete(r);
992
991
  };
993
992
  }, t);
994
993
  }
995
- function oi(e) {
994
+ function ri(e) {
996
995
  let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: o } = e, i = w({
997
996
  isFocusWithin: !1
998
997
  }), a = I((u) => {
@@ -1030,20 +1029,20 @@ function Bt() {
1030
1029
  function jn(e) {
1031
1030
  e.pointerType === "touch" && Bt();
1032
1031
  }
1033
- function ii() {
1032
+ function oi() {
1034
1033
  if (!(typeof document > "u"))
1035
1034
  return typeof PointerEvent < "u" ? document.addEventListener("pointerup", jn) : document.addEventListener("touchend", Bt), St++, () => {
1036
1035
  St--, !(St > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", jn) : document.removeEventListener("touchend", Bt));
1037
1036
  };
1038
1037
  }
1039
- function ai(e) {
1038
+ function ii(e) {
1040
1039
  let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: o } = e, [i, a] = k(!1), l = w({
1041
1040
  isHovered: !1,
1042
1041
  ignoreEmulatedMouseEvents: !1,
1043
1042
  pointerType: "",
1044
1043
  target: null
1045
1044
  }).current;
1046
- N(ii, []);
1045
+ N(oi, []);
1047
1046
  let { hoverProps: s, triggerHoverEnd: u } = x(() => {
1048
1047
  let d = (f, h) => {
1049
1048
  if (l.pointerType = h, o || h === "touch" || l.isHovered || !f.currentTarget.contains(f.target)) return;
@@ -1096,7 +1095,7 @@ function ai(e) {
1096
1095
  isHovered: i
1097
1096
  };
1098
1097
  }
1099
- function li(e = {}) {
1098
+ function ai(e = {}) {
1100
1099
  let { autoFocus: t = !1, isTextInput: n, within: r } = e, o = w({
1101
1100
  isFocused: !1,
1102
1101
  isFocusVisible: t || Rr()
@@ -1105,15 +1104,15 @@ function li(e = {}) {
1105
1104
  }, [
1106
1105
  u
1107
1106
  ]);
1108
- ri((f) => {
1107
+ ni((f) => {
1109
1108
  o.current.isFocusVisible = f, u();
1110
1109
  }, [], {
1111
1110
  isTextInput: n
1112
1111
  });
1113
- let { focusProps: c } = Xo({
1112
+ let { focusProps: c } = Zo({
1114
1113
  isDisabled: r,
1115
1114
  onFocusChange: d
1116
- }), { focusWithinProps: p } = oi({
1115
+ }), { focusWithinProps: p } = ri({
1117
1116
  isDisabled: !r,
1118
1117
  onFocusWithinChange: d
1119
1118
  });
@@ -1123,8 +1122,8 @@ function li(e = {}) {
1123
1122
  focusProps: r ? p : c
1124
1123
  };
1125
1124
  }
1126
- var si = Object.defineProperty, ci = (e, t, n) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pt = (e, t, n) => (ci(e, typeof t != "symbol" ? t + "" : t, n), n);
1127
- let ui = class {
1125
+ var li = Object.defineProperty, si = (e, t, n) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pt = (e, t, n) => (si(e, typeof t != "symbol" ? t + "" : t, n), n);
1126
+ let ci = class {
1128
1127
  constructor() {
1129
1128
  Pt(this, "current", this.detect()), Pt(this, "handoffState", "pending"), Pt(this, "currentId", 0);
1130
1129
  }
@@ -1152,7 +1151,7 @@ let ui = class {
1152
1151
  get isHandoffComplete() {
1153
1152
  return this.handoffState === "complete";
1154
1153
  }
1155
- }, ge = new ui();
1154
+ }, ge = new ci();
1156
1155
  function ht(e) {
1157
1156
  return ge.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
1158
1157
  }
@@ -1202,26 +1201,26 @@ function yt() {
1202
1201
  return N(() => () => e.dispose(), [e]), e;
1203
1202
  }
1204
1203
  let j = (e, t) => {
1205
- ge.isServer ? N(e, t) : $e(e, t);
1204
+ ge.isServer ? N(e, t) : Ce(e, t);
1206
1205
  };
1207
- function Ce(e) {
1206
+ function Te(e) {
1208
1207
  let t = w(e);
1209
1208
  return j(() => {
1210
1209
  t.current = e;
1211
1210
  }, [e]), t;
1212
1211
  }
1213
1212
  let D = function(e) {
1214
- let t = Ce(e);
1213
+ let t = Te(e);
1215
1214
  return $.useCallback((...n) => t.current(...n), [t]);
1216
1215
  };
1217
- function di(e) {
1216
+ function ui(e) {
1218
1217
  let t = e.width / 2, n = e.height / 2;
1219
1218
  return { top: e.clientY - n, right: e.clientX + t, bottom: e.clientY + n, left: e.clientX - t };
1220
1219
  }
1221
- function fi(e, t) {
1220
+ function di(e, t) {
1222
1221
  return !(!e || !t || e.right < t.left || e.left > t.right || e.bottom < t.top || e.top > t.bottom);
1223
1222
  }
1224
- function pi({ disabled: e = !1 } = {}) {
1223
+ function fi({ disabled: e = !1 } = {}) {
1225
1224
  let t = w(null), [n, r] = k(!1), o = yt(), i = D(() => {
1226
1225
  t.current = null, r(!1), o.dispose();
1227
1226
  }), a = D((l) => {
@@ -1231,8 +1230,8 @@ function pi({ disabled: e = !1 } = {}) {
1231
1230
  let s = ht(l.currentTarget);
1232
1231
  o.addEventListener(s, "pointerup", i, !1), o.addEventListener(s, "pointermove", (u) => {
1233
1232
  if (t.current) {
1234
- let d = di(u);
1235
- r(fi(d, t.current.getBoundingClientRect()));
1233
+ let d = ui(u);
1234
+ r(di(d, t.current.getBoundingClientRect()));
1236
1235
  }
1237
1236
  }, !1), o.addEventListener(s, "pointercancel", i, !1);
1238
1237
  }
@@ -1240,9 +1239,9 @@ function pi({ disabled: e = !1 } = {}) {
1240
1239
  });
1241
1240
  return { pressed: n, pressProps: e ? {} : { onPointerDown: a, onPointerUp: i, onClick: i } };
1242
1241
  }
1243
- let vi = q(void 0);
1242
+ let pi = q(void 0);
1244
1243
  function Vr() {
1245
- return W(vi);
1244
+ return W(pi);
1246
1245
  }
1247
1246
  function qt(...e) {
1248
1247
  return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
@@ -1257,7 +1256,7 @@ function de(e, t, ...n) {
1257
1256
  }
1258
1257
  var ut = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(ut || {}), ue = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(ue || {});
1259
1258
  function Y({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, visible: i = !0, name: a, mergeRefs: l }) {
1260
- l = l ?? _i;
1259
+ l = l ?? vi;
1261
1260
  let s = Ur(t, e);
1262
1261
  if (i) return rt(s, n, r, a, l);
1263
1262
  let u = o ?? 0;
@@ -1299,7 +1298,7 @@ function rt(e, t = {}, n, r, o) {
1299
1298
  }
1300
1299
  return X(i, Object.assign({}, Mt(s, ["ref"]), i !== H && u, i !== H && c), d);
1301
1300
  }
1302
- function _i(...e) {
1301
+ function vi(...e) {
1303
1302
  return e.every((t) => t == null) ? void 0 : (t) => {
1304
1303
  for (let n of e) n != null && (typeof n == "function" ? n(t) : n.current = t);
1305
1304
  };
@@ -1322,7 +1321,7 @@ function Ur(...e) {
1322
1321
  } });
1323
1322
  return t;
1324
1323
  }
1325
- function hi(...e) {
1324
+ function _i(...e) {
1326
1325
  if (e.length === 0) return {};
1327
1326
  if (e.length === 1) return e[0];
1328
1327
  let t = {}, n = {};
@@ -1347,28 +1346,28 @@ function Mt(e, t = []) {
1347
1346
  for (let r of t) r in n && delete n[r];
1348
1347
  return n;
1349
1348
  }
1350
- let mi = "button";
1351
- function yi(e, t) {
1349
+ let hi = "button";
1350
+ function mi(e, t) {
1352
1351
  var n;
1353
- let r = Vr(), { disabled: o = r || !1, autoFocus: i = !1, ...a } = e, { isFocusVisible: l, focusProps: s } = li({ autoFocus: i }), { isHovered: u, hoverProps: d } = ai({ isDisabled: o }), { pressed: c, pressProps: p } = pi({ disabled: o }), f = hi({ ref: t, type: (n = a.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, s, d, p), h = x(() => ({ disabled: o, hover: u, focus: l, active: c, autofocus: i }), [o, u, l, c, i]);
1354
- return Y({ ourProps: f, theirProps: a, slot: h, defaultTag: mi, name: "Button" });
1352
+ let r = Vr(), { disabled: o = r || !1, autoFocus: i = !1, ...a } = e, { isFocusVisible: l, focusProps: s } = ai({ autoFocus: i }), { isHovered: u, hoverProps: d } = ii({ isDisabled: o }), { pressed: c, pressProps: p } = fi({ disabled: o }), f = _i({ ref: t, type: (n = a.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, s, d, p), h = x(() => ({ disabled: o, hover: u, focus: l, active: c, autofocus: i }), [o, u, l, c, i]);
1353
+ return Y({ ourProps: f, theirProps: a, slot: h, defaultTag: hi, name: "Button" });
1355
1354
  }
1356
- let gi = z(yi), wi = "div";
1355
+ let yi = z(mi), gi = "div";
1357
1356
  var dt = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(dt || {});
1358
- function bi(e, t) {
1357
+ function wi(e, t) {
1359
1358
  var n;
1360
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" } } };
1361
- return Y({ ourProps: i, theirProps: o, slot: {}, defaultTag: wi, name: "Hidden" });
1360
+ return Y({ ourProps: i, theirProps: o, slot: {}, defaultTag: gi, name: "Hidden" });
1362
1361
  }
1363
- let Yt = z(bi), Ei = q(null);
1364
- function $i({ children: e }) {
1365
- let t = W(Ei);
1362
+ let Yt = z(wi), bi = q(null);
1363
+ function Ei({ children: e }) {
1364
+ let t = W(bi);
1366
1365
  if (!t) return $.createElement($.Fragment, null, e);
1367
1366
  let { target: n } = t;
1368
1367
  return n ? vt($.createElement($.Fragment, null, e), n) : null;
1369
1368
  }
1370
1369
  let Wr = Symbol();
1371
- function Ci(e, t = !0) {
1370
+ function $i(e, t = !0) {
1372
1371
  return Object.assign(e, { [Wr]: t });
1373
1372
  }
1374
1373
  function J(...e) {
@@ -1391,7 +1390,7 @@ function jr() {
1391
1390
  }
1392
1391
  return e;
1393
1392
  }
1394
- function Ti() {
1393
+ function Ci() {
1395
1394
  let [e, t] = k([]);
1396
1395
  return [e.length > 0 ? e.join(" ") : void 0, x(() => function(n) {
1397
1396
  let r = D((i) => (t((a) => [...a, i]), () => t((a) => {
@@ -1401,21 +1400,21 @@ function Ti() {
1401
1400
  return $.createElement(_n.Provider, { value: o }, n.children);
1402
1401
  }, [t])];
1403
1402
  }
1404
- let ki = "p";
1405
- function Fi(e, t) {
1403
+ let Ti = "p";
1404
+ function ki(e, t) {
1406
1405
  let n = fe(), r = Vr(), { id: o = `headlessui-description-${n}`, ...i } = e, a = jr(), l = J(t);
1407
1406
  j(() => a.register(o), [o, a.register]);
1408
1407
  let s = r || !1, u = x(() => ({ ...a.slot, disabled: s }), [a.slot, s]), d = { ref: l, ...a.props, id: o };
1409
- return Y({ ourProps: d, theirProps: i, slot: u, defaultTag: ki, name: a.name || "Description" });
1408
+ return Y({ ourProps: d, theirProps: i, slot: u, defaultTag: Ti, name: a.name || "Description" });
1410
1409
  }
1411
- let xi = z(Fi), Si = Object.assign(xi, {});
1410
+ let Fi = z(ki), xi = Object.assign(Fi, {});
1412
1411
  var zr = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(zr || {});
1413
- let Pi = q(() => {
1412
+ let Si = q(() => {
1414
1413
  });
1415
- function Mi({ value: e, children: t }) {
1416
- return $.createElement(Pi.Provider, { value: e }, t);
1414
+ function Pi({ value: e, children: t }) {
1415
+ return $.createElement(Si.Provider, { value: e }, t);
1417
1416
  }
1418
- let Li = class extends Map {
1417
+ let Mi = class extends Map {
1419
1418
  constructor(t) {
1420
1419
  super(), this.factory = t;
1421
1420
  }
@@ -1438,7 +1437,7 @@ function Br(e, t) {
1438
1437
  function qr(e) {
1439
1438
  return _t(e.subscribe, e.getSnapshot, e.getSnapshot);
1440
1439
  }
1441
- let Ni = new Li(() => Br(() => [], { ADD(e) {
1440
+ let Li = new Mi(() => Br(() => [], { ADD(e) {
1442
1441
  return this.includes(e) ? this : [...this, e];
1443
1442
  }, REMOVE(e) {
1444
1443
  let t = this.indexOf(e);
@@ -1447,7 +1446,7 @@ let Ni = new Li(() => Br(() => [], { ADD(e) {
1447
1446
  return n.splice(t, 1), n;
1448
1447
  } }));
1449
1448
  function He(e, t) {
1450
- let n = Ni.get(t), r = fe(), o = qr(n);
1449
+ let n = Li.get(t), r = fe(), o = qr(n);
1451
1450
  if (j(() => {
1452
1451
  if (e) return n.dispatch("ADD", r), () => n.dispatch("REMOVE", r);
1453
1452
  }, [n, e]), !e) return !1;
@@ -1467,7 +1466,7 @@ function Bn(e) {
1467
1466
  let r = Kt.get(e);
1468
1467
  r && (r["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", r["aria-hidden"]), e.inert = r.inert, Kt.delete(e));
1469
1468
  }
1470
- function Di(e, { allowed: t, disallowed: n } = {}) {
1469
+ function Ni(e, { allowed: t, disallowed: n } = {}) {
1471
1470
  let r = He(e, "inert-others");
1472
1471
  j(() => {
1473
1472
  var o, i;
@@ -1489,7 +1488,7 @@ function Di(e, { allowed: t, disallowed: n } = {}) {
1489
1488
  }, [r, t, n]);
1490
1489
  }
1491
1490
  function Yr(e, t, n) {
1492
- let r = Ce((o) => {
1491
+ let r = Te((o) => {
1493
1492
  let i = o.getBoundingClientRect();
1494
1493
  i.x === 0 && i.y === 0 && i.width === 0 && i.height === 0 && n();
1495
1494
  });
@@ -1509,16 +1508,16 @@ function Yr(e, t, n) {
1509
1508
  return () => i.dispose();
1510
1509
  }, [t, r, e]);
1511
1510
  }
1512
- let Gt = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), Hi = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
1513
- var te = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(te || {}), Zt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Zt || {}), Ai = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Ai || {});
1514
- function Oi(e = document.body) {
1511
+ let Gt = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), Di = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
1512
+ var te = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(te || {}), Zt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Zt || {}), Hi = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Hi || {});
1513
+ function Ai(e = document.body) {
1515
1514
  return e == null ? [] : Array.from(e.querySelectorAll(Gt)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1516
1515
  }
1517
- function Ii(e = document.body) {
1518
- return e == null ? [] : Array.from(e.querySelectorAll(Hi)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1516
+ function Oi(e = document.body) {
1517
+ return e == null ? [] : Array.from(e.querySelectorAll(Di)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
1519
1518
  }
1520
1519
  var Kr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Kr || {});
1521
- function Ri(e, t = 0) {
1520
+ function Ii(e, t = 0) {
1522
1521
  var n;
1523
1522
  return e === ((n = ht(e)) == null ? void 0 : n.body) ? !1 : de(t, { 0() {
1524
1523
  return e.matches(Gt);
@@ -1531,7 +1530,7 @@ function Ri(e, t = 0) {
1531
1530
  return !1;
1532
1531
  } });
1533
1532
  }
1534
- var Vi = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(Vi || {});
1533
+ var Ri = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(Ri || {});
1535
1534
  typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (e) => {
1536
1535
  e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
1537
1536
  }, !0), document.addEventListener("click", (e) => {
@@ -1540,12 +1539,12 @@ typeof window < "u" && typeof document < "u" && (document.addEventListener("keyd
1540
1539
  function oe(e) {
1541
1540
  e == null || e.focus({ preventScroll: !0 });
1542
1541
  }
1543
- let Ui = ["textarea", "input"].join(",");
1544
- function Wi(e) {
1542
+ let Vi = ["textarea", "input"].join(",");
1543
+ function Ui(e) {
1545
1544
  var t, n;
1546
- return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, Ui)) != null ? n : !1;
1545
+ return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, Vi)) != null ? n : !1;
1547
1546
  }
1548
- function ji(e, t = (n) => n) {
1547
+ function Wi(e, t = (n) => n) {
1549
1548
  return e.slice().sort((n, r) => {
1550
1549
  let o = t(n), i = t(r);
1551
1550
  if (o === null || i === null) return 0;
@@ -1554,7 +1553,7 @@ function ji(e, t = (n) => n) {
1554
1553
  });
1555
1554
  }
1556
1555
  function Be(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
1557
- let i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ? ji(e) : e : t & 64 ? Ii(e) : Oi(e);
1556
+ let i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ? Wi(e) : e : t & 64 ? Oi(e) : Ai(e);
1558
1557
  o.length > 0 && a.length > 1 && (a = a.filter((f) => !o.some((h) => h != null && "current" in h ? (h == null ? void 0 : h.current) === f : h === f))), r = r ?? i.activeElement;
1559
1558
  let l = (() => {
1560
1559
  if (t & 5) return 1;
@@ -1577,19 +1576,19 @@ function Be(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] }
1577
1576
  }
1578
1577
  p = a[f], p == null || p.focus(u), d += l;
1579
1578
  } while (p !== i.activeElement);
1580
- return t & 6 && Wi(p) && p.select(), 2;
1579
+ return t & 6 && Ui(p) && p.select(), 2;
1581
1580
  }
1582
1581
  function Gr() {
1583
1582
  return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
1584
1583
  }
1585
- function zi() {
1584
+ function ji() {
1586
1585
  return /Android/gi.test(window.navigator.userAgent);
1587
1586
  }
1588
- function Bi() {
1589
- return Gr() || zi();
1587
+ function zi() {
1588
+ return Gr() || ji();
1590
1589
  }
1591
1590
  function Ie(e, t, n, r) {
1592
- let o = Ce(n);
1591
+ let o = Te(n);
1593
1592
  N(() => {
1594
1593
  if (!e) return;
1595
1594
  function i(a) {
@@ -1599,7 +1598,7 @@ function Ie(e, t, n, r) {
1599
1598
  }, [e, t, r]);
1600
1599
  }
1601
1600
  function Zr(e, t, n, r) {
1602
- let o = Ce(n);
1601
+ let o = Te(n);
1603
1602
  N(() => {
1604
1603
  if (!e) return;
1605
1604
  function i(a) {
@@ -1609,8 +1608,8 @@ function Zr(e, t, n, r) {
1609
1608
  }, [e, t, r]);
1610
1609
  }
1611
1610
  const qn = 30;
1612
- function qi(e, t, n) {
1613
- let r = He(e, "outside-click"), o = Ce(n), i = I(function(s, u) {
1611
+ function Bi(e, t, n) {
1612
+ let r = He(e, "outside-click"), o = Te(n), i = I(function(s, u) {
1614
1613
  if (s.defaultPrevented) return;
1615
1614
  let d = u(s);
1616
1615
  if (d === null || !d.getRootNode().contains(d) || !d.isConnected) return;
@@ -1622,7 +1621,7 @@ function qi(e, t, n) {
1622
1621
  let f = p instanceof HTMLElement ? p : p.current;
1623
1622
  if (f != null && f.contains(d) || s.composed && s.composedPath().includes(f)) return;
1624
1623
  }
1625
- return !Ri(d, Kr.Loose) && d.tabIndex !== -1 && s.preventDefault(), o.current(s, d);
1624
+ return !Ii(d, Kr.Loose) && d.tabIndex !== -1 && s.preventDefault(), o.current(s, d);
1626
1625
  }, [o]), a = w(null);
1627
1626
  Ie(r, "pointerdown", (s) => {
1628
1627
  var u, d;
@@ -1631,7 +1630,7 @@ function qi(e, t, n) {
1631
1630
  var u, d;
1632
1631
  a.current = ((d = (u = s.composedPath) == null ? void 0 : u.call(s)) == null ? void 0 : d[0]) || s.target;
1633
1632
  }, !0), Ie(r, "click", (s) => {
1634
- Bi() || a.current && (i(s, () => a.current), a.current = null);
1633
+ zi() || a.current && (i(s, () => a.current), a.current = null);
1635
1634
  }, !0);
1636
1635
  let l = w({ x: 0, y: 0 });
1637
1636
  Ie(r, "touchstart", (s) => {
@@ -1645,7 +1644,7 @@ function Xe(...e) {
1645
1644
  return x(() => ht(...e), [...e]);
1646
1645
  }
1647
1646
  function Xr(e, t, n, r) {
1648
- let o = Ce(n);
1647
+ let o = Te(n);
1649
1648
  N(() => {
1650
1649
  e = e ?? window;
1651
1650
  function i(a) {
@@ -1654,7 +1653,7 @@ function Xr(e, t, n, r) {
1654
1653
  return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r);
1655
1654
  }, [e, t, r]);
1656
1655
  }
1657
- function Yi() {
1656
+ function qi() {
1658
1657
  let e;
1659
1658
  return { before({ doc: t }) {
1660
1659
  var n;
@@ -1665,7 +1664,7 @@ function Yi() {
1665
1664
  n.style(r, "paddingRight", `${i}px`);
1666
1665
  } };
1667
1666
  }
1668
- function Ki() {
1667
+ function Yi() {
1669
1668
  return Gr() ? { before({ doc: e, d: t, meta: n }) {
1670
1669
  function r(o) {
1671
1670
  return n.containers.flatMap((i) => i()).some((i) => i.contains(o));
@@ -1708,12 +1707,12 @@ function Ki() {
1708
1707
  });
1709
1708
  } } : {};
1710
1709
  }
1711
- function Gi() {
1710
+ function Ki() {
1712
1711
  return { before({ doc: e, d: t }) {
1713
1712
  t.style(e.documentElement, "overflow", "hidden");
1714
1713
  } };
1715
1714
  }
1716
- function Zi(e) {
1715
+ function Gi(e) {
1717
1716
  let t = {};
1718
1717
  for (let n of e) Object.assign(t, n(t));
1719
1718
  return t;
@@ -1726,7 +1725,7 @@ let ye = Br(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
1726
1725
  let n = this.get(e);
1727
1726
  return n && (n.count--, n.meta.delete(t)), this;
1728
1727
  }, SCROLL_PREVENT({ doc: e, d: t, meta: n }) {
1729
- let r = { doc: e, d: t, meta: Zi(n) }, o = [Ki(), Yi(), Gi()];
1728
+ let r = { doc: e, d: t, meta: Gi(n) }, o = [Yi(), qi(), Ki()];
1730
1729
  o.forEach(({ before: i }) => i == null ? void 0 : i(r)), o.forEach(({ after: i }) => i == null ? void 0 : i(r));
1731
1730
  }, SCROLL_ALLOW({ d: e }) {
1732
1731
  e.dispose();
@@ -1741,43 +1740,43 @@ ye.subscribe(() => {
1741
1740
  (o && !r || !o && r) && ye.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && ye.dispatch("TEARDOWN", n);
1742
1741
  }
1743
1742
  });
1744
- function Xi(e, t, n = () => ({ containers: [] })) {
1743
+ function Zi(e, t, n = () => ({ containers: [] })) {
1745
1744
  let r = qr(ye), o = t ? r.get(t) : void 0, i = o ? o.count > 0 : !1;
1746
1745
  return j(() => {
1747
1746
  if (!(!t || !e)) return ye.dispatch("PUSH", t, n), () => ye.dispatch("POP", t, n);
1748
1747
  }, [e, t]), i;
1749
1748
  }
1750
- function Qi(e, t, n = () => [document.body]) {
1749
+ function Xi(e, t, n = () => [document.body]) {
1751
1750
  let r = He(e, "scroll-lock");
1752
- Xi(r, t, (o) => {
1751
+ Zi(r, t, (o) => {
1753
1752
  var i;
1754
1753
  return { containers: [...(i = o.containers) != null ? i : [], n] };
1755
1754
  });
1756
1755
  }
1757
- function Ji(e) {
1756
+ function Qi(e) {
1758
1757
  let t = { called: !1 };
1759
1758
  return (...n) => {
1760
1759
  if (!t.called) return t.called = !0, e(...n);
1761
1760
  };
1762
1761
  }
1763
- function ea(e = 0) {
1762
+ function Ji(e = 0) {
1764
1763
  let [t, n] = k(e), r = I((s) => n(s), [t]), o = I((s) => n((u) => u | s), [t]), i = I((s) => (t & s) === s, [t]), a = I((s) => n((u) => u & ~s), [n]), l = I((s) => n((u) => u ^ s), [n]);
1765
1764
  return { flags: t, setFlag: r, addFlag: o, hasFlag: i, removeFlag: a, toggleFlag: l };
1766
1765
  }
1767
- var ta = ((e) => (e[e.None = 0] = "None", e[e.Closed = 1] = "Closed", e[e.Enter = 2] = "Enter", e[e.Leave = 4] = "Leave", e))(ta || {});
1768
- function na(e) {
1766
+ var ea = ((e) => (e[e.None = 0] = "None", e[e.Closed = 1] = "Closed", e[e.Enter = 2] = "Enter", e[e.Leave = 4] = "Leave", e))(ea || {});
1767
+ function ta(e) {
1769
1768
  let t = {};
1770
1769
  for (let n in e) e[n] === !0 && (t[`data-${n}`] = "");
1771
1770
  return t;
1772
1771
  }
1773
- function ra(e, t, n, r) {
1774
- let [o, i] = k(n), { hasFlag: a, addFlag: l, removeFlag: s } = ea(e && o ? 3 : 0), u = w(!1), d = w(!1), c = yt();
1772
+ function na(e, t, n, r) {
1773
+ let [o, i] = k(n), { hasFlag: a, addFlag: l, removeFlag: s } = Ji(e && o ? 3 : 0), u = w(!1), d = w(!1), c = yt();
1775
1774
  return j(function p() {
1776
1775
  var f;
1777
1776
  if (!e) return;
1778
1777
  n && i(!0);
1779
1778
  let h = t.current;
1780
- return h ? ((f = r == null ? void 0 : r.start) == null || f.call(r, n), oa(h, { inFlight: u, prepare() {
1779
+ return h ? ((f = r == null ? void 0 : r.start) == null || f.call(r, n), ra(h, { inFlight: u, prepare() {
1781
1780
  d.current ? d.current = !1 : d.current = u.current, u.current = !0, !d.current && (n ? (l(3), s(4)) : (l(4), s(2)));
1782
1781
  }, run() {
1783
1782
  d.current ? n ? (s(3), l(4)) : (s(4), l(3)) : n ? s(1) : l(1);
@@ -1787,14 +1786,14 @@ function ra(e, t, n, r) {
1787
1786
  } })) : n ? (l(3), c.nextFrame(() => p())) : void 0;
1788
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 }];
1789
1788
  }
1790
- function oa(e, { prepare: t, run: n, done: r, inFlight: o }) {
1789
+ function ra(e, { prepare: t, run: n, done: r, inFlight: o }) {
1791
1790
  let i = pe();
1792
- return aa(e, { prepare: t, inFlight: o }), i.nextFrame(() => {
1793
- i.add(ia(e, r)), n();
1791
+ return ia(e, { prepare: t, inFlight: o }), i.nextFrame(() => {
1792
+ i.add(oa(e, r)), n();
1794
1793
  }), i.dispose;
1795
1794
  }
1796
- function ia(e, t) {
1797
- let n = Ji(t), r = pe();
1795
+ function oa(e, t) {
1796
+ let n = Qi(t), r = pe();
1798
1797
  if (!e) return r.dispose;
1799
1798
  let { transitionDuration: o, transitionDelay: i } = getComputedStyle(e), [a, l] = [o, i].map((u) => {
1800
1799
  let [d = 0] = u.split(",").filter(Boolean).map((c) => c.includes("ms") ? parseFloat(c) : parseFloat(c) * 1e3).sort((c, p) => p - c);
@@ -1817,7 +1816,7 @@ function ia(e, t) {
1817
1816
  } else n();
1818
1817
  return r.dispose;
1819
1818
  }
1820
- function aa(e, { inFlight: t, prepare: n }) {
1819
+ function ia(e, { inFlight: t, prepare: n }) {
1821
1820
  if (t != null && t.current) {
1822
1821
  n();
1823
1822
  return;
@@ -1841,20 +1840,20 @@ var G = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing
1841
1840
  function wt() {
1842
1841
  return W(gt);
1843
1842
  }
1844
- function la({ value: e, children: t }) {
1843
+ function aa({ value: e, children: t }) {
1845
1844
  return $.createElement(gt.Provider, { value: e }, t);
1846
1845
  }
1847
- function sa({ children: e }) {
1846
+ function la({ children: e }) {
1848
1847
  return $.createElement(gt.Provider, { value: null }, e);
1849
1848
  }
1850
- function ca(e) {
1849
+ function sa(e) {
1851
1850
  function t() {
1852
1851
  document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", t));
1853
1852
  }
1854
1853
  typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", t), t());
1855
1854
  }
1856
1855
  let ce = [];
1857
- ca(() => {
1856
+ sa(() => {
1858
1857
  function e(t) {
1859
1858
  t.target instanceof HTMLElement && t.target !== document.body && ce[0] !== t.target && (ce.unshift(t.target), ce = ce.filter((n) => n != null && n.isConnected), ce.splice(10));
1860
1859
  }
@@ -1868,26 +1867,26 @@ function Qr(e) {
1868
1867
  });
1869
1868
  }), [t]);
1870
1869
  }
1871
- function ua() {
1870
+ function ca() {
1872
1871
  let e = typeof document > "u";
1873
1872
  return "useSyncExternalStore" in Wn ? ((t) => t.useSyncExternalStore)(Wn)(() => () => {
1874
1873
  }, () => !1, () => !e) : !1;
1875
1874
  }
1876
1875
  function Qe() {
1877
- let e = ua(), [t, n] = k(ge.isHandoffComplete);
1876
+ let e = ca(), [t, n] = k(ge.isHandoffComplete);
1878
1877
  return t && ge.isHandoffComplete === !1 && n(!1), N(() => {
1879
1878
  t !== !0 && n(!0);
1880
1879
  }, [t]), N(() => ge.handoff(), []), e ? !1 : t;
1881
1880
  }
1882
1881
  let Jr = q(!1);
1883
- function da() {
1882
+ function ua() {
1884
1883
  return W(Jr);
1885
1884
  }
1886
1885
  function Yn(e) {
1887
1886
  return $.createElement(Jr.Provider, { value: e.force }, e.children);
1888
1887
  }
1889
- function fa(e) {
1890
- let t = da(), n = W(to), r = Xe(e), [o, i] = k(() => {
1888
+ function da(e) {
1889
+ let t = ua(), n = W(to), r = Xe(e), [o, i] = k(() => {
1891
1890
  var a;
1892
1891
  if (!t && n !== null) return (a = n.current) != null ? a : null;
1893
1892
  if (ge.isServer) return null;
@@ -1903,10 +1902,10 @@ function fa(e) {
1903
1902
  t || n !== null && i(n.current);
1904
1903
  }, [n, i, t]), o;
1905
1904
  }
1906
- let eo = H, pa = z(function(e, t) {
1907
- let n = e, r = w(null), o = J(Ci((d) => {
1905
+ let eo = H, fa = z(function(e, t) {
1906
+ let n = e, r = w(null), o = J($i((d) => {
1908
1907
  r.current = d;
1909
- }), t), i = Xe(r), a = fa(r), [l] = k(() => {
1908
+ }), t), i = Xe(r), a = da(r), [l] = k(() => {
1910
1909
  var d;
1911
1910
  return ge.isServer ? null : (d = i == null ? void 0 : i.createElement("div")) != null ? d : null;
1912
1911
  }), s = W(Xt), u = Qe();
@@ -1919,17 +1918,17 @@ let eo = H, pa = z(function(e, t) {
1919
1918
  !a || !l || (l instanceof Node && a.contains(l) && a.removeChild(l), a.childNodes.length <= 0 && ((d = a.parentElement) == null || d.removeChild(a)));
1920
1919
  }), u ? !a || !l ? null : vt(Y({ ourProps: { ref: o }, theirProps: n, slot: {}, defaultTag: eo, name: "Portal" }), l) : null;
1921
1920
  });
1922
- function va(e, t) {
1921
+ function pa(e, t) {
1923
1922
  let n = J(t), { enabled: r = !0, ...o } = e;
1924
- return r ? $.createElement(pa, { ...o, ref: n }) : Y({ ourProps: { ref: n }, theirProps: o, slot: {}, defaultTag: eo, name: "Portal" });
1923
+ return r ? $.createElement(fa, { ...o, ref: n }) : Y({ ourProps: { ref: n }, theirProps: o, slot: {}, defaultTag: eo, name: "Portal" });
1925
1924
  }
1926
- let _a = H, to = q(null);
1927
- function ha(e, t) {
1925
+ let va = H, to = q(null);
1926
+ function _a(e, t) {
1928
1927
  let { target: n, ...r } = e, o = { ref: J(t) };
1929
- return $.createElement(to.Provider, { value: n }, Y({ ourProps: o, theirProps: r, defaultTag: _a, name: "Popover.Group" }));
1928
+ return $.createElement(to.Provider, { value: n }, Y({ ourProps: o, theirProps: r, defaultTag: va, name: "Popover.Group" }));
1930
1929
  }
1931
1930
  let Xt = q(null);
1932
- function ma() {
1931
+ function ha() {
1933
1932
  let e = W(Xt), t = w([]), n = D((i) => (t.current.push(i), e && e.register(i), () => r(i))), r = D((i) => {
1934
1933
  let a = t.current.indexOf(i);
1935
1934
  a !== -1 && t.current.splice(a, 1), e && e.unregister(i);
@@ -1938,14 +1937,14 @@ function ma() {
1938
1937
  return $.createElement(Xt.Provider, { value: o }, i);
1939
1938
  }, [o])];
1940
1939
  }
1941
- let ya = z(va), no = z(ha), ga = Object.assign(ya, { Group: no });
1942
- function wa(e, t = typeof document < "u" ? document.defaultView : null, n) {
1940
+ let ma = z(pa), no = z(_a), ya = Object.assign(ma, { Group: no });
1941
+ function ga(e, t = typeof document < "u" ? document.defaultView : null, n) {
1943
1942
  let r = He(e, "escape");
1944
1943
  Xr(t, "keydown", (o) => {
1945
1944
  r && (o.defaultPrevented || o.key === zr.Escape && n(o));
1946
1945
  });
1947
1946
  }
1948
- function ba() {
1947
+ function wa() {
1949
1948
  var e;
1950
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);
1951
1950
  return j(() => {
@@ -1956,7 +1955,7 @@ function ba() {
1956
1955
  return t.addEventListener("change", o), () => t.removeEventListener("change", o);
1957
1956
  }, [t]), n;
1958
1957
  }
1959
- function Ea({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {}) {
1958
+ function ba({ defaultContainers: e = [], portals: t, mainTreeNodeRef: n } = {}) {
1960
1959
  var r;
1961
1960
  let o = w((r = n == null ? void 0 : n.current) != null ? r : null), i = Xe(o), a = D(() => {
1962
1961
  var l, s, u;
@@ -1977,7 +1976,7 @@ function mn() {
1977
1976
  }), []), e;
1978
1977
  }
1979
1978
  var Ve = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(Ve || {});
1980
- function $a() {
1979
+ function Ea() {
1981
1980
  let e = w(0);
1982
1981
  return Zr(!0, "keydown", (t) => {
1983
1982
  t.key === "Tab" && (e.current = t.shiftKey ? 1 : 0);
@@ -1990,16 +1989,16 @@ function ro(e) {
1990
1989
  for (let n of e.current) n.current instanceof HTMLElement && t.add(n.current);
1991
1990
  return t;
1992
1991
  }
1993
- let Ca = "div";
1992
+ let $a = "div";
1994
1993
  var he = ((e) => (e[e.None = 0] = "None", e[e.InitialFocus = 1] = "InitialFocus", e[e.TabLock = 2] = "TabLock", e[e.FocusLock = 4] = "FocusLock", e[e.RestoreFocus = 8] = "RestoreFocus", e[e.AutoFocus = 16] = "AutoFocus", e))(he || {});
1995
- function Ta(e, t) {
1994
+ function Ca(e, t) {
1996
1995
  let n = w(null), r = J(n, t), { initialFocus: o, initialFocusFallback: i, containers: a, features: l = 15, ...s } = e;
1997
1996
  Qe() || (l = 0);
1998
1997
  let u = Xe(n);
1999
- Sa(l, { ownerDocument: u });
2000
- let d = Pa(l, { ownerDocument: u, container: n, initialFocus: o, initialFocusFallback: i });
2001
- Ma(l, { ownerDocument: u, container: n, containers: a, previousActiveElement: d });
2002
- let c = $a(), p = D((_) => {
1998
+ xa(l, { ownerDocument: u });
1999
+ let d = Sa(l, { ownerDocument: u, container: n, initialFocus: o, initialFocusFallback: i });
2000
+ Pa(l, { ownerDocument: u, container: n, containers: a, previousActiveElement: d });
2001
+ let c = Ea(), p = D((_) => {
2003
2002
  let g = n.current;
2004
2003
  g && ((C) => C())(() => {
2005
2004
  de(c.current, { [Ve.Forwards]: () => {
@@ -2019,10 +2018,10 @@ function Ta(e, t) {
2019
2018
  let C = _.relatedTarget;
2020
2019
  C instanceof HTMLElement && C.dataset.headlessuiFocusGuard !== "true" && (oo(g, C) || (y.current ? Be(n.current, de(c.current, { [Ve.Forwards]: () => te.Next, [Ve.Backwards]: () => te.Previous }) | te.WrapAround, { relativeTo: _.target }) : _.target instanceof HTMLElement && oe(_.target)));
2021
2020
  } };
2022
- return $.createElement($.Fragment, null, f && $.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: dt.Focusable }), Y({ ourProps: m, theirProps: s, defaultTag: Ca, name: "FocusTrap" }), f && $.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: dt.Focusable }));
2021
+ return $.createElement($.Fragment, null, f && $.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: dt.Focusable }), Y({ ourProps: m, theirProps: s, defaultTag: $a, name: "FocusTrap" }), f && $.createElement(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: dt.Focusable }));
2023
2022
  }
2024
- let ka = z(Ta), Fa = Object.assign(ka, { features: he });
2025
- function xa(e = !0) {
2023
+ let Ta = z(Ca), ka = Object.assign(Ta, { features: he });
2024
+ function Fa(e = !0) {
2026
2025
  let t = w(ce.slice());
2027
2026
  return hn(([n], [r]) => {
2028
2027
  r === !0 && n === !1 && mt(() => {
@@ -2033,15 +2032,15 @@ function xa(e = !0) {
2033
2032
  return (n = t.current.find((r) => r != null && r.isConnected)) != null ? n : null;
2034
2033
  });
2035
2034
  }
2036
- function Sa(e, { ownerDocument: t }) {
2037
- let n = !!(e & 8), r = xa(n);
2035
+ function xa(e, { ownerDocument: t }) {
2036
+ let n = !!(e & 8), r = Fa(n);
2038
2037
  hn(() => {
2039
2038
  n || (t == null ? void 0 : t.activeElement) === (t == null ? void 0 : t.body) && oe(r());
2040
2039
  }, [n]), Qr(() => {
2041
2040
  n && oe(r());
2042
2041
  });
2043
2042
  }
2044
- function Pa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFallback: o }) {
2043
+ function Sa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFallback: o }) {
2045
2044
  let i = w(null), a = He(!!(e & 1), "focus-trap#initial-focus"), l = mn();
2046
2045
  return hn(() => {
2047
2046
  if (e === 0) return;
@@ -2074,7 +2073,7 @@ function Pa(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
2074
2073
  });
2075
2074
  }, [o, a, e]), i;
2076
2075
  }
2077
- function Ma(e, { ownerDocument: t, container: n, containers: r, previousActiveElement: o }) {
2076
+ function Pa(e, { ownerDocument: t, container: n, containers: r, previousActiveElement: o }) {
2078
2077
  let i = mn(), a = !!(e & 4);
2079
2078
  Xr(t == null ? void 0 : t.defaultView, "focus", (l) => {
2080
2079
  if (!a || !i.current) return;
@@ -2096,13 +2095,13 @@ function io(e) {
2096
2095
  }
2097
2096
  let bt = q(null);
2098
2097
  bt.displayName = "TransitionContext";
2099
- var La = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(La || {});
2100
- function Na() {
2098
+ var Ma = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Ma || {});
2099
+ function La() {
2101
2100
  let e = W(bt);
2102
2101
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
2103
2102
  return e;
2104
2103
  }
2105
- function Da() {
2104
+ function Na() {
2106
2105
  let e = W(Et);
2107
2106
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
2108
2107
  return e;
@@ -2113,7 +2112,7 @@ function $t(e) {
2113
2112
  return "children" in e ? $t(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2114
2113
  }
2115
2114
  function ao(e, t) {
2116
- let n = Ce(e), r = w([]), o = mn(), i = yt(), a = D((f, h = ue.Hidden) => {
2115
+ let n = Te(e), r = w([]), o = mn(), i = yt(), a = D((f, h = ue.Hidden) => {
2117
2116
  let y = r.current.findIndex(({ el: m }) => m === f);
2118
2117
  y !== -1 && (de(h, { [ue.Unmount]() {
2119
2118
  r.current.splice(y, 1);
@@ -2141,9 +2140,9 @@ function ao(e, t) {
2141
2140
  return x(() => ({ children: r, register: l, unregister: a, onStart: c, onStop: p, wait: u, chains: d }), [l, a, r, c, p, d, u]);
2142
2141
  }
2143
2142
  let lo = H, so = ut.RenderStrategy;
2144
- function Ha(e, t) {
2143
+ function Da(e, t) {
2145
2144
  var n, r;
2146
- let { transition: o = !0, beforeEnter: i, afterEnter: a, beforeLeave: l, afterLeave: s, enter: u, enterFrom: d, enterTo: c, entered: p, leave: f, leaveFrom: h, leaveTo: y, ...m } = e, _ = w(null), g = io(e), C = J(...g ? [_, t] : t === null ? [] : [t]), b = (n = m.unmount) == null || n ? ue.Unmount : ue.Hidden, { show: E, appear: F, initial: A } = Na(), [M, S] = k(E ? "visible" : "hidden"), L = Da(), { register: U, unregister: Q } = L;
2145
+ let { transition: o = !0, beforeEnter: i, afterEnter: a, beforeLeave: l, afterLeave: s, enter: u, enterFrom: d, enterTo: c, entered: p, leave: f, leaveFrom: h, leaveTo: y, ...m } = e, _ = w(null), g = io(e), C = J(...g ? [_, t] : t === null ? [] : [t]), b = (n = m.unmount) == null || n ? ue.Unmount : ue.Hidden, { show: E, appear: F, initial: A } = La(), [M, S] = k(E ? "visible" : "hidden"), L = Na(), { register: U, unregister: Q } = L;
2147
2146
  j(() => U(_), [U, _]), j(() => {
2148
2147
  if (b === ue.Hidden && _.current) {
2149
2148
  if (E && M !== "visible") {
@@ -2153,31 +2152,31 @@ function Ha(e, t) {
2153
2152
  return de(M, { hidden: () => Q(_), visible: () => U(_) });
2154
2153
  }
2155
2154
  }, [M, _, U, Q, E, b]);
2156
- let ke = Qe();
2155
+ let Fe = Qe();
2157
2156
  j(() => {
2158
- if (g && ke && M === "visible" && _.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
2159
- }, [_, M, ke, g]);
2160
- let Tt = A && !F, Je = F && E && A, Fe = w(!1), xe = ao(() => {
2161
- Fe.current || (S("hidden"), Q(_));
2157
+ if (g && Fe && M === "visible" && _.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
2158
+ }, [_, M, Fe, g]);
2159
+ let Tt = A && !F, Je = F && E && A, xe = w(!1), Se = ao(() => {
2160
+ xe.current || (S("hidden"), Q(_));
2162
2161
  }, L), et = D((kt) => {
2163
- Fe.current = !0;
2162
+ xe.current = !0;
2164
2163
  let tt = kt ? "enter" : "leave";
2165
- xe.onStart(_, tt, (Oe) => {
2164
+ Se.onStart(_, tt, (Oe) => {
2166
2165
  Oe === "enter" ? i == null || i() : Oe === "leave" && (l == null || l());
2167
2166
  });
2168
2167
  }), se = D((kt) => {
2169
2168
  let tt = kt ? "enter" : "leave";
2170
- Fe.current = !1, xe.onStop(_, tt, (Oe) => {
2169
+ xe.current = !1, Se.onStop(_, tt, (Oe) => {
2171
2170
  Oe === "enter" ? a == null || a() : Oe === "leave" && (s == null || s());
2172
- }), tt === "leave" && !$t(xe) && (S("hidden"), Q(_));
2171
+ }), tt === "leave" && !$t(Se) && (S("hidden"), Q(_));
2173
2172
  });
2174
2173
  N(() => {
2175
2174
  g && o || (et(E), se(E));
2176
2175
  }, [E, g, o]);
2177
- let V = !(!o || !g || !ke || Tt), [, R] = ra(V, _, E, { start: et, end: se }), yo = ve({ ref: C, className: ((r = qt(m.className, Je && u, Je && d, R.enter && u, R.enter && R.closed && d, R.enter && !R.closed && c, R.leave && f, R.leave && !R.closed && h, R.leave && R.closed && y, !R.transition && E && p)) == null ? void 0 : r.trim()) || void 0, ...na(R) }), Ae = 0;
2178
- return M === "visible" && (Ae |= G.Open), M === "hidden" && (Ae |= G.Closed), R.enter && (Ae |= G.Opening), R.leave && (Ae |= G.Closing), $.createElement(Et.Provider, { value: xe }, $.createElement(la, { value: Ae }, Y({ ourProps: yo, theirProps: m, defaultTag: lo, features: so, visible: M === "visible", name: "Transition.Child" })));
2176
+ let V = !(!o || !g || !Fe || Tt), [, R] = na(V, _, E, { start: et, end: se }), yo = ve({ ref: C, className: ((r = qt(m.className, Je && u, Je && d, R.enter && u, R.enter && R.closed && d, R.enter && !R.closed && c, R.leave && f, R.leave && !R.closed && h, R.leave && R.closed && y, !R.transition && E && p)) == null ? void 0 : r.trim()) || void 0, ...ta(R) }), Ae = 0;
2177
+ return M === "visible" && (Ae |= G.Open), M === "hidden" && (Ae |= G.Closed), R.enter && (Ae |= G.Opening), R.leave && (Ae |= G.Closing), $.createElement(Et.Provider, { value: Se }, $.createElement(aa, { value: Ae }, Y({ ourProps: yo, theirProps: m, defaultTag: lo, features: so, visible: M === "visible", name: "Transition.Child" })));
2179
2178
  }
2180
- function Aa(e, t) {
2179
+ function Ha(e, t) {
2181
2180
  let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, a = w(null), l = io(e), s = J(...l ? [a, t] : t === null ? [] : [t]);
2182
2181
  Qe();
2183
2182
  let u = wt();
@@ -2201,13 +2200,13 @@ function Aa(e, t) {
2201
2200
  });
2202
2201
  return $.createElement(Et.Provider, { value: p }, $.createElement(bt.Provider, { value: m }, Y({ ourProps: { ..._, as: H, children: $.createElement(co, { ref: s, ..._, ...i, beforeEnter: g, beforeLeave: C }) }, theirProps: {}, defaultTag: H, features: so, visible: d === "visible", name: "Transition" })));
2203
2202
  }
2204
- function Oa(e, t) {
2203
+ function Aa(e, t) {
2205
2204
  let n = W(bt) !== null, r = wt() !== null;
2206
2205
  return $.createElement($.Fragment, null, !n && r ? $.createElement(Qt, { ref: t, ...e }) : $.createElement(co, { ref: t, ...e }));
2207
2206
  }
2208
- let Qt = z(Aa), co = z(Ha), yn = z(Oa), ie = Object.assign(Qt, { Child: yn, Root: Qt });
2209
- var Ia = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Ia || {}), Ra = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(Ra || {});
2210
- let Va = { 0(e, t) {
2207
+ let Qt = z(Ha), co = z(Da), yn = z(Aa), ie = Object.assign(Qt, { Child: yn, Root: Qt });
2208
+ var Oa = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Oa || {}), Ia = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(Ia || {});
2209
+ let Ra = { 0(e, t) {
2211
2210
  return e.titleId === t.id ? e : { ...e, titleId: t.id };
2212
2211
  } }, gn = q(null);
2213
2212
  gn.displayName = "DialogContext";
@@ -2219,8 +2218,8 @@ function Ct(e) {
2219
2218
  }
2220
2219
  return t;
2221
2220
  }
2222
- function Ua(e, t) {
2223
- return de(t.type, Va, e, t);
2221
+ function Va(e, t) {
2222
+ return de(t.type, Ra, e, t);
2224
2223
  }
2225
2224
  let Kn = z(function(e, t) {
2226
2225
  let n = fe(), { id: r = `headlessui-dialog-${n}`, open: o, onClose: i, initialFocus: a, role: l = "dialog", autoFocus: s = !0, __demoMode: u = !1, ...d } = e, c = w(!1);
@@ -2229,25 +2228,25 @@ let Kn = z(function(e, t) {
2229
2228
  }();
2230
2229
  let p = wt();
2231
2230
  o === void 0 && p !== null && (o = (p & G.Open) === G.Open);
2232
- let f = w(null), h = J(f, t), y = Xe(f), m = o ? 0 : 1, [_, g] = Ke(Ua, { titleId: null, descriptionId: null, panelRef: en() }), C = D(() => i(!1)), b = D((V) => g({ type: 0, id: V })), E = Qe() ? m === 0 : !1, [F, A] = ma(), M = { get current() {
2231
+ let f = w(null), h = J(f, t), y = Xe(f), m = o ? 0 : 1, [_, g] = Ke(Va, { titleId: null, descriptionId: null, panelRef: en() }), C = D(() => i(!1)), b = D((V) => g({ type: 0, id: V })), E = Qe() ? m === 0 : !1, [F, A] = ha(), M = { get current() {
2233
2232
  var V;
2234
2233
  return (V = _.panelRef.current) != null ? V : f.current;
2235
- } }, { resolveContainers: S, mainTreeNodeRef: L, MainTreeNode: U } = Ea({ portals: F, defaultContainers: [M] }), Q = p !== null ? (p & G.Closing) === G.Closing : !1;
2236
- Di(u || Q ? !1 : E, { allowed: D(() => {
2234
+ } }, { resolveContainers: S, mainTreeNodeRef: L, MainTreeNode: U } = ba({ portals: F, defaultContainers: [M] }), Q = p !== null ? (p & G.Closing) === G.Closing : !1;
2235
+ Ni(u || Q ? !1 : E, { allowed: D(() => {
2237
2236
  var V, R;
2238
2237
  return [(R = (V = f.current) == null ? void 0 : V.closest("[data-headlessui-portal]")) != null ? R : null];
2239
2238
  }), disallowed: D(() => {
2240
2239
  var V, R;
2241
2240
  return [(R = (V = L.current) == null ? void 0 : V.closest("body > *:not(#headlessui-portal-root)")) != null ? R : null];
2242
- }) }), qi(E, S, (V) => {
2241
+ }) }), Bi(E, S, (V) => {
2243
2242
  V.preventDefault(), C();
2244
- }), wa(E, y == null ? void 0 : y.defaultView, (V) => {
2243
+ }), ga(E, y == null ? void 0 : y.defaultView, (V) => {
2245
2244
  V.preventDefault(), V.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), C();
2246
- }), Qi(u || Q ? !1 : E, y, S), Yr(E, f, C);
2247
- let [ke, Tt] = Ti(), Je = x(() => [{ dialogState: m, close: C, setTitleId: b }, _], [m, _, C, b]), Fe = x(() => ({ open: m === 0 }), [m]), xe = { ref: h, id: r, role: l, tabIndex: -1, "aria-modal": u ? void 0 : m === 0 ? !0 : void 0, "aria-labelledby": _.titleId, "aria-describedby": ke }, et = !ba(), se = he.None;
2248
- return E && !u && (se |= he.RestoreFocus, se |= he.TabLock, s && (se |= he.AutoFocus), et && (se |= he.InitialFocus)), $.createElement(sa, null, $.createElement(Yn, { force: !0 }, $.createElement(ga, null, $.createElement(gn.Provider, { value: Je }, $.createElement(no, { target: f }, $.createElement(Yn, { force: !1 }, $.createElement(Tt, { slot: Fe }, $.createElement(A, null, $.createElement(Fa, { initialFocus: a, initialFocusFallback: f, containers: S, features: se }, $.createElement(Mi, { value: C }, Y({ ourProps: xe, theirProps: d, slot: Fe, defaultTag: Wa, features: ja, visible: m === 0, name: "Dialog" })))))))))), $.createElement($i, null, $.createElement(U, null)));
2249
- }), Wa = "div", ja = ut.RenderStrategy | ut.Static;
2250
- function za(e, t) {
2245
+ }), Xi(u || Q ? !1 : E, y, S), Yr(E, f, C);
2246
+ let [Fe, Tt] = Ci(), Je = x(() => [{ dialogState: m, close: C, setTitleId: b }, _], [m, _, C, b]), xe = x(() => ({ open: m === 0 }), [m]), Se = { ref: h, id: r, role: l, tabIndex: -1, "aria-modal": u ? void 0 : m === 0 ? !0 : void 0, "aria-labelledby": _.titleId, "aria-describedby": Fe }, et = !wa(), se = he.None;
2247
+ return E && !u && (se |= he.RestoreFocus, se |= he.TabLock, s && (se |= he.AutoFocus), et && (se |= he.InitialFocus)), $.createElement(la, null, $.createElement(Yn, { force: !0 }, $.createElement(ya, null, $.createElement(gn.Provider, { value: Je }, $.createElement(no, { target: f }, $.createElement(Yn, { force: !1 }, $.createElement(Tt, { slot: xe }, $.createElement(A, null, $.createElement(ka, { initialFocus: a, initialFocusFallback: f, containers: S, features: se }, $.createElement(Pi, { value: C }, Y({ ourProps: Se, theirProps: d, slot: xe, defaultTag: Ua, features: Wa, visible: m === 0, name: "Dialog" })))))))))), $.createElement(Ei, null, $.createElement(U, null)));
2248
+ }), Ua = "div", Wa = ut.RenderStrategy | ut.Static;
2249
+ function ja(e, t) {
2251
2250
  let { transition: n = !1, open: r, ...o } = e, i = wt(), a = e.hasOwnProperty("open") || i !== null, l = e.hasOwnProperty("onClose");
2252
2251
  if (!a && !l) throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
2253
2252
  if (!a) throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");
@@ -2256,36 +2255,36 @@ function za(e, t) {
2256
2255
  if (typeof e.onClose != "function") throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);
2257
2256
  return (r !== void 0 || n) && !o.static ? $.createElement(ie, { show: r, transition: n, unmount: o.unmount }, $.createElement(Kn, { ref: t, ...o })) : $.createElement(Kn, { ref: t, open: r, ...o });
2258
2257
  }
2259
- let Ba = "div";
2260
- function qa(e, t) {
2258
+ let za = "div";
2259
+ function Ba(e, t) {
2261
2260
  let n = fe(), { id: r = `headlessui-dialog-panel-${n}`, transition: o = !1, ...i } = e, [{ dialogState: a }, l] = Ct("Dialog.Panel"), s = J(t, l.panelRef), u = x(() => ({ open: a === 0 }), [a]), d = D((c) => {
2262
2261
  c.stopPropagation();
2263
2262
  });
2264
- return $.createElement(o ? yn : H, null, Y({ ourProps: { ref: s, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: Ba, name: "Dialog.Panel" }));
2263
+ return $.createElement(o ? yn : H, null, Y({ ourProps: { ref: s, id: r, onClick: d }, theirProps: i, slot: u, defaultTag: za, name: "Dialog.Panel" }));
2265
2264
  }
2266
- let Ya = "div";
2267
- function Ka(e, t) {
2265
+ let qa = "div";
2266
+ function Ya(e, t) {
2268
2267
  let { transition: n = !1, ...r } = e, [{ dialogState: o }] = Ct("Dialog.Backdrop"), i = x(() => ({ open: o === 0 }), [o]);
2269
- return $.createElement(n ? yn : H, null, Y({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: Ya, name: "Dialog.Backdrop" }));
2268
+ return $.createElement(n ? yn : H, null, Y({ ourProps: { ref: t, "aria-hidden": !0 }, theirProps: r, slot: i, defaultTag: qa, name: "Dialog.Backdrop" }));
2270
2269
  }
2271
- let Ga = "h2";
2272
- function Za(e, t) {
2270
+ let Ka = "h2";
2271
+ function Ga(e, t) {
2273
2272
  let n = fe(), { id: r = `headlessui-dialog-title-${n}`, ...o } = e, [{ dialogState: i, setTitleId: a }] = Ct("Dialog.Title"), l = J(t);
2274
2273
  N(() => (a(r), () => a(null)), [r, a]);
2275
2274
  let s = x(() => ({ open: i === 0 }), [i]);
2276
- return Y({ ourProps: { ref: l, id: r }, theirProps: o, slot: s, defaultTag: Ga, name: "Dialog.Title" });
2277
- }
2278
- let Xa = z(za), uo = z(qa);
2279
- z(Ka);
2280
- let Qa = z(Za), Ja = Object.assign(Xa, { Panel: uo, Title: Qa, Description: Si });
2281
- const el = "_root_1hpzn_1", tl = "_modal_1hpzn_10", nl = "_container_1hpzn_13", rl = "_page_1hpzn_16", ol = "_close_1hpzn_19", ot = {
2282
- root: el,
2283
- modal: tl,
2284
- container: nl,
2285
- page: rl,
2286
- close: ol
2287
- }, il = "_root_1h6qm_1", al = {
2288
- root: il
2275
+ return Y({ ourProps: { ref: l, id: r }, theirProps: o, slot: s, defaultTag: Ka, name: "Dialog.Title" });
2276
+ }
2277
+ let Za = z(ja), uo = z(Ba);
2278
+ z(Ya);
2279
+ let Xa = z(Ga), Qa = Object.assign(Za, { Panel: uo, Title: Xa, Description: xi });
2280
+ const Ja = "_root_1hpzn_1", el = "_modal_1hpzn_10", tl = "_container_1hpzn_13", nl = "_page_1hpzn_16", rl = "_close_1hpzn_19", ot = {
2281
+ root: Ja,
2282
+ modal: el,
2283
+ container: tl,
2284
+ page: nl,
2285
+ close: rl
2286
+ }, ol = "_root_1h6qm_1", il = {
2287
+ root: ol
2289
2288
  }, le = (e) => {
2290
2289
  const {
2291
2290
  children: t,
@@ -2321,26 +2320,26 @@ const el = "_root_1hpzn_1", tl = "_modal_1hpzn_10", nl = "_container_1hpzn_13",
2321
2320
  children: t
2322
2321
  }
2323
2322
  );
2324
- }, ll = () => /* @__PURE__ */ v(le, { children: /* @__PURE__ */ v("path", { d: "M10 2a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 2zM10 15a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 15zM10 7a3 3 0 100 6 3 3 0 000-6zM15.657 5.404a.75.75 0 10-1.06-1.06l-1.061 1.06a.75.75 0 001.06 1.06l1.06-1.06zM6.464 14.596a.75.75 0 10-1.06-1.06l-1.06 1.06a.75.75 0 001.06 1.06l1.06-1.06zM18 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 0118 10zM5 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 015 10zM14.596 15.657a.75.75 0 001.06-1.06l-1.06-1.061a.75.75 0 10-1.06 1.06l1.06 1.06zM5.404 6.464a.75.75 0 001.06-1.06l-1.06-1.06a.75.75 0 10-1.061 1.06l1.06 1.06z" }) }), fo = (e) => /* @__PURE__ */ v(le, { ...e, children: /* @__PURE__ */ v(
2323
+ }, al = () => /* @__PURE__ */ v(le, { children: /* @__PURE__ */ v("path", { d: "M10 2a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 2zM10 15a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 0110 15zM10 7a3 3 0 100 6 3 3 0 000-6zM15.657 5.404a.75.75 0 10-1.06-1.06l-1.061 1.06a.75.75 0 001.06 1.06l1.06-1.06zM6.464 14.596a.75.75 0 10-1.06-1.06l-1.06 1.06a.75.75 0 001.06 1.06l1.06-1.06zM18 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 0118 10zM5 10a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 015 10zM14.596 15.657a.75.75 0 001.06-1.06l-1.06-1.061a.75.75 0 10-1.06 1.06l1.06 1.06zM5.404 6.464a.75.75 0 001.06-1.06l-1.06-1.06a.75.75 0 10-1.061 1.06l1.06 1.06z" }) }), fo = (e) => /* @__PURE__ */ v(le, { ...e, children: /* @__PURE__ */ v(
2325
2324
  "path",
2326
2325
  {
2327
2326
  fillRule: "evenodd",
2328
2327
  d: "M7.455 2.004a.75.75 0 01.26.77 7 7 0 009.958 7.967.75.75 0 011.067.853A8.5 8.5 0 116.647 1.921a.75.75 0 01.808.083z",
2329
2328
  clipRule: "evenodd"
2330
2329
  }
2331
- ) }), sl = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 24 24", children: [
2330
+ ) }), ll = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 24 24", children: [
2332
2331
  /* @__PURE__ */ v("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2333
2332
  /* @__PURE__ */ v("path", { d: "M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z" })
2334
- ] }), cl = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 24 24", children: [
2333
+ ] }), sl = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 24 24", children: [
2335
2334
  /* @__PURE__ */ v("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2336
2335
  /* @__PURE__ */ v("path", { d: "M3.72 6.04c.47.46 1.21.48 1.71.06.37-.32.69-.51.87-.43.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1h1.21c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25h-1.22c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3c-1.09 0-2.04.63-2.7 1.22-.53.48-.53 1.32-.02 1.82zm10.16 12.51c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z" })
2337
- ] }), ul = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 24 24", children: [
2336
+ ] }), cl = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 24 24", children: [
2338
2337
  /* @__PURE__ */ v("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2339
2338
  /* @__PURE__ */ v("path", { d: "M3.72 6.04c.47.46 1.21.48 1.71.06.37-.32.69-.51.87-.43.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1h1.21c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25h-1.22c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3c-1.09 0-2.04.63-2.7 1.22-.53.48-.53 1.32-.02 1.82zm10.16 12.51c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z" })
2340
- ] }), dl = (e) => /* @__PURE__ */ v(le, { ...e, children: [
2339
+ ] }), ul = (e) => /* @__PURE__ */ v(le, { ...e, children: [
2341
2340
  /* @__PURE__ */ v("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
2342
2341
  /* @__PURE__ */ v("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm0 7c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm6 5H6v-.99c.2-.72 3.3-2.01 6-2.01s5.8 1.29 6 2v1z" })
2343
- ] }), fl = (e) => /* @__PURE__ */ v(le, { ...e, children: /* @__PURE__ */ v("path", { d: "M18,10l-1.77-2.03l0.25-2.69l-2.63-0.6l-1.37-2.32L10,3.43L7.53,2.36L6.15,4.68L3.53,5.28l0.25,2.69L2,10l1.77,2.03 l-0.25,2.69l2.63,0.6l1.37,2.32L10,16.56l2.47,1.07l1.37-2.32l2.63-0.6l-0.25-2.69L18,10z M13.18,8.47l-4.24,4.24 c-0.2,0.2-0.51,0.2-0.71,0L6.82,11.3c-0.2-0.2-0.2-0.51,0-0.71s0.51-0.2,0.71,0l1.06,1.06l3.89-3.89c0.2-0.2,0.51-0.2,0.71,0 S13.38,8.28,13.18,8.47z" }) }), pl = (e) => /* @__PURE__ */ v(le, { ...e, children: /* @__PURE__ */ v("path", { d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" }) }), vl = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 99 32", children: [
2342
+ ] }), dl = (e) => /* @__PURE__ */ v(le, { ...e, children: /* @__PURE__ */ v("path", { d: "M18,10l-1.77-2.03l0.25-2.69l-2.63-0.6l-1.37-2.32L10,3.43L7.53,2.36L6.15,4.68L3.53,5.28l0.25,2.69L2,10l1.77,2.03 l-0.25,2.69l2.63,0.6l1.37,2.32L10,16.56l2.47,1.07l1.37-2.32l2.63-0.6l-0.25-2.69L18,10z M13.18,8.47l-4.24,4.24 c-0.2,0.2-0.51,0.2-0.71,0L6.82,11.3c-0.2-0.2-0.2-0.51,0-0.71s0.51-0.2,0.71,0l1.06,1.06l3.89-3.89c0.2-0.2,0.51-0.2,0.71,0 S13.38,8.28,13.18,8.47z" }) }), fl = (e) => /* @__PURE__ */ v(le, { ...e, children: /* @__PURE__ */ v("path", { d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" }) }), pl = (e) => /* @__PURE__ */ v(le, { ...e, viewBox: "0 0 99 32", children: [
2344
2343
  /* @__PURE__ */ v("g", { clipPath: "url(#clip0_9581_165880)", children: [
2345
2344
  /* @__PURE__ */ v(
2346
2345
  "path",
@@ -2414,14 +2413,21 @@ const el = "_root_1hpzn_1", tl = "_modal_1hpzn_10", nl = "_container_1hpzn_13",
2414
2413
  )
2415
2414
  ] }),
2416
2415
  /* @__PURE__ */ v("defs", { children: /* @__PURE__ */ v("clipPath", { id: "clip0_9581_165880", children: /* @__PURE__ */ v("rect", { width: "98.9474", height: "32", fill: "white" }) }) })
2417
- ] }), { FaceLandmarker: _l, FilesetResolver: hl } = go;
2418
- class Le {
2416
+ ] });
2417
+ class we {
2418
+ static loadVision() {
2419
+ return import(
2420
+ /* webpackIgnore: true */
2421
+ /* @ts-ignore */
2422
+ "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.3"
2423
+ );
2424
+ }
2419
2425
  static async loadDetector() {
2420
2426
  try {
2421
- const t = await hl.forVisionTasks(
2427
+ const { FaceLandmarker: t, FilesetResolver: n } = await we.loadVision(), r = await n.forVisionTasks(
2422
2428
  "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.3/wasm"
2423
2429
  );
2424
- return await _l.createFromOptions(t, {
2430
+ return await t.createFromOptions(r, {
2425
2431
  baseOptions: {
2426
2432
  modelAssetPath: "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/1/face_landmarker.task",
2427
2433
  delegate: "GPU"
@@ -2459,29 +2465,29 @@ class Le {
2459
2465
  const { width: r, height: o } = n, { faceLandmarks: i } = await t.detect(n);
2460
2466
  if (i.length === 0)
2461
2467
  return [];
2462
- const a = Le.denormalizeKeypoints(
2468
+ const a = we.denormalizeKeypoints(
2463
2469
  i[0],
2464
2470
  r,
2465
2471
  o
2466
- ), l = Le.getBoundingBox(a);
2472
+ ), l = we.getBoundingBox(a);
2467
2473
  return [{ keypoints: a, box: l }];
2468
2474
  } catch (r) {
2469
2475
  return Promise.reject(r);
2470
2476
  }
2471
2477
  }
2472
2478
  }
2473
- const ml = (e, t) => {
2479
+ const vl = (e, t) => {
2474
2480
  let n;
2475
2481
  return typeof OffscreenCanvas < "u" ? n = new OffscreenCanvas(e, t) : (n = document.createElement("canvas"), n.width = e, n.height = t), n;
2476
2482
  }, po = (e, t, n, r) => {
2477
2483
  let o = 0, i = 0, a = t, l = n;
2478
- const u = ml(t, n).getContext("2d");
2484
+ const u = vl(t, n).getContext("2d");
2479
2485
  return u.drawImage(e, 0, 0), u.getImageData(o, i, a, l);
2480
- }, yl = (e) => new Promise((t) => {
2486
+ }, _l = (e) => new Promise((t) => {
2481
2487
  const n = document.createElement("canvas");
2482
2488
  n.width = e.width, n.height = e.height, n.getContext("2d").putImageData(e, 0, 0), n.toBlob((o) => t(o));
2483
2489
  });
2484
- function gl() {
2490
+ function hl() {
2485
2491
  if (MediaRecorder.isTypeSupported("video/webm; codecs=vp9"))
2486
2492
  return { mimeType: "video/webm; codecs=vp9" };
2487
2493
  if (MediaRecorder.isTypeSupported("video/webm"))
@@ -2497,7 +2503,7 @@ function vo(e = {}) {
2497
2503
  }, []), l = I(async (c) => {
2498
2504
  if (o.current)
2499
2505
  return;
2500
- const p = await yl(c);
2506
+ const p = await _l(c);
2501
2507
  o.current = p;
2502
2508
  }, []), s = I((c) => {
2503
2509
  c.data.size > 0 && t(c.data);
@@ -2506,7 +2512,7 @@ function vo(e = {}) {
2506
2512
  }, []), d = I((c) => {
2507
2513
  i.current || (i.current = new MediaRecorder(
2508
2514
  c,
2509
- gl()
2515
+ hl()
2510
2516
  ), i.current.ondataavailable = s, i.current.onstop = u, i.current.start(1e3));
2511
2517
  }, []);
2512
2518
  return {
@@ -2521,7 +2527,7 @@ function vo(e = {}) {
2521
2527
  function Ne(e, t) {
2522
2528
  return Math.sqrt(e ** 2 + t ** 2);
2523
2529
  }
2524
- function wl(e) {
2530
+ function ml(e) {
2525
2531
  const t = e.slice();
2526
2532
  for (let n = t.length - 1; n > 0; n--) {
2527
2533
  const r = Math.floor(Math.random() * (n + 1));
@@ -2529,7 +2535,7 @@ function wl(e) {
2529
2535
  }
2530
2536
  return t;
2531
2537
  }
2532
- function bl(e, t) {
2538
+ function yl(e, t) {
2533
2539
  return new Promise((n, r) => {
2534
2540
  const o = new File([e], `${Date.now()}`, {
2535
2541
  type: t
@@ -2537,10 +2543,10 @@ function bl(e, t) {
2537
2543
  i.readAsDataURL(o), i.onload = () => n(i.result), i.onerror = (a) => r(a);
2538
2544
  });
2539
2545
  }
2540
- const El = "https://identity.dev.svc.youverify.co";
2541
- function $l() {
2546
+ const gl = "https://identity.dev.svc.youverify.co";
2547
+ function wl() {
2542
2548
  return { postData: async (t) => {
2543
- const { faceImage: n, publicKey: r, passed: o, metadata: i } = t, a = await fetch(`${El}/v1/sdk/identity/liveness/`, {
2549
+ const { faceImage: n, publicKey: r, passed: o, metadata: i } = t, a = await fetch(`${gl}/v1/sdk/identity/liveness/`, {
2544
2550
  method: "POST",
2545
2551
  headers: {
2546
2552
  "Content-Type": "application/json"
@@ -2558,19 +2564,19 @@ function $l() {
2558
2564
  return (await a.json()).data;
2559
2565
  } };
2560
2566
  }
2561
- const Cl = 360, Tl = "#125766", kl = "https://cdn.youverify.co/1721901834404-q2nxqyng5klm918b3BDVU.jpg", _o = {
2567
+ const bl = 360, El = "#125766", $l = "https://cdn.youverify.co/1721901834404-q2nxqyng5klm918b3BDVU.jpg", _o = {
2562
2568
  "complete-the-circle": {
2563
- Icon: sl,
2569
+ Icon: ll,
2564
2570
  name: "Complete The Circle ⭕️",
2565
2571
  description: "First position your face in the camera frame. Then move your head in a circle to show all the angles of your face"
2566
2572
  },
2567
2573
  "yes-or-no": {
2568
- Icon: cl,
2574
+ Icon: sl,
2569
2575
  name: "Yes or No ❓",
2570
2576
  description: "First position your face in the camera. Then tilt your head to the left to answer No and to the right to answer Yes"
2571
2577
  },
2572
2578
  motions: {
2573
- Icon: ul,
2579
+ Icon: cl,
2574
2580
  name: "Motions 💫",
2575
2581
  description: "First position your face in the camera frame, then follow the instructions"
2576
2582
  },
@@ -2598,7 +2604,7 @@ const Cl = 360, Tl = "#125766", kl = "https://cdn.youverify.co/1721901834404-q2n
2598
2604
  onComplete: () => Promise.resolve()
2599
2605
  });
2600
2606
  let Gn, Zn = !1;
2601
- function Fl(e) {
2607
+ function Cl(e) {
2602
2608
  const {
2603
2609
  publicKey: t,
2604
2610
  tasks: n,
@@ -2610,27 +2616,27 @@ function Fl(e) {
2610
2616
  onSuccess: s = () => {
2611
2617
  },
2612
2618
  metadata: u
2613
- } = e, [d, c] = k(0), [p, f] = k(0), [h, y] = k(null), { saveStream: m, savePhoto: _, savedPhoto: g } = vo(), { postData: C } = $l(), b = x(
2619
+ } = e, [d, c] = k(0), [p, f] = k(0), [h, y] = k(null), { saveStream: m, savePhoto: _, savedPhoto: g } = vo(), { postData: C } = wl(), b = x(
2614
2620
  () => p === n.length,
2615
2621
  [n, p]
2616
2622
  ), E = () => {
2617
2623
  f((S) => S + 1), c((S) => S + 1);
2618
2624
  }, F = (S) => {
2619
2625
  const L = new Image();
2620
- L.crossOrigin = "Anonymous", L.src = kl, L.onload = () => {
2626
+ L.crossOrigin = "Anonymous", L.src = $l, L.onload = () => {
2621
2627
  const U = po(L, L.width, L.height);
2622
- Le.detectFaces(S, U);
2628
+ we.detectFaces(S, U);
2623
2629
  };
2624
2630
  }, A = async () => {
2625
2631
  const S = await C({
2626
- faceImage: g.current ? await bl(g.current, "image/png") : null,
2632
+ faceImage: g.current ? await yl(g.current, "image/png") : null,
2627
2633
  publicKey: t,
2628
2634
  passed: !0,
2629
2635
  metadata: u
2630
2636
  });
2631
2637
  s(S), l();
2632
2638
  }, M = async () => {
2633
- const S = await Le.loadDetector();
2639
+ const S = await we.loadDetector();
2634
2640
  Gn = S, F(S), y(S);
2635
2641
  };
2636
2642
  return N(() => {
@@ -2661,33 +2667,33 @@ function Fl(e) {
2661
2667
  }
2662
2668
  );
2663
2669
  }
2664
- function Te() {
2670
+ function ke() {
2665
2671
  return W(ho);
2666
2672
  }
2667
- const xl = "_root_vqy7d_1", Sl = "_container_vqy7d_4", Pl = "_lhs_vqy7d_7", Ml = "_info_vqy7d_11", Ll = "_active_vqy7d_32", Nl = "_completed_vqy7d_39", Dl = "_rhs_vqy7d_62", Hl = "_profile_vqy7d_65", Al = "_avatar_vqy7d_68", Ol = "_main_vqy7d_81", Il = "_content_vqy7d_84", B = {
2668
- root: xl,
2669
- container: Sl,
2670
- lhs: Pl,
2671
- info: Ml,
2672
- active: Ll,
2673
- completed: Nl,
2674
- rhs: Dl,
2675
- profile: Hl,
2676
- avatar: Al,
2677
- main: Ol,
2678
- content: Il
2679
- }, Rl = "_root_135td_1", Vl = "_container_135td_1", Ul = "_brand_135td_1", Lt = {
2680
- root: Rl,
2681
- container: Vl,
2682
- brand: Ul
2673
+ const Tl = "_root_vqy7d_1", kl = "_container_vqy7d_4", Fl = "_lhs_vqy7d_7", xl = "_info_vqy7d_11", Sl = "_active_vqy7d_32", Pl = "_completed_vqy7d_39", Ml = "_rhs_vqy7d_62", Ll = "_profile_vqy7d_65", Nl = "_avatar_vqy7d_68", Dl = "_main_vqy7d_81", Hl = "_content_vqy7d_84", B = {
2674
+ root: Tl,
2675
+ container: kl,
2676
+ lhs: Fl,
2677
+ info: xl,
2678
+ active: Sl,
2679
+ completed: Pl,
2680
+ rhs: Ml,
2681
+ profile: Ll,
2682
+ avatar: Nl,
2683
+ main: Dl,
2684
+ content: Hl
2685
+ }, Al = "_root_135td_1", Ol = "_container_135td_1", Il = "_brand_135td_1", Lt = {
2686
+ root: Al,
2687
+ container: Ol,
2688
+ brand: Il
2683
2689
  };
2684
- function Wl() {
2685
- const { branding: e } = Te();
2690
+ function Rl() {
2691
+ const { branding: e } = ke();
2686
2692
  return /* @__PURE__ */ v("div", { className: Lt.root, children: /* @__PURE__ */ v("div", { className: Lt.container, children: /* @__PURE__ */ v("div", { className: Lt.brand, children: (e == null ? void 0 : e.logo) && /* @__PURE__ */ v("img", { className: "yvlw-h-10", src: e.logo, alt: "Logo" }) }) }) });
2687
2693
  }
2688
2694
  const Xn = "colorScheme";
2689
- function jl() {
2690
- const { namespace: e } = Te(), t = () => {
2695
+ function Vl() {
2696
+ const { namespace: e } = ke(), t = () => {
2691
2697
  const o = localStorage.getItem(Xn);
2692
2698
  return !o && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : o;
2693
2699
  }, n = (o = null) => {
@@ -2700,10 +2706,10 @@ function jl() {
2700
2706
  return n(o === "dark" ? "light" : "dark");
2701
2707
  }, getColorScheme: t };
2702
2708
  }
2703
- const zl = "_root_bcsvc_1", Bl = {
2704
- root: zl
2709
+ const Ul = "_root_bcsvc_1", Wl = {
2710
+ root: Ul
2705
2711
  };
2706
- function ql() {
2712
+ function jl() {
2707
2713
  if (!(window.screen.width >= 900))
2708
2714
  return 10 / 9;
2709
2715
  }
@@ -2715,7 +2721,7 @@ function wn(e) {
2715
2721
  }), u = async () => {
2716
2722
  try {
2717
2723
  const p = await navigator.mediaDevices.getUserMedia({
2718
- video: { aspectRatio: { exact: ql() } }
2724
+ video: { aspectRatio: { exact: jl() } }
2719
2725
  });
2720
2726
  a.current = p, l(p), o.current && (o.current.srcObject = p);
2721
2727
  } catch {
@@ -2735,24 +2741,24 @@ function wn(e) {
2735
2741
  return u(), p.addEventListener("canplay", f), () => {
2736
2742
  p.removeEventListener("canplay", f), cancelAnimationFrame(i.current), d();
2737
2743
  };
2738
- }, []), /* @__PURE__ */ v("div", { className: Bl.root, children: [
2744
+ }, []), /* @__PURE__ */ v("div", { className: Wl.root, children: [
2739
2745
  /* @__PURE__ */ v("video", { ref: o, autoPlay: !0, loop: !0, playsInline: !0 }),
2740
2746
  t
2741
2747
  ] });
2742
2748
  }
2743
- const Yl = "_container_mcmsr_1", Kl = "_focused_mcmsr_12", Gl = "_progress_mcmsr_15", Zl = "_completed_mcmsr_36", Xl = "_marker_mcmsr_40", Re = {
2744
- container: Yl,
2745
- focused: Kl,
2746
- progress: Gl,
2747
- completed: Zl,
2748
- marker: Xl
2749
- }, Qn = 360, Ql = 50;
2750
- function Jl(e) {
2749
+ const zl = "_container_mcmsr_1", Bl = "_focused_mcmsr_12", ql = "_progress_mcmsr_15", Yl = "_completed_mcmsr_36", Kl = "_marker_mcmsr_40", Re = {
2750
+ container: zl,
2751
+ focused: Bl,
2752
+ progress: ql,
2753
+ completed: Yl,
2754
+ marker: Kl
2755
+ }, Qn = 360, Gl = 50;
2756
+ function Zl(e) {
2751
2757
  const {
2752
2758
  visitedSections: t,
2753
2759
  sectionsCount: n,
2754
2760
  faceDetected: r,
2755
- divisions: o = Ql
2761
+ divisions: o = Gl
2756
2762
  } = e, i = x(() => {
2757
2763
  const a = [Re.container];
2758
2764
  return r && a.push(Re.focused), a.join(" ");
@@ -2812,7 +2818,7 @@ function Jl(e) {
2812
2818
  )
2813
2819
  ] });
2814
2820
  }
2815
- function es() {
2821
+ function Xl() {
2816
2822
  return { checkZoomLevel: (r, o) => {
2817
2823
  const { box: i } = r, { width: a, height: l } = i, s = a * l, u = o ** 2, d = s / u;
2818
2824
  if (d > 0.9)
@@ -2834,7 +2840,7 @@ function bn(e = {}) {
2834
2840
  },
2835
2841
  onError: o = () => {
2836
2842
  }
2837
- } = e, { faceDetector: i } = Te(), { checkFacialFeatures: a, checkZoomLevel: l, checkInFrame: s } = es(), u = w(null), d = (p, f) => {
2843
+ } = e, { faceDetector: i } = ke(), { checkFacialFeatures: a, checkZoomLevel: l, checkInFrame: s } = Xl(), u = w(null), d = (p, f) => {
2838
2844
  var h;
2839
2845
  try {
2840
2846
  if (p.length === 0)
@@ -2899,23 +2905,23 @@ function bn(e = {}) {
2899
2905
  y,
2900
2906
  m
2901
2907
  // frameSize,
2902
- ), g = await Le.detectFaces(i, _);
2908
+ ), g = await we.detectFaces(i, _);
2903
2909
  d(g, _);
2904
2910
  } };
2905
2911
  }
2906
- const ts = "_root_1psx5_1", ns = "_container_1psx5_4", rs = "_progress_1psx5_7", os = "_intro_1psx5_12", is = "_content_1psx5_15", as = "_branding_1psx5_18", ls = "_instructionsContainer_1psx5_22", ss = "_instructions_1psx5_22", ee = {
2907
- root: ts,
2908
- container: ns,
2909
- progress: rs,
2910
- intro: os,
2911
- content: is,
2912
- branding: as,
2913
- instructionsContainer: ls,
2914
- instructions: ss
2915
- }, cs = "_root_1j21c_1", us = "_spinner_1j21c_18", ds = "_spin_1j21c_18", Jn = {
2916
- root: cs,
2917
- spinner: us,
2918
- spin: ds
2912
+ const Ql = "_root_1psx5_1", Jl = "_container_1psx5_4", es = "_progress_1psx5_7", ts = "_intro_1psx5_12", ns = "_content_1psx5_15", rs = "_branding_1psx5_18", os = "_instructionsContainer_1psx5_22", is = "_instructions_1psx5_22", ee = {
2913
+ root: Ql,
2914
+ container: Jl,
2915
+ progress: es,
2916
+ intro: ts,
2917
+ content: ns,
2918
+ branding: rs,
2919
+ instructionsContainer: os,
2920
+ instructions: is
2921
+ }, as = "_root_1j21c_1", ls = "_spinner_1j21c_18", ss = "_spin_1j21c_18", Jn = {
2922
+ root: as,
2923
+ spinner: ls,
2924
+ spin: ss
2919
2925
  };
2920
2926
  function ft(e) {
2921
2927
  const {
@@ -2933,7 +2939,7 @@ function ft(e) {
2933
2939
  /* @__PURE__ */ v("h2", { children: r }),
2934
2940
  /* @__PURE__ */ v("p", { className: "subtext", children: n }),
2935
2941
  /* @__PURE__ */ v("div", { className: "yvlw-mt-12", children: /* @__PURE__ */ v(
2936
- gi,
2942
+ yi,
2937
2943
  {
2938
2944
  onClick: () => i(),
2939
2945
  className: "yvlw-flex yvlw-items-center yvlw-space-x-3",
@@ -2949,7 +2955,7 @@ function ft(e) {
2949
2955
  }
2950
2956
  function En(e) {
2951
2957
  const { children: t, instruction: n, name: r, completed: o, onStart: i = () => {
2952
- } } = e, [a, l] = k(!1), { completedCount: s, tasks: u, nextTask: d } = Te(), c = x(() => _o[r], [r]), p = x(
2958
+ } } = e, [a, l] = k(!1), { completedCount: s, tasks: u, nextTask: d } = ke(), c = x(() => _o[r], [r]), p = x(
2953
2959
  () => s * 100 / u.length,
2954
2960
  [s, u.length]
2955
2961
  );
@@ -3009,7 +3015,7 @@ function En(e) {
3009
3015
  /* @__PURE__ */ v("div", { className: ee.branding, children: [
3010
3016
  /* @__PURE__ */ v("span", { children: "Powered by" }),
3011
3017
  " ",
3012
- /* @__PURE__ */ v(vl, { size: "custom", className: "yvlw-h-3" })
3018
+ /* @__PURE__ */ v(pl, { size: "custom", className: "yvlw-h-3" })
3013
3019
  ] })
3014
3020
  ] })
3015
3021
  ]
@@ -3044,10 +3050,10 @@ function En(e) {
3044
3050
  )
3045
3051
  ] }) });
3046
3052
  }
3047
- const fs = 1, Nt = 8;
3048
- function ps(e) {
3049
- const { difficulty: t } = e, { saveStream: n, savePhoto: r } = Te(), [o, i] = k([]), [a, l] = k("Place face in frame"), [s, u] = k(!1), [d, c] = k(!1), p = w(/* @__PURE__ */ new Set()), f = w(!1), h = w(null), y = (E) => {
3050
- const F = E * Nt, A = Math.ceil((F + 1) / Cl);
3053
+ const cs = 1, Nt = 8;
3054
+ function us(e) {
3055
+ const { difficulty: t } = e, { saveStream: n, savePhoto: r } = ke(), [o, i] = k([]), [a, l] = k("Place face in frame"), [s, u] = k(!1), [d, c] = k(!1), p = w(/* @__PURE__ */ new Set()), f = w(!1), h = w(null), y = (E) => {
3056
+ const F = E * Nt, A = Math.ceil((F + 1) / bl);
3051
3057
  p.current.has(A) || (p.current.add(A), i(Array.from(p.current))), p.current.size >= Nt && setTimeout(() => {
3052
3058
  c(!0);
3053
3059
  }, 1e3);
@@ -3066,7 +3072,7 @@ function ps(e) {
3066
3072
  return 10;
3067
3073
  }
3068
3074
  }, []), g = (E) => {
3069
- const { keypoints: F, box: A } = E, M = { x: A.width * 0.5, y: A.height * 0.5 }, S = F[fs], L = { y: S.y - A.yMin, x: S.x - A.xMin }, U = M.x - L.x, Q = L.y - M.y;
3075
+ const { keypoints: F, box: A } = E, M = { x: A.width * 0.5, y: A.height * 0.5 }, S = F[cs], L = { y: S.y - A.yMin, x: S.x - A.xMin }, U = M.x - L.x, Q = L.y - M.y;
3070
3076
  return Math.abs(U) < _ && Math.abs(Q) < _ ? null : m(U, Q);
3071
3077
  }, { detectFaces: C } = bn({
3072
3078
  frameSize: 280,
@@ -3098,7 +3104,7 @@ function ps(e) {
3098
3104
  } catch {
3099
3105
  }
3100
3106
  }, onRecord: n, children: /* @__PURE__ */ v(
3101
- Jl,
3107
+ Zl,
3102
3108
  {
3103
3109
  faceDetected: s,
3104
3110
  sectionsCount: Nt,
@@ -3108,13 +3114,13 @@ function ps(e) {
3108
3114
  }
3109
3115
  ) });
3110
3116
  }
3111
- const vs = "_root_thujo_1", _s = "_sticker_thujo_4", hs = "_no_thujo_7", ms = "_yes_thujo_12", Dt = {
3112
- root: vs,
3113
- sticker: _s,
3114
- no: hs,
3115
- yes: ms
3117
+ const ds = "_root_thujo_1", fs = "_sticker_thujo_4", ps = "_no_thujo_7", vs = "_yes_thujo_12", Dt = {
3118
+ root: ds,
3119
+ sticker: fs,
3120
+ no: ps,
3121
+ yes: vs
3116
3122
  };
3117
- function ys(e) {
3123
+ function _s(e) {
3118
3124
  const { show: t, stickers: n } = e;
3119
3125
  return /* @__PURE__ */ v(H, { children: t && /* @__PURE__ */ v("div", { className: Dt.root, children: n.map((r) => /* @__PURE__ */ v(
3120
3126
  "div",
@@ -3125,13 +3131,13 @@ function ys(e) {
3125
3131
  `sticker-${r}`
3126
3132
  )) }) });
3127
3133
  }
3128
- const gs = {
3134
+ const hs = {
3129
3135
  question: "Are you alive?",
3130
3136
  errorMessage: "You have to be alive to proceed though",
3131
3137
  answer: !0
3132
- }, ws = "Wrong answer. Try again";
3133
- function bs(e) {
3134
- const { difficulty: t, questions: n = [gs] } = e, [r, o] = k("Keep face in camera"), [i, a] = k(!1), [l, s] = k(!1), { saveStream: u, savePhoto: d } = Te(), c = w("inactive"), p = w(0), f = w(!1), h = (b) => {
3138
+ }, ms = "Wrong answer. Try again";
3139
+ function ys(e) {
3140
+ const { difficulty: t, questions: n = [hs] } = e, [r, o] = k("Keep face in camera"), [i, a] = k(!1), [l, s] = k(!1), { saveStream: u, savePhoto: d } = ke(), c = w("inactive"), p = w(0), f = w(!1), h = (b) => {
3135
3141
  const { keypoints: E } = b, F = E[1], A = E[9], M = F.x - A.x, S = F.y - A.y;
3136
3142
  return 90 - Math.atan2(S, M) * (180 / Math.PI);
3137
3143
  }, y = (b) => {
@@ -3156,7 +3162,7 @@ function bs(e) {
3156
3162
  p.current += 1, p.current === n.length ? s(!0) : y(p.current);
3157
3163
  else
3158
3164
  throw new Error(
3159
- n[p.current].errorMessage || ws
3165
+ n[p.current].errorMessage || ms
3160
3166
  );
3161
3167
  } catch (E) {
3162
3168
  o(E.message), setTimeout(() => {
@@ -3191,11 +3197,11 @@ function bs(e) {
3191
3197
  g({ ref: b, frameSize: E });
3192
3198
  } catch {
3193
3199
  }
3194
- }, onRecord: u, children: /* @__PURE__ */ v(ys, { show: i, stickers: ["yes", "no"] }) })
3200
+ }, onRecord: u, children: /* @__PURE__ */ v(_s, { show: i, stickers: ["yes", "no"] }) })
3195
3201
  }
3196
3202
  );
3197
3203
  }
3198
- function Es(e = {}) {
3204
+ function gs(e = {}) {
3199
3205
  const { onChange: t = () => {
3200
3206
  } } = e, n = !!window.DeviceOrientationEvent, r = (o) => {
3201
3207
  t({
@@ -3210,7 +3216,7 @@ function Es(e = {}) {
3210
3216
  canUse: n
3211
3217
  };
3212
3218
  }
3213
- function $s(e) {
3219
+ function ws(e) {
3214
3220
  const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(null), a = w(!0), l = w(null), s = w(null), u = w(0), d = w(!1), c = x(() => {
3215
3221
  switch (o) {
3216
3222
  case "easy":
@@ -3230,7 +3236,7 @@ function $s(e) {
3230
3236
  d.current = !0, n("Great, hang on..."), setTimeout(() => {
3231
3237
  r();
3232
3238
  }, 500);
3233
- }, { canUse: f } = Es({
3239
+ }, { canUse: f } = gs({
3234
3240
  onChange: (y) => {
3235
3241
  s.current = y;
3236
3242
  }
@@ -3268,7 +3274,7 @@ function $s(e) {
3268
3274
  p();
3269
3275
  } };
3270
3276
  }
3271
- function Cs(e) {
3277
+ function bs(e) {
3272
3278
  const { onMessage: t, onComplete: n, difficulty: r } = e, o = w(!1), i = x(() => {
3273
3279
  switch (r) {
3274
3280
  case "easy":
@@ -3298,7 +3304,7 @@ function Cs(e) {
3298
3304
  t("Open your mouth wide");
3299
3305
  } };
3300
3306
  }
3301
- function Ts(e) {
3307
+ function Es(e) {
3302
3308
  const { total: t, onMessage: n, onComplete: r, difficulty: o } = e, i = w(!0), a = w(!1), l = w(null), s = w(0), u = x(() => {
3303
3309
  switch (o) {
3304
3310
  case "easy":
@@ -3348,7 +3354,7 @@ function Ts(e) {
3348
3354
  d(g), c(g), p();
3349
3355
  } };
3350
3356
  }
3351
- function ks() {
3357
+ function $s() {
3352
3358
  return {
3353
3359
  requestDeviceOrientationPermission: async () => {
3354
3360
  if (!window.DeviceOrientationEvent)
@@ -3360,24 +3366,24 @@ function ks() {
3360
3366
  };
3361
3367
  }
3362
3368
  var mo = /* @__PURE__ */ ((e) => (e.nod = "nod", e.open_mouth = "open_mouth", e.blink = "blink", e))(mo || {});
3363
- const er = wl(Object.keys(mo));
3364
- function Fs(e) {
3365
- const { difficulty: t, maxBlinks: n = 5, maxNods: r = 5 } = e, o = w(0), [i, a] = k("Keep face in camera"), [l, s] = k(!1), [u, d] = k(null), c = w(!1), { requestDeviceOrientationPermission: p } = ks(), f = () => {
3369
+ const er = ml(Object.keys(mo));
3370
+ function Cs(e) {
3371
+ const { difficulty: t, maxBlinks: n = 5, maxNods: r = 5 } = e, o = w(0), [i, a] = k("Keep face in camera"), [l, s] = k(!1), [u, d] = k(null), c = w(!1), { requestDeviceOrientationPermission: p } = $s(), f = () => {
3366
3372
  if (o.current === er.length - 1) {
3367
3373
  s(!0);
3368
3374
  return;
3369
3375
  }
3370
3376
  o.current += 1;
3371
- }, h = $s({
3377
+ }, h = ws({
3372
3378
  total: Math.floor(Math.random() * r + 1),
3373
3379
  difficulty: t,
3374
3380
  onMessage: (b) => a(b),
3375
3381
  onComplete: f
3376
- }), y = Cs({
3382
+ }), y = bs({
3377
3383
  difficulty: t,
3378
3384
  onMessage: (b) => a(b),
3379
3385
  onComplete: f
3380
- }), m = Ts({
3386
+ }), m = Es({
3381
3387
  total: Math.floor(Math.random() * n + 1),
3382
3388
  difficulty: t,
3383
3389
  onMessage: (b) => a(b),
@@ -3429,9 +3435,9 @@ function Fs(e) {
3429
3435
  }
3430
3436
  );
3431
3437
  }
3432
- function xs() {
3438
+ function Ts() {
3433
3439
  var m;
3434
- const { toggleColorScheme: e, getColorScheme: t, setColorScheme: n } = jl(), { user: r, tasks: o, currentTaskIndex: i, completed: a, onComplete: l } = Te(), [s, u] = k(!1), [d, c] = k(!1), [p, f] = k(null);
3440
+ const { toggleColorScheme: e, getColorScheme: t, setColorScheme: n } = Vl(), { user: r, tasks: o, currentTaskIndex: i, completed: a, onComplete: l } = ke(), [s, u] = k(!1), [d, c] = k(!1), [p, f] = k(null);
3435
3441
  N(() => {
3436
3442
  const _ = t();
3437
3443
  n(_);
@@ -3451,7 +3457,7 @@ function xs() {
3451
3457
  return /* @__PURE__ */ v("div", { className: B.root, children: /* @__PURE__ */ v("div", { className: B.container, children: [
3452
3458
  /* @__PURE__ */ v("div", { className: `${B.lhs} divider`, children: [
3453
3459
  /* @__PURE__ */ v("div", { className: B.info, children: [
3454
- /* @__PURE__ */ v(Wl, {}),
3460
+ /* @__PURE__ */ v(Rl, {}),
3455
3461
  /* @__PURE__ */ v("div", { children: /* @__PURE__ */ v("p", { className: "yvlw-text-xs yvlw-m-0 yvlw-p-0 subtext", children: "You have been given this set of tasks to complete. They are pretty easy to do but we will be guiding you every step of the way." }) }),
3456
3462
  /* @__PURE__ */ v("ol", { children: [
3457
3463
  o.map((_, g) => /* @__PURE__ */ v("li", { className: y(g), children: _o[_.id].name }, `task-${g}`)),
@@ -3462,7 +3468,7 @@ function xs() {
3462
3468
  /* @__PURE__ */ v("div", { children: "Powered by Youverify" }),
3463
3469
  /* @__PURE__ */ v("div", { onClick: () => e(), role: "button", children: [
3464
3470
  /* @__PURE__ */ v("div", { className: "dark:yvlw-hidden", children: /* @__PURE__ */ v(fo, {}) }),
3465
- /* @__PURE__ */ v("div", { className: "yvlw-hidden dark:yvlw-block", children: /* @__PURE__ */ v(ll, {}) })
3471
+ /* @__PURE__ */ v("div", { className: "yvlw-hidden dark:yvlw-block", children: /* @__PURE__ */ v(al, {}) })
3466
3472
  ] })
3467
3473
  ] })
3468
3474
  ] }),
@@ -3481,7 +3487,7 @@ function xs() {
3481
3487
  children: /* @__PURE__ */ v("div", { className: B.completed, children: /* @__PURE__ */ v(
3482
3488
  ft,
3483
3489
  {
3484
- Icon: dl,
3490
+ Icon: ul,
3485
3491
  title: "Liveness Check",
3486
3492
  description: "To ensure the security of your identity, we conduct a liveness check to verify that you are a real person actively engaging with the process.",
3487
3493
  actionText: "Start Liveness Test",
@@ -3494,13 +3500,13 @@ function xs() {
3494
3500
  let C;
3495
3501
  switch (_.id) {
3496
3502
  case "complete-the-circle":
3497
- C = /* @__PURE__ */ v(ps, { ..._ });
3503
+ C = /* @__PURE__ */ v(us, { ..._ });
3498
3504
  break;
3499
3505
  case "yes-or-no":
3500
- C = /* @__PURE__ */ v(bs, { ..._ });
3506
+ C = /* @__PURE__ */ v(ys, { ..._ });
3501
3507
  break;
3502
3508
  case "motions":
3503
- C = /* @__PURE__ */ v(Fs, { ..._ });
3509
+ C = /* @__PURE__ */ v(Cs, { ..._ });
3504
3510
  break;
3505
3511
  default:
3506
3512
  C = /* @__PURE__ */ v(H, {});
@@ -3537,7 +3543,7 @@ function xs() {
3537
3543
  children: /* @__PURE__ */ v("div", { className: B.completed, children: /* @__PURE__ */ v(
3538
3544
  ft,
3539
3545
  {
3540
- Icon: fl,
3546
+ Icon: dl,
3541
3547
  title: "Successful",
3542
3548
  description: "Your Identity verification has been completed successfully. Thanks for your patience",
3543
3549
  actionText: "Finish",
@@ -3571,7 +3577,7 @@ function xs() {
3571
3577
  ] })
3572
3578
  ] }) });
3573
3579
  }
3574
- function Ss(e) {
3580
+ function ks(e) {
3575
3581
  const {
3576
3582
  tasks: t,
3577
3583
  namespace: n,
@@ -3588,7 +3594,7 @@ function Ss(e) {
3588
3594
  p(!1), i();
3589
3595
  };
3590
3596
  return /* @__PURE__ */ v(
3591
- Fl,
3597
+ Cl,
3592
3598
  {
3593
3599
  namespace: n,
3594
3600
  publicKey: u,
@@ -3600,27 +3606,27 @@ function Ss(e) {
3600
3606
  onFailure: l,
3601
3607
  metadata: d,
3602
3608
  children: /* @__PURE__ */ v(
3603
- Ja,
3609
+ Qa,
3604
3610
  {
3605
3611
  id: n,
3606
3612
  open: s === "page" ? !0 : c,
3607
3613
  onClose: f,
3608
3614
  transition: !0,
3609
- className: `${al.root} ${ot.root} ${ot[s]}`,
3615
+ className: `${il.root} ${ot.root} ${ot[s]}`,
3610
3616
  style: {
3611
- "--branding-color": (o == null ? void 0 : o.color) ?? Tl
3617
+ "--branding-color": (o == null ? void 0 : o.color) ?? El
3612
3618
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3613
3619
  },
3614
3620
  children: [
3615
- s === "modal" && /* @__PURE__ */ v("div", { onClick: f, role: "button", className: ot.close, children: /* @__PURE__ */ v(pl, { className: "yvlw-text-white" }) }),
3616
- /* @__PURE__ */ v(uo, { className: `${ot.container}`, children: /* @__PURE__ */ v(xs, {}) })
3621
+ s === "modal" && /* @__PURE__ */ v("div", { onClick: f, role: "button", className: ot.close, children: /* @__PURE__ */ v(fl, { className: "yvlw-text-white" }) }),
3622
+ /* @__PURE__ */ v(uo, { className: `${ot.container}`, children: /* @__PURE__ */ v(Ts, {}) })
3617
3623
  ]
3618
3624
  }
3619
3625
  )
3620
3626
  }
3621
3627
  );
3622
3628
  }
3623
- class Ns {
3629
+ class Ss {
3624
3630
  constructor(t) {
3625
3631
  this.tasks = [], this.container = null, this.namespace = "liveness-web-sdk";
3626
3632
  const { presentation: n = "modal" } = t;
@@ -3635,9 +3641,9 @@ class Ns {
3635
3641
  throw new Error("First Name is required when User object is supplied");
3636
3642
  }
3637
3643
  async start(t) {
3638
- t && (this.tasks = t), this.validateOptions(), this.container = document.createElement("div"), document.body.appendChild(this.container), Pe(
3644
+ t && (this.tasks = t), this.validateOptions(), this.container = document.createElement("div"), document.body.appendChild(this.container), Me(
3639
3645
  /* @__PURE__ */ v(
3640
- Ss,
3646
+ ks,
3641
3647
  {
3642
3648
  namespace: this.namespace,
3643
3649
  publicKey: this.props.publicKey,
@@ -3664,5 +3670,5 @@ class Ns {
3664
3670
  }
3665
3671
  }
3666
3672
  export {
3667
- Ns as default
3673
+ Ss as default
3668
3674
  };