master-components-react 1.9.0 → 1.10.0
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,5 +1,5 @@
|
|
|
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%;display:grid}.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{place-items:center;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 .FormInput-module__inputContent{width:100%;display:flex;align-items:center;flex-wrap:wrap}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent .FormInput-module__inputTags{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-right:.5rem;padding:.5rem 0}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent input{flex:1 0 100px;width:auto;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 .FormInput-module__inputContent 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{min-height:2.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__md{min-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}.Checkbox-module__checkboxWrapper{overflow:hidden;border:.0625rem solid #d1d5d6;background:#fff;position:relative;border-radius:.25rem;cursor:pointer;transition:.2;display:grid;place-items:center}.Checkbox-module__checkboxWrapper.Checkbox-module__sm{width:1rem;height:1rem}.Checkbox-module__checkboxWrapper.Checkbox-module__md{width:1.25rem;height:1.25rem}.Checkbox-module__checkboxWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark{display:grid;place-items:center}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark svg{width:.625rem;-webkit-user-select:none;user-select:none;pointer-events:none}.Checkbox-module__checkboxWrapper.Checkbox-module__checked,.Checkbox-module__checkboxWrapper.Checkbox-module__checked:hover{background:#7f56d9;border:.0625rem solid #7f56d9}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg{opacity:.4}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg path{stroke:#d5d7da}.Checkbox-module__checkboxWrapper.Checkbox-module__disabled{pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important;background:#fafafa!important;border:.0625rem solid #d5d7da!important}*{-webkit-user-select:none;user-select:none}.Tag-module__tagContainer{width:fit-content;display:flex;justify-content:center;align-items:center;gap:.375rem;border-radius:.375rem;border:1px solid #d5d7da;background:#fff;padding:.25rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__sm{padding:.5rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__md{padding:.125rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__lg{padding:.25rem}.Tag-module__tagContainer.Tag-module__sm{height:24px}.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagNumber{font-size:.75rem;line-height:1.125rem}.Tag-module__tagContainer.Tag-module__md{height:24px}.Tag-module__tagContainer.Tag-module__md .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__md .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer.Tag-module__lg{height:28px}.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer .Tag-module__tagLabel{white-space:nowrap;word-wrap:break-word;color:#414651;font-family:Inter,sans-serif}.Tag-module__tagContainer .Tag-module__tagNumber{display:flex;padding:0 5px;flex-direction:column;justify-content:center;align-items:center;border-radius:3px;background:#f5f5f5;color:#414651;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}.Tag-module__tagContainer .Tag-module__tagClose{display:grid;place-items:center;cursor:pointer}.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:2.25rem;height:1.25rem;position:relative;overflow:hidden;background:#f5f5f5;border-radius:624.9375rem;cursor:pointer}.Toggle-module__toggleWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Toggle-module__toggleWrapper .Toggle-module__toggleState{width:1.125rem;height:1rem;width:1rem;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.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}.Radio-module__radioWrapper{border-radius:50%;overflow:hidden;position:relative;border-radius:624.9375rem;border:.0625rem solid #d5d7da;cursor:pointer;transition:.2s}.Radio-module__radioWrapper.Radio-module__sm{width:1rem;height:1rem}.Radio-module__radioWrapper.Radio-module__md{width:1.25rem;height:1.25rem;transition:.2s}.Radio-module__radioWrapper.Radio-module__md.Radio-module__checked .Radio-module__innerCircle{width:.5rem;height:.5rem;transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState{width:100%;background:#10b77f;border-radius:50%;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState .Radio-module__innerCircle{border-radius:624.9375rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.375rem;height:.375rem;background-color:#fff}.Radio-module__radioWrapper.Radio-module__checked{background:#7f56d9;border:none}.Radio-module__radioWrapper.Radio-module__checked .Radio-module__radioState{opacity:1}.Radio-module__radioWrapper.Radio-module__disabled{pointer-events:none;background:#fafafa;border:.0625rem solid #d5d7da}.Radio-module__radioWrapper.Radio-module__disabled .Radio-module__radioState{background:#e9ebec}*{font-family:Inter,sans-serif;-webkit-user-select:none;user-select:none}*::-webkit-scrollbar{display:block!important}*::-webkit-scrollbar-thumb{border:.25rem solid #fff;opacity:.15;background:#00000026;border-radius:624.9375rem;height:7.75rem}.Dropdown-module__dropdownWrapper{width:100%;display:grid}.Dropdown-module__dropdownWrapper .Dropdown-module__placeHolder{color:#717680;text-overflow:ellipsis;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel{display:flex;align-items:center;gap:.125rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel .Dropdown-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer{place-items:center;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;padding-right:.75rem;position:relative}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags{width:100%}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__selectedList{font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#181d27}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__additional{color:#181d27;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#00adee}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer 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}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer input::placeholder{color:#717680}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList{width:100%;margin-top:.25rem;position:absolute;top:100%;left:0;border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#fff;box-shadow:0 .75rem 1rem -.25rem #0a0d1214,0 .25rem .375rem -.125rem #0a0d1208,0 .125rem .125rem -.0625rem #0a0d120a;display:flex;max-height:16rem;padding:.25rem;flex-direction:column;align-items:flex-start;flex:1 0 0;overflow:auto}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li{width:100%;padding:.5rem;gap:.5rem;flex:1 0 0;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li p{color:#181d27;font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li:hover{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__disabled{pointer-events:none;opacity:.6}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__selected{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error.Dropdown-module__focused{outline-width:.125rem;outline-color:#f04438}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled{pointer-events:none;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{min-height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{min-height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText.Dropdown-module__error p{color:#d92d20}.Tooltip-module__tooltipContainer{position:relative;width:100%}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent{border-radius:.5rem;background:#181d27;padding:.75rem;width:320px;min-width:118px;position:absolute;z-index:99999;word-break:break-all}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent:before{content:" ";left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-width:6px;margin-left:-6px}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__top{top:unset;bottom:calc(100% + 12px)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__top:before{top:100%;border-top-color:#181d27;left:var(--pointer-position)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__right{left:calc(100% + 30px);top:50%;transform:translate(0) translateY(-50%)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__right:before{left:-6px;top:50%;transform:translate(0) translateY(-50%);border-right-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__bottom{top:calc(100% + 12px);bottom:unset}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__bottom:before{bottom:100%;left:var(--pointer-position);border-bottom-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__left{left:unset;right:calc(100% + 12px);top:50%;transform:translateY(-50%)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__left:before{left:auto;right:-12px;top:50%;transform:translate(0) translateY(-50%);border-left-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent .Tooltip-module__tooltipTitle{width:100%;word-break:break-all;color:#fff;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:600;line-height:1.125rem}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent .Tooltip-module__tooltipText{width:100%;word-break:break-all;color:#ffffffe6;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
import
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.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%;display:grid}.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{place-items:center;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 .FormInput-module__inputContent{width:100%;display:flex;align-items:center;flex-wrap:wrap}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent .FormInput-module__inputTags{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-right:.5rem;padding:.5rem 0}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent input{flex:1 0 100px;width:auto;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 .FormInput-module__inputContent 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{min-height:2.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__md{min-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}.Checkbox-module__checkboxWrapper{overflow:hidden;border:.0625rem solid #d1d5d6;background:#fff;position:relative;border-radius:.25rem;cursor:pointer;transition:.2;display:grid;place-items:center}.Checkbox-module__checkboxWrapper.Checkbox-module__sm{width:1rem;height:1rem}.Checkbox-module__checkboxWrapper.Checkbox-module__md{width:1.25rem;height:1.25rem}.Checkbox-module__checkboxWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark{display:grid;place-items:center}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark svg{width:.625rem;-webkit-user-select:none;user-select:none;pointer-events:none}.Checkbox-module__checkboxWrapper.Checkbox-module__checked,.Checkbox-module__checkboxWrapper.Checkbox-module__checked:hover{background:#7f56d9;border:.0625rem solid #7f56d9}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg{opacity:.4}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg path{stroke:#d5d7da}.Checkbox-module__checkboxWrapper.Checkbox-module__disabled{pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important;background:#fafafa!important;border:.0625rem solid #d5d7da!important}*{-webkit-user-select:none;user-select:none}.Tag-module__tagContainer{width:fit-content;display:flex;justify-content:center;align-items:center;gap:.375rem;border-radius:.375rem;border:1px solid #d5d7da;background:#fff;padding:.25rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__sm{padding:.5rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__md{padding:.125rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__lg{padding:.25rem}.Tag-module__tagContainer.Tag-module__sm{height:24px}.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagNumber{font-size:.75rem;line-height:1.125rem}.Tag-module__tagContainer.Tag-module__md{height:24px}.Tag-module__tagContainer.Tag-module__md .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__md .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer.Tag-module__lg{height:28px}.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer .Tag-module__tagLabel{white-space:nowrap;word-wrap:break-word;color:#414651;font-family:Inter,sans-serif}.Tag-module__tagContainer .Tag-module__tagNumber{display:flex;padding:0 5px;flex-direction:column;justify-content:center;align-items:center;border-radius:3px;background:#f5f5f5;color:#414651;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}.Tag-module__tagContainer .Tag-module__tagClose{display:grid;place-items:center;cursor:pointer}.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:2.25rem;height:1.25rem;position:relative;overflow:hidden;background:#f5f5f5;border-radius:624.9375rem;cursor:pointer}.Toggle-module__toggleWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Toggle-module__toggleWrapper .Toggle-module__toggleState{width:1.125rem;height:1rem;width:1rem;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.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}.Radio-module__radioWrapper{border-radius:50%;overflow:hidden;position:relative;border-radius:624.9375rem;border:.0625rem solid #d5d7da;cursor:pointer;transition:.2s}.Radio-module__radioWrapper.Radio-module__sm{width:1rem;height:1rem}.Radio-module__radioWrapper.Radio-module__md{width:1.25rem;height:1.25rem;transition:.2s}.Radio-module__radioWrapper.Radio-module__md.Radio-module__checked .Radio-module__innerCircle{width:.5rem;height:.5rem;transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState{width:100%;background:#10b77f;border-radius:50%;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState .Radio-module__innerCircle{border-radius:624.9375rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.375rem;height:.375rem;background-color:#fff}.Radio-module__radioWrapper.Radio-module__checked{background:#7f56d9;border:none}.Radio-module__radioWrapper.Radio-module__checked .Radio-module__radioState{opacity:1}.Radio-module__radioWrapper.Radio-module__disabled{pointer-events:none;background:#fafafa;border:.0625rem solid #d5d7da}.Radio-module__radioWrapper.Radio-module__disabled .Radio-module__radioState{background:#e9ebec}*{font-family:Inter,sans-serif;-webkit-user-select:none;user-select:none}*::-webkit-scrollbar{display:block!important}*::-webkit-scrollbar-thumb{border:.25rem solid #fff;opacity:.15;background:#00000026;border-radius:624.9375rem;height:7.75rem}.Dropdown-module__dropdownWrapper{width:100%;display:grid}.Dropdown-module__dropdownWrapper .Dropdown-module__placeHolder{color:#717680;text-overflow:ellipsis;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel{display:flex;align-items:center;gap:.125rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel .Dropdown-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer{place-items:center;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;padding-right:.75rem;position:relative}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags{width:100%}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__selectedList{font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#181d27}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__additional{color:#181d27;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#00adee}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer 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}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer input::placeholder{color:#717680}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList{width:100%;margin-top:.25rem;position:absolute;top:100%;left:0;border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#fff;box-shadow:0 .75rem 1rem -.25rem #0a0d1214,0 .25rem .375rem -.125rem #0a0d1208,0 .125rem .125rem -.0625rem #0a0d120a;display:flex;max-height:16rem;padding:.25rem;flex-direction:column;align-items:flex-start;flex:1 0 0;overflow:auto}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li{width:100%;padding:.5rem;gap:.5rem;flex:1 0 0;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li p{color:#181d27;font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li:hover{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__disabled{pointer-events:none;opacity:.6}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__selected{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error.Dropdown-module__focused{outline-width:.125rem;outline-color:#f04438}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled{pointer-events:none;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{min-height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{min-height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText.Dropdown-module__error p{color:#d92d20}.Tooltip-module__tooltipContainer{position:relative;width:100%}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent{border-radius:.5rem;background:#181d27;padding:.75rem;width:320px;min-width:118px;position:absolute;z-index:99999;word-break:break-all}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent:before{content:" ";left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-width:6px;margin-left:-6px}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__top{top:unset;bottom:calc(100% + 12px)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__top:before{top:100%;border-top-color:#181d27;left:var(--pointer-position)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__right{left:calc(100% + 30px);top:50%;transform:translate(0) translateY(-50%)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__right:before{left:-6px;top:50%;transform:translate(0) translateY(-50%);border-right-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__bottom{top:calc(100% + 12px);bottom:unset}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__bottom:before{bottom:100%;left:var(--pointer-position);border-bottom-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__left{left:unset;right:calc(100% + 12px);top:50%;transform:translateY(-50%)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__left:before{left:auto;right:-12px;top:50%;transform:translate(0) translateY(-50%);border-left-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent .Tooltip-module__tooltipTitle{width:100%;word-break:break-all;color:#fff;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:600;line-height:1.125rem}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent .Tooltip-module__tooltipText{width:100%;word-break:break-all;color:#ffffffe6;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}.Popup-module__modalOverlay{width:100vw;height:100vh;display:grid;place-items:center;position:fixed;top:0;left:0;z-index:250;background:#0a0d12b3}.Popup-module__modalOverlay ::-webkit-scrollbar{width:0}.Popup-module__modalOverlay ::-webkit-scrollbar-track{-webkit-box-shadow:none}.Popup-module__modalOverlay ::-webkit-scrollbar-thumb{background-color:none;outline:0}.Popup-module__modalOverlay.Popup-module__popupDrawerMode{overflow:hidden;place-items:end}.Popup-module__modalOverlay.Popup-module__popupDrawerMode .Popup-module__popupContainer{min-height:unset;max-height:unset;min-width:17.5rem;height:100vh!important;animation:Popup-module__EnterFromLeft .3s forwards!important}@keyframes Popup-module__EnterFromLeft{0%{left:100%}to{left:0}}.Popup-module__modalOverlay .Popup-module__popupContainer{padding:1.5rem;min-height:13.75rem;max-height:calc(100vh - 5.625rem);position:relative;transition:.2s;z-index:280;border-radius:.75rem;background:#fff;box-shadow:0 20px 24px -4px #0a0d1214,0 8px 8px -4px #0a0d1208,0 3px 3px -1.5px #0a0d120a;overflow:auto;animation:Popup-module__fadeIn .3s forwards}@keyframes Popup-module__fadeIn{0%{opacity:0}to{opacity:1}}.Popup-module__modalOverlay .Popup-module__popupContainer.Popup-module__withOptions{width:400px}.Popup-module__modalOverlay .Popup-module__popupContainer.Popup-module__withOptions.Popup-module__horizontal{width:544px}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader{width:100%;position:sticky;top:0;background:#fff;z-index:1}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__popupTitle{margin-top:1rem}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__popupTitle h2{color:#181d27;font-size:1.125rem;font-style:normal;font-weight:600;line-height:28px;font-family:Inter,sans-serif;line-height:1.75rem}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__popupDescription{margin-top:.25rem}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__popupDescription p{color:#535862;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem;font-family:Inter,sans-serif}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__typeIcon{display:flex;align-items:center;justify-content:space-between}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__typeIcon .Popup-module__icon{display:grid;place-items:center;width:3rem;height:3rem;border-radius:624.9375rem}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__templateWrapper{width:100%;position:relative}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import ir, { useRef as Y, useState as q, useEffect as fe } from "react";
|
|
3
3
|
var Xe = { exports: {} }, Se = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
@@ -10,21 +10,21 @@ var Xe = { exports: {} }, Se = {};
|
|
|
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 a,
|
|
20
|
-
|
|
21
|
-
for (a in
|
|
22
|
-
if (
|
|
23
|
-
return { $$typeof: u, type:
|
|
13
|
+
var sr;
|
|
14
|
+
function Er() {
|
|
15
|
+
if (sr) return Se;
|
|
16
|
+
sr = 1;
|
|
17
|
+
var s = ir, u = Symbol.for("react.element"), n = Symbol.for("react.fragment"), x = Object.prototype.hasOwnProperty, y = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function g(_, i, p) {
|
|
19
|
+
var a, v = {}, k = null, E = null;
|
|
20
|
+
p !== void 0 && (k = "" + p), i.key !== void 0 && (k = "" + i.key), i.ref !== void 0 && (E = i.ref);
|
|
21
|
+
for (a in i) x.call(i, a) && !d.hasOwnProperty(a) && (v[a] = i[a]);
|
|
22
|
+
if (_ && _.defaultProps) for (a in i = _.defaultProps, i) v[a] === void 0 && (v[a] = i[a]);
|
|
23
|
+
return { $$typeof: u, type: _, key: k, ref: E, props: v, _owner: y.current };
|
|
24
24
|
}
|
|
25
|
-
return Se.Fragment =
|
|
25
|
+
return Se.Fragment = n, Se.jsx = g, Se.jsxs = g, Se;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var We = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -34,91 +34,91 @@ var Ae = {};
|
|
|
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 ar;
|
|
38
|
+
function Rr() {
|
|
39
|
+
return ar || (ar = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var s = ir, u = Symbol.for("react.element"), n = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), _ = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), j = Symbol.iterator, L = "@@iterator";
|
|
41
|
+
function H(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var
|
|
45
|
-
return typeof
|
|
44
|
+
var t = j && e[j] || e[L];
|
|
45
|
+
return typeof t == "function" ? t : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
function
|
|
47
|
+
var O = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
+
function w(e) {
|
|
49
49
|
{
|
|
50
|
-
for (var
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
for (var t = arguments.length, l = new Array(t > 1 ? t - 1 : 0), c = 1; c < t; c++)
|
|
51
|
+
l[c - 1] = arguments[c];
|
|
52
|
+
B("error", e, l);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function B(e, t, l) {
|
|
56
56
|
{
|
|
57
|
-
var
|
|
58
|
-
|
|
59
|
-
var T =
|
|
60
|
-
return String(
|
|
57
|
+
var c = O.ReactDebugCurrentFrame, b = c.getStackAddendum();
|
|
58
|
+
b !== "" && (t += "%s", l = l.concat([b]));
|
|
59
|
+
var T = l.map(function(m) {
|
|
60
|
+
return String(m);
|
|
61
61
|
});
|
|
62
|
-
T.unshift("Warning: " +
|
|
62
|
+
T.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, T);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var $ = !1,
|
|
66
|
-
|
|
67
|
-
function
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
65
|
+
var $ = !1, X = !1, se = !1, ae = !1, pe = !1, oe;
|
|
66
|
+
oe = Symbol.for("react.module.reference");
|
|
67
|
+
function he(e) {
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === x || e === d || pe || e === y || e === p || e === a || ae || e === E || $ || X || se || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === v || e.$$typeof === g || e.$$typeof === _ || e.$$typeof === i || // 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 === oe || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
var
|
|
76
|
-
if (
|
|
77
|
-
return
|
|
78
|
-
var
|
|
79
|
-
return
|
|
74
|
+
function Le(e, t, l) {
|
|
75
|
+
var c = e.displayName;
|
|
76
|
+
if (c)
|
|
77
|
+
return c;
|
|
78
|
+
var b = t.displayName || t.name || "";
|
|
79
|
+
return b !== "" ? l + "(" + b + ")" : l;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function ye(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
84
|
function W(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
|
-
if (typeof e.tag == "number" &&
|
|
87
|
+
if (typeof e.tag == "number" && w("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 x:
|
|
93
93
|
return "Fragment";
|
|
94
|
-
case
|
|
94
|
+
case n:
|
|
95
95
|
return "Portal";
|
|
96
|
-
case
|
|
96
|
+
case d:
|
|
97
97
|
return "Profiler";
|
|
98
|
-
case
|
|
98
|
+
case y:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case p:
|
|
101
101
|
return "Suspense";
|
|
102
102
|
case a:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
|
+
case _:
|
|
108
|
+
var t = e;
|
|
109
|
+
return ye(t) + ".Consumer";
|
|
110
|
+
case g:
|
|
111
|
+
var l = e;
|
|
112
|
+
return ye(l._context) + ".Provider";
|
|
113
|
+
case i:
|
|
114
|
+
return Le(e, e.render, "ForwardRef");
|
|
107
115
|
case v:
|
|
108
|
-
var
|
|
109
|
-
return
|
|
110
|
-
case
|
|
111
|
-
var
|
|
112
|
-
return me(o._context) + ".Provider";
|
|
113
|
-
case c:
|
|
114
|
-
return $e(e, e.render, "ForwardRef");
|
|
115
|
-
case m:
|
|
116
|
-
var i = e.displayName || null;
|
|
117
|
-
return i !== null ? i : W(e.type) || "Memo";
|
|
118
|
-
case R: {
|
|
119
|
-
var y = e, T = y._payload, _ = y._init;
|
|
116
|
+
var c = e.displayName || null;
|
|
117
|
+
return c !== null ? c : W(e.type) || "Memo";
|
|
118
|
+
case k: {
|
|
119
|
+
var b = e, T = b._payload, m = b._init;
|
|
120
120
|
try {
|
|
121
|
-
return W(
|
|
121
|
+
return W(m(T));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function kr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
130
|
-
function
|
|
129
|
+
var U = Object.assign, Z = 0, Ce, Oe, be, ee, ie, M, le;
|
|
130
|
+
function re() {
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
132
|
+
re.__reactDisabledLog = !0;
|
|
133
|
+
function F() {
|
|
134
134
|
{
|
|
135
|
-
if (
|
|
136
|
-
|
|
135
|
+
if (Z === 0) {
|
|
136
|
+
Ce = console.log, Oe = console.info, be = console.warn, ee = console.error, ie = console.group, M = console.groupCollapsed, le = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: re,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -150,194 +150,194 @@ function kr() {
|
|
|
150
150
|
groupEnd: e
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
Z++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function ge() {
|
|
157
157
|
{
|
|
158
|
-
if (
|
|
158
|
+
if (Z--, Z === 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:
|
|
166
|
-
value:
|
|
165
|
+
log: U({}, e, {
|
|
166
|
+
value: Ce
|
|
167
167
|
}),
|
|
168
|
-
info:
|
|
169
|
-
value:
|
|
168
|
+
info: U({}, e, {
|
|
169
|
+
value: Oe
|
|
170
170
|
}),
|
|
171
|
-
warn:
|
|
172
|
-
value:
|
|
171
|
+
warn: U({}, e, {
|
|
172
|
+
value: be
|
|
173
173
|
}),
|
|
174
|
-
error:
|
|
175
|
-
value:
|
|
174
|
+
error: U({}, e, {
|
|
175
|
+
value: ee
|
|
176
176
|
}),
|
|
177
|
-
group:
|
|
178
|
-
value:
|
|
177
|
+
group: U({}, e, {
|
|
178
|
+
value: ie
|
|
179
179
|
}),
|
|
180
|
-
groupCollapsed:
|
|
181
|
-
value:
|
|
180
|
+
groupCollapsed: U({}, e, {
|
|
181
|
+
value: M
|
|
182
182
|
}),
|
|
183
|
-
groupEnd:
|
|
184
|
-
value:
|
|
183
|
+
groupEnd: U({}, e, {
|
|
184
|
+
value: le
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
Z < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
function
|
|
191
|
+
var _e = O.ReactCurrentDispatcher, K;
|
|
192
|
+
function ce(e, t, l) {
|
|
193
193
|
{
|
|
194
|
-
if (
|
|
194
|
+
if (K === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
|
-
} catch (
|
|
198
|
-
var
|
|
199
|
-
|
|
197
|
+
} catch (b) {
|
|
198
|
+
var c = b.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
+
K = c && c[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
|
-
` +
|
|
202
|
+
` + K + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var ve = !1, ue;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
|
|
207
|
+
var De = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
ue = new De();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
if (!e ||
|
|
210
|
+
function je(e, t) {
|
|
211
|
+
if (!e || ve)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
|
-
var
|
|
215
|
-
if (
|
|
216
|
-
return
|
|
214
|
+
var l = ue.get(e);
|
|
215
|
+
if (l !== void 0)
|
|
216
|
+
return l;
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
|
|
220
|
-
var
|
|
218
|
+
var c;
|
|
219
|
+
ve = !0;
|
|
220
|
+
var b = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
222
|
var T;
|
|
223
|
-
T =
|
|
223
|
+
T = _e.current, _e.current = null, F();
|
|
224
224
|
try {
|
|
225
|
-
if (
|
|
226
|
-
var
|
|
225
|
+
if (t) {
|
|
226
|
+
var m = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
229
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(m.prototype, "props", {
|
|
230
230
|
set: function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
}
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
|
-
Reflect.construct(
|
|
236
|
-
} catch (
|
|
237
|
-
|
|
235
|
+
Reflect.construct(m, []);
|
|
236
|
+
} catch (V) {
|
|
237
|
+
c = V;
|
|
238
238
|
}
|
|
239
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], m);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
|
-
|
|
243
|
-
} catch (
|
|
244
|
-
|
|
242
|
+
m.call();
|
|
243
|
+
} catch (V) {
|
|
244
|
+
c = V;
|
|
245
245
|
}
|
|
246
|
-
e.call(
|
|
246
|
+
e.call(m.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
throw Error();
|
|
251
|
-
} catch (
|
|
252
|
-
|
|
251
|
+
} catch (V) {
|
|
252
|
+
c = V;
|
|
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 (V) {
|
|
257
|
+
if (V && c && typeof V.stack == "string") {
|
|
258
|
+
for (var h = V.stack.split(`
|
|
259
|
+
`), I = c.stack.split(`
|
|
260
|
+
`), R = h.length - 1, P = I.length - 1; R >= 1 && P >= 0 && h[R] !== I[P]; )
|
|
261
|
+
P--;
|
|
262
|
+
for (; R >= 1 && P >= 0; R--, P--)
|
|
263
|
+
if (h[R] !== I[P]) {
|
|
264
|
+
if (R !== 1 || P !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (
|
|
267
|
-
var
|
|
268
|
-
` +
|
|
269
|
-
return e.displayName &&
|
|
266
|
+
if (R--, P--, P < 0 || h[R] !== I[P]) {
|
|
267
|
+
var J = `
|
|
268
|
+
` + h[R].replace(" at new ", " at ");
|
|
269
|
+
return e.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", e.displayName)), typeof e == "function" && ue.set(e, J), J;
|
|
270
270
|
}
|
|
271
|
-
while (
|
|
271
|
+
while (R >= 1 && P >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
ve = !1, _e.current = T, ge(), Error.prepareStackTrace = b;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
return typeof e == "function" &&
|
|
278
|
+
var Te = e ? e.displayName || e.name : "", me = Te ? ce(Te) : "";
|
|
279
|
+
return typeof e == "function" && ue.set(e, me), me;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function we(e, t, l) {
|
|
282
|
+
return je(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
var
|
|
286
|
-
return !!(
|
|
284
|
+
function te(e) {
|
|
285
|
+
var t = e.prototype;
|
|
286
|
+
return !!(t && t.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function ne(e, t, l) {
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return je(e, te(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
|
-
return
|
|
294
|
+
return ce(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case
|
|
297
|
-
return
|
|
296
|
+
case p:
|
|
297
|
+
return ce("Suspense");
|
|
298
298
|
case a:
|
|
299
|
-
return
|
|
299
|
+
return ce("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
|
|
303
|
+
case i:
|
|
304
|
+
return we(e.render);
|
|
305
|
+
case v:
|
|
306
|
+
return ne(e.type, t, l);
|
|
307
|
+
case k: {
|
|
308
|
+
var c = e, b = c._payload, T = c._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return ne(T(b), t, l);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
function
|
|
317
|
+
var o = Object.prototype.hasOwnProperty, C = {}, N = O.ReactDebugCurrentFrame;
|
|
318
|
+
function z(e) {
|
|
319
319
|
if (e) {
|
|
320
|
-
var
|
|
321
|
-
|
|
320
|
+
var t = e._owner, l = ne(e.type, e._source, t ? t.type : null);
|
|
321
|
+
N.setExtraStackFrame(l);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
N.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function He(e, t, l, c, b) {
|
|
326
326
|
{
|
|
327
|
-
var T = Function.call.bind(
|
|
328
|
-
for (var
|
|
329
|
-
if (T(e,
|
|
330
|
-
var
|
|
327
|
+
var T = Function.call.bind(o);
|
|
328
|
+
for (var m in e)
|
|
329
|
+
if (T(e, m)) {
|
|
330
|
+
var h = void 0;
|
|
331
331
|
try {
|
|
332
|
-
if (typeof e[
|
|
333
|
-
var
|
|
334
|
-
throw
|
|
332
|
+
if (typeof e[m] != "function") {
|
|
333
|
+
var I = Error((c || "React class") + ": " + l + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
+
throw I.name = "Invariant Violation", I;
|
|
335
335
|
}
|
|
336
|
-
|
|
337
|
-
} catch (
|
|
338
|
-
|
|
336
|
+
h = e[m](t, m, c, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
+
} catch (R) {
|
|
338
|
+
h = R;
|
|
339
339
|
}
|
|
340
|
-
|
|
340
|
+
h && !(h instanceof Error) && (z(b), w("%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).", c || "React class", l, m, typeof h), z(null)), h instanceof Error && !(h.message in C) && (C[h.message] = !0, z(b), w("Failed %s type: %s", l, h.message), z(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -345,10 +345,10 @@ function kr() {
|
|
|
345
345
|
function Fe(e) {
|
|
346
346
|
return Be(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function Ve(e) {
|
|
349
349
|
{
|
|
350
|
-
var
|
|
351
|
-
return
|
|
350
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, l = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
|
+
return l;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
function qe(e) {
|
|
@@ -361,125 +361,125 @@ function kr() {
|
|
|
361
361
|
function Ne(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Me(e) {
|
|
365
365
|
if (qe(e))
|
|
366
|
-
return
|
|
366
|
+
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(e)), Ne(e);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var de = O.ReactCurrentOwner, Ye = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
|
|
375
|
-
function
|
|
376
|
-
if (
|
|
377
|
-
var
|
|
378
|
-
if (
|
|
373
|
+
}, Ae, f, A;
|
|
374
|
+
A = {};
|
|
375
|
+
function Ue(e) {
|
|
376
|
+
if (o.call(e, "ref")) {
|
|
377
|
+
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
378
|
+
if (t && t.isReactWarning)
|
|
379
379
|
return !1;
|
|
380
380
|
}
|
|
381
381
|
return e.ref !== void 0;
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
if (
|
|
385
|
-
var
|
|
386
|
-
if (
|
|
383
|
+
function dr(e) {
|
|
384
|
+
if (o.call(e, "key")) {
|
|
385
|
+
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
386
|
+
if (t && t.isReactWarning)
|
|
387
387
|
return !1;
|
|
388
388
|
}
|
|
389
389
|
return e.key !== void 0;
|
|
390
390
|
}
|
|
391
|
-
function
|
|
392
|
-
if (typeof e.ref == "string" &&
|
|
393
|
-
var
|
|
394
|
-
|
|
391
|
+
function fr(e, t) {
|
|
392
|
+
if (typeof e.ref == "string" && de.current && t && de.current.stateNode !== t) {
|
|
393
|
+
var l = W(de.current.type);
|
|
394
|
+
A[l] || (w('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', W(de.current.type), e.ref), A[l] = !0);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function pr(e, t) {
|
|
398
398
|
{
|
|
399
|
-
var
|
|
400
|
-
|
|
399
|
+
var l = function() {
|
|
400
|
+
Ae || (Ae = !0, w("%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)", t));
|
|
401
401
|
};
|
|
402
|
-
|
|
403
|
-
get:
|
|
402
|
+
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
403
|
+
get: l,
|
|
404
404
|
configurable: !0
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function hr(e, t) {
|
|
409
409
|
{
|
|
410
|
-
var
|
|
411
|
-
|
|
410
|
+
var l = function() {
|
|
411
|
+
f || (f = !0, w("%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)", t));
|
|
412
412
|
};
|
|
413
|
-
|
|
414
|
-
get:
|
|
413
|
+
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
414
|
+
get: l,
|
|
415
415
|
configurable: !0
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
var
|
|
420
|
-
var
|
|
419
|
+
var _r = function(e, t, l, c, b, T, m) {
|
|
420
|
+
var h = {
|
|
421
421
|
// This tag allows us to uniquely identify this as a React Element
|
|
422
422
|
$$typeof: u,
|
|
423
423
|
// Built-in properties that belong on the element
|
|
424
424
|
type: e,
|
|
425
|
-
key:
|
|
426
|
-
ref:
|
|
427
|
-
props:
|
|
425
|
+
key: t,
|
|
426
|
+
ref: l,
|
|
427
|
+
props: m,
|
|
428
428
|
// Record the component responsible for creating this element.
|
|
429
429
|
_owner: T
|
|
430
430
|
};
|
|
431
|
-
return
|
|
431
|
+
return h._store = {}, Object.defineProperty(h._store, "validated", {
|
|
432
432
|
configurable: !1,
|
|
433
433
|
enumerable: !1,
|
|
434
434
|
writable: !0,
|
|
435
435
|
value: !1
|
|
436
|
-
}), Object.defineProperty(
|
|
436
|
+
}), Object.defineProperty(h, "_self", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
|
-
value:
|
|
441
|
-
}), Object.defineProperty(
|
|
440
|
+
value: c
|
|
441
|
+
}), Object.defineProperty(h, "_source", {
|
|
442
442
|
configurable: !1,
|
|
443
443
|
enumerable: !1,
|
|
444
444
|
writable: !1,
|
|
445
|
-
value:
|
|
446
|
-
}), Object.freeze && (Object.freeze(
|
|
445
|
+
value: b
|
|
446
|
+
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
447
447
|
};
|
|
448
|
-
function
|
|
448
|
+
function vr(e, t, l, c, b) {
|
|
449
449
|
{
|
|
450
|
-
var T,
|
|
451
|
-
|
|
452
|
-
for (T in
|
|
453
|
-
|
|
450
|
+
var T, m = {}, h = null, I = null;
|
|
451
|
+
l !== void 0 && (Me(l), h = "" + l), dr(t) && (Me(t.key), h = "" + t.key), Ue(t) && (I = t.ref, fr(t, b));
|
|
452
|
+
for (T in t)
|
|
453
|
+
o.call(t, T) && !Ye.hasOwnProperty(T) && (m[T] = t[T]);
|
|
454
454
|
if (e && e.defaultProps) {
|
|
455
|
-
var
|
|
456
|
-
for (T in
|
|
457
|
-
|
|
455
|
+
var R = e.defaultProps;
|
|
456
|
+
for (T in R)
|
|
457
|
+
m[T] === void 0 && (m[T] = R[T]);
|
|
458
458
|
}
|
|
459
|
-
if (
|
|
460
|
-
var
|
|
461
|
-
|
|
459
|
+
if (h || I) {
|
|
460
|
+
var P = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
461
|
+
h && pr(m, P), I && hr(m, P);
|
|
462
462
|
}
|
|
463
|
-
return
|
|
463
|
+
return _r(e, h, I, b, c, de.current, m);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
var
|
|
467
|
-
function
|
|
466
|
+
var Ke = O.ReactCurrentOwner, Qe = O.ReactDebugCurrentFrame;
|
|
467
|
+
function ke(e) {
|
|
468
468
|
if (e) {
|
|
469
|
-
var
|
|
470
|
-
|
|
469
|
+
var t = e._owner, l = ne(e.type, e._source, t ? t.type : null);
|
|
470
|
+
Qe.setExtraStackFrame(l);
|
|
471
471
|
} else
|
|
472
|
-
|
|
472
|
+
Qe.setExtraStackFrame(null);
|
|
473
473
|
}
|
|
474
|
-
var
|
|
475
|
-
|
|
474
|
+
var ze;
|
|
475
|
+
ze = !1;
|
|
476
476
|
function Je(e) {
|
|
477
477
|
return typeof e == "object" && e !== null && e.$$typeof === u;
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function er() {
|
|
480
480
|
{
|
|
481
|
-
if (
|
|
482
|
-
var e = W(
|
|
481
|
+
if (Ke.current) {
|
|
482
|
+
var e = W(Ke.current.type);
|
|
483
483
|
if (e)
|
|
484
484
|
return `
|
|
485
485
|
|
|
@@ -488,846 +488,1006 @@ Check the render method of \`` + e + "`.";
|
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function mr(e) {
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
|
-
var
|
|
495
|
-
function
|
|
494
|
+
var rr = {};
|
|
495
|
+
function xr(e) {
|
|
496
496
|
{
|
|
497
|
-
var
|
|
498
|
-
if (!
|
|
499
|
-
var
|
|
500
|
-
|
|
497
|
+
var t = er();
|
|
498
|
+
if (!t) {
|
|
499
|
+
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
500
|
+
l && (t = `
|
|
501
501
|
|
|
502
|
-
Check the top-level render call using <` +
|
|
502
|
+
Check the top-level render call using <` + l + ">.");
|
|
503
503
|
}
|
|
504
|
-
return
|
|
504
|
+
return t;
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function tr(e, t) {
|
|
508
508
|
{
|
|
509
509
|
if (!e._store || e._store.validated || e.key != null)
|
|
510
510
|
return;
|
|
511
511
|
e._store.validated = !0;
|
|
512
|
-
var
|
|
513
|
-
if (
|
|
512
|
+
var l = xr(t);
|
|
513
|
+
if (rr[l])
|
|
514
514
|
return;
|
|
515
|
-
|
|
516
|
-
var
|
|
517
|
-
e && e._owner && e._owner !==
|
|
515
|
+
rr[l] = !0;
|
|
516
|
+
var c = "";
|
|
517
|
+
e && e._owner && e._owner !== Ke.current && (c = " It was passed a child from " + W(e._owner.type) + "."), ke(e), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, c), ke(null);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function nr(e, t) {
|
|
521
521
|
{
|
|
522
522
|
if (typeof e != "object")
|
|
523
523
|
return;
|
|
524
524
|
if (Fe(e))
|
|
525
|
-
for (var
|
|
526
|
-
var
|
|
527
|
-
Je(
|
|
525
|
+
for (var l = 0; l < e.length; l++) {
|
|
526
|
+
var c = e[l];
|
|
527
|
+
Je(c) && tr(c, t);
|
|
528
528
|
}
|
|
529
529
|
else if (Je(e))
|
|
530
530
|
e._store && (e._store.validated = !0);
|
|
531
531
|
else if (e) {
|
|
532
|
-
var
|
|
533
|
-
if (typeof
|
|
534
|
-
for (var T =
|
|
535
|
-
Je(
|
|
532
|
+
var b = H(e);
|
|
533
|
+
if (typeof b == "function" && b !== e.entries)
|
|
534
|
+
for (var T = b.call(e), m; !(m = T.next()).done; )
|
|
535
|
+
Je(m.value) && tr(m.value, t);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function yr(e) {
|
|
540
540
|
{
|
|
541
|
-
var
|
|
542
|
-
if (
|
|
541
|
+
var t = e.type;
|
|
542
|
+
if (t == null || typeof t == "string")
|
|
543
543
|
return;
|
|
544
|
-
var
|
|
545
|
-
if (typeof
|
|
546
|
-
|
|
547
|
-
else if (typeof
|
|
544
|
+
var l;
|
|
545
|
+
if (typeof t == "function")
|
|
546
|
+
l = t.propTypes;
|
|
547
|
+
else if (typeof t == "object" && (t.$$typeof === i || // Note: Memo only checks outer props here.
|
|
548
548
|
// Inner props are checked in the reconciler.
|
|
549
|
-
|
|
550
|
-
|
|
549
|
+
t.$$typeof === v))
|
|
550
|
+
l = t.propTypes;
|
|
551
551
|
else
|
|
552
552
|
return;
|
|
553
|
-
if (
|
|
554
|
-
var
|
|
555
|
-
|
|
556
|
-
} else if (
|
|
557
|
-
|
|
558
|
-
var
|
|
559
|
-
|
|
553
|
+
if (l) {
|
|
554
|
+
var c = W(t);
|
|
555
|
+
He(l, e.props, "prop", c, e);
|
|
556
|
+
} else if (t.PropTypes !== void 0 && !ze) {
|
|
557
|
+
ze = !0;
|
|
558
|
+
var b = W(t);
|
|
559
|
+
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
|
|
560
560
|
}
|
|
561
|
-
typeof
|
|
561
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function Cr(e) {
|
|
565
565
|
{
|
|
566
|
-
for (var
|
|
567
|
-
var
|
|
568
|
-
if (
|
|
569
|
-
|
|
566
|
+
for (var t = Object.keys(e.props), l = 0; l < t.length; l++) {
|
|
567
|
+
var c = t[l];
|
|
568
|
+
if (c !== "children" && c !== "key") {
|
|
569
|
+
ke(e), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), ke(null);
|
|
570
570
|
break;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
e.ref !== null && (
|
|
573
|
+
e.ref !== null && (ke(e), w("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
var
|
|
577
|
-
function
|
|
576
|
+
var or = {};
|
|
577
|
+
function lr(e, t, l, c, b, T) {
|
|
578
578
|
{
|
|
579
|
-
var
|
|
580
|
-
if (!
|
|
581
|
-
var
|
|
582
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
583
|
-
var
|
|
584
|
-
|
|
585
|
-
var
|
|
586
|
-
e === null ?
|
|
579
|
+
var m = he(e);
|
|
580
|
+
if (!m) {
|
|
581
|
+
var h = "";
|
|
582
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " 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 I = mr();
|
|
584
|
+
I ? h += I : h += er();
|
|
585
|
+
var R;
|
|
586
|
+
e === null ? R = "null" : Fe(e) ? R = "array" : e !== void 0 && e.$$typeof === u ? (R = "<" + (W(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, h);
|
|
587
587
|
}
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
590
|
-
return
|
|
591
|
-
if (
|
|
592
|
-
var
|
|
593
|
-
if (
|
|
594
|
-
if (
|
|
595
|
-
if (Fe(
|
|
596
|
-
for (var
|
|
597
|
-
|
|
598
|
-
Object.freeze && Object.freeze(
|
|
588
|
+
var P = vr(e, t, l, b, T);
|
|
589
|
+
if (P == null)
|
|
590
|
+
return P;
|
|
591
|
+
if (m) {
|
|
592
|
+
var J = t.children;
|
|
593
|
+
if (J !== void 0)
|
|
594
|
+
if (c)
|
|
595
|
+
if (Fe(J)) {
|
|
596
|
+
for (var Te = 0; Te < J.length; Te++)
|
|
597
|
+
nr(J[Te], e);
|
|
598
|
+
Object.freeze && Object.freeze(J);
|
|
599
599
|
} else
|
|
600
|
-
|
|
600
|
+
w("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
|
+
nr(J, e);
|
|
603
603
|
}
|
|
604
|
-
if (
|
|
605
|
-
var
|
|
604
|
+
if (o.call(t, "key")) {
|
|
605
|
+
var me = W(e), V = Object.keys(t).filter(function(Tr) {
|
|
606
606
|
return Tr !== "key";
|
|
607
|
-
}), Ge =
|
|
608
|
-
if (!
|
|
609
|
-
var
|
|
610
|
-
|
|
607
|
+
}), Ge = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
608
|
+
if (!or[me + Ge]) {
|
|
609
|
+
var kr = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
610
|
+
w(`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} />`, Ge,
|
|
615
|
+
<%s key={someKey} {...props} />`, Ge, me, kr, me), or[me + Ge] = !0;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
return e ===
|
|
618
|
+
return e === x ? Cr(P) : yr(P), P;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
function br(e,
|
|
622
|
-
return
|
|
621
|
+
function br(e, t, l) {
|
|
622
|
+
return lr(e, t, l, !0);
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
624
|
+
function gr(e, t, l) {
|
|
625
|
+
return lr(e, t, l, !1);
|
|
626
626
|
}
|
|
627
|
-
var
|
|
628
|
-
|
|
629
|
-
}()),
|
|
627
|
+
var jr = gr, wr = br;
|
|
628
|
+
We.Fragment = x, We.jsx = jr, We.jsxs = wr;
|
|
629
|
+
}()), We;
|
|
630
630
|
}
|
|
631
|
-
process.env.NODE_ENV === "production" ? Xe.exports =
|
|
632
|
-
var
|
|
633
|
-
const
|
|
634
|
-
mainButton:
|
|
635
|
-
sm:
|
|
636
|
-
onlyIcon:
|
|
631
|
+
process.env.NODE_ENV === "production" ? Xe.exports = Er() : Xe.exports = Rr();
|
|
632
|
+
var r = Xe.exports;
|
|
633
|
+
const $r = "MainButton-module__mainButton", Pr = "MainButton-module__sm", Lr = "MainButton-module__onlyIcon", Or = "MainButton-module__buttonSlot", Dr = "MainButton-module__buttonLabel", Fr = "MainButton-module__md", Nr = "MainButton-module__lg", Ar = "MainButton-module__xl", Sr = "MainButton-module__xl2", Wr = "MainButton-module__disabled", Ee = {
|
|
634
|
+
mainButton: $r,
|
|
635
|
+
sm: Pr,
|
|
636
|
+
onlyIcon: Lr,
|
|
637
637
|
buttonSlot: Or,
|
|
638
|
-
buttonLabel:
|
|
638
|
+
buttonLabel: Dr,
|
|
639
639
|
md: Fr,
|
|
640
640
|
lg: Nr,
|
|
641
|
-
xl:
|
|
641
|
+
xl: Ar,
|
|
642
642
|
xl2: Sr,
|
|
643
|
-
disabled:
|
|
644
|
-
},
|
|
645
|
-
label:
|
|
643
|
+
disabled: Wr
|
|
644
|
+
}, $n = ({
|
|
645
|
+
label: s,
|
|
646
646
|
buttonType: u = "button",
|
|
647
|
-
onClick:
|
|
648
|
-
size:
|
|
649
|
-
disabled:
|
|
650
|
-
withIcons:
|
|
651
|
-
iconOne:
|
|
652
|
-
iconTwo:
|
|
653
|
-
onlyIcon:
|
|
654
|
-
buttonStyle:
|
|
647
|
+
onClick: n,
|
|
648
|
+
size: x = "md",
|
|
649
|
+
disabled: y,
|
|
650
|
+
withIcons: d,
|
|
651
|
+
iconOne: g,
|
|
652
|
+
iconTwo: _,
|
|
653
|
+
onlyIcon: i,
|
|
654
|
+
buttonStyle: p,
|
|
655
655
|
labelStyle: a,
|
|
656
|
-
buttonSlotStyle:
|
|
657
|
-
}) => /* @__PURE__ */
|
|
656
|
+
buttonSlotStyle: v
|
|
657
|
+
}) => /* @__PURE__ */ r.jsx(
|
|
658
658
|
"button",
|
|
659
659
|
{
|
|
660
660
|
type: u,
|
|
661
|
-
style:
|
|
662
|
-
className: `${
|
|
661
|
+
style: p && typeof p == "object" ? p : {},
|
|
662
|
+
className: `${Ee.mainButton} ${i ? Ee.onlyIcon : ""} ${x ? Ee[x] : ""} ${y ? Ee.disabled : ""}`,
|
|
663
663
|
onClick: () => {
|
|
664
|
-
|
|
664
|
+
n && typeof n == "function" && n();
|
|
665
665
|
},
|
|
666
|
-
children: /* @__PURE__ */
|
|
667
|
-
|
|
668
|
-
!
|
|
669
|
-
|
|
666
|
+
children: /* @__PURE__ */ r.jsxs("div", { className: Ee.buttonSlot, style: v ?? {}, children: [
|
|
667
|
+
i || d && g ? g : "",
|
|
668
|
+
!i && /* @__PURE__ */ r.jsx("span", { style: a ?? {}, className: Ee.buttonLabel, children: s ?? "Button" }),
|
|
669
|
+
d && _ ? _ : ""
|
|
670
670
|
] })
|
|
671
671
|
}
|
|
672
|
-
),
|
|
673
|
-
inputWrapper:
|
|
672
|
+
), Mr = "FormInput-module__inputWrapper", Ir = "FormInput-module__inputLabel", Hr = "FormInput-module__required", Br = "FormInput-module__inputContainer", Vr = "FormInput-module__inputContent", qr = "FormInput-module__inputTags", Yr = "FormInput-module__focused", Ur = "FormInput-module__error", Kr = "FormInput-module__rightIcon", zr = "FormInput-module__leftIcon", Jr = "FormInput-module__inputDropDown", Gr = "FormInput-module__http", Xr = "FormInput-module__disabled", Zr = "FormInput-module__sm", Qr = "FormInput-module__md", et = "FormInput-module__withCopy", rt = "FormInput-module__inputHelperText", D = {
|
|
673
|
+
inputWrapper: Mr,
|
|
674
674
|
inputLabel: Ir,
|
|
675
|
-
required:
|
|
675
|
+
required: Hr,
|
|
676
676
|
inputContainer: Br,
|
|
677
|
-
inputContent:
|
|
677
|
+
inputContent: Vr,
|
|
678
678
|
inputTags: qr,
|
|
679
|
-
focused:
|
|
680
|
-
error:
|
|
681
|
-
rightIcon:
|
|
682
|
-
leftIcon:
|
|
679
|
+
focused: Yr,
|
|
680
|
+
error: Ur,
|
|
681
|
+
rightIcon: Kr,
|
|
682
|
+
leftIcon: zr,
|
|
683
683
|
inputDropDown: Jr,
|
|
684
684
|
http: Gr,
|
|
685
685
|
disabled: Xr,
|
|
686
|
-
sm:
|
|
687
|
-
md:
|
|
688
|
-
withCopy:
|
|
689
|
-
inputHelperText:
|
|
690
|
-
},
|
|
691
|
-
/* @__PURE__ */
|
|
686
|
+
sm: Zr,
|
|
687
|
+
md: Qr,
|
|
688
|
+
withCopy: et,
|
|
689
|
+
inputHelperText: rt
|
|
690
|
+
}, cr = ({ width: s, height: u, color: n }) => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: s ?? "12", height: u ?? "8", viewBox: "0 0 12 8", fill: "none", children: /* @__PURE__ */ r.jsx("path", { d: "M1 1.5L6 6.5L11 1.5", stroke: n ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), tt = ({ width: s, height: u, color: n }) => /* @__PURE__ */ r.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: s ?? "20", height: u ?? "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
691
|
+
/* @__PURE__ */ r.jsx("g", { clipPath: "url(#clip0_444_26)", children: /* @__PURE__ */ r.jsx(
|
|
692
692
|
"path",
|
|
693
693
|
{
|
|
694
694
|
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",
|
|
695
|
-
stroke:
|
|
695
|
+
stroke: n ?? "#414651",
|
|
696
696
|
strokeWidth: "1.66667",
|
|
697
697
|
strokeLinecap: "round",
|
|
698
698
|
strokeLinejoin: "round"
|
|
699
699
|
}
|
|
700
700
|
) }),
|
|
701
|
-
/* @__PURE__ */
|
|
702
|
-
] }),
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
701
|
+
/* @__PURE__ */ r.jsx("defs", { children: /* @__PURE__ */ r.jsx("clipPath", { id: "clip0_444_26", children: /* @__PURE__ */ r.jsx("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
702
|
+
] }), Ze = (s) => /* @__PURE__ */ r.jsx(
|
|
703
|
+
"svg",
|
|
704
|
+
{
|
|
705
|
+
xmlns: s.xmlns ?? "http://www.w3.org/2000/svg",
|
|
706
|
+
width: s.width ?? "14",
|
|
707
|
+
height: s.height ?? "14",
|
|
708
|
+
viewBox: s.viewBox ?? "0 0 14 14",
|
|
709
|
+
fill: s.fill ?? "none",
|
|
710
|
+
children: /* @__PURE__ */ r.jsx(
|
|
711
|
+
"path",
|
|
712
|
+
{
|
|
713
|
+
d: s.d ?? "M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",
|
|
714
|
+
stroke: s.stroke ?? "#A4A7AE",
|
|
715
|
+
strokeWidth: s.strokeWidth ?? "1.66667",
|
|
716
|
+
strokeLinecap: s.strokeLinecap ?? "round",
|
|
717
|
+
strokeLinejoin: s.strokeLinejoin ?? "round"
|
|
718
|
+
}
|
|
719
|
+
)
|
|
720
|
+
}
|
|
721
|
+
), nt = "Checkbox-module__checkboxWrapper", ot = "Checkbox-module__sm", lt = "Checkbox-module__md", st = "Checkbox-module__checkMark", at = "Checkbox-module__checked", it = "Checkbox-module__disabled", Re = {
|
|
722
|
+
checkboxWrapper: nt,
|
|
723
|
+
sm: ot,
|
|
724
|
+
md: lt,
|
|
706
725
|
checkMark: st,
|
|
707
726
|
checked: at,
|
|
708
|
-
disabled:
|
|
709
|
-
}, ur = ({ color:
|
|
710
|
-
const
|
|
711
|
-
u && typeof u == "function" && u(!
|
|
712
|
-
},
|
|
713
|
-
return /* @__PURE__ */
|
|
727
|
+
disabled: it
|
|
728
|
+
}, ur = ({ color: s, width: u, height: n }) => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: u ?? "12", height: n ?? "12", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ r.jsx("path", { d: "M10 3L4.5 8.5L2 6", stroke: s ?? "white", strokeWidth: "1.6666", strokeLinecap: "round", strokeLinejoin: "round" }) }), ct = (s) => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...s, width: "10", height: "2", viewBox: "0 0 10 2", fill: "none", children: /* @__PURE__ */ r.jsx("path", { d: "M1.5 1H8.5", stroke: "white", strokeWidth: "1.66666", strokeLinecap: "round", strokeLinejoin: "round" }) }), ut = ({ checked: s, change: u, disabled: n, required: x, multipleChecked: y, size: d, activeStyle: g, checkBoxStyle: _ }) => {
|
|
729
|
+
const i = Y(null), [p, a] = q(!1), v = () => {
|
|
730
|
+
u && typeof u == "function" && u(!s);
|
|
731
|
+
}, k = () => p ? g ?? {} : _ ?? {};
|
|
732
|
+
return /* @__PURE__ */ r.jsxs(
|
|
714
733
|
"div",
|
|
715
734
|
{
|
|
716
|
-
style:
|
|
717
|
-
className: `${Re.checkboxWrapper} ${Re[
|
|
735
|
+
style: k(),
|
|
736
|
+
className: `${Re.checkboxWrapper} ${Re[d] ?? Re.md} ${s ? Re.checked : Re.unChecked} ${n ? Re.disabled : ""}`,
|
|
718
737
|
onMouseDown: () => a(!0),
|
|
719
738
|
onMouseUp: () => a(!1),
|
|
720
739
|
onMouseLeave: () => a(!1),
|
|
721
|
-
onClick:
|
|
740
|
+
onClick: v,
|
|
722
741
|
children: [
|
|
723
|
-
/* @__PURE__ */
|
|
724
|
-
|
|
742
|
+
/* @__PURE__ */ r.jsx("input", { ref: i, type: "checkbox", disabled: n, checked: s, hidden: !0, readOnly: !0, required: x ?? !1 }),
|
|
743
|
+
s ? y ? /* @__PURE__ */ r.jsx(ct, {}) : /* @__PURE__ */ r.jsx(ur, {}) : ""
|
|
725
744
|
]
|
|
726
745
|
}
|
|
727
746
|
);
|
|
728
|
-
},
|
|
729
|
-
tagContainer:
|
|
730
|
-
onlyLabel:
|
|
731
|
-
sm:
|
|
732
|
-
md:
|
|
733
|
-
lg:
|
|
734
|
-
tagLabel:
|
|
735
|
-
tagNumber:
|
|
736
|
-
tagClose:
|
|
737
|
-
},
|
|
738
|
-
id:
|
|
747
|
+
}, dt = "Tag-module__tagContainer", ft = "Tag-module__onlyLabel", pt = "Tag-module__sm", ht = "Tag-module__md", _t = "Tag-module__lg", vt = "Tag-module__tagLabel", mt = "Tag-module__tagNumber", xt = "Tag-module__tagClose", $e = {
|
|
748
|
+
tagContainer: dt,
|
|
749
|
+
onlyLabel: ft,
|
|
750
|
+
sm: pt,
|
|
751
|
+
md: ht,
|
|
752
|
+
lg: _t,
|
|
753
|
+
tagLabel: vt,
|
|
754
|
+
tagNumber: mt,
|
|
755
|
+
tagClose: xt
|
|
756
|
+
}, yt = ({
|
|
757
|
+
id: s,
|
|
739
758
|
label: u,
|
|
740
|
-
icon:
|
|
741
|
-
withClose:
|
|
742
|
-
withCheckbox:
|
|
743
|
-
withNumber:
|
|
744
|
-
number:
|
|
745
|
-
checkboxProps:
|
|
746
|
-
disable:
|
|
747
|
-
size:
|
|
759
|
+
icon: n,
|
|
760
|
+
withClose: x,
|
|
761
|
+
withCheckbox: y,
|
|
762
|
+
withNumber: d,
|
|
763
|
+
number: g,
|
|
764
|
+
checkboxProps: _,
|
|
765
|
+
disable: i,
|
|
766
|
+
size: p,
|
|
748
767
|
onClose: a,
|
|
749
|
-
tagContainerStyle:
|
|
750
|
-
tagLabelStyle:
|
|
751
|
-
tagNumberStyle:
|
|
752
|
-
tagCloseStlye:
|
|
768
|
+
tagContainerStyle: v,
|
|
769
|
+
tagLabelStyle: k,
|
|
770
|
+
tagNumberStyle: E,
|
|
771
|
+
tagCloseStlye: j
|
|
753
772
|
}) => {
|
|
754
|
-
const
|
|
755
|
-
a && typeof a == "function" && a(
|
|
773
|
+
const L = () => !y && !n && !x && !d, H = () => n, O = () => {
|
|
774
|
+
a && typeof a == "function" && a(s ?? null);
|
|
756
775
|
};
|
|
757
|
-
return /* @__PURE__ */
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
u && /* @__PURE__ */
|
|
761
|
-
|
|
762
|
-
|
|
776
|
+
return /* @__PURE__ */ r.jsxs("div", { style: v ?? {}, className: `${$e.tagContainer} ${L() ? $e.onlyLabel : ""} ${$e[p ?? "md"]}`, children: [
|
|
777
|
+
y && /* @__PURE__ */ r.jsx(ut, { ..._ }),
|
|
778
|
+
n && H(),
|
|
779
|
+
u && /* @__PURE__ */ r.jsx("p", { style: k ?? {}, className: $e.tagLabel, children: u ?? "" }),
|
|
780
|
+
d && /* @__PURE__ */ r.jsx("div", { style: E ?? {}, className: $e.tagNumber, children: g ?? "" }),
|
|
781
|
+
x && /* @__PURE__ */ r.jsx("div", { style: j ?? {}, className: $e.tagClose, onClick: O, children: /* @__PURE__ */ r.jsx(Ze, { width: (j == null ? void 0 : j.width) ?? "14", height: (j == null ? void 0 : j.height) ?? "14", color: (j == null ? void 0 : j.color) ?? "#A4A7AE" }) })
|
|
763
782
|
] });
|
|
764
|
-
},
|
|
765
|
-
value:
|
|
783
|
+
}, Pn = ({
|
|
784
|
+
value: s,
|
|
766
785
|
label: u,
|
|
767
|
-
placeholder:
|
|
768
|
-
required:
|
|
769
|
-
disabled:
|
|
770
|
-
type:
|
|
771
|
-
size:
|
|
772
|
-
onChange:
|
|
773
|
-
onFouce:
|
|
774
|
-
onBlur:
|
|
786
|
+
placeholder: n,
|
|
787
|
+
required: x,
|
|
788
|
+
disabled: y,
|
|
789
|
+
type: d,
|
|
790
|
+
size: g,
|
|
791
|
+
onChange: _,
|
|
792
|
+
onFouce: i,
|
|
793
|
+
onBlur: p,
|
|
775
794
|
msg: a,
|
|
776
|
-
readOnly:
|
|
777
|
-
maxLength:
|
|
778
|
-
onlyText:
|
|
779
|
-
tagValues:
|
|
780
|
-
onRightIconIconClick:
|
|
781
|
-
onRightIconIconMouseEnter:
|
|
782
|
-
onRightIconIconMouseLeave:
|
|
783
|
-
onLeftIconIconClick:
|
|
784
|
-
onLeftIconIconMouseEnter:
|
|
795
|
+
readOnly: v,
|
|
796
|
+
maxLength: k,
|
|
797
|
+
onlyText: E,
|
|
798
|
+
tagValues: j,
|
|
799
|
+
onRightIconIconClick: L,
|
|
800
|
+
onRightIconIconMouseEnter: H,
|
|
801
|
+
onRightIconIconMouseLeave: O,
|
|
802
|
+
onLeftIconIconClick: w,
|
|
803
|
+
onLeftIconIconMouseEnter: B,
|
|
785
804
|
onLeftIconIconMouseLeave: $,
|
|
786
|
-
onPressEnter:
|
|
787
|
-
rightIcon:
|
|
788
|
-
leftIcon:
|
|
789
|
-
withDropDown:
|
|
790
|
-
dropdownData:
|
|
791
|
-
onSelectData:
|
|
792
|
-
withTags:
|
|
793
|
-
tagProps:
|
|
805
|
+
onPressEnter: X,
|
|
806
|
+
rightIcon: se,
|
|
807
|
+
leftIcon: ae,
|
|
808
|
+
withDropDown: pe,
|
|
809
|
+
dropdownData: oe,
|
|
810
|
+
onSelectData: he,
|
|
811
|
+
withTags: Le,
|
|
812
|
+
tagProps: ye,
|
|
794
813
|
withLink: W,
|
|
795
|
-
withCopy:
|
|
796
|
-
onCopy:
|
|
797
|
-
inputWrapperStyle:
|
|
798
|
-
inputLabelStyle:
|
|
799
|
-
requiredStyle:
|
|
800
|
-
inputContainerStyle:
|
|
801
|
-
leftIconStyle:
|
|
802
|
-
inputDropDownStyle:
|
|
803
|
-
ulStyle:
|
|
804
|
-
liStyle:
|
|
805
|
-
httpStyle:
|
|
806
|
-
inputStyle:
|
|
807
|
-
rightIconStyle:
|
|
808
|
-
withCopyStyle:
|
|
809
|
-
inputHelperTextStyle:
|
|
814
|
+
withCopy: U,
|
|
815
|
+
onCopy: Z,
|
|
816
|
+
inputWrapperStyle: Ce,
|
|
817
|
+
inputLabelStyle: Oe,
|
|
818
|
+
requiredStyle: be,
|
|
819
|
+
inputContainerStyle: ee,
|
|
820
|
+
leftIconStyle: ie,
|
|
821
|
+
inputDropDownStyle: M,
|
|
822
|
+
ulStyle: le,
|
|
823
|
+
liStyle: re,
|
|
824
|
+
httpStyle: F,
|
|
825
|
+
inputStyle: ge,
|
|
826
|
+
rightIconStyle: _e,
|
|
827
|
+
withCopyStyle: K,
|
|
828
|
+
inputHelperTextStyle: ce
|
|
810
829
|
}) => {
|
|
811
|
-
const [
|
|
812
|
-
|
|
813
|
-
const
|
|
814
|
-
let
|
|
815
|
-
|
|
830
|
+
const [ve, ue] = q(!1), De = Y(null), [je, we] = q(!1);
|
|
831
|
+
q(!1);
|
|
832
|
+
const te = Y(null), ne = Y(null), [o, C] = q(!1), [N, z] = q(1), He = (f) => {
|
|
833
|
+
let A = f.target.value;
|
|
834
|
+
A.length === 1 && (A = A.trim()), _ && typeof _ == "function" && _(E ? A.replace(/\d/g, "") : A);
|
|
816
835
|
}, Be = () => {
|
|
817
|
-
|
|
836
|
+
we(!0), i && typeof i == "function" && i();
|
|
818
837
|
}, Fe = () => {
|
|
819
|
-
|
|
820
|
-
},
|
|
821
|
-
const
|
|
822
|
-
|
|
838
|
+
we(!1), p && typeof p == "function" && p();
|
|
839
|
+
}, Ve = (f) => {
|
|
840
|
+
const A = f.target.value, Ue = A.length === 0;
|
|
841
|
+
d === "number" && (f.keyCode === 69 || !Ue && (f.keyCode === 187 || f.keyCode === 107 || f.keyCode === 189 || f.keyCode === 109)) && f.preventDefault(), f.key === "Enter" && A && A.length > 0 && X && typeof X == "function" && X(A);
|
|
823
842
|
}, qe = () => {
|
|
824
|
-
|
|
825
|
-
}, Ne = (
|
|
826
|
-
let
|
|
827
|
-
return
|
|
828
|
-
},
|
|
829
|
-
!
|
|
830
|
-
},
|
|
831
|
-
|
|
843
|
+
Z && typeof Z == "function" && Z(s);
|
|
844
|
+
}, Ne = (f) => f, Me = () => {
|
|
845
|
+
let f = {};
|
|
846
|
+
return U && (f.borderTopRightRadius = 0, f.borderBottomRightRadius = 0, f.borderRight = 0), pe && (f.paddingLeft = 0), { ...f, ...ee ?? {} };
|
|
847
|
+
}, de = (f) => {
|
|
848
|
+
!f.composedPath().includes(ne.current) && f.composedPath().includes(te.current) || C(!1);
|
|
849
|
+
}, Ye = (f) => {
|
|
850
|
+
z(f.id), C(!1), he && typeof he == "function" && he(f);
|
|
832
851
|
};
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
}, [
|
|
836
|
-
document.removeEventListener("click",
|
|
852
|
+
fe(() => {
|
|
853
|
+
s && s.length === 0 && calculateWidth();
|
|
854
|
+
}, [s]), fe(() => (document.addEventListener("click", de), () => {
|
|
855
|
+
document.removeEventListener("click", de);
|
|
837
856
|
}), []);
|
|
838
|
-
const
|
|
839
|
-
return
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
}, 0) :
|
|
843
|
-
}, []), /* @__PURE__ */
|
|
844
|
-
u && /* @__PURE__ */
|
|
857
|
+
const Ae = Y(!1);
|
|
858
|
+
return fe(() => {
|
|
859
|
+
Ae.current ? setTimeout(() => {
|
|
860
|
+
ue((f) => !f);
|
|
861
|
+
}, 0) : Ae.current = !0;
|
|
862
|
+
}, []), /* @__PURE__ */ r.jsxs("div", { className: D.inputWrapper, style: Ce ?? {}, children: [
|
|
863
|
+
u && /* @__PURE__ */ r.jsxs("label", { className: D.inputLabel, style: Oe ?? {}, children: [
|
|
845
864
|
u,
|
|
846
865
|
" ",
|
|
847
|
-
/* @__PURE__ */
|
|
866
|
+
/* @__PURE__ */ r.jsx("span", { className: D.required, style: be ?? {}, children: x && "*" })
|
|
848
867
|
] }),
|
|
849
|
-
/* @__PURE__ */
|
|
850
|
-
/* @__PURE__ */
|
|
868
|
+
/* @__PURE__ */ r.jsxs("div", { style: { display: "flex", alignItems: "center" }, children: [
|
|
869
|
+
/* @__PURE__ */ r.jsxs(
|
|
851
870
|
"div",
|
|
852
871
|
{
|
|
853
|
-
style:
|
|
854
|
-
className: `${
|
|
872
|
+
style: Me(),
|
|
873
|
+
className: `${D.inputContainer} ${je && !v ? D.focused : ""} ${y ? D.disabled : ""} ${a != null && a.error ? D.error : ""} ${D[g ?? "sm"]}`,
|
|
855
874
|
children: [
|
|
856
|
-
!
|
|
875
|
+
!pe && !W && ae && /* @__PURE__ */ r.jsx(
|
|
857
876
|
"div",
|
|
858
877
|
{
|
|
859
|
-
className:
|
|
860
|
-
style:
|
|
878
|
+
className: D.leftIcon,
|
|
879
|
+
style: ie ?? {},
|
|
861
880
|
onClick: () => {
|
|
862
|
-
|
|
881
|
+
w && typeof w == "function" && w();
|
|
863
882
|
},
|
|
864
883
|
onMouseEnter: () => {
|
|
865
|
-
|
|
884
|
+
B && typeof B == "function" && B();
|
|
866
885
|
},
|
|
867
886
|
onMouseLeave: () => {
|
|
868
887
|
$ && typeof $ == "function" && $();
|
|
869
888
|
},
|
|
870
|
-
children: Ne(
|
|
889
|
+
children: Ne(ae)
|
|
871
890
|
}
|
|
872
891
|
),
|
|
873
|
-
!W &&
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
/* @__PURE__ */
|
|
892
|
+
!W && pe && /* @__PURE__ */ r.jsxs("div", { className: D.inputDropDown, style: M ?? {}, onClick: () => C(!0), ref: te, children: [
|
|
893
|
+
oe.find((f) => f.id === N).label,
|
|
894
|
+
o && /* @__PURE__ */ r.jsx("ul", { ref: ne, style: le ?? {}, children: oe && oe.length && oe.map((f, A) => /* @__PURE__ */ r.jsx("li", { style: re ?? {}, onClick: () => Ye(f), children: (f == null ? void 0 : f.label) ?? "-" }, f.id)) }),
|
|
895
|
+
/* @__PURE__ */ r.jsx(cr, {})
|
|
877
896
|
] }),
|
|
878
|
-
W && /* @__PURE__ */
|
|
879
|
-
/* @__PURE__ */
|
|
880
|
-
|
|
881
|
-
/* @__PURE__ */
|
|
897
|
+
W && /* @__PURE__ */ r.jsx("div", { className: `${D.inputDropDown} ${D.http}`, style: F ?? {}, onClick: () => C(!0), ref: te, children: "http://" }),
|
|
898
|
+
/* @__PURE__ */ r.jsxs("div", { className: D.inputContent, children: [
|
|
899
|
+
Le && j && j.length > 0 && /* @__PURE__ */ r.jsx("div", { className: D.inputTags, children: j.map((f, A) => /* @__PURE__ */ r.jsx("div", { className: D.inputSingleTags, children: /* @__PURE__ */ r.jsx(yt, { ...ye, id: f, label: f, withClose: !0 }) }, A)) }),
|
|
900
|
+
/* @__PURE__ */ r.jsx(
|
|
882
901
|
"input",
|
|
883
902
|
{
|
|
884
|
-
ref:
|
|
885
|
-
style:
|
|
886
|
-
type:
|
|
887
|
-
value:
|
|
888
|
-
onChange: (
|
|
903
|
+
ref: De,
|
|
904
|
+
style: ge ?? {},
|
|
905
|
+
type: d ?? "text",
|
|
906
|
+
value: s,
|
|
907
|
+
onChange: (f) => He(f),
|
|
889
908
|
onFocus: Be,
|
|
890
909
|
onBlur: Fe,
|
|
891
|
-
disabled:
|
|
892
|
-
required:
|
|
893
|
-
onKeyDown:
|
|
894
|
-
readOnly:
|
|
910
|
+
disabled: y,
|
|
911
|
+
required: x,
|
|
912
|
+
onKeyDown: Ve,
|
|
913
|
+
readOnly: v,
|
|
895
914
|
spellCheck: !1,
|
|
896
|
-
placeholder:
|
|
915
|
+
placeholder: n ?? "",
|
|
897
916
|
autoComplete: "off",
|
|
898
|
-
maxLength:
|
|
917
|
+
maxLength: k
|
|
899
918
|
}
|
|
900
919
|
)
|
|
901
920
|
] }),
|
|
902
|
-
|
|
921
|
+
se && /* @__PURE__ */ r.jsx(
|
|
903
922
|
"div",
|
|
904
923
|
{
|
|
905
|
-
className:
|
|
906
|
-
style:
|
|
924
|
+
className: D.rightIcon,
|
|
925
|
+
style: _e ?? {},
|
|
907
926
|
onClick: () => {
|
|
908
|
-
|
|
927
|
+
L && typeof L == "function" && L();
|
|
909
928
|
},
|
|
910
929
|
onMouseEnter: () => {
|
|
911
|
-
|
|
930
|
+
H && typeof H == "function" && H();
|
|
912
931
|
},
|
|
913
932
|
onMouseLeave: () => {
|
|
914
|
-
|
|
933
|
+
O && typeof O == "function" && O();
|
|
915
934
|
},
|
|
916
|
-
children: Ne(
|
|
935
|
+
children: Ne(se)
|
|
917
936
|
}
|
|
918
937
|
)
|
|
919
938
|
]
|
|
920
939
|
}
|
|
921
940
|
),
|
|
922
|
-
|
|
923
|
-
/* @__PURE__ */
|
|
941
|
+
U && /* @__PURE__ */ r.jsxs("div", { style: K ?? {}, onClick: qe, className: D.withCopy, children: [
|
|
942
|
+
/* @__PURE__ */ r.jsx(tt, {}),
|
|
924
943
|
"Copy"
|
|
925
944
|
] })
|
|
926
945
|
] }),
|
|
927
|
-
a && (a == null ? void 0 : a.visible) && /* @__PURE__ */
|
|
946
|
+
a && (a == null ? void 0 : a.visible) && /* @__PURE__ */ r.jsx("div", { style: ce ?? {}, className: `${D.inputHelperText} ${a != null && a.error ? D.error : ""}`, children: /* @__PURE__ */ r.jsx("p", { style: (a == null ? void 0 : a.style) ?? {}, children: a.text }) })
|
|
928
947
|
] });
|
|
929
|
-
},
|
|
930
|
-
textareaContainer:
|
|
948
|
+
}, Ct = "Textarea-module__textareaContainer", bt = "Textarea-module__textAreaLabel", gt = "Textarea-module__required", jt = "Textarea-module__wrap", wt = "Textarea-module__textarea", kt = "Textarea-module__focused", Tt = "Textarea-module__disabled", Et = "Textarea-module__error", Rt = "Textarea-module__helperTextStyle", G = {
|
|
949
|
+
textareaContainer: Ct,
|
|
931
950
|
textAreaLabel: bt,
|
|
932
|
-
required:
|
|
933
|
-
wrap:
|
|
934
|
-
textarea:
|
|
935
|
-
focused:
|
|
951
|
+
required: gt,
|
|
952
|
+
wrap: jt,
|
|
953
|
+
textarea: wt,
|
|
954
|
+
focused: kt,
|
|
936
955
|
disabled: Tt,
|
|
937
|
-
error:
|
|
938
|
-
helperTextStyle:
|
|
939
|
-
},
|
|
940
|
-
/* @__PURE__ */
|
|
956
|
+
error: Et,
|
|
957
|
+
helperTextStyle: Rt
|
|
958
|
+
}, $t = ({ width: s, height: u, color: n }) => /* @__PURE__ */ r.jsxs("svg", { width: s ?? "16", height: u ?? "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
959
|
+
/* @__PURE__ */ r.jsx("g", { id: "help-circle", clipPath: "url(#clip0_433_6293)", children: /* @__PURE__ */ r.jsx(
|
|
941
960
|
"path",
|
|
942
961
|
{
|
|
943
962
|
id: "Icon",
|
|
944
963
|
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",
|
|
945
|
-
stroke:
|
|
964
|
+
stroke: n ?? "#A4A7AE",
|
|
946
965
|
strokeWidth: "1.33333",
|
|
947
966
|
strokeLinecap: "round",
|
|
948
967
|
strokeLinejoin: "round"
|
|
949
968
|
}
|
|
950
969
|
) }),
|
|
951
|
-
/* @__PURE__ */
|
|
952
|
-
] }),
|
|
953
|
-
placeholder:
|
|
970
|
+
/* @__PURE__ */ r.jsx("defs", { children: /* @__PURE__ */ r.jsx("clipPath", { id: "clip0_433_6293", children: /* @__PURE__ */ r.jsx("rect", { width: s ?? "16", height: u ?? "16", fill: "white" }) }) })
|
|
971
|
+
] }), Ln = ({
|
|
972
|
+
placeholder: s,
|
|
954
973
|
label: u,
|
|
955
|
-
msg:
|
|
956
|
-
cols:
|
|
957
|
-
rows:
|
|
958
|
-
value:
|
|
959
|
-
maxLength:
|
|
960
|
-
onChange:
|
|
961
|
-
onFocus:
|
|
962
|
-
onBlur:
|
|
974
|
+
msg: n,
|
|
975
|
+
cols: x,
|
|
976
|
+
rows: y,
|
|
977
|
+
value: d,
|
|
978
|
+
maxLength: g,
|
|
979
|
+
onChange: _,
|
|
980
|
+
onFocus: i,
|
|
981
|
+
onBlur: p,
|
|
963
982
|
disabled: a,
|
|
964
|
-
required:
|
|
965
|
-
textareaContainerStyle:
|
|
966
|
-
textareaLabelStyle:
|
|
967
|
-
requiredStyle:
|
|
968
|
-
textareaStyle:
|
|
969
|
-
textareaHelperTextStyle:
|
|
983
|
+
required: v,
|
|
984
|
+
textareaContainerStyle: k,
|
|
985
|
+
textareaLabelStyle: E,
|
|
986
|
+
requiredStyle: j,
|
|
987
|
+
textareaStyle: L,
|
|
988
|
+
textareaHelperTextStyle: H
|
|
970
989
|
}) => {
|
|
971
|
-
const [
|
|
972
|
-
let
|
|
973
|
-
|
|
990
|
+
const [O, w] = q(!1), B = (se) => {
|
|
991
|
+
let ae = se.target.value;
|
|
992
|
+
_ && typeof _ == "function" && _(ae);
|
|
974
993
|
}, $ = () => {
|
|
975
|
-
|
|
976
|
-
},
|
|
977
|
-
|
|
994
|
+
w(!0), i && typeof i == "function" && i();
|
|
995
|
+
}, X = () => {
|
|
996
|
+
w(!1), p && typeof p == "function" && p();
|
|
978
997
|
};
|
|
979
|
-
return /* @__PURE__ */
|
|
998
|
+
return /* @__PURE__ */ r.jsxs(
|
|
980
999
|
"div",
|
|
981
1000
|
{
|
|
982
|
-
style:
|
|
983
|
-
className: `${
|
|
1001
|
+
style: k ?? {},
|
|
1002
|
+
className: `${G.textareaContainer} ${n != null && n.type && (n != null && n.visible) ? G[n == null ? void 0 : n.type] : ""} ${a ? G.disabled : null}`,
|
|
984
1003
|
children: [
|
|
985
|
-
u && /* @__PURE__ */
|
|
986
|
-
/* @__PURE__ */
|
|
987
|
-
/* @__PURE__ */
|
|
988
|
-
/* @__PURE__ */
|
|
1004
|
+
u && /* @__PURE__ */ r.jsxs("div", { style: E, className: G.textAreaLabel, children: [
|
|
1005
|
+
/* @__PURE__ */ r.jsx("p", { children: u }),
|
|
1006
|
+
/* @__PURE__ */ r.jsx("span", { style: j ?? {}, className: G.required, children: v && "*" }),
|
|
1007
|
+
/* @__PURE__ */ r.jsx($t, {})
|
|
989
1008
|
] }),
|
|
990
|
-
/* @__PURE__ */
|
|
1009
|
+
/* @__PURE__ */ r.jsx("div", { className: G.wrap, children: /* @__PURE__ */ r.jsx(
|
|
991
1010
|
"textarea",
|
|
992
1011
|
{
|
|
993
|
-
style:
|
|
994
|
-
className: `${
|
|
995
|
-
value:
|
|
996
|
-
placeholder:
|
|
997
|
-
cols:
|
|
998
|
-
rows:
|
|
999
|
-
maxLength:
|
|
1012
|
+
style: L ?? {},
|
|
1013
|
+
className: `${G.textarea} ${O ? G.focused : ""} ${a ? G.disabled : ""} ${n != null && n.error ? G.error : ""}`,
|
|
1014
|
+
value: d,
|
|
1015
|
+
placeholder: s ?? "",
|
|
1016
|
+
cols: x ?? "30",
|
|
1017
|
+
rows: y ?? "5",
|
|
1018
|
+
maxLength: g ?? null,
|
|
1000
1019
|
onFocus: $,
|
|
1001
1020
|
disabled: a,
|
|
1002
|
-
onBlur:
|
|
1003
|
-
onChange:
|
|
1021
|
+
onBlur: X,
|
|
1022
|
+
onChange: B
|
|
1004
1023
|
}
|
|
1005
1024
|
) }),
|
|
1006
|
-
/* @__PURE__ */
|
|
1025
|
+
/* @__PURE__ */ r.jsx("div", { style: H ?? {}, className: `${G.helperTextStyle} ${n != null && n.error ? G.error : ""}`, children: /* @__PURE__ */ r.jsx("p", { style: (n == null ? void 0 : n.style) ?? {}, children: n.text }) })
|
|
1007
1026
|
]
|
|
1008
1027
|
}
|
|
1009
1028
|
);
|
|
1010
|
-
},
|
|
1011
|
-
toggleWrapper:
|
|
1012
|
-
toggleState:
|
|
1029
|
+
}, Pt = "Toggle-module__toggleWrapper", Lt = "Toggle-module__toggleState", Ot = "Toggle-module__checked", Dt = "Toggle-module__disabled", Ie = {
|
|
1030
|
+
toggleWrapper: Pt,
|
|
1031
|
+
toggleState: Lt,
|
|
1013
1032
|
checked: Ot,
|
|
1014
|
-
disabled:
|
|
1015
|
-
},
|
|
1016
|
-
checked:
|
|
1033
|
+
disabled: Dt
|
|
1034
|
+
}, On = ({
|
|
1035
|
+
checked: s,
|
|
1017
1036
|
change: u,
|
|
1018
|
-
disabled:
|
|
1019
|
-
required:
|
|
1020
|
-
activeStyle:
|
|
1021
|
-
bgStyle:
|
|
1022
|
-
checkedBgStyle:
|
|
1023
|
-
disabledBgStyle:
|
|
1024
|
-
circleStyle:
|
|
1025
|
-
checkedCircleStyle:
|
|
1037
|
+
disabled: n,
|
|
1038
|
+
required: x,
|
|
1039
|
+
activeStyle: y,
|
|
1040
|
+
bgStyle: d,
|
|
1041
|
+
checkedBgStyle: g,
|
|
1042
|
+
disabledBgStyle: _,
|
|
1043
|
+
circleStyle: i,
|
|
1044
|
+
checkedCircleStyle: p,
|
|
1026
1045
|
disabledCircleStyle: a
|
|
1027
1046
|
}) => {
|
|
1028
|
-
const [
|
|
1029
|
-
u && typeof u == "function" && u(!
|
|
1030
|
-
},
|
|
1031
|
-
if (
|
|
1032
|
-
return
|
|
1033
|
-
if (
|
|
1034
|
-
if (
|
|
1035
|
-
} else if (
|
|
1036
|
-
if (
|
|
1037
|
-
return
|
|
1038
|
-
} else if (
|
|
1047
|
+
const [v, k] = q(!1), E = () => {
|
|
1048
|
+
u && typeof u == "function" && u(!s);
|
|
1049
|
+
}, j = () => {
|
|
1050
|
+
if (v)
|
|
1051
|
+
return y ?? {};
|
|
1052
|
+
if (s) {
|
|
1053
|
+
if (g) return g;
|
|
1054
|
+
} else if (s) {
|
|
1055
|
+
if (n && _)
|
|
1056
|
+
return _;
|
|
1057
|
+
} else if (d) return d;
|
|
1039
1058
|
return {};
|
|
1040
|
-
},
|
|
1041
|
-
if (
|
|
1042
|
-
if (
|
|
1043
|
-
} else if (
|
|
1044
|
-
if (
|
|
1059
|
+
}, L = () => {
|
|
1060
|
+
if (s) {
|
|
1061
|
+
if (p) return p;
|
|
1062
|
+
} else if (s) {
|
|
1063
|
+
if (n && a)
|
|
1045
1064
|
return a;
|
|
1046
|
-
} else if (
|
|
1065
|
+
} else if (i) return i;
|
|
1047
1066
|
return {};
|
|
1048
1067
|
};
|
|
1049
|
-
return /* @__PURE__ */
|
|
1068
|
+
return /* @__PURE__ */ r.jsx(
|
|
1050
1069
|
"div",
|
|
1051
1070
|
{
|
|
1052
|
-
style:
|
|
1053
|
-
onMouseDown: () =>
|
|
1054
|
-
onMouseUp: () =>
|
|
1055
|
-
onMouseLeave: () =>
|
|
1056
|
-
onClick:
|
|
1057
|
-
className: `${Ie.toggleWrapper} ${
|
|
1058
|
-
children: /* @__PURE__ */
|
|
1071
|
+
style: j(),
|
|
1072
|
+
onMouseDown: () => k(!0),
|
|
1073
|
+
onMouseUp: () => k(!1),
|
|
1074
|
+
onMouseLeave: () => k(!1),
|
|
1075
|
+
onClick: E,
|
|
1076
|
+
className: `${Ie.toggleWrapper} ${s ? Ie.checked : ""} ${n ? Ie.disabled : ""}`,
|
|
1077
|
+
children: /* @__PURE__ */ r.jsx("div", { style: L(), className: Ie.toggleState, children: /* @__PURE__ */ r.jsx("input", { type: "checkbox", checked: s, readOnly: !0, disabled: n ?? !1, hidden: !0, required: x ?? !1 }) })
|
|
1059
1078
|
}
|
|
1060
1079
|
);
|
|
1061
|
-
}, Ft = "Radio-module__radioWrapper", Nt = "Radio-module__sm",
|
|
1080
|
+
}, Ft = "Radio-module__radioWrapper", Nt = "Radio-module__sm", At = "Radio-module__md", St = "Radio-module__checked", Wt = "Radio-module__innerCircle", Mt = "Radio-module__radioState", It = "Radio-module__disabled", xe = {
|
|
1062
1081
|
radioWrapper: Ft,
|
|
1063
1082
|
sm: Nt,
|
|
1064
|
-
md:
|
|
1083
|
+
md: At,
|
|
1065
1084
|
checked: St,
|
|
1066
|
-
innerCircle:
|
|
1067
|
-
radioState:
|
|
1085
|
+
innerCircle: Wt,
|
|
1086
|
+
radioState: Mt,
|
|
1068
1087
|
disabled: It
|
|
1069
|
-
},
|
|
1070
|
-
|
|
1071
|
-
const
|
|
1072
|
-
u && typeof u == "function" && (
|
|
1088
|
+
}, Dn = ({ checked: s, change: u, disabled: n, isRequired: x, withUncheckState: y, size: d }) => {
|
|
1089
|
+
q(!1);
|
|
1090
|
+
const g = () => {
|
|
1091
|
+
u && typeof u == "function" && (y || !y && !s) && u(!0);
|
|
1073
1092
|
};
|
|
1074
|
-
return /* @__PURE__ */
|
|
1075
|
-
/* @__PURE__ */
|
|
1076
|
-
/* @__PURE__ */
|
|
1093
|
+
return /* @__PURE__ */ r.jsxs("div", { className: `${xe.radioWrapper} ${xe[d] ?? xe.md} ${s ? xe.checked : ""} ${n ? xe.disabled : ""}`, onClick: g, children: [
|
|
1094
|
+
/* @__PURE__ */ r.jsx("input", { type: "radio", checked: !0, readOnly: !0, hidden: !0, disabled: n ?? !1, required: x ?? !1 }),
|
|
1095
|
+
/* @__PURE__ */ r.jsx("div", { className: xe.radioState, children: /* @__PURE__ */ r.jsx("div", { className: xe.innerCircle }) })
|
|
1077
1096
|
] });
|
|
1078
|
-
},
|
|
1079
|
-
dropdownWrapper:
|
|
1097
|
+
}, Ht = "Dropdown-module__dropdownWrapper", Bt = "Dropdown-module__placeHolder", Vt = "Dropdown-module__dropdownLabel", qt = "Dropdown-module__required", Yt = "Dropdown-module__dropdownContainer", Ut = "Dropdown-module__sm", Kt = "Dropdown-module__md", zt = "Dropdown-module__selectedTags", Jt = "Dropdown-module__selectedList", Gt = "Dropdown-module__additional", Xt = "Dropdown-module__dropdownList", Zt = "Dropdown-module__disabled", Qt = "Dropdown-module__selected", en = "Dropdown-module__focused", rn = "Dropdown-module__error", tn = "Dropdown-module__dropdownHelperText", S = {
|
|
1098
|
+
dropdownWrapper: Ht,
|
|
1080
1099
|
placeHolder: Bt,
|
|
1081
|
-
dropdownLabel:
|
|
1100
|
+
dropdownLabel: Vt,
|
|
1082
1101
|
required: qt,
|
|
1083
|
-
dropdownContainer:
|
|
1084
|
-
sm:
|
|
1085
|
-
md:
|
|
1086
|
-
selectedTags:
|
|
1102
|
+
dropdownContainer: Yt,
|
|
1103
|
+
sm: Ut,
|
|
1104
|
+
md: Kt,
|
|
1105
|
+
selectedTags: zt,
|
|
1087
1106
|
selectedList: Jt,
|
|
1088
1107
|
additional: Gt,
|
|
1089
1108
|
dropdownList: Xt,
|
|
1090
|
-
disabled:
|
|
1091
|
-
selected:
|
|
1092
|
-
focused:
|
|
1093
|
-
error:
|
|
1094
|
-
dropdownHelperText:
|
|
1095
|
-
},
|
|
1096
|
-
label:
|
|
1109
|
+
disabled: Zt,
|
|
1110
|
+
selected: Qt,
|
|
1111
|
+
focused: en,
|
|
1112
|
+
error: rn,
|
|
1113
|
+
dropdownHelperText: tn
|
|
1114
|
+
}, Fn = ({
|
|
1115
|
+
label: s,
|
|
1097
1116
|
disabled: u,
|
|
1098
|
-
required:
|
|
1099
|
-
size:
|
|
1100
|
-
placeholder:
|
|
1101
|
-
msg:
|
|
1102
|
-
readOnly:
|
|
1103
|
-
data:
|
|
1104
|
-
onSelect:
|
|
1105
|
-
selectedOptionID:
|
|
1117
|
+
required: n,
|
|
1118
|
+
size: x = "md",
|
|
1119
|
+
placeholder: y = "placeholder",
|
|
1120
|
+
msg: d,
|
|
1121
|
+
readOnly: g,
|
|
1122
|
+
data: _,
|
|
1123
|
+
onSelect: i,
|
|
1124
|
+
selectedOptionID: p,
|
|
1106
1125
|
withFilter: a,
|
|
1107
|
-
onSearch:
|
|
1108
|
-
pagination:
|
|
1109
|
-
withMultiSelect:
|
|
1110
|
-
skipSelected:
|
|
1111
|
-
labelIcon:
|
|
1112
|
-
closeIcon:
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1126
|
+
onSearch: v,
|
|
1127
|
+
pagination: k,
|
|
1128
|
+
withMultiSelect: E = !1,
|
|
1129
|
+
skipSelected: j,
|
|
1130
|
+
labelIcon: L,
|
|
1131
|
+
closeIcon: H,
|
|
1132
|
+
dropdownIcon: O,
|
|
1133
|
+
iconDown: w,
|
|
1134
|
+
onLabelIconClick: B,
|
|
1135
|
+
onLabelIconMouseEnter: $,
|
|
1136
|
+
onLabelIconMouseLeave: X,
|
|
1137
|
+
dropdownWrapperStyle: se,
|
|
1138
|
+
dropdownLabelStyle: ae,
|
|
1139
|
+
requiredStyle: pe,
|
|
1140
|
+
labelIconStyle: oe,
|
|
1141
|
+
dropdownContainerStyle: he,
|
|
1142
|
+
placeHolderStyle: Le,
|
|
1143
|
+
selectedTagsStyle: ye,
|
|
1144
|
+
selectedListStyle: W,
|
|
1145
|
+
additionalStyle: U,
|
|
1146
|
+
dropdownListStyle: Z,
|
|
1147
|
+
listStyle: Ce
|
|
1128
1148
|
}) => {
|
|
1129
|
-
const [
|
|
1130
|
-
|
|
1131
|
-
const
|
|
1132
|
-
const
|
|
1133
|
-
return
|
|
1134
|
-
},
|
|
1135
|
-
var
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
}),
|
|
1139
|
-
},
|
|
1140
|
-
|
|
1141
|
-
},
|
|
1142
|
-
|
|
1143
|
-
},
|
|
1144
|
-
if (a && !
|
|
1145
|
-
if (
|
|
1146
|
-
let
|
|
1147
|
-
var
|
|
1148
|
-
return (
|
|
1149
|
+
const [Oe, be] = q(!1), [ee, ie] = q(!1), M = Y(_), [le, re] = q("");
|
|
1150
|
+
q(null);
|
|
1151
|
+
const F = Y([]), ge = Y(null), _e = Y(null), K = Y({}), ce = (o, C) => {
|
|
1152
|
+
const N = /* @__PURE__ */ new Set();
|
|
1153
|
+
return o.filter((z) => N.has(z[C]) ? !1 : (N.add(z[C]), !0));
|
|
1154
|
+
}, ve = (o) => {
|
|
1155
|
+
var C;
|
|
1156
|
+
M.current.forEach((N) => {
|
|
1157
|
+
o.id === N.id ? N.selected = !0 : N.selected = !1;
|
|
1158
|
+
}), K.current = o, re((C = K.current) == null ? void 0 : C.label), i && typeof i == "function" && i(K.current), ie(!1);
|
|
1159
|
+
}, ue = (o) => {
|
|
1160
|
+
F.current = [...F.current, ...M.current.filter((C) => C.id === o.id)], o.selected = !o.selected, F.current = ce(F.current, "id").filter((C) => C.selected), i && typeof i == "function" && i(F.current), re(F.current.map((C) => C.label).join(", ")), be((C) => !C);
|
|
1161
|
+
}, De = (o) => {
|
|
1162
|
+
o.stopPropagation(), F.current = [], p = null, M.current && M.current.length > 0 && _.forEach((C) => C.selected = !1), i(E ? [] : {}), re("");
|
|
1163
|
+
}, je = (o) => {
|
|
1164
|
+
if (a && !k)
|
|
1165
|
+
if (o && o.length > 0) {
|
|
1166
|
+
let C = M.current.filter((N) => {
|
|
1167
|
+
var z;
|
|
1168
|
+
return (z = N == null ? void 0 : N.label) == null ? void 0 : z.toLowerCase().includes(o.toLowerCase());
|
|
1149
1169
|
});
|
|
1150
|
-
|
|
1170
|
+
M.current = C;
|
|
1151
1171
|
} else
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
},
|
|
1155
|
-
if (
|
|
1156
|
-
let
|
|
1157
|
-
|
|
1172
|
+
M.current = _;
|
|
1173
|
+
v && typeof v == "function" && v(o), re(o);
|
|
1174
|
+
}, we = () => {
|
|
1175
|
+
if (p || p === 0) {
|
|
1176
|
+
let o = _.filter((C) => Number(C.id) === Number(p));
|
|
1177
|
+
o && o[0] && (K.current = o[0], j ? (v && typeof v == "function" && v(K.current.label), re(K.current.label), closeOnSelect && setCollapsed((C) => !1), withDropdownSearch && DropdownSearchValue && SetDropdownSearchValue("")) : ve(o[0]));
|
|
1158
1178
|
}
|
|
1159
|
-
},
|
|
1160
|
-
|
|
1179
|
+
}, te = (o) => o, ne = (o) => {
|
|
1180
|
+
o.composedPath().includes(ge.current) || ie(!1);
|
|
1161
1181
|
};
|
|
1162
|
-
return
|
|
1163
|
-
|
|
1164
|
-
}, [
|
|
1165
|
-
document.removeEventListener("click",
|
|
1166
|
-
}), []), /* @__PURE__ */
|
|
1167
|
-
|
|
1168
|
-
|
|
1182
|
+
return fe(() => {
|
|
1183
|
+
E || we();
|
|
1184
|
+
}, [p]), fe(() => (document.addEventListener("click", ne), () => {
|
|
1185
|
+
document.removeEventListener("click", ne);
|
|
1186
|
+
}), []), /* @__PURE__ */ r.jsxs("div", { className: S.dropdownWrapper, style: se ?? {}, children: [
|
|
1187
|
+
s && /* @__PURE__ */ r.jsxs("label", { className: S.dropdownLabel, style: ae ?? {}, children: [
|
|
1188
|
+
s,
|
|
1169
1189
|
" ",
|
|
1170
|
-
/* @__PURE__ */
|
|
1171
|
-
/* @__PURE__ */
|
|
1190
|
+
/* @__PURE__ */ r.jsx("span", { className: S.required, style: pe ?? {}, children: n && "*" }),
|
|
1191
|
+
/* @__PURE__ */ r.jsxs(
|
|
1172
1192
|
"span",
|
|
1173
1193
|
{
|
|
1174
|
-
style: { ...
|
|
1194
|
+
style: { ...oe ?? {}, display: "grid", placeItems: "center" },
|
|
1175
1195
|
onClick: () => {
|
|
1176
|
-
|
|
1196
|
+
B && typeof B == "function" && B();
|
|
1177
1197
|
},
|
|
1178
1198
|
onMouseEnter: () => {
|
|
1179
|
-
|
|
1199
|
+
$ && typeof $ == "function" && $();
|
|
1180
1200
|
},
|
|
1181
1201
|
onMouseLeave: () => {
|
|
1182
|
-
|
|
1202
|
+
X && typeof X == "function" && X();
|
|
1183
1203
|
},
|
|
1184
1204
|
children: [
|
|
1185
1205
|
" ",
|
|
1186
|
-
|
|
1206
|
+
te(L)
|
|
1187
1207
|
]
|
|
1188
1208
|
}
|
|
1189
1209
|
)
|
|
1190
1210
|
] }),
|
|
1191
|
-
/* @__PURE__ */
|
|
1211
|
+
/* @__PURE__ */ r.jsxs(
|
|
1192
1212
|
"div",
|
|
1193
1213
|
{
|
|
1194
|
-
ref:
|
|
1195
|
-
onClick: () =>
|
|
1196
|
-
className: `${
|
|
1197
|
-
style:
|
|
1214
|
+
ref: ge,
|
|
1215
|
+
onClick: () => ie((o) => !o),
|
|
1216
|
+
className: `${S.dropdownContainer} ${ee && !g ? S.focused : ""} ${u ? S.disabled : ""} ${d != null && d.error ? S.error : ""} ${S[x]}`,
|
|
1217
|
+
style: he ?? {},
|
|
1198
1218
|
children: [
|
|
1199
|
-
/* @__PURE__ */
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
let
|
|
1203
|
-
return /* @__PURE__ */
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
] },
|
|
1219
|
+
/* @__PURE__ */ r.jsx("span", { className: S.placeHolder, style: Le ?? {}, children: le && le.length > 0 ? "" : y }),
|
|
1220
|
+
E && /* @__PURE__ */ r.jsxs("div", { className: S.selectedTags, style: ye ?? {}, children: [
|
|
1221
|
+
F.current.slice(0, 3).map((o, C) => {
|
|
1222
|
+
let N = F.current[F.current.length - 1];
|
|
1223
|
+
return /* @__PURE__ */ r.jsxs("span", { className: S.selectedList, style: W ?? {}, children: [
|
|
1224
|
+
o.label,
|
|
1225
|
+
o.id !== N.id && C !== 2 ? ", " : ""
|
|
1226
|
+
] }, o == null ? void 0 : o.id);
|
|
1207
1227
|
}),
|
|
1208
|
-
|
|
1228
|
+
F.current.length > 3 && /* @__PURE__ */ r.jsxs("span", { className: S.additional, style: U ?? {}, children: [
|
|
1209
1229
|
" ",
|
|
1210
1230
|
"+(",
|
|
1211
|
-
|
|
1231
|
+
F.current.length - 3,
|
|
1212
1232
|
")"
|
|
1213
1233
|
] })
|
|
1214
1234
|
] }),
|
|
1215
|
-
/* @__PURE__ */
|
|
1235
|
+
O && /* @__PURE__ */ r.jsx("div", { style: { display: "grid", alignItems: "center", marginRight: "0.5rem" }, children: te(O) }),
|
|
1236
|
+
/* @__PURE__ */ r.jsx(
|
|
1216
1237
|
"input",
|
|
1217
1238
|
{
|
|
1218
1239
|
autoCorrect: "off",
|
|
1219
|
-
hidden:
|
|
1220
|
-
readOnly: !a || !
|
|
1240
|
+
hidden: E,
|
|
1241
|
+
readOnly: !a || !ee || E,
|
|
1221
1242
|
type: "text",
|
|
1222
|
-
value:
|
|
1223
|
-
onChange: (
|
|
1243
|
+
value: le,
|
|
1244
|
+
onChange: (o) => je(o.target.value)
|
|
1224
1245
|
},
|
|
1225
|
-
|
|
1246
|
+
p
|
|
1226
1247
|
),
|
|
1227
|
-
|
|
1248
|
+
ee && M.current && M.current.length > 0 && /* @__PURE__ */ r.jsx("ul", { onClick: (o) => o.stopPropagation(), ref: _e, className: S.dropdownList, style: Z ?? {}, children: M.current.map((o) => /* @__PURE__ */ r.jsxs(
|
|
1228
1249
|
"li",
|
|
1229
1250
|
{
|
|
1230
|
-
style:
|
|
1231
|
-
className: `${!(
|
|
1251
|
+
style: Ce ?? {},
|
|
1252
|
+
className: `${!(o != null && o.label) || o.label === void 0 || o != null && o.disabled ? S.disabled : ""} ${o != null && o.selected ? S.selected : ""}`,
|
|
1232
1253
|
onClick: () => {
|
|
1233
|
-
|
|
1254
|
+
E ? ue(o) : ve(o);
|
|
1234
1255
|
},
|
|
1235
1256
|
children: [
|
|
1236
|
-
/* @__PURE__ */
|
|
1257
|
+
/* @__PURE__ */ r.jsxs("p", { children: [
|
|
1237
1258
|
" ",
|
|
1238
|
-
|
|
1259
|
+
o != null && o.label ? typeof o.label == "function" ? o.label() : o.label : "-"
|
|
1239
1260
|
] }),
|
|
1240
|
-
(
|
|
1261
|
+
(o == null ? void 0 : o.selected) && /* @__PURE__ */ r.jsx("span", { children: /* @__PURE__ */ r.jsx(ur, { color: "#7F56D9", width: 20, height: 20 }) })
|
|
1241
1262
|
]
|
|
1242
1263
|
},
|
|
1243
|
-
|
|
1264
|
+
o == null ? void 0 : o.id
|
|
1244
1265
|
)) }),
|
|
1245
|
-
(
|
|
1246
|
-
/* @__PURE__ */
|
|
1266
|
+
(F.current.length > 0 || le.length) > 0 && /* @__PURE__ */ r.jsx("div", { onClick: (o) => De(o), style: { display: "grid", placeItems: "center", cursor: "pointer" }, children: H ? te(H) : /* @__PURE__ */ r.jsx(Ze, { width: 16, height: 16 }) }),
|
|
1267
|
+
/* @__PURE__ */ r.jsx(
|
|
1247
1268
|
"div",
|
|
1248
1269
|
{
|
|
1249
1270
|
style: {
|
|
1250
1271
|
display: "grid",
|
|
1251
1272
|
placeItems: "center",
|
|
1252
|
-
transform:
|
|
1273
|
+
transform: ee ? "rotate(180deg)" : "",
|
|
1253
1274
|
transition: "transform 0.2s ease-in-out",
|
|
1254
1275
|
// Add transition here
|
|
1255
1276
|
cursor: "pointer",
|
|
1256
1277
|
marginLeft: "10px"
|
|
1257
1278
|
},
|
|
1258
|
-
children:
|
|
1279
|
+
children: w ? te(w) : /* @__PURE__ */ r.jsx(cr, {})
|
|
1259
1280
|
}
|
|
1260
1281
|
)
|
|
1261
1282
|
]
|
|
1262
1283
|
}
|
|
1263
1284
|
),
|
|
1264
|
-
|
|
1285
|
+
d && (d == null ? void 0 : d.visible) && /* @__PURE__ */ r.jsx("div", { className: `${S.dropdownHelperText} ${d != null && d.error ? S.error : ""}`, children: !ee && /* @__PURE__ */ r.jsx("p", { style: (d == null ? void 0 : d.style) ?? {}, children: d.text }) })
|
|
1265
1286
|
] });
|
|
1266
|
-
},
|
|
1267
|
-
tooltipContainer:
|
|
1268
|
-
tooltipContent:
|
|
1269
|
-
top:
|
|
1287
|
+
}, nn = "Tooltip-module__tooltipContainer", on = "Tooltip-module__tooltipContent", ln = "Tooltip-module__top", sn = "Tooltip-module__right", an = "Tooltip-module__bottom", cn = "Tooltip-module__left", un = "Tooltip-module__tooltipTitle", dn = "Tooltip-module__tooltipText", Pe = {
|
|
1288
|
+
tooltipContainer: nn,
|
|
1289
|
+
tooltipContent: on,
|
|
1290
|
+
top: ln,
|
|
1270
1291
|
right: sn,
|
|
1271
1292
|
bottom: an,
|
|
1272
|
-
left:
|
|
1293
|
+
left: cn,
|
|
1273
1294
|
tooltipTitle: un,
|
|
1274
|
-
tooltipText:
|
|
1275
|
-
},
|
|
1276
|
-
children:
|
|
1295
|
+
tooltipText: dn
|
|
1296
|
+
}, Nn = ({
|
|
1297
|
+
children: s,
|
|
1277
1298
|
tooltipSlot: u,
|
|
1278
|
-
delay:
|
|
1279
|
-
placement:
|
|
1280
|
-
trigger:
|
|
1281
|
-
title:
|
|
1282
|
-
text:
|
|
1283
|
-
tooltipContentStyle:
|
|
1284
|
-
tooltipTitlestyle:
|
|
1285
|
-
tooltipTextStyle:
|
|
1299
|
+
delay: n,
|
|
1300
|
+
placement: x = "top",
|
|
1301
|
+
trigger: y = "hover",
|
|
1302
|
+
title: d,
|
|
1303
|
+
text: g,
|
|
1304
|
+
tooltipContentStyle: _,
|
|
1305
|
+
tooltipTitlestyle: i,
|
|
1306
|
+
tooltipTextStyle: p,
|
|
1286
1307
|
pointerPosition: a = "10%"
|
|
1287
1308
|
}) => {
|
|
1288
|
-
const
|
|
1289
|
-
let
|
|
1290
|
-
const [
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
},
|
|
1294
|
-
},
|
|
1295
|
-
|
|
1296
|
-
},
|
|
1297
|
-
|
|
1298
|
-
},
|
|
1299
|
-
$.composedPath().includes(
|
|
1309
|
+
const v = Y(null), k = Y(null);
|
|
1310
|
+
let E;
|
|
1311
|
+
const [j, L] = q(!1), H = () => {
|
|
1312
|
+
y === "hover" && (E = setTimeout(() => {
|
|
1313
|
+
L(!0);
|
|
1314
|
+
}, n || 400));
|
|
1315
|
+
}, O = () => {
|
|
1316
|
+
y === "hover" && (clearInterval(E), L(!1));
|
|
1317
|
+
}, w = () => {
|
|
1318
|
+
y === "click" && L(($) => !$);
|
|
1319
|
+
}, B = ($) => {
|
|
1320
|
+
$.composedPath().includes(v.current) || L(!1);
|
|
1300
1321
|
};
|
|
1301
|
-
return
|
|
1302
|
-
document.removeEventListener("click",
|
|
1303
|
-
}), []),
|
|
1304
|
-
const $ =
|
|
1322
|
+
return fe(() => (document.addEventListener("click", B), () => {
|
|
1323
|
+
document.removeEventListener("click", B);
|
|
1324
|
+
}), []), fe(() => {
|
|
1325
|
+
const $ = k.current;
|
|
1305
1326
|
$ && $.style.setProperty("--pointer-position", `${a}`);
|
|
1306
|
-
}, [
|
|
1307
|
-
|
|
1308
|
-
|
|
1327
|
+
}, [j]), /* @__PURE__ */ r.jsxs("div", { ref: v, className: Pe.tooltipContainer, onClick: w, onMouseEnter: H, onMouseLeave: O, children: [
|
|
1328
|
+
s,
|
|
1329
|
+
j && u ? u() : j && /* @__PURE__ */ r.jsxs(
|
|
1309
1330
|
"div",
|
|
1310
1331
|
{
|
|
1311
1332
|
onClick: ($) => $.stopPropagation(),
|
|
1312
|
-
ref:
|
|
1313
|
-
style:
|
|
1314
|
-
className: `${
|
|
1333
|
+
ref: k,
|
|
1334
|
+
style: _ ?? {},
|
|
1335
|
+
className: `${Pe.tooltipContent} ${x ? Pe[x] : Pe.bottom}`,
|
|
1315
1336
|
children: [
|
|
1316
|
-
|
|
1317
|
-
|
|
1337
|
+
d && d.length > 0 && /* @__PURE__ */ r.jsx("h2", { className: Pe.tooltipTitle, style: i ?? {}, children: d }),
|
|
1338
|
+
g && g.length > 0 && /* @__PURE__ */ r.jsx("p", { className: Pe.tooltipText, style: p ?? {}, children: g })
|
|
1318
1339
|
]
|
|
1319
1340
|
}
|
|
1320
1341
|
)
|
|
1321
1342
|
] });
|
|
1343
|
+
}, fn = "Popup-module__modalOverlay", pn = "Popup-module__popupDrawerMode", hn = "Popup-module__popupContainer", _n = "Popup-module__EnterFromLeft", vn = "Popup-module__fadeIn", mn = "Popup-module__withOptions", xn = "Popup-module__horizontal", yn = "Popup-module__popupHeader", Cn = "Popup-module__popupTitle", bn = "Popup-module__popupDescription", gn = "Popup-module__typeIcon", jn = "Popup-module__icon", wn = "Popup-module__templateWrapper", Q = {
|
|
1344
|
+
modalOverlay: fn,
|
|
1345
|
+
popupDrawerMode: pn,
|
|
1346
|
+
popupContainer: hn,
|
|
1347
|
+
enterFromLeft: _n,
|
|
1348
|
+
fadeIn: vn,
|
|
1349
|
+
withOptions: mn,
|
|
1350
|
+
horizontal: xn,
|
|
1351
|
+
popupHeader: yn,
|
|
1352
|
+
popupTitle: Cn,
|
|
1353
|
+
popupDescription: bn,
|
|
1354
|
+
typeIcon: gn,
|
|
1355
|
+
icon: jn,
|
|
1356
|
+
templateWrapper: wn
|
|
1357
|
+
};
|
|
1358
|
+
location.href.indexOf(".upgaming.dev") > 0 || location.href.indexOf(".upgaming.com") > 0;
|
|
1359
|
+
const kn = () => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ r.jsx(
|
|
1360
|
+
"path",
|
|
1361
|
+
{
|
|
1362
|
+
d: "M7.5 12L10.5 15L16.5 9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",
|
|
1363
|
+
stroke: "#079455",
|
|
1364
|
+
strokeWidth: "2",
|
|
1365
|
+
strokeLinecap: "round",
|
|
1366
|
+
strokeLinejoin: "round"
|
|
1367
|
+
}
|
|
1368
|
+
) }), Tn = () => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ r.jsx(
|
|
1369
|
+
"path",
|
|
1370
|
+
{
|
|
1371
|
+
d: "M7 3V6.4C7 6.96005 7 7.24008 7.10899 7.45399C7.20487 7.64215 7.35785 7.79513 7.54601 7.89101C7.75992 8 8.03995 8 8.6 8H15.4C15.9601 8 16.2401 8 16.454 7.89101C16.6422 7.79513 16.7951 7.64215 16.891 7.45399C17 7.24008 17 6.96005 17 6.4V4M17 21V14.6C17 14.0399 17 13.7599 16.891 13.546C16.7951 13.3578 16.6422 13.2049 16.454 13.109C16.2401 13 15.9601 13 15.4 13H8.6C8.03995 13 7.75992 13 7.54601 13.109C7.35785 13.2049 7.20487 13.3578 7.10899 13.546C7 13.7599 7 14.0399 7 14.6V21M21 9.32548V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3H14.6745C15.1637 3 15.4083 3 15.6385 3.05526C15.8425 3.10425 16.0376 3.18506 16.2166 3.29472C16.4184 3.4184 16.5914 3.59135 16.9373 3.93726L20.0627 7.06274C20.4086 7.40865 20.5816 7.5816 20.7053 7.78343C20.8149 7.96237 20.8957 8.15746 20.9447 8.36154C21 8.59171 21 8.8363 21 9.32548Z",
|
|
1372
|
+
stroke: "#DC6803",
|
|
1373
|
+
strokeWidth: "2",
|
|
1374
|
+
strokeLinecap: "round",
|
|
1375
|
+
strokeLinejoin: "round"
|
|
1376
|
+
}
|
|
1377
|
+
) }), En = () => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ r.jsx(
|
|
1378
|
+
"path",
|
|
1379
|
+
{
|
|
1380
|
+
d: "M16 6V5.2C16 4.0799 16 3.51984 15.782 3.09202C15.5903 2.71569 15.2843 2.40973 14.908 2.21799C14.4802 2 13.9201 2 12.8 2H11.2C10.0799 2 9.51984 2 9.09202 2.21799C8.71569 2.40973 8.40973 2.71569 8.21799 3.09202C8 3.51984 8 4.0799 8 5.2V6M10 11.5V16.5M14 11.5V16.5M3 6H21M19 6V17.2C19 18.8802 19 19.7202 18.673 20.362C18.3854 20.9265 17.9265 21.3854 17.362 21.673C16.7202 22 15.8802 22 14.2 22H9.8C8.11984 22 7.27976 22 6.63803 21.673C6.07354 21.3854 5.6146 20.9265 5.32698 20.362C5 19.7202 5 18.8802 5 17.2V6",
|
|
1381
|
+
stroke: "#D92D20",
|
|
1382
|
+
strokeWidth: "2",
|
|
1383
|
+
strokeLinecap: "round",
|
|
1384
|
+
strokeLinejoin: "round"
|
|
1385
|
+
}
|
|
1386
|
+
) }), An = ({
|
|
1387
|
+
visible: s,
|
|
1388
|
+
template: u,
|
|
1389
|
+
options: n,
|
|
1390
|
+
children: x,
|
|
1391
|
+
onClickOutside: y,
|
|
1392
|
+
onClose: d,
|
|
1393
|
+
widthType: g,
|
|
1394
|
+
// "horizontal"
|
|
1395
|
+
modalOverlayStyle: _,
|
|
1396
|
+
popupContainerStyle: i,
|
|
1397
|
+
templateWrapperStyle: p
|
|
1398
|
+
}) => {
|
|
1399
|
+
const a = () => {
|
|
1400
|
+
if (!(!n || !(n != null && n.type)))
|
|
1401
|
+
switch (String(n == null ? void 0 : n.type)) {
|
|
1402
|
+
case "delete":
|
|
1403
|
+
return /* @__PURE__ */ r.jsx(En, {});
|
|
1404
|
+
case "unsaved":
|
|
1405
|
+
return /* @__PURE__ */ r.jsx(Tn, {});
|
|
1406
|
+
case "success":
|
|
1407
|
+
return /* @__PURE__ */ r.jsx(kn, {});
|
|
1408
|
+
}
|
|
1409
|
+
}, v = () => {
|
|
1410
|
+
d && typeof d == "function" && d(!1);
|
|
1411
|
+
}, k = Y(null), E = (j) => {
|
|
1412
|
+
j.target === k.current && y && typeof y == "function" && y(!1);
|
|
1413
|
+
};
|
|
1414
|
+
return fe(() => (document.addEventListener("click", E), () => {
|
|
1415
|
+
document.removeEventListener("click", E);
|
|
1416
|
+
}), []), s && /* @__PURE__ */ r.jsx(
|
|
1417
|
+
"div",
|
|
1418
|
+
{
|
|
1419
|
+
ref: k,
|
|
1420
|
+
style: _ ?? {},
|
|
1421
|
+
className: `
|
|
1422
|
+
mcModal_global
|
|
1423
|
+
${Q.modalOverlay}
|
|
1424
|
+
${n && n.mode === "drawer" ? Q.popupDrawerMode : ""}
|
|
1425
|
+
`,
|
|
1426
|
+
children: /* @__PURE__ */ r.jsxs(
|
|
1427
|
+
"div",
|
|
1428
|
+
{
|
|
1429
|
+
style: i ?? {},
|
|
1430
|
+
className: `
|
|
1431
|
+
mcPopup_global
|
|
1432
|
+
${Q.popupContainer}
|
|
1433
|
+
${n != null && n.type ? Q.withOptions : ""}
|
|
1434
|
+
${g === "horizontal" ? Q.horizontal : ""}
|
|
1435
|
+
`,
|
|
1436
|
+
children: [
|
|
1437
|
+
(n.title || n.description || n.type) && /* @__PURE__ */ r.jsxs("div", { className: `${Q.popupHeader}`, children: [
|
|
1438
|
+
a() && /* @__PURE__ */ r.jsxs("div", { className: Q.typeIcon, children: [
|
|
1439
|
+
/* @__PURE__ */ r.jsx(
|
|
1440
|
+
"div",
|
|
1441
|
+
{
|
|
1442
|
+
style: { backgroundColor: (n == null ? void 0 : n.type) === "success" ? "#DCFAE6" : (n == null ? void 0 : n.type) === "unsaved" ? "#FEF0C7" : "#FEE4E2" },
|
|
1443
|
+
className: Q.icon,
|
|
1444
|
+
children: a()
|
|
1445
|
+
}
|
|
1446
|
+
),
|
|
1447
|
+
/* @__PURE__ */ r.jsx("div", { style: { display: "grid", placeItems: "center", cursor: "pointer" }, onClick: v, children: /* @__PURE__ */ r.jsx(
|
|
1448
|
+
Ze,
|
|
1449
|
+
{
|
|
1450
|
+
width: "24",
|
|
1451
|
+
height: "24",
|
|
1452
|
+
viewBox: "0 0 24 24",
|
|
1453
|
+
d: "M18 6L6 18M6 6L18 18",
|
|
1454
|
+
stroke: "#A4A7AE",
|
|
1455
|
+
"stroke-width": "2",
|
|
1456
|
+
"stroke-linecap": "round",
|
|
1457
|
+
"stroke-linejoin": "round"
|
|
1458
|
+
}
|
|
1459
|
+
) })
|
|
1460
|
+
] }),
|
|
1461
|
+
n && (n == null ? void 0 : n.title) && /* @__PURE__ */ r.jsx("div", { className: Q.popupTitle, children: /* @__PURE__ */ r.jsxs("h2", { children: [
|
|
1462
|
+
" ",
|
|
1463
|
+
(n == null ? void 0 : n.title) ?? "",
|
|
1464
|
+
" "
|
|
1465
|
+
] }) }),
|
|
1466
|
+
n && (n == null ? void 0 : n.description) && /* @__PURE__ */ r.jsx("div", { className: Q.popupDescription, children: /* @__PURE__ */ r.jsxs("p", { children: [
|
|
1467
|
+
" ",
|
|
1468
|
+
(n == null ? void 0 : n.description) ?? "",
|
|
1469
|
+
" "
|
|
1470
|
+
] }) })
|
|
1471
|
+
] }),
|
|
1472
|
+
/* @__PURE__ */ r.jsxs("div", { className: Q.templateWrapper, style: p ?? {}, children: [
|
|
1473
|
+
u && u(),
|
|
1474
|
+
x && x
|
|
1475
|
+
] })
|
|
1476
|
+
]
|
|
1477
|
+
}
|
|
1478
|
+
)
|
|
1479
|
+
}
|
|
1480
|
+
);
|
|
1322
1481
|
};
|
|
1323
1482
|
export {
|
|
1324
1483
|
ut as Checkbox,
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1484
|
+
Fn as Dropdown,
|
|
1485
|
+
Pn as FormInput,
|
|
1486
|
+
$n as MainButton,
|
|
1487
|
+
An as Popup,
|
|
1488
|
+
Dn as Radio,
|
|
1489
|
+
yt as Tag,
|
|
1490
|
+
Ln as Textarea,
|
|
1491
|
+
On as Toggle,
|
|
1492
|
+
Nn as Tooltip
|
|
1333
1493
|
};
|