@elcrm/form 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 0px 14px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a;--field-placeholder: #84919a}._l_11fst_13{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._f_11fst_20{box-sizing:border-box;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);outline:0;padding:var(--field-padding);min-height:var(--field-height);line-height:var(--field-height)}._f_11fst_20[placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._f_11fst_20[data-field=group]{--field-padding: 0}._f_11fst_20[data-field=group] div{border-bottom:var(--field-border)}._f_11fst_20[data-field=group] div:last-child{border-bottom:0}._f_11fst_20:focus:before{display:none}._n_11fst_49{min-height:var(--field-note-height);line-height:var(--field-note-line-height)}._n_11fst_49[placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._n_11fst_49:focus:before{display:none}._w_11fst_62{text-wrap:nowrap;overflow:hidden;overflow-x:scroll}._w_11fst_62::-webkit-scrollbar{width:0;height:0}._t_11fst_72{color:var(--field-label-color);padding-bottom:8px}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_oqfdb_1;animation-name:_shake_oqfdb_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_oqfdb_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_oqfdb_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_oqfdb_79 ._sa_oqfdb_89{width:auto;margin:auto 20px}._modal_oqfdb_79 ._ss_oqfdb_94{width:400px}._modal_oqfdb_79 ._sm_oqfdb_98{width:500px}._modal_oqfdb_79 ._sl_oqfdb_102{width:800px}._modal_oqfdb_79 ._sx_oqfdb_106{width:1000px}._modal_oqfdb_79 ._sf_oqfdb_110{width:100%;max-width:1200px;min-width:910px}._o_oqfdb_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._b_oqfdb_28{padding:15px 30px 30px;margin:auto}._w_oqfdb_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_oqfdb_146{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_oqfdb_160{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_oqfdb_160 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_oqfdb_160 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_oqfdb_160 li:last-child{border-bottom:0}._l_oqfdb_160 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_oqfdb_197{padding-right:10px}._x_oqfdb_201{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_oqfdb_201 svg{width:20px}._x_oqfdb_201:hover{opacity:1}._s_oqfdb_89{flex:1;overflow-y:scroll}._c_oqfdb_219{text-align:center;margin:20px}._f_oqfdb_224{display:flex;padding:15px 30px 30px}._f_oqfdb_224 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_oqfdb_224._r__oqfdb_235{flex-direction:row}._f_oqfdb_224._r__oqfdb_235 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_oqfdb_224._r__oqfdb_235 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_oqfdb_224._c__oqfdb_250{flex-direction:column;gap:15px}._f_oqfdb_224._c__oqfdb_250 dt{padding-bottom:8px;margin-left:7px}._g_oqfdb_259{display:flex;gap:10px;overflow:hidden}._c_oqfdb_219{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_oqfdb_219:first-child{margin-left:20px}._c_oqfdb_219:last-child{margin-right:20px}._c_oqfdb_219:hover{opacity:1;background:var(--tinge)}._c_oqfdb_219 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_oqfdb_219 b{text-align:center;display:block;color:var(--color)}._c_oqfdb_219 p{text-align:center;font-size:15px;color:var(--text)}._m_oqfdb_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1wehm_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1wehm_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1wehm_22::-webkit-scrollbar{width:0;height:0}._l_1wehm_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1wehm_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:0 15px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}._l_1wehm_22 li:hover{opacity:1}._l_1wehm_22 li:last-child{border-bottom:0}._i_1wehm_72{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1wehm_81{cursor:pointer}._o_1c9e1_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_1c9e1_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_1c9e1_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_1c9e1_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_1c9e1_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_1c9e1_11 b.__active_1c9e1_41{background:var(--bg-select-active)}._c_1c9e1_11 b:hover{background:var(--bg-select-hover)}._c_1c9e1_11 p{color:var(--color-placeholder);text-align:center;padding:0;cursor:default;pointer-events:none}._c_1c9e1_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_1c9e1_11 i:hover{background:var(--bg-select-hover)}._c_1c9e1_11 i:before{cursor:pointer;display:block}._c_1c9e1_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_1c9e1_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_1c9e1_11 span{padding:2px;text-align:center}._c_1c9e1_11 span p{padding:8px 5px;color:var(--color-placeholder)}._c_1c9e1_11 ._as_1c9e1_94{cursor:ns-resize}._c_1c9e1_11 ._ap_1c9e1_97{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password][show] dd{-webkit-text-security:none}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}[field=color] dd{display:flex;border:0;padding:0;gap:3px}[field=color] dd s{border:1px solid #dde2e4;border-radius:6px;flex:1;cursor:pointer;opacity:.6}[field=color] dd s:hover{opacity:.9}[field=color] dd s[active=true]{opacity:1}
1
+ @charset "UTF-8";._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 0px 14px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a;--field-placeholder: #84919a}._l_kob1e_13{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._l_kob1e_13[data-field=group]{--field-padding: 0}._l_kob1e_13[data-field=group] div{border-bottom:var(--field-border)}._l_kob1e_13[data-field=group] div:last-child{border-bottom:0}._f_kob1e_29{box-sizing:border-box;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);outline:0;padding:var(--field-padding);min-height:var(--field-height);line-height:var(--field-height)}._f_kob1e_29[placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._f_kob1e_29:focus:before{display:none}._n_kob1e_49{min-height:var(--field-note-height);line-height:var(--field-note-line-height)}._n_kob1e_49[placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._n_kob1e_49:focus:before{display:none}._w_kob1e_62{text-wrap:nowrap;overflow:hidden;overflow-x:scroll}._w_kob1e_62::-webkit-scrollbar{width:0;height:0}._t_kob1e_72{color:var(--field-label-color);padding-bottom:8px}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_oqfdb_1;animation-name:_shake_oqfdb_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_oqfdb_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_oqfdb_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_oqfdb_79 ._sa_oqfdb_89{width:auto;margin:auto 20px}._modal_oqfdb_79 ._ss_oqfdb_94{width:400px}._modal_oqfdb_79 ._sm_oqfdb_98{width:500px}._modal_oqfdb_79 ._sl_oqfdb_102{width:800px}._modal_oqfdb_79 ._sx_oqfdb_106{width:1000px}._modal_oqfdb_79 ._sf_oqfdb_110{width:100%;max-width:1200px;min-width:910px}._o_oqfdb_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._b_oqfdb_28{padding:15px 30px 30px;margin:auto}._w_oqfdb_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_oqfdb_146{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_oqfdb_160{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_oqfdb_160 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_oqfdb_160 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_oqfdb_160 li:last-child{border-bottom:0}._l_oqfdb_160 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_oqfdb_197{padding-right:10px}._x_oqfdb_201{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_oqfdb_201 svg{width:20px}._x_oqfdb_201:hover{opacity:1}._s_oqfdb_89{flex:1;overflow-y:scroll}._c_oqfdb_219{text-align:center;margin:20px}._f_oqfdb_224{display:flex;padding:15px 30px 30px}._f_oqfdb_224 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_oqfdb_224._r__oqfdb_235{flex-direction:row}._f_oqfdb_224._r__oqfdb_235 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_oqfdb_224._r__oqfdb_235 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_oqfdb_224._c__oqfdb_250{flex-direction:column;gap:15px}._f_oqfdb_224._c__oqfdb_250 dt{padding-bottom:8px;margin-left:7px}._g_oqfdb_259{display:flex;gap:10px;overflow:hidden}._c_oqfdb_219{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_oqfdb_219:first-child{margin-left:20px}._c_oqfdb_219:last-child{margin-right:20px}._c_oqfdb_219:hover{opacity:1;background:var(--tinge)}._c_oqfdb_219 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_oqfdb_219 b{text-align:center;display:block;color:var(--color)}._c_oqfdb_219 p{text-align:center;font-size:15px;color:var(--text)}._m_oqfdb_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1wehm_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1wehm_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1wehm_22::-webkit-scrollbar{width:0;height:0}._l_1wehm_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1wehm_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:0 15px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}._l_1wehm_22 li:hover{opacity:1}._l_1wehm_22 li:last-child{border-bottom:0}._i_1wehm_72{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1wehm_81{cursor:pointer}._o_1c9e1_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_1c9e1_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_1c9e1_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_1c9e1_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_1c9e1_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_1c9e1_11 b.__active_1c9e1_41{background:var(--bg-select-active)}._c_1c9e1_11 b:hover{background:var(--bg-select-hover)}._c_1c9e1_11 p{color:var(--color-placeholder);text-align:center;padding:0;cursor:default;pointer-events:none}._c_1c9e1_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_1c9e1_11 i:hover{background:var(--bg-select-hover)}._c_1c9e1_11 i:before{cursor:pointer;display:block}._c_1c9e1_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_1c9e1_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_1c9e1_11 span{padding:2px;text-align:center}._c_1c9e1_11 span p{padding:8px 5px;color:var(--color-placeholder)}._c_1c9e1_11 ._as_1c9e1_94{cursor:ns-resize}._c_1c9e1_11 ._ap_1c9e1_97{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password][show] dd{-webkit-text-security:none}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}[field=color] dd{display:flex;border:0;padding:0;gap:3px}[field=color] dd s{border:1px solid #dde2e4;border-radius:6px;flex:1;cursor:pointer;opacity:.6}[field=color] dd s:hover{opacity:.9}[field=color] dd s[active=true]{opacity:1}
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import K, { useEffect as Ht } from "react";
2
2
  import { createPortal as It } from "react-dom";
3
- import './index.css';const Jt = "0.0.20", Zt = {
3
+ import './index.css';const Jt = "0.0.21", Zt = {
4
4
  version: Jt
5
5
  };
6
6
  var Tt = { exports: {} }, mt = {};
@@ -1439,7 +1439,7 @@ var xt;
1439
1439
  }
1440
1440
  n.Copy = x;
1441
1441
  })(xt || (xt = {}));
1442
- const _r = "_l_11fst_13", sr = "_f_11fst_20", lr = "_n_11fst_49", cr = "_w_11fst_62", ur = "_t_11fst_72", z = {
1442
+ const _r = "_l_kob1e_13", sr = "_f_kob1e_29", lr = "_n_kob1e_49", cr = "_w_kob1e_62", ur = "_t_kob1e_72", z = {
1443
1443
  l: _r,
1444
1444
  f: sr,
1445
1445
  n: lr,
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(X,L){typeof exports=="object"&&typeof module<"u"?L(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],L):(X=typeof globalThis<"u"?globalThis:X||self,L((X.elCRM=X.elCRM||{},X.elCRM.components={}),X.React,X.ReactDOM))})(this,function(X,L,Rt){"use strict";var $t=document.createElement("style");$t.textContent=`@charset "UTF-8";._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 0px 14px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a;--field-placeholder: #84919a}._l_11fst_13{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._f_11fst_20{box-sizing:border-box;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);outline:0;padding:var(--field-padding);min-height:var(--field-height);line-height:var(--field-height)}._f_11fst_20[placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._f_11fst_20[data-field=group]{--field-padding: 0}._f_11fst_20[data-field=group] div{border-bottom:var(--field-border)}._f_11fst_20[data-field=group] div:last-child{border-bottom:0}._f_11fst_20:focus:before{display:none}._n_11fst_49{min-height:var(--field-note-height);line-height:var(--field-note-line-height)}._n_11fst_49[placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._n_11fst_49:focus:before{display:none}._w_11fst_62{text-wrap:nowrap;overflow:hidden;overflow-x:scroll}._w_11fst_62::-webkit-scrollbar{width:0;height:0}._t_11fst_72{color:var(--field-label-color);padding-bottom:8px}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_oqfdb_1;animation-name:_shake_oqfdb_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_oqfdb_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_oqfdb_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_oqfdb_79 ._sa_oqfdb_89{width:auto;margin:auto 20px}._modal_oqfdb_79 ._ss_oqfdb_94{width:400px}._modal_oqfdb_79 ._sm_oqfdb_98{width:500px}._modal_oqfdb_79 ._sl_oqfdb_102{width:800px}._modal_oqfdb_79 ._sx_oqfdb_106{width:1000px}._modal_oqfdb_79 ._sf_oqfdb_110{width:100%;max-width:1200px;min-width:910px}._o_oqfdb_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._b_oqfdb_28{padding:15px 30px 30px;margin:auto}._w_oqfdb_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_oqfdb_146{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_oqfdb_160{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_oqfdb_160 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_oqfdb_160 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_oqfdb_160 li:last-child{border-bottom:0}._l_oqfdb_160 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_oqfdb_197{padding-right:10px}._x_oqfdb_201{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_oqfdb_201 svg{width:20px}._x_oqfdb_201:hover{opacity:1}._s_oqfdb_89{flex:1;overflow-y:scroll}._c_oqfdb_219{text-align:center;margin:20px}._f_oqfdb_224{display:flex;padding:15px 30px 30px}._f_oqfdb_224 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_oqfdb_224._r__oqfdb_235{flex-direction:row}._f_oqfdb_224._r__oqfdb_235 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_oqfdb_224._r__oqfdb_235 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_oqfdb_224._c__oqfdb_250{flex-direction:column;gap:15px}._f_oqfdb_224._c__oqfdb_250 dt{padding-bottom:8px;margin-left:7px}._g_oqfdb_259{display:flex;gap:10px;overflow:hidden}._c_oqfdb_219{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_oqfdb_219:first-child{margin-left:20px}._c_oqfdb_219:last-child{margin-right:20px}._c_oqfdb_219:hover{opacity:1;background:var(--tinge)}._c_oqfdb_219 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_oqfdb_219 b{text-align:center;display:block;color:var(--color)}._c_oqfdb_219 p{text-align:center;font-size:15px;color:var(--text)}._m_oqfdb_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1wehm_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1wehm_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1wehm_22::-webkit-scrollbar{width:0;height:0}._l_1wehm_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1wehm_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:0 15px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}._l_1wehm_22 li:hover{opacity:1}._l_1wehm_22 li:last-child{border-bottom:0}._i_1wehm_72{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1wehm_81{cursor:pointer}._o_1c9e1_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_1c9e1_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_1c9e1_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_1c9e1_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_1c9e1_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_1c9e1_11 b.__active_1c9e1_41{background:var(--bg-select-active)}._c_1c9e1_11 b:hover{background:var(--bg-select-hover)}._c_1c9e1_11 p{color:var(--color-placeholder);text-align:center;padding:0;cursor:default;pointer-events:none}._c_1c9e1_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_1c9e1_11 i:hover{background:var(--bg-select-hover)}._c_1c9e1_11 i:before{cursor:pointer;display:block}._c_1c9e1_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_1c9e1_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_1c9e1_11 span{padding:2px;text-align:center}._c_1c9e1_11 span p{padding:8px 5px;color:var(--color-placeholder)}._c_1c9e1_11 ._as_1c9e1_94{cursor:ns-resize}._c_1c9e1_11 ._ap_1c9e1_97{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password][show] dd{-webkit-text-security:none}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}[field=color] dd{display:flex;border:0;padding:0;gap:3px}[field=color] dd s{border:1px solid #dde2e4;border-radius:6px;flex:1;cursor:pointer;opacity:.6}[field=color] dd s:hover{opacity:.9}[field=color] dd s[active=true]{opacity:1}
2
- /*$vite$:1*/`,document.head.appendChild($t);const Zt={version:"0.0.20"};var Tt={exports:{}},mt={};/**
1
+ (function(X,L){typeof exports=="object"&&typeof module<"u"?L(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],L):(X=typeof globalThis<"u"?globalThis:X||self,L((X.elCRM=X.elCRM||{},X.elCRM.components={}),X.React,X.ReactDOM))})(this,function(X,L,Rt){"use strict";var $t=document.createElement("style");$t.textContent=`@charset "UTF-8";._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 0px 14px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a;--field-placeholder: #84919a}._l_kob1e_13{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._l_kob1e_13[data-field=group]{--field-padding: 0}._l_kob1e_13[data-field=group] div{border-bottom:var(--field-border)}._l_kob1e_13[data-field=group] div:last-child{border-bottom:0}._f_kob1e_29{box-sizing:border-box;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);outline:0;padding:var(--field-padding);min-height:var(--field-height);line-height:var(--field-height)}._f_kob1e_29[placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._f_kob1e_29:focus:before{display:none}._n_kob1e_49{min-height:var(--field-note-height);line-height:var(--field-note-line-height)}._n_kob1e_49[placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._n_kob1e_49:focus:before{display:none}._w_kob1e_62{text-wrap:nowrap;overflow:hidden;overflow-x:scroll}._w_kob1e_62::-webkit-scrollbar{width:0;height:0}._t_kob1e_72{color:var(--field-label-color);padding-bottom:8px}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_oqfdb_1;animation-name:_shake_oqfdb_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_oqfdb_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_oqfdb_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_oqfdb_79 ._sa_oqfdb_89{width:auto;margin:auto 20px}._modal_oqfdb_79 ._ss_oqfdb_94{width:400px}._modal_oqfdb_79 ._sm_oqfdb_98{width:500px}._modal_oqfdb_79 ._sl_oqfdb_102{width:800px}._modal_oqfdb_79 ._sx_oqfdb_106{width:1000px}._modal_oqfdb_79 ._sf_oqfdb_110{width:100%;max-width:1200px;min-width:910px}._o_oqfdb_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._b_oqfdb_28{padding:15px 30px 30px;margin:auto}._w_oqfdb_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_oqfdb_146{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_oqfdb_160{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_oqfdb_160 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_oqfdb_160 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_oqfdb_160 li:last-child{border-bottom:0}._l_oqfdb_160 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_oqfdb_197{padding-right:10px}._x_oqfdb_201{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_oqfdb_201 svg{width:20px}._x_oqfdb_201:hover{opacity:1}._s_oqfdb_89{flex:1;overflow-y:scroll}._c_oqfdb_219{text-align:center;margin:20px}._f_oqfdb_224{display:flex;padding:15px 30px 30px}._f_oqfdb_224 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_oqfdb_224._r__oqfdb_235{flex-direction:row}._f_oqfdb_224._r__oqfdb_235 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_oqfdb_224._r__oqfdb_235 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_oqfdb_224._c__oqfdb_250{flex-direction:column;gap:15px}._f_oqfdb_224._c__oqfdb_250 dt{padding-bottom:8px;margin-left:7px}._g_oqfdb_259{display:flex;gap:10px;overflow:hidden}._c_oqfdb_219{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_oqfdb_219:first-child{margin-left:20px}._c_oqfdb_219:last-child{margin-right:20px}._c_oqfdb_219:hover{opacity:1;background:var(--tinge)}._c_oqfdb_219 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_oqfdb_219 b{text-align:center;display:block;color:var(--color)}._c_oqfdb_219 p{text-align:center;font-size:15px;color:var(--text)}._m_oqfdb_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1wehm_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1wehm_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1wehm_22::-webkit-scrollbar{width:0;height:0}._l_1wehm_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1wehm_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:0 15px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}._l_1wehm_22 li:hover{opacity:1}._l_1wehm_22 li:last-child{border-bottom:0}._i_1wehm_72{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1wehm_81{cursor:pointer}._o_1c9e1_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_1c9e1_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_1c9e1_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_1c9e1_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_1c9e1_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_1c9e1_11 b.__active_1c9e1_41{background:var(--bg-select-active)}._c_1c9e1_11 b:hover{background:var(--bg-select-hover)}._c_1c9e1_11 p{color:var(--color-placeholder);text-align:center;padding:0;cursor:default;pointer-events:none}._c_1c9e1_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_1c9e1_11 i:hover{background:var(--bg-select-hover)}._c_1c9e1_11 i:before{cursor:pointer;display:block}._c_1c9e1_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_1c9e1_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_1c9e1_11 span{padding:2px;text-align:center}._c_1c9e1_11 span p{padding:8px 5px;color:var(--color-placeholder)}._c_1c9e1_11 ._as_1c9e1_94{cursor:ns-resize}._c_1c9e1_11 ._ap_1c9e1_97{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password][show] dd{-webkit-text-security:none}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}[field=color] dd{display:flex;border:0;padding:0;gap:3px}[field=color] dd s{border:1px solid #dde2e4;border-radius:6px;flex:1;cursor:pointer;opacity:.6}[field=color] dd s:hover{opacity:.9}[field=color] dd s[active=true]{opacity:1}
2
+ /*$vite$:1*/`,document.head.appendChild($t);const Zt={version:"0.0.21"};var Tt={exports:{}},mt={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var At;function Vt(){if(At)return mt;At=1;var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,g=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function R(j,l,h){var o,u={},k=null,S=null;h!==void 0&&(k=""+h),l.key!==void 0&&(k=""+l.key),l.ref!==void 0&&(S=l.ref);for(o in l)d.call(l,o)&&!C.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:_,type:j,key:k,ref:S,props:u,_owner:g.current}}return mt.Fragment=c,mt.jsx=R,mt.jsxs=R,mt}var yt={};/**
10
+ */var At;function Vt(){if(At)return mt;At=1;var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,b=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function R(j,l,g){var o,u={},k=null,S=null;g!==void 0&&(k=""+g),l.key!==void 0&&(k=""+l.key),l.ref!==void 0&&(S=l.ref);for(o in l)d.call(l,o)&&!C.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:_,type:j,key:k,ref:S,props:u,_owner:b.current}}return mt.Fragment=c,mt.jsx=R,mt.jsxs=R,mt}var yt={};/**
11
11
  * @license React
12
12
  * react-jsx-runtime.development.js
13
13
  *
@@ -15,20 +15,20 @@
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var qt;function Xt(){return qt||(qt=1,process.env.NODE_ENV!=="production"&&function(){var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function $(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var T=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];M("error",e,r)}}function M(e,t,r){{var a=T.ReactDebugCurrentFrame,p=a.getStackAddendum();p!==""&&(t+="%s",r=r.concat([p]));var y=r.map(function(s){return String(s)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var z=!1,K=!1,B=!1,U=!1,O=!1,P;P=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===C||O||e===g||e===h||e===o||U||e===S||z||K||B||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===u||e.$$typeof===R||e.$$typeof===j||e.$$typeof===l||e.$$typeof===P||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var p=t.displayName||t.name||"";return p!==""?r+"("+p+")":r}function v(e){return e.displayName||"Context"}function b(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case C:return"Profiler";case g:return"StrictMode";case h:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return v(t)+".Consumer";case R:var r=e;return v(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:b(e.type)||"Memo";case k:{var p=e,y=p._payload,s=p._init;try{return b(s(y))}catch{return null}}}return null}var I=Object.assign,Y=0,te,_e,se,ge,he,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(Y===0){te=console.log,_e=console.info,se=console.warn,ge=console.error,he=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ue(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:te}),info:I({},e,{value:_e}),warn:I({},e,{value:se}),error:I({},e,{value:ge}),group:I({},e,{value:he}),groupCollapsed:I({},e,{value:xe}),groupEnd:I({},e,{value:we})})}Y<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=T.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(p){var a=p.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
18
+ */var qt;function Xt(){return qt||(qt=1,process.env.NODE_ENV!=="production"&&function(){var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function $(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var T=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];M("error",e,r)}}function M(e,t,r){{var a=T.ReactDebugCurrentFrame,p=a.getStackAddendum();p!==""&&(t+="%s",r=r.concat([p]));var y=r.map(function(s){return String(s)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var z=!1,K=!1,B=!1,U=!1,O=!1,P;P=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===C||O||e===b||e===g||e===o||U||e===S||z||K||B||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===u||e.$$typeof===R||e.$$typeof===j||e.$$typeof===l||e.$$typeof===P||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var p=t.displayName||t.name||"";return p!==""?r+"("+p+")":r}function v(e){return e.displayName||"Context"}function h(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case C:return"Profiler";case b:return"StrictMode";case g:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return v(t)+".Consumer";case R:var r=e;return v(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:h(e.type)||"Memo";case k:{var p=e,y=p._payload,s=p._init;try{return h(s(y))}catch{return null}}}return null}var I=Object.assign,Y=0,te,_e,se,be,ge,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(Y===0){te=console.log,_e=console.info,se=console.warn,be=console.error,ge=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ue(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:te}),info:I({},e,{value:_e}),warn:I({},e,{value:se}),error:I({},e,{value:be}),group:I({},e,{value:ge}),groupCollapsed:I({},e,{value:xe}),groupEnd:I({},e,{value:we})})}Y<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=T.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(p){var a=p.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
19
19
  `+de+e}}var ue=!1,ne;{var ze=typeof WeakMap=="function"?WeakMap:Map;ne=new ze}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=ce.current,ce.current=null,We();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var i=F.stack.split(`
20
20
  `),D=a.stack.split(`
21
21
  `),x=i.length-1,w=D.length-1;x>=1&&w>=0&&i[x]!==D[w];)w--;for(;x>=1&&w>=0;x--,w--)if(i[x]!==D[w]){if(x!==1||w!==1)do if(x--,w--,w<0||i[x]!==D[w]){var q=`
22
- `+i[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=y,Ue(),Error.prepareStackTrace=p}var V=e?e.displayName||e.name:"",H=V?ae(V):"";return typeof e=="function"&&ne.set(e,H),H}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case h:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case k:{var a=e,p=a._payload,y=a._init;try{return oe(y(p),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=T.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,p){{var y=Function.call.bind(Q);for(var s in e)if(y(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var D=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){i=x}i&&!(i instanceof Error)&&(ie(p),m("%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).",a||"React class",r,s,typeof i),ie(null)),i instanceof Error&&!(i.message in Se)&&(Se[i.message]=!0,ie(p),m("Failed %s type: %s",r,i.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Re(e){if(Ze(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Oe(e)}var Te=T.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,p,y,s){var i={$$typeof:_,type:e,key:t,ref:r,props:s,_owner:y};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function nt(e,t,r,a,p){{var y,s={},i=null,D=null;r!==void 0&&(Re(r),i=""+r),Qe(t)&&(Re(t.key),i=""+t.key),Xe(t)&&(D=t.ref,et(t,p));for(y in t)Q.call(t,y)&&!Ve.hasOwnProperty(y)&&(s[y]=t[y]);if(e&&e.defaultProps){var x=e.defaultProps;for(y in x)s[y]===void 0&&(s[y]=x[y])}if(i||D){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&tt(s,w),D&&rt(s,w)}return at(e,i,D,p,a,Te.current,s)}}var pe=T.ReactCurrentOwner,Ne=T.ReactDebugCurrentFrame;function Z(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Fe(){{if(pe.current){var e=b(pe.current.type);if(e)return`
22
+ `+i[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=y,Ue(),Error.prepareStackTrace=p}var V=e?e.displayName||e.name:"",H=V?ae(V):"";return typeof e=="function"&&ne.set(e,H),H}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case g:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case k:{var a=e,p=a._payload,y=a._init;try{return oe(y(p),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=T.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,p){{var y=Function.call.bind(Q);for(var s in e)if(y(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var D=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){i=x}i&&!(i instanceof Error)&&(ie(p),m("%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).",a||"React class",r,s,typeof i),ie(null)),i instanceof Error&&!(i.message in Se)&&(Se[i.message]=!0,ie(p),m("Failed %s type: %s",r,i.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Re(e){if(Ze(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Oe(e)}var Te=T.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,p,y,s){var i={$$typeof:_,type:e,key:t,ref:r,props:s,_owner:y};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function nt(e,t,r,a,p){{var y,s={},i=null,D=null;r!==void 0&&(Re(r),i=""+r),Qe(t)&&(Re(t.key),i=""+t.key),Xe(t)&&(D=t.ref,et(t,p));for(y in t)Q.call(t,y)&&!Ve.hasOwnProperty(y)&&(s[y]=t[y]);if(e&&e.defaultProps){var x=e.defaultProps;for(y in x)s[y]===void 0&&(s[y]=x[y])}if(i||D){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&tt(s,w),D&&rt(s,w)}return at(e,i,D,p,a,Te.current,s)}}var pe=T.ReactCurrentOwner,Ne=T.ReactDebugCurrentFrame;function Z(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Fe(){{if(pe.current){var e=h(pe.current.type);if(e)return`
23
23
 
24
24
  Check the render method of \``+e+"`."}return""}}function ot(e){return""}var Me={};function it(e){{var t=Fe();if(!t){var r=typeof e=="string"?e:e.displayName||e.name;r&&(t=`
25
25
 
26
- Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+b(e._owner.type)+"."),Z(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),Z(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var p=$(e);if(typeof p=="function"&&p!==e.entries)for(var y=p.call(e),s;!(s=y.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=b(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var p=b(t);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){Z(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),Z(null);break}}e.ref!==null&&(Z(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),Z(null))}}var Ae={};function qe(e,t,r,a,p,y){{var s=W(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=ot();D?i+=D:i+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===_?(x="<"+(b(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,i)}var w=nt(e,t,r,p,y);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var V=0;V<q.length;V++)$e(q[V],e);Object.freeze&&Object.freeze(q)}else m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var H=b(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[H+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";m(`A props object containing a "key" prop is being spread into JSX:
26
+ Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+h(e._owner.type)+"."),Z(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),Z(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var p=$(e);if(typeof p=="function"&&p!==e.entries)for(var y=p.call(e),s;!(s=y.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=h(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var p=h(t);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){Z(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),Z(null);break}}e.ref!==null&&(Z(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),Z(null))}}var Ae={};function qe(e,t,r,a,p,y){{var s=W(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=ot();D?i+=D:i+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===_?(x="<"+(h(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,i)}var w=nt(e,t,r,p,y);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var V=0;V<q.length;V++)$e(q[V],e);Object.freeze&&Object.freeze(q)}else m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var H=h(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[H+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";m(`A props object containing a "key" prop is being spread into JSX:
27
27
  let props = %s;
28
28
  <%s {...props} />
29
29
  React keys must be passed directly to JSX without using spread:
30
30
  let props = %s;
31
- <%s key={someKey} {...props} />`,ve,H,ft,H),Ae[H+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;yt.Fragment=d,yt.jsx=dt,yt.jsxs=ut}()),yt}process.env.NODE_ENV==="production"?Tt.exports=Vt():Tt.exports=Xt();var f=Tt.exports;function Qt({name:n,value:_,title:c,style:d,className:g}){let C={field:"progress"};return d&&(C.style=d),g&&(C.className=g),f.jsxs("dl",{...C,children:[c&&f.jsx("dt",{children:c}),f.jsx("dd",{})]})}let re={};re.KeyDown=n=>{n.key==="Enter"&&n.preventDefault()},re.PasteOne=n=>{n.preventDefault(),navigator.clipboard.readText().then(_=>{_=_.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,_)}).catch(_=>{})},re.Paste=(n,_)=>{_.preventDefault(),navigator.clipboard.readText().then(c=>{if(n){let d=_.target.textContent.length;if(d>=n)return;n-=d,c=c.slice(0,n)}window.document.execCommand("insertText",!1,c.replace(/(\r\n|\n|\r)/gm," "))}).catch(c=>{})},re.Focus=n=>{n.target.textContent.length===0&&(n.target.innerHTML="<br>")},re.Blur=n=>{n.target.scrollLeft=0,n.target.querySelector("br")!==null&&n.target.querySelector("br").remove()},re.ContentEditable="plaintext-only";var Dt={exports:{}},vt={};/**
31
+ <%s key={someKey} {...props} />`,ve,H,ft,H),Ae[H+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;yt.Fragment=d,yt.jsx=dt,yt.jsxs=ut}()),yt}process.env.NODE_ENV==="production"?Tt.exports=Vt():Tt.exports=Xt();var f=Tt.exports;function Qt({name:n,value:_,title:c,style:d,className:b}){let C={field:"progress"};return d&&(C.style=d),b&&(C.className=b),f.jsxs("dl",{...C,children:[c&&f.jsx("dt",{children:c}),f.jsx("dd",{})]})}let re={};re.KeyDown=n=>{n.key==="Enter"&&n.preventDefault()},re.PasteOne=n=>{n.preventDefault(),navigator.clipboard.readText().then(_=>{_=_.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,_)}).catch(_=>{})},re.Paste=(n,_)=>{_.preventDefault(),navigator.clipboard.readText().then(c=>{if(n){let d=_.target.textContent.length;if(d>=n)return;n-=d,c=c.slice(0,n)}window.document.execCommand("insertText",!1,c.replace(/(\r\n|\n|\r)/gm," "))}).catch(c=>{})},re.Focus=n=>{n.target.textContent.length===0&&(n.target.innerHTML="<br>")},re.Blur=n=>{n.target.scrollLeft=0,n.target.querySelector("br")!==null&&n.target.querySelector("br").remove()},re.ContentEditable="plaintext-only";var Dt={exports:{}},vt={};/**
32
32
  * @license React
33
33
  * react-jsx-runtime.production.min.js
34
34
  *
@@ -36,7 +36,7 @@ React keys must be passed directly to JSX without using spread:
36
36
  *
37
37
  * This source code is licensed under the MIT license found in the
38
38
  * LICENSE file in the root directory of this source tree.
39
- */var Bt;function er(){if(Bt)return vt;Bt=1;var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,g=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function R(j,l,h){var o,u={},k=null,S=null;h!==void 0&&(k=""+h),l.key!==void 0&&(k=""+l.key),l.ref!==void 0&&(S=l.ref);for(o in l)d.call(l,o)&&!C.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:_,type:j,key:k,ref:S,props:u,_owner:g.current}}return vt.Fragment=c,vt.jsx=R,vt.jsxs=R,vt}var kt={};/**
39
+ */var Bt;function er(){if(Bt)return vt;Bt=1;var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,b=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function R(j,l,g){var o,u={},k=null,S=null;g!==void 0&&(k=""+g),l.key!==void 0&&(k=""+l.key),l.ref!==void 0&&(S=l.ref);for(o in l)d.call(l,o)&&!C.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:_,type:j,key:k,ref:S,props:u,_owner:b.current}}return vt.Fragment=c,vt.jsx=R,vt.jsxs=R,vt}var kt={};/**
40
40
  * @license React
41
41
  * react-jsx-runtime.development.js
42
42
  *
@@ -44,20 +44,20 @@ React keys must be passed directly to JSX without using spread:
44
44
  *
45
45
  * This source code is licensed under the MIT license found in the
46
46
  * LICENSE file in the root directory of this source tree.
47
- */var Lt;function tr(){return Lt||(Lt=1,process.env.NODE_ENV!=="production"&&function(){var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function $(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var T=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];M("error",e,r)}}function M(e,t,r){{var a=T.ReactDebugCurrentFrame,p=a.getStackAddendum();p!==""&&(t+="%s",r=r.concat([p]));var y=r.map(function(s){return String(s)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var z=!1,K=!1,B=!1,U=!1,O=!1,P;P=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===C||O||e===g||e===h||e===o||U||e===S||z||K||B||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===u||e.$$typeof===R||e.$$typeof===j||e.$$typeof===l||e.$$typeof===P||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var p=t.displayName||t.name||"";return p!==""?r+"("+p+")":r}function v(e){return e.displayName||"Context"}function b(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case C:return"Profiler";case g:return"StrictMode";case h:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return v(t)+".Consumer";case R:var r=e;return v(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:b(e.type)||"Memo";case k:{var p=e,y=p._payload,s=p._init;try{return b(s(y))}catch{return null}}}return null}var I=Object.assign,Y=0,te,_e,se,ge,he,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(Y===0){te=console.log,_e=console.info,se=console.warn,ge=console.error,he=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ue(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:te}),info:I({},e,{value:_e}),warn:I({},e,{value:se}),error:I({},e,{value:ge}),group:I({},e,{value:he}),groupCollapsed:I({},e,{value:xe}),groupEnd:I({},e,{value:we})})}Y<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=T.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(p){var a=p.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
47
+ */var Lt;function tr(){return Lt||(Lt=1,process.env.NODE_ENV!=="production"&&function(){var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function $(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var T=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];M("error",e,r)}}function M(e,t,r){{var a=T.ReactDebugCurrentFrame,p=a.getStackAddendum();p!==""&&(t+="%s",r=r.concat([p]));var y=r.map(function(s){return String(s)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var z=!1,K=!1,B=!1,U=!1,O=!1,P;P=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===C||O||e===b||e===g||e===o||U||e===S||z||K||B||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===u||e.$$typeof===R||e.$$typeof===j||e.$$typeof===l||e.$$typeof===P||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var p=t.displayName||t.name||"";return p!==""?r+"("+p+")":r}function v(e){return e.displayName||"Context"}function h(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case C:return"Profiler";case b:return"StrictMode";case g:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return v(t)+".Consumer";case R:var r=e;return v(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:h(e.type)||"Memo";case k:{var p=e,y=p._payload,s=p._init;try{return h(s(y))}catch{return null}}}return null}var I=Object.assign,Y=0,te,_e,se,be,ge,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(Y===0){te=console.log,_e=console.info,se=console.warn,be=console.error,ge=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ue(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:te}),info:I({},e,{value:_e}),warn:I({},e,{value:se}),error:I({},e,{value:be}),group:I({},e,{value:ge}),groupCollapsed:I({},e,{value:xe}),groupEnd:I({},e,{value:we})})}Y<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=T.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(p){var a=p.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
48
48
  `+de+e}}var ue=!1,ne;{var ze=typeof WeakMap=="function"?WeakMap:Map;ne=new ze}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=ce.current,ce.current=null,We();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var i=F.stack.split(`
49
49
  `),D=a.stack.split(`
50
50
  `),x=i.length-1,w=D.length-1;x>=1&&w>=0&&i[x]!==D[w];)w--;for(;x>=1&&w>=0;x--,w--)if(i[x]!==D[w]){if(x!==1||w!==1)do if(x--,w--,w<0||i[x]!==D[w]){var q=`
51
- `+i[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=y,Ue(),Error.prepareStackTrace=p}var V=e?e.displayName||e.name:"",H=V?ae(V):"";return typeof e=="function"&&ne.set(e,H),H}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case h:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case k:{var a=e,p=a._payload,y=a._init;try{return oe(y(p),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=T.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,p){{var y=Function.call.bind(Q);for(var s in e)if(y(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var D=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){i=x}i&&!(i instanceof Error)&&(ie(p),m("%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).",a||"React class",r,s,typeof i),ie(null)),i instanceof Error&&!(i.message in Se)&&(Se[i.message]=!0,ie(p),m("Failed %s type: %s",r,i.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Re(e){if(Ze(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Oe(e)}var Te=T.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,p,y,s){var i={$$typeof:_,type:e,key:t,ref:r,props:s,_owner:y};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function nt(e,t,r,a,p){{var y,s={},i=null,D=null;r!==void 0&&(Re(r),i=""+r),Qe(t)&&(Re(t.key),i=""+t.key),Xe(t)&&(D=t.ref,et(t));for(y in t)Q.call(t,y)&&!Ve.hasOwnProperty(y)&&(s[y]=t[y]);if(e&&e.defaultProps){var x=e.defaultProps;for(y in x)s[y]===void 0&&(s[y]=x[y])}if(i||D){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&tt(s,w),D&&rt(s,w)}return at(e,i,D,p,a,Te.current,s)}}var pe=T.ReactCurrentOwner,Ne=T.ReactDebugCurrentFrame;function Z(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Fe(){{if(pe.current){var e=b(pe.current.type);if(e)return`
51
+ `+i[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=y,Ue(),Error.prepareStackTrace=p}var V=e?e.displayName||e.name:"",H=V?ae(V):"";return typeof e=="function"&&ne.set(e,H),H}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case g:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case k:{var a=e,p=a._payload,y=a._init;try{return oe(y(p),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=T.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,p){{var y=Function.call.bind(Q);for(var s in e)if(y(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var D=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){i=x}i&&!(i instanceof Error)&&(ie(p),m("%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).",a||"React class",r,s,typeof i),ie(null)),i instanceof Error&&!(i.message in Se)&&(Se[i.message]=!0,ie(p),m("Failed %s type: %s",r,i.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Re(e){if(Ze(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Oe(e)}var Te=T.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,p,y,s){var i={$$typeof:_,type:e,key:t,ref:r,props:s,_owner:y};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function nt(e,t,r,a,p){{var y,s={},i=null,D=null;r!==void 0&&(Re(r),i=""+r),Qe(t)&&(Re(t.key),i=""+t.key),Xe(t)&&(D=t.ref,et(t));for(y in t)Q.call(t,y)&&!Ve.hasOwnProperty(y)&&(s[y]=t[y]);if(e&&e.defaultProps){var x=e.defaultProps;for(y in x)s[y]===void 0&&(s[y]=x[y])}if(i||D){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&tt(s,w),D&&rt(s,w)}return at(e,i,D,p,a,Te.current,s)}}var pe=T.ReactCurrentOwner,Ne=T.ReactDebugCurrentFrame;function Z(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Fe(){{if(pe.current){var e=h(pe.current.type);if(e)return`
52
52
 
53
53
  Check the render method of \``+e+"`."}return""}}function ot(e){return""}var Me={};function it(e){{var t=Fe();if(!t){var r=typeof e=="string"?e:e.displayName||e.name;r&&(t=`
54
54
 
55
- Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+b(e._owner.type)+"."),Z(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),Z(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var p=$(e);if(typeof p=="function"&&p!==e.entries)for(var y=p.call(e),s;!(s=y.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=b(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var p=b(t);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){Z(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),Z(null);break}}e.ref!==null&&(Z(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),Z(null))}}var Ae={};function qe(e,t,r,a,p,y){{var s=W(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=ot();D?i+=D:i+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===_?(x="<"+(b(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,i)}var w=nt(e,t,r,p,y);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var V=0;V<q.length;V++)$e(q[V],e);Object.freeze&&Object.freeze(q)}else m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var H=b(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[H+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";m(`A props object containing a "key" prop is being spread into JSX:
55
+ Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+h(e._owner.type)+"."),Z(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),Z(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var p=$(e);if(typeof p=="function"&&p!==e.entries)for(var y=p.call(e),s;!(s=y.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=h(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var p=h(t);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){Z(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),Z(null);break}}e.ref!==null&&(Z(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),Z(null))}}var Ae={};function qe(e,t,r,a,p,y){{var s=W(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=ot();D?i+=D:i+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===_?(x="<"+(h(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,i)}var w=nt(e,t,r,p,y);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var V=0;V<q.length;V++)$e(q[V],e);Object.freeze&&Object.freeze(q)}else m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var H=h(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[H+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";m(`A props object containing a "key" prop is being spread into JSX:
56
56
  let props = %s;
57
57
  <%s {...props} />
58
58
  React keys must be passed directly to JSX without using spread:
59
59
  let props = %s;
60
- <%s key={someKey} {...props} />`,ve,H,ft,H),Ae[H+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;kt.Fragment=d,kt.jsx=dt,kt.jsxs=ut}()),kt}process.env.NODE_ENV==="production"?Dt.exports=er():Dt.exports=tr();var ee=Dt.exports;const rr="_notice_13j98_2",ar="_error_13j98_11",nr="_success_13j98_14",or="_remark_13j98_17",ir="_copy_13j98_20",Wt={notice:rr,error:ar,success:nr,remark:or,copy:ir,"show-notice":"_show-notice_13j98_1","hide-notice":"_hide-notice_13j98_1"};let Be={};function gt({data:n}){let[_,c]=L.useState("show");L.useEffect(()=>{n.hide&&(setTimeout(function(){c("hide")},1800),setTimeout(function(){Be.del(n.key)},2500))},[n.key]);let d,g;switch(n.type){case"error":d=ee.jsx(Le.error,{}),g="Ошибка:";break;case"success":d=ee.jsx(Le.success,{}),g="Информация:";break;case"copy":d=ee.jsx(Le.success,{}),g="Копирование:";break;case"remark":d=ee.jsx(Le.success,{}),g="Подсказка:";break;default:d=ee.jsx(Le.success,{}),g="Предупреждение:";break}return ee.jsxs("li",{className:Wt[n.type],"data-status":_,children:[d,ee.jsx("b",{children:g}),ee.jsx("p",{children:n.text})]})}function _r({data:n}){let[_,c]=L.useState("show");return L.useEffect(()=>{n.hide&&(setTimeout(function(){c("hide")},1800),setTimeout(function(){Be.del(n.key)},2500))},[n.key]),ee.jsx("li",{className:"item","data-status":_,children:n.text})}const Le={};Le.error=()=>ee.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[ee.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),ee.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),Le.success=()=>ee.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[ee.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),ee.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});var xt;(n=>{function _(){let[l,h]=L.useState([]);return Be.set=o=>{h([...l,o])},Be.del=o=>{h(l.filter(u=>u.key!==o))},l.length===0?"":ee.jsx("ul",{className:Wt.notice,children:l.map(o=>o.item)})}n.Init=_;function c(l,h=!0){let o=Date.now(),u={key:o,text:l,hide:h,type:"error"};Be.set({item:ee.jsx(gt,{data:u},o),key:o})}n.Error=c;function d(l,h=!0){let o=Date.now(),u={key:o,text:l,hide:h,type:"success"};Be.set({item:ee.jsx(gt,{data:u},o),key:o})}n.Success=d;function g(l,h=!0){let o=Date.now(),u={key:o,hide:h,text:l};Be.set({item:ee.jsx(_r,{data:u},o),key:o})}n.Custom=g;function C(l){let h=Date.now(),o={key:h,hide:!0,...l};Be.set({item:ee.jsx(gt,{data:o},h),key:h})}n.Send=C;function R(l,h=!0){let o=Date.now(),u={key:o,text:l,hide:h,type:"remark"};Be.set({item:ee.jsx(gt,{data:u},o),key:o})}n.Remark=R;function j(l,h=!0){let o=Date.now(),u={key:o,text:l,hide:h,type:"copy"};Be.set({item:ee.jsx(gt,{data:u},o),key:o})}n.Copy=j})(xt||(xt={}));const G={l:"_l_11fst_13",f:"_f_11fst_20",n:"_n_11fst_49",w:"_w_11fst_62",t:"_t_11fst_72"};function lr({id:n,value:_,onValue:c,name:d,placeholder:g="",title:C="",error:R="",hide:j=!1,edit:l=!0,active:h=!0,after:o="",before:u="",show:k=!0,maxLength:S,onSave:N,className:A="",isCopy:$=!0,isReload:T=!1}){let m=!!(j&&(_===""||_===void 0)),M=O=>{c&&c({value:O.target.textContent.trim(),name:d,reload:T})},z=O=>{S&&O.target.textContent.trim().length>=S&&O.key!=="Backspace"&&O.preventDefault(),O.key==="Enter"&&O.preventDefault()},K=O=>{O.preventDefault(),navigator.clipboard.readText().then(P=>{if(S){let W=O.target.textContent.length;if(W>=S)return;S-=W,P=P.slice(0,S)}window.document.execCommand("insertText",!1,P.replace(/(\r\n|\n|\r)/gm," "))}).catch(P=>{})};if(!(l&&h)&&!k||!(l&&h)&&m)return"";const B={};g&&(B.placeholder=g),l&&h&&(B.edit="");const U=O=>{re.Blur(O),N==null||N({value:O.target.textContent.trim(),name:d})};return f.jsxs("dl",{"data-field":"input",className:[G.l,A].filter(O=>O!==void 0).join(" "),children:[C?f.jsx("dt",{className:G.t,children:C}):"",u,f.jsx("dd",{className:[G.f,G.w].join(" "),onPaste:K,onInput:M,onBlur:U,onKeyDown:z,spellCheck:"true",contentEditable:l&&h?re.ContentEditable:"false",suppressContentEditableWarning:!0,...B,children:_}),o,R?f.jsx("em",{children:R}):""]})}var Pt={exports:{}},ht={};/**
60
+ <%s key={someKey} {...props} />`,ve,H,ft,H),Ae[H+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;kt.Fragment=d,kt.jsx=dt,kt.jsxs=ut}()),kt}process.env.NODE_ENV==="production"?Dt.exports=er():Dt.exports=tr();var ee=Dt.exports;const rr="_notice_13j98_2",ar="_error_13j98_11",nr="_success_13j98_14",or="_remark_13j98_17",ir="_copy_13j98_20",Wt={notice:rr,error:ar,success:nr,remark:or,copy:ir,"show-notice":"_show-notice_13j98_1","hide-notice":"_hide-notice_13j98_1"};let Be={};function bt({data:n}){let[_,c]=L.useState("show");L.useEffect(()=>{n.hide&&(setTimeout(function(){c("hide")},1800),setTimeout(function(){Be.del(n.key)},2500))},[n.key]);let d,b;switch(n.type){case"error":d=ee.jsx(Le.error,{}),b="Ошибка:";break;case"success":d=ee.jsx(Le.success,{}),b="Информация:";break;case"copy":d=ee.jsx(Le.success,{}),b="Копирование:";break;case"remark":d=ee.jsx(Le.success,{}),b="Подсказка:";break;default:d=ee.jsx(Le.success,{}),b="Предупреждение:";break}return ee.jsxs("li",{className:Wt[n.type],"data-status":_,children:[d,ee.jsx("b",{children:b}),ee.jsx("p",{children:n.text})]})}function _r({data:n}){let[_,c]=L.useState("show");return L.useEffect(()=>{n.hide&&(setTimeout(function(){c("hide")},1800),setTimeout(function(){Be.del(n.key)},2500))},[n.key]),ee.jsx("li",{className:"item","data-status":_,children:n.text})}const Le={};Le.error=()=>ee.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[ee.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),ee.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),Le.success=()=>ee.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[ee.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),ee.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});var xt;(n=>{function _(){let[l,g]=L.useState([]);return Be.set=o=>{g([...l,o])},Be.del=o=>{g(l.filter(u=>u.key!==o))},l.length===0?"":ee.jsx("ul",{className:Wt.notice,children:l.map(o=>o.item)})}n.Init=_;function c(l,g=!0){let o=Date.now(),u={key:o,text:l,hide:g,type:"error"};Be.set({item:ee.jsx(bt,{data:u},o),key:o})}n.Error=c;function d(l,g=!0){let o=Date.now(),u={key:o,text:l,hide:g,type:"success"};Be.set({item:ee.jsx(bt,{data:u},o),key:o})}n.Success=d;function b(l,g=!0){let o=Date.now(),u={key:o,hide:g,text:l};Be.set({item:ee.jsx(_r,{data:u},o),key:o})}n.Custom=b;function C(l){let g=Date.now(),o={key:g,hide:!0,...l};Be.set({item:ee.jsx(bt,{data:o},g),key:g})}n.Send=C;function R(l,g=!0){let o=Date.now(),u={key:o,text:l,hide:g,type:"remark"};Be.set({item:ee.jsx(bt,{data:u},o),key:o})}n.Remark=R;function j(l,g=!0){let o=Date.now(),u={key:o,text:l,hide:g,type:"copy"};Be.set({item:ee.jsx(bt,{data:u},o),key:o})}n.Copy=j})(xt||(xt={}));const G={l:"_l_kob1e_13",f:"_f_kob1e_29",n:"_n_kob1e_49",w:"_w_kob1e_62",t:"_t_kob1e_72"};function lr({id:n,value:_,onValue:c,name:d,placeholder:b="",title:C="",error:R="",hide:j=!1,edit:l=!0,active:g=!0,after:o="",before:u="",show:k=!0,maxLength:S,onSave:N,className:A="",isCopy:$=!0,isReload:T=!1}){let m=!!(j&&(_===""||_===void 0)),M=O=>{c&&c({value:O.target.textContent.trim(),name:d,reload:T})},z=O=>{S&&O.target.textContent.trim().length>=S&&O.key!=="Backspace"&&O.preventDefault(),O.key==="Enter"&&O.preventDefault()},K=O=>{O.preventDefault(),navigator.clipboard.readText().then(P=>{if(S){let W=O.target.textContent.length;if(W>=S)return;S-=W,P=P.slice(0,S)}window.document.execCommand("insertText",!1,P.replace(/(\r\n|\n|\r)/gm," "))}).catch(P=>{})};if(!(l&&g)&&!k||!(l&&g)&&m)return"";const B={};b&&(B.placeholder=b),l&&g&&(B.edit="");const U=O=>{re.Blur(O),N==null||N({value:O.target.textContent.trim(),name:d})};return f.jsxs("dl",{"data-field":"input",className:[G.l,A].filter(O=>O!==void 0).join(" "),children:[C?f.jsx("dt",{className:G.t,children:C}):"",u,f.jsx("dd",{className:[G.f,G.w].join(" "),onPaste:K,onInput:M,onBlur:U,onKeyDown:z,spellCheck:"true",contentEditable:l&&g?re.ContentEditable:"false",suppressContentEditableWarning:!0,...B,children:_}),o,R?f.jsx("em",{children:R}):""]})}var Pt={exports:{}},gt={};/**
61
61
  * @license React
62
62
  * react-jsx-runtime.production.min.js
63
63
  *
@@ -65,7 +65,7 @@ React keys must be passed directly to JSX without using spread:
65
65
  *
66
66
  * This source code is licensed under the MIT license found in the
67
67
  * LICENSE file in the root directory of this source tree.
68
- */var Ut;function sr(){if(Ut)return ht;Ut=1;var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,g=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function R(j,l,h){var o,u={},k=null,S=null;h!==void 0&&(k=""+h),l.key!==void 0&&(k=""+l.key),l.ref!==void 0&&(S=l.ref);for(o in l)d.call(l,o)&&!C.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:_,type:j,key:k,ref:S,props:u,_owner:g.current}}return ht.Fragment=c,ht.jsx=R,ht.jsxs=R,ht}var wt={};/**
68
+ */var Ut;function sr(){if(Ut)return gt;Ut=1;var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,b=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function R(j,l,g){var o,u={},k=null,S=null;g!==void 0&&(k=""+g),l.key!==void 0&&(k=""+l.key),l.ref!==void 0&&(S=l.ref);for(o in l)d.call(l,o)&&!C.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:_,type:j,key:k,ref:S,props:u,_owner:b.current}}return gt.Fragment=c,gt.jsx=R,gt.jsxs=R,gt}var wt={};/**
69
69
  * @license React
70
70
  * react-jsx-runtime.development.js
71
71
  *
@@ -73,20 +73,20 @@ React keys must be passed directly to JSX without using spread:
73
73
  *
74
74
  * This source code is licensed under the MIT license found in the
75
75
  * LICENSE file in the root directory of this source tree.
76
- */var zt;function cr(){return zt||(zt=1,process.env.NODE_ENV!=="production"&&function(){var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function $(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var T=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];M("error",e,r)}}function M(e,t,r){{var a=T.ReactDebugCurrentFrame,p=a.getStackAddendum();p!==""&&(t+="%s",r=r.concat([p]));var y=r.map(function(s){return String(s)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var z=!1,K=!1,B=!1,U=!1,O=!1,P;P=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===C||O||e===g||e===h||e===o||U||e===S||z||K||B||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===u||e.$$typeof===R||e.$$typeof===j||e.$$typeof===l||e.$$typeof===P||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var p=t.displayName||t.name||"";return p!==""?r+"("+p+")":r}function v(e){return e.displayName||"Context"}function b(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case C:return"Profiler";case g:return"StrictMode";case h:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return v(t)+".Consumer";case R:var r=e;return v(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:b(e.type)||"Memo";case k:{var p=e,y=p._payload,s=p._init;try{return b(s(y))}catch{return null}}}return null}var I=Object.assign,Y=0,te,_e,se,ge,he,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(Y===0){te=console.log,_e=console.info,se=console.warn,ge=console.error,he=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ue(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:te}),info:I({},e,{value:_e}),warn:I({},e,{value:se}),error:I({},e,{value:ge}),group:I({},e,{value:he}),groupCollapsed:I({},e,{value:xe}),groupEnd:I({},e,{value:we})})}Y<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=T.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(p){var a=p.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
76
+ */var zt;function cr(){return zt||(zt=1,process.env.NODE_ENV!=="production"&&function(){var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function $(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var T=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];M("error",e,r)}}function M(e,t,r){{var a=T.ReactDebugCurrentFrame,p=a.getStackAddendum();p!==""&&(t+="%s",r=r.concat([p]));var y=r.map(function(s){return String(s)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var z=!1,K=!1,B=!1,U=!1,O=!1,P;P=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===C||O||e===b||e===g||e===o||U||e===S||z||K||B||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===u||e.$$typeof===R||e.$$typeof===j||e.$$typeof===l||e.$$typeof===P||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var p=t.displayName||t.name||"";return p!==""?r+"("+p+")":r}function v(e){return e.displayName||"Context"}function h(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case C:return"Profiler";case b:return"StrictMode";case g:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return v(t)+".Consumer";case R:var r=e;return v(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:h(e.type)||"Memo";case k:{var p=e,y=p._payload,s=p._init;try{return h(s(y))}catch{return null}}}return null}var I=Object.assign,Y=0,te,_e,se,be,ge,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(Y===0){te=console.log,_e=console.info,se=console.warn,be=console.error,ge=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ue(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:te}),info:I({},e,{value:_e}),warn:I({},e,{value:se}),error:I({},e,{value:be}),group:I({},e,{value:ge}),groupCollapsed:I({},e,{value:xe}),groupEnd:I({},e,{value:we})})}Y<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=T.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(p){var a=p.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
77
77
  `+de+e}}var ue=!1,ne;{var ze=typeof WeakMap=="function"?WeakMap:Map;ne=new ze}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=ce.current,ce.current=null,We();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var i=F.stack.split(`
78
78
  `),D=a.stack.split(`
79
79
  `),x=i.length-1,w=D.length-1;x>=1&&w>=0&&i[x]!==D[w];)w--;for(;x>=1&&w>=0;x--,w--)if(i[x]!==D[w]){if(x!==1||w!==1)do if(x--,w--,w<0||i[x]!==D[w]){var q=`
80
- `+i[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=y,Ue(),Error.prepareStackTrace=p}var V=e?e.displayName||e.name:"",H=V?ae(V):"";return typeof e=="function"&&ne.set(e,H),H}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case h:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case k:{var a=e,p=a._payload,y=a._init;try{return oe(y(p),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=T.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,p){{var y=Function.call.bind(Q);for(var s in e)if(y(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var D=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){i=x}i&&!(i instanceof Error)&&(ie(p),m("%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).",a||"React class",r,s,typeof i),ie(null)),i instanceof Error&&!(i.message in Se)&&(Se[i.message]=!0,ie(p),m("Failed %s type: %s",r,i.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Re(e){if(Ze(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Oe(e)}var Te=T.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,p,y,s){var i={$$typeof:_,type:e,key:t,ref:r,props:s,_owner:y};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function nt(e,t,r,a,p){{var y,s={},i=null,D=null;r!==void 0&&(Re(r),i=""+r),Qe(t)&&(Re(t.key),i=""+t.key),Xe(t)&&(D=t.ref,et(t));for(y in t)Q.call(t,y)&&!Ve.hasOwnProperty(y)&&(s[y]=t[y]);if(e&&e.defaultProps){var x=e.defaultProps;for(y in x)s[y]===void 0&&(s[y]=x[y])}if(i||D){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&tt(s,w),D&&rt(s,w)}return at(e,i,D,p,a,Te.current,s)}}var pe=T.ReactCurrentOwner,Ne=T.ReactDebugCurrentFrame;function Z(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Fe(){{if(pe.current){var e=b(pe.current.type);if(e)return`
80
+ `+i[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=y,Ue(),Error.prepareStackTrace=p}var V=e?e.displayName||e.name:"",H=V?ae(V):"";return typeof e=="function"&&ne.set(e,H),H}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case g:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case k:{var a=e,p=a._payload,y=a._init;try{return oe(y(p),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=T.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,p){{var y=Function.call.bind(Q);for(var s in e)if(y(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var D=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){i=x}i&&!(i instanceof Error)&&(ie(p),m("%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).",a||"React class",r,s,typeof i),ie(null)),i instanceof Error&&!(i.message in Se)&&(Se[i.message]=!0,ie(p),m("Failed %s type: %s",r,i.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Re(e){if(Ze(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Oe(e)}var Te=T.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,p,y,s){var i={$$typeof:_,type:e,key:t,ref:r,props:s,_owner:y};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function nt(e,t,r,a,p){{var y,s={},i=null,D=null;r!==void 0&&(Re(r),i=""+r),Qe(t)&&(Re(t.key),i=""+t.key),Xe(t)&&(D=t.ref,et(t));for(y in t)Q.call(t,y)&&!Ve.hasOwnProperty(y)&&(s[y]=t[y]);if(e&&e.defaultProps){var x=e.defaultProps;for(y in x)s[y]===void 0&&(s[y]=x[y])}if(i||D){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&tt(s,w),D&&rt(s,w)}return at(e,i,D,p,a,Te.current,s)}}var pe=T.ReactCurrentOwner,Ne=T.ReactDebugCurrentFrame;function Z(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Fe(){{if(pe.current){var e=h(pe.current.type);if(e)return`
81
81
 
82
82
  Check the render method of \``+e+"`."}return""}}function ot(e){return""}var Me={};function it(e){{var t=Fe();if(!t){var r=typeof e=="string"?e:e.displayName||e.name;r&&(t=`
83
83
 
84
- Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+b(e._owner.type)+"."),Z(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),Z(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var p=$(e);if(typeof p=="function"&&p!==e.entries)for(var y=p.call(e),s;!(s=y.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=b(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var p=b(t);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){Z(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),Z(null);break}}e.ref!==null&&(Z(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),Z(null))}}var Ae={};function qe(e,t,r,a,p,y){{var s=W(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=ot();D?i+=D:i+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===_?(x="<"+(b(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,i)}var w=nt(e,t,r,p,y);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var V=0;V<q.length;V++)$e(q[V],e);Object.freeze&&Object.freeze(q)}else m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var H=b(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[H+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";m(`A props object containing a "key" prop is being spread into JSX:
84
+ Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+h(e._owner.type)+"."),Z(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),Z(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var p=$(e);if(typeof p=="function"&&p!==e.entries)for(var y=p.call(e),s;!(s=y.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=h(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var p=h(t);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){Z(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),Z(null);break}}e.ref!==null&&(Z(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),Z(null))}}var Ae={};function qe(e,t,r,a,p,y){{var s=W(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=ot();D?i+=D:i+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===_?(x="<"+(h(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,i)}var w=nt(e,t,r,p,y);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var V=0;V<q.length;V++)$e(q[V],e);Object.freeze&&Object.freeze(q)}else m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var H=h(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[H+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";m(`A props object containing a "key" prop is being spread into JSX:
85
85
  let props = %s;
86
86
  <%s {...props} />
87
87
  React keys must be passed directly to JSX without using spread:
88
88
  let props = %s;
89
- <%s key={someKey} {...props} />`,ve,H,ft,H),Ae[H+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;wt.Fragment=d,wt.jsx=dt,wt.jsxs=ut}()),wt}process.env.NODE_ENV==="production"?Pt.exports=sr():Pt.exports=cr();var J=Pt.exports;const dr="_shake_oqfdb_1",ur="_modal_oqfdb_79",fr="_sa_oqfdb_89",pr="_ss_oqfdb_94",mr="_sm_oqfdb_98",yr="_sl_oqfdb_102",vr="_sx_oqfdb_106",gr="_sf_oqfdb_110",hr="_o_oqfdb_116",br="_b_oqfdb_28",kr="_w_oqfdb_15",xr="_h_oqfdb_146",wr="_l_oqfdb_160",jr="_t_oqfdb_197",Cr="_x_oqfdb_201",Sr="_s_oqfdb_89",Er="_c_oqfdb_219",Or="_f_oqfdb_224",Rr="_r__oqfdb_235",Tr="_c__oqfdb_250",Dr="_g_oqfdb_259",Pr="_m_oqfdb_79",le={shake:dr,modal:ur,sa:fr,ss:pr,sm:mr,sl:yr,sx:vr,sf:gr,o:hr,b:br,w:kr,h:xr,l:wr,t:jr,x:Cr,s:Sr,c:Er,f:Or,r_:Rr,c_:Tr,g:Dr,m:Pr};function Nr({children:n,className:_}){return J.jsx("div",{className:[le.l,_].filter(c=>c!==void 0).join(" "),children:J.jsx("ul",{children:n})})}function Fr({children:n,className:_}){return J.jsx("div",{className:[le.s,_].filter(c=>c!==void 0).join(" "),children:n})}function Mr({children:n,direction:_="column",className:c}){return J.jsx("ul",{className:[le.f,le[_==="row"?"r_":"c_"],c].filter(d=>d!==void 0).join(" "),children:n})}function Ir({children:n,className:_}){return J.jsx("div",{className:[le.c,_].filter(c=>c!==void 0).join(" "),children:n})}function $r({children:n,className:_}){return J.jsx("div",{className:[le.g,_].filter(c=>c!==void 0).join(" "),children:n})}function Ar(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}function Kt(n){return Ar().IMPORT_MODULES}var Nt={exports:{}},bt={};/**
89
+ <%s key={someKey} {...props} />`,ve,H,ft,H),Ae[H+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;wt.Fragment=d,wt.jsx=dt,wt.jsxs=ut}()),wt}process.env.NODE_ENV==="production"?Pt.exports=sr():Pt.exports=cr();var J=Pt.exports;const dr="_shake_oqfdb_1",ur="_modal_oqfdb_79",fr="_sa_oqfdb_89",pr="_ss_oqfdb_94",mr="_sm_oqfdb_98",yr="_sl_oqfdb_102",vr="_sx_oqfdb_106",br="_sf_oqfdb_110",gr="_o_oqfdb_116",hr="_b_oqfdb_28",kr="_w_oqfdb_15",xr="_h_oqfdb_146",wr="_l_oqfdb_160",jr="_t_oqfdb_197",Cr="_x_oqfdb_201",Sr="_s_oqfdb_89",Er="_c_oqfdb_219",Or="_f_oqfdb_224",Rr="_r__oqfdb_235",Tr="_c__oqfdb_250",Dr="_g_oqfdb_259",Pr="_m_oqfdb_79",le={shake:dr,modal:ur,sa:fr,ss:pr,sm:mr,sl:yr,sx:vr,sf:br,o:gr,b:hr,w:kr,h:xr,l:wr,t:jr,x:Cr,s:Sr,c:Er,f:Or,r_:Rr,c_:Tr,g:Dr,m:Pr};function Nr({children:n,className:_}){return J.jsx("div",{className:[le.l,_].filter(c=>c!==void 0).join(" "),children:J.jsx("ul",{children:n})})}function Fr({children:n,className:_}){return J.jsx("div",{className:[le.s,_].filter(c=>c!==void 0).join(" "),children:n})}function Mr({children:n,direction:_="column",className:c}){return J.jsx("ul",{className:[le.f,le[_==="row"?"r_":"c_"],c].filter(d=>d!==void 0).join(" "),children:n})}function Ir({children:n,className:_}){return J.jsx("div",{className:[le.c,_].filter(c=>c!==void 0).join(" "),children:n})}function $r({children:n,className:_}){return J.jsx("div",{className:[le.g,_].filter(c=>c!==void 0).join(" "),children:n})}function Ar(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}function Kt(n){return Ar().IMPORT_MODULES}var Nt={exports:{}},ht={};/**
90
90
  * @license React
91
91
  * react-jsx-runtime.production.min.js
92
92
  *
@@ -94,7 +94,7 @@ React keys must be passed directly to JSX without using spread:
94
94
  *
95
95
  * This source code is licensed under the MIT license found in the
96
96
  * LICENSE file in the root directory of this source tree.
97
- */var Yt;function qr(){if(Yt)return bt;Yt=1;var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,g=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function R(j,l,h){var o,u={},k=null,S=null;h!==void 0&&(k=""+h),l.key!==void 0&&(k=""+l.key),l.ref!==void 0&&(S=l.ref);for(o in l)d.call(l,o)&&!C.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:_,type:j,key:k,ref:S,props:u,_owner:g.current}}return bt.Fragment=c,bt.jsx=R,bt.jsxs=R,bt}var jt={};/**
97
+ */var Yt;function qr(){if(Yt)return ht;Yt=1;var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,b=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function R(j,l,g){var o,u={},k=null,S=null;g!==void 0&&(k=""+g),l.key!==void 0&&(k=""+l.key),l.ref!==void 0&&(S=l.ref);for(o in l)d.call(l,o)&&!C.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:_,type:j,key:k,ref:S,props:u,_owner:b.current}}return ht.Fragment=c,ht.jsx=R,ht.jsxs=R,ht}var jt={};/**
98
98
  * @license React
99
99
  * react-jsx-runtime.development.js
100
100
  *
@@ -102,17 +102,17 @@ React keys must be passed directly to JSX without using spread:
102
102
  *
103
103
  * This source code is licensed under the MIT license found in the
104
104
  * LICENSE file in the root directory of this source tree.
105
- */var Gt;function Br(){return Gt||(Gt=1,process.env.NODE_ENV!=="production"&&function(){var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function $(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var T=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];M("error",e,r)}}function M(e,t,r){{var a=T.ReactDebugCurrentFrame,p=a.getStackAddendum();p!==""&&(t+="%s",r=r.concat([p]));var y=r.map(function(s){return String(s)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var z=!1,K=!1,B=!1,U=!1,O=!1,P;P=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===C||O||e===g||e===h||e===o||U||e===S||z||K||B||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===u||e.$$typeof===R||e.$$typeof===j||e.$$typeof===l||e.$$typeof===P||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var p=t.displayName||t.name||"";return p!==""?r+"("+p+")":r}function v(e){return e.displayName||"Context"}function b(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case C:return"Profiler";case g:return"StrictMode";case h:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return v(t)+".Consumer";case R:var r=e;return v(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:b(e.type)||"Memo";case k:{var p=e,y=p._payload,s=p._init;try{return b(s(y))}catch{return null}}}return null}var I=Object.assign,Y=0,te,_e,se,ge,he,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(Y===0){te=console.log,_e=console.info,se=console.warn,ge=console.error,he=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ue(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:te}),info:I({},e,{value:_e}),warn:I({},e,{value:se}),error:I({},e,{value:ge}),group:I({},e,{value:he}),groupCollapsed:I({},e,{value:xe}),groupEnd:I({},e,{value:we})})}Y<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=T.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(p){var a=p.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
105
+ */var Gt;function Br(){return Gt||(Gt=1,process.env.NODE_ENV!=="production"&&function(){var n=L,_=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function $(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var T=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];M("error",e,r)}}function M(e,t,r){{var a=T.ReactDebugCurrentFrame,p=a.getStackAddendum();p!==""&&(t+="%s",r=r.concat([p]));var y=r.map(function(s){return String(s)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var z=!1,K=!1,B=!1,U=!1,O=!1,P;P=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===C||O||e===b||e===g||e===o||U||e===S||z||K||B||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===u||e.$$typeof===R||e.$$typeof===j||e.$$typeof===l||e.$$typeof===P||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var p=t.displayName||t.name||"";return p!==""?r+"("+p+")":r}function v(e){return e.displayName||"Context"}function h(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case C:return"Profiler";case b:return"StrictMode";case g:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return v(t)+".Consumer";case R:var r=e;return v(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:h(e.type)||"Memo";case k:{var p=e,y=p._payload,s=p._init;try{return h(s(y))}catch{return null}}}return null}var I=Object.assign,Y=0,te,_e,se,be,ge,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(Y===0){te=console.log,_e=console.info,se=console.warn,be=console.error,ge=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ue(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:te}),info:I({},e,{value:_e}),warn:I({},e,{value:se}),error:I({},e,{value:be}),group:I({},e,{value:ge}),groupCollapsed:I({},e,{value:xe}),groupEnd:I({},e,{value:we})})}Y<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=T.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(p){var a=p.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
106
106
  `+de+e}}var ue=!1,ne;{var ze=typeof WeakMap=="function"?WeakMap:Map;ne=new ze}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=ce.current,ce.current=null,We();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var i=F.stack.split(`
107
107
  `),D=a.stack.split(`
108
108
  `),x=i.length-1,w=D.length-1;x>=1&&w>=0&&i[x]!==D[w];)w--;for(;x>=1&&w>=0;x--,w--)if(i[x]!==D[w]){if(x!==1||w!==1)do if(x--,w--,w<0||i[x]!==D[w]){var q=`
109
- `+i[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=y,Ue(),Error.prepareStackTrace=p}var V=e?e.displayName||e.name:"",H=V?ae(V):"";return typeof e=="function"&&ne.set(e,H),H}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case h:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case k:{var a=e,p=a._payload,y=a._init;try{return oe(y(p),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=T.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,p){{var y=Function.call.bind(Q);for(var s in e)if(y(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var D=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){i=x}i&&!(i instanceof Error)&&(ie(p),m("%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).",a||"React class",r,s,typeof i),ie(null)),i instanceof Error&&!(i.message in Se)&&(Se[i.message]=!0,ie(p),m("Failed %s type: %s",r,i.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Re(e){if(Ze(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Oe(e)}var Te=T.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,p,y,s){var i={$$typeof:_,type:e,key:t,ref:r,props:s,_owner:y};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function nt(e,t,r,a,p){{var y,s={},i=null,D=null;r!==void 0&&(Re(r),i=""+r),Qe(t)&&(Re(t.key),i=""+t.key),Xe(t)&&(D=t.ref,et(t));for(y in t)Q.call(t,y)&&!Ve.hasOwnProperty(y)&&(s[y]=t[y]);if(e&&e.defaultProps){var x=e.defaultProps;for(y in x)s[y]===void 0&&(s[y]=x[y])}if(i||D){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&tt(s,w),D&&rt(s,w)}return at(e,i,D,p,a,Te.current,s)}}var pe=T.ReactCurrentOwner,Ne=T.ReactDebugCurrentFrame;function Z(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Fe(){{if(pe.current){var e=b(pe.current.type);if(e)return`
109
+ `+i[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=y,Ue(),Error.prepareStackTrace=p}var V=e?e.displayName||e.name:"",H=V?ae(V):"";return typeof e=="function"&&ne.set(e,H),H}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case g:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case k:{var a=e,p=a._payload,y=a._init;try{return oe(y(p),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=T.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,p){{var y=Function.call.bind(Q);for(var s in e)if(y(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var D=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){i=x}i&&!(i instanceof Error)&&(ie(p),m("%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).",a||"React class",r,s,typeof i),ie(null)),i instanceof Error&&!(i.message in Se)&&(Se[i.message]=!0,ie(p),m("Failed %s type: %s",r,i.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Re(e){if(Ze(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Oe(e)}var Te=T.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,m("%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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,p,y,s){var i={$$typeof:_,type:e,key:t,ref:r,props:s,_owner:y};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function nt(e,t,r,a,p){{var y,s={},i=null,D=null;r!==void 0&&(Re(r),i=""+r),Qe(t)&&(Re(t.key),i=""+t.key),Xe(t)&&(D=t.ref,et(t));for(y in t)Q.call(t,y)&&!Ve.hasOwnProperty(y)&&(s[y]=t[y]);if(e&&e.defaultProps){var x=e.defaultProps;for(y in x)s[y]===void 0&&(s[y]=x[y])}if(i||D){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&tt(s,w),D&&rt(s,w)}return at(e,i,D,p,a,Te.current,s)}}var pe=T.ReactCurrentOwner,Ne=T.ReactDebugCurrentFrame;function Z(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Fe(){{if(pe.current){var e=h(pe.current.type);if(e)return`
110
110
 
111
111
  Check the render method of \``+e+"`."}return""}}function ot(e){return""}var Me={};function it(e){{var t=Fe();if(!t){var r=typeof e=="string"?e:e.displayName||e.name;r&&(t=`
112
112
 
113
- Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+b(e._owner.type)+"."),Z(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),Z(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var p=$(e);if(typeof p=="function"&&p!==e.entries)for(var y=p.call(e),s;!(s=y.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=b(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var p=b(t);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){Z(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),Z(null);break}}e.ref!==null&&(Z(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),Z(null))}}var Ae={};function qe(e,t,r,a,p,y){{var s=W(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=ot();D?i+=D:i+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===_?(x="<"+(b(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,i)}var w=nt(e,t,r,p,y);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var V=0;V<q.length;V++)$e(q[V],e);Object.freeze&&Object.freeze(q)}else m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var H=b(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[H+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";m(`A props object containing a "key" prop is being spread into JSX:
113
+ Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+h(e._owner.type)+"."),Z(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),Z(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var p=$(e);if(typeof p=="function"&&p!==e.entries)for(var y=p.call(e),s;!(s=y.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=h(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var p=h(t);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){Z(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),Z(null);break}}e.ref!==null&&(Z(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),Z(null))}}var Ae={};function qe(e,t,r,a,p,y){{var s=W(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=ot();D?i+=D:i+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===_?(x="<"+(h(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,i)}var w=nt(e,t,r,p,y);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var V=0;V<q.length;V++)$e(q[V],e);Object.freeze&&Object.freeze(q)}else m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var H=h(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[H+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";m(`A props object containing a "key" prop is being spread into JSX:
114
114
  let props = %s;
115
115
  <%s {...props} />
116
116
  React keys must be passed directly to JSX without using spread:
117
117
  let props = %s;
118
- <%s key={someKey} {...props} />`,ve,H,ft,H),Ae[H+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;jt.Fragment=d,jt.jsx=dt,jt.jsxs=ut}()),jt}process.env.NODE_ENV==="production"?Nt.exports=qr():Nt.exports=Br();var Ft=Nt.exports;const Lr="_btn_1k1b3_1",Wr="_confirm_1k1b3_15",Ur="_cancel_1k1b3_20",zr="_action_1k1b3_25",Kr="_disabled_1k1b3_30",Yr="_m_1k1b3_44",Gr="_l_1k1b3_48",Ct={btn:Lr,confirm:Wr,cancel:Ur,action:zr,disabled:Kr,await:"_await_1k1b3_37",m:Yr,l:Gr},Hr=({onClick:n,onSend:_,size:c="m",view:d="confirm",children:g,isDisabled:C=!1,className:R,after:j,before:l,label:h,onRef:o,awaitText:u="Ожидайте"})=>{let[k,S]=L.useState(!1);const N=$=>{if(n)return n();k||(_?(S(!0),_(S)):$.preventDefault())};let A={};return(C||k)&&(A.disabled=!0),Ft.jsx("button",{...A,ref:o,className:[Ct.btn,k?Ct.disabled:Ct[d],c&&Ct[c],R].filter($=>$!="").join(" "),onClick:N,children:k?u:Ft.jsxs(Ft.Fragment,{children:[l||""," ",h," ",j||""]})||g})};let ke={};function Jr({children:n}){return J.jsx(J.Fragment,{children:n})}var St;(n=>{function _({import_modules:o}){let[u,k]=L.useState([]);return ke.x=S=>{k(S?u.filter(N=>N.key!==S):[])},L.useEffect(()=>{o&&(ke.i=o)},[]),ke.add=(S,N=Date.now())=>{k([...u,{key:N,item:S}])},J.jsx(J.Fragment,{children:u.map(S=>S.item)})}n.Init=_;function c(o){return o&&(ke.i=o),ke.i}n.Import=c,n.List=Nr,n.Scroll=Fr,n.Form=Mr,n.Center=Ir,n.Column=$r;function d(o,u,k){ke.i?ke.i(`${o}/modal/${u}.tsx`).then(S=>{S.default.Open(k)}):Kt()(`${o}/modal/${u}.tsx`).then(S=>{S.default.Open(k)})}n.Open=d;function g({type:o,name:u,params:k}){let[S,N]=L.useState(null);return L.useEffect(()=>{ke.i?ke.i(`${o}/modal/${u}.tsx`).then(A=>{N(A.default.Icon(k))}):Kt()(`${o}/modal/${u}.tsx`).then(A=>{N(A.default.Icon(k))})},[k.id]),J.jsx(J.Fragment,{children:S})}n.Icon=g;function C(o,u){ke.add(J.jsx(Jr,{children:o},String(Date.now())),u)}n.Add=C;function R(o){ke.x(o)}n.Close=R;function j(o){if(o.target.classList[0]!=="modal")return;let u=o.target.children[0];u.setAttribute("shake",!0),setTimeout(()=>{u.setAttribute("shake",!1)},1e3)}n.Shake=j;function l(o,u){const k=S=>{n.Add(J.jsx(o,{...S},new Date().getTime()))};return{Icon:S=>J.jsx("i",{onClick:()=>k(S),children:u&&J.jsx(u,{})}),Open:k}}n.Create=l;function h({title:o,children:u,button:k,tabs:S,size:N="m",className:A="",shake:$=!0,menu:T}){const[m,M]=L.useState(!0),z=L.useRef(),K=U=>{if(k){if(k.onClick)return U(!1),k.onClick({setOpen:M});if(k.onSend)return k.onSend({setOpen:M,disabled:U})}},B=()=>{if(!$)return M(!1);z.current.setAttribute("shake",!0),setTimeout(()=>{z.current.setAttribute("shake",!1)},1e3)};return m?J.jsxs("div",{className:`${le.modal}`,children:[J.jsx("div",{className:le.o,onClick:B}),J.jsxs("div",{className:[le.w,le[`s${N}`],A].filter(U=>U!="").join(" "),ref:z,children:[J.jsxs("div",{className:le.h,children:[J.jsx("div",{className:le.t,children:o}),J.jsxs("div",{className:le.m,children:[S&&J.jsx("nav",{children:S.map((U,O)=>J.jsx("span",{onClick:U.onClick,className:U.active?"active":"",children:U.name},O))}),T]}),J.jsx("div",{className:le.x,onClick:()=>{M(!1)},children:J.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:J.jsx("path",{d:"M20 5L5 20M5 5L20 20",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),u,k&&J.jsx("div",{className:le.b,children:J.jsx(Hr,{label:k.label,onSend:K,className:le.btn,size:k.size})})]})]}):""}n.Main=h})(St||(St={}));const Zr=(n,_=",")=>(n=n!==void 0&&n!==""?n.split(_):[],n.filter(c=>c!=="").reduce((c,d)=>(c[d]=!0,c),{}));function Vr({value:n,onValue:_,name:c,placeholder:d="",separator:g=",",title:C,error:R,hide:j=!1,edit:l=!0,active:h=!0,outFormat:o="object",after:u="",modal:k,options:S,className:N}){const[A,$]=L.useState(Zr(n,g)),T=M=>{if(!(l&&h)||!k)return;let z=k.split(".");St.Open(z[0],z[1],{callback:K=>{if(_)switch(o){case"array":_({value:Object.keys(K),name:c});break;case"string":_({value:Object.keys(K).filter(B=>K[B]).join(g),name:c});break;default:_({value:K,name:c})}$(Object.fromEntries(Object.entries(K).filter(([B,U])=>U!==!1)))},onValue:_,options:S,name:c,value:A})},m={};return d&&(m.placeholder=d),j?f.jsx(f.Fragment,{}):f.jsxs("dl",{"data-field":"group",className:[G.l,N].filter(M=>M!==void 0).join(" "),children:[C?f.jsx("dt",{className:G.t,children:C}):"",f.jsx("dd",{...m,className:G.f,onClick:T,edit:(l&&h)+"",children:Object.keys(A).map(M=>{var z;return f.jsx("div",{children:(z=S[M])==null?void 0:z.label},M)})}),R&&f.jsx("em",{children:R})]})}const Et={o:"_o_1wehm_12",l:"_l_1wehm_22",i:"_i_1wehm_72",f:"_f_1wehm_81"};function Xr({title:n,error:_,edit:c=!0,active:d=!0,hide:g,value:C=0,onValue:R,options:j,placeholder:l="",className:h,isIcon:o=!0,name:u,after:k,view:S,order:N,isReload:A=!1}){var E,v;const $=L.useRef(null),[T,m]=L.useState(C),[M,z]=L.useState(j),[K,B]=L.useState(!1);L.useEffect(()=>{m(C),z(j)},[C,j]),g=!!(g&&(C===0||((E=M==null?void 0:M[C])==null?void 0:E.n)===void 0))&&!(c&&d);let O=b=>{m(b),R&&R({value:b,name:u,reload:A})},W={onClick:b=>{Object.keys(M||{}).length!==0&&c&&d&&($.position=b.target.getBoundingClientRect(),B(!0))}};return l&&(W.placeholder=l),k&&(W.after=k),c&&d&&(W.edit=""),g?"":f.jsxs(f.Fragment,{children:[f.jsxs("dl",{"data-field":"select",className:[G.l,h].filter(b=>b!==void 0).join(" "),children:[n&&f.jsx("dt",{className:G.t,children:n}),f.jsx("dd",{...W,className:[G.f,Et.f].join(" "),ref:$,children:(v=M==null?void 0:M[T])==null?void 0:v.n}),Object.keys(M||{}).length!==0&&o&&f.jsx("svg",{className:Et.i,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"m5.25 8.625 6.75 6.75 6.75-6.75"})}),_&&f.jsx("em",{children:_})]}),K&&Rt.createPortal(f.jsx(Qr,{parent:$.position,onValue:O,view:S,className:h,options:M,order:N,setOpen:B},new Date().getTime()),document.body)]})}const Qr=({onValue:n,parent:_,className:c,options:d,order:g,setOpen:C})=>{let R=()=>{C(!1)},j=o=>{C(!1),n(o)},l=window.innerHeight-_.y+_.height<320?_.y-312:_.y+33,h=window.innerWidth-_.x<265?_.x-235:_.x;return f.jsxs(f.Fragment,{children:[f.jsx("div",{className:Et.o,onClick:R},new Date().getTime()),f.jsx("div",{className:[Et.l,c].filter(o=>o!==void 0).join(" "),style:{top:l+"px",left:h+"px",width:_.width},children:f.jsx(ea,{order:g,options:d,link:j})})]})},ea=({order:n,options:_,link:c})=>n?f.jsx("ul",{children:n.map((d,g)=>_[d].s!==0?f.jsx("li",{onClick:()=>{c(d)},children:_[d].n},g):"")}):f.jsx("ul",{children:Object.keys(_).map((d,g)=>_[d].s!==0?f.jsx("li",{onClick:()=>{c(d)},children:_[d].n},g):"")});function ta({value:n,onValue:_,name:c,placeholder:d="",title:g,error:C,hide:R=!1,edit:j=!0,show:l=!0,active:h=!0,after:o="",view:u,modal:k,module:S,options:N,className:A}){let[$,T]=L.useState(n),m=K=>{if(!(j&&h)||!k)return;let B=k.split(".");St.Open(B[0],B[1],{callback:U=>{_&&_({value:U,name:c}),T(U)},onValue:_,options:N,name:c,value:n})};const M={};M.field="input",A&&(M.className=A);const z={};return d&&(z.placeholder=d),R?f.jsx(f.Fragment,{}):f.jsxs("dl",{...M,children:[g&&f.jsx("dt",{children:g}),f.jsx("dd",{...z,onClick:m,edit:(j&&h)+"","data-after":o,children:$}),C&&f.jsx("em",{children:C})]})}function ra({value:n,onValue:_,onSave:c,name:d,placeholder:g="",className:C,title:R,error:j,edit:l=!0,active:h=!0,reload:o=!1,native:u=!1,isShow:k=!1,maxLength:S,eyes:N=[],after:A=""}){const[$,T]=L.useState(k);let m=O=>{_&&_({value:O.target.textContent,name:d,reload:o})},M=O=>{O.key==="Enter"&&O.preventDefault()},z=O=>{O.preventDefault(),navigator.clipboard.readText().then(P=>{if(S){let W=O.target.textContent.length;if(W>=S)return;S-=W,P=P.slice(0,S)}window.document.execCommand("insertText",!1,P.replace(/(\r\n|\n|\r)/gm," "))}).catch(P=>{})},K=O=>{re.Blur(O),c==null||c({value:O.target.textContent.trim(),name:d})};const B={};B.field="password",$&&(B.show=""),C&&(B.className=C);const U={};return g&&(U.placeholder=g),u?"":f.jsxs("dl",{...B,children:[R?f.jsx("dt",{children:R}):"",f.jsx("dd",{onPaste:z,onInput:m,onKeyDown:M,onBlur:K,contentEditable:l&&h?re.ContentEditable:"false",...U,suppressContentEditableWarning:!0,children:n}),N[0]&&f.jsx("i",{onClick:()=>T(!$),children:$?N[1]:N[0]}),A,j?f.jsx("em",{children:j}):""]})}function aa({onValue:n,onSave:_,active:c,max:d,edit:g,title:C,error:R,show:j,hide:l,value:h,placeholder:o,className:u,maxLength:k,name:S,after:N="",before:A="",view:$}){g=g!==void 0?g:!0,c=c!==void 0?c:!0,l=!!(l&&(h===""||h===void 0))&&!(g&&c),o=o!==void 0?o:"",d=d!==void 0?d:99;let m=!1,M=P=>{n==null||n({value:P.target.textContent,name:S})},z=P=>{if(!(m&&P.which===86)){if(P.which===17||P.which===91)return m=!0;P.key!=="Backspace"&&(P.target.textContent.length===d&&P.preventDefault(),P.key==="Enter"&&P.preventDefault(),isNaN(P.key)&&P.preventDefault())}},K=P=>{if(P.which===17||P.which===91)return m=!1},B=P=>{P.preventDefault(),navigator.clipboard.readText().then(W=>{if(W=W.replace(/(?!^\+|\d)./g,""),k){let E=P.target.textContent.length;if(E>=k)return;k-=E,W=W.slice(0,k)}window.document.execCommand("insertText",!1,""+W)}).catch(W=>{})};const U=P=>{re.Blur(P),_==null||_({value:P.target.textContent,name:S})};let O={};return g&&c?(O.edit="true",O.contentEditable=re.ContentEditable):O.contentEditable="false",O.inputMode="decimal",o&&(O.placeholder=o),l?f.jsx(f.Fragment,{}):f.jsxs("dl",{"data-field":"input",className:[G.l,u].filter(P=>P!==void 0).join(" "),children:[C?f.jsx("dt",{className:G.t,children:C}):"",A,f.jsx("dd",{className:[G.f,G.w].join(" "),onPaste:B,onInput:M,onBlur:U,onKeyDown:z,onKeyUp:K,suppressContentEditableWarning:!0,...O,children:h}),N,R&&f.jsx("em",{children:R})]})}function na({value:n="",onValue:_,onSave:c,name:d,format:g="+_(___) ___-__-__",placeholder:C="",title:R="",error:j="",hide:l=!1,edit:h=!0,active:o=!0,after:u="",show:k=!0,view:S,className:N=""}){h=h!==void 0?h:!0,o=o!==void 0?o:!0,l=!!(l&&(n===""||n===void 0))&&!(h&&o),L.useRef(null);let $=g,T=!0,m=0,M=(v,b)=>{let I=document.createRange(),Y=window.getSelection();I.setStart(b.childNodes[0],v),I.collapse(!0),Y.removeAllRanges(),Y.addRange(I),b.focus()},z=v=>{v.preventDefault(),navigator.clipboard.readText().then(b=>{window.document.execCommand("insertText",!1,b)}).catch(b=>{})},K=v=>{let b=0,I="",Y=v.replace(/\D/g,"");Y===""&&(T=!0);let te=Y.split(""),_e="";te.forEach(he=>{T&&(_e+=he,T&&(m=(""+_e).length,$=g.replace(new RegExp("[0-9]","g"),"_"),I=""),m>(""+_e).length&&(T=!0,$=g.replace(new RegExp("[0-9]","g"),"_"),I=""))});let se=$.replace(/\D/g,"");return se.length>=Y.length&&(Y=se),{q:$.replace(/[_\d]/g,function(){return Y.charAt(b++)||"_"}),i:b,v:Y,f:I}},B=v=>{v.preventDefault(),navigator.clipboard.writeText(v.target.textContent.replace(/\D/g,"")).then(function(){xt.Copy("Данные в буфер обмене")},function(b){})},U=K(n),O=v=>{let b=K(v.target.textContent);v.target.textContent=b.q,b.i=b.q.lastIndexOf(b.v.substr(-1)),b.i<b.q.length&&b.q!==$?b.i++:b.i=b.q.indexOf("_"),M(b.i,v.target),_&&_({value:b.q.replace(/\D/g,""),name:d})},P=v=>{v.key==="Enter"&&v.preventDefault()};const W=v=>{re.Blur(v),c&&c({value:v.target.textContent.replace(/\D/g,""),name:d})};let E={};return h&&o?(E.edit="true",E.contentEditable=re.ContentEditable):E.contentEditable="false",C&&(E.placeholder=C),u&&(E.after=u),l?f.jsx(f.Fragment,{}):f.jsxs("dl",{"data-field":"input",className:[G.l,N].filter(v=>v!==void 0).join(" "),children:[R?f.jsx("dt",{className:G.t,children:R}):"",f.jsx("dd",{className:[G.f,G.w].join(" "),onPaste:z,onInput:O,onKeyDown:P,onContextMenu:B,onBlur:W,suppressContentEditableWarning:!0,...E,children:U.q}),j&&f.jsx("em",{children:j})]})}function oa({id:n,value:_,onValue:c,name:d,placeholder:g="",title:C="",error:R="",hide:j=!1,edit:l=!0,active:h=!0,after:o="",show:u=!0,maxLength:k,view:S,onSave:N,className:A="",isCopy:$=!0}){let[T,m]=L.useState(!1);T=l?!0:T;let M=O=>{c==null||c({value:O.target.innerText,name:d})},z=O=>{k&&O.target.textContent.trim().length>=k&&O.key!=="Backspace"&&O.preventDefault(),O.key==="Enter"&&O.preventDefault()},K=O=>{O.preventDefault(),navigator.clipboard.readText().then(P=>{if(k){let W=O.target.textContent.length;if(W>=k)return;k-=W,P=P.slice(0,k)}window.document.execCommand("insertText",!1,P.replace(/(\r\n|\n|\r)/gm," "))}).catch(P=>{})};if(j)return f.jsx(f.Fragment,{});if(!(l&&h)&&!u)return"";const B={};g&&(B.placeholder=g),l&&h&&(B.edit=""),T&&(B.open="");const U=O=>{re.Blur(O),N==null||N({value:O.target.textContent.trim(),name:d})};return f.jsxs("dl",{"data-field":"note",className:[G.l,A].filter(O=>O!==void 0).join(" "),children:[C?f.jsx("dt",{className:G.t,children:C}):"",f.jsx("dd",{className:[G.f,G.n].join(" "),onPaste:K,onInput:M,onBlur:U,onKeyDown:z,contentEditable:l&&h?re.ContentEditable:"false",suppressContentEditableWarning:!0,...B,children:_}),o,R?f.jsx("em",{children:R}):""]})}const Mt={0:{name:"Heard Island and Mcdonald Islands",dial_code:"+0",code:"HM",mask:"+0(___) ___-__-__"},1:{name:"United States",dial_code:"+1",code:"US",mask:"+1(___) ___-__-__"},7:{name:"Russia",dial_code:"+7",code:"RU",mask:"+7(___) ___-__-__"},20:{name:"Egypt",dial_code:"+20",code:"EG",mask:"+20(___) ___-__-__"},27:{name:"South Africa",dial_code:"+27",code:"ZA",mask:"+27(___) __-__-__"},30:{name:"Greece",dial_code:"+30",code:"GR",mask:"+30(___) ___-__-__"},31:{name:"Netherlands",dial_code:"+31",code:"NL",mask:"+31(___) __-__-__"},32:{name:"Belgium",dial_code:"+32",code:"BE",mask:"+32(___) __-__-__"},33:{name:"France",dial_code:"+33",code:"FR",mask:"+33(___) __-__-__"},34:{name:"Spain",dial_code:"+34",code:"ES",mask:"+34(___) __-__-__"},36:{name:"Hungary",dial_code:"+36",code:"HU",mask:"+36(___) __-__-__"},39:{name:"Italy",dial_code:"+39",code:"IT",mask:"+39(___) ___-__-__"},40:{name:"Romania",dial_code:"+40",code:"RO",mask:"+40(___) __-__-__"},41:{name:"Switzerland",dial_code:"+41",code:"CH",mask:"+41(___) __-__-__"},43:{name:"Austria",dial_code:"+43",code:"AT",mask:"+43(__) ___-__-__"},44:{name:"United Kingdom",dial_code:"+44",code:"GB",mask:"+44(___) ___-__-__"},45:{name:"Denmark",dial_code:"+45",code:"DK",mask:"+45(__) __-__-__"},46:{name:"Sweden",dial_code:"+46",code:"SE",mask:"+46(___) __-__-__"},47:{name:"Svalbard and Jan Mayen",dial_code:"+47",code:"SJ",mask:"+47(__) __-__-__"},48:{name:"Poland",dial_code:"+48",code:"PL",mask:"+48(__) __-__-__"},49:{name:"Germany",dial_code:"+49",code:"DE",mask:"+49(___) ___-__-__"},51:{name:"Peru",dial_code:"+51",code:"PE",mask:"+51(___) __-__-__"},52:{name:"Mexico",dial_code:"+52",code:"MX",mask:"+52(__-__) ___-__-__"},53:{name:"Cuba",dial_code:"+53",code:"CU",mask:"+53(__) __-__-__"},54:{name:"Argentina",dial_code:"+54",code:"AR",mask:"+54(__-__) ___-__-__"},55:{name:"Brazil",dial_code:"+55",code:"BR",mask:"+55(___) ___-__-__"},56:{name:"Chile",dial_code:"+56",code:"CL",mask:"+56(___) __-__-__"},57:{name:"Colombia",dial_code:"+57",code:"CO",mask:"+57(___) ___-__-__"},58:{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",code:"VE",mask:"+58(___) ___-__-__"},60:{name:"Malaysia",dial_code:"+60",code:"MY",mask:"+60(___) __-__-__"},61:{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC",mask:"+61(___) ___-__-__"},62:{name:"Indonesia",dial_code:"+62",code:"ID",mask:"+62(___) __-__-__"},63:{name:"Philippines",dial_code:"+63",code:"PH",mask:"+63(___) ___-__-__"},64:{name:"Pitcairn",dial_code:"+64",code:"PN",mask:"+64(___) __-__-__"},65:{name:"Singapore",dial_code:"+65",code:"SG",mask:"+65(__) __-__-__"},66:{name:"Thailand",dial_code:"+66",code:"TH",mask:"+66(___) __-__-__"},77:{name:"Kazakhstan",dial_code:"+77",code:"KZ",mask:"+77(__) ___-__-__"},81:{name:"Japan",dial_code:"+81",code:"JP",mask:"+81(___) ___-__-__"},82:{name:"Korea, Republic of South Korea",dial_code:"+82",code:"KR",mask:"+82(___) ___-__-__"},84:{name:"Vietnam",dial_code:"+84",code:"VN",mask:"+84(___) __-__-__"},86:{name:"China",dial_code:"+86",code:"CN",mask:"+86(__-__) ___-__-__"},90:{name:"Turkey",dial_code:"+90",code:"TR",mask:"+90(___) ___-__-__"},91:{name:"India",dial_code:"+91",code:"IN",mask:"+91(___) ___-__-__"},92:{name:"Pakistan",dial_code:"+92",code:"PK",mask:"+92(___) ___-__-__"},93:{name:"Afghanistan",dial_code:"+93",code:"AF",mask:"+93(__) ___-__-__"},94:{name:"Sri Lanka",dial_code:"+94",code:"LK",mask:"+94(___) __-__-__"},95:{name:"Myanmar",dial_code:"+95",code:"MM",mask:"+95(___) ___-__-__"},98:{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",code:"IR",mask:"+98(___) ___-__-__"},211:{name:"South Sudan",dial_code:"+211",code:"SS",mask:"+211(___) ___-__-__"},212:{name:"Morocco",dial_code:"+212",code:"MA",mask:"+212(___) __-__-__"},213:{name:"Algeria",dial_code:"+213",code:"DZ",mask:"+213(__) ___-__-__"},216:{name:"Tunisia",dial_code:"+216",code:"TN",mask:"+216(__) __-__-__"},218:{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY",mask:"+218(___) ___-__-__"},220:{name:"Gambia",dial_code:"+220",code:"GM",mask:"+220(___) __-__"},221:{name:"Senegal",dial_code:"+221",code:"SN",mask:"+221(___) __-__-__"},222:{name:"Mauritania",dial_code:"+222",code:"MR",mask:"+222(__) __-__-__"},223:{name:"Mali",dial_code:"+223",code:"ML",mask:"+223(__) __-__-__"},224:{name:"Guinea",dial_code:"+224",code:"GN",mask:"+224(__) __-__-__"},225:{name:"Cote d'Ivoire",dial_code:"+225",code:"CI",mask:"+225(__) __-__-__"},226:{name:"Burkina Faso",dial_code:"+226",code:"BF",mask:"+226(__) __-__-__"},227:{name:"Niger",dial_code:"+227",code:"NE",mask:"+227(__) __-__-__"},228:{name:"Togo",dial_code:"+228",code:"TG",mask:"+228(__) __-__-__"},229:{name:"Benin",dial_code:"+229",code:"BJ",mask:"+229(__) __-__-__"},230:{name:"Mauritius",dial_code:"+230",code:"MU",mask:"+230(___) __-__"},231:{name:"Liberia",dial_code:"+231",code:"LR",mask:"+231(___) __-__"},232:{name:"Sierra Leone",dial_code:"+232",code:"SL",mask:"+232(__) __-__-__"},233:{name:"Ghana",dial_code:"+233",code:"GH",mask:"+233(___) __-__-__"},234:{name:"Nigeria",dial_code:"+234",code:"NG",mask:"+234(___) ___-__-__"},235:{name:"Chad",dial_code:"+235",code:"TD",mask:"+235(__) __-__-__"},236:{name:"Central African Republic",dial_code:"+236",code:"CF",mask:"+236(__) __-__-__"},237:{name:"Cameroon",dial_code:"+237",code:"CM",mask:"+237(__) __-__-__"},238:{name:"Cape Verde",dial_code:"+238",code:"CV",mask:"+238(___) __-__"},239:{name:"Sao Tome and Principe",dial_code:"+239",code:"ST",mask:"+239(___) ___-__-__"},240:{name:"Equatorial Guinea",dial_code:"+240",code:"GQ",mask:"+240(___) __-__-__"},241:{name:"Gabon",dial_code:"+241",code:"GA",mask:"+241(__) __-__-__"},242:{name:"Congo",dial_code:"+242",code:"CG",mask:"+242(___) __-__-__"},243:{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",code:"CD",mask:"+243(___) ___-__-__"},244:{name:"Angola",dial_code:"+244",code:"AO",mask:"+244(__) ___-__-__"},245:{name:"Guinea-Bissau",dial_code:"+245",code:"GW",mask:"+245(___) __-__"},246:{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO",mask:"+246(___) ___-__-__"},248:{name:"Seychelles",dial_code:"+248",code:"SC",mask:"+248(___) ___-__-__"},249:{name:"Sudan",dial_code:"+249",code:"SD",mask:"+249(___) __-__-__"},250:{name:"Rwanda",dial_code:"+250",code:"RW",mask:"+250(___) __-__-__"},251:{name:"Ethiopia",dial_code:"+251",code:"ET",mask:"+251(___) __-__-__"},252:{name:"Somalia",dial_code:"+252",code:"SO",mask:"+252(___) ___-__-__"},253:{name:"Djibouti",dial_code:"+253",code:"DJ",mask:"+253(___) ___-__-__"},254:{name:"Kenya",dial_code:"+254",code:"KE",mask:"+254(___) __-__-__"},255:{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",code:"TZ",mask:"+255(___) __-__-__"},256:{name:"Uganda",dial_code:"+256",code:"UG",mask:"+256(___) __-__-__"},257:{name:"Burundi",dial_code:"+257",code:"BI",mask:"+257(__) __-__-__"},258:{name:"Mozambique",dial_code:"+258",code:"MZ",mask:"+258(___) __-__-__"},260:{name:"Zambia",dial_code:"+260",code:"ZM",mask:"+260(___) __-__-__"},261:{name:"Madagascar",dial_code:"+261",code:"MG",mask:"+261(___) __-__-__"},262:{name:"Reunion",dial_code:"+262",code:"RE",mask:"+262(___) __-__-__"},263:{name:"Zimbabwe",dial_code:"+263",code:"ZW",mask:"+263(___) __-__-__"},264:{name:"Namibia",dial_code:"+264",code:"NA",mask:"+264(___) __-__-__"},265:{name:"Malawi",dial_code:"+265",code:"MW",mask:"+265(___) __-__-__"},266:{name:"Lesotho",dial_code:"+266",code:"LS",mask:"+266(__) __-__-__"},267:{name:"Botswana",dial_code:"+267",code:"BW",mask:"+267(__) __-__-__"},268:{name:"Swaziland",dial_code:"+268",code:"SZ",mask:"+268(___) ___-__-__"},269:{name:"Comoros",dial_code:"+269",code:"KM",mask:"+269(___) __-__"},290:{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",code:"SH",mask:"+290(___) ___-__-__"},291:{name:"Eritrea",dial_code:"+291",code:"ER",mask:"+291(___) ___-__-__"},297:{name:"Aruba",dial_code:"+297",code:"AW",mask:"+297(_) __-__-__"},298:{name:"Faroe Islands",dial_code:"+298",code:"FO",mask:"+298(__) __-__"},299:{name:"Greenland",dial_code:"+299",code:"GL",mask:"+299(__) __-__"},345:{name:"Cayman Islands",dial_code:"+ 345",code:"KY",mask:"+345(___) ___-__-__"},350:{name:"Gibraltar",dial_code:"+350",code:"GI",mask:"+350(__) __-__-__"},351:{name:"Portugal",dial_code:"+351",code:"PT",mask:"+351(___) __-__-__"},352:{name:"Luxembourg",dial_code:"+352",code:"LU",mask:"+352(___) __-__-__"},353:{name:"Ireland",dial_code:"+353",code:"IE",mask:"+353(___) __-__-__"},354:{name:"Iceland",dial_code:"+354",code:"IS",mask:"+354(___) __-__"},355:{name:"Albania",dial_code:"+355",code:"AL",mask:"+355(__) ___-__-__"},356:{name:"Malta",dial_code:"+356",code:"MT",mask:"+356(__) __-__-__"},357:{name:"Cyprus",dial_code:"+357",code:"CY",mask:"+357(__) __-__-__"},358:{name:"Finland",dial_code:"+358",code:"FI",mask:"+358(___) __-__-__"},359:{name:"Bulgaria",dial_code:"+359",code:"BG",mask:"+359(___) __-__-__"},370:{name:"Lithuania",dial_code:"+370",code:"LT",mask:"+370(_) ___-__-__"},371:{name:"Latvia",dial_code:"+371",code:"LV",mask:"+371(__) __-__-__"},372:{name:"Estonia",dial_code:"+372",code:"EE",mask:"+372(__) __-__-__"},373:{name:"Moldova",dial_code:"+373",code:"MD",mask:"+373(__) __-__-__"},374:{name:"Armenia",dial_code:"+374",code:"AM",mask:"+374(_) ___-__-__"},375:{name:"Belarus",dial_code:"+375",code:"BY",mask:"+375(__) ___-__-__"},376:{name:"Andorra",dial_code:"+376",code:"AD",mask:"+376(_) _-__-__"},377:{name:"Monaco",dial_code:"+377",code:"MC",mask:"+377(___) __-__-__"},378:{name:"San Marino",dial_code:"+378",code:"SM",mask:"+378(__) __-__-__"},379:{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA",mask:"+379(___) ___-__-__"},380:{name:"Ukraine",dial_code:"+380",code:"UA",mask:"+380(__) ___-__-__"},381:{name:"Serbia",dial_code:"+381",code:"RS",mask:"+381(__) __-__-__"},382:{name:"Montenegro",dial_code:"+382",code:"ME",mask:"+382(___) ___-__-__"},383:{name:"Kosovo",dial_code:"+383",code:"XK",mask:"+383(___) __-__"},385:{name:"Croatia",dial_code:"+385",code:"HR",mask:"+385(__) __-__-__"},386:{name:"Slovenia",dial_code:"+386",code:"SI",mask:"+386(__) __-__-__"},387:{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA",mask:"+387(__) __-__-__"},389:{name:"Macedonia",dial_code:"+389",code:"MK",mask:"+389(__) __-__-__"},420:{name:"Czech Republic",dial_code:"+420",code:"CZ",mask:"+420(___) __-__-__"},421:{name:"Slovakia",dial_code:"+421",code:"SK",mask:"+421(___) __-__-__"},423:{name:"Liechtenstein",dial_code:"+423",code:"LI",mask:"+423(___) __-__-__"},500:{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",code:"GS",mask:"+500(___) ___-__-__"},501:{name:"Belize",dial_code:"+501",code:"BZ",mask:"+501(___) __-__"},502:{name:"Guatemala",dial_code:"+502",code:"GT",mask:"+502(__) __-__-__"},503:{name:"El Salvador",dial_code:"+503",code:"SV",mask:"+503(__) __-__-__"},504:{name:"Honduras",dial_code:"+504",code:"HN",mask:"+504(__) __-__-__"},505:{name:"Nicaragua",dial_code:"+505",code:"NI",mask:"+505(__) __-__-__"},506:{name:"Costa Rica",dial_code:"+506",code:"CR",mask:"+506(__) __-__-__"},507:{name:"Panama",dial_code:"+507",code:"PA",mask:"+507(__) __-__-__"},508:{name:"Saint Pierre and Miquelon",dial_code:"+508",code:"PM",mask:"+508(___) ___-__-__"},509:{name:"Haiti",dial_code:"+509",code:"HT",mask:"+509(__) __-__-__"},590:{name:"Saint Martin",dial_code:"+590",code:"MF",mask:"+590(___) __-__-__"},591:{name:"Bolivia, Plurinational State of bolivia",dial_code:"+591",code:"BO",mask:"+591(__) __-__-__"},592:{name:"Guyana",dial_code:"+592",code:"GY",mask:"+592(___) ___-__-__"},593:{name:"Ecuador",dial_code:"+593",code:"EC",mask:"+593(___) __-__-__"},594:{name:"French Guiana",dial_code:"+594",code:"GF",mask:"+594(___) __-__-__"},595:{name:"Paraguay",dial_code:"+595",code:"PY",mask:"+595(___) __-__-__"},596:{name:"Martinique",dial_code:"+596",code:"MQ",mask:"+596(___) __-__-__"},597:{name:"Suriname",dial_code:"+597",code:"SR",mask:"+597(___) __-__"},598:{name:"Uruguay",dial_code:"+598",code:"UY",mask:"+598(__) __-__-__"},599:{name:"Netherlands Antilles",dial_code:"+599",code:"AN",mask:"+599(__) __-__-__"},670:{name:"Timor-Leste",dial_code:"+670",code:"TL",mask:"+670(__) __-__-__"},672:{name:"Norfolk Island",dial_code:"+672",code:"NF",mask:"+672(___) ___-__-__"},673:{name:"Brunei Darussalam",dial_code:"+673",code:"BN",mask:"+673(___) __-__"},674:{name:"Nauru",dial_code:"+674",code:"NR",mask:"+674(___) __-__"},675:{name:"Papua New Guinea",dial_code:"+675",code:"PG",mask:"+675(___) __-__"},676:{name:"Tonga",dial_code:"+676",code:"TO",mask:"+676(___) __-__"},677:{name:"Solomon Islands",dial_code:"+677",code:"SB",mask:"+677(___) __-__"},678:{name:"Vanuatu",dial_code:"+678",code:"VU",mask:"+678(___) __-__"},679:{name:"Fiji",dial_code:"+679",code:"FJ",mask:"+679(___) __-__"},680:{name:"Palau",dial_code:"+680",code:"PW",mask:"+680(___) ___-__-__"},681:{name:"Wallis and Futuna",dial_code:"+681",code:"WF",mask:"+681(___) ___-__-__"},682:{name:"Cook Islands",dial_code:"+682",code:"CK",mask:"+682(_) __-__"},683:{name:"Niue",dial_code:"+683",code:"NU",mask:"+683(___) ___-__-__"},685:{name:"Samoa",dial_code:"+685",code:"WS",mask:"+685(__) __-__"},686:{name:"Kiribati",dial_code:"+686",code:"KI",mask:"+686(___) ___-__-__"},687:{name:"New Caledonia",dial_code:"+687",code:"NC",mask:"+687(__) __-__"},688:{name:"Tuvalu",dial_code:"+688",code:"TV",mask:"+688(___) ___-__-__"},689:{name:"French Polynesia",dial_code:"+689",code:"PF",mask:"+689(__) __-__"},690:{name:"Tokelau",dial_code:"+690",code:"TK",mask:"+690(___) ___-__-__"},691:{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",code:"FM",mask:"+691(___) ___-__-__"},692:{name:"Marshall Islands",dial_code:"+692",code:"MH",mask:"+692(___) ___-__-__"},850:{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",code:"KP",mask:"+850(___) ___-__-__"},852:{name:"Hong Kong",dial_code:"+852",code:"HK",mask:"+852(__) __-__-__"},853:{name:"Macao",dial_code:"+853",code:"MO",mask:"+853(__) __-__-__"},855:{name:"Cambodia",dial_code:"+855",code:"KH",mask:"+855(__) __-__-__"},856:{name:"Laos",dial_code:"+856",code:"LA",mask:"+856(___) ___-__-__"},880:{name:"Bangladesh",dial_code:"+880",code:"BD",mask:"+880(___) ___-__-__"},886:{name:"Taiwan",dial_code:"+886",code:"TW",mask:"+886(___) __-__-__"},960:{name:"Maldives",dial_code:"+960",code:"MV",mask:"+960(___) __-__"},961:{name:"Lebanon",dial_code:"+961",code:"LB",mask:"+961(__) __-__-__"},962:{name:"Jordan",dial_code:"+962",code:"JO",mask:"+962(___) __-__-__"},963:{name:"Syrian Arab Republic",dial_code:"+963",code:"SY",mask:"+963(___) __-__-__"},964:{name:"Iraq",dial_code:"+964",code:"IQ",mask:"+964(___) ___-__-__"},965:{name:"Kuwait",dial_code:"+965",code:"KW",mask:"+965(__) __-__-__"},966:{name:"Saudi Arabia",dial_code:"+966",code:"SA",mask:"+966(___) __-__-__"},967:{name:"Yemen",dial_code:"+967",code:"YE",mask:"+967(___) __-__-__"},968:{name:"Oman",dial_code:"+968",code:"OM",mask:"+968(__) __-__-__"},970:{name:"Palestinian Territory, Occupied",dial_code:"+970",code:"PS",mask:"+970(___) __-__-__"},971:{name:"United Arab Emirates",dial_code:"+971",code:"AE",mask:"+971(___) __-__-__"},972:{name:"Israel",dial_code:"+972",code:"IL",mask:"+972(___) __-__-__"},973:{name:"Bahrain",dial_code:"+973",code:"BH",mask:"+973(__) __-__-__"},974:{name:"Qatar",dial_code:"+974",code:"QA",mask:"+974(__) __-__-__"},975:{name:"Bhutan",dial_code:"+975",code:"BT",mask:"+975(__) __-__-__"},976:{name:"Mongolia",dial_code:"+976",code:"MN",mask:"+976(__) __-__-__"},977:{name:"Nepal",dial_code:"+977",code:"NP",mask:"+977(___) ___-__-__"},992:{name:"Tajikistan",dial_code:"+992",code:"TJ",mask:"+992(___) __-__-__"},993:{name:"Turkmenistan",dial_code:"+993",code:"TM",mask:"+993(__) __-__-__"},994:{name:"Azerbaijan",dial_code:"+994",code:"AZ",mask:"+994(__) ___-__-__"},995:{name:"Georgia",dial_code:"+995",code:"GE",mask:"+995(___) __-__-__"},996:{name:"Kyrgyzstan",dial_code:"+996",code:"KG",mask:"+996(___) __-__-__"},998:{name:"Uzbekistan",dial_code:"+998",code:"UZ",mask:"+998(___) __-__-__"},1242:{name:"Bahamas",dial_code:"+1242",code:"BS",mask:"+1242(___) __-__"},1246:{name:"Barbados",dial_code:"+1246",code:"BB",mask:"+1246(___) __-__"},1264:{name:"Anguilla",dial_code:"+1264",code:"AI",mask:"+1264(___) ___-__-__"},1268:{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG",mask:"+1268(_) __-__"},1284:{name:"Virgin Islands, British",dial_code:"+1284",code:"VG",mask:"+1284(___) __-__"},1340:{name:"Virgin Islands, U.S.",dial_code:"+1340",code:"VI",mask:"+1340(___) ___-__-__"},1441:{name:"Bermuda",dial_code:"+1441",code:"BM",mask:"+1441(___) __-__"},1473:{name:"Grenada",dial_code:"+1473",code:"GD",mask:"+1473(___) __-__"},1649:{name:"Turks and Caicos Islands",dial_code:"+1649",code:"TC",mask:"+1649(___) ___-__-__"},1664:{name:"Montserrat",dial_code:"+1664",code:"MS",mask:"+1664(___) ___-__-__"},1670:{name:"Northern Mariana Islands",dial_code:"+1670",code:"MP",mask:"+1670(___) ___-__-__"},1671:{name:"Guam",dial_code:"+1671",code:"GU",mask:"+1671(___) ___-__-__"},1684:{name:"American Samoa",dial_code:"+1684",code:"AS",mask:"+1684(___) ___-__-__"},1758:{name:"Saint Lucia",dial_code:"+1758",code:"LC",mask:"+1758(___) __-__"},1767:{name:"Dominica",dial_code:"+1767",code:"DM",mask:"+1767(___) __-__"},1784:{name:"Saint Vincent and the Grenadines",dial_code:"+1784",code:"VC",mask:"+1784(___) __-__"},1849:{name:"Dominican Republic",dial_code:"+1849",code:"DO",mask:"+1849(___) ___-__-__"},1868:{name:"Trinidad and Tobago",dial_code:"+1868",code:"TT",mask:"+1868(___) __-__"},1869:{name:"Saint Kitts and Nevis",dial_code:"+1869",code:"KN",mask:"+1869(___) __-__"},1876:{name:"Jamaica",dial_code:"+1876",code:"JM",mask:"+1876(___) __-__"},1939:{name:"Puerto Rico",dial_code:"+1939",code:"PR",mask:"+1939(___) ___-__-__"}};function ia({value:n,onValue:_,onSave:c,name:d,placeholder:g="",title:C="",error:R="",hide:j=!1,edit:l=!0,active:h=!0,after:o="",show:u=!0,view:k,className:S=""}){l=l!==void 0?l:!0,h=h!==void 0?h:!0,j=!!(j&&(n===""||n===void 0))&&!(l&&h),L.useRef(null);let A="+_(___) ___-__-__",$=!0,T=0,m=(E,v)=>{let b=document.createRange(),I=window.getSelection();b.setStart(v.childNodes[0],E),b.collapse(!0),I.removeAllRanges(),I.addRange(b),v.focus()},M=E=>{let v=K(E.target.textContent);E.target.textContent=v.q,v.i=v.q.lastIndexOf(v.v.substr(-1)),v.i<v.q.length&&v.q!==A?v.i++:v.i=v.q.indexOf("_"),m(v.i,E.target),_&&_({value:v.q.replace(/\D/g,""),name:d})},z=E=>{E.preventDefault(),navigator.clipboard.readText().then(v=>{window.document.execCommand("insertText",!1,v)}).catch(v=>{})},K=E=>{let v=0,b="",I=E.replace(/\D/g,"");I===""&&($=!0);let Y=I.split(""),te="";Y.forEach(ge=>{$&&(te+=ge,Mt[te]!==void 0&&$?($=!1,A=Mt[te].mask.replace(new RegExp("[0-9]","g"),"_"),b=Mt[te].code):($&&(T=(""+te).length,A=`+${te}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),b=""),T>(""+te).length&&($=!0,A=`+${te}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),b="")))});let _e=A.replace(/\D/g,"");return _e.length>=I.length&&(I=_e),{q:A.replace(/[_\d]/g,function(){return I.charAt(v++)||"_"}),i:v,v:I,f:b}},B=E=>{E.preventDefault(),navigator.clipboard.writeText(E.target.textContent.replace(/\D/g,"")).then(function(){xt.Copy("Данные в буфер обмене")},function(v){})},U=K(n),O=E=>{E.key==="Enter"&&E.preventDefault()};const P=E=>{re.Blur(E),c&&c({value:E.target.textContent.replace(/\D/g,""),name:d})};let W={};return l&&h?(W.edit="true",W.contentEditable=re.ContentEditable):W.contentEditable="false",g&&(W.placeholder=g),o&&(W.after=o),j?f.jsx(f.Fragment,{}):f.jsxs("dl",{"data-field":"input",className:[G.l,S].filter(E=>E!==void 0).join(" "),children:[C?f.jsx("dt",{className:G.t,children:C}):"",f.jsx("dd",{className:[G.f,G.w].join(" "),onPaste:z,onInput:M,onKeyDown:O,onContextMenu:B,onBlur:P,suppressContentEditableWarning:!0,...W,children:U.q}),R&&f.jsx("em",{children:R})]})}const Ot={o:"_o_1c9e1_1",c:"_c_1c9e1_11"};function _a({title:n,error:_,edit:c=!0,active:d=!0,className:g,placeholder:C,max:R,min:j,onValue:l,icon:h,name:o,value:u,after:k}){let[S,N]=L.useState(u===void 0?new Date:u);const A=L.useRef(null),[$,T]=L.useState(!1);let m=!c&&d;L.useEffect(()=>{N(u===void 0?new Date:u)},[u]);let M=B=>{N(B),l==null||l({value:B,name:o})},z=B=>{const U=B.target.getBoundingClientRect(),O=U.left,P=U.bottom,W=U.top;A.position={x:O,b:P,y:W},T(!0)};const K={};return C&&(K.placeholder=C),m?f.jsx(f.Fragment,{}):f.jsxs(f.Fragment,{children:[h?h():f.jsxs("dl",{"data-field":"date",className:[G.l,g].filter(B=>B!==void 0).join(" "),children:[n?f.jsx("dt",{className:G.t,children:n}):"",f.jsxs("dd",{onClick:z,className:[G.f,G.w].join(" "),...K,"data-edit":(c&&d)+"",children:[ca(S,"dd.mm.yyyy"),k]}),_&&f.jsx("em",{children:_})]}),$&&Rt.createPortal(f.jsx(la,{position:A.position,onValue:M,date:S,max:R,min:j,onOpen:T,className:g},new Date().getTime()),document.body)]})}const la=({date:n,onValue:_,position:c,max:d,min:g,className:C,onOpen:R})=>{let j=new Date,l=new Date(n),h={y:parseInt(j.getFullYear()),d:parseInt(j.getDate()),m:parseInt(j.getMonth())+1},o={y:parseInt(l.getFullYear()),d:parseInt(l.getDate()),m:parseInt(l.getMonth())+1},[u,k]=L.useState({y:o.y,m:o.m}),S=v=>{let b=v.getDay();return b===0&&(b=7),b-1},N=["пн","вт","ср","чт","пт","сб","вс"],A=u.m-1,$=new Date(u.y,A),T=[];for(let v=0;v<S($);v++)T.push(0);for(;$.getMonth()===A;)T.push($.getDate()),$.setDate($.getDate()+1);let m=()=>{R(!1)},M=()=>{B(u.m+1,u.y)},z=()=>{B(u.m-1,u.y)},K=v=>{_(u.y+"-"+Ht(2,u.m)+"-"+Ht(2,v)),m()},B=(v,b)=>{b=v>12?b+1:v<1?b-1:b,v=v>12?1:v<1?12:v,k({y:b,m:v})};const U=v=>h.y===u.y&&h.m===u.m&&h.d===v?{"data-active":"true"}:{},O=v=>o.y===u.y&&o.m===u.m&&o.d===v?{"data-current":"true"}:{},P=v=>{let b=!0;if(d){let I=d.getTime(),Y=new Date(u.y,u.m-1,v).getTime();I<Y&&(b=!1)}if(g){let I=g.getTime(),Y=new Date(u.y,u.m-1,v).getTime();I>Y&&(b=!1)}return b};let W=window.innerHeight-c.y<320?c.y-312:c.b,E=window.innerWidth-c.x<265?c.x-235:c.x;return f.jsxs(f.Fragment,{children:[f.jsx("div",{className:Ot.o,onClick:()=>m()}),f.jsxs("div",{className:[Ot.c,C&&C+"-backdrop"].join(" "),style:{top:W+"px",left:E+"px"},children:[f.jsxs("s",{children:[f.jsx("i",{onClick:z,children:f.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),f.jsxs("h2",{children:[sa(u.m).name," ",u.y]}),f.jsx("i",{onClick:M,children:f.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),f.jsxs("div",{"grid-calendar":"",children:[N.map((v,b)=>f.jsx("p",{children:v},"v"+b)),T.map((v,b)=>f.jsx("span",{children:v!==0&&P(v)?f.jsx("b",{...U(v),...O(v),onClick:()=>K(v),children:v}):f.jsx("p",{...U(v),...O(v),children:v!==0?v:""})},b))]})]})]})};function sa(n){return n=typeof n=="number"?n:new Date(n).getMonth()+1,{1:{val:"01",name:"Январь",names:"Января",abc:"Янв"},2:{val:"02",name:"Февраль",names:"Февраля",abc:"Февр"},3:{val:"03",name:"Март",names:"Марта",abc:"Март"},4:{val:"04",name:"Апрель",names:"Апреля",abc:"Апр"},5:{val:"05",name:"Май",names:"Мая",abc:"Май"},6:{val:"06",name:"Июнь",names:"Июня",abc:"Июнь"},7:{val:"07",name:"Июль",names:"Июля",abc:"Июль"},8:{val:"08",name:"Август",names:"Августа",abc:"Авг"},9:{val:"09",name:"Сентябрь",names:"Сентября",abc:"Сент"},10:{val:"10",name:"Октябрь",names:"Октября",abc:"Окт"},11:{val:"11",name:"Ноябрь",names:"Ноября",abc:"Нояб"},12:{val:"12",name:"Декабрь",names:"Декабря",abc:"Дек"}}[n]}function Ht(n,_){let c=_+"";for(;c.length<n;)c="0"+c;return c}function ca(n,_){_===void 0?(_=n,n=new Date):n=new Date(n);let c={yyyy:n.getFullYear(),yy:(""+n.getFullYear()).slice(-2),mm:("0"+(n.getMonth()+1)).slice(-2),dd:("0"+n.getDate()).slice(-2),HH:("0"+n.getHours()).slice(-2),MM:("0"+n.getMinutes()).slice(-2),SS:("0"+n.getSeconds()).slice(-2),__:"      ",_:"    "};for(const d in c)_=_.replace(d,c[d]);return _}function da({value:n,onValue:_,name:c,error:d,icon:g,edit:C=!0,active:R=!0,title:j,placeholder:l="",className:h}){let[o,u]=L.useState(n);const k=L.useRef(null),[S,N]=L.useState(!1);L.useEffect(()=>{u(n)},[n]);let A=m=>{u(m),_&&_({value:m,name:c})},$=m=>{if(!C||!R)return;const M=m.target.getBoundingClientRect(),z=M.left,K=M.top;k.position={x:z,y:K},N(!0)};const T={};return l&&(T.placeholder=l),g||f.jsxs(f.Fragment,{children:[f.jsxs("dl",{"data-field":"date",className:[G.l,h].filter(m=>m!==void 0).join(" "),children:[j?f.jsx("dt",{className:G.t,children:j}):"",f.jsx("dd",{onClick:$,...T,className:[G.f,G.w].join(" "),children:fa(o,"mm.yyyy")}),d&&f.jsx("em",{children:d})]}),S&&Rt.createPortal(f.jsx(ua,{position:k.position,onValue:A,date:o,onOpen:N},new Date().getTime()),document.body)]})}const ua=({onOpen:n,date:_,onValue:c,position:d})=>{let g=new Date,C=new Date(_),R={y:parseInt(g.getFullYear()),m:parseInt(g.getMonth())+1},j={y:parseInt(C.getFullYear()),m:parseInt(C.getMonth())+1},[l,h]=L.useState(j.y),o=()=>{n(!1)},u=()=>{h(l+1)},k=()=>{h(l-1)},S=m=>{c(l+"-"+pa(2,m)),o()},N=m=>R.y===j.y&&R.m===m?"_FFEB3B":"",A=Array(12).fill("").map((m,M)=>M+1),$=window.innerHeight-d.y+33<320?d.y-312:d.y+33,T=window.innerWidth-d.x<265?d.x-235:d.x;return f.jsxs(f.Fragment,{children:[f.jsx("div",{className:Ot.o,onClick:o}),f.jsxs("div",{className:Ot.c,style:{top:$+"px",left:T+"px"},children:[f.jsxs("s",{children:[f.jsx("i",{onClick:k,children:f.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),f.jsx("h2",{children:l}),f.jsx("i",{onClick:u,children:f.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),f.jsx("div",{"grid-month":"",children:A.map((m,M)=>f.jsx("span",{onClick:()=>{S(m)},color:N(m),children:f.jsx("b",{children:ma(m).abc})},M))})]})]})};function fa(n,_){_===void 0?(_=n,n=new Date):n=new Date(n);let c={yyyy:n.getFullYear(),yy:(""+n.getFullYear()).slice(-2),mm:("0"+(n.getMonth()+1)).slice(-2),dd:("0"+n.getDate()).slice(-2),HH:("0"+n.getHours()).slice(-2),MM:("0"+n.getMinutes()).slice(-2),SS:("0"+n.getSeconds()).slice(-2),__:"      ",_:"    "};for(const d in c)_=_.replace(d,c[d]);return _}function pa(n,_){let c=_+"";for(;c.length<n;)c="0"+c;return c}function ma(n){return n=typeof n=="number"?n:new Date(n).getMonth()+1,{1:{val:"01",name:"Январь",names:"Января",abc:"Янв"},2:{val:"02",name:"Февраль",names:"Февраля",abc:"Февр"},3:{val:"03",name:"Март",names:"Марта",abc:"Март"},4:{val:"04",name:"Апрель",names:"Апреля",abc:"Апр"},5:{val:"05",name:"Май",names:"Мая",abc:"Май"},6:{val:"06",name:"Июнь",names:"Июня",abc:"Июнь"},7:{val:"07",name:"Июль",names:"Июля",abc:"Июль"},8:{val:"08",name:"Август",names:"Августа",abc:"Авг"},9:{val:"09",name:"Сентябрь",names:"Сентября",abc:"Сент"},10:{val:"10",name:"Октябрь",names:"Октября",abc:"Окт"},11:{val:"11",name:"Ноябрь",names:"Ноября",abc:"Нояб"},12:{val:"12",name:"Декабрь",names:"Декабря",abc:"Дек"}}[n]}function ya({value:n,onValue:_,name:c,placeholder:d="",title:g="",error:C="",hide:R=!1,edit:j=!0,active:l=!0,after:h="",show:o=!0,course:u=100,view:k,type:S,onSave:N,className:A="",isClear:$=!1}){let T=!!(R&&(n===""||n===void 0)),m=E=>S==="multi"?E.replace(/[^+\d.+-]/g,""):E.replace(/[^+\d.]/g,""),M=(E,v)=>{let b=document.createRange(),I=window.getSelection();b.setStart(v.childNodes[0],E),b.collapse(!0),I.removeAllRanges(),I.addRange(b),v.focus()},z=E=>{_==null||_({value:m(E.target.textContent)*u,name:c}),E.target.textContent=m(E.target.textContent),E.target.textContent.length>0&&M(E.target.textContent.length,E.target)},K=E=>{re.Blur(E),E.target.textContent===""&&(E.target.textContent=0),N==null||N({value:m(E.target.textContent)*u,name:c}),_==null||_({value:m(E.target.textContent)*u,name:c}),E.target.textContent=Jt(E.target.textContent)},B=E=>{E.target.textContent=m(E.target.textContent)},U=E=>{E.currentTarget.previousElementSibling.textContent="",_==null||_({value:0,name:c})},O=E=>{E.key==="Enter"&&E.preventDefault()},P=E=>{E.preventDefault(),navigator.clipboard.readText().then(v=>{v=v.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,v)}).catch(v=>{})};if(!(j&&l)&&!o||!(j&&l)&&T)return"";const W={};return W.inputMode="decimal",d&&(W.placeholder=d),j&&l&&(W.edit=""),f.jsxs("dl",{"data-field":"date",className:[G.l,A].filter(E=>E!==void 0).join(" "),children:[g?f.jsx("dt",{className:G.t,children:g}):"",f.jsx("dd",{...W,className:[G.f,G.w].join(" "),onInput:z,onPaste:P,onBlur:K,onKeyDown:O,onFocus:B,contentEditable:j&&l?re.ContentEditable:"false",suppressContentEditableWarning:!0,"data-after":h,children:!d||n?Jt(n):""}),$&&f.jsx("svg",{"action-type":"delete",onClick:U,viewBox:"0 0 24 24",children:f.jsx("path",{d:"M17 6L6 17M6 6L17 17"})}),C?f.jsx("em",{children:C}):""]})}function Jt(n,_){return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}const be={};function va(n){const[_,c]=L.useState({}),d=L.useRef(n);return be.u=g=>{d.current={...d.current,[g.name]:g.value}},be.n=g=>{d.current=g,c(Date.now())},be.r=()=>{c(Date.now())},[d.current,be.n]}function ga(n){be.u(n),n.reload&&be.r()}function ha(){be.r&&be.r()}function ba(n){const[_,c]=L.useState({}),d=L.useRef(n);return be.u=g=>{d.current={...d.current,[g.name]:g.value}},be.n=g=>{Object.keys(g).length>0?Object.keys(g).forEach(C=>{d.current[C]=g[C]}):d.current={},c(Date.now())},be.r=()=>{c(Date.now())},[d.current,be.n]}function It(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}It().elcrm||(It().elcrm={}),Object.assign(It().elcrm,{form:Zt.version}),X.Date=_a,X.Mask=na,X.Modal=ta,X.Money=ya,X.Month=da,X.Note=oa,X.Number=aa,X.Options=Vr,X.Password=ra,X.Phone=ia,X.Progress=Qt,X.Select=Xr,X.String=lr,X.runReload=ha,X.setValue=ga,X.useData=va,X.useError=ba,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})});
118
+ <%s key={someKey} {...props} />`,ve,H,ft,H),Ae[H+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;jt.Fragment=d,jt.jsx=dt,jt.jsxs=ut}()),jt}process.env.NODE_ENV==="production"?Nt.exports=qr():Nt.exports=Br();var Ft=Nt.exports;const Lr="_btn_1k1b3_1",Wr="_confirm_1k1b3_15",Ur="_cancel_1k1b3_20",zr="_action_1k1b3_25",Kr="_disabled_1k1b3_30",Yr="_m_1k1b3_44",Gr="_l_1k1b3_48",Ct={btn:Lr,confirm:Wr,cancel:Ur,action:zr,disabled:Kr,await:"_await_1k1b3_37",m:Yr,l:Gr},Hr=({onClick:n,onSend:_,size:c="m",view:d="confirm",children:b,isDisabled:C=!1,className:R,after:j,before:l,label:g,onRef:o,awaitText:u="Ожидайте"})=>{let[k,S]=L.useState(!1);const N=$=>{if(n)return n();k||(_?(S(!0),_(S)):$.preventDefault())};let A={};return(C||k)&&(A.disabled=!0),Ft.jsx("button",{...A,ref:o,className:[Ct.btn,k?Ct.disabled:Ct[d],c&&Ct[c],R].filter($=>$!="").join(" "),onClick:N,children:k?u:Ft.jsxs(Ft.Fragment,{children:[l||""," ",g," ",j||""]})||b})};let ke={};function Jr({children:n}){return J.jsx(J.Fragment,{children:n})}var St;(n=>{function _({import_modules:o}){let[u,k]=L.useState([]);return ke.x=S=>{k(S?u.filter(N=>N.key!==S):[])},L.useEffect(()=>{o&&(ke.i=o)},[]),ke.add=(S,N=Date.now())=>{k([...u,{key:N,item:S}])},J.jsx(J.Fragment,{children:u.map(S=>S.item)})}n.Init=_;function c(o){return o&&(ke.i=o),ke.i}n.Import=c,n.List=Nr,n.Scroll=Fr,n.Form=Mr,n.Center=Ir,n.Column=$r;function d(o,u,k){ke.i?ke.i(`${o}/modal/${u}.tsx`).then(S=>{S.default.Open(k)}):Kt()(`${o}/modal/${u}.tsx`).then(S=>{S.default.Open(k)})}n.Open=d;function b({type:o,name:u,params:k}){let[S,N]=L.useState(null);return L.useEffect(()=>{ke.i?ke.i(`${o}/modal/${u}.tsx`).then(A=>{N(A.default.Icon(k))}):Kt()(`${o}/modal/${u}.tsx`).then(A=>{N(A.default.Icon(k))})},[k.id]),J.jsx(J.Fragment,{children:S})}n.Icon=b;function C(o,u){ke.add(J.jsx(Jr,{children:o},String(Date.now())),u)}n.Add=C;function R(o){ke.x(o)}n.Close=R;function j(o){if(o.target.classList[0]!=="modal")return;let u=o.target.children[0];u.setAttribute("shake",!0),setTimeout(()=>{u.setAttribute("shake",!1)},1e3)}n.Shake=j;function l(o,u){const k=S=>{n.Add(J.jsx(o,{...S},new Date().getTime()))};return{Icon:S=>J.jsx("i",{onClick:()=>k(S),children:u&&J.jsx(u,{})}),Open:k}}n.Create=l;function g({title:o,children:u,button:k,tabs:S,size:N="m",className:A="",shake:$=!0,menu:T}){const[m,M]=L.useState(!0),z=L.useRef(),K=U=>{if(k){if(k.onClick)return U(!1),k.onClick({setOpen:M});if(k.onSend)return k.onSend({setOpen:M,disabled:U})}},B=()=>{if(!$)return M(!1);z.current.setAttribute("shake",!0),setTimeout(()=>{z.current.setAttribute("shake",!1)},1e3)};return m?J.jsxs("div",{className:`${le.modal}`,children:[J.jsx("div",{className:le.o,onClick:B}),J.jsxs("div",{className:[le.w,le[`s${N}`],A].filter(U=>U!="").join(" "),ref:z,children:[J.jsxs("div",{className:le.h,children:[J.jsx("div",{className:le.t,children:o}),J.jsxs("div",{className:le.m,children:[S&&J.jsx("nav",{children:S.map((U,O)=>J.jsx("span",{onClick:U.onClick,className:U.active?"active":"",children:U.name},O))}),T]}),J.jsx("div",{className:le.x,onClick:()=>{M(!1)},children:J.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:J.jsx("path",{d:"M20 5L5 20M5 5L20 20",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),u,k&&J.jsx("div",{className:le.b,children:J.jsx(Hr,{label:k.label,onSend:K,className:le.btn,size:k.size})})]})]}):""}n.Main=g})(St||(St={}));const Zr=(n,_=",")=>(n=n!==void 0&&n!==""?n.split(_):[],n.filter(c=>c!=="").reduce((c,d)=>(c[d]=!0,c),{}));function Vr({value:n,onValue:_,name:c,placeholder:d="",separator:b=",",title:C,error:R,hide:j=!1,edit:l=!0,active:g=!0,outFormat:o="object",after:u="",modal:k,options:S,className:N}){const[A,$]=L.useState(Zr(n,b)),T=M=>{if(!(l&&g)||!k)return;let z=k.split(".");St.Open(z[0],z[1],{callback:K=>{if(_)switch(o){case"array":_({value:Object.keys(K),name:c});break;case"string":_({value:Object.keys(K).filter(B=>K[B]).join(b),name:c});break;default:_({value:K,name:c})}$(Object.fromEntries(Object.entries(K).filter(([B,U])=>U!==!1)))},onValue:_,options:S,name:c,value:A})},m={};return d&&(m.placeholder=d),j?f.jsx(f.Fragment,{}):f.jsxs("dl",{"data-field":"group",className:[G.l,N].filter(M=>M!==void 0).join(" "),children:[C?f.jsx("dt",{className:G.t,children:C}):"",f.jsx("dd",{...m,className:G.f,onClick:T,edit:(l&&g)+"",children:Object.keys(A).map(M=>{var z;return f.jsx("div",{children:(z=S[M])==null?void 0:z.label},M)})}),R&&f.jsx("em",{children:R})]})}const Et={o:"_o_1wehm_12",l:"_l_1wehm_22",i:"_i_1wehm_72",f:"_f_1wehm_81"};function Xr({title:n,error:_,edit:c=!0,active:d=!0,hide:b,value:C=0,onValue:R,options:j,placeholder:l="",className:g,isIcon:o=!0,name:u,after:k,view:S,order:N,isReload:A=!1}){var E,v;const $=L.useRef(null),[T,m]=L.useState(C),[M,z]=L.useState(j),[K,B]=L.useState(!1);L.useEffect(()=>{m(C),z(j)},[C,j]),b=!!(b&&(C===0||((E=M==null?void 0:M[C])==null?void 0:E.n)===void 0))&&!(c&&d);let O=h=>{m(h),R&&R({value:h,name:u,reload:A})},W={onClick:h=>{Object.keys(M||{}).length!==0&&c&&d&&($.position=h.target.getBoundingClientRect(),B(!0))}};return l&&(W.placeholder=l),k&&(W.after=k),c&&d&&(W.edit=""),b?"":f.jsxs(f.Fragment,{children:[f.jsxs("dl",{"data-field":"select",className:[G.l,g].filter(h=>h!==void 0).join(" "),children:[n&&f.jsx("dt",{className:G.t,children:n}),f.jsx("dd",{...W,className:[G.f,Et.f].join(" "),ref:$,children:(v=M==null?void 0:M[T])==null?void 0:v.n}),Object.keys(M||{}).length!==0&&o&&f.jsx("svg",{className:Et.i,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"m5.25 8.625 6.75 6.75 6.75-6.75"})}),_&&f.jsx("em",{children:_})]}),K&&Rt.createPortal(f.jsx(Qr,{parent:$.position,onValue:O,view:S,className:g,options:M,order:N,setOpen:B},new Date().getTime()),document.body)]})}const Qr=({onValue:n,parent:_,className:c,options:d,order:b,setOpen:C})=>{let R=()=>{C(!1)},j=o=>{C(!1),n(o)},l=window.innerHeight-_.y+_.height<320?_.y-312:_.y+33,g=window.innerWidth-_.x<265?_.x-235:_.x;return f.jsxs(f.Fragment,{children:[f.jsx("div",{className:Et.o,onClick:R},new Date().getTime()),f.jsx("div",{className:[Et.l,c].filter(o=>o!==void 0).join(" "),style:{top:l+"px",left:g+"px",width:_.width},children:f.jsx(ea,{order:b,options:d,link:j})})]})},ea=({order:n,options:_,link:c})=>n?f.jsx("ul",{children:n.map((d,b)=>_[d].s!==0?f.jsx("li",{onClick:()=>{c(d)},children:_[d].n},b):"")}):f.jsx("ul",{children:Object.keys(_).map((d,b)=>_[d].s!==0?f.jsx("li",{onClick:()=>{c(d)},children:_[d].n},b):"")});function ta({value:n,onValue:_,name:c,placeholder:d="",title:b,error:C,hide:R=!1,edit:j=!0,show:l=!0,active:g=!0,after:o="",view:u,modal:k,module:S,options:N,className:A}){let[$,T]=L.useState(n),m=K=>{if(!(j&&g)||!k)return;let B=k.split(".");St.Open(B[0],B[1],{callback:U=>{_&&_({value:U,name:c}),T(U)},onValue:_,options:N,name:c,value:n})};const M={};M.field="input",A&&(M.className=A);const z={};return d&&(z.placeholder=d),R?f.jsx(f.Fragment,{}):f.jsxs("dl",{...M,children:[b&&f.jsx("dt",{children:b}),f.jsx("dd",{...z,onClick:m,edit:(j&&g)+"","data-after":o,children:$}),C&&f.jsx("em",{children:C})]})}function ra({value:n,onValue:_,onSave:c,name:d,placeholder:b="",className:C,title:R,error:j,edit:l=!0,active:g=!0,reload:o=!1,native:u=!1,isShow:k=!1,maxLength:S,eyes:N=[],after:A=""}){const[$,T]=L.useState(k);let m=O=>{_&&_({value:O.target.textContent,name:d,reload:o})},M=O=>{O.key==="Enter"&&O.preventDefault()},z=O=>{O.preventDefault(),navigator.clipboard.readText().then(P=>{if(S){let W=O.target.textContent.length;if(W>=S)return;S-=W,P=P.slice(0,S)}window.document.execCommand("insertText",!1,P.replace(/(\r\n|\n|\r)/gm," "))}).catch(P=>{})},K=O=>{re.Blur(O),c==null||c({value:O.target.textContent.trim(),name:d})};const B={};B.field="password",$&&(B.show=""),C&&(B.className=C);const U={};return b&&(U.placeholder=b),u?"":f.jsxs("dl",{...B,children:[R?f.jsx("dt",{children:R}):"",f.jsx("dd",{onPaste:z,onInput:m,onKeyDown:M,onBlur:K,contentEditable:l&&g?re.ContentEditable:"false",...U,suppressContentEditableWarning:!0,children:n}),N[0]&&f.jsx("i",{onClick:()=>T(!$),children:$?N[1]:N[0]}),A,j?f.jsx("em",{children:j}):""]})}function aa({onValue:n,onSave:_,active:c,max:d,edit:b,title:C,error:R,show:j,hide:l,value:g,placeholder:o,className:u,maxLength:k,name:S,after:N="",before:A="",view:$}){b=b!==void 0?b:!0,c=c!==void 0?c:!0,l=!!(l&&(g===""||g===void 0))&&!(b&&c),o=o!==void 0?o:"",d=d!==void 0?d:99;let m=!1,M=P=>{n==null||n({value:P.target.textContent,name:S})},z=P=>{if(!(m&&P.which===86)){if(P.which===17||P.which===91)return m=!0;P.key!=="Backspace"&&(P.target.textContent.length===d&&P.preventDefault(),P.key==="Enter"&&P.preventDefault(),isNaN(P.key)&&P.preventDefault())}},K=P=>{if(P.which===17||P.which===91)return m=!1},B=P=>{P.preventDefault(),navigator.clipboard.readText().then(W=>{if(W=W.replace(/(?!^\+|\d)./g,""),k){let E=P.target.textContent.length;if(E>=k)return;k-=E,W=W.slice(0,k)}window.document.execCommand("insertText",!1,""+W)}).catch(W=>{})};const U=P=>{re.Blur(P),_==null||_({value:P.target.textContent,name:S})};let O={};return b&&c?(O.edit="true",O.contentEditable=re.ContentEditable):O.contentEditable="false",O.inputMode="decimal",o&&(O.placeholder=o),l?f.jsx(f.Fragment,{}):f.jsxs("dl",{"data-field":"input",className:[G.l,u].filter(P=>P!==void 0).join(" "),children:[C?f.jsx("dt",{className:G.t,children:C}):"",A,f.jsx("dd",{className:[G.f,G.w].join(" "),onPaste:B,onInput:M,onBlur:U,onKeyDown:z,onKeyUp:K,suppressContentEditableWarning:!0,...O,children:g}),N,R&&f.jsx("em",{children:R})]})}function na({value:n="",onValue:_,onSave:c,name:d,format:b="+_(___) ___-__-__",placeholder:C="",title:R="",error:j="",hide:l=!1,edit:g=!0,active:o=!0,after:u="",show:k=!0,view:S,className:N=""}){g=g!==void 0?g:!0,o=o!==void 0?o:!0,l=!!(l&&(n===""||n===void 0))&&!(g&&o),L.useRef(null);let $=b,T=!0,m=0,M=(v,h)=>{let I=document.createRange(),Y=window.getSelection();I.setStart(h.childNodes[0],v),I.collapse(!0),Y.removeAllRanges(),Y.addRange(I),h.focus()},z=v=>{v.preventDefault(),navigator.clipboard.readText().then(h=>{window.document.execCommand("insertText",!1,h)}).catch(h=>{})},K=v=>{let h=0,I="",Y=v.replace(/\D/g,"");Y===""&&(T=!0);let te=Y.split(""),_e="";te.forEach(ge=>{T&&(_e+=ge,T&&(m=(""+_e).length,$=b.replace(new RegExp("[0-9]","g"),"_"),I=""),m>(""+_e).length&&(T=!0,$=b.replace(new RegExp("[0-9]","g"),"_"),I=""))});let se=$.replace(/\D/g,"");return se.length>=Y.length&&(Y=se),{q:$.replace(/[_\d]/g,function(){return Y.charAt(h++)||"_"}),i:h,v:Y,f:I}},B=v=>{v.preventDefault(),navigator.clipboard.writeText(v.target.textContent.replace(/\D/g,"")).then(function(){xt.Copy("Данные в буфер обмене")},function(h){})},U=K(n),O=v=>{let h=K(v.target.textContent);v.target.textContent=h.q,h.i=h.q.lastIndexOf(h.v.substr(-1)),h.i<h.q.length&&h.q!==$?h.i++:h.i=h.q.indexOf("_"),M(h.i,v.target),_&&_({value:h.q.replace(/\D/g,""),name:d})},P=v=>{v.key==="Enter"&&v.preventDefault()};const W=v=>{re.Blur(v),c&&c({value:v.target.textContent.replace(/\D/g,""),name:d})};let E={};return g&&o?(E.edit="true",E.contentEditable=re.ContentEditable):E.contentEditable="false",C&&(E.placeholder=C),u&&(E.after=u),l?f.jsx(f.Fragment,{}):f.jsxs("dl",{"data-field":"input",className:[G.l,N].filter(v=>v!==void 0).join(" "),children:[R?f.jsx("dt",{className:G.t,children:R}):"",f.jsx("dd",{className:[G.f,G.w].join(" "),onPaste:z,onInput:O,onKeyDown:P,onContextMenu:B,onBlur:W,suppressContentEditableWarning:!0,...E,children:U.q}),j&&f.jsx("em",{children:j})]})}function oa({id:n,value:_,onValue:c,name:d,placeholder:b="",title:C="",error:R="",hide:j=!1,edit:l=!0,active:g=!0,after:o="",show:u=!0,maxLength:k,view:S,onSave:N,className:A="",isCopy:$=!0}){let[T,m]=L.useState(!1);T=l?!0:T;let M=O=>{c==null||c({value:O.target.innerText,name:d})},z=O=>{k&&O.target.textContent.trim().length>=k&&O.key!=="Backspace"&&O.preventDefault(),O.key==="Enter"&&O.preventDefault()},K=O=>{O.preventDefault(),navigator.clipboard.readText().then(P=>{if(k){let W=O.target.textContent.length;if(W>=k)return;k-=W,P=P.slice(0,k)}window.document.execCommand("insertText",!1,P.replace(/(\r\n|\n|\r)/gm," "))}).catch(P=>{})};if(j)return f.jsx(f.Fragment,{});if(!(l&&g)&&!u)return"";const B={};b&&(B.placeholder=b),l&&g&&(B.edit=""),T&&(B.open="");const U=O=>{re.Blur(O),N==null||N({value:O.target.textContent.trim(),name:d})};return f.jsxs("dl",{"data-field":"note",className:[G.l,A].filter(O=>O!==void 0).join(" "),children:[C?f.jsx("dt",{className:G.t,children:C}):"",f.jsx("dd",{className:[G.f,G.n].join(" "),onPaste:K,onInput:M,onBlur:U,onKeyDown:z,contentEditable:l&&g?re.ContentEditable:"false",suppressContentEditableWarning:!0,...B,children:_}),o,R?f.jsx("em",{children:R}):""]})}const Mt={0:{name:"Heard Island and Mcdonald Islands",dial_code:"+0",code:"HM",mask:"+0(___) ___-__-__"},1:{name:"United States",dial_code:"+1",code:"US",mask:"+1(___) ___-__-__"},7:{name:"Russia",dial_code:"+7",code:"RU",mask:"+7(___) ___-__-__"},20:{name:"Egypt",dial_code:"+20",code:"EG",mask:"+20(___) ___-__-__"},27:{name:"South Africa",dial_code:"+27",code:"ZA",mask:"+27(___) __-__-__"},30:{name:"Greece",dial_code:"+30",code:"GR",mask:"+30(___) ___-__-__"},31:{name:"Netherlands",dial_code:"+31",code:"NL",mask:"+31(___) __-__-__"},32:{name:"Belgium",dial_code:"+32",code:"BE",mask:"+32(___) __-__-__"},33:{name:"France",dial_code:"+33",code:"FR",mask:"+33(___) __-__-__"},34:{name:"Spain",dial_code:"+34",code:"ES",mask:"+34(___) __-__-__"},36:{name:"Hungary",dial_code:"+36",code:"HU",mask:"+36(___) __-__-__"},39:{name:"Italy",dial_code:"+39",code:"IT",mask:"+39(___) ___-__-__"},40:{name:"Romania",dial_code:"+40",code:"RO",mask:"+40(___) __-__-__"},41:{name:"Switzerland",dial_code:"+41",code:"CH",mask:"+41(___) __-__-__"},43:{name:"Austria",dial_code:"+43",code:"AT",mask:"+43(__) ___-__-__"},44:{name:"United Kingdom",dial_code:"+44",code:"GB",mask:"+44(___) ___-__-__"},45:{name:"Denmark",dial_code:"+45",code:"DK",mask:"+45(__) __-__-__"},46:{name:"Sweden",dial_code:"+46",code:"SE",mask:"+46(___) __-__-__"},47:{name:"Svalbard and Jan Mayen",dial_code:"+47",code:"SJ",mask:"+47(__) __-__-__"},48:{name:"Poland",dial_code:"+48",code:"PL",mask:"+48(__) __-__-__"},49:{name:"Germany",dial_code:"+49",code:"DE",mask:"+49(___) ___-__-__"},51:{name:"Peru",dial_code:"+51",code:"PE",mask:"+51(___) __-__-__"},52:{name:"Mexico",dial_code:"+52",code:"MX",mask:"+52(__-__) ___-__-__"},53:{name:"Cuba",dial_code:"+53",code:"CU",mask:"+53(__) __-__-__"},54:{name:"Argentina",dial_code:"+54",code:"AR",mask:"+54(__-__) ___-__-__"},55:{name:"Brazil",dial_code:"+55",code:"BR",mask:"+55(___) ___-__-__"},56:{name:"Chile",dial_code:"+56",code:"CL",mask:"+56(___) __-__-__"},57:{name:"Colombia",dial_code:"+57",code:"CO",mask:"+57(___) ___-__-__"},58:{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",code:"VE",mask:"+58(___) ___-__-__"},60:{name:"Malaysia",dial_code:"+60",code:"MY",mask:"+60(___) __-__-__"},61:{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC",mask:"+61(___) ___-__-__"},62:{name:"Indonesia",dial_code:"+62",code:"ID",mask:"+62(___) __-__-__"},63:{name:"Philippines",dial_code:"+63",code:"PH",mask:"+63(___) ___-__-__"},64:{name:"Pitcairn",dial_code:"+64",code:"PN",mask:"+64(___) __-__-__"},65:{name:"Singapore",dial_code:"+65",code:"SG",mask:"+65(__) __-__-__"},66:{name:"Thailand",dial_code:"+66",code:"TH",mask:"+66(___) __-__-__"},77:{name:"Kazakhstan",dial_code:"+77",code:"KZ",mask:"+77(__) ___-__-__"},81:{name:"Japan",dial_code:"+81",code:"JP",mask:"+81(___) ___-__-__"},82:{name:"Korea, Republic of South Korea",dial_code:"+82",code:"KR",mask:"+82(___) ___-__-__"},84:{name:"Vietnam",dial_code:"+84",code:"VN",mask:"+84(___) __-__-__"},86:{name:"China",dial_code:"+86",code:"CN",mask:"+86(__-__) ___-__-__"},90:{name:"Turkey",dial_code:"+90",code:"TR",mask:"+90(___) ___-__-__"},91:{name:"India",dial_code:"+91",code:"IN",mask:"+91(___) ___-__-__"},92:{name:"Pakistan",dial_code:"+92",code:"PK",mask:"+92(___) ___-__-__"},93:{name:"Afghanistan",dial_code:"+93",code:"AF",mask:"+93(__) ___-__-__"},94:{name:"Sri Lanka",dial_code:"+94",code:"LK",mask:"+94(___) __-__-__"},95:{name:"Myanmar",dial_code:"+95",code:"MM",mask:"+95(___) ___-__-__"},98:{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",code:"IR",mask:"+98(___) ___-__-__"},211:{name:"South Sudan",dial_code:"+211",code:"SS",mask:"+211(___) ___-__-__"},212:{name:"Morocco",dial_code:"+212",code:"MA",mask:"+212(___) __-__-__"},213:{name:"Algeria",dial_code:"+213",code:"DZ",mask:"+213(__) ___-__-__"},216:{name:"Tunisia",dial_code:"+216",code:"TN",mask:"+216(__) __-__-__"},218:{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY",mask:"+218(___) ___-__-__"},220:{name:"Gambia",dial_code:"+220",code:"GM",mask:"+220(___) __-__"},221:{name:"Senegal",dial_code:"+221",code:"SN",mask:"+221(___) __-__-__"},222:{name:"Mauritania",dial_code:"+222",code:"MR",mask:"+222(__) __-__-__"},223:{name:"Mali",dial_code:"+223",code:"ML",mask:"+223(__) __-__-__"},224:{name:"Guinea",dial_code:"+224",code:"GN",mask:"+224(__) __-__-__"},225:{name:"Cote d'Ivoire",dial_code:"+225",code:"CI",mask:"+225(__) __-__-__"},226:{name:"Burkina Faso",dial_code:"+226",code:"BF",mask:"+226(__) __-__-__"},227:{name:"Niger",dial_code:"+227",code:"NE",mask:"+227(__) __-__-__"},228:{name:"Togo",dial_code:"+228",code:"TG",mask:"+228(__) __-__-__"},229:{name:"Benin",dial_code:"+229",code:"BJ",mask:"+229(__) __-__-__"},230:{name:"Mauritius",dial_code:"+230",code:"MU",mask:"+230(___) __-__"},231:{name:"Liberia",dial_code:"+231",code:"LR",mask:"+231(___) __-__"},232:{name:"Sierra Leone",dial_code:"+232",code:"SL",mask:"+232(__) __-__-__"},233:{name:"Ghana",dial_code:"+233",code:"GH",mask:"+233(___) __-__-__"},234:{name:"Nigeria",dial_code:"+234",code:"NG",mask:"+234(___) ___-__-__"},235:{name:"Chad",dial_code:"+235",code:"TD",mask:"+235(__) __-__-__"},236:{name:"Central African Republic",dial_code:"+236",code:"CF",mask:"+236(__) __-__-__"},237:{name:"Cameroon",dial_code:"+237",code:"CM",mask:"+237(__) __-__-__"},238:{name:"Cape Verde",dial_code:"+238",code:"CV",mask:"+238(___) __-__"},239:{name:"Sao Tome and Principe",dial_code:"+239",code:"ST",mask:"+239(___) ___-__-__"},240:{name:"Equatorial Guinea",dial_code:"+240",code:"GQ",mask:"+240(___) __-__-__"},241:{name:"Gabon",dial_code:"+241",code:"GA",mask:"+241(__) __-__-__"},242:{name:"Congo",dial_code:"+242",code:"CG",mask:"+242(___) __-__-__"},243:{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",code:"CD",mask:"+243(___) ___-__-__"},244:{name:"Angola",dial_code:"+244",code:"AO",mask:"+244(__) ___-__-__"},245:{name:"Guinea-Bissau",dial_code:"+245",code:"GW",mask:"+245(___) __-__"},246:{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO",mask:"+246(___) ___-__-__"},248:{name:"Seychelles",dial_code:"+248",code:"SC",mask:"+248(___) ___-__-__"},249:{name:"Sudan",dial_code:"+249",code:"SD",mask:"+249(___) __-__-__"},250:{name:"Rwanda",dial_code:"+250",code:"RW",mask:"+250(___) __-__-__"},251:{name:"Ethiopia",dial_code:"+251",code:"ET",mask:"+251(___) __-__-__"},252:{name:"Somalia",dial_code:"+252",code:"SO",mask:"+252(___) ___-__-__"},253:{name:"Djibouti",dial_code:"+253",code:"DJ",mask:"+253(___) ___-__-__"},254:{name:"Kenya",dial_code:"+254",code:"KE",mask:"+254(___) __-__-__"},255:{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",code:"TZ",mask:"+255(___) __-__-__"},256:{name:"Uganda",dial_code:"+256",code:"UG",mask:"+256(___) __-__-__"},257:{name:"Burundi",dial_code:"+257",code:"BI",mask:"+257(__) __-__-__"},258:{name:"Mozambique",dial_code:"+258",code:"MZ",mask:"+258(___) __-__-__"},260:{name:"Zambia",dial_code:"+260",code:"ZM",mask:"+260(___) __-__-__"},261:{name:"Madagascar",dial_code:"+261",code:"MG",mask:"+261(___) __-__-__"},262:{name:"Reunion",dial_code:"+262",code:"RE",mask:"+262(___) __-__-__"},263:{name:"Zimbabwe",dial_code:"+263",code:"ZW",mask:"+263(___) __-__-__"},264:{name:"Namibia",dial_code:"+264",code:"NA",mask:"+264(___) __-__-__"},265:{name:"Malawi",dial_code:"+265",code:"MW",mask:"+265(___) __-__-__"},266:{name:"Lesotho",dial_code:"+266",code:"LS",mask:"+266(__) __-__-__"},267:{name:"Botswana",dial_code:"+267",code:"BW",mask:"+267(__) __-__-__"},268:{name:"Swaziland",dial_code:"+268",code:"SZ",mask:"+268(___) ___-__-__"},269:{name:"Comoros",dial_code:"+269",code:"KM",mask:"+269(___) __-__"},290:{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",code:"SH",mask:"+290(___) ___-__-__"},291:{name:"Eritrea",dial_code:"+291",code:"ER",mask:"+291(___) ___-__-__"},297:{name:"Aruba",dial_code:"+297",code:"AW",mask:"+297(_) __-__-__"},298:{name:"Faroe Islands",dial_code:"+298",code:"FO",mask:"+298(__) __-__"},299:{name:"Greenland",dial_code:"+299",code:"GL",mask:"+299(__) __-__"},345:{name:"Cayman Islands",dial_code:"+ 345",code:"KY",mask:"+345(___) ___-__-__"},350:{name:"Gibraltar",dial_code:"+350",code:"GI",mask:"+350(__) __-__-__"},351:{name:"Portugal",dial_code:"+351",code:"PT",mask:"+351(___) __-__-__"},352:{name:"Luxembourg",dial_code:"+352",code:"LU",mask:"+352(___) __-__-__"},353:{name:"Ireland",dial_code:"+353",code:"IE",mask:"+353(___) __-__-__"},354:{name:"Iceland",dial_code:"+354",code:"IS",mask:"+354(___) __-__"},355:{name:"Albania",dial_code:"+355",code:"AL",mask:"+355(__) ___-__-__"},356:{name:"Malta",dial_code:"+356",code:"MT",mask:"+356(__) __-__-__"},357:{name:"Cyprus",dial_code:"+357",code:"CY",mask:"+357(__) __-__-__"},358:{name:"Finland",dial_code:"+358",code:"FI",mask:"+358(___) __-__-__"},359:{name:"Bulgaria",dial_code:"+359",code:"BG",mask:"+359(___) __-__-__"},370:{name:"Lithuania",dial_code:"+370",code:"LT",mask:"+370(_) ___-__-__"},371:{name:"Latvia",dial_code:"+371",code:"LV",mask:"+371(__) __-__-__"},372:{name:"Estonia",dial_code:"+372",code:"EE",mask:"+372(__) __-__-__"},373:{name:"Moldova",dial_code:"+373",code:"MD",mask:"+373(__) __-__-__"},374:{name:"Armenia",dial_code:"+374",code:"AM",mask:"+374(_) ___-__-__"},375:{name:"Belarus",dial_code:"+375",code:"BY",mask:"+375(__) ___-__-__"},376:{name:"Andorra",dial_code:"+376",code:"AD",mask:"+376(_) _-__-__"},377:{name:"Monaco",dial_code:"+377",code:"MC",mask:"+377(___) __-__-__"},378:{name:"San Marino",dial_code:"+378",code:"SM",mask:"+378(__) __-__-__"},379:{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA",mask:"+379(___) ___-__-__"},380:{name:"Ukraine",dial_code:"+380",code:"UA",mask:"+380(__) ___-__-__"},381:{name:"Serbia",dial_code:"+381",code:"RS",mask:"+381(__) __-__-__"},382:{name:"Montenegro",dial_code:"+382",code:"ME",mask:"+382(___) ___-__-__"},383:{name:"Kosovo",dial_code:"+383",code:"XK",mask:"+383(___) __-__"},385:{name:"Croatia",dial_code:"+385",code:"HR",mask:"+385(__) __-__-__"},386:{name:"Slovenia",dial_code:"+386",code:"SI",mask:"+386(__) __-__-__"},387:{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA",mask:"+387(__) __-__-__"},389:{name:"Macedonia",dial_code:"+389",code:"MK",mask:"+389(__) __-__-__"},420:{name:"Czech Republic",dial_code:"+420",code:"CZ",mask:"+420(___) __-__-__"},421:{name:"Slovakia",dial_code:"+421",code:"SK",mask:"+421(___) __-__-__"},423:{name:"Liechtenstein",dial_code:"+423",code:"LI",mask:"+423(___) __-__-__"},500:{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",code:"GS",mask:"+500(___) ___-__-__"},501:{name:"Belize",dial_code:"+501",code:"BZ",mask:"+501(___) __-__"},502:{name:"Guatemala",dial_code:"+502",code:"GT",mask:"+502(__) __-__-__"},503:{name:"El Salvador",dial_code:"+503",code:"SV",mask:"+503(__) __-__-__"},504:{name:"Honduras",dial_code:"+504",code:"HN",mask:"+504(__) __-__-__"},505:{name:"Nicaragua",dial_code:"+505",code:"NI",mask:"+505(__) __-__-__"},506:{name:"Costa Rica",dial_code:"+506",code:"CR",mask:"+506(__) __-__-__"},507:{name:"Panama",dial_code:"+507",code:"PA",mask:"+507(__) __-__-__"},508:{name:"Saint Pierre and Miquelon",dial_code:"+508",code:"PM",mask:"+508(___) ___-__-__"},509:{name:"Haiti",dial_code:"+509",code:"HT",mask:"+509(__) __-__-__"},590:{name:"Saint Martin",dial_code:"+590",code:"MF",mask:"+590(___) __-__-__"},591:{name:"Bolivia, Plurinational State of bolivia",dial_code:"+591",code:"BO",mask:"+591(__) __-__-__"},592:{name:"Guyana",dial_code:"+592",code:"GY",mask:"+592(___) ___-__-__"},593:{name:"Ecuador",dial_code:"+593",code:"EC",mask:"+593(___) __-__-__"},594:{name:"French Guiana",dial_code:"+594",code:"GF",mask:"+594(___) __-__-__"},595:{name:"Paraguay",dial_code:"+595",code:"PY",mask:"+595(___) __-__-__"},596:{name:"Martinique",dial_code:"+596",code:"MQ",mask:"+596(___) __-__-__"},597:{name:"Suriname",dial_code:"+597",code:"SR",mask:"+597(___) __-__"},598:{name:"Uruguay",dial_code:"+598",code:"UY",mask:"+598(__) __-__-__"},599:{name:"Netherlands Antilles",dial_code:"+599",code:"AN",mask:"+599(__) __-__-__"},670:{name:"Timor-Leste",dial_code:"+670",code:"TL",mask:"+670(__) __-__-__"},672:{name:"Norfolk Island",dial_code:"+672",code:"NF",mask:"+672(___) ___-__-__"},673:{name:"Brunei Darussalam",dial_code:"+673",code:"BN",mask:"+673(___) __-__"},674:{name:"Nauru",dial_code:"+674",code:"NR",mask:"+674(___) __-__"},675:{name:"Papua New Guinea",dial_code:"+675",code:"PG",mask:"+675(___) __-__"},676:{name:"Tonga",dial_code:"+676",code:"TO",mask:"+676(___) __-__"},677:{name:"Solomon Islands",dial_code:"+677",code:"SB",mask:"+677(___) __-__"},678:{name:"Vanuatu",dial_code:"+678",code:"VU",mask:"+678(___) __-__"},679:{name:"Fiji",dial_code:"+679",code:"FJ",mask:"+679(___) __-__"},680:{name:"Palau",dial_code:"+680",code:"PW",mask:"+680(___) ___-__-__"},681:{name:"Wallis and Futuna",dial_code:"+681",code:"WF",mask:"+681(___) ___-__-__"},682:{name:"Cook Islands",dial_code:"+682",code:"CK",mask:"+682(_) __-__"},683:{name:"Niue",dial_code:"+683",code:"NU",mask:"+683(___) ___-__-__"},685:{name:"Samoa",dial_code:"+685",code:"WS",mask:"+685(__) __-__"},686:{name:"Kiribati",dial_code:"+686",code:"KI",mask:"+686(___) ___-__-__"},687:{name:"New Caledonia",dial_code:"+687",code:"NC",mask:"+687(__) __-__"},688:{name:"Tuvalu",dial_code:"+688",code:"TV",mask:"+688(___) ___-__-__"},689:{name:"French Polynesia",dial_code:"+689",code:"PF",mask:"+689(__) __-__"},690:{name:"Tokelau",dial_code:"+690",code:"TK",mask:"+690(___) ___-__-__"},691:{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",code:"FM",mask:"+691(___) ___-__-__"},692:{name:"Marshall Islands",dial_code:"+692",code:"MH",mask:"+692(___) ___-__-__"},850:{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",code:"KP",mask:"+850(___) ___-__-__"},852:{name:"Hong Kong",dial_code:"+852",code:"HK",mask:"+852(__) __-__-__"},853:{name:"Macao",dial_code:"+853",code:"MO",mask:"+853(__) __-__-__"},855:{name:"Cambodia",dial_code:"+855",code:"KH",mask:"+855(__) __-__-__"},856:{name:"Laos",dial_code:"+856",code:"LA",mask:"+856(___) ___-__-__"},880:{name:"Bangladesh",dial_code:"+880",code:"BD",mask:"+880(___) ___-__-__"},886:{name:"Taiwan",dial_code:"+886",code:"TW",mask:"+886(___) __-__-__"},960:{name:"Maldives",dial_code:"+960",code:"MV",mask:"+960(___) __-__"},961:{name:"Lebanon",dial_code:"+961",code:"LB",mask:"+961(__) __-__-__"},962:{name:"Jordan",dial_code:"+962",code:"JO",mask:"+962(___) __-__-__"},963:{name:"Syrian Arab Republic",dial_code:"+963",code:"SY",mask:"+963(___) __-__-__"},964:{name:"Iraq",dial_code:"+964",code:"IQ",mask:"+964(___) ___-__-__"},965:{name:"Kuwait",dial_code:"+965",code:"KW",mask:"+965(__) __-__-__"},966:{name:"Saudi Arabia",dial_code:"+966",code:"SA",mask:"+966(___) __-__-__"},967:{name:"Yemen",dial_code:"+967",code:"YE",mask:"+967(___) __-__-__"},968:{name:"Oman",dial_code:"+968",code:"OM",mask:"+968(__) __-__-__"},970:{name:"Palestinian Territory, Occupied",dial_code:"+970",code:"PS",mask:"+970(___) __-__-__"},971:{name:"United Arab Emirates",dial_code:"+971",code:"AE",mask:"+971(___) __-__-__"},972:{name:"Israel",dial_code:"+972",code:"IL",mask:"+972(___) __-__-__"},973:{name:"Bahrain",dial_code:"+973",code:"BH",mask:"+973(__) __-__-__"},974:{name:"Qatar",dial_code:"+974",code:"QA",mask:"+974(__) __-__-__"},975:{name:"Bhutan",dial_code:"+975",code:"BT",mask:"+975(__) __-__-__"},976:{name:"Mongolia",dial_code:"+976",code:"MN",mask:"+976(__) __-__-__"},977:{name:"Nepal",dial_code:"+977",code:"NP",mask:"+977(___) ___-__-__"},992:{name:"Tajikistan",dial_code:"+992",code:"TJ",mask:"+992(___) __-__-__"},993:{name:"Turkmenistan",dial_code:"+993",code:"TM",mask:"+993(__) __-__-__"},994:{name:"Azerbaijan",dial_code:"+994",code:"AZ",mask:"+994(__) ___-__-__"},995:{name:"Georgia",dial_code:"+995",code:"GE",mask:"+995(___) __-__-__"},996:{name:"Kyrgyzstan",dial_code:"+996",code:"KG",mask:"+996(___) __-__-__"},998:{name:"Uzbekistan",dial_code:"+998",code:"UZ",mask:"+998(___) __-__-__"},1242:{name:"Bahamas",dial_code:"+1242",code:"BS",mask:"+1242(___) __-__"},1246:{name:"Barbados",dial_code:"+1246",code:"BB",mask:"+1246(___) __-__"},1264:{name:"Anguilla",dial_code:"+1264",code:"AI",mask:"+1264(___) ___-__-__"},1268:{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG",mask:"+1268(_) __-__"},1284:{name:"Virgin Islands, British",dial_code:"+1284",code:"VG",mask:"+1284(___) __-__"},1340:{name:"Virgin Islands, U.S.",dial_code:"+1340",code:"VI",mask:"+1340(___) ___-__-__"},1441:{name:"Bermuda",dial_code:"+1441",code:"BM",mask:"+1441(___) __-__"},1473:{name:"Grenada",dial_code:"+1473",code:"GD",mask:"+1473(___) __-__"},1649:{name:"Turks and Caicos Islands",dial_code:"+1649",code:"TC",mask:"+1649(___) ___-__-__"},1664:{name:"Montserrat",dial_code:"+1664",code:"MS",mask:"+1664(___) ___-__-__"},1670:{name:"Northern Mariana Islands",dial_code:"+1670",code:"MP",mask:"+1670(___) ___-__-__"},1671:{name:"Guam",dial_code:"+1671",code:"GU",mask:"+1671(___) ___-__-__"},1684:{name:"American Samoa",dial_code:"+1684",code:"AS",mask:"+1684(___) ___-__-__"},1758:{name:"Saint Lucia",dial_code:"+1758",code:"LC",mask:"+1758(___) __-__"},1767:{name:"Dominica",dial_code:"+1767",code:"DM",mask:"+1767(___) __-__"},1784:{name:"Saint Vincent and the Grenadines",dial_code:"+1784",code:"VC",mask:"+1784(___) __-__"},1849:{name:"Dominican Republic",dial_code:"+1849",code:"DO",mask:"+1849(___) ___-__-__"},1868:{name:"Trinidad and Tobago",dial_code:"+1868",code:"TT",mask:"+1868(___) __-__"},1869:{name:"Saint Kitts and Nevis",dial_code:"+1869",code:"KN",mask:"+1869(___) __-__"},1876:{name:"Jamaica",dial_code:"+1876",code:"JM",mask:"+1876(___) __-__"},1939:{name:"Puerto Rico",dial_code:"+1939",code:"PR",mask:"+1939(___) ___-__-__"}};function ia({value:n,onValue:_,onSave:c,name:d,placeholder:b="",title:C="",error:R="",hide:j=!1,edit:l=!0,active:g=!0,after:o="",show:u=!0,view:k,className:S=""}){l=l!==void 0?l:!0,g=g!==void 0?g:!0,j=!!(j&&(n===""||n===void 0))&&!(l&&g),L.useRef(null);let A="+_(___) ___-__-__",$=!0,T=0,m=(E,v)=>{let h=document.createRange(),I=window.getSelection();h.setStart(v.childNodes[0],E),h.collapse(!0),I.removeAllRanges(),I.addRange(h),v.focus()},M=E=>{let v=K(E.target.textContent);E.target.textContent=v.q,v.i=v.q.lastIndexOf(v.v.substr(-1)),v.i<v.q.length&&v.q!==A?v.i++:v.i=v.q.indexOf("_"),m(v.i,E.target),_&&_({value:v.q.replace(/\D/g,""),name:d})},z=E=>{E.preventDefault(),navigator.clipboard.readText().then(v=>{window.document.execCommand("insertText",!1,v)}).catch(v=>{})},K=E=>{let v=0,h="",I=E.replace(/\D/g,"");I===""&&($=!0);let Y=I.split(""),te="";Y.forEach(be=>{$&&(te+=be,Mt[te]!==void 0&&$?($=!1,A=Mt[te].mask.replace(new RegExp("[0-9]","g"),"_"),h=Mt[te].code):($&&(T=(""+te).length,A=`+${te}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),h=""),T>(""+te).length&&($=!0,A=`+${te}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),h="")))});let _e=A.replace(/\D/g,"");return _e.length>=I.length&&(I=_e),{q:A.replace(/[_\d]/g,function(){return I.charAt(v++)||"_"}),i:v,v:I,f:h}},B=E=>{E.preventDefault(),navigator.clipboard.writeText(E.target.textContent.replace(/\D/g,"")).then(function(){xt.Copy("Данные в буфер обмене")},function(v){})},U=K(n),O=E=>{E.key==="Enter"&&E.preventDefault()};const P=E=>{re.Blur(E),c&&c({value:E.target.textContent.replace(/\D/g,""),name:d})};let W={};return l&&g?(W.edit="true",W.contentEditable=re.ContentEditable):W.contentEditable="false",b&&(W.placeholder=b),o&&(W.after=o),j?f.jsx(f.Fragment,{}):f.jsxs("dl",{"data-field":"input",className:[G.l,S].filter(E=>E!==void 0).join(" "),children:[C?f.jsx("dt",{className:G.t,children:C}):"",f.jsx("dd",{className:[G.f,G.w].join(" "),onPaste:z,onInput:M,onKeyDown:O,onContextMenu:B,onBlur:P,suppressContentEditableWarning:!0,...W,children:U.q}),R&&f.jsx("em",{children:R})]})}const Ot={o:"_o_1c9e1_1",c:"_c_1c9e1_11"};function _a({title:n,error:_,edit:c=!0,active:d=!0,className:b,placeholder:C,max:R,min:j,onValue:l,icon:g,name:o,value:u,after:k}){let[S,N]=L.useState(u===void 0?new Date:u);const A=L.useRef(null),[$,T]=L.useState(!1);let m=!c&&d;L.useEffect(()=>{N(u===void 0?new Date:u)},[u]);let M=B=>{N(B),l==null||l({value:B,name:o})},z=B=>{const U=B.target.getBoundingClientRect(),O=U.left,P=U.bottom,W=U.top;A.position={x:O,b:P,y:W},T(!0)};const K={};return C&&(K.placeholder=C),m?f.jsx(f.Fragment,{}):f.jsxs(f.Fragment,{children:[g?g():f.jsxs("dl",{"data-field":"date",className:[G.l,b].filter(B=>B!==void 0).join(" "),children:[n?f.jsx("dt",{className:G.t,children:n}):"",f.jsxs("dd",{onClick:z,className:[G.f,G.w].join(" "),...K,"data-edit":(c&&d)+"",children:[ca(S,"dd.mm.yyyy"),k]}),_&&f.jsx("em",{children:_})]}),$&&Rt.createPortal(f.jsx(la,{position:A.position,onValue:M,date:S,max:R,min:j,onOpen:T,className:b},new Date().getTime()),document.body)]})}const la=({date:n,onValue:_,position:c,max:d,min:b,className:C,onOpen:R})=>{let j=new Date,l=new Date(n),g={y:parseInt(j.getFullYear()),d:parseInt(j.getDate()),m:parseInt(j.getMonth())+1},o={y:parseInt(l.getFullYear()),d:parseInt(l.getDate()),m:parseInt(l.getMonth())+1},[u,k]=L.useState({y:o.y,m:o.m}),S=v=>{let h=v.getDay();return h===0&&(h=7),h-1},N=["пн","вт","ср","чт","пт","сб","вс"],A=u.m-1,$=new Date(u.y,A),T=[];for(let v=0;v<S($);v++)T.push(0);for(;$.getMonth()===A;)T.push($.getDate()),$.setDate($.getDate()+1);let m=()=>{R(!1)},M=()=>{B(u.m+1,u.y)},z=()=>{B(u.m-1,u.y)},K=v=>{_(u.y+"-"+Ht(2,u.m)+"-"+Ht(2,v)),m()},B=(v,h)=>{h=v>12?h+1:v<1?h-1:h,v=v>12?1:v<1?12:v,k({y:h,m:v})};const U=v=>g.y===u.y&&g.m===u.m&&g.d===v?{"data-active":"true"}:{},O=v=>o.y===u.y&&o.m===u.m&&o.d===v?{"data-current":"true"}:{},P=v=>{let h=!0;if(d){let I=d.getTime(),Y=new Date(u.y,u.m-1,v).getTime();I<Y&&(h=!1)}if(b){let I=b.getTime(),Y=new Date(u.y,u.m-1,v).getTime();I>Y&&(h=!1)}return h};let W=window.innerHeight-c.y<320?c.y-312:c.b,E=window.innerWidth-c.x<265?c.x-235:c.x;return f.jsxs(f.Fragment,{children:[f.jsx("div",{className:Ot.o,onClick:()=>m()}),f.jsxs("div",{className:[Ot.c,C&&C+"-backdrop"].join(" "),style:{top:W+"px",left:E+"px"},children:[f.jsxs("s",{children:[f.jsx("i",{onClick:z,children:f.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),f.jsxs("h2",{children:[sa(u.m).name," ",u.y]}),f.jsx("i",{onClick:M,children:f.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),f.jsxs("div",{"grid-calendar":"",children:[N.map((v,h)=>f.jsx("p",{children:v},"v"+h)),T.map((v,h)=>f.jsx("span",{children:v!==0&&P(v)?f.jsx("b",{...U(v),...O(v),onClick:()=>K(v),children:v}):f.jsx("p",{...U(v),...O(v),children:v!==0?v:""})},h))]})]})]})};function sa(n){return n=typeof n=="number"?n:new Date(n).getMonth()+1,{1:{val:"01",name:"Январь",names:"Января",abc:"Янв"},2:{val:"02",name:"Февраль",names:"Февраля",abc:"Февр"},3:{val:"03",name:"Март",names:"Марта",abc:"Март"},4:{val:"04",name:"Апрель",names:"Апреля",abc:"Апр"},5:{val:"05",name:"Май",names:"Мая",abc:"Май"},6:{val:"06",name:"Июнь",names:"Июня",abc:"Июнь"},7:{val:"07",name:"Июль",names:"Июля",abc:"Июль"},8:{val:"08",name:"Август",names:"Августа",abc:"Авг"},9:{val:"09",name:"Сентябрь",names:"Сентября",abc:"Сент"},10:{val:"10",name:"Октябрь",names:"Октября",abc:"Окт"},11:{val:"11",name:"Ноябрь",names:"Ноября",abc:"Нояб"},12:{val:"12",name:"Декабрь",names:"Декабря",abc:"Дек"}}[n]}function Ht(n,_){let c=_+"";for(;c.length<n;)c="0"+c;return c}function ca(n,_){_===void 0?(_=n,n=new Date):n=new Date(n);let c={yyyy:n.getFullYear(),yy:(""+n.getFullYear()).slice(-2),mm:("0"+(n.getMonth()+1)).slice(-2),dd:("0"+n.getDate()).slice(-2),HH:("0"+n.getHours()).slice(-2),MM:("0"+n.getMinutes()).slice(-2),SS:("0"+n.getSeconds()).slice(-2),__:"      ",_:"    "};for(const d in c)_=_.replace(d,c[d]);return _}function da({value:n,onValue:_,name:c,error:d,icon:b,edit:C=!0,active:R=!0,title:j,placeholder:l="",className:g}){let[o,u]=L.useState(n);const k=L.useRef(null),[S,N]=L.useState(!1);L.useEffect(()=>{u(n)},[n]);let A=m=>{u(m),_&&_({value:m,name:c})},$=m=>{if(!C||!R)return;const M=m.target.getBoundingClientRect(),z=M.left,K=M.top;k.position={x:z,y:K},N(!0)};const T={};return l&&(T.placeholder=l),b||f.jsxs(f.Fragment,{children:[f.jsxs("dl",{"data-field":"date",className:[G.l,g].filter(m=>m!==void 0).join(" "),children:[j?f.jsx("dt",{className:G.t,children:j}):"",f.jsx("dd",{onClick:$,...T,className:[G.f,G.w].join(" "),children:fa(o,"mm.yyyy")}),d&&f.jsx("em",{children:d})]}),S&&Rt.createPortal(f.jsx(ua,{position:k.position,onValue:A,date:o,onOpen:N},new Date().getTime()),document.body)]})}const ua=({onOpen:n,date:_,onValue:c,position:d})=>{let b=new Date,C=new Date(_),R={y:parseInt(b.getFullYear()),m:parseInt(b.getMonth())+1},j={y:parseInt(C.getFullYear()),m:parseInt(C.getMonth())+1},[l,g]=L.useState(j.y),o=()=>{n(!1)},u=()=>{g(l+1)},k=()=>{g(l-1)},S=m=>{c(l+"-"+pa(2,m)),o()},N=m=>R.y===j.y&&R.m===m?"_FFEB3B":"",A=Array(12).fill("").map((m,M)=>M+1),$=window.innerHeight-d.y+33<320?d.y-312:d.y+33,T=window.innerWidth-d.x<265?d.x-235:d.x;return f.jsxs(f.Fragment,{children:[f.jsx("div",{className:Ot.o,onClick:o}),f.jsxs("div",{className:Ot.c,style:{top:$+"px",left:T+"px"},children:[f.jsxs("s",{children:[f.jsx("i",{onClick:k,children:f.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),f.jsx("h2",{children:l}),f.jsx("i",{onClick:u,children:f.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),f.jsx("div",{"grid-month":"",children:A.map((m,M)=>f.jsx("span",{onClick:()=>{S(m)},color:N(m),children:f.jsx("b",{children:ma(m).abc})},M))})]})]})};function fa(n,_){_===void 0?(_=n,n=new Date):n=new Date(n);let c={yyyy:n.getFullYear(),yy:(""+n.getFullYear()).slice(-2),mm:("0"+(n.getMonth()+1)).slice(-2),dd:("0"+n.getDate()).slice(-2),HH:("0"+n.getHours()).slice(-2),MM:("0"+n.getMinutes()).slice(-2),SS:("0"+n.getSeconds()).slice(-2),__:"      ",_:"    "};for(const d in c)_=_.replace(d,c[d]);return _}function pa(n,_){let c=_+"";for(;c.length<n;)c="0"+c;return c}function ma(n){return n=typeof n=="number"?n:new Date(n).getMonth()+1,{1:{val:"01",name:"Январь",names:"Января",abc:"Янв"},2:{val:"02",name:"Февраль",names:"Февраля",abc:"Февр"},3:{val:"03",name:"Март",names:"Марта",abc:"Март"},4:{val:"04",name:"Апрель",names:"Апреля",abc:"Апр"},5:{val:"05",name:"Май",names:"Мая",abc:"Май"},6:{val:"06",name:"Июнь",names:"Июня",abc:"Июнь"},7:{val:"07",name:"Июль",names:"Июля",abc:"Июль"},8:{val:"08",name:"Август",names:"Августа",abc:"Авг"},9:{val:"09",name:"Сентябрь",names:"Сентября",abc:"Сент"},10:{val:"10",name:"Октябрь",names:"Октября",abc:"Окт"},11:{val:"11",name:"Ноябрь",names:"Ноября",abc:"Нояб"},12:{val:"12",name:"Декабрь",names:"Декабря",abc:"Дек"}}[n]}function ya({value:n,onValue:_,name:c,placeholder:d="",title:b="",error:C="",hide:R=!1,edit:j=!0,active:l=!0,after:g="",show:o=!0,course:u=100,view:k,type:S,onSave:N,className:A="",isClear:$=!1}){let T=!!(R&&(n===""||n===void 0)),m=E=>S==="multi"?E.replace(/[^+\d.+-]/g,""):E.replace(/[^+\d.]/g,""),M=(E,v)=>{let h=document.createRange(),I=window.getSelection();h.setStart(v.childNodes[0],E),h.collapse(!0),I.removeAllRanges(),I.addRange(h),v.focus()},z=E=>{_==null||_({value:m(E.target.textContent)*u,name:c}),E.target.textContent=m(E.target.textContent),E.target.textContent.length>0&&M(E.target.textContent.length,E.target)},K=E=>{re.Blur(E),E.target.textContent===""&&(E.target.textContent=0),N==null||N({value:m(E.target.textContent)*u,name:c}),_==null||_({value:m(E.target.textContent)*u,name:c}),E.target.textContent=Jt(E.target.textContent)},B=E=>{E.target.textContent=m(E.target.textContent)},U=E=>{E.currentTarget.previousElementSibling.textContent="",_==null||_({value:0,name:c})},O=E=>{E.key==="Enter"&&E.preventDefault()},P=E=>{E.preventDefault(),navigator.clipboard.readText().then(v=>{v=v.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,v)}).catch(v=>{})};if(!(j&&l)&&!o||!(j&&l)&&T)return"";const W={};return W.inputMode="decimal",d&&(W.placeholder=d),j&&l&&(W.edit=""),f.jsxs("dl",{"data-field":"date",className:[G.l,A].filter(E=>E!==void 0).join(" "),children:[b?f.jsx("dt",{className:G.t,children:b}):"",f.jsx("dd",{...W,className:[G.f,G.w].join(" "),onInput:z,onPaste:P,onBlur:K,onKeyDown:O,onFocus:B,contentEditable:j&&l?re.ContentEditable:"false",suppressContentEditableWarning:!0,"data-after":g,children:!d||n?Jt(n):""}),$&&f.jsx("svg",{"action-type":"delete",onClick:U,viewBox:"0 0 24 24",children:f.jsx("path",{d:"M17 6L6 17M6 6L17 17"})}),C?f.jsx("em",{children:C}):""]})}function Jt(n,_){return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}const he={};function va(n){const[_,c]=L.useState({}),d=L.useRef(n);return he.u=b=>{d.current={...d.current,[b.name]:b.value}},he.n=b=>{d.current=b,c(Date.now())},he.r=()=>{c(Date.now())},[d.current,he.n]}function ba(n){he.u(n),n.reload&&he.r()}function ga(){he.r&&he.r()}function ha(n){const[_,c]=L.useState({}),d=L.useRef(n);return he.u=b=>{d.current={...d.current,[b.name]:b.value}},he.n=b=>{Object.keys(b).length>0?Object.keys(b).forEach(C=>{d.current[C]=b[C]}):d.current={},c(Date.now())},he.r=()=>{c(Date.now())},[d.current,he.n]}function It(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}It().elcrm||(It().elcrm={}),Object.assign(It().elcrm,{form:Zt.version}),X.Date=_a,X.Mask=na,X.Modal=ta,X.Money=ya,X.Month=da,X.Note=oa,X.Number=aa,X.Options=Vr,X.Password=ra,X.Phone=ia,X.Progress=Qt,X.Select=Xr,X.String=lr,X.runReload=ga,X.setValue=ba,X.useData=va,X.useError=ha,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elcrm/form",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "plugin for elCRM",
5
5
  "type": "module",
6
6
  "author": "MaSkal <dev@elcrm.online>",