master-components-react 1.3.1 → 1.4.1
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.mc__mainButton{border-radius:.5rem;min-width:7.75rem;border:.125rem solid rgba(255,255,255,.12);background:#7f56d9;display:flex;justify-content:center;align-items:center;padding:.5rem 1.25rem;cursor:pointer}.mc__mainButton:hover{background:#6941c6}.mc__mainButton:active{box-shadow:0 0 0 .0625rem #0a0d122e inset,0 -.125rem #0a0d120d inset,0 .0625rem .125rem #0a0d120d,0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.mc__mainButton.mc__sm{height:2.25rem}.mc__mainButton.mc__sm.mc__onlyIcon{height:2.25rem;width:2.25rem;min-width:unset}.mc__mainButton.mc__sm .mc__buttonSlot .mc__buttonLabel{font-size:.875rem;line-height:1.25rem}.mc__mainButton.mc__md{height:2.5rem}.mc__mainButton.mc__md.mc__onlyIcon{height:2.5rem;width:2.5rem;min-width:unset}.mc__mainButton.mc__md .mc__buttonSlot .mc__buttonLabel{font-size:.875rem;line-height:1.25rem}.mc__mainButton.mc__lg{height:2.75rem}.mc__mainButton.mc__lg.mc__onlyIcon{height:2.75rem;width:2.75rem;min-width:unset}.mc__mainButton.mc__lg .mc__buttonSlot .mc__buttonLabel{font-size:1rem;line-height:1.25rem}.mc__mainButton.mc__xl{height:3rem}.mc__mainButton.mc__xl.mc__onlyIcon{height:3rem;width:3rem;min-width:unset}.mc__mainButton.mc__xl .mc__buttonSlot .mc__buttonLabel{font-size:1rem;line-height:1.5rem}.mc__mainButton.mc__xl2{height:3.75rem}.mc__mainButton.mc__xl2.mc__onlyIcon{height:3.5rem;width:3.5rem;min-width:unset}.mc__mainButton.mc__xl2 .mc__buttonSlot .mc__buttonLabel{font-size:1.125rem;line-height:1.75rem}.mc__mainButton.mc__disabled{border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#f5f5f5;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.mc__mainButton.mc__disabled .mc__buttonSlot .mc__buttonLabel{color:#a4a7ae}.mc__mainButton .mc__buttonSlot{display:flex;align-items:center;gap:.5rem}.mc__mainButton .mc__buttonSlot .mc__buttonLabel{color:#fff;font-family:Inter,sans-serif;font-style:normal;font-weight:400}.mc__inputWrapper{width:100%}.mc__inputWrapper .mc__inputLabel{color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.mc__inputWrapper .mc__inputLabel .mc__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.mc__inputWrapper .mc__inputContainer{position:relative;margin:.375rem 0;width:100%;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;display:flex;padding-left:.75rem}.mc__inputWrapper .mc__inputContainer input{background-color:transparent;width:100%;border:none;padding:.5rem 0;color:#181d27;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;outline:none}.mc__inputWrapper .mc__inputContainer input::placeholder{color:#717680}.mc__inputWrapper .mc__inputContainer.mc__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.mc__inputWrapper .mc__inputContainer.mc__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.mc__inputWrapper .mc__inputContainer.mc__error.mc__focused{outline-width:.125rem;outline-color:#f04438}.mc__inputWrapper .mc__inputContainer .mc__rightIcon,.mc__inputWrapper .mc__inputContainer .mc__leftIcon{display:flex;justify-content:center;align-items:center}.mc__inputWrapper .mc__inputContainer .mc__rightIcon{margin:0 .5rem}.mc__inputWrapper .mc__inputContainer .mc__leftIcon{margin-right:.375rem}.mc__inputWrapper .mc__inputContainer .mc__inputDropDown{padding:.5rem .75rem;display:grid;place-items:center;position:relative;color:#414651;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;cursor:pointer;display:flex;align-items:center;gap:.5rem}.mc__inputWrapper .mc__inputContainer .mc__inputDropDown ul{width:100%;position:absolute;left:50%;top:100%;transform:translate(-50%);max-height:9.375rem;overflow:hidden;background-color:#fff;border:.0625rem solid #d5d7da;border-radius:.5rem}.mc__inputWrapper .mc__inputContainer .mc__inputDropDown ul li{padding:.375rem .75rem;width:100%;display:flex;flex-direction:column;font-size:.875rem;line-height:initial;cursor:pointer}.mc__inputWrapper .mc__inputContainer .mc__inputDropDown ul li:hover{background-color:#d5d7da}.mc__inputWrapper .mc__inputContainer .mc__inputDropDown.mc__http{cursor:initial;border-right:.0625rem solid #d5d7da;margin-right:.75rem}.mc__inputWrapper .mc__inputContainer.mc__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.mc__inputWrapper .mc__inputContainer.mc__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.mc__inputWrapper .mc__inputContainer.mc__sm{height:2.5rem}.mc__inputWrapper .mc__inputContainer.mc__md{height:2.75rem}.mc__inputWrapper .mc__withCopy{display:grid;place-items:center;position:relative;font-size:1rem;font-weight:400;line-height:1.5rem;gap:.5rem;display:flex;align-items:center;gap:.25rem;border-radius:0rem .5rem .5rem 0rem;border:.0625rem solid #d5d7da;background:#fff;padding:.625rem .875rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:600;line-height:1.25rem;cursor:pointer;-webkit-user-select:none;user-select:none}.mc__inputWrapper .mc__withCopy:hover{background:#f0f0f0}.mc__inputWrapper .mc__withCopy:active{background:#ececec}.mc__inputWrapper .mc__inputHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.mc__inputWrapper .mc__inputHelperText.mc__error p{color:#d92d20}.mc__textareaContainer{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:.375rem;flex-shrink:0}.mc__textareaContainer .mc__textAreaLabel{display:flex;align-items:center;gap:.125rem}.mc__textareaContainer .mc__textAreaLabel p{font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.mc__textareaContainer .mc__textAreaLabel .mc__required{color:#7f56d9;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.mc__textareaContainer .mc__wrap{position:relative;display:inline-block}.mc__textareaContainer .mc__wrap:after{content:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%3e%3cpath%20d='M10%202L2%2010'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3cpath%20d='M11%207L7%2011'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3c/svg%3e");width:.9375rem;background:transparent;position:absolute;right:.125rem;bottom:.3125rem;pointer-events:none;border-radius:25%}.mc__textareaContainer .mc__wrap .mc__textarea{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;padding:.75rem .875rem;border:none;outline-color:#d5d7da;outline-width:.0625rem;outline-style:solid;position:relative;color:#181d27;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem}.mc__textareaContainer .mc__wrap .mc__textarea::-webkit-resizer{display:none}.mc__textareaContainer .mc__wrap .mc__textarea::-webkit-scrollbar{width:0}.mc__textareaContainer .mc__wrap .mc__textarea::-webkit-scrollbar-track{-webkit-box-shadow:none}.mc__textareaContainer .mc__wrap .mc__textarea::-webkit-scrollbar-thumb{background-color:none;outline:0}.mc__textareaContainer .mc__wrap .mc__textarea.mc__focused{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid}.mc__textareaContainer .mc__wrap .mc__textarea.mc__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.mc__textareaContainer .mc__wrap .mc__textarea.mc__error{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#fda29b;outline-width:.125rem;outline-style:solid}.mc__textareaContainer .mc__wrap .mc__textarea.mc__error.mc__focused{outline-color:#f04438}.mc__textareaContainer .mc__wrap .mc__textarea::placeholder{color:#717680;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem}.mc__textareaContainer .mc__helperTextStyle{color:#535862;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.mc__textareaContainer .mc__helperTextStyle.mc__error{color:#d92d20}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import
|
|
3
|
-
var
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.MainButton-module__mainButton{border-radius:.5rem;min-width:7.75rem;border:.125rem solid rgba(255,255,255,.12);background:#7f56d9;display:flex;justify-content:center;align-items:center;padding:.5rem 1.25rem;cursor:pointer}.MainButton-module__mainButton:hover{background:#6941c6}.MainButton-module__mainButton:active{box-shadow:0 0 0 .0625rem #0a0d122e inset,0 -.125rem #0a0d120d inset,0 .0625rem .125rem #0a0d120d,0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.MainButton-module__mainButton.MainButton-module__sm{height:2.25rem}.MainButton-module__mainButton.MainButton-module__sm.MainButton-module__onlyIcon{height:2.25rem;width:2.25rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__sm .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__md{height:2.5rem}.MainButton-module__mainButton.MainButton-module__md.MainButton-module__onlyIcon{height:2.5rem;width:2.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__md .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__lg{height:2.75rem}.MainButton-module__mainButton.MainButton-module__lg.MainButton-module__onlyIcon{height:2.75rem;width:2.75rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__lg .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__xl{height:3rem}.MainButton-module__mainButton.MainButton-module__xl.MainButton-module__onlyIcon{height:3rem;width:3rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.5rem}.MainButton-module__mainButton.MainButton-module__xl2{height:3.75rem}.MainButton-module__mainButton.MainButton-module__xl2.MainButton-module__onlyIcon{height:3.5rem;width:3.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl2 .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1.125rem;line-height:1.75rem}.MainButton-module__mainButton.MainButton-module__disabled{border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#f5f5f5;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.MainButton-module__mainButton.MainButton-module__disabled .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#a4a7ae}.MainButton-module__mainButton .MainButton-module__buttonSlot{display:flex;align-items:center;gap:.5rem}.MainButton-module__mainButton .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#fff;font-family:Inter,sans-serif;font-style:normal;font-weight:400}.FormInput-module__inputWrapper{width:100%}.FormInput-module__inputWrapper .FormInput-module__inputLabel{color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputLabel .FormInput-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer{position:relative;margin:.375rem 0;width:100%;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;display:flex;padding-left:.75rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer input{background-color:transparent;width:100%;border:none;padding:.5rem 0;color:#181d27;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;outline:none}.FormInput-module__inputWrapper .FormInput-module__inputContainer input::placeholder{color:#717680}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__error.FormInput-module__focused{outline-width:.125rem;outline-color:#f04438}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__rightIcon,.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__leftIcon{display:flex;justify-content:center;align-items:center}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__rightIcon{margin:0 .5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__leftIcon{margin-right:.375rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown{padding:.5rem .75rem;display:grid;place-items:center;position:relative;color:#414651;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;cursor:pointer;display:flex;align-items:center;gap:.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul{width:100%;position:absolute;left:50%;top:100%;transform:translate(-50%);max-height:9.375rem;overflow:hidden;background-color:#fff;border:.0625rem solid #d5d7da;border-radius:.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul li{padding:.375rem .75rem;width:100%;display:flex;flex-direction:column;font-size:.875rem;line-height:initial;cursor:pointer}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul li:hover{background-color:#d5d7da}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown.FormInput-module__http{cursor:initial;border-right:.0625rem solid #d5d7da;margin-right:.75rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__sm{height:2.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__md{height:2.75rem}.FormInput-module__inputWrapper .FormInput-module__withCopy{display:grid;place-items:center;position:relative;font-size:1rem;font-weight:400;line-height:1.5rem;gap:.5rem;display:flex;align-items:center;gap:.25rem;border-radius:0rem .5rem .5rem 0rem;border:.0625rem solid #d5d7da;background:#fff;padding:.625rem .875rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:600;line-height:1.25rem;cursor:pointer;-webkit-user-select:none;user-select:none}.FormInput-module__inputWrapper .FormInput-module__withCopy:hover{background:#f0f0f0}.FormInput-module__inputWrapper .FormInput-module__withCopy:active{background:#ececec}.FormInput-module__inputWrapper .FormInput-module__inputHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputHelperText.FormInput-module__error p{color:#d92d20}.Textarea-module__textareaContainer{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:.375rem;flex-shrink:0}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel{display:flex;align-items:center;gap:.125rem}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel p{font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel .Textarea-module__required{color:#7f56d9;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:500;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__wrap{position:relative;display:inline-block}.Textarea-module__textareaContainer .Textarea-module__wrap:after{content:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%3e%3cpath%20d='M10%202L2%2010'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3cpath%20d='M11%207L7%2011'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3c/svg%3e");width:.9375rem;background:transparent;position:absolute;right:.125rem;bottom:.3125rem;pointer-events:none;border-radius:25%}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;padding:.75rem .875rem;border:none;outline-color:#d5d7da;outline-width:.0625rem;outline-style:solid;position:relative;color:#181d27;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-resizer{display:none}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar{width:0}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar-track{-webkit-box-shadow:none}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar-thumb{background-color:none;outline:0}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__focused{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__error{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#fda29b;outline-width:.125rem;outline-style:solid}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__error.Textarea-module__focused{outline-color:#f04438}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::placeholder{color:#717680;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.Textarea-module__textareaContainer .Textarea-module__helperTextStyle{color:#535862;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__helperTextStyle.Textarea-module__error{color:#d92d20}.Toggle-module__toggleWrapper{width:36px;height:20px;position:relative;overflow:hidden;background:#f5f5f5;border-radius:624.9375rem;cursor:pointer}.Toggle-module__toggleWrapper:active{box-shadow:0 0 0 2px #fff,0 0 0 4px #9e77ed}.Toggle-module__toggleWrapper .Toggle-module__toggleState{width:1.125rem;height:16px;width:16px;border-radius:624.9375rem;background:#fff;transition:.2s;position:absolute;top:50%;left:.125rem;transform:translateY(-50%)}.Toggle-module__toggleWrapper.Toggle-module__checked{background:#7f56d9}.Toggle-module__toggleWrapper.Toggle-module__checked .Toggle-module__toggleState{left:calc(100% - 1.25rem)}.Toggle-module__toggleWrapper.Toggle-module__checked:hover{background:#6941c6}.Toggle-module__toggleWrapper.Toggle-module__checked.Toggle-module__disabled{background:#f5f5f5;cursor:no-drop}.Toggle-module__toggleWrapper.Toggle-module__disabled{pointer-events:none;-webkit-user-select:none;user-select:none;background:#f5f5f5}.Toggle-module__toggleWrapper.Toggle-module__disabled .Toggle-module__toggleState{background:#fafafa}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import Qe, { useState as X, useRef as Le, useEffect as Xe } from "react";
|
|
3
|
+
var Ne = { exports: {} }, ce = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,19 +10,19 @@ var We = { exports: {} }, ce = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
if (
|
|
23
|
-
return { $$typeof:
|
|
13
|
+
var ze;
|
|
14
|
+
function mr() {
|
|
15
|
+
if (ze) return ce;
|
|
16
|
+
ze = 1;
|
|
17
|
+
var p = Qe, v = Symbol.for("react.element"), a = Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, S = p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, E = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function R(h, c, y) {
|
|
19
|
+
var s, b = {}, j = null, F = null;
|
|
20
|
+
y !== void 0 && (j = "" + y), c.key !== void 0 && (j = "" + c.key), c.ref !== void 0 && (F = c.ref);
|
|
21
|
+
for (s in c) g.call(c, s) && !E.hasOwnProperty(s) && (b[s] = c[s]);
|
|
22
|
+
if (h && h.defaultProps) for (s in c = h.defaultProps, c) b[s] === void 0 && (b[s] = c[s]);
|
|
23
|
+
return { $$typeof: v, type: h, key: j, ref: F, props: b, _owner: S.current };
|
|
24
24
|
}
|
|
25
|
-
return ce.Fragment =
|
|
25
|
+
return ce.Fragment = a, ce.jsx = R, ce.jsxs = R, ce;
|
|
26
26
|
}
|
|
27
27
|
var fe = {};
|
|
28
28
|
/**
|
|
@@ -34,91 +34,91 @@ var fe = {};
|
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
40
|
-
var
|
|
41
|
-
function
|
|
37
|
+
var Ze;
|
|
38
|
+
function xr() {
|
|
39
|
+
return Ze || (Ze = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var p = Qe, v = Symbol.for("react.element"), a = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), R = Symbol.for("react.provider"), h = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), A = Symbol.iterator, I = "@@iterator";
|
|
41
|
+
function N(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var r =
|
|
44
|
+
var r = A && e[A] || e[I];
|
|
45
45
|
return typeof r == "function" ? r : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
function
|
|
47
|
+
var k = p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
+
function _(e) {
|
|
49
49
|
{
|
|
50
50
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
51
51
|
t[n - 1] = arguments[n];
|
|
52
|
-
|
|
52
|
+
M("error", e, t);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function M(e, r, t) {
|
|
56
56
|
{
|
|
57
|
-
var n =
|
|
58
|
-
|
|
57
|
+
var n = k.ReactDebugCurrentFrame, f = n.getStackAddendum();
|
|
58
|
+
f !== "" && (r += "%s", t = t.concat([f]));
|
|
59
59
|
var d = t.map(function(u) {
|
|
60
60
|
return String(u);
|
|
61
61
|
});
|
|
62
62
|
d.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, d);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
66
|
-
|
|
65
|
+
var z = !1, Z = !1, B = !1, L = !1, ie = !1, Q;
|
|
66
|
+
Q = Symbol.for("react.module.reference");
|
|
67
67
|
function de(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === g || e === E || ie || e === S || e === y || e === s || L || e === F || z || Z || B || typeof e == "object" && e !== null && (e.$$typeof === j || e.$$typeof === b || e.$$typeof === R || e.$$typeof === h || e.$$typeof === c || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
72
|
-
e.$$typeof ===
|
|
72
|
+
e.$$typeof === Q || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
74
|
function se(e, r, t) {
|
|
75
75
|
var n = e.displayName;
|
|
76
76
|
if (n)
|
|
77
77
|
return n;
|
|
78
|
-
var
|
|
79
|
-
return
|
|
78
|
+
var f = r.displayName || r.name || "";
|
|
79
|
+
return f !== "" ? t + "(" + f + ")" : t;
|
|
80
80
|
}
|
|
81
81
|
function pe(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function P(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
|
-
if (typeof e.tag == "number" &&
|
|
87
|
+
if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
88
88
|
return e.displayName || e.name || null;
|
|
89
89
|
if (typeof e == "string")
|
|
90
90
|
return e;
|
|
91
91
|
switch (e) {
|
|
92
|
-
case
|
|
92
|
+
case g:
|
|
93
93
|
return "Fragment";
|
|
94
|
-
case
|
|
94
|
+
case a:
|
|
95
95
|
return "Portal";
|
|
96
|
-
case
|
|
96
|
+
case E:
|
|
97
97
|
return "Profiler";
|
|
98
|
-
case
|
|
98
|
+
case S:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case y:
|
|
101
101
|
return "Suspense";
|
|
102
|
-
case
|
|
102
|
+
case s:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
|
-
case
|
|
107
|
+
case h:
|
|
108
108
|
var r = e;
|
|
109
109
|
return pe(r) + ".Consumer";
|
|
110
|
-
case
|
|
110
|
+
case R:
|
|
111
111
|
var t = e;
|
|
112
112
|
return pe(t._context) + ".Provider";
|
|
113
|
-
case
|
|
113
|
+
case c:
|
|
114
114
|
return se(e, e.render, "ForwardRef");
|
|
115
|
-
case
|
|
115
|
+
case b:
|
|
116
116
|
var n = e.displayName || null;
|
|
117
|
-
return n !== null ? n :
|
|
118
|
-
case
|
|
119
|
-
var
|
|
117
|
+
return n !== null ? n : P(e.type) || "Memo";
|
|
118
|
+
case j: {
|
|
119
|
+
var f = e, d = f._payload, u = f._init;
|
|
120
120
|
try {
|
|
121
|
-
return
|
|
121
|
+
return P(u(d));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function br() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
130
|
-
function
|
|
129
|
+
var W = Object.assign, Y = 0, ve, _e, he, ye, me, xe, be;
|
|
130
|
+
function ge() {
|
|
131
131
|
}
|
|
132
|
-
|
|
132
|
+
ge.__reactDisabledLog = !0;
|
|
133
133
|
function we() {
|
|
134
134
|
{
|
|
135
|
-
if (
|
|
136
|
-
ve = console.log,
|
|
135
|
+
if (Y === 0) {
|
|
136
|
+
ve = console.log, _e = console.info, he = console.warn, ye = console.error, me = console.group, xe = console.groupCollapsed, be = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: ge,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -150,52 +150,52 @@ function br() {
|
|
|
150
150
|
groupEnd: e
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
Y++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Me() {
|
|
157
157
|
{
|
|
158
|
-
if (
|
|
158
|
+
if (Y--, Y === 0) {
|
|
159
159
|
var e = {
|
|
160
160
|
configurable: !0,
|
|
161
161
|
enumerable: !0,
|
|
162
162
|
writable: !0
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
|
-
log:
|
|
165
|
+
log: W({}, e, {
|
|
166
166
|
value: ve
|
|
167
167
|
}),
|
|
168
|
-
info:
|
|
169
|
-
value: he
|
|
170
|
-
}),
|
|
171
|
-
warn: D({}, e, {
|
|
168
|
+
info: W({}, e, {
|
|
172
169
|
value: _e
|
|
173
170
|
}),
|
|
174
|
-
|
|
175
|
-
value:
|
|
171
|
+
warn: W({}, e, {
|
|
172
|
+
value: he
|
|
176
173
|
}),
|
|
177
|
-
|
|
178
|
-
value:
|
|
174
|
+
error: W({}, e, {
|
|
175
|
+
value: ye
|
|
179
176
|
}),
|
|
180
|
-
|
|
177
|
+
group: W({}, e, {
|
|
181
178
|
value: me
|
|
182
179
|
}),
|
|
183
|
-
|
|
180
|
+
groupCollapsed: W({}, e, {
|
|
184
181
|
value: xe
|
|
182
|
+
}),
|
|
183
|
+
groupEnd: W({}, e, {
|
|
184
|
+
value: be
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
Y < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var le =
|
|
192
|
-
function
|
|
191
|
+
var le = k.ReactCurrentDispatcher, ue;
|
|
192
|
+
function V(e, r, t) {
|
|
193
193
|
{
|
|
194
194
|
if (ue === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
|
-
} catch (
|
|
198
|
-
var n =
|
|
197
|
+
} catch (f) {
|
|
198
|
+
var n = f.stack.trim().match(/\n( *(at )?)/);
|
|
199
199
|
ue = n && n[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
@@ -204,8 +204,8 @@ function br() {
|
|
|
204
204
|
}
|
|
205
205
|
var U = !1, q;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
q = new
|
|
207
|
+
var Se = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
q = new Se();
|
|
209
209
|
}
|
|
210
210
|
function H(e, r) {
|
|
211
211
|
if (!e || U)
|
|
@@ -217,7 +217,7 @@ function br() {
|
|
|
217
217
|
}
|
|
218
218
|
var n;
|
|
219
219
|
U = !0;
|
|
220
|
-
var
|
|
220
|
+
var f = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var d;
|
|
223
223
|
d = le.current, le.current = null, we();
|
|
@@ -233,125 +233,125 @@ function br() {
|
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
235
|
Reflect.construct(u, []);
|
|
236
|
-
} catch (
|
|
237
|
-
n =
|
|
236
|
+
} catch (w) {
|
|
237
|
+
n = w;
|
|
238
238
|
}
|
|
239
239
|
Reflect.construct(e, [], u);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
242
|
u.call();
|
|
243
|
-
} catch (
|
|
244
|
-
n =
|
|
243
|
+
} catch (w) {
|
|
244
|
+
n = w;
|
|
245
245
|
}
|
|
246
246
|
e.call(u.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
throw Error();
|
|
251
|
-
} catch (
|
|
252
|
-
n =
|
|
251
|
+
} catch (w) {
|
|
252
|
+
n = w;
|
|
253
253
|
}
|
|
254
254
|
e();
|
|
255
255
|
}
|
|
256
|
-
} catch (
|
|
257
|
-
if (
|
|
258
|
-
for (var
|
|
259
|
-
`),
|
|
260
|
-
`),
|
|
261
|
-
|
|
262
|
-
for (;
|
|
263
|
-
if (
|
|
264
|
-
if (
|
|
256
|
+
} catch (w) {
|
|
257
|
+
if (w && n && typeof w.stack == "string") {
|
|
258
|
+
for (var l = w.stack.split(`
|
|
259
|
+
`), T = n.stack.split(`
|
|
260
|
+
`), m = l.length - 1, x = T.length - 1; m >= 1 && x >= 0 && l[m] !== T[x]; )
|
|
261
|
+
x--;
|
|
262
|
+
for (; m >= 1 && x >= 0; m--, x--)
|
|
263
|
+
if (l[m] !== T[x]) {
|
|
264
|
+
if (m !== 1 || x !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (
|
|
267
|
-
var
|
|
268
|
-
` +
|
|
269
|
-
return e.displayName &&
|
|
266
|
+
if (m--, x--, x < 0 || l[m] !== T[x]) {
|
|
267
|
+
var O = `
|
|
268
|
+
` + l[m].replace(" at new ", " at ");
|
|
269
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, O), O;
|
|
270
270
|
}
|
|
271
|
-
while (
|
|
271
|
+
while (m >= 1 && x >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
U = !1, le.current = d,
|
|
276
|
+
U = !1, le.current = d, Me(), Error.prepareStackTrace = f;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
278
|
+
var oe = e ? e.displayName || e.name : "", G = oe ? V(oe) : "";
|
|
279
279
|
return typeof e == "function" && q.set(e, G), G;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function ke(e, r, t) {
|
|
282
282
|
return H(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Pe(e) {
|
|
285
285
|
var r = e.prototype;
|
|
286
286
|
return !!(r && r.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function ee(e, r, t) {
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return H(e,
|
|
292
|
+
return H(e, Pe(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
|
-
return
|
|
294
|
+
return V(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case
|
|
297
|
-
return
|
|
298
|
-
case
|
|
299
|
-
return
|
|
296
|
+
case y:
|
|
297
|
+
return V("Suspense");
|
|
298
|
+
case s:
|
|
299
|
+
return V("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
|
-
case
|
|
304
|
-
return
|
|
305
|
-
case
|
|
306
|
-
return
|
|
307
|
-
case
|
|
308
|
-
var n = e,
|
|
303
|
+
case c:
|
|
304
|
+
return ke(e.render);
|
|
305
|
+
case b:
|
|
306
|
+
return ee(e.type, r, t);
|
|
307
|
+
case j: {
|
|
308
|
+
var n = e, f = n._payload, d = n._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return ee(d(f), r, t);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var K = Object.prototype.hasOwnProperty,
|
|
318
|
-
function
|
|
317
|
+
var K = Object.prototype.hasOwnProperty, Ce = {}, Ee = k.ReactDebugCurrentFrame;
|
|
318
|
+
function re(e) {
|
|
319
319
|
if (e) {
|
|
320
|
-
var r = e._owner, t =
|
|
321
|
-
|
|
320
|
+
var r = e._owner, t = ee(e.type, e._source, r ? r.type : null);
|
|
321
|
+
Ee.setExtraStackFrame(t);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
Ee.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Re(e, r, t, n, f) {
|
|
326
326
|
{
|
|
327
327
|
var d = Function.call.bind(K);
|
|
328
328
|
for (var u in e)
|
|
329
329
|
if (d(e, u)) {
|
|
330
|
-
var
|
|
330
|
+
var l = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[u] != "function") {
|
|
333
|
-
var
|
|
334
|
-
throw
|
|
333
|
+
var T = Error((n || "React class") + ": " + t + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
+
throw T.name = "Invariant Violation", T;
|
|
335
335
|
}
|
|
336
|
-
|
|
337
|
-
} catch (
|
|
338
|
-
|
|
336
|
+
l = e[u](r, u, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
+
} catch (m) {
|
|
338
|
+
l = m;
|
|
339
339
|
}
|
|
340
|
-
|
|
340
|
+
l && !(l instanceof Error) && (re(f), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, u, typeof l), re(null)), l instanceof Error && !(l.message in Ce) && (Ce[l.message] = !0, re(f), _("Failed %s type: %s", t, l.message), re(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
345
|
-
function
|
|
346
|
-
return
|
|
344
|
+
var Oe = Array.isArray;
|
|
345
|
+
function te(e) {
|
|
346
|
+
return Oe(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function $e(e) {
|
|
349
349
|
{
|
|
350
350
|
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return t;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function je(e) {
|
|
355
355
|
try {
|
|
356
356
|
return i(e), !1;
|
|
357
357
|
} catch {
|
|
@@ -361,18 +361,18 @@ function br() {
|
|
|
361
361
|
function i(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
if (
|
|
366
|
-
return
|
|
364
|
+
function D(e) {
|
|
365
|
+
if (je(e))
|
|
366
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $e(e)), i(e);
|
|
367
367
|
}
|
|
368
|
-
var J =
|
|
368
|
+
var J = k.ReactCurrentOwner, er = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
|
|
375
|
-
function
|
|
373
|
+
}, Be, Ye, Fe;
|
|
374
|
+
Fe = {};
|
|
375
|
+
function rr(e) {
|
|
376
376
|
if (K.call(e, "ref")) {
|
|
377
377
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
378
378
|
if (r && r.isReactWarning)
|
|
@@ -380,7 +380,7 @@ function br() {
|
|
|
380
380
|
}
|
|
381
381
|
return e.ref !== void 0;
|
|
382
382
|
}
|
|
383
|
-
function
|
|
383
|
+
function tr(e) {
|
|
384
384
|
if (K.call(e, "key")) {
|
|
385
385
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
386
386
|
if (r && r.isReactWarning)
|
|
@@ -388,16 +388,16 @@ function br() {
|
|
|
388
388
|
}
|
|
389
389
|
return e.key !== void 0;
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function nr(e, r) {
|
|
392
392
|
if (typeof e.ref == "string" && J.current && r && J.current.stateNode !== r) {
|
|
393
|
-
var t =
|
|
394
|
-
|
|
393
|
+
var t = P(J.current.type);
|
|
394
|
+
Fe[t] || (_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(J.current.type), e.ref), Fe[t] = !0);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function or(e, r) {
|
|
398
398
|
{
|
|
399
399
|
var t = function() {
|
|
400
|
-
|
|
400
|
+
Be || (Be = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
401
401
|
};
|
|
402
402
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
403
403
|
get: t,
|
|
@@ -408,7 +408,7 @@ function br() {
|
|
|
408
408
|
function ar(e, r) {
|
|
409
409
|
{
|
|
410
410
|
var t = function() {
|
|
411
|
-
|
|
411
|
+
Ye || (Ye = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
412
412
|
};
|
|
413
413
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
414
414
|
get: t,
|
|
@@ -416,10 +416,10 @@ function br() {
|
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
var ir = function(e, r, t, n,
|
|
420
|
-
var
|
|
419
|
+
var ir = function(e, r, t, n, f, d, u) {
|
|
420
|
+
var l = {
|
|
421
421
|
// This tag allows us to uniquely identify this as a React Element
|
|
422
|
-
$$typeof:
|
|
422
|
+
$$typeof: v,
|
|
423
423
|
// Built-in properties that belong on the element
|
|
424
424
|
type: e,
|
|
425
425
|
key: r,
|
|
@@ -428,58 +428,58 @@ function br() {
|
|
|
428
428
|
// Record the component responsible for creating this element.
|
|
429
429
|
_owner: d
|
|
430
430
|
};
|
|
431
|
-
return
|
|
431
|
+
return l._store = {}, Object.defineProperty(l._store, "validated", {
|
|
432
432
|
configurable: !1,
|
|
433
433
|
enumerable: !1,
|
|
434
434
|
writable: !0,
|
|
435
435
|
value: !1
|
|
436
|
-
}), Object.defineProperty(
|
|
436
|
+
}), Object.defineProperty(l, "_self", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
440
|
value: n
|
|
441
|
-
}), Object.defineProperty(
|
|
441
|
+
}), Object.defineProperty(l, "_source", {
|
|
442
442
|
configurable: !1,
|
|
443
443
|
enumerable: !1,
|
|
444
444
|
writable: !1,
|
|
445
|
-
value:
|
|
446
|
-
}), Object.freeze && (Object.freeze(
|
|
445
|
+
value: f
|
|
446
|
+
}), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
|
|
447
447
|
};
|
|
448
|
-
function
|
|
448
|
+
function sr(e, r, t, n, f) {
|
|
449
449
|
{
|
|
450
|
-
var d, u = {},
|
|
451
|
-
t !== void 0 && (
|
|
450
|
+
var d, u = {}, l = null, T = null;
|
|
451
|
+
t !== void 0 && (D(t), l = "" + t), tr(r) && (D(r.key), l = "" + r.key), rr(r) && (T = r.ref, nr(r, f));
|
|
452
452
|
for (d in r)
|
|
453
|
-
K.call(r, d) && !
|
|
453
|
+
K.call(r, d) && !er.hasOwnProperty(d) && (u[d] = r[d]);
|
|
454
454
|
if (e && e.defaultProps) {
|
|
455
|
-
var
|
|
456
|
-
for (d in
|
|
457
|
-
u[d] === void 0 && (u[d] =
|
|
455
|
+
var m = e.defaultProps;
|
|
456
|
+
for (d in m)
|
|
457
|
+
u[d] === void 0 && (u[d] = m[d]);
|
|
458
458
|
}
|
|
459
|
-
if (
|
|
460
|
-
var
|
|
461
|
-
|
|
459
|
+
if (l || T) {
|
|
460
|
+
var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
461
|
+
l && or(u, x), T && ar(u, x);
|
|
462
462
|
}
|
|
463
|
-
return ir(e,
|
|
463
|
+
return ir(e, l, T, f, n, J.current, u);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
var Ae =
|
|
467
|
-
function
|
|
466
|
+
var Ae = k.ReactCurrentOwner, Ve = k.ReactDebugCurrentFrame;
|
|
467
|
+
function ne(e) {
|
|
468
468
|
if (e) {
|
|
469
|
-
var r = e._owner, t =
|
|
470
|
-
|
|
469
|
+
var r = e._owner, t = ee(e.type, e._source, r ? r.type : null);
|
|
470
|
+
Ve.setExtraStackFrame(t);
|
|
471
471
|
} else
|
|
472
|
-
|
|
472
|
+
Ve.setExtraStackFrame(null);
|
|
473
473
|
}
|
|
474
474
|
var De;
|
|
475
475
|
De = !1;
|
|
476
|
-
function
|
|
477
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
476
|
+
function Ie(e) {
|
|
477
|
+
return typeof e == "object" && e !== null && e.$$typeof === v;
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function Ue() {
|
|
480
480
|
{
|
|
481
481
|
if (Ae.current) {
|
|
482
|
-
var e =
|
|
482
|
+
var e = P(Ae.current.type);
|
|
483
483
|
if (e)
|
|
484
484
|
return `
|
|
485
485
|
|
|
@@ -488,13 +488,13 @@ Check the render method of \`` + e + "`.";
|
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function lr(e) {
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
|
-
var
|
|
495
|
-
function
|
|
494
|
+
var qe = {};
|
|
495
|
+
function ur(e) {
|
|
496
496
|
{
|
|
497
|
-
var r =
|
|
497
|
+
var r = Ue();
|
|
498
498
|
if (!r) {
|
|
499
499
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
500
500
|
t && (r = `
|
|
@@ -504,39 +504,39 @@ Check the top-level render call using <` + t + ">.");
|
|
|
504
504
|
return r;
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function He(e, r) {
|
|
508
508
|
{
|
|
509
509
|
if (!e._store || e._store.validated || e.key != null)
|
|
510
510
|
return;
|
|
511
511
|
e._store.validated = !0;
|
|
512
|
-
var t =
|
|
513
|
-
if (
|
|
512
|
+
var t = ur(r);
|
|
513
|
+
if (qe[t])
|
|
514
514
|
return;
|
|
515
|
-
|
|
515
|
+
qe[t] = !0;
|
|
516
516
|
var n = "";
|
|
517
|
-
e && e._owner && e._owner !== Ae.current && (n = " It was passed a child from " +
|
|
517
|
+
e && e._owner && e._owner !== Ae.current && (n = " It was passed a child from " + P(e._owner.type) + "."), ne(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), ne(null);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function Ke(e, r) {
|
|
521
521
|
{
|
|
522
522
|
if (typeof e != "object")
|
|
523
523
|
return;
|
|
524
|
-
if (
|
|
524
|
+
if (te(e))
|
|
525
525
|
for (var t = 0; t < e.length; t++) {
|
|
526
526
|
var n = e[t];
|
|
527
|
-
|
|
527
|
+
Ie(n) && He(n, r);
|
|
528
528
|
}
|
|
529
|
-
else if (
|
|
529
|
+
else if (Ie(e))
|
|
530
530
|
e._store && (e._store.validated = !0);
|
|
531
531
|
else if (e) {
|
|
532
|
-
var
|
|
533
|
-
if (typeof
|
|
534
|
-
for (var d =
|
|
535
|
-
|
|
532
|
+
var f = N(e);
|
|
533
|
+
if (typeof f == "function" && f !== e.entries)
|
|
534
|
+
for (var d = f.call(e), u; !(u = d.next()).done; )
|
|
535
|
+
Ie(u.value) && He(u.value, r);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function cr(e) {
|
|
540
540
|
{
|
|
541
541
|
var r = e.type;
|
|
542
542
|
if (r == null || typeof r == "string")
|
|
@@ -544,398 +544,450 @@ Check the top-level render call using <` + t + ">.");
|
|
|
544
544
|
var t;
|
|
545
545
|
if (typeof r == "function")
|
|
546
546
|
t = r.propTypes;
|
|
547
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
547
|
+
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
548
548
|
// Inner props are checked in the reconciler.
|
|
549
|
-
r.$$typeof ===
|
|
549
|
+
r.$$typeof === b))
|
|
550
550
|
t = r.propTypes;
|
|
551
551
|
else
|
|
552
552
|
return;
|
|
553
553
|
if (t) {
|
|
554
|
-
var n =
|
|
555
|
-
|
|
554
|
+
var n = P(r);
|
|
555
|
+
Re(t, e.props, "prop", n, e);
|
|
556
556
|
} else if (r.PropTypes !== void 0 && !De) {
|
|
557
557
|
De = !0;
|
|
558
|
-
var
|
|
559
|
-
|
|
558
|
+
var f = P(r);
|
|
559
|
+
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
560
560
|
}
|
|
561
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
561
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function fr(e) {
|
|
565
565
|
{
|
|
566
566
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
567
567
|
var n = r[t];
|
|
568
568
|
if (n !== "children" && n !== "key") {
|
|
569
|
-
|
|
569
|
+
ne(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), ne(null);
|
|
570
570
|
break;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
e.ref !== null && (
|
|
573
|
+
e.ref !== null && (ne(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), ne(null));
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
var
|
|
577
|
-
function
|
|
576
|
+
var Je = {};
|
|
577
|
+
function Ge(e, r, t, n, f, d) {
|
|
578
578
|
{
|
|
579
579
|
var u = de(e);
|
|
580
580
|
if (!u) {
|
|
581
|
-
var
|
|
582
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
583
|
-
var
|
|
584
|
-
|
|
585
|
-
var
|
|
586
|
-
e === null ?
|
|
581
|
+
var l = "";
|
|
582
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
583
|
+
var T = lr();
|
|
584
|
+
T ? l += T : l += Ue();
|
|
585
|
+
var m;
|
|
586
|
+
e === null ? m = "null" : te(e) ? m = "array" : e !== void 0 && e.$$typeof === v ? (m = "<" + (P(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, l);
|
|
587
587
|
}
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
590
|
-
return
|
|
588
|
+
var x = sr(e, r, t, f, d);
|
|
589
|
+
if (x == null)
|
|
590
|
+
return x;
|
|
591
591
|
if (u) {
|
|
592
|
-
var
|
|
593
|
-
if (
|
|
592
|
+
var O = r.children;
|
|
593
|
+
if (O !== void 0)
|
|
594
594
|
if (n)
|
|
595
|
-
if (
|
|
596
|
-
for (var
|
|
597
|
-
|
|
598
|
-
Object.freeze && Object.freeze(
|
|
595
|
+
if (te(O)) {
|
|
596
|
+
for (var oe = 0; oe < O.length; oe++)
|
|
597
|
+
Ke(O[oe], e);
|
|
598
|
+
Object.freeze && Object.freeze(O);
|
|
599
599
|
} else
|
|
600
|
-
|
|
600
|
+
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
601
601
|
else
|
|
602
|
-
|
|
602
|
+
Ke(O, e);
|
|
603
603
|
}
|
|
604
604
|
if (K.call(r, "key")) {
|
|
605
|
-
var G =
|
|
606
|
-
return
|
|
607
|
-
}),
|
|
608
|
-
if (!
|
|
609
|
-
var hr =
|
|
610
|
-
|
|
605
|
+
var G = P(e), w = Object.keys(r).filter(function(yr) {
|
|
606
|
+
return yr !== "key";
|
|
607
|
+
}), We = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
608
|
+
if (!Je[G + We]) {
|
|
609
|
+
var hr = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
610
|
+
_(`A props object containing a "key" prop is being spread into JSX:
|
|
611
611
|
let props = %s;
|
|
612
612
|
<%s {...props} />
|
|
613
613
|
React keys must be passed directly to JSX without using spread:
|
|
614
614
|
let props = %s;
|
|
615
|
-
<%s key={someKey} {...props} />`,
|
|
615
|
+
<%s key={someKey} {...props} />`, We, G, hr, G), Je[G + We] = !0;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
return e ===
|
|
618
|
+
return e === g ? fr(x) : cr(x), x;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
function fr(e, r, t) {
|
|
622
|
-
return Je(e, r, t, !0);
|
|
623
|
-
}
|
|
624
621
|
function dr(e, r, t) {
|
|
625
|
-
return
|
|
622
|
+
return Ge(e, r, t, !0);
|
|
626
623
|
}
|
|
627
|
-
|
|
628
|
-
|
|
624
|
+
function pr(e, r, t) {
|
|
625
|
+
return Ge(e, r, t, !1);
|
|
626
|
+
}
|
|
627
|
+
var vr = pr, _r = dr;
|
|
628
|
+
fe.Fragment = g, fe.jsx = vr, fe.jsxs = _r;
|
|
629
629
|
}()), fe;
|
|
630
630
|
}
|
|
631
|
-
process.env.NODE_ENV === "production" ?
|
|
632
|
-
var
|
|
633
|
-
const
|
|
634
|
-
mainButton:
|
|
635
|
-
sm:
|
|
631
|
+
process.env.NODE_ENV === "production" ? Ne.exports = mr() : Ne.exports = xr();
|
|
632
|
+
var o = Ne.exports;
|
|
633
|
+
const br = "MainButton-module__mainButton", gr = "MainButton-module__sm", Cr = "MainButton-module__onlyIcon", Er = "MainButton-module__buttonSlot", Rr = "MainButton-module__buttonLabel", jr = "MainButton-module__md", Tr = "MainButton-module__lg", wr = "MainButton-module__xl", Sr = "MainButton-module__xl2", kr = "MainButton-module__disabled", ae = {
|
|
634
|
+
mainButton: br,
|
|
635
|
+
sm: gr,
|
|
636
636
|
onlyIcon: Cr,
|
|
637
637
|
buttonSlot: Er,
|
|
638
638
|
buttonLabel: Rr,
|
|
639
639
|
md: jr,
|
|
640
|
-
lg:
|
|
640
|
+
lg: Tr,
|
|
641
641
|
xl: wr,
|
|
642
|
-
xl2:
|
|
643
|
-
disabled:
|
|
644
|
-
},
|
|
645
|
-
label:
|
|
646
|
-
buttonType:
|
|
647
|
-
onClick:
|
|
648
|
-
size:
|
|
649
|
-
disabled:
|
|
650
|
-
withIcons:
|
|
651
|
-
iconOne:
|
|
652
|
-
iconTwo:
|
|
653
|
-
onlyIcon:
|
|
654
|
-
buttonStyle:
|
|
655
|
-
labelStyle:
|
|
656
|
-
buttonSlotStyle:
|
|
657
|
-
}) => /* @__PURE__ */
|
|
642
|
+
xl2: Sr,
|
|
643
|
+
disabled: kr
|
|
644
|
+
}, lt = ({
|
|
645
|
+
label: p,
|
|
646
|
+
buttonType: v = "button",
|
|
647
|
+
onClick: a,
|
|
648
|
+
size: g = "md",
|
|
649
|
+
disabled: S,
|
|
650
|
+
withIcons: E,
|
|
651
|
+
iconOne: R,
|
|
652
|
+
iconTwo: h,
|
|
653
|
+
onlyIcon: c,
|
|
654
|
+
buttonStyle: y,
|
|
655
|
+
labelStyle: s,
|
|
656
|
+
buttonSlotStyle: b
|
|
657
|
+
}) => /* @__PURE__ */ o.jsx(
|
|
658
658
|
"button",
|
|
659
659
|
{
|
|
660
|
-
type:
|
|
661
|
-
style:
|
|
662
|
-
className: `${ae.mainButton} ${
|
|
660
|
+
type: v,
|
|
661
|
+
style: y && typeof y == "object" ? y : {},
|
|
662
|
+
className: `${ae.mainButton} ${c ? ae.onlyIcon : ""} ${g ? ae[g] : ""} ${S ? ae.disabled : ""}`,
|
|
663
663
|
onClick: () => {
|
|
664
|
-
|
|
664
|
+
a && typeof a == "function" && a();
|
|
665
665
|
},
|
|
666
|
-
children: /* @__PURE__ */
|
|
667
|
-
|
|
668
|
-
!
|
|
669
|
-
|
|
666
|
+
children: /* @__PURE__ */ o.jsxs("div", { className: ae.buttonSlot, style: b ?? {}, children: [
|
|
667
|
+
c || E && R ? R : "",
|
|
668
|
+
!c && /* @__PURE__ */ o.jsx("span", { style: s ?? {}, className: ae.buttonLabel, children: p ?? "Button" }),
|
|
669
|
+
E && h ? h : ""
|
|
670
670
|
] })
|
|
671
671
|
}
|
|
672
|
-
),
|
|
673
|
-
inputWrapper:
|
|
674
|
-
inputLabel:
|
|
675
|
-
required:
|
|
676
|
-
inputContainer:
|
|
672
|
+
), Pr = "FormInput-module__inputWrapper", Or = "FormInput-module__inputLabel", $r = "FormInput-module__required", Fr = "FormInput-module__inputContainer", Ar = "FormInput-module__focused", Dr = "FormInput-module__error", Ir = "FormInput-module__rightIcon", Wr = "FormInput-module__leftIcon", Lr = "FormInput-module__inputDropDown", Nr = "FormInput-module__http", Mr = "FormInput-module__disabled", Br = "FormInput-module__sm", Yr = "FormInput-module__md", Vr = "FormInput-module__withCopy", Ur = "FormInput-module__inputHelperText", C = {
|
|
673
|
+
inputWrapper: Pr,
|
|
674
|
+
inputLabel: Or,
|
|
675
|
+
required: $r,
|
|
676
|
+
inputContainer: Fr,
|
|
677
677
|
focused: Ar,
|
|
678
678
|
error: Dr,
|
|
679
|
-
rightIcon:
|
|
680
|
-
leftIcon:
|
|
681
|
-
inputDropDown:
|
|
682
|
-
http:
|
|
683
|
-
disabled:
|
|
684
|
-
sm:
|
|
685
|
-
md:
|
|
686
|
-
withCopy:
|
|
687
|
-
inputHelperText:
|
|
688
|
-
},
|
|
689
|
-
/* @__PURE__ */
|
|
679
|
+
rightIcon: Ir,
|
|
680
|
+
leftIcon: Wr,
|
|
681
|
+
inputDropDown: Lr,
|
|
682
|
+
http: Nr,
|
|
683
|
+
disabled: Mr,
|
|
684
|
+
sm: Br,
|
|
685
|
+
md: Yr,
|
|
686
|
+
withCopy: Vr,
|
|
687
|
+
inputHelperText: Ur
|
|
688
|
+
}, qr = ({ width: p, height: v, color: a }) => /* @__PURE__ */ o.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: p ?? "12", height: v ?? "8", viewBox: "0 0 12 8", fill: "none", children: /* @__PURE__ */ o.jsx("path", { d: "M1 1.5L6 6.5L11 1.5", stroke: a ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), Hr = ({ width: p, height: v, color: a }) => /* @__PURE__ */ o.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: p ?? "20", height: v ?? "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
689
|
+
/* @__PURE__ */ o.jsx("g", { clipPath: "url(#clip0_444_26)", children: /* @__PURE__ */ o.jsx(
|
|
690
690
|
"path",
|
|
691
691
|
{
|
|
692
692
|
d: "M4.1665 12.5C3.38993 12.5 3.00165 12.5 2.69536 12.3732C2.28698 12.204 1.96253 11.8795 1.79337 11.4712C1.6665 11.1649 1.6665 10.7766 1.6665 10V4.33335C1.6665 3.39993 1.6665 2.93322 1.84816 2.5767C2.00795 2.2631 2.26292 2.00813 2.57652 1.84834C2.93304 1.66669 3.39975 1.66669 4.33317 1.66669H9.99984C10.7764 1.66669 11.1647 1.66669 11.471 1.79355C11.8794 1.96271 12.2038 2.28717 12.373 2.69555C12.4998 3.00183 12.4998 3.39012 12.4998 4.16669M10.1665 18.3334H15.6665C16.5999 18.3334 17.0666 18.3334 17.4232 18.1517C17.7368 17.9919 17.9917 17.7369 18.1515 17.4233C18.3332 17.0668 18.3332 16.6001 18.3332 15.6667V10.1667C18.3332 9.23327 18.3332 8.76656 18.1515 8.41004C17.9917 8.09643 17.7368 7.84147 17.4232 7.68168C17.0666 7.50002 16.5999 7.50002 15.6665 7.50002H10.1665C9.23308 7.50002 8.76637 7.50002 8.40985 7.68168C8.09625 7.84147 7.84128 8.09643 7.68149 8.41004C7.49984 8.76656 7.49984 9.23327 7.49984 10.1667V15.6667C7.49984 16.6001 7.49984 17.0668 7.68149 17.4233C7.84128 17.7369 8.09625 17.9919 8.40985 18.1517C8.76637 18.3334 9.23308 18.3334 10.1665 18.3334Z",
|
|
693
|
-
stroke:
|
|
693
|
+
stroke: a ?? "#414651",
|
|
694
694
|
strokeWidth: "1.66667",
|
|
695
695
|
strokeLinecap: "round",
|
|
696
696
|
strokeLinejoin: "round"
|
|
697
697
|
}
|
|
698
698
|
) }),
|
|
699
|
-
/* @__PURE__ */
|
|
700
|
-
] }),
|
|
701
|
-
value:
|
|
702
|
-
label:
|
|
703
|
-
placeholder:
|
|
704
|
-
required:
|
|
705
|
-
disabled:
|
|
706
|
-
type:
|
|
707
|
-
size:
|
|
708
|
-
onChange:
|
|
709
|
-
onFouce:
|
|
710
|
-
onBlur:
|
|
711
|
-
msg:
|
|
712
|
-
readOnly:
|
|
713
|
-
maxLength:
|
|
699
|
+
/* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsx("clipPath", { id: "clip0_444_26", children: /* @__PURE__ */ o.jsx("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
700
|
+
] }), ut = ({
|
|
701
|
+
value: p,
|
|
702
|
+
label: v,
|
|
703
|
+
placeholder: a,
|
|
704
|
+
required: g,
|
|
705
|
+
disabled: S,
|
|
706
|
+
type: E,
|
|
707
|
+
size: R,
|
|
708
|
+
onChange: h,
|
|
709
|
+
onFouce: c,
|
|
710
|
+
onBlur: y,
|
|
711
|
+
msg: s,
|
|
712
|
+
readOnly: b,
|
|
713
|
+
maxLength: j,
|
|
714
714
|
onlyText: F,
|
|
715
|
-
onRightIconIconClick:
|
|
716
|
-
onRightIconIconMouseEnter:
|
|
717
|
-
onRightIconIconMouseLeave:
|
|
718
|
-
onLeftIconIconClick:
|
|
719
|
-
onLeftIconIconMouseEnter:
|
|
720
|
-
onLeftIconIconMouseLeave:
|
|
721
|
-
rightIcon:
|
|
722
|
-
leftIcon:
|
|
723
|
-
withDropDown:
|
|
724
|
-
dropdownData:
|
|
725
|
-
onSelectData:
|
|
726
|
-
withLink:
|
|
715
|
+
onRightIconIconClick: A,
|
|
716
|
+
onRightIconIconMouseEnter: I,
|
|
717
|
+
onRightIconIconMouseLeave: N,
|
|
718
|
+
onLeftIconIconClick: k,
|
|
719
|
+
onLeftIconIconMouseEnter: _,
|
|
720
|
+
onLeftIconIconMouseLeave: M,
|
|
721
|
+
rightIcon: z,
|
|
722
|
+
leftIcon: Z,
|
|
723
|
+
withDropDown: B,
|
|
724
|
+
dropdownData: L,
|
|
725
|
+
onSelectData: ie,
|
|
726
|
+
withLink: Q,
|
|
727
727
|
withCopy: de,
|
|
728
728
|
onCopy: se,
|
|
729
729
|
inputWrapperStyle: pe,
|
|
730
|
-
inputLabelStyle:
|
|
731
|
-
requiredStyle:
|
|
732
|
-
inputContainerStyle:
|
|
730
|
+
inputLabelStyle: P,
|
|
731
|
+
requiredStyle: W,
|
|
732
|
+
inputContainerStyle: Y,
|
|
733
733
|
leftIconStyle: ve,
|
|
734
|
-
inputDropDownStyle:
|
|
735
|
-
ulStyle:
|
|
734
|
+
inputDropDownStyle: _e,
|
|
735
|
+
ulStyle: he,
|
|
736
736
|
liStyle: ye,
|
|
737
|
-
httpStyle:
|
|
738
|
-
inputStyle:
|
|
739
|
-
rightIconStyle:
|
|
740
|
-
withCopyStyle:
|
|
737
|
+
httpStyle: me,
|
|
738
|
+
inputStyle: xe,
|
|
739
|
+
rightIconStyle: be,
|
|
740
|
+
withCopyStyle: ge,
|
|
741
741
|
inputHelperTextStyle: we
|
|
742
742
|
}) => {
|
|
743
|
-
const [
|
|
744
|
-
|
|
745
|
-
const U =
|
|
746
|
-
let
|
|
747
|
-
|
|
743
|
+
const [Me, le] = X(!1), [ue, V] = X(!1);
|
|
744
|
+
X(!1);
|
|
745
|
+
const U = Le(null), q = Le(null), [Se, H] = X(!1), [ke, Pe] = X(1), ee = (i) => {
|
|
746
|
+
let D = i.target.value;
|
|
747
|
+
D.length === 1 && (D = D.trim()), h && typeof h == "function" && h(F ? D.replace(/\d/g, "") : D);
|
|
748
748
|
}, K = () => {
|
|
749
|
-
|
|
750
|
-
},
|
|
751
|
-
|
|
752
|
-
},
|
|
749
|
+
V(!0), c && typeof c == "function" && c();
|
|
750
|
+
}, Ce = () => {
|
|
751
|
+
V(!1), y && typeof y == "function" && y();
|
|
752
|
+
}, Ee = (i) => {
|
|
753
753
|
const J = i.target.value.length === 0;
|
|
754
|
-
|
|
755
|
-
},
|
|
756
|
-
se && typeof se == "function" && se(
|
|
757
|
-
},
|
|
754
|
+
E === "number" && (i.keyCode === 69 || !J && (i.keyCode === 187 || i.keyCode === 107 || i.keyCode === 189 || i.keyCode === 109)) && i.preventDefault();
|
|
755
|
+
}, re = () => {
|
|
756
|
+
se && typeof se == "function" && se(p);
|
|
757
|
+
}, Re = (i) => i, Oe = () => {
|
|
758
758
|
let i = {};
|
|
759
|
-
return de && (i.borderTopRightRadius = 0, i.borderBottomRightRadius = 0, i.borderRight = 0),
|
|
760
|
-
},
|
|
759
|
+
return de && (i.borderTopRightRadius = 0, i.borderBottomRightRadius = 0, i.borderRight = 0), B && (i.paddingLeft = 0), { ...i, ...Y ?? {} };
|
|
760
|
+
}, te = (i) => {
|
|
761
761
|
!i.composedPath().includes(q.current) && i.composedPath().includes(U.current) || H(!1);
|
|
762
|
-
},
|
|
763
|
-
|
|
762
|
+
}, $e = (i) => {
|
|
763
|
+
Pe(i.id), H(!1), ie && typeof ie == "function" && ie(i);
|
|
764
764
|
};
|
|
765
|
-
|
|
766
|
-
document.removeEventListener("click",
|
|
765
|
+
Xe(() => (document.addEventListener("click", te), () => {
|
|
766
|
+
document.removeEventListener("click", te);
|
|
767
767
|
}), []);
|
|
768
|
-
const
|
|
769
|
-
return
|
|
770
|
-
|
|
768
|
+
const je = Le(!1);
|
|
769
|
+
return Xe(() => {
|
|
770
|
+
je.current ? setTimeout(() => {
|
|
771
771
|
le((i) => !i);
|
|
772
|
-
}, 0) :
|
|
773
|
-
}, []), /* @__PURE__ */
|
|
774
|
-
|
|
775
|
-
|
|
772
|
+
}, 0) : je.current = !0;
|
|
773
|
+
}, []), /* @__PURE__ */ o.jsxs("div", { className: C.inputWrapper, style: pe ?? {}, children: [
|
|
774
|
+
v && /* @__PURE__ */ o.jsxs("label", { className: C.inputLabel, style: P ?? {}, children: [
|
|
775
|
+
v,
|
|
776
776
|
" ",
|
|
777
|
-
/* @__PURE__ */
|
|
777
|
+
/* @__PURE__ */ o.jsx("span", { className: C.required, style: W ?? {}, children: g && "*" })
|
|
778
778
|
] }),
|
|
779
|
-
/* @__PURE__ */
|
|
780
|
-
/* @__PURE__ */
|
|
779
|
+
/* @__PURE__ */ o.jsxs("div", { style: { display: "flex", alignItems: "center" }, children: [
|
|
780
|
+
/* @__PURE__ */ o.jsxs(
|
|
781
781
|
"div",
|
|
782
782
|
{
|
|
783
|
-
style:
|
|
784
|
-
className: `${C.inputContainer} ${ue && !
|
|
783
|
+
style: Oe(),
|
|
784
|
+
className: `${C.inputContainer} ${ue && !b ? C.focused : ""} ${S ? C.disabled : ""} ${s != null && s.error ? C.error : ""} ${C[R ?? "sm"]}`,
|
|
785
785
|
children: [
|
|
786
|
-
!
|
|
786
|
+
!B && !Q && Z && /* @__PURE__ */ o.jsx(
|
|
787
787
|
"div",
|
|
788
788
|
{
|
|
789
789
|
className: C.leftIcon,
|
|
790
790
|
style: ve ?? {},
|
|
791
791
|
onClick: () => {
|
|
792
|
-
|
|
792
|
+
k && typeof k == "function" && k();
|
|
793
793
|
},
|
|
794
794
|
onMouseEnter: () => {
|
|
795
|
-
|
|
795
|
+
_ && typeof _ == "function" && _();
|
|
796
796
|
},
|
|
797
797
|
onMouseLeave: () => {
|
|
798
|
-
|
|
798
|
+
M && typeof M == "function" && M();
|
|
799
799
|
},
|
|
800
|
-
children:
|
|
800
|
+
children: Re(Z)
|
|
801
801
|
}
|
|
802
802
|
),
|
|
803
|
-
!
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
/* @__PURE__ */
|
|
803
|
+
!Q && B && /* @__PURE__ */ o.jsxs("div", { className: C.inputDropDown, style: _e ?? {}, onClick: () => H(!0), ref: U, children: [
|
|
804
|
+
L.find((i) => i.id === ke).label,
|
|
805
|
+
Se && /* @__PURE__ */ o.jsx("ul", { ref: q, style: he ?? {}, children: L && L.length && L.map((i, D) => /* @__PURE__ */ o.jsx("li", { style: ye ?? {}, onClick: () => $e(i), children: (i == null ? void 0 : i.label) ?? "-" }, i.id)) }),
|
|
806
|
+
/* @__PURE__ */ o.jsx(qr, {})
|
|
807
807
|
] }),
|
|
808
|
-
|
|
809
|
-
/* @__PURE__ */
|
|
808
|
+
Q && /* @__PURE__ */ o.jsx("div", { className: `${C.inputDropDown} ${C.http}`, style: me ?? {}, onClick: () => H(!0), ref: U, children: "http://" }),
|
|
809
|
+
/* @__PURE__ */ o.jsx(
|
|
810
810
|
"input",
|
|
811
811
|
{
|
|
812
|
-
style:
|
|
813
|
-
type:
|
|
814
|
-
value:
|
|
815
|
-
onChange: (i) =>
|
|
812
|
+
style: xe ?? {},
|
|
813
|
+
type: E ?? "text",
|
|
814
|
+
value: p,
|
|
815
|
+
onChange: (i) => ee(i),
|
|
816
816
|
onFocus: K,
|
|
817
|
-
onBlur:
|
|
818
|
-
disabled:
|
|
819
|
-
required:
|
|
820
|
-
onKeyDown:
|
|
821
|
-
readOnly:
|
|
817
|
+
onBlur: Ce,
|
|
818
|
+
disabled: S,
|
|
819
|
+
required: g,
|
|
820
|
+
onKeyDown: Ee,
|
|
821
|
+
readOnly: b,
|
|
822
822
|
spellCheck: !1,
|
|
823
|
-
placeholder:
|
|
823
|
+
placeholder: a ?? "",
|
|
824
824
|
autoComplete: "off",
|
|
825
|
-
maxLength:
|
|
825
|
+
maxLength: j
|
|
826
826
|
}
|
|
827
827
|
),
|
|
828
|
-
|
|
828
|
+
z && /* @__PURE__ */ o.jsx(
|
|
829
829
|
"div",
|
|
830
830
|
{
|
|
831
831
|
className: C.rightIcon,
|
|
832
|
-
style:
|
|
832
|
+
style: be ?? {},
|
|
833
833
|
onClick: () => {
|
|
834
|
-
|
|
834
|
+
A && typeof A == "function" && A();
|
|
835
835
|
},
|
|
836
836
|
onMouseEnter: () => {
|
|
837
|
-
|
|
837
|
+
I && typeof I == "function" && I();
|
|
838
838
|
},
|
|
839
839
|
onMouseLeave: () => {
|
|
840
|
-
|
|
840
|
+
N && typeof N == "function" && N();
|
|
841
841
|
},
|
|
842
|
-
children:
|
|
842
|
+
children: Re(z)
|
|
843
843
|
}
|
|
844
844
|
)
|
|
845
845
|
]
|
|
846
846
|
}
|
|
847
847
|
),
|
|
848
|
-
de && /* @__PURE__ */
|
|
849
|
-
/* @__PURE__ */
|
|
848
|
+
de && /* @__PURE__ */ o.jsxs("div", { style: ge ?? {}, onClick: re, className: C.withCopy, children: [
|
|
849
|
+
/* @__PURE__ */ o.jsx(Hr, {}),
|
|
850
850
|
"Copy"
|
|
851
851
|
] })
|
|
852
852
|
] }),
|
|
853
|
-
|
|
853
|
+
s && (s == null ? void 0 : s.visigle) && /* @__PURE__ */ o.jsx("div", { style: we ?? {}, className: `${C.inputHelperText} ${s != null && s.error ? C.error : ""}`, children: /* @__PURE__ */ o.jsx("p", { style: (s == null ? void 0 : s.style) ?? {}, children: s.text }) })
|
|
854
854
|
] });
|
|
855
|
-
},
|
|
856
|
-
textareaContainer:
|
|
857
|
-
textAreaLabel:
|
|
858
|
-
required:
|
|
859
|
-
wrap:
|
|
860
|
-
textarea:
|
|
861
|
-
focused:
|
|
862
|
-
disabled:
|
|
863
|
-
error:
|
|
864
|
-
helperTextStyle:
|
|
865
|
-
},
|
|
866
|
-
/* @__PURE__ */
|
|
855
|
+
}, Kr = "Textarea-module__textareaContainer", Jr = "Textarea-module__textAreaLabel", Gr = "Textarea-module__required", Xr = "Textarea-module__wrap", zr = "Textarea-module__textarea", Zr = "Textarea-module__focused", Qr = "Textarea-module__disabled", et = "Textarea-module__error", rt = "Textarea-module__helperTextStyle", $ = {
|
|
856
|
+
textareaContainer: Kr,
|
|
857
|
+
textAreaLabel: Jr,
|
|
858
|
+
required: Gr,
|
|
859
|
+
wrap: Xr,
|
|
860
|
+
textarea: zr,
|
|
861
|
+
focused: Zr,
|
|
862
|
+
disabled: Qr,
|
|
863
|
+
error: et,
|
|
864
|
+
helperTextStyle: rt
|
|
865
|
+
}, tt = ({ width: p, height: v, color: a }) => /* @__PURE__ */ o.jsxs("svg", { width: p ?? "16", height: v ?? "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
866
|
+
/* @__PURE__ */ o.jsx("g", { id: "help-circle", clipPath: "url(#clip0_433_6293)", children: /* @__PURE__ */ o.jsx(
|
|
867
867
|
"path",
|
|
868
868
|
{
|
|
869
869
|
id: "Icon",
|
|
870
870
|
d: "M6.05992 5.99998C6.21665 5.55442 6.52602 5.17872 6.93322 4.9394C7.34042 4.70009 7.81918 4.61261 8.2847 4.69245C8.75022 4.7723 9.17246 5.01433 9.47664 5.37567C9.78081 5.737 9.94729 6.19433 9.94659 6.66665C9.94659 7.99998 7.94659 8.66665 7.94659 8.66665M7.99992 11.3333H8.00659M14.6666 7.99998C14.6666 11.6819 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6819 1.33325 7.99998C1.33325 4.31808 4.31802 1.33331 7.99992 1.33331C11.6818 1.33331 14.6666 4.31808 14.6666 7.99998Z",
|
|
871
|
-
stroke:
|
|
871
|
+
stroke: a ?? "#A4A7AE",
|
|
872
872
|
strokeWidth: "1.33333",
|
|
873
873
|
strokeLinecap: "round",
|
|
874
874
|
strokeLinejoin: "round"
|
|
875
875
|
}
|
|
876
876
|
) }),
|
|
877
|
-
/* @__PURE__ */
|
|
878
|
-
] }),
|
|
879
|
-
placeholder:
|
|
880
|
-
label:
|
|
881
|
-
msg:
|
|
882
|
-
cols:
|
|
883
|
-
rows:
|
|
884
|
-
value:
|
|
885
|
-
maxLength:
|
|
886
|
-
onChange:
|
|
887
|
-
onFocus:
|
|
888
|
-
onBlur:
|
|
889
|
-
disabled:
|
|
890
|
-
required:
|
|
891
|
-
textareaContainerStyle:
|
|
877
|
+
/* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsx("clipPath", { id: "clip0_433_6293", children: /* @__PURE__ */ o.jsx("rect", { width: p ?? "16", height: v ?? "16", fill: "white" }) }) })
|
|
878
|
+
] }), ct = ({
|
|
879
|
+
placeholder: p,
|
|
880
|
+
label: v,
|
|
881
|
+
msg: a,
|
|
882
|
+
cols: g,
|
|
883
|
+
rows: S,
|
|
884
|
+
value: E,
|
|
885
|
+
maxLength: R,
|
|
886
|
+
onChange: h,
|
|
887
|
+
onFocus: c,
|
|
888
|
+
onBlur: y,
|
|
889
|
+
disabled: s,
|
|
890
|
+
required: b,
|
|
891
|
+
textareaContainerStyle: j,
|
|
892
892
|
textareaLabelStyle: F,
|
|
893
|
-
requiredStyle:
|
|
894
|
-
textareaStyle:
|
|
895
|
-
textareaHelperTextStyle:
|
|
893
|
+
requiredStyle: A,
|
|
894
|
+
textareaStyle: I,
|
|
895
|
+
textareaHelperTextStyle: N
|
|
896
896
|
}) => {
|
|
897
|
-
const [
|
|
898
|
-
let
|
|
899
|
-
|
|
900
|
-
}, X = () => {
|
|
901
|
-
p(!0), f && typeof f == "function" && f();
|
|
897
|
+
const [k, _] = X(!1), M = (B) => {
|
|
898
|
+
let L = B.target.value;
|
|
899
|
+
h && typeof h == "function" && h(L);
|
|
902
900
|
}, z = () => {
|
|
903
|
-
|
|
901
|
+
_(!0), c && typeof c == "function" && c();
|
|
902
|
+
}, Z = () => {
|
|
903
|
+
_(!1), y && typeof y == "function" && y();
|
|
904
904
|
};
|
|
905
|
-
return /* @__PURE__ */
|
|
905
|
+
return /* @__PURE__ */ o.jsxs(
|
|
906
906
|
"div",
|
|
907
907
|
{
|
|
908
|
-
style:
|
|
909
|
-
className: `${
|
|
908
|
+
style: j ?? {},
|
|
909
|
+
className: `${$.textareaContainer} ${a != null && a.type && (a != null && a.visible) ? $[a == null ? void 0 : a.type] : ""} ${s ? $.disabled : null}`,
|
|
910
910
|
children: [
|
|
911
|
-
|
|
912
|
-
/* @__PURE__ */
|
|
913
|
-
/* @__PURE__ */
|
|
914
|
-
/* @__PURE__ */
|
|
911
|
+
v && /* @__PURE__ */ o.jsxs("div", { style: F, className: $.textAreaLabel, children: [
|
|
912
|
+
/* @__PURE__ */ o.jsx("p", { children: v }),
|
|
913
|
+
/* @__PURE__ */ o.jsx("span", { style: A ?? {}, className: $.required, children: b && "*" }),
|
|
914
|
+
/* @__PURE__ */ o.jsx(tt, {})
|
|
915
915
|
] }),
|
|
916
|
-
/* @__PURE__ */
|
|
916
|
+
/* @__PURE__ */ o.jsx("div", { className: $.wrap, children: /* @__PURE__ */ o.jsx(
|
|
917
917
|
"textarea",
|
|
918
918
|
{
|
|
919
|
-
style:
|
|
920
|
-
className: `${
|
|
921
|
-
value:
|
|
922
|
-
placeholder:
|
|
923
|
-
cols:
|
|
924
|
-
rows:
|
|
925
|
-
maxLength:
|
|
926
|
-
onFocus:
|
|
927
|
-
disabled:
|
|
928
|
-
onBlur:
|
|
929
|
-
onChange:
|
|
919
|
+
style: I ?? {},
|
|
920
|
+
className: `${$.textarea} ${k ? $.focused : ""} ${s ? $.disabled : ""} ${a != null && a.error ? $.error : ""}`,
|
|
921
|
+
value: E,
|
|
922
|
+
placeholder: p ?? "",
|
|
923
|
+
cols: g ?? "30",
|
|
924
|
+
rows: S ?? "5",
|
|
925
|
+
maxLength: R ?? null,
|
|
926
|
+
onFocus: z,
|
|
927
|
+
disabled: s,
|
|
928
|
+
onBlur: Z,
|
|
929
|
+
onChange: M
|
|
930
930
|
}
|
|
931
931
|
) }),
|
|
932
|
-
/* @__PURE__ */
|
|
932
|
+
/* @__PURE__ */ o.jsx("div", { style: N ?? {}, className: `${$.helperTextStyle} ${a != null && a.error ? $.error : ""}`, children: /* @__PURE__ */ o.jsx("p", { style: (a == null ? void 0 : a.style) ?? {}, children: a.text }) })
|
|
933
933
|
]
|
|
934
934
|
}
|
|
935
935
|
);
|
|
936
|
+
}, nt = "Toggle-module__toggleWrapper", ot = "Toggle-module__toggleState", at = "Toggle-module__checked", it = "Toggle-module__disabled", Te = {
|
|
937
|
+
toggleWrapper: nt,
|
|
938
|
+
toggleState: ot,
|
|
939
|
+
checked: at,
|
|
940
|
+
disabled: it
|
|
941
|
+
}, ft = ({
|
|
942
|
+
checked: p,
|
|
943
|
+
change: v,
|
|
944
|
+
disabled: a,
|
|
945
|
+
required: g,
|
|
946
|
+
activeStyle: S,
|
|
947
|
+
bgStyle: E,
|
|
948
|
+
checkedBgStyle: R,
|
|
949
|
+
disabledBgStyle: h,
|
|
950
|
+
circleStyle: c,
|
|
951
|
+
checkedCircleStyle: y,
|
|
952
|
+
disabledCircleStyle: s
|
|
953
|
+
}) => {
|
|
954
|
+
const [b, j] = X(!1), F = () => {
|
|
955
|
+
v && typeof v == "function" && v(!p);
|
|
956
|
+
}, A = () => {
|
|
957
|
+
if (b)
|
|
958
|
+
return S ?? {};
|
|
959
|
+
if (p) {
|
|
960
|
+
if (R) return R;
|
|
961
|
+
} else if (p) {
|
|
962
|
+
if (a && h)
|
|
963
|
+
return h;
|
|
964
|
+
} else if (E) return E;
|
|
965
|
+
return {};
|
|
966
|
+
}, I = () => {
|
|
967
|
+
if (p) {
|
|
968
|
+
if (y) return y;
|
|
969
|
+
} else if (p) {
|
|
970
|
+
if (a && s)
|
|
971
|
+
return s;
|
|
972
|
+
} else if (c) return c;
|
|
973
|
+
return {};
|
|
974
|
+
};
|
|
975
|
+
return /* @__PURE__ */ o.jsx(
|
|
976
|
+
"div",
|
|
977
|
+
{
|
|
978
|
+
style: A(),
|
|
979
|
+
onMouseDown: () => j(!0),
|
|
980
|
+
onMouseUp: () => j(!1),
|
|
981
|
+
onMouseLeave: () => j(!1),
|
|
982
|
+
onClick: F,
|
|
983
|
+
className: `${Te.toggleWrapper} ${p ? Te.checked : ""} ${a ? Te.disabled : ""}`,
|
|
984
|
+
children: /* @__PURE__ */ o.jsx("div", { style: I(), className: Te.toggleState, children: /* @__PURE__ */ o.jsx("input", { type: "checkbox", checked: p, readOnly: !0, disabled: a ?? !1, hidden: !0, required: g ?? !1 }) })
|
|
985
|
+
}
|
|
986
|
+
);
|
|
936
987
|
};
|
|
937
988
|
export {
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
989
|
+
ut as FormInput,
|
|
990
|
+
lt as MainButton,
|
|
991
|
+
ct as Textarea,
|
|
992
|
+
ft as Toggle
|
|
941
993
|
};
|