elcrm 0.3.9 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(w,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],k):(w=typeof globalThis<"u"?globalThis:w||self,k((w.elCRM=w.elCRM||{},w.elCRM.components={}),w.React))})(this,function(w,k){"use strict";var Re=document.createElement("style");Re.textContent=`@charset "UTF-8";._notice_820sc_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_820sc_2 ._error_820sc_9{color:#bb2014}._notice_820sc_2 ._success_820sc_12{color:#367738}._notice_820sc_2 ._remark_820sc_15{color:#b77513}._notice_820sc_2 ._copy_820sc_18{color:#3f51b5}._notice_820sc_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-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_820sc_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_820sc_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_820sc_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_820sc_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_820sc_1 1s 1;animation-fill-mode:forwards}._notice_820sc_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_820sc_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_820sc_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_820sc_1{0%{opacity:1}to{opacity:0}}._alerts_1e9y0_1{position:fixed;top:0;bottom:0;left:0;right:0;color:var(--system-color);background:#0000009e;z-index:30;display:flex;flex:1;align-content:center;justify-content:center}._alerts_1e9y0_1 dl{margin:auto;overflow:hidden;width:270px;height:auto;border-radius:12px;border:0;height:fit-content;z-index:1;background:var(--system-bg);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-animation:_menuAnimation_1e9y0_1 .4s 0s both;animation:_menuAnimation_1e9y0_1 .4s 0s both;list-style:none;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;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}._alerts_1e9y0_1 dt{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;text-align:center;text-transform:capitalize;font-weight:600;line-height:22px;margin:0 0 5px;padding:0 20px}._alerts_1e9y0_1 dd{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:13px;margin:0;text-align:center;line-height:16px;padding:0 20px 20px}._alerts_1e9y0_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1e9y0_1 button{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:10px;cursor:pointer;text-align:center;font-weight:600;background:#0000;border-radius:0;display:block;width:-webkit-fill-available;-webkit-animation:_menuItemAnimation_1e9y0_1 .2s 0s both;animation:_menuItemAnimation_1e9y0_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1e9y0_1 button[color=blue]{color:#1b6ac0}._alerts_1e9y0_1 button[color=red]{color:#c21c0d}._alerts_1e9y0_1 button:hover{background:var(--system-hover)}._alerts_1e9y0_1 ._--body_1e9y0_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1e9y0_111 ._--form_1e9y0_111{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:20px;border-bottom:1px solid var(--system-hr)}: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)}._white_1iomo_14{--background: #e4ebf5;--shadow: #abb6d2;--shade: #fff;--color: #1f253d;--disabled: #9baacf;--text: #394264;--tinge: #3f51b50a;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px var(--shadow), -1px -1px 1px var(--shade)}._black_1iomo_26{--background: #506290;--shadow: #1f253d;--shade: #394264;--color: #fff;--disabled: #29314c;--text: #abb6d2;--tinge: #00000026;--inset: inset 1px 1px 1px #394264, inset -1px -1px 1px #39426470;--outset: 1px 1px 1px #394264, -1px -1px 1px #39426470}[shake=true]{-webkit-animation-name:_shake_1iomo_1;animation-name:_shake_1iomo_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_1iomo_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)}}[data-color-bg=fff1d6]{--inset: inset 1px 1px 1px #c9c1ac, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #c9c1ac, -1px -1px 1px var(--shade)}[data-color-bg=ffd9d9]{--inset: inset 1px 1px 1px #cdb0b1, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #cdb0b1, -1px -1px 1px var(--shade)}[data-color-bg=daffe5]{--inset: inset 1px 1px 1px #b6d2be, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #b6d2be, -1px -1px 1px var(--shade)}._modal_1iomo_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_1iomo_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_1iomo_14{box-shadow:5px 7px 18px #000000a8;background:var(--background);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap}._h_1iomo_106{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_1iomo_120{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_1iomo_120 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_1iomo_120 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_1iomo_120 li:last-child{border-bottom:0}._l_1iomo_120 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_1iomo_158{padding-right:10px}._m_1iomo_73{flex:1}._x_1iomo_166{cursor:pointer;color:#1f253d;opacity:.5;display:flex}._x_1iomo_166 svg{width:20px}._s_1iomo_176{flex:1;overflow-y:scroll}._c_1iomo_181{text-align:center;margin:20px}._f_1iomo_186{padding:0 20px;display:flex;flex-direction:column}._f_1iomo_186 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_1iomo_186 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_1iomo_186 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_1iomo_186 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_1iomo_166:hover{opacity:1}._btn_1iomo_229{min-width:200px;margin:10px auto 20px;opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._g_1iomo_242{display:flex;gap:10px}._c_1iomo_181{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;cursor:pointer}._c_1iomo_181:first-child{margin-left:20px}._c_1iomo_181:last-child{margin-right:20px}._c_1iomo_181:hover{opacity:1;background:var(--tinge)}._c_1iomo_181 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_1iomo_181 b{text-align:center;display:block;color:var(--color)}._c_1iomo_181 p{text-align:center;font-size:15px;color:var(--text)}._btn_1iomo_229:hover{opacity:1}._modal_1iomo_73._size-a_1iomo_294 ._w_1iomo_14{width:auto}._modal_1iomo_73._size-s_1iomo_298 ._w_1iomo_14{width:400px}._modal_1iomo_73._size-m_1iomo_302 ._w_1iomo_14{width:500px}._modal_1iomo_73._size-l_1iomo_306 ._w_1iomo_14{width:800px}._modal_1iomo_73._size-x_1iomo_310 ._w_1iomo_14{width:1000px}._modal_1iomo_73._size-f_1iomo_314 ._w_1iomo_14{width:100%;max-width:1200px;min-width:910px}._btn_1iomo_229._confirm_1iomo_320{background:#4caf50;color:#fff}._btn_1iomo_229._cancel_1iomo_325{background:#f44336;color:#fff}._btn_1iomo_229._disabled_1iomo_330,._btn_1iomo_229._await_1iomo_337{background:#efefef;color:#000;opacity:1;cursor:default}._m_1iomo_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_1iomo_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_1iomo_73 big i:hover{box-shadow:var(--inset)}._m_1iomo_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_1iomo_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_1iomo_73 span._active_1iomo_387{box-shadow:var(--inset);color:var(--color)}._coincidence_1iomo_393{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_1iomo_393 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_1iomo_393 dl{display:flex;padding:0;margin:5px}._coincidence_1iomo_393 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}menu{border-radius:5px;overflow:hidden;display:flex;flex-direction:column;background:var(--contex);grid-area:m}._payment_1lxfv_1{background:#f44336;height:42px;border-radius:5px;color:#fff;font-weight:700;line-height:42px;margin-top:8px;grid-area:p;text-align:center}._setting_1r0pc_2{width:100%;overflow:auto}._setting_1r0pc_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_1r0pc_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_1r0pc_2 nav li[tabs-active=true]{opacity:1}._setting_1r0pc_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_1r0pc_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_1r0pc_2 li{font-size:20px;line-height:40px}._setting_1r0pc_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;background:var(--setting-bg);color:var(--setting-color)}._setting_1r0pc_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_1r0pc_2 dt{flex:1;padding:0 15px}._setting_1r0pc_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_1r0pc_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_1r0pc_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_1r0pc_2 [data-close]{cursor:pointer;width:10px;height:10px;border-top:3px solid var(--setting-color);border-left:3px solid var(--setting-color);position:absolute;right:10px;top:3px;-webkit-transform:translate(0,-50%) rotate(45deg);-ms-transform:translate(0,-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}._setting_1r0pc_2 [data-close=false]{right:10px;top:0;-webkit-transform:translate(0,-50%) rotate(-135deg);-ms-transform:translate(0,-50%) rotate(-135deg);transform:translateY(-50%) rotate(-135deg)}._setting_1r0pc_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_1r0pc_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_1r0pc_2 [role=button]:hover{background:var(--setting-action)}._setting_1r0pc_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_1r0pc_2 [role=button-outline]:hover{background:#00000038}._setting_1r0pc_2 [role=switch]{cursor:pointer;position:relative;width:44px;height:22px;border-radius:50px;vertical-align:text-bottom;transition:all .3s linear;margin:0}._setting_1r0pc_2 [role=switch]:after{content:"";position:absolute;left:4px;width:16px;height:16px;background-color:#fff;border-radius:50%;box-shadow:0 2px 2px #0000003d;transform:translate3d(0,3px,0);transition:all .2s ease-in-out}._setting_1r0pc_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_1r0pc_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_1r0pc_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_1r0pc_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._h_158b4_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex;height:35px}._t_158b4_11{border-bottom:0;cursor:default;display:block;flex:1;margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px;font-size:14px!important;line-height:35px;font-weight:700;text-align:center;color:var(--label);position:absolute;left:0;right:0;height:35px}._s_158b4_31{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_158b4_40{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_158b4_47{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._l_158b4_56{flex:1;overflow:hidden;overflow-y:scroll;background:var(--content)}._hh_158b4_63{background:#fff;display:block;flex:1 1;font-size:14px;line-height:35px;font-weight:700;text-align:center;color:#1f253d;border-bottom:1px solid #ddd;position:relative}._sort_1yrvt_1{text-align:center;position:absolute;top:0;right:0}._sort_1yrvt_1 i{flex:0 1 35px;text-align:center;font-size:16px;line-height:35px;cursor:pointer;width:30px;display:inline-block}
2
- `,document.head.appendChild(Re);let j={};const x={},O={},Te={},Ie={},G={};function gt(e,t){if(j=e,localStorage.getItem("ssid")){let i=sessionStorage.getItem("page");i?(i=j.deCode(i),x.id=i.id,x.tab=i.tab,x.page=i.page,x.module=i.module,x.time=i.time,x.payment={active:!0},x.module_admin=i.module_admin):(x.id=0,x.tab="",x.page="Main",x.module=x.module||"M05")}else["ssid","menu","temp","user","sett","qder","c","last","auth","port","mark","sort"].forEach(i=>localStorage.removeItem(i)),["page"].forEach(i=>sessionStorage.removeItem(i)),x.id=0,x.tab="",x.page="Auth",x.module="M00";return t}function L(){["ssid","menu","temp","user","sett","qder","c","last","auth","port","mark","sort"].forEach(e=>localStorage.removeItem(e)),["page"].forEach(e=>sessionStorage.removeItem(e)),window.location.reload()}function bt(e){e=e.split("/"),x.page="Main",x.module=e[0],x.tab=e[1],x.id=0,sessionStorage.setItem("page",j.enCode({module:x.module,page:x.page,tab:x.tab,id:x.id,time:new Date().getTime()})),O.page(x.page)}function vt(e){return localStorage.setItem("ssid",e)}function yt(){let e=localStorage.getItem("ssid");return e!==""&&e!=="undefined"&&e!==null?localStorage.getItem("ssid"):(L(),!1)}function wt(e){return localStorage.setItem("auth",e)}function kt(){let e=localStorage.getItem("auth");return e!==""&&e!=="undefined"&&e!==null?e:(L(),!1)}function St(e){localStorage.setItem("port",j.enCode(e))}function jt(){let e=localStorage.getItem("port");if(e!==""&&e!=="undefined"&&e!==null){let t=j.deCode(e);return t||L(),t}else return L(),!1}function Ct(){const[e,t]=k.useState(Oe()),n=i=>{t(i)};return O.page=n,[e]}function Et(e){x.page=e,sessionStorage.setItem("page",j.enCode(x)),O.page(e)}function Oe(){return x.page}function Rt(){const[e,t]=k.useState(Pe()),n=i=>{t(i)};return O.module=n,[e]}function Tt(e,t){x.module=e,sessionStorage.setItem("page",j.enCode(x)),t!=="false"&&O.module(e)}function Pe(){return x.module}function It(e){const[t,n]=k.useState(le()||e),i=l=>{n(l)};return O.tabs=i,[t]}function Ot(e,t){x.tab=e,sessionStorage.setItem("page",j.enCode(x)),t!=="false"&&O.tabs(e)}function le(){return x.tab}function Pt(){const[e,t]=k.useState(x.id),n=i=>{t(i)};return O.id=n,[e]}function Nt(e){O.id=e}function zt(e,t){x.id=e,sessionStorage.setItem("page",j.enCode(x)),t!=="false"&&O.id(e)}function $t(){return x.id}function Ft(e,t,n){x.module=e,x.id=n,x.tab=t,sessionStorage.setItem("page",j.enCode(x)),O.module(e),O.tabs(t)}function Mt(e,t){Te.data[e]=t,localStorage.setItem("sett",j.enCode(Te.data))}function Lt(e){let t=localStorage.getItem("sett");return t===null?{}:(t=j.deCode(t),t?e!==void 0?t[e]:t:L())}function At(e){localStorage.setItem("menu",j.enCode({data:e}))}function Dt(){let e=localStorage.getItem("menu");if(e!==""&&e!=="undefined"&&e!==null){let t=localStorage.getItem("menu"),n=j.deCode(t);n||L();const i=(p,c)=>{let u=c+"";for(;u.length<p;)u="0"+u;return u};return n.data.split(",").map(p=>"M"+i(2,p))}else return L(),!1}function Ut(e){O.sort=e}function Ne(e){let t=localStorage.getItem("sort");t=t===null?{}:j.deCode(t),t[le()]=e,localStorage.setItem("sort",j.enCode(t))}function he(){let e=localStorage.getItem("sort");return e===null?{}:(e=j.deCode(e),e=e[le()],e=e===void 0?{active:1,sort:"<"}:e,e)}function Bt(e){localStorage.setItem("c",j.enCode(e))}function Wt(e){let t=localStorage.getItem("c");if(t!==""&&t!=="undefined"&&t!==null){let n=j.deCode(t);return n||L(),e===void 0?n:n[e]}else return L(),!1}function Yt(e){G.data=e,localStorage.setItem("qder",j.enCode(G.data))}function Vt(e,t){if(!G.data){let n=localStorage.getItem("qder");n&&(G.data=j.deCode(n))}return e===void 0&&t===void 0?G.data:e!==void 0&&t===void 0?G.data[e]:G.data[e][t]}function Gt(e){Ie.data=e}function Ht(e){return Ie.data[e]}function Jt(e){x.payment=e}function Zt(){return x.payment}const N={setSSID:vt,getSSID:yt,getPORT:jt,setPORT:St,setAUTH:wt,getAUTH:kt,Logaut:L,Start:bt,setSetting:Mt,getSetting:Lt,setMenu:At,getMenu:Dt,useSort:Ut,setSort:Ne,getSort:he,setCompany:Bt,getCompany:Wt,setSelect:Yt,getSelect:Vt,setApi:Gt,getApi:Ht,setPayment:Jt,getPayment:Zt},ze="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO3ZhciBhPXtCQVNFX1VSTDoiLyIsTU9ERToicHJvZHVjdGlvbiIsREVWOiExLFBST0Q6ITAsU1NSOiExfTtvbm1lc3NhZ2U9YXN5bmMgdD0+e2NvbnNvbGUubG9nKGEuVklURV9VUkwpO3RyeXtsZXQgZT1hLlZJVEVfVVJMPT09ImxvY2FsaG9zdCI/Imh0dHA6Ly9sb2NhbGhvc3Q6MzUzNS8iOiJodHRwczovL2FwaS5lbGNybS5vbmxpbmUvIixzPWF3YWl0IGZldGNoKGAke2V9JHt0LmRhdGEubGlua31gLHttZXRob2Q6IlBPU1QiLGhlYWRlcnM6eyJDb250ZW50LXR5cGUiOiJhcHBsaWNhdGlvbi9qc29uO2NoYXJzZXQ9dXRmLTgiLHNzaWQ6dC5kYXRhLnNzaWR9LGJvZHk6SlNPTi5zdHJpbmdpZnkodC5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgcy5qc29uKCkpfWNhdGNoe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIn0pfX19KSgpOwo=",Xt=e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0)),$e=typeof window<"u"&&window.Blob&&new Blob([Xt(ze)],{type:"text/javascript;charset=utf-8"});function qt(e){let t;try{if(t=$e&&(window.URL||window.webkitURL).createObjectURL($e),!t)throw"";const n=new Worker(t,{name:e==null?void 0:e.name});return n.addEventListener("error",()=>{(window.URL||window.webkitURL).revokeObjectURL(t)}),n}catch{return new Worker("data:text/javascript;base64,"+ze,{name:e==null?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}const A={};A.url=()=>{let e=N.getPORT(),t="",n="";return e.address==="localhost"?(t=`http://localhost:${e.socket}/documents`,n=`http://localhost:${e.socket}/files`):(t="https://"+e.address+"/documents",n="https://"+e.address+"/files"),{documents:t,files:n}},A.audio=e=>"https://"+N.getPORT().address+"/audio/"+e,A.fetch=(e,t={},n=N.getAUTH())=>new Promise(i=>{const l=new qt;l.onmessage=p=>{i(p.data),l.terminate()},l.postMessage({link:e,data:t,ssid:n})}),A.remoute=async(e,t,n={})=>{try{return await(await fetch("https://"+e+"/"+t,{method:"POST",headers:{"Content-type":"application/json;charset=utf-8",ssid:N.getAUTH()||""},body:JSON.stringify(n)})).json()}catch{return{status:"error"}}},A.telegram=async(e,t={})=>{try{return await(await fetch("https://tb.elcrm.online/v1/"+e,{method:"POST",headers:{"Content-type":"application/json;charset=utf-8",ssid:N.getAUTH()||""},body:JSON.stringify(t)})).json()}catch{return{status:"error"}}},A.yandex=async(e,t={})=>{let n=N.getPORT();try{return await(await fetch("https://"+n.address+"/yandex/"+e,{method:"POST",headers:{"Content-type":"application/json;charset=utf-8",ssid:N.getSSID()||""},body:JSON.stringify(t)})).json()}catch{return{status:"error"}}},A.backup=async(e,t={})=>{let n=N.getPORT();try{return await(await fetch("https://"+n.address+"/backup/"+e,{method:"POST",headers:{"Content-type":"application/json;charset=utf-8",ssid:N.getSSID()||""},body:JSON.stringify(t)})).json()}catch{return{status:"error"}}},A.db=async(e,t,n={})=>{let i=N.getPORT();try{return await(await fetch("https://"+i.address+"/"+e+"/"+t,{method:"POST",headers:{"Content-type":"application/json;charset=utf-8",ssid:N.getSSID()||""},body:JSON.stringify(n)})).json()}catch{return{status:"error"}}};var ge={exports:{}},te={};/**
1
+ (function(w,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],k):(w=typeof globalThis<"u"?globalThis:w||self,k((w.elCRM=w.elCRM||{},w.elCRM.components={}),w.React))})(this,function(w,k){"use strict";var Ee=document.createElement("style");Ee.textContent=`@charset "UTF-8";._notice_820sc_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_820sc_2 ._error_820sc_9{color:#bb2014}._notice_820sc_2 ._success_820sc_12{color:#367738}._notice_820sc_2 ._remark_820sc_15{color:#b77513}._notice_820sc_2 ._copy_820sc_18{color:#3f51b5}._notice_820sc_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-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_820sc_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_820sc_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_820sc_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_820sc_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_820sc_1 1s 1;animation-fill-mode:forwards}._notice_820sc_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_820sc_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_820sc_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_820sc_1{0%{opacity:1}to{opacity:0}}._alerts_1e9y0_1{position:fixed;top:0;bottom:0;left:0;right:0;color:var(--system-color);background:#0000009e;z-index:30;display:flex;flex:1;align-content:center;justify-content:center}._alerts_1e9y0_1 dl{margin:auto;overflow:hidden;width:270px;height:auto;border-radius:12px;border:0;height:fit-content;z-index:1;background:var(--system-bg);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-animation:_menuAnimation_1e9y0_1 .4s 0s both;animation:_menuAnimation_1e9y0_1 .4s 0s both;list-style:none;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;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}._alerts_1e9y0_1 dt{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;text-align:center;text-transform:capitalize;font-weight:600;line-height:22px;margin:0 0 5px;padding:0 20px}._alerts_1e9y0_1 dd{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:13px;margin:0;text-align:center;line-height:16px;padding:0 20px 20px}._alerts_1e9y0_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1e9y0_1 button{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:10px;cursor:pointer;text-align:center;font-weight:600;background:#0000;border-radius:0;display:block;width:-webkit-fill-available;-webkit-animation:_menuItemAnimation_1e9y0_1 .2s 0s both;animation:_menuItemAnimation_1e9y0_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1e9y0_1 button[color=blue]{color:#1b6ac0}._alerts_1e9y0_1 button[color=red]{color:#c21c0d}._alerts_1e9y0_1 button:hover{background:var(--system-hover)}._alerts_1e9y0_1 ._--body_1e9y0_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1e9y0_111 ._--form_1e9y0_111{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:20px;border-bottom:1px solid var(--system-hr)}: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)}._white_1iomo_14{--background: #e4ebf5;--shadow: #abb6d2;--shade: #fff;--color: #1f253d;--disabled: #9baacf;--text: #394264;--tinge: #3f51b50a;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px var(--shadow), -1px -1px 1px var(--shade)}._black_1iomo_26{--background: #506290;--shadow: #1f253d;--shade: #394264;--color: #fff;--disabled: #29314c;--text: #abb6d2;--tinge: #00000026;--inset: inset 1px 1px 1px #394264, inset -1px -1px 1px #39426470;--outset: 1px 1px 1px #394264, -1px -1px 1px #39426470}[shake=true]{-webkit-animation-name:_shake_1iomo_1;animation-name:_shake_1iomo_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_1iomo_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)}}[data-color-bg=fff1d6]{--inset: inset 1px 1px 1px #c9c1ac, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #c9c1ac, -1px -1px 1px var(--shade)}[data-color-bg=ffd9d9]{--inset: inset 1px 1px 1px #cdb0b1, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #cdb0b1, -1px -1px 1px var(--shade)}[data-color-bg=daffe5]{--inset: inset 1px 1px 1px #b6d2be, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #b6d2be, -1px -1px 1px var(--shade)}._modal_1iomo_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_1iomo_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_1iomo_14{box-shadow:5px 7px 18px #000000a8;background:var(--background);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap}._h_1iomo_106{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_1iomo_120{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_1iomo_120 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_1iomo_120 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_1iomo_120 li:last-child{border-bottom:0}._l_1iomo_120 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_1iomo_158{padding-right:10px}._m_1iomo_73{flex:1}._x_1iomo_166{cursor:pointer;color:#1f253d;opacity:.5;display:flex}._x_1iomo_166 svg{width:20px}._s_1iomo_176{flex:1;overflow-y:scroll}._c_1iomo_181{text-align:center;margin:20px}._f_1iomo_186{padding:0 20px;display:flex;flex-direction:column}._f_1iomo_186 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_1iomo_186 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_1iomo_186 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_1iomo_186 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_1iomo_166:hover{opacity:1}._btn_1iomo_229{min-width:200px;margin:10px auto 20px;opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._g_1iomo_242{display:flex;gap:10px}._c_1iomo_181{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;cursor:pointer}._c_1iomo_181:first-child{margin-left:20px}._c_1iomo_181:last-child{margin-right:20px}._c_1iomo_181:hover{opacity:1;background:var(--tinge)}._c_1iomo_181 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_1iomo_181 b{text-align:center;display:block;color:var(--color)}._c_1iomo_181 p{text-align:center;font-size:15px;color:var(--text)}._btn_1iomo_229:hover{opacity:1}._modal_1iomo_73._size-a_1iomo_294 ._w_1iomo_14{width:auto}._modal_1iomo_73._size-s_1iomo_298 ._w_1iomo_14{width:400px}._modal_1iomo_73._size-m_1iomo_302 ._w_1iomo_14{width:500px}._modal_1iomo_73._size-l_1iomo_306 ._w_1iomo_14{width:800px}._modal_1iomo_73._size-x_1iomo_310 ._w_1iomo_14{width:1000px}._modal_1iomo_73._size-f_1iomo_314 ._w_1iomo_14{width:100%;max-width:1200px;min-width:910px}._btn_1iomo_229._confirm_1iomo_320{background:#4caf50;color:#fff}._btn_1iomo_229._cancel_1iomo_325{background:#f44336;color:#fff}._btn_1iomo_229._disabled_1iomo_330,._btn_1iomo_229._await_1iomo_337{background:#efefef;color:#000;opacity:1;cursor:default}._m_1iomo_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_1iomo_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_1iomo_73 big i:hover{box-shadow:var(--inset)}._m_1iomo_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_1iomo_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_1iomo_73 span._active_1iomo_387{box-shadow:var(--inset);color:var(--color)}._coincidence_1iomo_393{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_1iomo_393 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_1iomo_393 dl{display:flex;padding:0;margin:5px}._coincidence_1iomo_393 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}menu{border-radius:5px;overflow:hidden;display:flex;flex-direction:column;background:var(--contex);grid-area:m}._payment_1lxfv_1{background:#f44336;height:42px;border-radius:5px;color:#fff;font-weight:700;line-height:42px;margin-top:8px;grid-area:p;text-align:center}._setting_1r0pc_2{width:100%;overflow:auto}._setting_1r0pc_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_1r0pc_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_1r0pc_2 nav li[tabs-active=true]{opacity:1}._setting_1r0pc_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_1r0pc_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_1r0pc_2 li{font-size:20px;line-height:40px}._setting_1r0pc_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;background:var(--setting-bg);color:var(--setting-color)}._setting_1r0pc_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_1r0pc_2 dt{flex:1;padding:0 15px}._setting_1r0pc_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_1r0pc_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_1r0pc_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_1r0pc_2 [data-close]{cursor:pointer;width:10px;height:10px;border-top:3px solid var(--setting-color);border-left:3px solid var(--setting-color);position:absolute;right:10px;top:3px;-webkit-transform:translate(0,-50%) rotate(45deg);-ms-transform:translate(0,-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}._setting_1r0pc_2 [data-close=false]{right:10px;top:0;-webkit-transform:translate(0,-50%) rotate(-135deg);-ms-transform:translate(0,-50%) rotate(-135deg);transform:translateY(-50%) rotate(-135deg)}._setting_1r0pc_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_1r0pc_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_1r0pc_2 [role=button]:hover{background:var(--setting-action)}._setting_1r0pc_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_1r0pc_2 [role=button-outline]:hover{background:#00000038}._setting_1r0pc_2 [role=switch]{cursor:pointer;position:relative;width:44px;height:22px;border-radius:50px;vertical-align:text-bottom;transition:all .3s linear;margin:0}._setting_1r0pc_2 [role=switch]:after{content:"";position:absolute;left:4px;width:16px;height:16px;background-color:#fff;border-radius:50%;box-shadow:0 2px 2px #0000003d;transform:translate3d(0,3px,0);transition:all .2s ease-in-out}._setting_1r0pc_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_1r0pc_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_1r0pc_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_1r0pc_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._h_158b4_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex;height:35px}._t_158b4_11{border-bottom:0;cursor:default;display:block;flex:1;margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px;font-size:14px!important;line-height:35px;font-weight:700;text-align:center;color:var(--label);position:absolute;left:0;right:0;height:35px}._s_158b4_31{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_158b4_40{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_158b4_47{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._l_158b4_56{flex:1;overflow:hidden;overflow-y:scroll;background:var(--content)}._hh_158b4_63{background:#fff;display:block;flex:1 1;font-size:14px;line-height:35px;font-weight:700;text-align:center;color:#1f253d;border-bottom:1px solid #ddd;position:relative}._sort_1yrvt_1{text-align:center;position:absolute;top:0;right:0}._sort_1yrvt_1 i{flex:0 1 35px;text-align:center;font-size:16px;line-height:35px;cursor:pointer;width:30px;display:inline-block}
2
+ `,document.head.appendChild(Ee);let S={};const x={},N={},Re={},Ie={},Y={};function gt(e,t){if(S=e,localStorage.getItem("ssid")){let i=sessionStorage.getItem("page");i?(i=S.deCode(i),x.id=i.id,x.tab=i.tab,x.page=i.page,x.module=i.module,x.time=i.time,x.payment={active:!0},x.module_admin=i.module_admin):(x.id=0,x.tab="",x.page="Main",x.module=x.module||"M05")}else["ssid","menu","temp","user","sett","qder","c","last","auth","port","mark","sort"].forEach(i=>localStorage.removeItem(i)),["page"].forEach(i=>sessionStorage.removeItem(i)),x.id=0,x.tab="",x.page="Auth",x.module="M00";return t}function M(){["ssid","menu","temp","user","sett","qder","c","last","auth","port","mark","sort"].forEach(e=>localStorage.removeItem(e)),["page"].forEach(e=>sessionStorage.removeItem(e)),window.location.reload()}function bt(e){e=e.split("/"),x.page="Main",x.module=e[0],x.tab=e[1],x.id=0,sessionStorage.setItem("page",S.enCode({module:x.module,page:x.page,tab:x.tab,id:x.id,time:new Date().getTime()})),N.page(x.page)}function vt(e){return localStorage.setItem("ssid",e)}function yt(){let e=localStorage.getItem("ssid");return e!==""&&e!=="undefined"&&e!==null?localStorage.getItem("ssid"):(M(),!1)}function wt(e){return localStorage.setItem("auth",e)}function kt(){let e=localStorage.getItem("auth");return e!==""&&e!=="undefined"&&e!==null?e:(M(),!1)}function jt(e){localStorage.setItem("port",S.enCode(e))}function St(){let e=localStorage.getItem("port");if(e!==""&&e!=="undefined"&&e!==null){let t=S.deCode(e);return t||M(),t}else return M(),!1}function Ct(){const[e,t]=k.useState(Te()),n=i=>{t(i)};return N.page=n,[e]}function Et(e){x.page=e,sessionStorage.setItem("page",S.enCode(x)),N.page(e)}function Te(){return x.page}function Rt(){const[e,t]=k.useState(Ne()),n=i=>{t(i)};return N.module=n,[e]}function It(e,t){x.module=e,sessionStorage.setItem("page",S.enCode(x)),t!=="false"&&N.module(e)}function Ne(){return x.module}function Tt(e){const[t,n]=k.useState(ae()||e),i=l=>{n(l)};return N.tabs=i,[t]}function Nt(e,t){x.tab=e,sessionStorage.setItem("page",S.enCode(x)),t!=="false"&&N.tabs(e)}function ae(){return x.tab}function Pt(){const[e,t]=k.useState(x.id),n=i=>{t(i)};return N.id=n,[e]}function zt(e){N.id=e}function Ot(e,t){x.id=e,sessionStorage.setItem("page",S.enCode(x)),t!=="false"&&N.id(e)}function $t(){return x.id}function Ft(e,t,n){x.module=e,x.id=n,x.tab=t,sessionStorage.setItem("page",S.enCode(x)),N.module(e),N.tabs(t)}function Mt(e,t){Re.data[e]=t,localStorage.setItem("sett",S.enCode(Re.data))}function Lt(e){let t=localStorage.getItem("sett");return t===null?{}:(t=S.deCode(t),t?e!==void 0?t[e]:t:M())}function At(e){localStorage.setItem("menu",S.enCode({data:e}))}function Dt(){let e=localStorage.getItem("menu");if(e!==""&&e!=="undefined"&&e!==null){let t=localStorage.getItem("menu"),n=S.deCode(t);n||M();const i=(p,c)=>{let u=c+"";for(;u.length<p;)u="0"+u;return u};return n.data.split(",").map(p=>"M"+i(2,p))}else return M(),!1}function Ut(e){N.sort=e}function Pe(e){let t=localStorage.getItem("sort");t=t===null?{}:S.deCode(t),t[ae()]=e,localStorage.setItem("sort",S.enCode(t))}function xe(){let e=localStorage.getItem("sort");return e===null?{}:(e=S.deCode(e),e=e[ae()],e=e===void 0?{active:1,sort:"<"}:e,e)}function Bt(e){localStorage.setItem("c",S.enCode(e))}function Wt(e){let t=localStorage.getItem("c");if(t!==""&&t!=="undefined"&&t!==null){let n=S.deCode(t);return n||M(),e===void 0?n:n[e]}else return M(),!1}function Yt(e){Y.data=e,localStorage.setItem("qder",S.enCode(Y.data))}function Vt(e,t){if(!Y.data){let n=localStorage.getItem("qder");n&&(Y.data=S.deCode(n))}return e===void 0&&t===void 0?Y.data:e!==void 0&&t===void 0?Y.data[e]:Y.data[e][t]}function Gt(e){Ie.data=e}function Ht(e){return Ie.data[e]}function Zt(e){x.payment=e}function Jt(){return x.payment}const se={setSSID:vt,getSSID:yt,getPORT:St,setPORT:jt,setAUTH:wt,getAUTH:kt,Logaut:M,Start:bt,setSetting:Mt,getSetting:Lt,setMenu:At,getMenu:Dt,useSort:Ut,setSort:Pe,getSort:xe,setCompany:Bt,getCompany:Wt,setSelect:Yt,getSelect:Vt,setApi:Gt,getApi:Ht,setPayment:Zt,getPayment:Jt},ze="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO3ZhciBhPXtCQVNFX1VSTDoiLyIsTU9ERToicHJvZHVjdGlvbiIsREVWOiExLFBST0Q6ITAsU1NSOiExfTtvbm1lc3NhZ2U9YXN5bmMgdD0+e2NvbnNvbGUubG9nKGEuVklURV9VUkwpO3RyeXtsZXQgZT1hLlZJVEVfVVJMPT09ImxvY2FsaG9zdCI/Imh0dHA6Ly9sb2NhbGhvc3Q6MzUzNS8iOiJodHRwczovL2FwaS5lbGNybS5vbmxpbmUvIixzPWF3YWl0IGZldGNoKGAke2V9JHt0LmRhdGEubGlua31gLHttZXRob2Q6IlBPU1QiLGhlYWRlcnM6eyJDb250ZW50LXR5cGUiOiJhcHBsaWNhdGlvbi9qc29uO2NoYXJzZXQ9dXRmLTgiLHNzaWQ6dC5kYXRhLnNzaWR9LGJvZHk6SlNPTi5zdHJpbmdpZnkodC5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgcy5qc29uKCkpfWNhdGNoe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIn0pfX19KSgpOwo=",Xt=e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0)),Oe=typeof window<"u"&&window.Blob&&new Blob([Xt(ze)],{type:"text/javascript;charset=utf-8"});function qt(e){let t;try{if(t=Oe&&(window.URL||window.webkitURL).createObjectURL(Oe),!t)throw"";const n=new Worker(t,{name:e==null?void 0:e.name});return n.addEventListener("error",()=>{(window.URL||window.webkitURL).revokeObjectURL(t)}),n}catch{return new Worker("data:text/javascript;base64,"+ze,{name:e==null?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}function Kt(e){return"https://"+se.getPORT().address+"/audio/"+e}function $e(e,t={},n=se.getAUTH()){return new Promise(i=>{const l=new qt;l.onmessage=p=>{i(p.data),l.terminate()},l.postMessage({link:e,data:t,ssid:n})})}async function Qt(e,t,n={}){try{return await(await $e("https://"+e+"/"+t,{method:"POST",headers:{"Content-type":"application/json;charset=utf-8",ssid:se.getAUTH()||""},body:JSON.stringify(n)})).json()}catch{return{status:"error"}}}const er={audio:Kt,fetch:$e,remoute:Qt};var he={exports:{}},Q={};/**
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 Fe;function Kt(){if(Fe)return te;Fe=1;var e=k,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function c(u,d,f){var _,b={},S=null,I=null;f!==void 0&&(S=""+f),d.key!==void 0&&(S=""+d.key),d.ref!==void 0&&(I=d.ref);for(_ in d)i.call(d,_)&&!p.hasOwnProperty(_)&&(b[_]=d[_]);if(u&&u.defaultProps)for(_ in d=u.defaultProps,d)b[_]===void 0&&(b[_]=d[_]);return{$$typeof:t,type:u,key:S,ref:I,props:b,_owner:l.current}}return te.Fragment=n,te.jsx=c,te.jsxs=c,te}var re={};/**
10
+ */var Fe;function tr(){if(Fe)return Q;Fe=1;var e=k,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function c(u,d,f){var _,b={},j=null,T=null;f!==void 0&&(j=""+f),d.key!==void 0&&(j=""+d.key),d.ref!==void 0&&(T=d.ref);for(_ in d)i.call(d,_)&&!p.hasOwnProperty(_)&&(b[_]=d[_]);if(u&&u.defaultProps)for(_ in d=u.defaultProps,d)b[_]===void 0&&(b[_]=d[_]);return{$$typeof:t,type:u,key:j,ref:T,props:b,_owner:l.current}}return Q.Fragment=n,Q.jsx=c,Q.jsxs=c,Q}var ee={};/**
11
11
  * @license React
12
12
  * react-jsx-runtime.development.js
13
13
  *
@@ -15,14 +15,14 @@
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 Me;function Qt(){return Me||(Me=1,process.env.NODE_ENV!=="production"&&function(){var e=k,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),I=Symbol.for("react.offscreen"),$=Symbol.iterator,ie="@@iterator";function F(r){if(r===null||typeof r!="object")return null;var a=$&&r[$]||r[ie];return typeof a=="function"?a:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(r){{for(var a=arguments.length,s=new Array(a>1?a-1:0),m=1;m<a;m++)s[m-1]=arguments[m];M("error",r,s)}}function M(r,a,s){{var m=P.ReactDebugCurrentFrame,v=m.getStackAddendum();v!==""&&(a+="%s",s=s.concat([v]));var y=s.map(function(g){return String(g)});y.unshift("Warning: "+a),Function.prototype.apply.call(console[r],console,y)}}var V=!1,Z=!1,K=!1,ue=!1,xn=!1,Je;Je=Symbol.for("react.module.reference");function hn(r){return!!(typeof r=="string"||typeof r=="function"||r===i||r===p||xn||r===l||r===f||r===_||ue||r===I||V||Z||K||typeof r=="object"&&r!==null&&(r.$$typeof===S||r.$$typeof===b||r.$$typeof===c||r.$$typeof===u||r.$$typeof===d||r.$$typeof===Je||r.getModuleId!==void 0))}function gn(r,a,s){var m=r.displayName;if(m)return m;var v=a.displayName||a.name||"";return v!==""?s+"("+v+")":s}function Ze(r){return r.displayName||"Context"}function D(r){if(r==null)return null;if(typeof r.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case i:return"Fragment";case n:return"Portal";case p:return"Profiler";case l:return"StrictMode";case f:return"Suspense";case _:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case u:var a=r;return Ze(a)+".Consumer";case c:var s=r;return Ze(s._context)+".Provider";case d:return gn(r,r.render,"ForwardRef");case b:var m=r.displayName||null;return m!==null?m:D(r.type)||"Memo";case S:{var v=r,y=v._payload,g=v._init;try{return D(g(y))}catch{return null}}}return null}var X=Object.assign,ae=0,Xe,qe,Ke,Qe,et,tt,rt;function nt(){}nt.__reactDisabledLog=!0;function bn(){{if(ae===0){Xe=console.log,qe=console.info,Ke=console.warn,Qe=console.error,et=console.group,tt=console.groupCollapsed,rt=console.groupEnd;var r={configurable:!0,enumerable:!0,value:nt,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}ae++}}function vn(){{if(ae--,ae===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:X({},r,{value:Xe}),info:X({},r,{value:qe}),warn:X({},r,{value:Ke}),error:X({},r,{value:Qe}),group:X({},r,{value:et}),groupCollapsed:X({},r,{value:tt}),groupEnd:X({},r,{value:rt})})}ae<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ve=P.ReactCurrentDispatcher,ye;function fe(r,a,s){{if(ye===void 0)try{throw Error()}catch(v){var m=v.stack.trim().match(/\n( *(at )?)/);ye=m&&m[1]||""}return`
19
- `+ye+r}}var we=!1,pe;{var yn=typeof WeakMap=="function"?WeakMap:Map;pe=new yn}function ot(r,a){if(!r||we)return"";{var s=pe.get(r);if(s!==void 0)return s}var m;we=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=ve.current,ve.current=null,bn();try{if(a){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(U){m=U}Reflect.construct(r,[],g)}else{try{g.call()}catch(U){m=U}r.call(g.prototype)}}else{try{throw Error()}catch(U){m=U}r()}}catch(U){if(U&&m&&typeof U.stack=="string"){for(var h=U.stack.split(`
20
- `),T=m.stack.split(`
21
- `),C=h.length-1,E=T.length-1;C>=1&&E>=0&&h[C]!==T[E];)E--;for(;C>=1&&E>=0;C--,E--)if(h[C]!==T[E]){if(C!==1||E!==1)do if(C--,E--,E<0||h[C]!==T[E]){var z=`
22
- `+h[C].replace(" at new "," at ");return r.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",r.displayName)),typeof r=="function"&&pe.set(r,z),z}while(C>=1&&E>=0);break}}}finally{we=!1,ve.current=y,vn(),Error.prepareStackTrace=v}var ee=r?r.displayName||r.name:"",ht=ee?fe(ee):"";return typeof r=="function"&&pe.set(r,ht),ht}function wn(r,a,s){return ot(r,!1)}function kn(r){var a=r.prototype;return!!(a&&a.isReactComponent)}function _e(r,a,s){if(r==null)return"";if(typeof r=="function")return ot(r,kn(r));if(typeof r=="string")return fe(r);switch(r){case f:return fe("Suspense");case _:return fe("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case d:return wn(r.render);case b:return _e(r.type,a,s);case S:{var m=r,v=m._payload,y=m._init;try{return _e(y(v),a,s)}catch{}}}return""}var me=Object.prototype.hasOwnProperty,it={},at=P.ReactDebugCurrentFrame;function xe(r){if(r){var a=r._owner,s=_e(r.type,r._source,a?a.type:null);at.setExtraStackFrame(s)}else at.setExtraStackFrame(null)}function Sn(r,a,s,m,v){{var y=Function.call.bind(me);for(var g in r)if(y(r,g)){var h=void 0;try{if(typeof r[g]!="function"){var T=Error((m||"React class")+": "+s+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}h=r[g](a,g,m,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){h=C}h&&!(h instanceof Error)&&(xe(v),R("%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).",m||"React class",s,g,typeof h),xe(null)),h instanceof Error&&!(h.message in it)&&(it[h.message]=!0,xe(v),R("Failed %s type: %s",s,h.message),xe(null))}}}var jn=Array.isArray;function ke(r){return jn(r)}function Cn(r){{var a=typeof Symbol=="function"&&Symbol.toStringTag,s=a&&r[Symbol.toStringTag]||r.constructor.name||"Object";return s}}function En(r){try{return st(r),!1}catch{return!0}}function st(r){return""+r}function lt(r){if(En(r))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Cn(r)),st(r)}var se=P.ReactCurrentOwner,Rn={key:!0,ref:!0,__self:!0,__source:!0},ct,dt,Se;Se={};function Tn(r){if(me.call(r,"ref")){var a=Object.getOwnPropertyDescriptor(r,"ref").get;if(a&&a.isReactWarning)return!1}return r.ref!==void 0}function In(r){if(me.call(r,"key")){var a=Object.getOwnPropertyDescriptor(r,"key").get;if(a&&a.isReactWarning)return!1}return r.key!==void 0}function On(r,a){if(typeof r.ref=="string"&&se.current&&a&&se.current.stateNode!==a){var s=D(se.current.type);Se[s]||(R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',D(se.current.type),r.ref),Se[s]=!0)}}function Pn(r,a){{var s=function(){ct||(ct=!0,R("%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)",a))};s.isReactWarning=!0,Object.defineProperty(r,"key",{get:s,configurable:!0})}}function Nn(r,a){{var s=function(){dt||(dt=!0,R("%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)",a))};s.isReactWarning=!0,Object.defineProperty(r,"ref",{get:s,configurable:!0})}}var zn=function(r,a,s,m,v,y,g){var h={$$typeof:t,type:r,key:a,ref:s,props:g,_owner:y};return h._store={},Object.defineProperty(h._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(h,"_self",{configurable:!1,enumerable:!1,writable:!1,value:m}),Object.defineProperty(h,"_source",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h};function $n(r,a,s,m,v){{var y,g={},h=null,T=null;s!==void 0&&(lt(s),h=""+s),In(a)&&(lt(a.key),h=""+a.key),Tn(a)&&(T=a.ref,On(a,v));for(y in a)me.call(a,y)&&!Rn.hasOwnProperty(y)&&(g[y]=a[y]);if(r&&r.defaultProps){var C=r.defaultProps;for(y in C)g[y]===void 0&&(g[y]=C[y])}if(h||T){var E=typeof r=="function"?r.displayName||r.name||"Unknown":r;h&&Pn(g,E),T&&Nn(g,E)}return zn(r,h,T,v,m,se.current,g)}}var je=P.ReactCurrentOwner,ut=P.ReactDebugCurrentFrame;function Q(r){if(r){var a=r._owner,s=_e(r.type,r._source,a?a.type:null);ut.setExtraStackFrame(s)}else ut.setExtraStackFrame(null)}var Ce;Ce=!1;function Ee(r){return typeof r=="object"&&r!==null&&r.$$typeof===t}function ft(){{if(je.current){var r=D(je.current.type);if(r)return`
18
+ */var Me;function rr(){return Me||(Me=1,process.env.NODE_ENV!=="production"&&function(){var e=k,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),O=Symbol.iterator,ne="@@iterator";function $(r){if(r===null||typeof r!="object")return null;var a=O&&r[O]||r[ne];return typeof a=="function"?a:null}var P=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(r){{for(var a=arguments.length,s=new Array(a>1?a-1:0),m=1;m<a;m++)s[m-1]=arguments[m];F("error",r,s)}}function F(r,a,s){{var m=P.ReactDebugCurrentFrame,v=m.getStackAddendum();v!==""&&(a+="%s",s=s.concat([v]));var y=s.map(function(g){return String(g)});y.unshift("Warning: "+a),Function.prototype.apply.call(console[r],console,y)}}var W=!1,H=!1,X=!1,de=!1,bn=!1,Ze;Ze=Symbol.for("react.module.reference");function vn(r){return!!(typeof r=="string"||typeof r=="function"||r===i||r===p||bn||r===l||r===f||r===_||de||r===T||W||H||X||typeof r=="object"&&r!==null&&(r.$$typeof===j||r.$$typeof===b||r.$$typeof===c||r.$$typeof===u||r.$$typeof===d||r.$$typeof===Ze||r.getModuleId!==void 0))}function yn(r,a,s){var m=r.displayName;if(m)return m;var v=a.displayName||a.name||"";return v!==""?s+"("+v+")":s}function Je(r){return r.displayName||"Context"}function L(r){if(r==null)return null;if(typeof r.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case i:return"Fragment";case n:return"Portal";case p:return"Profiler";case l:return"StrictMode";case f:return"Suspense";case _:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case u:var a=r;return Je(a)+".Consumer";case c:var s=r;return Je(s._context)+".Provider";case d:return yn(r,r.render,"ForwardRef");case b:var m=r.displayName||null;return m!==null?m:L(r.type)||"Memo";case j:{var v=r,y=v._payload,g=v._init;try{return L(g(y))}catch{return null}}}return null}var Z=Object.assign,oe=0,Xe,qe,Ke,Qe,et,tt,rt;function nt(){}nt.__reactDisabledLog=!0;function wn(){{if(oe===0){Xe=console.log,qe=console.info,Ke=console.warn,Qe=console.error,et=console.group,tt=console.groupCollapsed,rt=console.groupEnd;var r={configurable:!0,enumerable:!0,value:nt,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}oe++}}function kn(){{if(oe--,oe===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Z({},r,{value:Xe}),info:Z({},r,{value:qe}),warn:Z({},r,{value:Ke}),error:Z({},r,{value:Qe}),group:Z({},r,{value:et}),groupCollapsed:Z({},r,{value:tt}),groupEnd:Z({},r,{value:rt})})}oe<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var be=P.ReactCurrentDispatcher,ve;function ue(r,a,s){{if(ve===void 0)try{throw Error()}catch(v){var m=v.stack.trim().match(/\n( *(at )?)/);ve=m&&m[1]||""}return`
19
+ `+ve+r}}var ye=!1,fe;{var jn=typeof WeakMap=="function"?WeakMap:Map;fe=new jn}function ot(r,a){if(!r||ye)return"";{var s=fe.get(r);if(s!==void 0)return s}var m;ye=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=be.current,be.current=null,wn();try{if(a){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(A){m=A}Reflect.construct(r,[],g)}else{try{g.call()}catch(A){m=A}r.call(g.prototype)}}else{try{throw Error()}catch(A){m=A}r()}}catch(A){if(A&&m&&typeof A.stack=="string"){for(var h=A.stack.split(`
20
+ `),I=m.stack.split(`
21
+ `),C=h.length-1,E=I.length-1;C>=1&&E>=0&&h[C]!==I[E];)E--;for(;C>=1&&E>=0;C--,E--)if(h[C]!==I[E]){if(C!==1||E!==1)do if(C--,E--,E<0||h[C]!==I[E]){var z=`
22
+ `+h[C].replace(" at new "," at ");return r.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",r.displayName)),typeof r=="function"&&fe.set(r,z),z}while(C>=1&&E>=0);break}}}finally{ye=!1,be.current=y,kn(),Error.prepareStackTrace=v}var K=r?r.displayName||r.name:"",ht=K?ue(K):"";return typeof r=="function"&&fe.set(r,ht),ht}function Sn(r,a,s){return ot(r,!1)}function Cn(r){var a=r.prototype;return!!(a&&a.isReactComponent)}function pe(r,a,s){if(r==null)return"";if(typeof r=="function")return ot(r,Cn(r));if(typeof r=="string")return ue(r);switch(r){case f:return ue("Suspense");case _:return ue("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case d:return Sn(r.render);case b:return pe(r.type,a,s);case j:{var m=r,v=m._payload,y=m._init;try{return pe(y(v),a,s)}catch{}}}return""}var _e=Object.prototype.hasOwnProperty,it={},at=P.ReactDebugCurrentFrame;function me(r){if(r){var a=r._owner,s=pe(r.type,r._source,a?a.type:null);at.setExtraStackFrame(s)}else at.setExtraStackFrame(null)}function En(r,a,s,m,v){{var y=Function.call.bind(_e);for(var g in r)if(y(r,g)){var h=void 0;try{if(typeof r[g]!="function"){var I=Error((m||"React class")+": "+s+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw I.name="Invariant Violation",I}h=r[g](a,g,m,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){h=C}h&&!(h instanceof Error)&&(me(v),R("%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).",m||"React class",s,g,typeof h),me(null)),h instanceof Error&&!(h.message in it)&&(it[h.message]=!0,me(v),R("Failed %s type: %s",s,h.message),me(null))}}}var Rn=Array.isArray;function we(r){return Rn(r)}function In(r){{var a=typeof Symbol=="function"&&Symbol.toStringTag,s=a&&r[Symbol.toStringTag]||r.constructor.name||"Object";return s}}function Tn(r){try{return st(r),!1}catch{return!0}}function st(r){return""+r}function lt(r){if(Tn(r))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",In(r)),st(r)}var ie=P.ReactCurrentOwner,Nn={key:!0,ref:!0,__self:!0,__source:!0},ct,dt,ke;ke={};function Pn(r){if(_e.call(r,"ref")){var a=Object.getOwnPropertyDescriptor(r,"ref").get;if(a&&a.isReactWarning)return!1}return r.ref!==void 0}function zn(r){if(_e.call(r,"key")){var a=Object.getOwnPropertyDescriptor(r,"key").get;if(a&&a.isReactWarning)return!1}return r.key!==void 0}function On(r,a){if(typeof r.ref=="string"&&ie.current&&a&&ie.current.stateNode!==a){var s=L(ie.current.type);ke[s]||(R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',L(ie.current.type),r.ref),ke[s]=!0)}}function $n(r,a){{var s=function(){ct||(ct=!0,R("%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)",a))};s.isReactWarning=!0,Object.defineProperty(r,"key",{get:s,configurable:!0})}}function Fn(r,a){{var s=function(){dt||(dt=!0,R("%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)",a))};s.isReactWarning=!0,Object.defineProperty(r,"ref",{get:s,configurable:!0})}}var Mn=function(r,a,s,m,v,y,g){var h={$$typeof:t,type:r,key:a,ref:s,props:g,_owner:y};return h._store={},Object.defineProperty(h._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(h,"_self",{configurable:!1,enumerable:!1,writable:!1,value:m}),Object.defineProperty(h,"_source",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h};function Ln(r,a,s,m,v){{var y,g={},h=null,I=null;s!==void 0&&(lt(s),h=""+s),zn(a)&&(lt(a.key),h=""+a.key),Pn(a)&&(I=a.ref,On(a,v));for(y in a)_e.call(a,y)&&!Nn.hasOwnProperty(y)&&(g[y]=a[y]);if(r&&r.defaultProps){var C=r.defaultProps;for(y in C)g[y]===void 0&&(g[y]=C[y])}if(h||I){var E=typeof r=="function"?r.displayName||r.name||"Unknown":r;h&&$n(g,E),I&&Fn(g,E)}return Mn(r,h,I,v,m,ie.current,g)}}var je=P.ReactCurrentOwner,ut=P.ReactDebugCurrentFrame;function q(r){if(r){var a=r._owner,s=pe(r.type,r._source,a?a.type:null);ut.setExtraStackFrame(s)}else ut.setExtraStackFrame(null)}var Se;Se=!1;function Ce(r){return typeof r=="object"&&r!==null&&r.$$typeof===t}function ft(){{if(je.current){var r=L(je.current.type);if(r)return`
23
23
 
24
- Check the render method of \``+r+"`."}return""}}function Fn(r){{if(r!==void 0){var a=r.fileName.replace(/^.*[\\\/]/,""),s=r.lineNumber;return`
24
+ Check the render method of \``+r+"`."}return""}}function An(r){{if(r!==void 0){var a=r.fileName.replace(/^.*[\\\/]/,""),s=r.lineNumber;return`
25
25
 
26
- Check your code at `+a+":"+s+"."}return""}}var pt={};function Mn(r){{var a=ft();if(!a){var s=typeof r=="string"?r:r.displayName||r.name;s&&(a=`
26
+ Check your code at `+a+":"+s+"."}return""}}var pt={};function Dn(r){{var a=ft();if(!a){var s=typeof r=="string"?r:r.displayName||r.name;s&&(a=`
27
27
 
28
- Check the top-level render call using <`+s+">.")}return a}}function _t(r,a){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var s=Mn(a);if(pt[s])return;pt[s]=!0;var m="";r&&r._owner&&r._owner!==je.current&&(m=" It was passed a child from "+D(r._owner.type)+"."),Q(r),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,m),Q(null)}}function mt(r,a){{if(typeof r!="object")return;if(ke(r))for(var s=0;s<r.length;s++){var m=r[s];Ee(m)&&_t(m,a)}else if(Ee(r))r._store&&(r._store.validated=!0);else if(r){var v=F(r);if(typeof v=="function"&&v!==r.entries)for(var y=v.call(r),g;!(g=y.next()).done;)Ee(g.value)&&_t(g.value,a)}}}function Ln(r){{var a=r.type;if(a==null||typeof a=="string")return;var s;if(typeof a=="function")s=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===d||a.$$typeof===b))s=a.propTypes;else return;if(s){var m=D(a);Sn(s,r.props,"prop",m,r)}else if(a.PropTypes!==void 0&&!Ce){Ce=!0;var v=D(a);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function An(r){{for(var a=Object.keys(r.props),s=0;s<a.length;s++){var m=a[s];if(m!=="children"&&m!=="key"){Q(r),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),Q(null);break}}r.ref!==null&&(Q(r),R("Invalid attribute `ref` supplied to `React.Fragment`."),Q(null))}}function xt(r,a,s,m,v,y){{var g=hn(r);if(!g){var h="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=Fn(v);T?h+=T:h+=ft();var C;r===null?C="null":ke(r)?C="array":r!==void 0&&r.$$typeof===t?(C="<"+(D(r.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):C=typeof r,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,h)}var E=$n(r,a,s,v,y);if(E==null)return E;if(g){var z=a.children;if(z!==void 0)if(m)if(ke(z)){for(var ee=0;ee<z.length;ee++)mt(z[ee],r);Object.freeze&&Object.freeze(z)}else R("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 mt(z,r)}return r===i?An(E):Ln(E),E}}function Dn(r,a,s){return xt(r,a,s,!0)}function Un(r,a,s){return xt(r,a,s,!1)}var Bn=Un,Wn=Dn;re.Fragment=i,re.jsx=Bn,re.jsxs=Wn}()),re}process.env.NODE_ENV==="production"?ge.exports=Kt():ge.exports=Qt();var o=ge.exports;const er={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let B={};function tr(){let[e,t]=k.useState([]);return B.set=n=>{t([...e,n])},B.del=n=>{t(e.filter(i=>i.key!==n))},e.length===0?"":o.jsx("ul",{className:er.notice,children:e.map(n=>n.item)})}function ne({data:e}){let[t,n]=k.useState("show");k.useEffect(()=>{setTimeout(function(){n("hide")},1800),setTimeout(function(){B.del(e.key)},2500)},[e.key]);let i,l;switch(e.type){case"error":i=o.jsx(H.error,{}),l="Ошибка:";break;case"success":i=o.jsx(H.success,{}),l="Информация:";break;case"copy":i=o.jsx(H.success,{}),l="Копирование:";break;case"remark":i=o.jsx(H.success,{}),l="Подсказка:";break;default:i=o.jsx(H.success,{}),l="Предупреждение:";break}return o.jsxs("li",{className:"item "+e.type,"data-status":t,children:[i,o.jsx("b",{children:l}),o.jsx("p",{children:e.text})]})}function rr(e){let t=Date.now(),n={key:t,...e};B.set({item:o.jsx(ne,{data:n},t),key:t})}function nr(e){let t=Date.now(),n={key:t,text:e,type:"error"};B.set({item:o.jsx(ne,{data:n},t),key:t})}function or(e){let t=Date.now(),n={key:t,text:e,type:"success"};B.set({item:o.jsx(ne,{data:n},t),key:t})}function ir(e){let t=Date.now(),n={key:t,text:e,type:"remark"};B.set({item:o.jsx(ne,{data:n},t),key:t})}function ar(e){let t=Date.now(),n={key:t,text:e,type:"copy"};B.set({item:o.jsx(ne,{data:n},t),key:t})}const H={};H.error=()=>o.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[o.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"}),o.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"})]}),H.success=()=>o.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[o.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"}),o.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"})]});const sr={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let oe={};function lr(){let[e,t]=k.useState("");return oe.set=n=>t(n),oe.del=()=>t(""),o.jsx(o.Fragment,{children:e})}const cr=({data:e,callback:t})=>(e.button=e.button===void 0?"Подтвердить":e.button,o.jsxs("div",{className:sr.alerts,children:[o.jsxs("dl",{children:[o.jsx("dt",{children:e.title}),o.jsx("dd",{children:e.text}),o.jsx("ul",{children:o.jsx("button",{"data-color":e.color||"blue",onClick:()=>{t(),oe.del()},children:e.button})})]}),o.jsx("div",{className:"--body",onClick:oe.del})]}));function dr(e,t){oe.set(o.jsx(cr,{data:e,callback:t}))}function ur({children:e}){return o.jsx("div",{className:"l",children:o.jsx("ul",{children:e})})}function fr({children:e}){return o.jsx("div",{className:"s",children:e})}const Le=({children:e,disabled:t,label:n,onClick:i})=>{const l=p=>{t||i&&i(p)};return o.jsx("button",{disabled:t,onClick:l,children:n})},W={white:"_white_1iomo_14",black:"_black_1iomo_26",shake:"_shake_1iomo_1",modal:"_modal_1iomo_73",o:"_o_1iomo_83",w:"_w_1iomo_14",h:"_h_1iomo_106",l:"_l_1iomo_120",t:"_t_1iomo_158",m:"_m_1iomo_73",x:"_x_1iomo_166",s:"_s_1iomo_176",c:"_c_1iomo_181",f:"_f_1iomo_186",btn:"_btn_1iomo_229",g:"_g_1iomo_242","size-a":"_size-a_1iomo_294","size-s":"_size-s_1iomo_298","size-m":"_size-m_1iomo_302","size-l":"_size-l_1iomo_306","size-x":"_size-x_1iomo_310","size-f":"_size-f_1iomo_314",confirm:"_confirm_1iomo_320",cancel:"_cancel_1iomo_325",disabled:"_disabled_1iomo_330",await:"_await_1iomo_337",active:"_active_1iomo_387",coincidence:"_coincidence_1iomo_393"};let q={};const pr=({config:e})=>{let[t,n]=k.useState([]);return q.x=()=>{n([])},q.config=e,q.add=i=>{n([...t,i])},o.jsx(o.Fragment,{children:t.map(i=>i)})},_r=({children:e,title:t,button:n,tabs:i,size:l="m",menu:p})=>{const[c,u]=k.useState(!0),d=k.useRef(),f=b=>{if(n&&n.onClick)return n.onClick({closed:u,disabled:b})},_=()=>{d.current.setAttribute("shake",!0),setTimeout(()=>{d.current.setAttribute("shake",!1)},1e3)};return o.jsx(o.Fragment,{children:c?o.jsxs("div",{className:`${W.modal} ${W.white}`,children:[o.jsx("div",{className:W.o,onClick:_}),o.jsxs("div",{className:W.w,ref:d,children:[o.jsxs("div",{className:W.h,children:[o.jsx("div",{className:W.t,children:t}),o.jsxs("div",{className:W.m,children:[i&&o.jsx("nav",{children:i.map((b,S)=>o.jsx("span",{onClick:b.onClick,className:b.active?"active":"",children:b.name},S))}),p]}),o.jsx("div",{className:W.x,onClick:()=>{u(!1)},children:o.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:o.jsx("path",{d:"M19.0005 4.99988L5.00045 18.9999M5.00045 4.99988L19.0005 18.9999",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"})})})]}),e,n!==void 0?o.jsx(Le,{label:String(n.name),onClick:f}):""]})]}):""})},mr=e=>{q.add(o.jsx(xr,{children:e},String(Date.now())))},xr=({children:e})=>o.jsx(o.Fragment,{children:e}),Ae={List:ur,Scroll:fr,Init:pr,Main:_r,Add:mr,Icon:({type:e,name:t,params:n})=>{let[i,l]=k.useState(null);return k.useEffect(()=>{q.config(e,t,n,l)},[n.id]),o.jsx(o.Fragment,{children:i})},Open:(e,t,n)=>{q.config(e,t,n)}},De=({children:e,config:t,crypto:n,...i})=>gt(n,o.jsxs(o.Fragment,{children:[o.jsx(Ae.Init,{config:t.modal}),o.jsx(tr,{}),o.jsx(lr,{}),e]})),hr=({children:e,...t})=>o.jsx("menu",{children:e}),gr=({children:e,...t})=>o.jsxs("header",{children:["xz",e]}),br={payment:"_payment_1lxfv_1"};function vr(){let[e,t]=k.useState({});return!e.active&&!e.payment?"":o.jsx("div",{className:br.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const yr=({children:e,...t})=>{let n={};return n.enCode=i=>JSON.stringify(i).toString(),n.deCode=i=>JSON.parse(i),o.jsxs("div",{className:"app",children:[o.jsx(vr,{}),o.jsx(hr,{}),o.jsx(gr,{}),o.jsx(De,{config:{modal:{}},crypto:n}),e]})},Ue=({list:e,onClick:t,active:n,size:i,view:l})=>o.jsx("nav",{children:o.jsx("ul",{className:[i,l].join(" "),children:e.map(p=>o.jsx(wr,{onClick:t,active:n,label:p.label,link:p.link},p.link))})}),wr=({onClick:e,label:t,link:n,active:i})=>o.jsx("li",{"tabs-active":String(i===n),onClick:()=>e(n),children:t});Ue.defaultProps={size:"M",view:"H"};const kr=({title:e="",button:t,description:n="",children:i})=>o.jsxs("fieldset",{children:[e&&o.jsxs("legend",{children:[e,t&&o.jsx("div",{role:"button-outline",onClick:()=>t.onClick(),children:t.label})," "]}),o.jsx("ul",{children:i}),n&&o.jsx("article",{children:n})]}),Sr={setting:"_setting_1r0pc_2"},jr=({children:e})=>o.jsx("div",{className:Sr.setting,children:e}),Cr=({label:e,children:t})=>{let[n,i]=k.useState(!1);return o.jsxs("li",{"data-item":"accordion",children:[o.jsxs("dl",{onClick:()=>i(!n),children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:o.jsx("div",{"data-close":String(n)})})]}),n&&o.jsx("div",{children:t})]})},Er=({label:e,onClick:t,button:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"button",onClick:()=>t(),children:n})]})}),Be={Switch:({active:e,onClick:t})=>(console.log(e),e=typeof e=="number"?!!e:e,o.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),t()},"aria-checked":e?"true":"false"}))},Rr={Accordion:Cr,Button:Er,Switch:({label:e,onClick:t,active:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:o.jsx(Be.Switch,{onClick:t,active:n})})]})}),Info:({label:e,info:t})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"info",children:t})]})}),Select:({label:e,active:t,options:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"info",children:t})]})}),Component:({label:e,children:t})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:t})]})}),Node:({label:e,children:t})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:t})]})})};function We({list:e,onClick:t,active:n,size:i,view:l}){return o.jsx("nav",{children:o.jsx("ul",{className:[i,l].join(" "),children:e.map(p=>o.jsx(Tr,{onClick:t,active:n,label:p.label,link:p.link},p.link))})})}const Tr=({onClick:e,label:t,link:n,active:i})=>o.jsx("li",{"tabs-active":String(i===n),onClick:()=>e(n),children:t});We.defaultProps={size:"M",view:"H"};const Ir={Section:kr,Main:jr,Item:Rr,Tabs:We},J={h:"_h_158b4_1",t:"_t_158b4_11",s:"_s_158b4_31",u:"_u_158b4_40",o:"_o_158b4_47",l:"_l_158b4_56",hh:"_hh_158b4_63"},Ye=({title:e,children:t})=>o.jsxs("div",{className:J.h,children:[o.jsx("div",{className:J.t,children:e}),t]}),Or=({children:e,title:t})=>o.jsxs("div",{className:J.o,children:[t&&o.jsx("div",{className:J.hh,children:t}),e]}),Pr=({children:e})=>o.jsx("div",{className:J.u,children:e}),Ve=({children:e})=>o.jsx("div",{className:J.s,children:e}),Ge=({children:e,...t})=>o.jsx("div",{className:J.l,children:e}),Nr={Header:Ye,Section:Ve,List:Ge,U:Pr,L:Ge,O:Or,S:Ve,H:Ye},zr={Send:rr,Error:nr,Remark:ir,Success:or,Copy:ar},$r={Send:dr};function Fr(){return o.jsx("svg",{viewBox:"0 0 462.86 359.96",children:o.jsx("path",{d:"M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",transform:"translate(-88.37 0)"})})}const Mr={Logo:Fr},Lr={Path:Ft,setPage:Et,getPage:Oe,usePage:Ct,setModule:Tt,getModule:Pe,useModule:Rt,setTabs:Ot,getTabs:le,useTabs:It,useId:Pt,setId:zt,subId:Nt,getId:$t},Ar={sort:"_sort_1yrvt_1"};let ce={};function Dr(e,t){switch(t.type){case"active":let n="<";return e.active===t.data&&(n=e.sort==="<"?">":"<"),ce.get({active:t.data,sort:n},!1),Ne({active:t.data,sort:n}),{...e,active:t.data,sort:n};default:throw new Error}}function Ur(){const[e,t]=k.useReducer(Dr,he()===void 0?{active:1,sort:"<"}:he());return o.jsxs("div",{className:Ar.sort,children:[o.jsx("i",{"data-color":e.active===1?"_506290":"_b5b9cc","data-icon":e.active===1?e.sort==="<"?"F073":"F072":"F071",onClick:()=>t({type:"active",data:1})}),o.jsx("i",{"data-color":e.active===2?"_506290":"_b5b9cc","data-icon":e.active===2?e.sort==="<"?"F066":"F067":"F074",onClick:()=>t({type:"active",data:2})}),o.jsx("i",{"data-color":e.active===3?"_506290":"_b5b9cc","data-icon":e.active===3?e.sort==="<"?"F068":"F069":"F070",onClick:()=>t({type:"active",data:3})})]})}function Br(e){ce.get=e}function Wr(e){ce.set(e)}function Yr(e,t,n){let i=1,l=0,p={},c=50;p[i]=[];let u={},d="s1a";switch(u.s1a=(f,_)=>_.s1-f.s1,u.s1d=(f,_)=>f.s1-_.s1,u.s2a=(f,_)=>f.s2-_.s2,u.s2d=(f,_)=>_.s2-f.s2,u.s3a=(f,_)=>f.s3.localeCompare(_.s3),u.s3d=(f,_)=>_.s3.localeCompare(f.s3),n.active){case 1:d=n.sort===">"?"s1d":"s1a";break;case 2:d=n.sort===">"?"s2d":"s2a";break;case 3:d=n.sort===">"?"s3d":"s3a";break}return t.sort(u[d]).forEach(f=>{l++,l<=c||(i++,l=1,p[i]=[]),p[i].push(e[f.id])}),{data:p}}function Vr(e){ce.count(e)}const Gr={Init:Ur,useValue:Br,Set:Wr,Run:Yr,Count:Vr};function Hr(e,t){t===void 0?(t=e,e=new Date):e=new Date(e);let n={yyyy:e.getFullYear(),yy:(""+e.getFullYear()).slice(-2),mm:("0"+(e.getMonth()+1)).slice(-2),dd:("0"+e.getDate()).slice(-2),HH:("0"+e.getHours()).slice(-2),MM:("0"+e.getMinutes()).slice(-2),SS:("0"+e.getSeconds()).slice(-2),__:"      ",_:"    "};for(const i in n)t=t.replace(i,n[i]);return t}function Jr(e){let t=["Января","Февраля","Марта","Апреля","Мая","Июня","Июля","Августа","Сентября","Октября","Ноября","Декабря"],n=new Date(e);return{day:(""+n.getFullYear()).slice(-2)+""+("0"+(n.getMonth()+1)).slice(-2)+("0"+n.getDate()).slice(-2),name:n.getDate()+" "+t[n.getMonth()]}}const Zr=e=>{function t(M,V){var Z,ue,K;M=M??"",V=V??1;for(var Z=[],K=0,ue=M.length;K<ue;)Z.push(M.slice(K,K+=V));return Z}function n(M,V){var Z=[2,0,1,1,1,2];return V[M>4&&M<20?2:Z[Math.min(M,5)]]}var i={null:"ноль",a1:["один","два","три","четыре","пять","шесть","семь","восемь","девять"],a2:["одна","две","три","четыре","пять","шесть","семь","восемь","девять"],a10:["десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],a20:["двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],a100:["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],uc:["копейка","копейки","копеек"],ur:["рубль","рубля","рублей"],u3:["тысяча","тысячи","тысяч"],u2:["миллион","миллиона","миллионов"],u1:["миллиард","миллиарда","миллиардов"]},l,p,c,u,F,d,f,ie,_,b,S,I;_=parseFloat(e).toFixed(2).split("."),d=_[0],u=_[1];var $=12-d.length;if($<0)return!1;for(var ie=[];$--;)ie.push("0");d=ie.join("")+d;var F=[];if(d>0){b=t(d,3);for(var P=-1;P<b.length;P++)if(f=b[P],f>0&&(S=t(f,1),l=parseInt(S[0]),p=parseInt(S[1]),c=parseInt(S[2]),F.push(i.a100[l-1]),I=P+1==3?"a2":"a1",p>1?F.push(i.a20[p-2]+(c>0?" "+i[I][c-1]:"")):F.push(p>0?i.a10[c]:i[I][c-1]),b.length>P+1)){var R=i["u"+(P+1)];F.push(n(f,R))}}else F.push(i.null);return F.push(n(d,i.ur)),F.push(u+" "+n(u,i.uc)),F.join(" ").replace(RegExp(" {2,}","g")," ").trimLeft()};function Xr(e){let t=-1,n=[" kB"," MB"," GB"," TB","PB","EB","ZB","YB"];do e=e/1024,t++;while(e>1024);return Math.max(e,.1).toFixed(1)+n[t]}function qr(e){let t={};return t["application/atom+xml"]="atom",t["application/json"]="json",t["application/javascript"]="js",t["application/ogg"]="ogg",t["application/pdf"]="pdf",t["application/soap+xml"]="soap",t["application/font-woff"]="woff",t["application/xhtml+xml"]="xml",t["application/xml-dtd"]="dtd",t["application/xop+xml"]="xop",t["application/zip"]="zip",t["application/gzip"]="gzip",t["application/x-bittorrent"]="bittorrent",t["application/x-tex"]="tex",t["application/xml"]="xml",t["application/msword"]="doc",t["image/svg+xml"]="svg",t[e]}function Kr(e,t,n,i){let l={sexM:"m",sexF:"f",gcaseIm:"nominative",gcaseNom:"nominative",gcaseRod:"genitive",gcaseGen:"genitive",gcaseDat:"dative",gcaseVin:"accusative",gcaseAcc:"accusative",gcaseTvor:"instrumentative",gcaseIns:"instrumentative",gcasePred:"prepositional",gcasePos:"prepositional",rules:{lastName:{exceptions:[" дюма,тома,дега,люка,ферма,гамарра,петипа,шандра . . . . ."," гусь,ремень,камень,онук,богода,нечипас,долгопалец,маненок,рева,кива . . . . ."," вий,сой,цой,хой -я -ю -я -ем -е"],suffixes:["f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ,ь . . . . .","f ска,цка -ой -ой -ую -ой -ой","f ая --ой --ой --ую --ой --ой"," ская --ой --ой --ую --ой --ой","f на -ой -ой -у -ой -ой"," иной -я -ю -я -ем -е"," уй -я -ю -я -ем -е"," ца -a -е -у -ей -е"," рих а у а ом е"," ия . . . . ."," иа,аа,оа,уа,ыа,еа,юа,эа . . . . ."," их,ых . . . . ."," о,е,э,и,ы,у,ю . . . . ."," ова,ева -ой -ой -у -ой -ой"," га,ка,ха,ча,ща,жа -и -е -у -ой -е"," ца -и -е -у -ей -е"," а -ы -е -у -ой -е"," ь -я -ю -я -ем -е"," ия -и -и -ю -ей -и"," я -и -е -ю -ей -е"," ей -я -ю -я -ем -е"," ян,ан,йн а у а ом е"," ынец,обец --ца --цу --ца --цем --це"," онец,овец --ца --цу --ца --цом --це"," ц,ч,ш,щ а у а ем е"," ай -я -ю -я -ем -е"," гой,кой -го -му -го --им -м"," ой -го -му -го --ым -м"," ах,ив а у а ом е"," ший,щий,жий,ний --его --ему --его -м --ем"," кий,ый --ого --ому --ого -м --ом"," ий -я -ю -я -ем -и"," ок --ка --ку --ка --ком --ке"," ец --ца --цу --ца --цом --це"," в,н а у а ым е"," б,г,д,ж,з,к,л,м,п,р,с,т,ф,х а у а ом е"]},firstName:{exceptions:[" лев --ьва --ьву --ьва --ьвом --ьве"," павел --ла --лу --ла --лом --ле","m шота . . . . .","m пётр ---етра ---етру ---етра ---етром ---етре","f рашель,нинель,николь,габриэль,даниэль . . . . ."],suffixes:[" е,ё,и,о,у,ы,э,ю . . . . .","f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ . . . . .","f ь -и -и . ю -и","m ь -я -ю -я -ем -е"," га,ка,ха,ча,ща,жа -и -е -у -ой -е"," ша -и -е -у -ей -е"," а -ы -е -у -ой -е"," ия -и -и -ю -ей -и"," я -и -е -ю -ей -е"," ей -я -ю -я -ем -е"," ий -я -ю -я -ем -и"," й -я -ю -я -ем -е"," б,в,г,д,ж,з,к,л,м,н,п,р,с,т,ф,х,ц,ч а у а ом е"]},middleName:{suffixes:[" ич а у а ем е"," на -ы -е -у -ой -е"]}},initialized:!1,init:function(){this.initialized||(this.prepareRules(),this.initialized=!0)},prepareRules:function(){for(var c in this.rules)for(var u in this.rules[c])for(var d=0,f=this.rules[c][u].length;d<f;d++)this.rules[c][u][d]=this.rule(this.rules[c][u][d])},rule:function(c){var u=c.match(/^\s*([fm]?)\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s*$/);return u?{sex:u[1],test:u[2].split(","),mods:[u[3],u[4],u[5],u[6],u[7]]}:!1},word:function(c,u,d,f){if(f===this.gcaseNom)return c;if(c.match(/[-]/)){for(var _=c.split("-"),b=0,S=_.length;b<S;b++)_[b]=this.word(_[b],u,d,f);return _.join("-")}if(c.match(/^[А-ЯЁ]\.?$/i))return c;this.init();var I=this.rules[d];let $;return I.exceptions&&($=this.pick(c,u,f,I.exceptions,!0),$)?$:($=this.pick(c,u,f,I.suffixes,!1),$||c)},pick:function(c,u,d,f,_){let b=c.toLowerCase();for(var S=0,I=f.length;S<I;S++)if(this.ruleMatch(b,u,f[S],_))return this.applyMod(c,d,f[S]);return!1},ruleMatch:function(c,u,d,f){if(d.sex===this.sexM&&u===this.sexF||d.sex===this.sexF&&u!==this.sexF)return!1;for(var _=0,b=d.test.length;_<b;_++){var S=f?c:c.substr(Math.max(c.length-d.test[_].length,0));if(S===d.test[_])return!0}return!1},applyMod:function(c,u,d){let f;switch(u){case this.gcaseNom:f=".";break;case this.gcaseGen:f=d.mods[0];break;case this.gcaseDat:f=d.mods[1];break;case this.gcaseAcc:f=d.mods[2];break;case this.gcaseIns:f=d.mods[3];break;case this.gcasePos:f=d.mods[4];break}for(var _=0,b=f.length;_<b;_++){var S=f.substr(_,1);switch(S){case".":break;case"-":c=c.substr(0,c.length-1);break;default:c+=S}}return c},getSex:()=>{if(l.mn.length>2)switch(l.mn.substr(l.mn.length-2)){case"ич":return"m";case"на":return"f"}return""},fullName:c=>((l.fullNameSurnameLast?"":l.lastName(c)+" ")+l.firstName(c)+" "+l.middleName(c)+(l.fullNameSurnameLast?" "+l.lastName(c):"")).replace(/^ +| +$/g,""),lastName:c=>l.word(l.ln,l.sex,"lastName",c),firstName:c=>l.word(l.fn,l.sex,"firstName",c),middleName:c=>l.word(l.mn,l.sex,"middleName",c)};if(typeof t>"u"){var p=e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);if(!p)return"Cannot parse supplied name";p[5]&&p[3].match(/(ич|на)$/)&&!p[5].match(/(ич|на)$/)?(e=p[5],t=p[1],n=p[3],l.fullNameSurnameLast=!0):(e=p[1],t=p[3],n=p[5])}return l.ln=e,l.fn=t||"",l.mn=n||"",l.sex=i||l.getSex(),l}function Qr(e){let t=e.split(" ");switch(t.length){case 2:return t[0]+" "+t[1].substring(0,1)+".";case 3:return t[0]+" "+t[1].substring(0,1)+"."+t[2].substring(0,1)+".";default:return e}}function en(e){return{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:"Дек"}}[e]}function tn(e){return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}function rn(e,t){let n=t+"";for(;n.length<e;)n="0"+n;return n}function nn(e,t,n){let i=t/e*n;return(typeof i!="number"||i===1/0)&&(i=0),parseFloat(i).toFixed(1)}function on(e){return e.charAt(0).toUpperCase()+e.slice(1)}const an={Date:Hr,MoneyString:Zr,DateSort:Jr,Size:Xr,TypeFiles:qr,Cases:Kr,Initials:Qr,Month:en,Money:tn,Number:rn,Percent:nn,CapitalizeFirstLetter:on},be={};function sn(e,t){be[e]=t}function ln(e,t){be[e]!==void 0&&be[e](t)}const Y={};function cn(e,t){const[n,i]=k.useState(t);return k.useEffect(()=>{if(Y[e])return Y[e].push(i);Y[e]=[i]},[]),[n]}function dn(e,t){if(Y[e])return Y[e].push(t);Y[e]=[t]}function un(e,t){Y[e]&&Y[e].forEach(n=>n(t))}const fn={setListener:ln,useListener:sn,setEmitter:un,useEmitter:cn,subEmitter:dn},de={},He={};function pn(e){const[t,n]=k.useState({}),i=async l=>{n(Object.keys(de).reduce((p,c)=>(p?p[c]=de[c].all:p={},p),{}))};return k.useEffect(()=>{e.forEach(l=>de[l]={all:0}),He.menu=i,i()},[e]),t}function _n(e,t){switch(typeof t){case"number":de[e].all+=t,He.menu();break}}const mn={useMenu:pn,setUpdate:_n};w.Action=Be,w.Alert=$r,w.Api=A,w.Badge=mn,w.Browser=yr,w.Button=Le,w.Component=Nr,w.Event=fn,w.Format=an,w.Icon=Mr,w.Init=De,w.Modal=Ae,w.Notice=zr,w.Router=Lr,w.Setting=Ir,w.Store=N,w.Tabs=Ue,w.Triage=Gr,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"})});
28
+ Check the top-level render call using <`+s+">.")}return a}}function _t(r,a){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var s=Dn(a);if(pt[s])return;pt[s]=!0;var m="";r&&r._owner&&r._owner!==je.current&&(m=" It was passed a child from "+L(r._owner.type)+"."),q(r),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,m),q(null)}}function mt(r,a){{if(typeof r!="object")return;if(we(r))for(var s=0;s<r.length;s++){var m=r[s];Ce(m)&&_t(m,a)}else if(Ce(r))r._store&&(r._store.validated=!0);else if(r){var v=$(r);if(typeof v=="function"&&v!==r.entries)for(var y=v.call(r),g;!(g=y.next()).done;)Ce(g.value)&&_t(g.value,a)}}}function Un(r){{var a=r.type;if(a==null||typeof a=="string")return;var s;if(typeof a=="function")s=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===d||a.$$typeof===b))s=a.propTypes;else return;if(s){var m=L(a);En(s,r.props,"prop",m,r)}else if(a.PropTypes!==void 0&&!Se){Se=!0;var v=L(a);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Bn(r){{for(var a=Object.keys(r.props),s=0;s<a.length;s++){var m=a[s];if(m!=="children"&&m!=="key"){q(r),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),q(null);break}}r.ref!==null&&(q(r),R("Invalid attribute `ref` supplied to `React.Fragment`."),q(null))}}function xt(r,a,s,m,v,y){{var g=vn(r);if(!g){var h="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var I=An(v);I?h+=I:h+=ft();var C;r===null?C="null":we(r)?C="array":r!==void 0&&r.$$typeof===t?(C="<"+(L(r.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):C=typeof r,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,h)}var E=Ln(r,a,s,v,y);if(E==null)return E;if(g){var z=a.children;if(z!==void 0)if(m)if(we(z)){for(var K=0;K<z.length;K++)mt(z[K],r);Object.freeze&&Object.freeze(z)}else R("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 mt(z,r)}return r===i?Bn(E):Un(E),E}}function Wn(r,a,s){return xt(r,a,s,!0)}function Yn(r,a,s){return xt(r,a,s,!1)}var Vn=Yn,Gn=Wn;ee.Fragment=i,ee.jsx=Vn,ee.jsxs=Gn}()),ee}process.env.NODE_ENV==="production"?he.exports=tr():he.exports=rr();var o=he.exports;const nr={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let D={};function or(){let[e,t]=k.useState([]);return D.set=n=>{t([...e,n])},D.del=n=>{t(e.filter(i=>i.key!==n))},e.length===0?"":o.jsx("ul",{className:nr.notice,children:e.map(n=>n.item)})}function te({data:e}){let[t,n]=k.useState("show");k.useEffect(()=>{setTimeout(function(){n("hide")},1800),setTimeout(function(){D.del(e.key)},2500)},[e.key]);let i,l;switch(e.type){case"error":i=o.jsx(V.error,{}),l="Ошибка:";break;case"success":i=o.jsx(V.success,{}),l="Информация:";break;case"copy":i=o.jsx(V.success,{}),l="Копирование:";break;case"remark":i=o.jsx(V.success,{}),l="Подсказка:";break;default:i=o.jsx(V.success,{}),l="Предупреждение:";break}return o.jsxs("li",{className:"item "+e.type,"data-status":t,children:[i,o.jsx("b",{children:l}),o.jsx("p",{children:e.text})]})}function ir(e){let t=Date.now(),n={key:t,...e};D.set({item:o.jsx(te,{data:n},t),key:t})}function ar(e){let t=Date.now(),n={key:t,text:e,type:"error"};D.set({item:o.jsx(te,{data:n},t),key:t})}function sr(e){let t=Date.now(),n={key:t,text:e,type:"success"};D.set({item:o.jsx(te,{data:n},t),key:t})}function lr(e){let t=Date.now(),n={key:t,text:e,type:"remark"};D.set({item:o.jsx(te,{data:n},t),key:t})}function cr(e){let t=Date.now(),n={key:t,text:e,type:"copy"};D.set({item:o.jsx(te,{data:n},t),key:t})}const V={};V.error=()=>o.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[o.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"}),o.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"})]}),V.success=()=>o.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[o.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"}),o.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"})]});const dr={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let re={};function ur(){let[e,t]=k.useState("");return re.set=n=>t(n),re.del=()=>t(""),o.jsx(o.Fragment,{children:e})}const fr=({data:e,callback:t})=>(e.button=e.button===void 0?"Подтвердить":e.button,o.jsxs("div",{className:dr.alerts,children:[o.jsxs("dl",{children:[o.jsx("dt",{children:e.title}),o.jsx("dd",{children:e.text}),o.jsx("ul",{children:o.jsx("button",{"data-color":e.color||"blue",onClick:()=>{t(),re.del()},children:e.button})})]}),o.jsx("div",{className:"--body",onClick:re.del})]}));function pr(e,t){re.set(o.jsx(fr,{data:e,callback:t}))}function _r({children:e}){return o.jsx("div",{className:"l",children:o.jsx("ul",{children:e})})}function mr({children:e}){return o.jsx("div",{className:"s",children:e})}const Le=({children:e,disabled:t,label:n,onClick:i})=>{const l=p=>{t||i&&i(p)};return o.jsx("button",{disabled:t,onClick:l,children:n})},U={white:"_white_1iomo_14",black:"_black_1iomo_26",shake:"_shake_1iomo_1",modal:"_modal_1iomo_73",o:"_o_1iomo_83",w:"_w_1iomo_14",h:"_h_1iomo_106",l:"_l_1iomo_120",t:"_t_1iomo_158",m:"_m_1iomo_73",x:"_x_1iomo_166",s:"_s_1iomo_176",c:"_c_1iomo_181",f:"_f_1iomo_186",btn:"_btn_1iomo_229",g:"_g_1iomo_242","size-a":"_size-a_1iomo_294","size-s":"_size-s_1iomo_298","size-m":"_size-m_1iomo_302","size-l":"_size-l_1iomo_306","size-x":"_size-x_1iomo_310","size-f":"_size-f_1iomo_314",confirm:"_confirm_1iomo_320",cancel:"_cancel_1iomo_325",disabled:"_disabled_1iomo_330",await:"_await_1iomo_337",active:"_active_1iomo_387",coincidence:"_coincidence_1iomo_393"};let J={};const xr=({config:e})=>{let[t,n]=k.useState([]);return J.x=()=>{n([])},J.config=e,J.add=i=>{n([...t,i])},o.jsx(o.Fragment,{children:t.map(i=>i)})},hr=({children:e,title:t,button:n,tabs:i,size:l="m",menu:p})=>{const[c,u]=k.useState(!0),d=k.useRef(),f=b=>{if(n&&n.onClick)return n.onClick({closed:u,disabled:b})},_=()=>{d.current.setAttribute("shake",!0),setTimeout(()=>{d.current.setAttribute("shake",!1)},1e3)};return o.jsx(o.Fragment,{children:c?o.jsxs("div",{className:`${U.modal} ${U.white}`,children:[o.jsx("div",{className:U.o,onClick:_}),o.jsxs("div",{className:U.w,ref:d,children:[o.jsxs("div",{className:U.h,children:[o.jsx("div",{className:U.t,children:t}),o.jsxs("div",{className:U.m,children:[i&&o.jsx("nav",{children:i.map((b,j)=>o.jsx("span",{onClick:b.onClick,className:b.active?"active":"",children:b.name},j))}),p]}),o.jsx("div",{className:U.x,onClick:()=>{u(!1)},children:o.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:o.jsx("path",{d:"M19.0005 4.99988L5.00045 18.9999M5.00045 4.99988L19.0005 18.9999",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"})})})]}),e,n!==void 0?o.jsx(Le,{label:String(n.name),onClick:f}):""]})]}):""})},gr=e=>{J.add(o.jsx(br,{children:e},String(Date.now())))},br=({children:e})=>o.jsx(o.Fragment,{children:e}),Ae={List:_r,Scroll:mr,Init:xr,Main:hr,Add:gr,Icon:({type:e,name:t,params:n})=>{let[i,l]=k.useState(null);return k.useEffect(()=>{J.config(e,t,n,l)},[n.id]),o.jsx(o.Fragment,{children:i})},Open:(e,t,n)=>{J.config(e,t,n)}},De=({children:e,config:t,crypto:n,...i})=>gt(n,o.jsxs(o.Fragment,{children:[o.jsx(Ae.Init,{config:t.modal}),o.jsx(or,{}),o.jsx(ur,{}),e]})),vr=({children:e,...t})=>o.jsx("menu",{children:e}),yr=({children:e,...t})=>o.jsxs("header",{children:["xz",e]}),wr={payment:"_payment_1lxfv_1"};function kr(){let[e,t]=k.useState({});return!e.active&&!e.payment?"":o.jsx("div",{className:wr.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const jr=({children:e,...t})=>{let n={};return n.enCode=i=>JSON.stringify(i).toString(),n.deCode=i=>JSON.parse(i),o.jsxs("div",{className:"app",children:[o.jsx(kr,{}),o.jsx(vr,{}),o.jsx(yr,{}),o.jsx(De,{config:{modal:{}},crypto:n}),e]})},Ue=({list:e,onClick:t,active:n,size:i,view:l})=>o.jsx("nav",{children:o.jsx("ul",{className:[i,l].join(" "),children:e.map(p=>o.jsx(Sr,{onClick:t,active:n,label:p.label,link:p.link},p.link))})}),Sr=({onClick:e,label:t,link:n,active:i})=>o.jsx("li",{"tabs-active":String(i===n),onClick:()=>e(n),children:t});Ue.defaultProps={size:"M",view:"H"};const Cr=({title:e="",button:t,description:n="",children:i})=>o.jsxs("fieldset",{children:[e&&o.jsxs("legend",{children:[e,t&&o.jsx("div",{role:"button-outline",onClick:()=>t.onClick(),children:t.label})," "]}),o.jsx("ul",{children:i}),n&&o.jsx("article",{children:n})]}),Er={setting:"_setting_1r0pc_2"},Rr=({children:e})=>o.jsx("div",{className:Er.setting,children:e}),Ir=({label:e,children:t})=>{let[n,i]=k.useState(!1);return o.jsxs("li",{"data-item":"accordion",children:[o.jsxs("dl",{onClick:()=>i(!n),children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:o.jsx("div",{"data-close":String(n)})})]}),n&&o.jsx("div",{children:t})]})},Tr=({label:e,onClick:t,button:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"button",onClick:()=>t(),children:n})]})}),Be={Switch:({active:e,onClick:t})=>(console.log(e),e=typeof e=="number"?!!e:e,o.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),t()},"aria-checked":e?"true":"false"}))},Nr={Accordion:Ir,Button:Tr,Switch:({label:e,onClick:t,active:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:o.jsx(Be.Switch,{onClick:t,active:n})})]})}),Info:({label:e,info:t})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"info",children:t})]})}),Select:({label:e,active:t,options:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"info",children:t})]})}),Component:({label:e,children:t})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:t})]})}),Node:({label:e,children:t})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:t})]})})};function We({list:e,onClick:t,active:n,size:i,view:l}){return o.jsx("nav",{children:o.jsx("ul",{className:[i,l].join(" "),children:e.map(p=>o.jsx(Pr,{onClick:t,active:n,label:p.label,link:p.link},p.link))})})}const Pr=({onClick:e,label:t,link:n,active:i})=>o.jsx("li",{"tabs-active":String(i===n),onClick:()=>e(n),children:t});We.defaultProps={size:"M",view:"H"};const zr={Section:Cr,Main:Rr,Item:Nr,Tabs:We},G={h:"_h_158b4_1",t:"_t_158b4_11",s:"_s_158b4_31",u:"_u_158b4_40",o:"_o_158b4_47",l:"_l_158b4_56",hh:"_hh_158b4_63"},Ye=({title:e,children:t})=>o.jsxs("div",{className:G.h,children:[o.jsx("div",{className:G.t,children:e}),t]}),Or=({children:e,title:t})=>o.jsxs("div",{className:G.o,children:[t&&o.jsx("div",{className:G.hh,children:t}),e]}),$r=({children:e})=>o.jsx("div",{className:G.u,children:e}),Ve=({children:e})=>o.jsx("div",{className:G.s,children:e}),Ge=({children:e,...t})=>o.jsx("div",{className:G.l,children:e}),Fr={Header:Ye,Section:Ve,List:Ge,U:$r,L:Ge,O:Or,S:Ve,H:Ye},Mr={Send:ir,Error:ar,Remark:lr,Success:sr,Copy:cr},Lr={Send:pr};function Ar(){return o.jsx("svg",{viewBox:"0 0 462.86 359.96",children:o.jsx("path",{d:"M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",transform:"translate(-88.37 0)"})})}const Dr={Logo:Ar},Ur={Path:Ft,setPage:Et,getPage:Te,usePage:Ct,setModule:It,getModule:Ne,useModule:Rt,setTabs:Nt,getTabs:ae,useTabs:Tt,useId:Pt,setId:Ot,subId:zt,getId:$t},Br={sort:"_sort_1yrvt_1"};let le={};function Wr(e,t){switch(t.type){case"active":let n="<";return e.active===t.data&&(n=e.sort==="<"?">":"<"),le.get({active:t.data,sort:n},!1),Pe({active:t.data,sort:n}),{...e,active:t.data,sort:n};default:throw new Error}}function Yr(){const[e,t]=k.useReducer(Wr,xe()===void 0?{active:1,sort:"<"}:xe());return o.jsxs("div",{className:Br.sort,children:[o.jsx("i",{"data-color":e.active===1?"_506290":"_b5b9cc","data-icon":e.active===1?e.sort==="<"?"F073":"F072":"F071",onClick:()=>t({type:"active",data:1})}),o.jsx("i",{"data-color":e.active===2?"_506290":"_b5b9cc","data-icon":e.active===2?e.sort==="<"?"F066":"F067":"F074",onClick:()=>t({type:"active",data:2})}),o.jsx("i",{"data-color":e.active===3?"_506290":"_b5b9cc","data-icon":e.active===3?e.sort==="<"?"F068":"F069":"F070",onClick:()=>t({type:"active",data:3})})]})}function Vr(e){le.get=e}function Gr(e){le.set(e)}function Hr(e,t,n){let i=1,l=0,p={},c=50;p[i]=[];let u={},d="s1a";switch(u.s1a=(f,_)=>_.s1-f.s1,u.s1d=(f,_)=>f.s1-_.s1,u.s2a=(f,_)=>f.s2-_.s2,u.s2d=(f,_)=>_.s2-f.s2,u.s3a=(f,_)=>f.s3.localeCompare(_.s3),u.s3d=(f,_)=>_.s3.localeCompare(f.s3),n.active){case 1:d=n.sort===">"?"s1d":"s1a";break;case 2:d=n.sort===">"?"s2d":"s2a";break;case 3:d=n.sort===">"?"s3d":"s3a";break}return t.sort(u[d]).forEach(f=>{l++,l<=c||(i++,l=1,p[i]=[]),p[i].push(e[f.id])}),{data:p}}function Zr(e){le.count(e)}const Jr={Init:Yr,useValue:Vr,Set:Gr,Run:Hr,Count:Zr};function Xr(e,t){t===void 0?(t=e,e=new Date):e=new Date(e);let n={yyyy:e.getFullYear(),yy:(""+e.getFullYear()).slice(-2),mm:("0"+(e.getMonth()+1)).slice(-2),dd:("0"+e.getDate()).slice(-2),HH:("0"+e.getHours()).slice(-2),MM:("0"+e.getMinutes()).slice(-2),SS:("0"+e.getSeconds()).slice(-2),__:"      ",_:"    "};for(const i in n)t=t.replace(i,n[i]);return t}function qr(e){let t=["Января","Февраля","Марта","Апреля","Мая","Июня","Июля","Августа","Сентября","Октября","Ноября","Декабря"],n=new Date(e);return{day:(""+n.getFullYear()).slice(-2)+""+("0"+(n.getMonth()+1)).slice(-2)+("0"+n.getDate()).slice(-2),name:n.getDate()+" "+t[n.getMonth()]}}const Kr=e=>{function t(F,W){var H,de,X;F=F??"",W=W??1;for(var H=[],X=0,de=F.length;X<de;)H.push(F.slice(X,X+=W));return H}function n(F,W){var H=[2,0,1,1,1,2];return W[F>4&&F<20?2:H[Math.min(F,5)]]}var i={null:"ноль",a1:["один","два","три","четыре","пять","шесть","семь","восемь","девять"],a2:["одна","две","три","четыре","пять","шесть","семь","восемь","девять"],a10:["десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],a20:["двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],a100:["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],uc:["копейка","копейки","копеек"],ur:["рубль","рубля","рублей"],u3:["тысяча","тысячи","тысяч"],u2:["миллион","миллиона","миллионов"],u1:["миллиард","миллиарда","миллиардов"]},l,p,c,u,$,d,f,ne,_,b,j,T;_=parseFloat(e).toFixed(2).split("."),d=_[0],u=_[1];var O=12-d.length;if(O<0)return!1;for(var ne=[];O--;)ne.push("0");d=ne.join("")+d;var $=[];if(d>0){b=t(d,3);for(var P=-1;P<b.length;P++)if(f=b[P],f>0&&(j=t(f,1),l=parseInt(j[0]),p=parseInt(j[1]),c=parseInt(j[2]),$.push(i.a100[l-1]),T=P+1==3?"a2":"a1",p>1?$.push(i.a20[p-2]+(c>0?" "+i[T][c-1]:"")):$.push(p>0?i.a10[c]:i[T][c-1]),b.length>P+1)){var R=i["u"+(P+1)];$.push(n(f,R))}}else $.push(i.null);return $.push(n(d,i.ur)),$.push(u+" "+n(u,i.uc)),$.join(" ").replace(RegExp(" {2,}","g")," ").trimLeft()};function Qr(e){let t=-1,n=[" kB"," MB"," GB"," TB","PB","EB","ZB","YB"];do e=e/1024,t++;while(e>1024);return Math.max(e,.1).toFixed(1)+n[t]}function en(e){let t={};return t["application/atom+xml"]="atom",t["application/json"]="json",t["application/javascript"]="js",t["application/ogg"]="ogg",t["application/pdf"]="pdf",t["application/soap+xml"]="soap",t["application/font-woff"]="woff",t["application/xhtml+xml"]="xml",t["application/xml-dtd"]="dtd",t["application/xop+xml"]="xop",t["application/zip"]="zip",t["application/gzip"]="gzip",t["application/x-bittorrent"]="bittorrent",t["application/x-tex"]="tex",t["application/xml"]="xml",t["application/msword"]="doc",t["image/svg+xml"]="svg",t[e]}function tn(e,t,n,i){let l={sexM:"m",sexF:"f",gcaseIm:"nominative",gcaseNom:"nominative",gcaseRod:"genitive",gcaseGen:"genitive",gcaseDat:"dative",gcaseVin:"accusative",gcaseAcc:"accusative",gcaseTvor:"instrumentative",gcaseIns:"instrumentative",gcasePred:"prepositional",gcasePos:"prepositional",rules:{lastName:{exceptions:[" дюма,тома,дега,люка,ферма,гамарра,петипа,шандра . . . . ."," гусь,ремень,камень,онук,богода,нечипас,долгопалец,маненок,рева,кива . . . . ."," вий,сой,цой,хой -я -ю -я -ем -е"],suffixes:["f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ,ь . . . . .","f ска,цка -ой -ой -ую -ой -ой","f ая --ой --ой --ую --ой --ой"," ская --ой --ой --ую --ой --ой","f на -ой -ой -у -ой -ой"," иной -я -ю -я -ем -е"," уй -я -ю -я -ем -е"," ца -a -е -у -ей -е"," рих а у а ом е"," ия . . . . ."," иа,аа,оа,уа,ыа,еа,юа,эа . . . . ."," их,ых . . . . ."," о,е,э,и,ы,у,ю . . . . ."," ова,ева -ой -ой -у -ой -ой"," га,ка,ха,ча,ща,жа -и -е -у -ой -е"," ца -и -е -у -ей -е"," а -ы -е -у -ой -е"," ь -я -ю -я -ем -е"," ия -и -и -ю -ей -и"," я -и -е -ю -ей -е"," ей -я -ю -я -ем -е"," ян,ан,йн а у а ом е"," ынец,обец --ца --цу --ца --цем --це"," онец,овец --ца --цу --ца --цом --це"," ц,ч,ш,щ а у а ем е"," ай -я -ю -я -ем -е"," гой,кой -го -му -го --им -м"," ой -го -му -го --ым -м"," ах,ив а у а ом е"," ший,щий,жий,ний --его --ему --его -м --ем"," кий,ый --ого --ому --ого -м --ом"," ий -я -ю -я -ем -и"," ок --ка --ку --ка --ком --ке"," ец --ца --цу --ца --цом --це"," в,н а у а ым е"," б,г,д,ж,з,к,л,м,п,р,с,т,ф,х а у а ом е"]},firstName:{exceptions:[" лев --ьва --ьву --ьва --ьвом --ьве"," павел --ла --лу --ла --лом --ле","m шота . . . . .","m пётр ---етра ---етру ---етра ---етром ---етре","f рашель,нинель,николь,габриэль,даниэль . . . . ."],suffixes:[" е,ё,и,о,у,ы,э,ю . . . . .","f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ . . . . .","f ь -и -и . ю -и","m ь -я -ю -я -ем -е"," га,ка,ха,ча,ща,жа -и -е -у -ой -е"," ша -и -е -у -ей -е"," а -ы -е -у -ой -е"," ия -и -и -ю -ей -и"," я -и -е -ю -ей -е"," ей -я -ю -я -ем -е"," ий -я -ю -я -ем -и"," й -я -ю -я -ем -е"," б,в,г,д,ж,з,к,л,м,н,п,р,с,т,ф,х,ц,ч а у а ом е"]},middleName:{suffixes:[" ич а у а ем е"," на -ы -е -у -ой -е"]}},initialized:!1,init:function(){this.initialized||(this.prepareRules(),this.initialized=!0)},prepareRules:function(){for(var c in this.rules)for(var u in this.rules[c])for(var d=0,f=this.rules[c][u].length;d<f;d++)this.rules[c][u][d]=this.rule(this.rules[c][u][d])},rule:function(c){var u=c.match(/^\s*([fm]?)\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s*$/);return u?{sex:u[1],test:u[2].split(","),mods:[u[3],u[4],u[5],u[6],u[7]]}:!1},word:function(c,u,d,f){if(f===this.gcaseNom)return c;if(c.match(/[-]/)){for(var _=c.split("-"),b=0,j=_.length;b<j;b++)_[b]=this.word(_[b],u,d,f);return _.join("-")}if(c.match(/^[А-ЯЁ]\.?$/i))return c;this.init();var T=this.rules[d];let O;return T.exceptions&&(O=this.pick(c,u,f,T.exceptions,!0),O)?O:(O=this.pick(c,u,f,T.suffixes,!1),O||c)},pick:function(c,u,d,f,_){let b=c.toLowerCase();for(var j=0,T=f.length;j<T;j++)if(this.ruleMatch(b,u,f[j],_))return this.applyMod(c,d,f[j]);return!1},ruleMatch:function(c,u,d,f){if(d.sex===this.sexM&&u===this.sexF||d.sex===this.sexF&&u!==this.sexF)return!1;for(var _=0,b=d.test.length;_<b;_++){var j=f?c:c.substr(Math.max(c.length-d.test[_].length,0));if(j===d.test[_])return!0}return!1},applyMod:function(c,u,d){let f;switch(u){case this.gcaseNom:f=".";break;case this.gcaseGen:f=d.mods[0];break;case this.gcaseDat:f=d.mods[1];break;case this.gcaseAcc:f=d.mods[2];break;case this.gcaseIns:f=d.mods[3];break;case this.gcasePos:f=d.mods[4];break}for(var _=0,b=f.length;_<b;_++){var j=f.substr(_,1);switch(j){case".":break;case"-":c=c.substr(0,c.length-1);break;default:c+=j}}return c},getSex:()=>{if(l.mn.length>2)switch(l.mn.substr(l.mn.length-2)){case"ич":return"m";case"на":return"f"}return""},fullName:c=>((l.fullNameSurnameLast?"":l.lastName(c)+" ")+l.firstName(c)+" "+l.middleName(c)+(l.fullNameSurnameLast?" "+l.lastName(c):"")).replace(/^ +| +$/g,""),lastName:c=>l.word(l.ln,l.sex,"lastName",c),firstName:c=>l.word(l.fn,l.sex,"firstName",c),middleName:c=>l.word(l.mn,l.sex,"middleName",c)};if(typeof t>"u"){var p=e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);if(!p)return"Cannot parse supplied name";p[5]&&p[3].match(/(ич|на)$/)&&!p[5].match(/(ич|на)$/)?(e=p[5],t=p[1],n=p[3],l.fullNameSurnameLast=!0):(e=p[1],t=p[3],n=p[5])}return l.ln=e,l.fn=t||"",l.mn=n||"",l.sex=i||l.getSex(),l}function rn(e){let t=e.split(" ");switch(t.length){case 2:return t[0]+" "+t[1].substring(0,1)+".";case 3:return t[0]+" "+t[1].substring(0,1)+"."+t[2].substring(0,1)+".";default:return e}}function nn(e){return{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:"Дек"}}[e]}function on(e){return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}function an(e,t){let n=t+"";for(;n.length<e;)n="0"+n;return n}function sn(e,t,n){let i=t/e*n;return(typeof i!="number"||i===1/0)&&(i=0),parseFloat(i).toFixed(1)}function ln(e){return e.charAt(0).toUpperCase()+e.slice(1)}const cn={Date:Xr,MoneyString:Kr,DateSort:qr,Size:Qr,TypeFiles:en,Cases:tn,Initials:rn,Month:nn,Money:on,Number:an,Percent:sn,CapitalizeFirstLetter:ln},ge={};function dn(e,t){ge[e]=t}function un(e,t){ge[e]!==void 0&&ge[e](t)}const B={};function fn(e,t){const[n,i]=k.useState(t);return k.useEffect(()=>{if(B[e])return B[e].push(i);B[e]=[i]},[]),[n]}function pn(e,t){if(B[e])return B[e].push(t);B[e]=[t]}function _n(e,t){B[e]&&B[e].forEach(n=>n(t))}const mn={setListener:un,useListener:dn,setEmitter:_n,useEmitter:fn,subEmitter:pn},ce={},He={};function xn(e){const[t,n]=k.useState({}),i=async l=>{n(Object.keys(ce).reduce((p,c)=>(p?p[c]=ce[c].all:p={},p),{}))};return k.useEffect(()=>{e.forEach(l=>ce[l]={all:0}),He.menu=i,i()},[e]),t}function hn(e,t){switch(typeof t){case"number":ce[e].all+=t,He.menu();break}}const gn={useMenu:xn,setUpdate:hn};w.Action=Be,w.Alert=Lr,w.Api=er,w.Badge=gn,w.Browser=jr,w.Button=Le,w.Component=Fr,w.Event=mn,w.Format=cn,w.Icon=Dr,w.Init=De,w.Modal=Ae,w.Notice=Mr,w.Router=Ur,w.Setting=zr,w.Store=se,w.Tabs=Ue,w.Triage=Jr,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"})});
@@ -1,2 +1,11 @@
1
- declare const Api: any;
2
- export default Api;
1
+ export declare function url(): {
2
+ documents: string;
3
+ files: string;
4
+ };
5
+ export declare function audio(link: string): string;
6
+ export declare function fetch(link: string, data?: {}, ssid?: string | boolean): Promise<unknown>;
7
+ export declare function remoute(url: string, link: string, data?: {}): Promise<any>;
8
+ export declare function telegram(type: string, data?: {}): Promise<any>;
9
+ export declare function yandex(type: string, data?: {}): Promise<any>;
10
+ export declare function backup(type: string, data?: {}): Promise<any>;
11
+ export declare function db(type: string, query: string, data?: {}): Promise<any>;
@@ -0,0 +1,8 @@
1
+ import { audio, fetch, remoute } from './Api';
2
+
3
+ declare const _default: {
4
+ audio: typeof audio;
5
+ fetch: typeof fetch;
6
+ remoute: typeof remoute;
7
+ };
8
+ export default _default;
@@ -1,4 +1,4 @@
1
- export { default as Api } from './Api/Api';
1
+ export { default as Api } from './Api';
2
2
  export { default as Init } from './Init/Init';
3
3
  export { default as Browser } from './Browser/Browser';
4
4
  export { default as Button } from './Button/Button';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elcrm",
3
- "version": "0.3.9",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --open --port 4101",