lawgic-dev-kit 0.14.4 → 0.14.5
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/components/atoms/CenterModal/CenterModal.js +25 -24
- package/dist/components/atoms/CenterModal/CenterModal.types.d.ts +1 -0
- package/dist/lawgic-dev-kit.css +1 -1
- package/dist/lawgic-dev-kit.umd.js +1 -1
- package/dist/src/components/atoms/CenterModal/CenterModal.types.d.ts +6 -0
- package/dist/src/lab/LaboratoryLayout.d.ts +5 -0
- package/package.json +1 -1
- package/dist/src/components/molecules/UncontrolledDateInput/index.d.ts +0 -1
- package/dist/src/components/molecules/index.d.ts +0 -15
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
-
import
|
|
3
|
-
import { FontAwesomeIcon as
|
|
2
|
+
import c from "../BoxContainer/BoxContainer.js";
|
|
3
|
+
import { FontAwesomeIcon as x } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
4
4
|
import { faX as d } from "../../../node_modules/@fortawesome/pro-light-svg-icons/index.js";
|
|
5
|
-
import
|
|
6
|
-
import { AnimatePresence as
|
|
5
|
+
import p from "../Divider/Divider.js";
|
|
6
|
+
import { AnimatePresence as f } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
7
7
|
import { motion as s } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
8
|
-
const
|
|
8
|
+
const N = ({
|
|
9
9
|
open: n,
|
|
10
|
-
onClose:
|
|
11
|
-
title:
|
|
12
|
-
children:
|
|
10
|
+
onClose: a,
|
|
11
|
+
title: e,
|
|
12
|
+
children: t,
|
|
13
|
+
className: o = ""
|
|
13
14
|
}) => {
|
|
14
|
-
const
|
|
15
|
+
const r = {
|
|
15
16
|
hidden: { opacity: 0 },
|
|
16
17
|
visible: { opacity: 1 }
|
|
17
|
-
},
|
|
18
|
+
}, l = {
|
|
18
19
|
hidden: {
|
|
19
20
|
opacity: 0,
|
|
20
21
|
scale: 0.9
|
|
@@ -34,40 +35,40 @@ const b = ({
|
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
};
|
|
37
|
-
return /* @__PURE__ */ i.jsx(
|
|
38
|
+
return /* @__PURE__ */ i.jsx(f, { children: n && /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
|
|
38
39
|
s.div,
|
|
39
40
|
{
|
|
40
41
|
className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
|
|
41
42
|
initial: "hidden",
|
|
42
43
|
animate: "visible",
|
|
43
44
|
exit: "hidden",
|
|
44
|
-
variants:
|
|
45
|
-
onClick:
|
|
45
|
+
variants: r,
|
|
46
|
+
onClick: a,
|
|
46
47
|
children: /* @__PURE__ */ i.jsx(
|
|
47
48
|
s.div,
|
|
48
49
|
{
|
|
49
|
-
className:
|
|
50
|
-
variants:
|
|
50
|
+
className: `w-full max-w-lg mx-16 z-50 ${o}`,
|
|
51
|
+
variants: l,
|
|
51
52
|
initial: "hidden",
|
|
52
53
|
animate: "visible",
|
|
53
54
|
exit: "exit",
|
|
54
|
-
onClick: (
|
|
55
|
-
children: /* @__PURE__ */ i.jsxs(
|
|
56
|
-
/* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-16 md:gap-24 md:p-32
|
|
55
|
+
onClick: (m) => m.stopPropagation(),
|
|
56
|
+
children: /* @__PURE__ */ i.jsxs(c, { className: `flex flex-col ${e && "gap-16 md:gap-24"} p-0!`, children: [
|
|
57
|
+
/* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-16 md:gap-24 md:p-32 pb-0!", children: [
|
|
57
58
|
/* @__PURE__ */ i.jsxs("div", { className: "flex justify-between items-center px-16 pt-16 md:px-0 md:pt-0", children: [
|
|
58
|
-
|
|
59
|
+
e && /* @__PURE__ */ i.jsx("h2", { className: "text-black font-700 text-2xl", children: e }),
|
|
59
60
|
/* @__PURE__ */ i.jsx(
|
|
60
|
-
|
|
61
|
+
x,
|
|
61
62
|
{
|
|
62
63
|
icon: d,
|
|
63
64
|
className: "cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700 ml-auto",
|
|
64
|
-
onClick:
|
|
65
|
+
onClick: a
|
|
65
66
|
}
|
|
66
67
|
)
|
|
67
68
|
] }),
|
|
68
|
-
|
|
69
|
+
e && /* @__PURE__ */ i.jsx(p, { className: "bg-gray-100!" })
|
|
69
70
|
] }),
|
|
70
|
-
/* @__PURE__ */ i.jsx("div", { className: "flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4", children: typeof
|
|
71
|
+
/* @__PURE__ */ i.jsx("div", { className: "flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4", children: typeof t == "function" ? t(a) : t })
|
|
71
72
|
] })
|
|
72
73
|
}
|
|
73
74
|
)
|
|
@@ -75,5 +76,5 @@ const b = ({
|
|
|
75
76
|
) }) });
|
|
76
77
|
};
|
|
77
78
|
export {
|
|
78
|
-
|
|
79
|
+
N as default
|
|
79
80
|
};
|
package/dist/lawgic-dev-kit.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.0.17 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-500:oklch(.795 .184 86.047);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-800:oklch(.448 .119 151.328);--color-blue-50:oklch(.97 .014 254.604);--color-blue-900:oklch(.379 .146 265.522);--color-purple-500:oklch(.627 .265 303.9);--color-gray-50:oklch(.985 .002 247.839);--color-gray-900:oklch(.21 .034 264.665);--color-black:#000;--tracking-wider:.05em;--leading-normal:1.5;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-feature-settings:initial;font-variation-settings:initial;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:initial;font-variation-settings:initial;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:color-mix(in oklab,currentColor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-top-14{top:-1.4rem}.top-0{top:0}.top-4{top:.4rem}.top-8{top:.8rem}.right-0{right:0}.right-4{right:.4rem}.right-8{right:.8rem}.bottom-0{bottom:0}.bottom-8{bottom:.8rem}.bottom-10{bottom:1rem}.bottom-\[28px\]{bottom:28px}.left-1\/2{left:50%}.left-8{left:.8rem}.left-10{left:1rem}.left-\[13px\]{left:13px}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-9999{z-index:9999}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-16{margin-inline:1.6rem}.mx-auto{margin-inline:auto}.my-8{margin-block:.8rem}.my-128{margin-block:12.8rem}.mt-1{margin-top:.1rem}.mt-2{margin-top:.2rem}.mt-3{margin-top:.3rem}.mt-4{margin-top:.4rem}.mt-6{margin-top:.6rem}.mt-8{margin-top:.8rem}.mt-10{margin-top:1rem}.mt-16{margin-top:1.6rem}.mt-\[0\.5rem\]{margin-top:.5rem}.mr-2{margin-right:.2rem}.mb-2{margin-bottom:.2rem}.mb-4{margin-bottom:.4rem}.mb-6{margin-bottom:.6rem}.mb-8{margin-bottom:.8rem}.mb-16{margin-bottom:1.6rem}.ml-8{margin-left:.8rem}.ml-auto{margin-left:auto}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-12{width:1.2rem;height:1.2rem}.size-16{width:1.6rem;height:1.6rem}.size-24{width:2.4rem;height:2.4rem}.size-\[40px\]{width:40px;height:40px}.\!h-auto{height:auto!important}.h-0{height:0}.h-1{height:.1rem}.h-2{height:.2rem}.h-3{height:.3rem}.h-4{height:.4rem}.h-8{height:.8rem}.h-12{height:1.2rem}.h-14{height:1.4rem}.h-16{height:1.6rem}.h-20{height:2rem}.h-32{height:3.2rem}.h-36{height:3.6rem}.h-40{height:4rem}.h-76{height:7.6rem}.h-\[40px\]{height:40px}.h-\[87px\]{height:87px}.h-\[400px\]{height:400px}.h-\[600px\]{height:600px}.h-auto{height:auto}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-1{max-height:.1rem}.max-h-12{max-height:1.2rem}.max-h-16{max-height:1.6rem}.max-h-200{max-height:20rem}.max-h-\[12px\]{max-height:12px}.max-h-\[15px\]{max-height:15px}.max-h-\[20px\]{max-height:20px}.max-h-\[28px\]{max-height:28px}.max-h-\[40px\]{max-height:40px}.max-h-\[46px\]{max-height:46px}.max-h-\[150px\]{max-height:150px}.min-h-1{min-height:.1rem}.min-h-12{min-height:1.2rem}.min-h-14{min-height:1.4rem}.min-h-16{min-height:1.6rem}.min-h-20{min-height:2rem}.min-h-24{min-height:2.4rem}.min-h-28{min-height:2.8rem}.min-h-36{min-height:3.6rem}.min-h-\[12px\]{min-height:12px}.min-h-\[15px\]{min-height:15px}.min-h-\[20px\]{min-height:20px}.min-h-\[28px\]{min-height:28px}.min-h-\[40px\]{min-height:40px}.min-h-\[46px\]{min-height:46px}.min-h-screen{min-height:100vh}.\!w-full{width:100%!important}.w-0{width:0}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:.2rem}.w-3{width:.3rem}.w-4{width:.4rem}.w-12{width:1.2rem}.w-14{width:1.4rem}.w-16{width:1.6rem}.w-20{width:2rem}.w-32{width:3.2rem}.w-40{width:4rem}.w-64{width:6.4rem}.w-72{width:7.2rem}.w-76{width:7.6rem}.w-80{width:8rem}.w-\[0px\]{width:0}.w-\[1\.5px\]{width:1.5px}.w-\[40px\]{width:40px}.w-\[180px\]{width:180px}.w-\[200px\]{width:200px}.w-\[300px\]{width:300px}.w-\[320px\]{width:320px}.w-\[500px\]{width:500px}.w-\[600px\]{width:600px}.w-\[800px\]{width:800px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-1{max-width:.1rem}.max-w-2xl{max-width:65.6rem}.max-w-4xl{max-width:89.6rem}.max-w-12{max-width:1.2rem}.max-w-16{max-width:1.6rem}.max-w-120{max-width:12rem}.max-w-160{max-width:16rem}.max-w-\[12px\]{max-width:12px}.max-w-\[16px\]{max-width:16px}.max-w-\[28px\]{max-width:28px}.max-w-\[40px\]{max-width:40px}.max-w-\[46px\]{max-width:46px}.max-w-\[300px\]{max-width:300px}.max-w-lg{max-width:80rem}.max-w-md{max-width:64rem}.max-w-sm{max-width:48rem}.min-w-1{min-width:.1rem}.min-w-12{min-width:1.2rem}.min-w-14{min-width:1.4rem}.min-w-20{min-width:2rem}.min-w-24{min-width:2.4rem}.min-w-28{min-width:2.8rem}.min-w-36{min-width:3.6rem}.min-w-\[12px\]{min-width:12px}.min-w-\[16px\]{min-width:16px}.min-w-\[18rem\]{min-width:18rem}.min-w-\[28px\]{min-width:28px}.min-w-\[40px\]{min-width:40px}.min-w-\[46px\]{min-width:46px}.flex-1{flex:1}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-4{--tw-translate-y:.4rem;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-45{rotate:45deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row\!{flex-direction:row!important}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-0\.5{gap:.05rem}.gap-2{gap:.2rem}.gap-4{gap:.4rem}.gap-6{gap:.6rem}.gap-8{gap:.8rem}.gap-10{gap:1rem}.gap-12{gap:1.2rem}.gap-16{gap:1.6rem}.gap-20{gap:2rem}.gap-24{gap:2.4rem}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(.2rem*var(--tw-space-y-reverse));margin-block-end:calc(.2rem*calc(1 - var(--tw-space-y-reverse)))}:where(.-space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(-.4rem *var(--tw-space-x-reverse));margin-inline-end:calc(-.4rem *calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(.2rem*var(--tw-space-x-reverse));margin-inline-end:calc(.2rem*calc(1 - var(--tw-space-x-reverse)))}.self-end{align-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.border,.border-1{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-\[1\.4px\]{border-style:var(--tw-border-style);border-width:1.4px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-\[1px\]{border-style:var(--tw-border-style);border-width:1px}.border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-\[1\.3px\]{border-bottom-style:var(--tw-border-style);border-bottom-width:1.3px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none\!{--tw-border-style:none!important;border-style:none!important}.\!border-blue-500{border-color:#4570eb!important}.\!border-red-500{border-color:#eb4571!important}.border-aqua-500{border-color:#1da696}.border-blue-100{border-color:#dae2fb}.border-blue-200{border-color:#b5c6f7}.border-blue-400{border-color:#6a8def}.border-blue-500{border-color:#4570eb}.border-blue-500\!{border-color:#4570eb!important}.border-blue-600{border-color:#375abc}.border-blue-800{border-color:#1c2d5e}.border-gray-100{border-color:#f0f0f2}.border-gray-200{border-color:#c7c8ca}.border-gray-300{border-color:#abacaf}.border-gray-400{border-color:#8f9095}.border-gray-500{border-color:#72747a}.border-green-500{border-color:#16a85b}.border-red-500{border-color:#eb4571}.border-red-500\!{border-color:#eb4571!important}.border-transparent{border-color:#0000}.border-yellow-500{border-color:var(--color-yellow-500)}.border-t-blue-500{border-top-color:#4570eb}.border-r-blue-300{border-right-color:#8fa9f3}.border-b-blue-200{border-bottom-color:#b5c6f7}.border-b-blue-500{border-bottom-color:#4570eb}.border-b-gray-700{border-bottom-color:#3b3d45}.border-l-blue-400{border-left-color:#6a8def}.\!bg-aqua-100{background-color:#d4f5f1!important}.\!bg-blue-100{background-color:#dae2fb!important}.\!bg-gray-100{background-color:#f0f0f2!important}.\!bg-transparent{background-color:#0000!important}.bg-\[rgb\(243\,244\,246\)\]{background-color:#f3f4f6}.bg-aqua-100{background-color:#d4f5f1}.bg-aqua-500{background-color:#1da696}.bg-black{background-color:var(--color-black)}.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:#dae2fb}.bg-blue-100\/50{background-color:#dae2fb80}.bg-blue-400{background-color:#6a8def}.bg-blue-500{background-color:#4570eb}.bg-blue-600{background-color:#375abc}.bg-blue-800{background-color:#1c2d5e}.bg-blue-900{background-color:var(--color-blue-900)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\/50{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}.bg-gray-100{background-color:#f0f0f2}.bg-gray-100\!{background-color:#f0f0f2!important}.bg-gray-200{background-color:#c7c8ca}.bg-gray-500{background-color:#72747a}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:#16a85b}.bg-light{background-color:#f9fbff}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:#eb4571}.bg-red-500\/20{background-color:#eb457133}.bg-transparent{background-color:#0000}.bg-white{background-color:#fff}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-aqua-500{--tw-gradient-from:#1da696;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500{--tw-gradient-from:#4570eb;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[rgb\(243\,244\,246\)\]{--tw-gradient-to:#f3f4f6;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.\!p-0,.p-0\!{padding:0!important}.p-2{padding:.2rem}.p-3{padding:.3rem}.p-4{padding:.4rem}.p-6{padding:.6rem}.p-8{padding:.8rem}.p-12{padding:1.2rem}.p-16{padding:1.6rem}.p-20{padding:2rem}.p-24{padding:2.4rem}.p-32{padding:3.2rem}.p-40{padding:4rem}.px-2{padding-inline:.2rem}.px-3{padding-inline:.3rem}.px-4{padding-inline:.4rem}.px-6{padding-inline:.6rem}.px-10{padding-inline:1rem}.px-12{padding-inline:1.2rem}.px-14{padding-inline:1.4rem}.px-16{padding-inline:1.6rem}.px-20{padding-inline:2rem}.px-24{padding-inline:2.4rem}.px-32{padding-inline:3.2rem}.px-\[12\.3px\]{padding-inline:12.3px}.py-1{padding-block:.1rem}.py-2{padding-block:.2rem}.py-3{padding-block:.3rem}.py-4{padding-block:.4rem}.py-5{padding-block:.5rem}.py-6{padding-block:.6rem}.py-7{padding-block:.7rem}.py-8{padding-block:.8rem}.py-10{padding-block:1rem}.py-10\!{padding-block:1rem!important}.py-16{padding-block:1.6rem}.py-24{padding-block:2.4rem}.pt-0{padding-top:0}.pt-16{padding-top:1.6rem}.pt-28{padding-top:2.8rem}.pr-\[10px\]{padding-right:10px}.pb-16{padding-bottom:1.6rem}.text-center{text-align:center}.text-start{text-align:start}.indent-\[10000px\]{text-indent:10000px}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-header-1{font-size:2.8rem;font-weight:700;line-height:100%}@media (width>=48rem){.text-header-1{font-size:4rem}}.text-header-4{font-size:1.6rem;font-weight:700;line-height:100%}@media (width>=48rem){.text-header-4{font-size:1.8rem}}.text-2xl{font-size:2rem}.text-3xl{font-size:2.4rem}.text-base{font-size:1.4rem}.text-body-m{font-size:1.6rem}.text-body-s{font-size:1.4rem}.text-header-1{font-size:2.8rem}.text-header-4{font-size:1.6rem}.text-label{font-size:1.2rem}.text-lg{font-size:1.6rem}.text-lg\!{font-size:1.6rem!important}.text-md{font-size:1.3rem}.text-sm{font-size:1.2rem}.text-xl{font-size:1.8rem}.text-xs{font-size:1rem}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.body-l,.body-m,.body-s,.label{line-height:100%}.font-400{--tw-font-weight:400;font-weight:400}.font-500{--tw-font-weight:500;font-weight:500}.font-600{--tw-font-weight:600;font-weight:600}.font-700,.font-bold{--tw-font-weight:700;font-weight:700}.font-medium{--tw-font-weight:500;font-weight:500}.font-normal{--tw-font-weight:400;font-weight:400}.font-semibold{--tw-font-weight:600;font-weight:600}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-nowrap{text-wrap:nowrap}.\!text-gray-300{color:#abacaf!important}.\!text-red-500{color:#eb4571!important}.text-aqua-500{color:#1da696}.text-black{color:var(--color-black)}.text-blue-100{color:#dae2fb}.text-blue-200{color:#b5c6f7}.text-blue-400{color:#6a8def}.text-blue-500{color:#4570eb}.text-blue-500\!{color:#4570eb!important}.text-blue-600{color:#375abc}.text-blue-800{color:#1c2d5e}.text-error{color:#eb4571}.text-gray-300{color:#abacaf}.text-gray-400{color:#8f9095}.text-gray-500{color:#72747a}.text-gray-600{color:#57595f}.text-gray-700{color:#3b3d45}.text-gray-800{color:#1e212a}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:#16a85b}.text-green-800{color:var(--color-green-800)}.text-red-500{color:#eb4571}.text-red-500\!{color:#eb4571!important}.text-red-600{color:#b23456}.text-white{color:#fff}.text-yellow-500{color:var(--color-yellow-500)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.\!caret-transparent{caret-color:#0000!important}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px 0 var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -2px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -1px var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.\!select-none{-webkit-user-select:none!important;user-select:none!important}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-focus-within\:border-blue-500:is(:where(.group):focus-within *){border-color:#4570eb}.group-focus-within\:text-blue-500:is(:where(.group):focus-within *){color:#4570eb}@media (hover:hover){.group-hover\:border-blue-300:is(:where(.group):hover *){border-color:#8fa9f3}.group-hover\:bg-aqua-100:is(:where(.group):hover *){background-color:#d4f5f1}.group-hover\:bg-blue-100:is(:where(.group):hover *){background-color:#dae2fb}.group-hover\:text-aqua-500:is(:where(.group):hover *){color:#1da696}.group-hover\:text-blue-300:is(:where(.group):hover *){color:#8fa9f3}.group-hover\:text-blue-500:is(:where(.group):hover *){color:#4570eb}}.group-disabled\:bg-gray-500:is(:where(.group):disabled *){background-color:#72747a}.placeholder\:font-600::placeholder{--tw-font-weight:600;font-weight:600}.placeholder\:text-gray-400::placeholder{color:#8f9095}@media (hover:hover){.hover\:\!cursor-pointer:hover{cursor:pointer!important}.hover\:border-aqua-600:hover{border-color:#167c70}.hover\:border-blue-400:hover{border-color:#6a8def}.hover\:border-blue-500:hover{border-color:#4570eb}.hover\:border-blue-600:hover{border-color:#375abc}.hover\:border-gray-600:hover{border-color:#57595f}.hover\:border-red-600:hover{border-color:#b23456}.hover\:bg-aqua-100:hover{background-color:#d4f5f1}.hover\:bg-aqua-100\/40:hover{background-color:#d4f5f166}.hover\:bg-aqua-100\/80:hover{background-color:#d4f5f1cc}.hover\:bg-aqua-200\/50:hover{background-color:#7de2d680}.hover\:bg-aqua-600:hover{background-color:#167c70}.hover\:bg-blue-100:hover{background-color:#dae2fb}.hover\:bg-blue-100\/40:hover{background-color:#dae2fb66}.hover\:bg-blue-100\/50:hover{background-color:#dae2fb80}.hover\:bg-blue-100\/80:hover{background-color:#dae2fbcc}.hover\:bg-blue-200:hover{background-color:#b5c6f7}.hover\:bg-blue-600:hover{background-color:#375abc}.hover\:bg-gray-50\/50:hover{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}.hover\:bg-gray-100:hover{background-color:#f0f0f2}.hover\:bg-gray-200:hover{background-color:#c7c8ca}.hover\:bg-gray-600:hover{background-color:#57595f}.hover\:bg-red-500\/30:hover{background-color:#eb45714d}.hover\:bg-red-600:hover{background-color:#b23456}.hover\:text-aqua-500:hover{color:#1da696}.hover\:text-aqua-600:hover{color:#167c70}.hover\:text-blue-500:hover{color:#4570eb}.hover\:text-blue-600:hover{color:#375abc}.hover\:text-gray-500:hover{color:#72747a}.hover\:text-gray-600:hover{color:#57595f}.hover\:text-gray-700:hover{color:#3b3d45}.hover\:text-red-600:hover{color:#b23456}.hover\:text-white:hover{color:#fff}.hover\:opacity-80:hover{opacity:.8}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:border-aqua-700:active{border-color:#0f534b}.active\:border-blue-700:active{border-color:#29438d}.active\:border-gray-700:active{border-color:#3b3d45}.active\:border-red-700:active{border-color:#8f2945}.active\:bg-aqua-100\/20:active{background-color:#d4f5f133}.active\:bg-aqua-100\/50:active{background-color:#d4f5f180}.active\:bg-aqua-200\/70:active{background-color:#7de2d6b3}.active\:bg-aqua-700:active{background-color:#0f534b}.active\:bg-blue-100\/20:active{background-color:#dae2fb33}.active\:bg-blue-100\/50:active{background-color:#dae2fb80}.active\:bg-blue-300\/80:active{background-color:#8fa9f3cc}.active\:bg-blue-700:active{background-color:#29438d}.active\:bg-gray-300:active{background-color:#abacaf}.active\:bg-gray-700:active{background-color:#3b3d45}.active\:bg-red-700:active{background-color:#8f2945}.active\:bg-red-700\/40:active{background-color:#8f294566}.active\:text-aqua-500:active{color:#1da696}.active\:text-aqua-700:active{color:#0f534b}.active\:text-blue-500:active{color:#4570eb}.active\:text-blue-700:active{color:#29438d}.active\:text-gray-700:active{color:#3b3d45}.active\:text-red-700:active{color:#8f2945}.active\:text-white:active{color:#fff}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-100:disabled{background-color:#f0f0f2}.disabled\:text-gray-300:disabled{color:#abacaf}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:placeholder\:text-gray-300:disabled::placeholder{color:#abacaf}@media (width>=48rem){.md\:gap-24{gap:2.4rem}.md\:p-32{padding:3.2rem}.md\:px-0{padding-inline:0}.md\:pt-0{padding-top:0}.md\:pt-4{padding-top:.4rem}.md\:pb-0{padding-bottom:0}.md\:text-lg{font-size:1.6rem}.md\:text-xl{font-size:1.8rem}}@media (width>=64rem){.lg\:p-20{padding:2rem}}*{text-rendering:optimizeLegibility;-o-text-rendering:optimizeLegibility;-ms-text-rendering:optimizeLegibility;-moz-text-rendering:optimizeLegibility;-webkit-text-rendering:optimizeLegibility;-webkit-tap-highlight-color:transparent}button{cursor:pointer}html{color:#000;background-color:#fff;font-size:62.5%}* :focus{outline:none!important}body.no-animate *,body.no-animate :before,body.no-animate :after{transition:none!important;animation:none!important}button:focus{outline:none}input:-webkit-autofill{transitiondelay:9999s;transitionproperty:background-color,color}input:-webkit-autofill:hover{transitiondelay:9999s;transitionproperty:background-color,color}input:-webkit-autofill:focus{transitiondelay:9999s;transitionproperty:background-color,color}input:-webkit-autofill:active{transitiondelay:9999s;transitionproperty:background-color,color}:focus{outline-color:#0000}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}
|
|
1
|
+
/*! tailwindcss v4.0.17 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-500:oklch(.795 .184 86.047);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-800:oklch(.448 .119 151.328);--color-blue-50:oklch(.97 .014 254.604);--color-blue-900:oklch(.379 .146 265.522);--color-purple-500:oklch(.627 .265 303.9);--color-gray-50:oklch(.985 .002 247.839);--color-gray-900:oklch(.21 .034 264.665);--color-black:#000;--tracking-wider:.05em;--leading-normal:1.5;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-feature-settings:initial;font-variation-settings:initial;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:initial;font-variation-settings:initial;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:color-mix(in oklab,currentColor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-top-14{top:-1.4rem}.top-0{top:0}.top-4{top:.4rem}.top-8{top:.8rem}.right-0{right:0}.right-4{right:.4rem}.right-8{right:.8rem}.bottom-0{bottom:0}.bottom-8{bottom:.8rem}.bottom-10{bottom:1rem}.bottom-\[28px\]{bottom:28px}.left-1\/2{left:50%}.left-8{left:.8rem}.left-10{left:1rem}.left-\[13px\]{left:13px}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-9999{z-index:9999}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-16{margin-inline:1.6rem}.mx-auto{margin-inline:auto}.my-8{margin-block:.8rem}.my-128{margin-block:12.8rem}.mt-1{margin-top:.1rem}.mt-2{margin-top:.2rem}.mt-3{margin-top:.3rem}.mt-4{margin-top:.4rem}.mt-6{margin-top:.6rem}.mt-8{margin-top:.8rem}.mt-10{margin-top:1rem}.mt-16{margin-top:1.6rem}.mt-\[0\.5rem\]{margin-top:.5rem}.mr-2{margin-right:.2rem}.mb-2{margin-bottom:.2rem}.mb-4{margin-bottom:.4rem}.mb-6{margin-bottom:.6rem}.mb-8{margin-bottom:.8rem}.mb-16{margin-bottom:1.6rem}.ml-8{margin-left:.8rem}.ml-auto{margin-left:auto}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-12{width:1.2rem;height:1.2rem}.size-16{width:1.6rem;height:1.6rem}.size-24{width:2.4rem;height:2.4rem}.size-\[40px\]{width:40px;height:40px}.\!h-auto{height:auto!important}.h-0{height:0}.h-1{height:.1rem}.h-2{height:.2rem}.h-3{height:.3rem}.h-4{height:.4rem}.h-8{height:.8rem}.h-12{height:1.2rem}.h-14{height:1.4rem}.h-16{height:1.6rem}.h-20{height:2rem}.h-32{height:3.2rem}.h-36{height:3.6rem}.h-40{height:4rem}.h-76{height:7.6rem}.h-\[40px\]{height:40px}.h-\[87px\]{height:87px}.h-\[400px\]{height:400px}.h-\[600px\]{height:600px}.h-auto{height:auto}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-1{max-height:.1rem}.max-h-12{max-height:1.2rem}.max-h-16{max-height:1.6rem}.max-h-200{max-height:20rem}.max-h-\[12px\]{max-height:12px}.max-h-\[15px\]{max-height:15px}.max-h-\[20px\]{max-height:20px}.max-h-\[28px\]{max-height:28px}.max-h-\[40px\]{max-height:40px}.max-h-\[46px\]{max-height:46px}.max-h-\[150px\]{max-height:150px}.min-h-1{min-height:.1rem}.min-h-12{min-height:1.2rem}.min-h-14{min-height:1.4rem}.min-h-16{min-height:1.6rem}.min-h-20{min-height:2rem}.min-h-24{min-height:2.4rem}.min-h-28{min-height:2.8rem}.min-h-36{min-height:3.6rem}.min-h-\[12px\]{min-height:12px}.min-h-\[15px\]{min-height:15px}.min-h-\[20px\]{min-height:20px}.min-h-\[28px\]{min-height:28px}.min-h-\[40px\]{min-height:40px}.min-h-\[46px\]{min-height:46px}.min-h-screen{min-height:100vh}.\!w-full{width:100%!important}.w-0{width:0}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:.2rem}.w-3{width:.3rem}.w-4{width:.4rem}.w-12{width:1.2rem}.w-14{width:1.4rem}.w-16{width:1.6rem}.w-20{width:2rem}.w-32{width:3.2rem}.w-40{width:4rem}.w-64{width:6.4rem}.w-72{width:7.2rem}.w-76{width:7.6rem}.w-80{width:8rem}.w-\[0px\]{width:0}.w-\[1\.5px\]{width:1.5px}.w-\[40px\]{width:40px}.w-\[180px\]{width:180px}.w-\[200px\]{width:200px}.w-\[300px\]{width:300px}.w-\[320px\]{width:320px}.w-\[500px\]{width:500px}.w-\[600px\]{width:600px}.w-\[800px\]{width:800px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-1{max-width:.1rem}.max-w-2xl{max-width:65.6rem}.max-w-4xl{max-width:89.6rem}.max-w-12{max-width:1.2rem}.max-w-16{max-width:1.6rem}.max-w-120{max-width:12rem}.max-w-160{max-width:16rem}.max-w-\[12px\]{max-width:12px}.max-w-\[16px\]{max-width:16px}.max-w-\[28px\]{max-width:28px}.max-w-\[40px\]{max-width:40px}.max-w-\[46px\]{max-width:46px}.max-w-\[300px\]{max-width:300px}.max-w-lg{max-width:80rem}.max-w-md{max-width:64rem}.max-w-sm{max-width:48rem}.min-w-1{min-width:.1rem}.min-w-12{min-width:1.2rem}.min-w-14{min-width:1.4rem}.min-w-20{min-width:2rem}.min-w-24{min-width:2.4rem}.min-w-28{min-width:2.8rem}.min-w-36{min-width:3.6rem}.min-w-\[12px\]{min-width:12px}.min-w-\[16px\]{min-width:16px}.min-w-\[18rem\]{min-width:18rem}.min-w-\[28px\]{min-width:28px}.min-w-\[40px\]{min-width:40px}.min-w-\[46px\]{min-width:46px}.flex-1{flex:1}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-4{--tw-translate-y:.4rem;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-45{rotate:45deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row\!{flex-direction:row!important}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-0\.5{gap:.05rem}.gap-2{gap:.2rem}.gap-4{gap:.4rem}.gap-6{gap:.6rem}.gap-8{gap:.8rem}.gap-10{gap:1rem}.gap-12{gap:1.2rem}.gap-16{gap:1.6rem}.gap-20{gap:2rem}.gap-24{gap:2.4rem}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(.2rem*var(--tw-space-y-reverse));margin-block-end:calc(.2rem*calc(1 - var(--tw-space-y-reverse)))}:where(.-space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(-.4rem *var(--tw-space-x-reverse));margin-inline-end:calc(-.4rem *calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(.2rem*var(--tw-space-x-reverse));margin-inline-end:calc(.2rem*calc(1 - var(--tw-space-x-reverse)))}.self-end{align-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-full{border-top-left-radius:3.40282e38px;border-bottom-left-radius:3.40282e38px}.rounded-r-full{border-top-right-radius:3.40282e38px;border-bottom-right-radius:3.40282e38px}.border,.border-1{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-\[1\.4px\]{border-style:var(--tw-border-style);border-width:1.4px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-\[1px\]{border-style:var(--tw-border-style);border-width:1px}.border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-\[1\.3px\]{border-bottom-style:var(--tw-border-style);border-bottom-width:1.3px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none\!{--tw-border-style:none!important;border-style:none!important}.\!border-blue-500{border-color:#4570eb!important}.\!border-red-500{border-color:#eb4571!important}.border-aqua-500{border-color:#1da696}.border-blue-100{border-color:#dae2fb}.border-blue-200{border-color:#b5c6f7}.border-blue-400{border-color:#6a8def}.border-blue-500{border-color:#4570eb}.border-blue-500\!{border-color:#4570eb!important}.border-blue-600{border-color:#375abc}.border-blue-800{border-color:#1c2d5e}.border-gray-100{border-color:#f0f0f2}.border-gray-200{border-color:#c7c8ca}.border-gray-300{border-color:#abacaf}.border-gray-400{border-color:#8f9095}.border-gray-500{border-color:#72747a}.border-green-500{border-color:#16a85b}.border-red-500{border-color:#eb4571}.border-red-500\!{border-color:#eb4571!important}.border-transparent{border-color:#0000}.border-yellow-500{border-color:var(--color-yellow-500)}.border-t-blue-500{border-top-color:#4570eb}.border-r-blue-300{border-right-color:#8fa9f3}.border-b-blue-200{border-bottom-color:#b5c6f7}.border-b-blue-500{border-bottom-color:#4570eb}.border-b-gray-700{border-bottom-color:#3b3d45}.border-l-blue-400{border-left-color:#6a8def}.\!bg-aqua-100{background-color:#d4f5f1!important}.\!bg-blue-100{background-color:#dae2fb!important}.\!bg-gray-100{background-color:#f0f0f2!important}.\!bg-transparent{background-color:#0000!important}.bg-\[rgb\(243\,244\,246\)\]{background-color:#f3f4f6}.bg-aqua-100{background-color:#d4f5f1}.bg-aqua-500{background-color:#1da696}.bg-black{background-color:var(--color-black)}.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:#dae2fb}.bg-blue-100\/50{background-color:#dae2fb80}.bg-blue-400{background-color:#6a8def}.bg-blue-500{background-color:#4570eb}.bg-blue-600{background-color:#375abc}.bg-blue-800{background-color:#1c2d5e}.bg-blue-900{background-color:var(--color-blue-900)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\/50{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}.bg-gray-100{background-color:#f0f0f2}.bg-gray-100\!{background-color:#f0f0f2!important}.bg-gray-200{background-color:#c7c8ca}.bg-gray-500{background-color:#72747a}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:#16a85b}.bg-light{background-color:#f9fbff}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:#eb4571}.bg-red-500\/20{background-color:#eb457133}.bg-transparent{background-color:#0000}.bg-white{background-color:#fff}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-aqua-500{--tw-gradient-from:#1da696;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500{--tw-gradient-from:#4570eb;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[rgb\(243\,244\,246\)\]{--tw-gradient-to:#f3f4f6;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.\!p-0,.p-0\!{padding:0!important}.p-2{padding:.2rem}.p-3{padding:.3rem}.p-4{padding:.4rem}.p-6{padding:.6rem}.p-8{padding:.8rem}.p-12{padding:1.2rem}.p-16{padding:1.6rem}.p-20{padding:2rem}.p-24{padding:2.4rem}.p-32{padding:3.2rem}.p-40{padding:4rem}.px-2{padding-inline:.2rem}.px-3{padding-inline:.3rem}.px-4{padding-inline:.4rem}.px-6{padding-inline:.6rem}.px-10{padding-inline:1rem}.px-12{padding-inline:1.2rem}.px-14{padding-inline:1.4rem}.px-16{padding-inline:1.6rem}.px-20{padding-inline:2rem}.px-24{padding-inline:2.4rem}.px-32{padding-inline:3.2rem}.px-\[12\.3px\]{padding-inline:12.3px}.py-1{padding-block:.1rem}.py-2{padding-block:.2rem}.py-3{padding-block:.3rem}.py-4{padding-block:.4rem}.py-5{padding-block:.5rem}.py-6{padding-block:.6rem}.py-7{padding-block:.7rem}.py-8{padding-block:.8rem}.py-10{padding-block:1rem}.py-10\!{padding-block:1rem!important}.py-16{padding-block:1.6rem}.py-24{padding-block:2.4rem}.pt-0{padding-top:0}.pt-16{padding-top:1.6rem}.pt-28{padding-top:2.8rem}.pr-\[10px\]{padding-right:10px}.pb-0\!{padding-bottom:0!important}.pb-16{padding-bottom:1.6rem}.text-center{text-align:center}.text-start{text-align:start}.indent-\[10000px\]{text-indent:10000px}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-header-1{font-size:2.8rem;font-weight:700;line-height:100%}@media (width>=48rem){.text-header-1{font-size:4rem}}.text-header-4{font-size:1.6rem;font-weight:700;line-height:100%}@media (width>=48rem){.text-header-4{font-size:1.8rem}}.text-2xl{font-size:2rem}.text-3xl{font-size:2.4rem}.text-base{font-size:1.4rem}.text-body-m{font-size:1.6rem}.text-body-s{font-size:1.4rem}.text-header-1{font-size:2.8rem}.text-header-4{font-size:1.6rem}.text-label{font-size:1.2rem}.text-lg{font-size:1.6rem}.text-lg\!{font-size:1.6rem!important}.text-md{font-size:1.3rem}.text-sm{font-size:1.2rem}.text-xl{font-size:1.8rem}.text-xs{font-size:1rem}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.body-l,.body-m,.body-s,.label{line-height:100%}.font-400{--tw-font-weight:400;font-weight:400}.font-500{--tw-font-weight:500;font-weight:500}.font-600{--tw-font-weight:600;font-weight:600}.font-700,.font-bold{--tw-font-weight:700;font-weight:700}.font-medium{--tw-font-weight:500;font-weight:500}.font-normal{--tw-font-weight:400;font-weight:400}.font-semibold{--tw-font-weight:600;font-weight:600}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-nowrap{text-wrap:nowrap}.\!text-gray-300{color:#abacaf!important}.\!text-red-500{color:#eb4571!important}.text-aqua-500{color:#1da696}.text-black{color:var(--color-black)}.text-blue-100{color:#dae2fb}.text-blue-200{color:#b5c6f7}.text-blue-400{color:#6a8def}.text-blue-500{color:#4570eb}.text-blue-500\!{color:#4570eb!important}.text-blue-600{color:#375abc}.text-blue-800{color:#1c2d5e}.text-error{color:#eb4571}.text-gray-300{color:#abacaf}.text-gray-400{color:#8f9095}.text-gray-500{color:#72747a}.text-gray-600{color:#57595f}.text-gray-700{color:#3b3d45}.text-gray-800{color:#1e212a}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:#16a85b}.text-green-800{color:var(--color-green-800)}.text-red-500{color:#eb4571}.text-red-500\!{color:#eb4571!important}.text-red-600{color:#b23456}.text-white{color:#fff}.text-yellow-500{color:var(--color-yellow-500)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.\!caret-transparent{caret-color:#0000!important}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px 0 var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -2px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -1px var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.\!select-none{-webkit-user-select:none!important;user-select:none!important}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-focus-within\:border-blue-500:is(:where(.group):focus-within *){border-color:#4570eb}.group-focus-within\:text-blue-500:is(:where(.group):focus-within *){color:#4570eb}@media (hover:hover){.group-hover\:border-blue-300:is(:where(.group):hover *){border-color:#8fa9f3}.group-hover\:bg-aqua-100:is(:where(.group):hover *){background-color:#d4f5f1}.group-hover\:bg-blue-100:is(:where(.group):hover *){background-color:#dae2fb}.group-hover\:text-aqua-500:is(:where(.group):hover *){color:#1da696}.group-hover\:text-blue-300:is(:where(.group):hover *){color:#8fa9f3}.group-hover\:text-blue-500:is(:where(.group):hover *){color:#4570eb}}.group-disabled\:bg-gray-500:is(:where(.group):disabled *){background-color:#72747a}.placeholder\:font-600::placeholder{--tw-font-weight:600;font-weight:600}.placeholder\:text-gray-400::placeholder{color:#8f9095}@media (hover:hover){.hover\:\!cursor-pointer:hover{cursor:pointer!important}.hover\:border-aqua-600:hover{border-color:#167c70}.hover\:border-blue-400:hover{border-color:#6a8def}.hover\:border-blue-500:hover{border-color:#4570eb}.hover\:border-blue-600:hover{border-color:#375abc}.hover\:border-gray-600:hover{border-color:#57595f}.hover\:border-red-600:hover{border-color:#b23456}.hover\:bg-aqua-100:hover{background-color:#d4f5f1}.hover\:bg-aqua-100\/40:hover{background-color:#d4f5f166}.hover\:bg-aqua-100\/80:hover{background-color:#d4f5f1cc}.hover\:bg-aqua-200\/50:hover{background-color:#7de2d680}.hover\:bg-aqua-600:hover{background-color:#167c70}.hover\:bg-blue-100:hover{background-color:#dae2fb}.hover\:bg-blue-100\/40:hover{background-color:#dae2fb66}.hover\:bg-blue-100\/50:hover{background-color:#dae2fb80}.hover\:bg-blue-100\/80:hover{background-color:#dae2fbcc}.hover\:bg-blue-200:hover{background-color:#b5c6f7}.hover\:bg-blue-600:hover{background-color:#375abc}.hover\:bg-gray-50\/50:hover{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}.hover\:bg-gray-100:hover{background-color:#f0f0f2}.hover\:bg-gray-200:hover{background-color:#c7c8ca}.hover\:bg-gray-600:hover{background-color:#57595f}.hover\:bg-red-500\/30:hover{background-color:#eb45714d}.hover\:bg-red-600:hover{background-color:#b23456}.hover\:text-aqua-500:hover{color:#1da696}.hover\:text-aqua-600:hover{color:#167c70}.hover\:text-blue-500:hover{color:#4570eb}.hover\:text-blue-600:hover{color:#375abc}.hover\:text-gray-500:hover{color:#72747a}.hover\:text-gray-600:hover{color:#57595f}.hover\:text-gray-700:hover{color:#3b3d45}.hover\:text-red-600:hover{color:#b23456}.hover\:text-white:hover{color:#fff}.hover\:opacity-80:hover{opacity:.8}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:border-aqua-700:active{border-color:#0f534b}.active\:border-blue-700:active{border-color:#29438d}.active\:border-gray-700:active{border-color:#3b3d45}.active\:border-red-700:active{border-color:#8f2945}.active\:bg-aqua-100\/20:active{background-color:#d4f5f133}.active\:bg-aqua-100\/50:active{background-color:#d4f5f180}.active\:bg-aqua-200\/70:active{background-color:#7de2d6b3}.active\:bg-aqua-700:active{background-color:#0f534b}.active\:bg-blue-100\/20:active{background-color:#dae2fb33}.active\:bg-blue-100\/50:active{background-color:#dae2fb80}.active\:bg-blue-300\/80:active{background-color:#8fa9f3cc}.active\:bg-blue-700:active{background-color:#29438d}.active\:bg-gray-300:active{background-color:#abacaf}.active\:bg-gray-700:active{background-color:#3b3d45}.active\:bg-red-700:active{background-color:#8f2945}.active\:bg-red-700\/40:active{background-color:#8f294566}.active\:text-aqua-500:active{color:#1da696}.active\:text-aqua-700:active{color:#0f534b}.active\:text-blue-500:active{color:#4570eb}.active\:text-blue-700:active{color:#29438d}.active\:text-gray-700:active{color:#3b3d45}.active\:text-red-700:active{color:#8f2945}.active\:text-white:active{color:#fff}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-100:disabled{background-color:#f0f0f2}.disabled\:text-gray-300:disabled{color:#abacaf}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:placeholder\:text-gray-300:disabled::placeholder{color:#abacaf}@media (width>=48rem){.md\:gap-24{gap:2.4rem}.md\:p-32{padding:3.2rem}.md\:px-0{padding-inline:0}.md\:pt-0{padding-top:0}.md\:pt-4{padding-top:.4rem}.md\:pb-0{padding-bottom:0}.md\:text-lg{font-size:1.6rem}.md\:text-xl{font-size:1.8rem}}@media (width>=64rem){.lg\:p-20{padding:2rem}}*{text-rendering:optimizeLegibility;-o-text-rendering:optimizeLegibility;-ms-text-rendering:optimizeLegibility;-moz-text-rendering:optimizeLegibility;-webkit-text-rendering:optimizeLegibility;-webkit-tap-highlight-color:transparent}button{cursor:pointer}html{color:#000;background-color:#fff;font-size:62.5%}* :focus{outline:none!important}body.no-animate *,body.no-animate :before,body.no-animate :after{transition:none!important;animation:none!important}button:focus{outline:none}input:-webkit-autofill{transitiondelay:9999s;transitionproperty:background-color,color}input:-webkit-autofill:hover{transitiondelay:9999s;transitionproperty:background-color,color}input:-webkit-autofill:focus{transitiondelay:9999s;transitionproperty:background-color,color}input:-webkit-autofill:active{transitiondelay:9999s;transitionproperty:background-color,color}:focus{outline-color:#0000}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}
|
|
@@ -705,7 +705,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
705
705
|
${u}
|
|
706
706
|
`,onError:O,...d}),x.jsx("div",{className:`
|
|
707
707
|
flex items-center justify-center leading-none text-center absolute
|
|
708
|
-
`,style:{maxWidth:m,maxHeight:m,minWidth:m,minHeight:m},children:A()})]})};function cw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=cw(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function tr(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=cw(e))&&(r&&(r+=" "),r+=t);return r}const uw={filled:"bg-blue-500 text-white hover:bg-blue-600 hover:text-white active:bg-blue-700 active:text-white",transparent:"bg-blue-100 text-blue-500 hover:bg-blue-200 hover:text-blue-600 active:bg-blue-300/80 active:text-blue-700",outline:"bg-transparent border-1 border-blue-500 text-blue-500 hover:text-blue-600 hover:border-blue-600 active:text-blue-700 active:border-blue-700",invisible:"text-blue-500 hover:text-blue-600 active:text-blue-700"},fw={filled:"bg-aqua-500 text-white hover:bg-aqua-600 hover:text-white active:bg-aqua-700 active:text-white",transparent:"bg-aqua-100 text-aqua-500 hover:bg-aqua-200/50 hover:text-aqua-600 active:bg-aqua-200/70 active:text-aqua-700",outline:"bg-transparent border-1 border-aqua-500 text-aqua-500 hover:text-aqua-600 hover:border-aqua-600 active:text-aqua-700 active:border-aqua-700",invisible:"text-aqua-500 hover:text-aqua-600 active:text-aqua-700"},dw={filled:"bg-red-500 text-white hover:bg-red-600 hover:text-white active:bg-red-700 active:text-white",transparent:"bg-red-500/20 text-error hover:bg-red-500/30 hover:text-red-600 active:text-red-700 active:bg-red-700/40",outline:"bg-transparent border-1 border-red-500 text-error hover:text-red-600 hover:border-red-600 active:text-red-700 active:border-red-700",invisible:"text-red-500 hover:text-red-600 active:text-red-700"},hw={filled:"bg-gray-500 text-white hover:bg-gray-600 hover:text-white active:bg-gray-700 active:text-white",transparent:"bg-gray-100 text-gray-500 hover:bg-gray-200 hover:text-gray-600 active:text-gray-700 active:bg-gray-300",outline:"bg-transparent border-1 border-gray-500 text-gray-500 hover:text-gray-600 hover:border-gray-600 active:text-gray-700 active:border-gray-700",invisible:"text-gray-500 hover:text-gray-600 active:text-gray-700"},TL="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-600 text-body-s disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",EL={lg:"gap-12 px-24 py-8 text-lg",base:"gap-8 px-20 py-7",md:"gap-8 px-16 py-6",sm:"gap-4 px-12 py-5",xs:"gap-4 px-6 py-3"},CL=(e="filled",t="blue",n="base")=>{const r=tr(TL,EL[n]),i={blue:uw[e],aqua:fw[e],red:dw[e],gray:hw[e]}[t];return tr(r,i)},PL="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-600 leading-normal disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",AL={lg:"min-h-[46px] max-h-[46px] min-w-[46px] max-w-[46px]",base:"min-h-[40px] max-h-[40px] min-w-[40px] max-w-[40px]",md:"min-h-[28px] max-h-[28px] min-w-[28px] max-w-[28px]",sm:"min-h-[20px] max-h-[20px] min-w-[16px] max-w-[16px]",xs:"min-h-[12px] max-h-[12px] min-w-[12px] max-w-[12px]"},OL={none:"",blue:"shadow-blue-sh hover:shadow-blue-sh active:shadow-blue-sh"},ML=(e="filled",t="blue",n="base",r="none")=>{const i=tr(PL,AL[n],OL[r]),o={blue:uw[e],aqua:fw[e],red:dw[e],gray:hw[e]}[t];return tr(i,o)},_L={lg:"min-h-[20px] max-h-[20px]",base:"min-h-[15px] max-h-[15px]",md:"min-h-[15px] max-h-[15px]",sm:"min-h-[15px] max-h-[15px]",xs:"min-h-[15px] max-h-[15px]"},No=(e="base")=>_L[e],ko=({icon:e,rightIcon:t,color:n,variant:r="filled",size:i="base",children:o,className:a,...c})=>{const{defaultColorScheme:u}=ze(),d=n||u;return x.jsxs("button",{type:"button",className:CL(r,d,i)+" "+a,...c,children:[e&&x.jsx(Ie,{icon:e,className:No(i)}),o,t&&x.jsx(Ie,{icon:t,className:No(i)})]})},mw=({className:e="",direction:t="horizontal"})=>t==="horizontal"?x.jsx("hr",{className:`w-full min-h-1 max-h-1 bg-blue-100 border-blue-100 ${e}`}):x.jsx("hr",{className:`h-full min-w-1 max-w-1 bg-blue-100 border-blue-100 ${e}`}),pw=({open:e,onClose:t,title:n,children:r})=>{const i={hidden:{opacity:0},visible:{opacity:1}},o={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.15}},exit:{opacity:0,scale:.9,transition:{duration:.15}}};return x.jsx(Kn,{children:e&&x.jsx(x.Fragment,{children:x.jsx(Ze.div,{className:"fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:i,onClick:t,children:x.jsx(Ze.div,{className:"w-full max-w-lg mx-16 z-50",variants:o,initial:"hidden",animate:"visible",exit:"exit",onClick:a=>a.stopPropagation(),children:x.jsxs(ys,{className:"flex flex-col gap-16 md:gap-24 p-0!",children:[x.jsxs("div",{className:"flex flex-col gap-16 md:gap-24 md:p-32 md:pb-0",children:[x.jsxs("div",{className:"flex justify-between items-center px-16 pt-16 md:px-0 md:pt-0",children:[n&&x.jsx("h2",{className:"text-black font-700 text-2xl",children:n}),x.jsx(Ie,{icon:eu,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700 ml-auto",onClick:t})]}),n&&x.jsx(mw,{className:"bg-gray-100!"})]}),x.jsx("div",{className:"flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4",children:typeof r=="function"?r(t):r})]})})})})})},IL=({active:e,color:t="blue",variant:n="rounded",className:r,size:i=16,...o})=>{const a={blue:"border-blue-500 bg-blue-500",aqua:"border-aqua-500 bg-aqua-500",red:"border-red-500 bg-red-500",gray:"border-gray-500 bg-gray-500"}[t],c={rounded:"rounded-full",square:"rounded-md"}[n],u=d=>({width:`${d}px`,height:`${d}px`,minWidth:`${d}px`,minHeight:`${d}px`});return x.jsx("div",{className:`relative transition-colors ease-in-out duration-150 flex items-center justify-center ${c} border-[1.5px] bg-white ${e?a:"border-gray-400"} ${r}`,style:u(i),...o,children:x.jsx("div",{className:`absolute transition-colors ease-in-out duration-150 ${c} size-12 ${e?a:""}`,style:u(i*.7)})})};var nh,gw;function DL(){if(gw)return nh;gw=1;function e(w){this._maxSize=w,this.clear()}e.prototype.clear=function(){this._size=0,this._values=Object.create(null)},e.prototype.get=function(w){return this._values[w]},e.prototype.set=function(w,A){return this._size>=this._maxSize&&this.clear(),w in this._values||this._size++,this._values[w]=A};var t=/[^.^\]^[]+|(?=\[\]|\.\.)/g,n=/^\d+$/,r=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,o=/^\s*(['"]?)(.*?)(\1)\s*$/,a=512,c=new e(a),u=new e(a),d=new e(a);nh={Cache:e,split:m,normalizePath:h,setter:function(w){var A=h(w);return u.get(w)||u.set(w,function(D,C){for(var L=0,j=A.length,F=D;L<j-1;){var Y=A[L];if(Y==="__proto__"||Y==="constructor"||Y==="prototype")return D;F=F[A[L++]]}F[A[L]]=C})},getter:function(w,A){var O=h(w);return d.get(w)||d.set(w,function(C){for(var L=0,j=O.length;L<j;)if(C!=null||!A)C=C[O[L++]];else return;return C})},join:function(w){return w.reduce(function(A,O){return A+(y(O)||n.test(O)?"["+O+"]":(A?".":"")+O)},"")},forEach:function(w,A,O){g(Array.isArray(w)?w:m(w),A,O)}};function h(w){return c.get(w)||c.set(w,m(w).map(function(A){return A.replace(o,"$2")}))}function m(w){return w.match(t)||[""]}function g(w,A,O){var D=w.length,C,L,j,F;for(L=0;L<D;L++)C=w[L],C&&(E(C)&&(C='"'+C+'"'),F=y(C),j=!F&&/^\d+$/.test(C),A.call(O,C,F,j,L,w))}function y(w){return typeof w=="string"&&w&&["'",'"'].indexOf(w.charAt(0))!==-1}function S(w){return w.match(r)&&!w.match(n)}function v(w){return i.test(w)}function E(w){return!y(w)&&(S(w)||v(w))}return nh}var fi=DL(),rh,yw;function $L(){if(yw)return rh;yw=1;const e=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,t=h=>h.match(e)||[],n=h=>h[0].toUpperCase()+h.slice(1),r=(h,m)=>t(h).join(m).toLowerCase(),i=h=>t(h).reduce((m,g)=>`${m}${m?g[0].toUpperCase()+g.slice(1).toLowerCase():g.toLowerCase()}`,"");return rh={words:t,upperFirst:n,camelCase:i,pascalCase:h=>n(i(h)),snakeCase:h=>r(h,"_"),kebabCase:h=>r(h,"-"),sentenceCase:h=>n(r(h," ")),titleCase:h=>t(h).map(n).join(" ")},rh}var ih=$L(),dl={exports:{}},vw;function RL(){if(vw)return dl.exports;vw=1,dl.exports=function(i){return e(t(i),i)},dl.exports.array=e;function e(i,o){var a=i.length,c=new Array(a),u={},d=a,h=n(o),m=r(i);for(o.forEach(function(y){if(!m.has(y[0])||!m.has(y[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});d--;)u[d]||g(i[d],d,new Set);return c;function g(y,S,v){if(v.has(y)){var E;try{E=", node was:"+JSON.stringify(y)}catch{E=""}throw new Error("Cyclic dependency"+E)}if(!m.has(y))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(y));if(!u[S]){u[S]=!0;var w=h.get(y)||new Set;if(w=Array.from(w),S=w.length){v.add(y);do{var A=w[--S];g(A,m.get(A),v)}while(S);v.delete(y)}c[--a]=y}}}function t(i){for(var o=new Set,a=0,c=i.length;a<c;a++){var u=i[a];o.add(u[0]),o.add(u[1])}return Array.from(o)}function n(i){for(var o=new Map,a=0,c=i.length;a<c;a++){var u=i[a];o.has(u[0])||o.set(u[0],new Set),o.has(u[1])||o.set(u[1],new Set),o.get(u[0]).add(u[1])}return o}function r(i){for(var o=new Map,a=0,c=i.length;a<c;a++)o.set(i[a],a);return o}return dl.exports}var LL=RL();const NL=_m(LL),kL=Object.prototype.toString,FL=Error.prototype.toString,jL=RegExp.prototype.toString,VL=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",BL=/^Symbol\((.*)\)(.*)$/;function UL(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function bw(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return UL(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return VL.call(e).replace(BL,"Symbol($1)");const r=kL.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+FL.call(e)+"]":r==="RegExp"?jL.call(e):null}function $r(e,t){let n=bw(e,t);return n!==null?n:JSON.stringify(e,function(r,i){let o=bw(this[r],t);return o!==null?o:i},2)}function xw(e){return e==null?[]:[].concat(e)}let ww,Sw,Tw,WL=/\$\{\s*(\w+)\s*\}/g;ww=Symbol.toStringTag;class Ew{constructor(t,n,r,i){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[ww]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=i,this.errors=[],this.inner=[],xw(t).forEach(o=>{if(Ft.isError(o)){this.errors.push(...o.errors);const a=o.inner.length?o.inner:[o];this.inner.push(...a)}else this.errors.push(o)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}Sw=Symbol.hasInstance,Tw=Symbol.toStringTag;class Ft extends Error{static formatError(t,n){const r=n.label||n.path||"this";return n=Object.assign({},n,{path:r,originalPath:n.path}),typeof t=="string"?t.replace(WL,(i,o)=>$r(n[o])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,i,o){const a=new Ew(t,n,r,i);if(o)return a;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[Tw]="Error",this.name=a.name,this.message=a.message,this.type=a.type,this.value=a.value,this.path=a.path,this.errors=a.errors,this.inner=a.inner,Error.captureStackTrace&&Error.captureStackTrace(this,Ft)}static[Sw](t){return Ew[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let jn={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const i=r!=null&&r!==n?` (cast from the value \`${$r(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${$r(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${$r(n,!0)}\``+i}},jt={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},zL={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},sh={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},GL={isValue:"${path} field must be ${value}"},hl={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"};Object.assign(Object.create(null),{mixed:jn,string:jt,number:zL,date:sh,object:hl,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:GL,tuple:{notType:e=>{const{path:t,value:n,spec:r}=e,i=r.types.length;if(Array.isArray(n)){if(n.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${n.length} for value: \`${$r(n,!0)}\``;if(n.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${n.length} for value: \`${$r(n,!0)}\``}return Ft.formatError(jn.notType,e)}}});const oh=e=>e&&e.__isYupSchema__;class ml{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:i,otherwise:o}=n,a=typeof r=="function"?r:(...c)=>c.every(u=>u===r);return new ml(t,(c,u)=>{var d;let h=a(...c)?i:o;return(d=h==null?void 0:h(u))!=null?d:u})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(o=>o.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),i=this.fn(r,t,n);if(i===void 0||i===t)return t;if(!oh(i))throw new TypeError("conditions must return a schema object");return i.resolve(n)}}const pl={context:"$",value:"."};class di{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===pl.context,this.isValue=this.key[0]===pl.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?pl.context:this.isValue?pl.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&fi.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let i=this.isContext?r:this.isValue?t:n;return this.getter&&(i=this.getter(i||{})),this.map&&(i=this.map(i)),i}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}di.prototype.__isYupRef=!0;const hi=e=>e==null;function vs(e){function t({value:n,path:r="",options:i,originalValue:o,schema:a},c,u){const{name:d,test:h,params:m,message:g,skipAbsent:y}=e;let{parent:S,context:v,abortEarly:E=a.spec.abortEarly,disableStackTrace:w=a.spec.disableStackTrace}=i;function A(te){return di.isRef(te)?te.getValue(n,S,v):te}function O(te={}){const me=Object.assign({value:n,originalValue:o,label:a.spec.label,path:te.path||r,spec:a.spec,disableStackTrace:te.disableStackTrace||w},m,te.params);for(const le of Object.keys(me))me[le]=A(me[le]);const de=new Ft(Ft.formatError(te.message||g,me),n,me.path,te.type||d,me.disableStackTrace);return de.params=me,de}const D=E?c:u;let C={path:r,parent:S,type:d,from:i.from,createError:O,resolve:A,options:i,originalValue:o,schema:a};const L=te=>{Ft.isError(te)?D(te):te?u(null):D(O())},j=te=>{Ft.isError(te)?D(te):c(te)};if(y&&hi(n))return L(!0);let Y;try{var ee;if(Y=h.call(C,n,C),typeof((ee=Y)==null?void 0:ee.then)=="function"){if(i.sync)throw new Error(`Validation test of type: "${C.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(Y).then(L,j)}}catch(te){j(te);return}L(Y)}return t.OPTIONS=e,t}function YL(e,t,n,r=n){let i,o,a;return t?(fi.forEach(t,(c,u,d)=>{let h=u?c.slice(1,c.length-1):c;e=e.resolve({context:r,parent:i,value:n});let m=e.type==="tuple",g=d?parseInt(h,10):0;if(e.innerType||m){if(m&&!d)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&g>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${c}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[g],e=m?e.spec.types[g]:e.innerType}if(!d){if(!e.fields||!e.fields[h])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);i=n,n=n&&n[h],e=e.fields[h]}o=h,a=u?"["+c+"]":"."+c}),{schema:e,parent:i,parentPath:o}):{parent:i,parentPath:t,schema:e}}class gl extends Set{describe(){const t=[];for(const n of this.values())t.push(di.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new gl(this.values())}merge(t,n){const r=this.clone();return t.forEach(i=>r.add(i)),n.forEach(i=>r.delete(i)),r}}function bs(e,t=new Map){if(oh(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=bs(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,i]of e.entries())n.set(r,bs(i,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(bs(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,i]of Object.entries(e))n[r]=bs(i,t)}else throw Error(`Unable to clone ${e}`);return n}class Vn{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new gl,this._blacklist=new gl,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(jn.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=bs(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const i=Object.assign({},n.spec,r.spec);return r.spec=i,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(o=>{t.tests.forEach(a=>{o.test(a.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((i,o)=>o.resolve(i,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,i,o;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(i=t.recursive)!=null?i:this.spec.recursive,disableStackTrace:(o=t.disableStackTrace)!=null?o:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),i=n.assert==="ignore-optionality",o=r._cast(t,n);if(n.assert!==!1&&!r.isType(o)){if(i&&hi(o))return o;let a=$r(t),c=$r(o);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
708
|
+
`,style:{maxWidth:m,maxHeight:m,minWidth:m,minHeight:m},children:A()})]})};function cw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=cw(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function tr(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=cw(e))&&(r&&(r+=" "),r+=t);return r}const uw={filled:"bg-blue-500 text-white hover:bg-blue-600 hover:text-white active:bg-blue-700 active:text-white",transparent:"bg-blue-100 text-blue-500 hover:bg-blue-200 hover:text-blue-600 active:bg-blue-300/80 active:text-blue-700",outline:"bg-transparent border-1 border-blue-500 text-blue-500 hover:text-blue-600 hover:border-blue-600 active:text-blue-700 active:border-blue-700",invisible:"text-blue-500 hover:text-blue-600 active:text-blue-700"},fw={filled:"bg-aqua-500 text-white hover:bg-aqua-600 hover:text-white active:bg-aqua-700 active:text-white",transparent:"bg-aqua-100 text-aqua-500 hover:bg-aqua-200/50 hover:text-aqua-600 active:bg-aqua-200/70 active:text-aqua-700",outline:"bg-transparent border-1 border-aqua-500 text-aqua-500 hover:text-aqua-600 hover:border-aqua-600 active:text-aqua-700 active:border-aqua-700",invisible:"text-aqua-500 hover:text-aqua-600 active:text-aqua-700"},dw={filled:"bg-red-500 text-white hover:bg-red-600 hover:text-white active:bg-red-700 active:text-white",transparent:"bg-red-500/20 text-error hover:bg-red-500/30 hover:text-red-600 active:text-red-700 active:bg-red-700/40",outline:"bg-transparent border-1 border-red-500 text-error hover:text-red-600 hover:border-red-600 active:text-red-700 active:border-red-700",invisible:"text-red-500 hover:text-red-600 active:text-red-700"},hw={filled:"bg-gray-500 text-white hover:bg-gray-600 hover:text-white active:bg-gray-700 active:text-white",transparent:"bg-gray-100 text-gray-500 hover:bg-gray-200 hover:text-gray-600 active:text-gray-700 active:bg-gray-300",outline:"bg-transparent border-1 border-gray-500 text-gray-500 hover:text-gray-600 hover:border-gray-600 active:text-gray-700 active:border-gray-700",invisible:"text-gray-500 hover:text-gray-600 active:text-gray-700"},TL="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-600 text-body-s disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",EL={lg:"gap-12 px-24 py-8 text-lg",base:"gap-8 px-20 py-7",md:"gap-8 px-16 py-6",sm:"gap-4 px-12 py-5",xs:"gap-4 px-6 py-3"},CL=(e="filled",t="blue",n="base")=>{const r=tr(TL,EL[n]),i={blue:uw[e],aqua:fw[e],red:dw[e],gray:hw[e]}[t];return tr(r,i)},PL="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-600 leading-normal disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",AL={lg:"min-h-[46px] max-h-[46px] min-w-[46px] max-w-[46px]",base:"min-h-[40px] max-h-[40px] min-w-[40px] max-w-[40px]",md:"min-h-[28px] max-h-[28px] min-w-[28px] max-w-[28px]",sm:"min-h-[20px] max-h-[20px] min-w-[16px] max-w-[16px]",xs:"min-h-[12px] max-h-[12px] min-w-[12px] max-w-[12px]"},OL={none:"",blue:"shadow-blue-sh hover:shadow-blue-sh active:shadow-blue-sh"},ML=(e="filled",t="blue",n="base",r="none")=>{const i=tr(PL,AL[n],OL[r]),o={blue:uw[e],aqua:fw[e],red:dw[e],gray:hw[e]}[t];return tr(i,o)},_L={lg:"min-h-[20px] max-h-[20px]",base:"min-h-[15px] max-h-[15px]",md:"min-h-[15px] max-h-[15px]",sm:"min-h-[15px] max-h-[15px]",xs:"min-h-[15px] max-h-[15px]"},No=(e="base")=>_L[e],ko=({icon:e,rightIcon:t,color:n,variant:r="filled",size:i="base",children:o,className:a,...c})=>{const{defaultColorScheme:u}=ze(),d=n||u;return x.jsxs("button",{type:"button",className:CL(r,d,i)+" "+a,...c,children:[e&&x.jsx(Ie,{icon:e,className:No(i)}),o,t&&x.jsx(Ie,{icon:t,className:No(i)})]})},mw=({className:e="",direction:t="horizontal"})=>t==="horizontal"?x.jsx("hr",{className:`w-full min-h-1 max-h-1 bg-blue-100 border-blue-100 ${e}`}):x.jsx("hr",{className:`h-full min-w-1 max-w-1 bg-blue-100 border-blue-100 ${e}`}),pw=({open:e,onClose:t,title:n,children:r,className:i=""})=>{const o={hidden:{opacity:0},visible:{opacity:1}},a={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.15}},exit:{opacity:0,scale:.9,transition:{duration:.15}}};return x.jsx(Kn,{children:e&&x.jsx(x.Fragment,{children:x.jsx(Ze.div,{className:"fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:o,onClick:t,children:x.jsx(Ze.div,{className:`w-full max-w-lg mx-16 z-50 ${i}`,variants:a,initial:"hidden",animate:"visible",exit:"exit",onClick:c=>c.stopPropagation(),children:x.jsxs(ys,{className:`flex flex-col ${n&&"gap-16 md:gap-24"} p-0!`,children:[x.jsxs("div",{className:"flex flex-col gap-16 md:gap-24 md:p-32 pb-0!",children:[x.jsxs("div",{className:"flex justify-between items-center px-16 pt-16 md:px-0 md:pt-0",children:[n&&x.jsx("h2",{className:"text-black font-700 text-2xl",children:n}),x.jsx(Ie,{icon:eu,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700 ml-auto",onClick:t})]}),n&&x.jsx(mw,{className:"bg-gray-100!"})]}),x.jsx("div",{className:"flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4",children:typeof r=="function"?r(t):r})]})})})})})},IL=({active:e,color:t="blue",variant:n="rounded",className:r,size:i=16,...o})=>{const a={blue:"border-blue-500 bg-blue-500",aqua:"border-aqua-500 bg-aqua-500",red:"border-red-500 bg-red-500",gray:"border-gray-500 bg-gray-500"}[t],c={rounded:"rounded-full",square:"rounded-md"}[n],u=d=>({width:`${d}px`,height:`${d}px`,minWidth:`${d}px`,minHeight:`${d}px`});return x.jsx("div",{className:`relative transition-colors ease-in-out duration-150 flex items-center justify-center ${c} border-[1.5px] bg-white ${e?a:"border-gray-400"} ${r}`,style:u(i),...o,children:x.jsx("div",{className:`absolute transition-colors ease-in-out duration-150 ${c} size-12 ${e?a:""}`,style:u(i*.7)})})};var nh,gw;function DL(){if(gw)return nh;gw=1;function e(w){this._maxSize=w,this.clear()}e.prototype.clear=function(){this._size=0,this._values=Object.create(null)},e.prototype.get=function(w){return this._values[w]},e.prototype.set=function(w,A){return this._size>=this._maxSize&&this.clear(),w in this._values||this._size++,this._values[w]=A};var t=/[^.^\]^[]+|(?=\[\]|\.\.)/g,n=/^\d+$/,r=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,o=/^\s*(['"]?)(.*?)(\1)\s*$/,a=512,c=new e(a),u=new e(a),d=new e(a);nh={Cache:e,split:m,normalizePath:h,setter:function(w){var A=h(w);return u.get(w)||u.set(w,function(D,C){for(var L=0,j=A.length,F=D;L<j-1;){var Y=A[L];if(Y==="__proto__"||Y==="constructor"||Y==="prototype")return D;F=F[A[L++]]}F[A[L]]=C})},getter:function(w,A){var O=h(w);return d.get(w)||d.set(w,function(C){for(var L=0,j=O.length;L<j;)if(C!=null||!A)C=C[O[L++]];else return;return C})},join:function(w){return w.reduce(function(A,O){return A+(y(O)||n.test(O)?"["+O+"]":(A?".":"")+O)},"")},forEach:function(w,A,O){g(Array.isArray(w)?w:m(w),A,O)}};function h(w){return c.get(w)||c.set(w,m(w).map(function(A){return A.replace(o,"$2")}))}function m(w){return w.match(t)||[""]}function g(w,A,O){var D=w.length,C,L,j,F;for(L=0;L<D;L++)C=w[L],C&&(E(C)&&(C='"'+C+'"'),F=y(C),j=!F&&/^\d+$/.test(C),A.call(O,C,F,j,L,w))}function y(w){return typeof w=="string"&&w&&["'",'"'].indexOf(w.charAt(0))!==-1}function S(w){return w.match(r)&&!w.match(n)}function v(w){return i.test(w)}function E(w){return!y(w)&&(S(w)||v(w))}return nh}var fi=DL(),rh,yw;function $L(){if(yw)return rh;yw=1;const e=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,t=h=>h.match(e)||[],n=h=>h[0].toUpperCase()+h.slice(1),r=(h,m)=>t(h).join(m).toLowerCase(),i=h=>t(h).reduce((m,g)=>`${m}${m?g[0].toUpperCase()+g.slice(1).toLowerCase():g.toLowerCase()}`,"");return rh={words:t,upperFirst:n,camelCase:i,pascalCase:h=>n(i(h)),snakeCase:h=>r(h,"_"),kebabCase:h=>r(h,"-"),sentenceCase:h=>n(r(h," ")),titleCase:h=>t(h).map(n).join(" ")},rh}var ih=$L(),dl={exports:{}},vw;function RL(){if(vw)return dl.exports;vw=1,dl.exports=function(i){return e(t(i),i)},dl.exports.array=e;function e(i,o){var a=i.length,c=new Array(a),u={},d=a,h=n(o),m=r(i);for(o.forEach(function(y){if(!m.has(y[0])||!m.has(y[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});d--;)u[d]||g(i[d],d,new Set);return c;function g(y,S,v){if(v.has(y)){var E;try{E=", node was:"+JSON.stringify(y)}catch{E=""}throw new Error("Cyclic dependency"+E)}if(!m.has(y))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(y));if(!u[S]){u[S]=!0;var w=h.get(y)||new Set;if(w=Array.from(w),S=w.length){v.add(y);do{var A=w[--S];g(A,m.get(A),v)}while(S);v.delete(y)}c[--a]=y}}}function t(i){for(var o=new Set,a=0,c=i.length;a<c;a++){var u=i[a];o.add(u[0]),o.add(u[1])}return Array.from(o)}function n(i){for(var o=new Map,a=0,c=i.length;a<c;a++){var u=i[a];o.has(u[0])||o.set(u[0],new Set),o.has(u[1])||o.set(u[1],new Set),o.get(u[0]).add(u[1])}return o}function r(i){for(var o=new Map,a=0,c=i.length;a<c;a++)o.set(i[a],a);return o}return dl.exports}var LL=RL();const NL=_m(LL),kL=Object.prototype.toString,FL=Error.prototype.toString,jL=RegExp.prototype.toString,VL=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",BL=/^Symbol\((.*)\)(.*)$/;function UL(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function bw(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return UL(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return VL.call(e).replace(BL,"Symbol($1)");const r=kL.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+FL.call(e)+"]":r==="RegExp"?jL.call(e):null}function $r(e,t){let n=bw(e,t);return n!==null?n:JSON.stringify(e,function(r,i){let o=bw(this[r],t);return o!==null?o:i},2)}function xw(e){return e==null?[]:[].concat(e)}let ww,Sw,Tw,WL=/\$\{\s*(\w+)\s*\}/g;ww=Symbol.toStringTag;class Ew{constructor(t,n,r,i){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[ww]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=i,this.errors=[],this.inner=[],xw(t).forEach(o=>{if(Ft.isError(o)){this.errors.push(...o.errors);const a=o.inner.length?o.inner:[o];this.inner.push(...a)}else this.errors.push(o)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}Sw=Symbol.hasInstance,Tw=Symbol.toStringTag;class Ft extends Error{static formatError(t,n){const r=n.label||n.path||"this";return n=Object.assign({},n,{path:r,originalPath:n.path}),typeof t=="string"?t.replace(WL,(i,o)=>$r(n[o])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,i,o){const a=new Ew(t,n,r,i);if(o)return a;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[Tw]="Error",this.name=a.name,this.message=a.message,this.type=a.type,this.value=a.value,this.path=a.path,this.errors=a.errors,this.inner=a.inner,Error.captureStackTrace&&Error.captureStackTrace(this,Ft)}static[Sw](t){return Ew[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let jn={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const i=r!=null&&r!==n?` (cast from the value \`${$r(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${$r(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${$r(n,!0)}\``+i}},jt={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},zL={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},sh={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},GL={isValue:"${path} field must be ${value}"},hl={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"};Object.assign(Object.create(null),{mixed:jn,string:jt,number:zL,date:sh,object:hl,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:GL,tuple:{notType:e=>{const{path:t,value:n,spec:r}=e,i=r.types.length;if(Array.isArray(n)){if(n.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${n.length} for value: \`${$r(n,!0)}\``;if(n.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${n.length} for value: \`${$r(n,!0)}\``}return Ft.formatError(jn.notType,e)}}});const oh=e=>e&&e.__isYupSchema__;class ml{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:i,otherwise:o}=n,a=typeof r=="function"?r:(...c)=>c.every(u=>u===r);return new ml(t,(c,u)=>{var d;let h=a(...c)?i:o;return(d=h==null?void 0:h(u))!=null?d:u})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(o=>o.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),i=this.fn(r,t,n);if(i===void 0||i===t)return t;if(!oh(i))throw new TypeError("conditions must return a schema object");return i.resolve(n)}}const pl={context:"$",value:"."};class di{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===pl.context,this.isValue=this.key[0]===pl.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?pl.context:this.isValue?pl.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&fi.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let i=this.isContext?r:this.isValue?t:n;return this.getter&&(i=this.getter(i||{})),this.map&&(i=this.map(i)),i}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}di.prototype.__isYupRef=!0;const hi=e=>e==null;function vs(e){function t({value:n,path:r="",options:i,originalValue:o,schema:a},c,u){const{name:d,test:h,params:m,message:g,skipAbsent:y}=e;let{parent:S,context:v,abortEarly:E=a.spec.abortEarly,disableStackTrace:w=a.spec.disableStackTrace}=i;function A(te){return di.isRef(te)?te.getValue(n,S,v):te}function O(te={}){const me=Object.assign({value:n,originalValue:o,label:a.spec.label,path:te.path||r,spec:a.spec,disableStackTrace:te.disableStackTrace||w},m,te.params);for(const le of Object.keys(me))me[le]=A(me[le]);const de=new Ft(Ft.formatError(te.message||g,me),n,me.path,te.type||d,me.disableStackTrace);return de.params=me,de}const D=E?c:u;let C={path:r,parent:S,type:d,from:i.from,createError:O,resolve:A,options:i,originalValue:o,schema:a};const L=te=>{Ft.isError(te)?D(te):te?u(null):D(O())},j=te=>{Ft.isError(te)?D(te):c(te)};if(y&&hi(n))return L(!0);let Y;try{var ee;if(Y=h.call(C,n,C),typeof((ee=Y)==null?void 0:ee.then)=="function"){if(i.sync)throw new Error(`Validation test of type: "${C.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(Y).then(L,j)}}catch(te){j(te);return}L(Y)}return t.OPTIONS=e,t}function YL(e,t,n,r=n){let i,o,a;return t?(fi.forEach(t,(c,u,d)=>{let h=u?c.slice(1,c.length-1):c;e=e.resolve({context:r,parent:i,value:n});let m=e.type==="tuple",g=d?parseInt(h,10):0;if(e.innerType||m){if(m&&!d)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&g>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${c}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[g],e=m?e.spec.types[g]:e.innerType}if(!d){if(!e.fields||!e.fields[h])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);i=n,n=n&&n[h],e=e.fields[h]}o=h,a=u?"["+c+"]":"."+c}),{schema:e,parent:i,parentPath:o}):{parent:i,parentPath:t,schema:e}}class gl extends Set{describe(){const t=[];for(const n of this.values())t.push(di.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new gl(this.values())}merge(t,n){const r=this.clone();return t.forEach(i=>r.add(i)),n.forEach(i=>r.delete(i)),r}}function bs(e,t=new Map){if(oh(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=bs(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,i]of e.entries())n.set(r,bs(i,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(bs(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,i]of Object.entries(e))n[r]=bs(i,t)}else throw Error(`Unable to clone ${e}`);return n}class Vn{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new gl,this._blacklist=new gl,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(jn.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=bs(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const i=Object.assign({},n.spec,r.spec);return r.spec=i,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(o=>{t.tests.forEach(a=>{o.test(a.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((i,o)=>o.resolve(i,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,i,o;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(i=t.recursive)!=null?i:this.spec.recursive,disableStackTrace:(o=t.disableStackTrace)!=null?o:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),i=n.assert==="ignore-optionality",o=r._cast(t,n);if(n.assert!==!1&&!r.isType(o)){if(i&&hi(o))return o;let a=$r(t),c=$r(o);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
709
709
|
|
|
710
710
|
attempted value: ${a}
|
|
711
711
|
`+(c!==a?`result of cast: ${c}`:""))}return o}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((i,o)=>o.call(this,i,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,i){let{path:o,originalValue:a=t,strict:c=this.spec.strict}=n,u=t;c||(u=this._cast(u,Object.assign({assert:!1},n)));let d=[];for(let h of Object.values(this.internalTests))h&&d.push(h);this.runTests({path:o,value:u,originalValue:a,options:n,tests:d},r,h=>{if(h.length)return i(h,u);this.runTests({path:o,value:u,originalValue:a,options:n,tests:this.tests},r,i)})}runTests(t,n,r){let i=!1,{tests:o,value:a,originalValue:c,path:u,options:d}=t,h=v=>{i||(i=!0,n(v,a))},m=v=>{i||(i=!0,r(v,a))},g=o.length,y=[];if(!g)return m([]);let S={value:a,originalValue:c,path:u,options:d,schema:this};for(let v=0;v<o.length;v++){const E=o[v];E(S,h,function(A){A&&(Array.isArray(A)?y.push(...A):y.push(A)),--g<=0&&m(y)})}}asNestedTest({key:t,index:n,parent:r,parentPath:i,originalParent:o,options:a}){const c=t??n;if(c==null)throw TypeError("Must include `key` or `index` for nested validations");const u=typeof c=="number";let d=r[c];const h=Object.assign({},a,{strict:!0,parent:r,value:d,originalValue:o[c],key:void 0,[u?"index":"key"]:c,path:u||c.includes(".")?`${i||""}[${u?c:`"${c}"`}]`:(i?`${i}.`:"")+t});return(m,g,y)=>this.resolve(h)._validate(d,h,g,y)}validate(t,n){var r;let i=this.resolve(Object.assign({},n,{value:t})),o=(r=n==null?void 0:n.disableStackTrace)!=null?r:i.spec.disableStackTrace;return new Promise((a,c)=>i._validate(t,n,(u,d)=>{Ft.isError(u)&&(u.value=d),c(u)},(u,d)=>{u.length?c(new Ft(u,d,void 0,void 0,o)):a(d)}))}validateSync(t,n){var r;let i=this.resolve(Object.assign({},n,{value:t})),o,a=(r=n==null?void 0:n.disableStackTrace)!=null?r:i.spec.disableStackTrace;return i._validate(t,Object.assign({},n,{sync:!0}),(c,u)=>{throw Ft.isError(c)&&(c.value=u),c},(c,u)=>{if(c.length)throw new Ft(c,t,void 0,void 0,a);o=u}),o}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(Ft.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(Ft.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):bs(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=vs({message:n,name:"nullable",test(i){return i===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=vs({message:n,name:"optionality",test(i){return i===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=jn.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=jn.notNull){return this.nullability(!1,t)}required(t=jn.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=jn.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),i=vs(n),o=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(a=>!(a.OPTIONS.name===n.name&&(o||a.OPTIONS.test===i.OPTIONS.test))),r.tests.push(i),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),i=xw(t).map(o=>new di(o));return i.forEach(o=>{o.isSibling&&r.deps.push(o.key)}),r.conditions.push(typeof n=="function"?new ml(i,n):ml.fromOptions(i,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=vs({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=jn.oneOf){let r=this.clone();return t.forEach(i=>{r._whitelist.add(i),r._blacklist.delete(i)}),r.internalTests.whiteList=vs({message:n,name:"oneOf",skipAbsent:!0,test(i){let o=this.schema._whitelist,a=o.resolveAll(this.resolve);return a.includes(i)?!0:this.createError({params:{values:Array.from(o).join(", "),resolved:a}})}}),r}notOneOf(t,n=jn.notOneOf){let r=this.clone();return t.forEach(i=>{r._blacklist.add(i),r._whitelist.delete(i)}),r.internalTests.blacklist=vs({message:n,name:"notOneOf",test(i){let o=this.schema._blacklist,a=o.resolveAll(this.resolve);return a.includes(i)?this.createError({params:{values:Array.from(o).join(", "),resolved:a}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:i,optional:o,nullable:a}=n.spec;return{meta:i,label:r,optional:o,nullable:a,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(u=>({name:u.OPTIONS.name,params:u.OPTIONS.params})).filter((u,d,h)=>h.findIndex(m=>m.name===u.name)===d)}}}Vn.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])Vn.prototype[`${e}At`]=function(t,n,r={}){const{parent:i,parentPath:o,schema:a}=YL(this,t,n,r.context);return a[e](i&&i[o],Object.assign({},r,{parent:i,path:t}))};for(const e of["equals","is"])Vn.prototype[e]=Vn.prototype.oneOf;for(const e of["not","nope"])Vn.prototype[e]=Vn.prototype.notOneOf;const HL=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function qL(e){const t=ah(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(n=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}function ah(e){var t,n;const r=HL.exec(e);return r?{year:nr(r[1]),month:nr(r[2],1)-1,day:nr(r[3],1),hour:nr(r[4]),minute:nr(r[5]),second:nr(r[6]),millisecond:r[7]?nr(r[7].substring(0,3)):0,precision:(t=(n=r[7])==null?void 0:n.length)!=null?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:nr(r[10]),minuteOffset:nr(r[11])}:null}function nr(e,t=0){return Number(e)||t}let KL=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,XL=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,ZL=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,JL="^\\d{4}-\\d{2}-\\d{2}",QL="\\d{2}:\\d{2}:\\d{2}",eN="(([+-]\\d{2}(:?\\d{2})?)|Z)",tN=new RegExp(`${JL}T${QL}(\\.\\d+)?${eN}$`),nN=e=>hi(e)||e===e.trim(),rN={}.toString();function Rr(){return new Cw}class Cw extends Vn{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const i=t!=null&&t.toString?t.toString():t;return i===rN?t:i})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||jn.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=jt.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=jt.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=jt.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,i,o;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:i,name:o}=n:i=n),this.test({name:o||"matches",message:i||jt.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=jt.email){return this.matches(KL,{name:"email",message:t,excludeEmptyString:!0})}url(t=jt.url){return this.matches(XL,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=jt.uuid){return this.matches(ZL,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let n="",r,i;return t&&(typeof t=="object"?{message:n="",allowOffset:r=!1,precision:i=void 0}=t:n=t),this.matches(tN,{name:"datetime",message:n||jt.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||jt.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:o=>{if(!o||r)return!0;const a=ah(o);return a?!!a.z:!1}}).test({name:"datetime_precision",message:n||jt.datetime_precision,params:{precision:i},skipAbsent:!0,test:o=>{if(!o||i==null)return!0;const a=ah(o);return a?a.precision===i:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=jt.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:nN})}lowercase(t=jt.lowercase){return this.transform(n=>hi(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>hi(n)||n===n.toLowerCase()})}uppercase(t=jt.uppercase){return this.transform(n=>hi(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>hi(n)||n===n.toUpperCase()})}}Rr.prototype=Cw.prototype;let iN=new Date(""),sN=e=>Object.prototype.toString.call(e)==="[object Date]";class lh extends Vn{constructor(){super({type:"date",check(t){return sN(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=qL(t),isNaN(t)?lh.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(di.isRef(t))r=t;else{let i=this.cast(t);if(!this._typeCheck(i))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=i}return r}min(t,n=sh.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(i){return i>=this.resolve(r)}})}max(t,n=sh.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(i){return i<=this.resolve(r)}})}}lh.INVALID_DATE=iN;function oN(e,t=[]){let n=[],r=new Set,i=new Set(t.map(([a,c])=>`${a}-${c}`));function o(a,c){let u=fi.split(a)[0];r.add(u),i.has(`${c}-${u}`)||n.push([c,u])}for(const a of Object.keys(e)){let c=e[a];r.add(a),di.isRef(c)&&c.isSibling?o(c.path,a):oh(c)&&"deps"in c&&c.deps.forEach(u=>o(u,a))}return NL.array(Array.from(r),n).reverse()}function Pw(e,t){let n=1/0;return e.some((r,i)=>{var o;if((o=t.path)!=null&&o.includes(r))return n=i,!0}),n}function Aw(e){return(t,n)=>Pw(e,t)-Pw(e,n)}const aN=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function yl(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=yl(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=yl(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(yl)}):"optional"in e?e.optional():e}const lN=(e,t)=>{const n=[...fi.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),i=fi.getter(fi.join(n),!0)(e);return!!(i&&r in i)};let Ow=e=>Object.prototype.toString.call(e)==="[object Object]";function Mw(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const cN=Aw([]);function ch(e){return new _w(e)}class _w extends Vn{constructor(t){super({type:"object",check(n){return Ow(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=cN,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let i=super._cast(t,n);if(i===void 0)return this.getDefault(n);if(!this._typeCheck(i))return i;let o=this.fields,a=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,c=[].concat(this._nodes,Object.keys(i).filter(m=>!this._nodes.includes(m))),u={},d=Object.assign({},n,{parent:u,__validating:n.__validating||!1}),h=!1;for(const m of c){let g=o[m],y=m in i;if(g){let S,v=i[m];d.path=(n.path?`${n.path}.`:"")+m,g=g.resolve({value:v,context:n.context,parent:u});let E=g instanceof Vn?g.spec:void 0,w=E==null?void 0:E.strict;if(E!=null&&E.strip){h=h||m in i;continue}S=!n.__validating||!w?g.cast(i[m],d):i[m],S!==void 0&&(u[m]=S)}else y&&!a&&(u[m]=i[m]);(y!==m in u||u[m]!==i[m])&&(h=!0)}return h?u:i}_validate(t,n={},r,i){let{from:o=[],originalValue:a=t,recursive:c=this.spec.recursive}=n;n.from=[{schema:this,value:a},...o],n.__validating=!0,n.originalValue=a,super._validate(t,n,r,(u,d)=>{if(!c||!Ow(d)){i(u,d);return}a=a||d;let h=[];for(let m of this._nodes){let g=this.fields[m];!g||di.isRef(g)||h.push(g.asNestedTest({options:n,key:m,parent:d,parentPath:n.path,originalParent:a}))}this.runTests({tests:h,value:d,originalValue:a,options:n},r,m=>{i(m.sort(this._sortErrors).concat(u),d)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[i,o]of Object.entries(this.fields)){const a=r[i];r[i]=a===void 0?o:a}return n.withMutation(i=>i.setFields(r,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let n={};return this._nodes.forEach(r=>{var i;const o=this.fields[r];let a=t;(i=a)!=null&&i.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[r]})),n[r]=o&&"getDefault"in o?o.getDefault(a):void 0}),n}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=oN(t,n),r._sortErrors=Aw(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let i=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),i=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),i)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return yl(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n,this._excludedEdges.filter(([r,i])=>t.includes(r)&&t.includes(i)))}omit(t){const n=[];for(const r of Object.keys(this.fields))t.includes(r)||n.push(r);return this.pick(n)}from(t,n,r){let i=fi.getter(t,!0);return this.transform(o=>{if(!o)return o;let a=o;return lN(o,t)&&(a=Object.assign({},o),r||delete a[t],a[n]=i(o)),a})}json(){return this.transform(aN)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||hl.exact,test(n){if(n==null)return!0;const r=Mw(this.schema,n);return r.length===0||this.createError({params:{properties:r.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,n=hl.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(i){if(i==null)return!0;const o=Mw(this.schema,i);return!t||o.length===0||this.createError({params:{unknown:o.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=hl.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const i of Object.keys(n))r[t(i)]=n[i];return r})}camelCase(){return this.transformKeys(ih.camelCase)}snakeCase(){return this.transformKeys(ih.snakeCase)}constantCase(){return this.transformKeys(t=>ih.snakeCase(t).toUpperCase())}describe(t){const n=(t?this.resolve(t):this).clone(),r=super.describe(t);r.fields={};for(const[o,a]of Object.entries(n.fields)){var i;let c=t;(i=c)!=null&&i.value&&(c=Object.assign({},c,{parent:c.value,value:c.value[o]})),r.fields[o]=a.describe(c)}return r}}ch.prototype=_w.prototype,ch().shape({labelES:Rr().required(),label:Rr().required(),code:Rr().required(),codeISO2:Rr().required(),phone:Rr().required()});const Iw=[{labelES:"Afganistán",label:"Afghanistan",codeISO2:"AF",code:"AFG",phone:"93"},{labelES:"Albania",label:"Albania",codeISO2:"AL",code:"ALB",phone:"355"},{labelES:"Alemania",label:"Germany",codeISO2:"DE",code:"DEU",phone:"49"},{labelES:"Andorra",label:"Andorra",codeISO2:"AD",code:"AND",phone:"376"},{labelES:"Angola",label:"Angola",codeISO2:"AO",code:"AGO",phone:"244"},{labelES:"Anguila",label:"Anguilla",codeISO2:"AI",code:"AIA",phone:"1 264"},{labelES:"Antártida",label:"Antarctica",codeISO2:"AQ",code:"ATA",phone:"672"},{labelES:"Antigua y Barbuda",label:"Antigua and Barbuda",codeISO2:"AG",code:"ATG",phone:"1 268"},{labelES:"Arabia Saudita",label:"Saudi Arabia",codeISO2:"SA",code:"SAU",phone:"966"},{labelES:"Argelia",label:"Algeria",codeISO2:"DZ",code:"DZA",phone:"213"},{labelES:"Argentina",label:"Argentina",codeISO2:"AR",code:"ARG",phone:"54"},{labelES:"Armenia",label:"Armenia",codeISO2:"AM",code:"ARM",phone:"374"},{labelES:"Aruba",label:"Aruba",codeISO2:"AW",code:"ABW",phone:"297"},{labelES:"Australia",label:"Australia",codeISO2:"AU",code:"AUS",phone:"61"},{labelES:"Austria",label:"Austria",codeISO2:"AT",code:"AUT",phone:"43"},{labelES:"Azerbaiyán",label:"Azerbaijan",codeISO2:"AZ",code:"AZE",phone:"994"},{labelES:"Bélgica",label:"Belgium",codeISO2:"BE",code:"BEL",phone:"32"},{labelES:"Bahamas",label:"Bahamas",codeISO2:"BS",code:"BHS",phone:"1 242"},{labelES:"Bahrein",label:"Bahrain",codeISO2:"BH",code:"BHR",phone:"973"},{labelES:"Bangladesh",label:"Bangladesh",codeISO2:"BD",code:"BGD",phone:"880"},{labelES:"Barbados",label:"Barbados",codeISO2:"BB",code:"BRB",phone:"1 246"},{labelES:"Belice",label:"Belize",codeISO2:"BZ",code:"BLZ",phone:"501"},{labelES:"Benín",label:"Benin",codeISO2:"BJ",code:"BEN",phone:"229"},{labelES:"Bhután",label:"Bhutan",codeISO2:"BT",code:"BTN",phone:"975"},{labelES:"Bielorrusia",label:"Belarus",codeISO2:"BY",code:"BLR",phone:"375"},{labelES:"Birmania",label:"Myanmar",codeISO2:"MM",code:"MMR",phone:"95"},{labelES:"Bolivia",label:"Bolivia",codeISO2:"BO",code:"BOL",phone:"591"},{labelES:"Bosnia y Herzegovina",label:"Bosnia and Herzegovina",codeISO2:"BA",code:"BIH",phone:"387"},{labelES:"Botsuana",label:"Botswana",codeISO2:"BW",code:"BWA",phone:"267"},{labelES:"Brasil",label:"Brazil",codeISO2:"BR",code:"BRA",phone:"55"},{labelES:"Brunéi",label:"Brunei",codeISO2:"BN",code:"BRN",phone:"673"},{labelES:"Bulgaria",label:"Bulgaria",codeISO2:"BG",code:"BGR",phone:"359"},{labelES:"Burkina Faso",label:"Burkina Faso",codeISO2:"BF",code:"BFA",phone:"226"},{labelES:"Burundi",label:"Burundi",codeISO2:"BI",code:"BDI",phone:"257"},{labelES:"Cabo Verde",label:"Cape Verde",codeISO2:"CV",code:"CPV",phone:"238"},{labelES:"Camboya",label:"Cambodia",codeISO2:"KH",code:"KHM",phone:"855"},{labelES:"Camerún",label:"Cameroon",codeISO2:"CM",code:"CMR",phone:"237"},{labelES:"Canadá",label:"Canada",codeISO2:"CA",code:"CAN",phone:"1"},{labelES:"Chad",label:"Chad",codeISO2:"TD",code:"TCD",phone:"235"},{labelES:"Chile",label:"Chile",codeISO2:"CL",code:"CHL",phone:"56"},{labelES:"China",label:"China",codeISO2:"CN",code:"CHN",phone:"86"},{labelES:"Chipre",label:"Cyprus",codeISO2:"CY",code:"CYP",phone:"357"},{labelES:"Ciudad del Vaticano",label:"Vatican City State",codeISO2:"VA",code:"VAT",phone:"39"},{labelES:"Colombia",label:"Colombia",codeISO2:"CO",code:"COL",phone:"57"},{labelES:"Comoras",label:"Comoros",codeISO2:"KM",code:"COM",phone:"269"},{labelES:"República del Congo",label:"Republic of the Congo",codeISO2:"CG",code:"COG",phone:"242"},{labelES:"República Democrática del Congo",label:"Democratic Republic of the Congo",codeISO2:"CD",code:"COD",phone:"243"},{labelES:"Corea del Norte",label:"North Korea",codeISO2:"KP",code:"PRK",phone:"850"},{labelES:"Corea del Sur",label:"South Korea",codeISO2:"KR",code:"KOR",phone:"82"},{labelES:"Costa de Marfil",label:"Ivory Coast",codeISO2:"CI",code:"CIV",phone:"225"},{labelES:"Costa Rica",label:"Costa Rica",codeISO2:"CR",code:"CRI",phone:"506"},{labelES:"Croacia",label:"Croatia",codeISO2:"HR",code:"HRV",phone:"385"},{labelES:"Cuba",label:"Cuba",codeISO2:"CU",code:"CUB",phone:"53"},{labelES:"Curazao",label:"Curaçao",codeISO2:"CW",code:"CWU",phone:"5999"},{labelES:"Dinamarca",label:"Denmark",codeISO2:"DK",code:"DNK",phone:"45"},{labelES:"Dominica",label:"Dominica",codeISO2:"DM",code:"DMA",phone:"1 767"},{labelES:"Ecuador",label:"Ecuador",codeISO2:"EC",code:"ECU",phone:"593"},{labelES:"Egipto",label:"Egypt",codeISO2:"EG",code:"EGY",phone:"20"},{labelES:"El Salvador",label:"El Salvador",codeISO2:"SV",code:"SLV",phone:"503"},{labelES:"Emiratos Árabes Unidos",label:"United Arab Emirates",codeISO2:"AE",code:"ARE",phone:"971"},{labelES:"Eritrea",label:"Eritrea",codeISO2:"ER",code:"ERI",phone:"291"},{labelES:"Eslovaquia",label:"Slovakia",codeISO2:"SK",code:"SVK",phone:"421"},{labelES:"Eslovenia",label:"Slovenia",codeISO2:"SI",code:"SVN",phone:"386"},{labelES:"España",label:"Spain",codeISO2:"ES",code:"ESP",phone:"34"},{labelES:"Estados Unidos de América",label:"United States of America",codeISO2:"US",code:"USA",phone:"1"},{labelES:"Estonia",label:"Estonia",codeISO2:"EE",code:"EST",phone:"372"},{labelES:"Etiopía",label:"Ethiopia",codeISO2:"ET",code:"ETH",phone:"251"},{labelES:"Filipinas",label:"Philippines",codeISO2:"PH",code:"PHL",phone:"63"},{labelES:"Finlandia",label:"Finland",codeISO2:"FI",code:"FIN",phone:"358"},{labelES:"Fiyi",label:"Fiji",codeISO2:"FJ",code:"FJI",phone:"679"},{labelES:"Francia",label:"France",codeISO2:"FR",code:"FRA",phone:"33"},{labelES:"Gabón",label:"Gabon",codeISO2:"GA",code:"GAB",phone:"241"},{labelES:"Gambia",label:"Gambia",codeISO2:"GM",code:"GMB",phone:"220"},{labelES:"Georgia",label:"Georgia",codeISO2:"GE",code:"GEO",phone:"995"},{labelES:"Ghana",label:"Ghana",codeISO2:"GH",code:"GHA",phone:"233"},{labelES:"Gibraltar",label:"Gibraltar",codeISO2:"GI",code:"GIB",phone:"350"},{labelES:"Granada",label:"Grenada",codeISO2:"GD",code:"GRD",phone:"1 473"},{labelES:"Grecia",label:"Greece",codeISO2:"GR",code:"GRC",phone:"30"},{labelES:"Groenlandia",label:"Greenland",codeISO2:"GL",code:"GRL",phone:"299"},{labelES:"Guadalupe",label:"Guadeloupe",codeISO2:"GP",code:"GLP",phone:"590"},{labelES:"Guam",label:"Guam",codeISO2:"GU",code:"GUM",phone:"1 671"},{labelES:"Guatemala",label:"Guatemala",codeISO2:"GT",code:"GTM",phone:"502"},{labelES:"Guayana Francesa",label:"French Guiana",codeISO2:"GF",code:"GUF",phone:"594"},{labelES:"Guernsey",label:"Guernsey",codeISO2:"GG",code:"GGY",phone:"44"},{labelES:"Guinea",label:"Guinea",codeISO2:"GN",code:"GIN",phone:"224"},{labelES:"Guinea Ecuatorial",label:"Equatorial Guinea",codeISO2:"GQ",code:"GNQ",phone:"240"},{labelES:"Guinea-Bissau",label:"Guinea-Bissau",codeISO2:"GW",code:"GNB",phone:"245"},{labelES:"Guyana",label:"Guyana",codeISO2:"GY",code:"GUY",phone:"592"},{labelES:"Haití",label:"Haiti",codeISO2:"HT",code:"HTI",phone:"509"},{labelES:"Honduras",label:"Honduras",codeISO2:"HN",code:"HND",phone:"504"},{labelES:"Hong kong",label:"Hong Kong",codeISO2:"HK",code:"HKG",phone:"852"},{labelES:"Hungría",label:"Hungary",codeISO2:"HU",code:"HUN",phone:"36"},{labelES:"India",label:"India",codeISO2:"IN",code:"IND",phone:"91"},{labelES:"Indonesia",label:"Indonesia",codeISO2:"ID",code:"IDN",phone:"62"},{labelES:"Irán",label:"Iran",codeISO2:"IR",code:"IRN",phone:"98"},{labelES:"Irak",label:"Iraq",codeISO2:"IQ",code:"IRQ",phone:"964"},{labelES:"Irlanda",label:"Ireland",codeISO2:"IE",code:"IRL",phone:"353"},{labelES:"Isla Bouvet",label:"Bouvet Island",codeISO2:"BV",code:"BVT",phone:""},{labelES:"Isla de Man",label:"Isle of Man",codeISO2:"IM",code:"IMN",phone:"44"},{labelES:"Isla de Navidad",label:"Christmas Island",codeISO2:"CX",code:"CXR",phone:"61"},{labelES:"Isla Norfolk",label:"Norfolk Island",codeISO2:"NF",code:"NFK",phone:"672"},{labelES:"Islandia",label:"Iceland",codeISO2:"IS",code:"ISL",phone:"354"},{labelES:"Islas Bermudas",label:"Bermuda Islands",codeISO2:"BM",code:"BMU",phone:"1 441"},{labelES:"Islas Caimán",label:"Cayman Islands",codeISO2:"KY",code:"CYM",phone:"1 345"},{labelES:"Islas Cocos (Keeling)",label:"Cocos (Keeling) Islands",codeISO2:"CC",code:"CCK",phone:"61"},{labelES:"Islas Cook",label:"Cook Islands",codeISO2:"CK",code:"COK",phone:"682"},{labelES:"Islas de Åland",label:"Åland Islands",codeISO2:"AX",code:"ALA",phone:"358"},{labelES:"Islas Feroe",label:"Faroe Islands",codeISO2:"FO",code:"FRO",phone:"298"},{labelES:"Islas Georgias del Sur y Sandwich del Sur",label:"South Georgia and the South Sandwich Islands",codeISO2:"GS",code:"SGS",phone:"500"},{labelES:"Islas Heard y McDonald",label:"Heard Island and McDonald Islands",codeISO2:"HM",code:"HMD",phone:""},{labelES:"Islas Maldivas",label:"Maldives",codeISO2:"MV",code:"MDV",phone:"960"},{labelES:"Islas Malvinas",label:"Falkland Islands (Malvinas)",codeISO2:"FK",code:"FLK",phone:"500"},{labelES:"Islas Marianas del Norte",label:"Northern Mariana Islands",codeISO2:"MP",code:"MNP",phone:"1 670"},{labelES:"Islas Marshall",label:"Marshall Islands",codeISO2:"MH",code:"MHL",phone:"692"},{labelES:"Islas Pitcairn",label:"Pitcairn Islands",codeISO2:"PN",code:"PCN",phone:"870"},{labelES:"Islas Salomón",label:"Solomon Islands",codeISO2:"SB",code:"SLB",phone:"677"},{labelES:"Islas Turcas y Caicos",label:"Turks and Caicos Islands",codeISO2:"TC",code:"TCA",phone:"1 649"},{labelES:"Islas Ultramarinas Menores de Estados Unidos",label:"United States Minor Outlying Islands",codeISO2:"UM",code:"UMI",phone:"246"},{labelES:"Islas Vírgenes Británicas",label:"Virgin Islands",codeISO2:"VG",code:"VGB",phone:"1 284"},{labelES:"Islas Vírgenes de los Estados Unidos",label:"United States Virgin Islands",codeISO2:"VI",code:"VIR",phone:"1 340"},{labelES:"Israel",label:"Israel",codeISO2:"IL",code:"ISR",phone:"972"},{labelES:"Italia",label:"Italy",codeISO2:"IT",code:"ITA",phone:"39"},{labelES:"Jamaica",label:"Jamaica",codeISO2:"JM",code:"JAM",phone:"1 876"},{labelES:"Japón",label:"Japan",codeISO2:"JP",code:"JPN",phone:"81"},{labelES:"Jersey",label:"Jersey",codeISO2:"JE",code:"JEY",phone:"44"},{labelES:"Jordania",label:"Jordan",codeISO2:"JO",code:"JOR",phone:"962"},{labelES:"Kazajistán",label:"Kazakhstan",codeISO2:"KZ",code:"KAZ",phone:"7"},{labelES:"Kenia",label:"Kenya",codeISO2:"KE",code:"KEN",phone:"254"},{labelES:"Kirguistán",label:"Kyrgyzstan",codeISO2:"KG",code:"KGZ",phone:"996"},{labelES:"Kiribati",label:"Kiribati",codeISO2:"KI",code:"KIR",phone:"686"},{labelES:"Kuwait",label:"Kuwait",codeISO2:"KW",code:"KWT",phone:"965"},{labelES:"Líbano",label:"Lebanon",codeISO2:"LB",code:"LBN",phone:"961"},{labelES:"Laos",label:"Laos",codeISO2:"LA",code:"LAO",phone:"856"},{labelES:"Lesoto",label:"Lesotho",codeISO2:"LS",code:"LSO",phone:"266"},{labelES:"Letonia",label:"Latvia",codeISO2:"LV",code:"LVA",phone:"371"},{labelES:"Liberia",label:"Liberia",codeISO2:"LR",code:"LBR",phone:"231"},{labelES:"Libia",label:"Libya",codeISO2:"LY",code:"LBY",phone:"218"},{labelES:"Liechtenstein",label:"Liechtenstein",codeISO2:"LI",code:"LIE",phone:"423"},{labelES:"Lituania",label:"Lithuania",codeISO2:"LT",code:"LTU",phone:"370"},{labelES:"Luxemburgo",label:"Luxembourg",codeISO2:"LU",code:"LUX",phone:"352"},{labelES:"México",label:"Mexico",codeISO2:"MX",code:"MEX",phone:"52"},{labelES:"Mónaco",label:"Monaco",codeISO2:"MC",code:"MCO",phone:"377"},{labelES:"Macao",label:"Macao",codeISO2:"MO",code:"MAC",phone:"853"},{labelES:"Macedônia",label:"Macedonia",codeISO2:"MK",code:"MKD",phone:"389"},{labelES:"Madagascar",label:"Madagascar",codeISO2:"MG",code:"MDG",phone:"261"},{labelES:"Malasia",label:"Malaysia",codeISO2:"MY",code:"MYS",phone:"60"},{labelES:"Malawi",label:"Malawi",codeISO2:"MW",code:"MWI",phone:"265"},{labelES:"Mali",label:"Mali",codeISO2:"ML",code:"MLI",phone:"223"},{labelES:"Malta",label:"Malta",codeISO2:"MT",code:"MLT",phone:"356"},{labelES:"Marruecos",label:"Morocco",codeISO2:"MA",code:"MAR",phone:"212"},{labelES:"Martinica",label:"Martinique",codeISO2:"MQ",code:"MTQ",phone:"596"},{labelES:"Mauricio",label:"Mauritius",codeISO2:"MU",code:"MUS",phone:"230"},{labelES:"Mauritania",label:"Mauritania",codeISO2:"MR",code:"MRT",phone:"222"},{labelES:"Mayotte",label:"Mayotte",codeISO2:"YT",code:"MYT",phone:"262"},{labelES:"Micronesia",label:"Estados Federados de",codeISO2:"FM",code:"FSM",phone:"691"},{labelES:"Moldavia",label:"Moldova",codeISO2:"MD",code:"MDA",phone:"373"},{labelES:"Mongolia",label:"Mongolia",codeISO2:"MN",code:"MNG",phone:"976"},{labelES:"Montenegro",label:"Montenegro",codeISO2:"ME",code:"MNE",phone:"382"},{labelES:"Montserrat",label:"Montserrat",codeISO2:"MS",code:"MSR",phone:"1 664"},{labelES:"Mozambique",label:"Mozambique",codeISO2:"MZ",code:"MOZ",phone:"258"},{labelES:"Namibia",label:"Namibia",codeISO2:"NA",code:"NAM",phone:"264"},{labelES:"Nauru",label:"Nauru",codeISO2:"NR",code:"NRU",phone:"674"},{labelES:"Nepal",label:"Nepal",codeISO2:"NP",code:"NPL",phone:"977"},{labelES:"Nicaragua",label:"Nicaragua",codeISO2:"NI",code:"NIC",phone:"505"},{labelES:"Niger",label:"Niger",codeISO2:"NE",code:"NER",phone:"227"},{labelES:"Nigeria",label:"Nigeria",codeISO2:"NG",code:"NGA",phone:"234"},{labelES:"Niue",label:"Niue",codeISO2:"NU",code:"NIU",phone:"683"},{labelES:"Noruega",label:"Norway",codeISO2:"NO",code:"NOR",phone:"47"},{labelES:"Nueva Caledonia",label:"New Caledonia",codeISO2:"NC",code:"NCL",phone:"687"},{labelES:"Nueva Zelanda",label:"New Zealand",codeISO2:"NZ",code:"NZL",phone:"64"},{labelES:"Omán",label:"Oman",codeISO2:"OM",code:"OMN",phone:"968"},{labelES:"Países Bajos",label:"Netherlands",codeISO2:"NL",code:"NLD",phone:"31"},{labelES:"Pakistán",label:"Pakistan",codeISO2:"PK",code:"PAK",phone:"92"},{labelES:"Palau",label:"Palau",codeISO2:"PW",code:"PLW",phone:"680"},{labelES:"Palestina",label:"Palestine",codeISO2:"PS",code:"PSE",phone:"970"},{labelES:"Panamá",label:"Panama",codeISO2:"PA",code:"PAN",phone:"507"},{labelES:"Papúa Nueva Guinea",label:"Papua New Guinea",codeISO2:"PG",code:"PNG",phone:"675"},{labelES:"Paraguay",label:"Paraguay",codeISO2:"PY",code:"PRY",phone:"595"},{labelES:"Perú",label:"Peru",codeISO2:"PE",code:"PER",phone:"51"},{labelES:"Polinesia Francesa",label:"French Polynesia",codeISO2:"PF",code:"PYF",phone:"689"},{labelES:"Polonia",label:"Poland",codeISO2:"PL",code:"POL",phone:"48"},{labelES:"Portugal",label:"Portugal",codeISO2:"PT",code:"PRT",phone:"351"},{labelES:"Puerto Rico",label:"Puerto Rico",codeISO2:"PR",code:"PRI",phone:"1"},{labelES:"Qatar",label:"Qatar",codeISO2:"QA",code:"QAT",phone:"974"},{labelES:"Reino Unido",label:"United Kingdom",codeISO2:"GB",code:"GBR",phone:"44"},{labelES:"República Centroafricana",label:"Central African Republic",codeISO2:"CF",code:"CAF",phone:"236"},{labelES:"República Checa",label:"Czech Republic",codeISO2:"CZ",code:"CZE",phone:"420"},{labelES:"República Dominicana",label:"Dominican Republic",codeISO2:"DO",code:"DOM",phone:"1 809"},{labelES:"República de Sudán del Sur",label:"South Sudan",codeISO2:"SS",code:"SSD",phone:"211"},{labelES:"Reunión",label:"Réunion",codeISO2:"RE",code:"REU",phone:"262"},{labelES:"Ruanda",label:"Rwanda",codeISO2:"RW",code:"RWA",phone:"250"},{labelES:"Rumanía",label:"Romania",codeISO2:"RO",code:"ROU",phone:"40"},{labelES:"Rusia",label:"Russia",codeISO2:"RU",code:"RUS",phone:"7"},{labelES:"Sahara Occidental",label:"Western Sahara",codeISO2:"EH",code:"ESH",phone:"212"},{labelES:"Samoa",label:"Samoa",codeISO2:"WS",code:"WSM",phone:"685"},{labelES:"Samoa Americana",label:"American Samoa",codeISO2:"AS",code:"ASM",phone:"1 684"},{labelES:"San Bartolomé",label:"Saint Barthélemy",codeISO2:"BL",code:"BLM",phone:"590"},{labelES:"San Cristóbal y Nieves",label:"Saint Kitts and Nevis",codeISO2:"KN",code:"KNA",phone:"1 869"},{labelES:"San Marino",label:"San Marino",codeISO2:"SM",code:"SMR",phone:"378"},{labelES:"San Martín (Francia)",label:"Saint Martin (French part)",codeISO2:"MF",code:"MAF",phone:"1 599"},{labelES:"San Pedro y Miquelón",label:"Saint Pierre and Miquelon",codeISO2:"PM",code:"SPM",phone:"508"},{labelES:"San Vicente y las Granadinas",label:"Saint Vincent and the Grenadines",codeISO2:"VC",code:"VCT",phone:"1 784"},{labelES:"Santa Elena",label:"Ascensión y Tristán de Acuña",codeISO2:"SH",code:"SHN",phone:"290"},{labelES:"Santa Lucía",label:"Saint Lucia",codeISO2:"LC",code:"LCA",phone:"1 758"},{labelES:"Santo Tomé y Príncipe",label:"Sao Tome and Principe",codeISO2:"ST",code:"STP",phone:"239"},{labelES:"Senegal",label:"Senegal",codeISO2:"SN",code:"SEN",phone:"221"},{labelES:"Serbia",label:"Serbia",codeISO2:"RS",code:"SRB",phone:"381"},{labelES:"Seychelles",label:"Seychelles",codeISO2:"SC",code:"SYC",phone:"248"},{labelES:"Sierra Leona",label:"Sierra Leone",codeISO2:"SL",code:"SLE",phone:"232"},{labelES:"Singapur",label:"Singapore",codeISO2:"SG",code:"SGP",phone:"65"},{labelES:"Sint Maarten",label:"Sint Maarten",codeISO2:"SX",code:"SMX",phone:"1 721"},{labelES:"Siria",label:"Syria",codeISO2:"SY",code:"SYR",phone:"963"},{labelES:"Somalia",label:"Somalia",codeISO2:"SO",code:"SOM",phone:"252"},{labelES:"Sri lanka",label:"Sri Lanka",codeISO2:"LK",code:"LKA",phone:"94"},{labelES:"Sudáfrica",label:"South Africa",codeISO2:"ZA",code:"ZAF",phone:"27"},{labelES:"Sudán",label:"Sudan",codeISO2:"SD",code:"SDN",phone:"249"},{labelES:"Suecia",label:"Sweden",codeISO2:"SE",code:"SWE",phone:"46"},{labelES:"Suiza",label:"Switzerland",codeISO2:"CH",code:"CHE",phone:"41"},{labelES:"Surinám",label:"Suriname",codeISO2:"SR",code:"SUR",phone:"597"},{labelES:"Svalbard y Jan Mayen",label:"Svalbard and Jan Mayen",codeISO2:"SJ",code:"SJM",phone:"47"},{labelES:"Swazilandia",label:"Swaziland",codeISO2:"SZ",code:"SWZ",phone:"268"},{labelES:"Tayikistán",label:"Tajikistan",codeISO2:"TJ",code:"TJK",phone:"992"},{labelES:"Tailandia",label:"Thailand",codeISO2:"TH",code:"THA",phone:"66"},{labelES:"Taiwán",label:"Taiwan",codeISO2:"TW",code:"TWN",phone:"886"},{labelES:"Tanzania",label:"Tanzania",codeISO2:"TZ",code:"TZA",phone:"255"},{labelES:"Territorio Británico del Océano Índico",label:"British Indian Ocean Territory",codeISO2:"IO",code:"IOT",phone:"246"},{labelES:"Territorios Australes y Antárticas Franceses",label:"French Southern Territories",codeISO2:"TF",code:"ATF",phone:""},{labelES:"Timor Oriental",label:"East Timor",codeISO2:"TL",code:"TLS",phone:"670"},{labelES:"Togo",label:"Togo",codeISO2:"TG",code:"TGO",phone:"228"},{labelES:"Tokelau",label:"Tokelau",codeISO2:"TK",code:"TKL",phone:"690"},{labelES:"Tonga",label:"Tonga",codeISO2:"TO",code:"TON",phone:"676"},{labelES:"Trinidad y Tobago",label:"Trinidad and Tobago",codeISO2:"TT",code:"TTO",phone:"1 868"},{labelES:"Tunez",label:"Tunisia",codeISO2:"TN",code:"TUN",phone:"216"},{labelES:"Turkmenistán",label:"Turkmenistan",codeISO2:"TM",code:"TKM",phone:"993"},{labelES:"Turquía",label:"Turkey",codeISO2:"TR",code:"TUR",phone:"90"},{labelES:"Tuvalu",label:"Tuvalu",codeISO2:"TV",code:"TUV",phone:"688"},{labelES:"Ucrania",label:"Ukraine",codeISO2:"UA",code:"UKR",phone:"380"},{labelES:"Uganda",label:"Uganda",codeISO2:"UG",code:"UGA",phone:"256"},{labelES:"Uruguay",label:"Uruguay",codeISO2:"UY",code:"URY",phone:"598"},{labelES:"Uzbekistán",label:"Uzbekistan",codeISO2:"UZ",code:"UZB",phone:"998"},{labelES:"Vanuatu",label:"Vanuatu",codeISO2:"VU",code:"VUT",phone:"678"},{labelES:"Venezuela",label:"Venezuela",codeISO2:"VE",code:"VEN",phone:"58"},{labelES:"Vietnam",label:"Vietnam",codeISO2:"VN",code:"VNM",phone:"84"},{labelES:"Wallis y Futuna",label:"Wallis and Futuna",codeISO2:"WF",code:"WLF",phone:"681"},{labelES:"Yemen",label:"Yemen",codeISO2:"YE",code:"YEM",phone:"967"},{labelES:"Yibuti",label:"Djibouti",codeISO2:"DJ",code:"DJI",phone:"253"},{labelES:"Zambia",label:"Zambia",codeISO2:"ZM",code:"ZMB",phone:"260"},{labelES:"Zimbabue",label:"Zimbabwe",codeISO2:"ZW",code:"ZWE",phone:"263"}],uN=({countries:e=Iw,name:t,control:n,label:r="select_a_country",placeholder:i="type_to_search",language:o="en",className:a="",translateKey:c})=>{var Ce,Ue,ne;const{t:u}=ze(),{field:d,fieldState:h}=hr.useController({name:t,control:n,rules:{validate:{}},defaultValue:null}),[m,g]=I.useState(!1),[y,S]=I.useState(""),[v,E]=I.useState(d.value||null),w=I.useRef(null),A=I.useRef(null),O=I.useRef(null),{x:D,y:C,strategy:L,refs:j,context:F,placement:Y,middlewareData:ee}=hs({open:m,onOpenChange:g,middleware:[cs(8),fs(),us({padding:8}),ul({apply({availableHeight:ye,elements:Ne}){Object.assign(Ne.floating.style,{maxHeight:`${Math.min(ye-10,300)}px`})},padding:8}),$o({element:A})],placement:"bottom-start",whileElementsMounted:ls}),te=Ro(F),me=ds(F),{getReferenceProps:de,getFloatingProps:le}=ms([te,me]),{isMounted:re,styles:ie}=Lo(F,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),U=(Array.isArray(e)?e:[]).filter(ye=>{if(!y.trim())return!0;const Ne=o==="es"&&ye.labelES?ye.labelES.toLowerCase():ye.label.toLowerCase(),ft=ye.code?ye.code.toLowerCase():"";return Ne.includes(y.toLowerCase())||ft.includes(y.toLowerCase())}),H=ye=>{E(ye),g(!1),S(""),d.onChange(ye)},M=()=>{g(!m),!m&&w.current&&setTimeout(()=>{var ye;(ye=w.current)==null||ye.focus()},100)},N=()=>{setTimeout(()=>{m||d.onBlur()},200)};I.useEffect(()=>{E(d.value)},[d.value]),I.useEffect(()=>{const ye=Ne=>{O.current&&!O.current.contains(Ne.target)&&d.onBlur()};return document.addEventListener("mousedown",ye),()=>{document.removeEventListener("mousedown",ye)}},[d]);const K=ye=>{var Ne;return ye?ye.codeISO2?ye.codeISO2.toLowerCase():((Ne=ye.code)==null?void 0:Ne.toLowerCase())||"":""},Q=(Ce=ee.arrow)==null?void 0:Ce.x,ue=(Ue=ee.arrow)==null?void 0:Ue.y,X={top:"bottom",right:"left",bottom:"top",left:"right"}[Y.split("-")[0]],ce=de({onClick:M,onBlur:N}),he=u(r),oe=u(i),ge=(ne=h.error)==null?void 0:ne.message;return x.jsxs("div",{ref:O,className:`w-full relative flex flex-col gap-8 ${a}`,children:[x.jsx("label",{className:`text-gray-600 font-600 group ${ge&&"!text-red-500"} text-label`,children:he}),x.jsxs("div",{ref:j.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer border transition-all duration-200 hover:border-blue-400 ${ge&&"border-red-500 hover:border-red-600"} ${re?"border-blue-400":"border-blue-100"}`,...ce,tabIndex:0,children:[v!=null&&v.code?x.jsxs("div",{className:"flex items-center w-full gap-10",children:[K(v)&&x.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${K(v)}.png`,srcSet:`https://flagcdn.com/w40/${K(v)}.png 2x`,alt:v.label,onError:ye=>{ye.currentTarget.style.display="none"}}),x.jsxs("span",{className:"flex-grow font-600 text-body-m",children:[o==="es"&&v.labelES?v.labelES:v.label,v.code?` (${v.code})`:u("select_country")]})]}):x.jsx("span",{className:"text-gray-400 font-600 text-body-m",children:oe}),x.jsx("svg",{className:`w-16 h-16 transition-transform ${m?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:x.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),ge&&x.jsx("p",{className:"mt-1 text-sm text-red-600",children:u(ge,{x:u(c||"")||u(t)})}),re&&x.jsxs("div",{ref:j.setFloating,style:{position:L,top:C??0,left:D??0,...ie},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...le(),children:[x.jsx("div",{ref:A,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:Q!=null?`${Q}px`:"",top:ue!=null?`${ue}px`:"",right:"",bottom:"",[X]:"-2px",borderRight:X==="left"?"1px solid":"none",borderBottom:X==="top"?"1px solid":"none",borderLeft:X==="right"?"1px solid":"none",borderTop:X==="bottom"?"1px solid":"none"}}),x.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:x.jsx("input",{ref:w,type:"text",className:"w-full p-16 text-body-s",placeholder:u("search")+"...",value:y,onChange:ye=>S(ye.target.value),onClick:ye=>ye.stopPropagation(),onBlur:ye=>{ye.stopPropagation()},autoFocus:!0})}),x.jsx("div",{children:U.length>0?x.jsx("ul",{className:"flex flex-col",children:U.map((ye,Ne)=>{var mi;const ft=ye.codeISO2?ye.codeISO2.toLowerCase():((mi=ye.code)==null?void 0:mi.toLowerCase())||"";return x.jsxs("li",{className:"flex items-center gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:dt=>{dt.stopPropagation(),H(ye)},children:[ft&&x.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${ft}.png`,srcSet:`https://flagcdn.com/w40/${ft}.png 2x`,alt:ye.label,onError:dt=>{dt.currentTarget.style.display="none"}}),x.jsxs("span",{children:[o==="es"&&ye.labelES?ye.labelES:ye.label,ye.code?` (${ye.code})`:"Country not found"]})]},`${ye.code}-${Ne}`)})}):x.jsx("div",{className:"px-16 py-8 text-gray-500 text-body-s",children:u("no_countries_found")})})]})]})},fN=({country:e})=>{const t=n=>{var r;return n?n.codeISO2?n.codeISO2.toLowerCase():((r=n.code)==null?void 0:r.toLowerCase())||"":""};return x.jsxs("div",{className:"flex items-center gap-8",children:[x.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${t(e)}.png`,srcSet:`https://flagcdn.com/w40/${t(e)}.png 2x`,alt:e.label,onError:n=>{n.currentTarget.style.display="none"}}),x.jsx("p",{className:"text-body-s text-gray-600",children:e.label})]})},dN=({countries:e,name:t,control:n,label:r="select_a_country",placeholder:i="type_to_search",language:o="en",className:a=""})=>{const{t:c}=ze();return x.jsx(hr.Controller,{name:t,control:n,render:({field:{onChange:u,value:d},fieldState:{error:h}})=>x.jsx(hN,{countries:e,value:d,onChange:u,label:c(r),placeholder:c(i),language:o,error:h==null?void 0:h.message,className:a})})},hN=({countries:e,value:t,onChange:n,label:r="select_a_country",placeholder:i="type_to_search",language:o="en",error:a,className:c=""})=>{var Q,ue;const{t:u}=ze(),[d,h]=I.useState(!1),[m,g]=I.useState(""),[y,S]=I.useState(t||null),v=I.useRef(null),E=I.useRef(null),{x:w,y:A,strategy:O,refs:D,context:C,placement:L,middlewareData:j}=hs({open:d,onOpenChange:h,middleware:[cs(8),fs(),us({padding:8}),ul({apply({availableHeight:X,elements:ce}){Object.assign(ce.floating.style,{maxHeight:`${Math.min(X-10,300)}px`})},padding:8}),$o({element:E})],placement:"bottom-start",whileElementsMounted:ls}),F=Ro(C),Y=ds(C),{getReferenceProps:ee,getFloatingProps:te}=ms([F,Y]),{isMounted:me,styles:de}=Lo(C,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),re=(Array.isArray(e)?e:[]).filter(X=>{if(!m.trim())return!0;const ce=o==="es"&&X.labelES?X.labelES.toLowerCase():X.label.toLowerCase(),he=X.code?X.code.toLowerCase():"";return ce.includes(m.toLowerCase())||he.includes(m.toLowerCase())}),ie=X=>{S(X),h(!1),g(""),n(X)},B=()=>{h(!d),!d&&v.current&&setTimeout(()=>{var X;(X=v.current)==null||X.focus()},100)};I.useEffect(()=>{S(t)},[t]);const U=X=>{var ce;return X?X.codeISO2?X.codeISO2.toLowerCase():((ce=X.code)==null?void 0:ce.toLowerCase())||"":""},H=(Q=j.arrow)==null?void 0:Q.x,M=(ue=j.arrow)==null?void 0:ue.y,N={top:"bottom",right:"left",bottom:"top",left:"right"}[L.split("-")[0]],K=ee({onClick:B});return x.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${c}`,children:[x.jsx("label",{className:`text-gray-600 font-600 group ${a&&"!text-red-500"} text-label`,children:r}),x.jsxs("div",{ref:D.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer border transition-all duration-200 hover:border-blue-400 ${a&&"border-red-500 hover:border-red-600"} ${me?"border-blue-400":"border-blue-100"}`,...K,children:[y!=null&&y.code?x.jsxs("div",{className:"flex items-center w-full",children:[U(y)&&x.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${U(y)}.png`,srcSet:`https://flagcdn.com/w40/${U(y)}.png 2x`,alt:y.label,onError:X=>{X.currentTarget.style.display="none"}}),x.jsxs("span",{className:"flex-grow",children:[o==="es"&&y.labelES?y.labelES:y.label,y.code?` (${y.code})`:u("select_country")]})]}):x.jsx("span",{className:"text-gray-500",children:i}),x.jsx("svg",{className:`w-16 h-16 transition-transform ${d?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:x.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),a&&x.jsx("p",{className:"mt-1 text-sm text-red-600",children:a}),me&&x.jsxs("div",{ref:D.setFloating,style:{position:O,top:A??0,left:w??0,...de},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...te(),children:[x.jsx("div",{ref:E,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:H!=null?`${H}px`:"",top:M!=null?`${M}px`:"",right:"",bottom:"",[N]:"-2px",borderRight:N==="left"?"1px solid":"none",borderBottom:N==="top"?"1px solid":"none",borderLeft:N==="right"?"1px solid":"none",borderTop:N==="bottom"?"1px solid":"none"}}),x.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:x.jsx("input",{ref:v,type:"text",className:"w-full p-16",placeholder:u("search")+"...",value:m,onChange:X=>g(X.target.value),onClick:X=>X.stopPropagation(),autoFocus:!0})}),x.jsx("div",{children:re.length>0?x.jsx("ul",{className:"flex flex-col",children:re.map((X,ce)=>{var oe;const he=X.codeISO2?X.codeISO2.toLowerCase():((oe=X.code)==null?void 0:oe.toLowerCase())||"";return x.jsxs("li",{className:"flex items-center gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:ge=>{ge.stopPropagation(),ie(X)},children:[he&&x.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${he}.png`,srcSet:`https://flagcdn.com/w40/${he}.png 2x`,alt:X.label,onError:ge=>{ge.currentTarget.style.display="none"}}),x.jsxs("span",{children:[o==="es"&&X.labelES?X.labelES:X.label,X.code?` (${X.code})`:"Country not found"]})]},`${X.code}-${ce}`)})}):x.jsx("div",{className:"px-3 py-2 text-gray-500",children:"No countries found"})})]})]})},uh=({variant:e="filled",color:t,size:n="base",shadow:r="none",icon:i,iconProps:o={},children:a,className:c,...u})=>{const{defaultColorScheme:d}=ze(),h=t||d;return x.jsx("button",{...u,className:`${ML(e,h,n,r)} ${c}`,children:i?x.jsx(Ie,{...o,className:No(n),icon:i}):a})};function mN(e){return e!==null&&typeof e=="object"&&"name"in e&&"size"in e&&"type"in e&&typeof e.name=="string"&&typeof e.size=="number"&&typeof e.type=="string"}const pN=({src:e,alt:t,isEditable:n=!1,onChange:r,className:i="",name:o,control:a,user:c})=>{const[u,d]=I.useState(e||null),[h,m]=I.useState(!!e),g=I.useRef(null),y=hr.useController({name:o,control:a}),S=!!a;I.useEffect(()=>{if(S){const A=y==null?void 0:y.field.value;if(mN(A)){const O=URL.createObjectURL(A);return d(O),m(!0),()=>URL.revokeObjectURL(O)}else typeof A=="string"&&A&&A!==e?(d(A),m(!0)):e?(d(e),m(!0)):(d(null),m(!1))}},[y==null?void 0:y.field.value,e]);const v=()=>{var A;n&&((A=g.current)==null||A.click())},E=A=>{var D;const O=(D=A.target.files)==null?void 0:D[0];if(O){const C=URL.createObjectURL(O);d(C),m(!0),S&&(y==null||y.field.onChange(O)),r&&r(O)}},w=A=>{A.stopPropagation(),d(null),m(!1),g.current&&(g.current.value=""),S&&(y==null||y.field.onChange(null)),r&&r(null)};return x.jsxs("div",{className:"relative flex items-center gap-10",children:[n&&h&&x.jsx("button",{type:"button",onClick:w,className:"bg-red-500 text-white rounded-full w-20 h-20 flex items-center justify-center hover:bg-red-600 focus:outline-none","aria-label":"Eliminar imagen",children:x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[x.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),x.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),x.jsxs("div",{className:`relative flex items-center justify-center h-40 w-40 ${n?"cursor-pointer hover:opacity-80":""} ${i}`,onClick:v,children:[u?x.jsx("img",{src:u,alt:t,className:"w-full h-full object-cover rounded-full"}):x.jsx(lw,{size:60,user:c}),n&&x.jsxs(x.Fragment,{children:[x.jsx("input",{type:"file",ref:A=>{g.current=A,y&&y.field.ref(A)},onChange:E,onBlur:y==null?void 0:y.field.onBlur,accept:"image/*",className:"hidden"}),!h&&x.jsx("div",{className:"absolute bottom-0 right-0 bg-blue-100 rounded-full h-20 w-20 flex items-center justify-center",children:x.jsx(Ie,{icon:V5,className:"text-blue-500"})})]})]})]})},gN=ch({name:Rr(),base64:Rr()}),yN=({imageUrl:e,title:t,subtitle:n})=>x.jsxs("section",{className:"gap-10 flex flex-col items-center justify-center",children:[x.jsx("img",{src:e,alt:t,width:100,height:100}),x.jsx("h1",{className:"font-bold text-2xl align-middle",children:t}),x.jsx("p",{className:"text-lg align-middle font-semibold text-gray-500",children:n})]}),vN=e=>{switch(e){case"warning":return"bg-yellow-50 border-2 border-yellow-500";case"error":return"bg-red-50 border-2 border-red-500";default:return"bg-blue-50 border-2 border-blue-500"}},bN=({description:e,title:t,className:n,icon:r,type:i="informative"})=>x.jsxs("div",{className:`flex items-center gap-12 p-12 w-full ${vN(i)} rounded-lg ${n}`,children:[r?x.jsx(Ie,{icon:r,className:"text-blue-500 min-h-20 h-20"}):x.jsx(Ie,{icon:Q6,className:"text-blue-500 min-h-20 h-20"}),x.jsxs("div",{className:"flex flex-col gap-4",children:[x.jsx("h4",{className:"text-body-s font-500 text-black leading-none",children:t}),x.jsx("p",{className:"text-gray-600 text-body-s leading-none",children:e})]})]}),xN=({size:e=16,strokeWidth:t=2,color:n="#1DA696",...r})=>{const i=(e-t)/2,o=2*Math.PI*i,{className:a="",...c}=r;return x.jsx("div",{...c,className:`relative flex items-center justify-center ${a}`,children:x.jsx("svg",{height:e,width:e,className:"animate-spin",children:x.jsx("circle",{stroke:n,fill:"transparent",strokeWidth:t,strokeDasharray:o+" "+o,strokeDashoffset:o/4,r:i,cx:e/2,cy:e/2})})})},wN=({label:e,control:t,name:n,placeholder:r,className:i="",disabled:o=!1,leftSide:a})=>{const{field:{value:c="",onChange:u,ref:d,onBlur:h},fieldState:{error:m}}=hr.useController({name:n,control:t}),[g,y]=I.useState(!1),{t:S}=ze();return x.jsxs("label",{className:`flex flex-col group gap-8 select-none ${o&&"cursor-not-allowed"} ${i}`,htmlFor:n,children:[x.jsx("h6",{className:`text-gray-600 font-600 group ${m&&"!text-red-500"} text-label ${o&&"text-gray-300"}`,children:e}),x.jsxs("label",{htmlFor:n,className:`
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as UncontrolledDateInput } from './UncontrolledDateInput';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from './AlertModal';
|
|
2
|
-
export * from './CalendarSelector';
|
|
3
|
-
export * from './CalendarSelector';
|
|
4
|
-
export * from './CalendarSelector';
|
|
5
|
-
export * from './DateInput';
|
|
6
|
-
export * from './DialogModal';
|
|
7
|
-
export * from './Dropdown';
|
|
8
|
-
export * from './FileUpload';
|
|
9
|
-
export * from './FloatingMenu';
|
|
10
|
-
export * from './IndexedStepper';
|
|
11
|
-
export * from './InformationContainer';
|
|
12
|
-
export * from './SearchModal';
|
|
13
|
-
export * from './Stepper';
|
|
14
|
-
export * from './Tabs';
|
|
15
|
-
export * from './UncontrolledDateInput';
|