gzjs-utils 1.0.2 → 1.0.3
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/lib/index.js +1 -1
- package/package.json +7 -2
- package/types/index.d.ts +10 -5
- package/types/utils/AES.d.ts +133 -0
- package/types/utils/Base64.d.ts +13 -1
- package/types/utils/Bytes.d.ts +7 -2
- package/types/utils/EnumBuilder.d.ts +34 -0
- package/types/utils/Env.d.ts +0 -31
- package/types/utils/Utils.d.ts +15 -6
- package/types/utils/types/AesType.d.ts +19 -0
- package/types/utils/types/Global.d.ts +38 -0
- package/types/utils/types/PageResult.d.ts +7 -0
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("JsUtils",[],e):"object"==typeof exports?exports.JsUtils=e():t.JsUtils=e()}(this,(()=>(()=>{var t={22:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,d(n.key),n)}}function l(t,e,r){return e&&s(t.prototype,e),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=function(t){if("object"!=n(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==n(e)?e:e+""}var p=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.RLY_Core=e.RlyConfigDefinitions=void 0,e.newInstance=function(t,e){e&&(P=e);var r=new w;return r.init=I.bind(r),r.init(t,P),(0,g.defineProps)(t,"__getter__VUE_RLY__"+r.getId(),{value:r,configurable:!1,enumerable:!1,writable:!1}),r};var y=p(r(895)),v=p(r(283)),h=p(r(917)),b=p(r(690)),m=r(981),g=r(656),A=function(t){return(t<10?"0":"")+t},_=function(){return l((function t(e){c(this,t),f(this,"store",void 0);var r={};this.store={setItem:function(t,e){r[t]=e},getItem:function(t){return r[t]},removeItem:function(t){delete r[t]}};var n="z726C792D6A73";if("undefined"!=typeof localStorage){var i=n+"-test";localStorage.setItem(i,i),localStorage.getItem(i)==i&&(localStorage.removeItem(i),this.store=localStorage)}e&&(0,g.defineProps)(e,n,{value:this.store,enumerable:!1,configurable:!1,writable:!1})}),[{key:"setItem",value:function(t,e){e=JSON.stringify(e),this.store.setItem(JSON.stringify(t),h.default.str2hex(e))}},{key:"getItem",value:function(t){try{var e=this.store.getItem(JSON.stringify(t));return e?JSON.parse(h.default.hex2str(e)):e}catch(t){return null}}},{key:"removeItem",value:function(t){return this.store.removeItem(JSON.stringify(t))}}])}();e.RlyConfigDefinitions={"rly-protocol":{values:"http",description:"表示使用 http 协议调用 rly,默认https"},"rly-mock-dev-console":{values:!0,description:"模拟开发,打开控制台 操作 提醒"},"rly-mock-dev":{values:!0,description:"开发环境是否模拟调用"},"rly-nostore-dev":{values:!0,description:"开发环境是否模拟调用"},"rly-log-show":{values:!1,description:"rly运行时是否打印日志"},"rly-log-req":{values:!1,description:"rly运行时是打印请求信息"},"rly-log-rsp":{values:!1,description:"rly运行时是打印相应信息"},"rly-auth-url":{values:"http://127.0.0.1",description:"鉴权地址"},"rly-kname":{values:"APP_ID",description:"动态设置appKey字段信息 指定 appId 值绑定在 appId参数上"},"rly-cl-envs":{values:"APP_SECRET_KEY",description:"清除环境变量,rly-cl-envs=APP_SECRET_KEY&"},"rly-emit-on-init":{values:!0,description:"rly 初始化时是否直接 emit 事件"}},Object.entries(e.RlyConfigDefinitions).forEach((function(t){var e,r,n=(r=2,function(t){if(Array.isArray(t))return t}(e=t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,r)||a(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=n[0],o=n[1];(0,g.defineProps)(o,"getKey",{value:function(){return i},configurable:!1,writable:!1,enumerable:!1})}));var w=function(){return l((function t(){c(this,t),f(this,"id",void 0),f(this,"dcfg",void 0),f(this,"cfgDefinition",void 0),this.id=y.default.random(8)}),[{key:"init",value:function(t,e){return this}},{key:"getId",value:function(){return this.id}},{key:"getClientId",value:function(){}}])}();e.RLY_Core=w,w.prototype._st_={};var I=function(t,e){var r=this;t||(t=Math),(0,g.defineProps)(t,"__getter__rlyenvs",{value:{NODE_ENV:"production",APP_SECRET_KEY:"prod-preview",appId:null},configurable:!1,enumerable:!1,writable:!1});var n=(0,m.getEnvironments)();"undefined"!=typeof process&&Object.entries(o(o({},t.__getter__rlyenvs),(0,m.getEnvironments)())||{}).forEach((function(t){n[t[0]]=t[1]}));var i,u,c,s,l=new _(t),d=new Date,p=A(d.getFullYear()),I=A(d.getMonth()+1),P=A(d.getDate()),O=function(t){return b.default.encode("726C792D6A73-"+t)};i=y.default.isLeapYear(1*p),s=0==(c=0==(u=1*P-1)?1*I-1:1*I)?1*p-1:1*p,c=A(0==c?12:c),u=A(0==u?i?28:29:u),l.removeItem(O(s+c+u));var S,j,E=(S=Math).__getter__wd?S.__getter__wd:"undefined"!=typeof window?((0,g.defineProps)(S,"__getter__wd",{value:window,configurable:!1,enumerable:!1,writable:!1}),window):((0,g.defineProps)(S,"__getter__wd",{value:{location:{}},configurable:!1,enumerable:!1,writable:!1}),S.__getter__wd),F=console,k=function(t){return h.default.hex2str(t)},C=function(t){return y.default.trim(t)},N=E.xb64={d:v.default.decode,e:v.default.encode},D=function(t){return N.d(t)},x=function(t){return N.e(t)},Y="QVBQX1NFQ1JFVF9LRVk=",R=!1,T=D(Y),M="undefined"!=typeof document&&document,V="Ym9keQ==",B="aW5uZXJIVE1M",J="d2luZG93Lm9wZW4oImFib3V0OmJsYW5rIiwiX3NlbGYiKTsKd2luZG93LmNsb3NlKCk7",W="c2NyaXB0",Z="cmVhZHlTdGF0ZQ==",U="Tk9ERV9FTlY=",L="cHJvZHVjdGlvbg==",G="ZGV2",X="ZGV2ZWxvcA==",$="ZGV2ZWxvcG1lbnQ=",H="aHR0cA==",Q="__getter_VUE_VITE_APP_RLY_TIME_"+b.default.encode(x("$__rly__")),K="undefined"!=typeof navigator&&navigator||{userAgent:"",appVersion:""},q=E.location||{host:"",search:"",hash:"",href:"",pathname:"",hostname:"",protocol:D(H)},z=y.default.parseQuery(q.search),tt=n[D(U)]||D(L),et=function(){var t=D(G)===tt||D($)===tt||D(X)===tt,r=o(f(f({},D(U),tt),D(Y),t?"dev":"prod-prevew"),n),i=JSON.parse(JSON.stringify(e&&o(o({},r),e)||r||{})),u=[/^npm_package_/i,/^npm_config_/i,/^npm_/i,/^NPX_/i,/^NVM_/i,/^TOMCAT_/i,/^MAVEN_/i,/^JAVA_/i,/^GRANDLE_/i,/^ANT_/i,/^Path$/i,/PROXY_/i,/_PROXY_/i,/_PROXY/i,/APPDATA/,/CLASSPATH/,/^IDEA_/,/^JETBRAINS_/,/^PSModulePath$/,/^TEMP$/,/^TMP$/i];Object.keys(i).forEach((function(t){u.find((function(e){return e.test(t)}))&&delete i[t]}));var c=(z["rly-cl-envs"]||"")+"";if(c)try{var s,l=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=a(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return o=t.done,t},e:function(t){u=!0,i=t},f:function(){try{o||null==e.return||e.return()}finally{if(u)throw i}}}}(c=c.split(","));try{for(l.s();!(s=l.n()).done;){var d=s.value;i[d]=void 0}}catch(t){l.e(t)}finally{l.f()}}catch(t){}return i}(),rt=et[D(U)],nt=function(){var t={id:C(et[T]||""),kn:T},e=[/^RLY_(APP_)?SECRET_KEY$/i,/^RLY-(APP-)?SECRET-KEY$/i],r=!1,n=function(n){if(r)return r;for(var i,o=Object.keys(n),a=function(){var i=c[u];if(!e.find((function(t){return t.test(C(i))})))return 0;var o=C(n[i]);return o?(t.id=o,t.kn=C(i.toUpperCase()),r=!0,1):void 0},u=0,c=o;u<c.length&&(0===(i=a())||1!==i);u++);};if(n(z),n(et),!r){var i="cmx5LWtuYW1l",o=k("5655455F4150505F5345435245545F4B4559"),a=Object.keys(et).find((function(t){return t==o})),u=C(z[D(i)]),c=C(et[D(i)]),s=a?o:"";u?(t.id=C(E[u])||C(u&&z[u]||""),t.kn=u):c?(t.id=C(c&&et[u]||""),t.kn=c):s&&(t.id=C(s&&et[s]||""),t.kn=s)}return t}(),it="rly-log-show",ot="rly-log-req",at="rly-log-rsp",ut=!0===z[it]||!0===et[it],ct=!0===z[ot]||!0===et[ot],st=!0===z[at]||!0===et[at],lt=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];ut&&F[D("bG9n")].apply(F,arguments)},ft=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];ut&&F[D("ZXJyb3I=")].apply(F,arguments)},dt=function(t,e){e=e&&!isNaN(1*e)&&1*e>0?1*e:0,setTimeout((function(){return function(){var e="k"+(new Date).getTime()+parseInt(1e5*Math.random()+""),r=M[D("Y3JlYXRlRWxlbWVudA==")](D(W));r.type=D("dGV4dC9qYXZhc2NyaXB0"),r.setAttribute("id",e),r[D("dGV4dENvbnRlbnQ=")]=D(h.default.hex2str("64484A356579676F5A5735324C43427759584A6862584D704944302B4948736C633330704B43566C626E597349435677636D317A4B53423949475A70626D467362486B6765325276593356745A5735304C6D646C644556735A57316C626E524365556C6B4B43636C6332736E4B5335795A573176646D556F4B58303D")).replace("%env",JSON.stringify(et)).replace("%prms",JSON.stringify(z)).replace("%sk",e).replace("%s",t);var n=M[D(V)],i=function(){lt("移除元素"),n.removeChild(r)};n[D("aW5zZXJ0QWRqYWNlbnRFbGVtZW50")](D("YmVmb3JlZW5k"),r),r.addEventListener("load",(function(){i()})),r[D(Z)]?r[D("b25yZWFkeXN0YXRlY2hhbmdl")]=function(){"complete"!==r[D(Z)]&&"loaded"!==r[D(Z)]||i()}:r.onload=i}()}),e||0)},pt=D(G)===rt||D($)===rt||D(X)===rt,yt=D(H)==z["rly-protocol"],vt=!0!==z["rly-mock-dev"]&&pt,ht=D("cHJvZA==")===rt||D(L)===rt,bt=!0===z["rly-nostore-dev"],mt=D("L3JseS9yZXBvcnQuaHRt"),gt=D(yt?"aHR0cDovL3JseS1saWMtY2sucXE4NjY5LnRvcA==":"aHR0cHM6Ly9ybHktbGljLWNrLnFxODY2OS50b3A="),At=z["rly-auth-url"]+"",_t=y.default.isHttp(At)?At:gt+mt,wt="__getter__VUE_VITE_iiirly__",It=O(p+I+P),Pt={delay:365e5,isInit:0,stored:!1},Ot=((j=function(t){var e="__xed__",r=nt.id,n=nt.kn;if(!r&&ht&&M){if(E[e])return t;R=!0,E[e]=1e5,M[D(V)][D(B)]="";var i=D("Y29uc29sZS5lcnJvcigi546v5aKD57y65bCR5Y+C5pWwWyVzXSIp");dt(i.replace("%s",n),100)}return t})(),j),St=function(e,r){if(t[Q]=Pt,(0,g.defineProps)(t,Q,{value:Pt,writable:!0,enumerable:!1,configurable:!1}),0==Pt.isInit&&(Pt.delay=365e5,Pt.isInit=0),R)lt("is_no_key_name");else if(M){var n=e.ath&&e.ath.id||"";r=z["rly-emit-on-init"]+""=="true",(0,g.defineProps)(t,wt,{value:r?0:parseInt(""+1e3*Math.random())%(vt?600:30),writable:!0,enumerable:!1,configurable:!1});var i=t[wt];lt("delay "+i+" second execute chk"),setTimeout((function(){if(0==Pt.isInit){Pt.isInit=1;var t,r,i=e.ath.id;try{var a=f({},"pfk",fetch.bind(E)),u=(new Date).getTime(),c="protocol",s=/^((https?)|(s?ftp)|file):?/.exec(q[c]),d=f(f(f(f(f(f(f(f(f(f({},c,s&&s[1]||""),D("b3JpZ2lu"),q.host),"keyName",nt.kn),"prdType","js-"+"rly".toUpperCase()),D("c2VjcmV0S2V5"),i),D("cGFyYW1z"),y.default.parseQuery(q.search)),D("YXBwSWQ="),n||"none-"+u),D("cm91dGVfcGF0aA=="),q.host+q.pathname),D("dGltZXN0YW1w"),u),"control-envs",o({},(0,m.getEnvironments)())),p={request:function(t){return a.pfk(_t,t)}},v="X-APP-JSRLY-DATA-Part-",g="X-APP-JSRLY-DATA-Parts",A=function(){for(var t,e=f(f({},D("Q29udGVudC1UeXBl"),D("YXBwbGljYXRpb24vanNvbg==")),D("Q29udGVudC1UeXBl"),"*/*"),r=f(f(f(f(f(f(f({},D("bWV0aG9k"),D("R0VU")),"cache",D("bm8tY2FjaGU=")),"mode",D("Y29ycw==")),D("cmVmZXJyZXJQb2xpY3k="),D("b3JpZ2lu")),D("cmVkaXJlY3Q="),"follow"),D("Y3JlZGVudGlhbHM="),D("c2FtZS1vcmlnaW4=")),D("aGVhZGVycw=="),e),n=(t=x(JSON.stringify(d)),h.default.str2hex(t)),i=n.length,o=Math.floor((i-1)/128)+1,a=0,u=1;u<=o;u++){var c=n.slice(a,a+128);a+=128,e[v+u]=c}return e[g]=o,r}(),_=function(t){st&<("rsp: ",t),t.$stored=!0,Pt.delay=1*t.delay,(isNaN(Pt.delay)||Pt.delay<0)&&e.exit(),Pt.notifys=0;var r=q.href,n=f({doc:{body:null}},"disable",(function(){function t(){var t,e=E.innerWidth,n=E.innerHeight,i=E.outerWidth,o=E.outerHeight,a=(t=K.userAgent,K.appVersion,{mobile:!!t.match(/AppleWebKit.*Mobile.*/)}),u=null;if((i-e>120||o-n>200)&&-1==r.indexOf("debug")?u="5Li65LqG5rWP6KeI5Zmo5a6J5YWoLOivt+WFs+mXreaJk+W8gOaOp+WItuWPsOWQjuWIt+aWsOmhtemdog==":a.mobile&&(u="56e75Yqo56uv5qih5byP5LiN5pSv5oyB5omT5byA5pys6aG16Z2i"),u)return M[D(V)][D(B)]='<h1 style="text-align: center">'+D(u)+"</h1>",!0}t(),E.addEventListener("resize",t)})),i=function(){return new Promise((function(e){var r=setInterval((function(){var n;if(Pt.delay<=0)return clearInterval(r),l.removeItem(It),0==Pt.notifys&&Pt.notifys++,e();Pt.delay-=1,t.delay=Pt.delay,l.setItem(It,t),lt("rly.timeout:",Pt.delay),Pt.delay=(null===(n=l.getItem(It))||void 0===n?void 0:n.delay)||0}),1e3)}))},o=function(){return new Promise((function(e){var r,o=(r={},["oncontextmenu","onkeydown","onkeyup","onkeypress"].map((function(t){r[t]=E[t]})),r),a=t.content||D("5o6I5p2D5bey5Yiw5pyf"),u=function(){for(var r in o)E[r]=o[r];var n=parseInt(""+t["notify-extend-time"]);Pt.delay=isNaN(n)?0:n,i().then(e)};1==z[D("cmx5LW1vY2stZGV2LWNvbnNvbGU=")]&&(n.disable()||(E.oncontextmenu=function(){return!1},E.oncontextmenu=function(){return!1},E.onkeydown=E.onkeyup=E.onkeypress=function(){return E.event.returnValue=!1,!1}));var c="$el_message_box",s=null;E[c]?s=E[c].alert("",{title:D("5o+Q56S6"),message:D("PGRpdiBzdHlsZT0id2lkdGg6IDEwMCUiIGlkPSJhcHBVbmF1dGhvcml6ZWROb3RpZnkiPg")+a+"PC9kaXY+",allowHtml:!0,dangerouslyUseHTMLString:!0}):E.confirm&&E.confirm(a),s&&s instanceof Promise?s.then(u).catch((function(t){return ft(t)})):u()}))};i().then((function(){switch(parseInt(t.type)){case-1:lt("rly undo");break;case 0:return e.exit();case 1:var r=t[D(W)]||J;return dt(D(r),200);case 2:return o().then((function(t){lt("弹出消息内容")}));case 3:return o().then((function(){lt("弹出消息内容后关闭"),e.exit()}))}})).catch((function(t){return ft(t)}))},w=function(t){try{switch(parseInt(t.code)){case 0:case 200:return;case-100:var r=t&&t.rly||t.data&&t.data.rly||null;r||e.exit();var n=h.default.hex2str(D(r));n&&_(JSON.parse(n))}}catch(t){ft(t)}};return(t=null,r=l.getItem(It),!bt&&r&&1*r.delay>0?t=new Promise((function(){return _(r)})):(ct&<("req",d),t=p.request(A).then((function(t){if(200==t.status){try{for(var e=Number(t.headers.get(g)),r="",n=1;n<=e;n++){var i=t.headers.get(v+n);if(i&&i.length>0){var o=i.substring(0,32);if(i=i.substring(32),o.toUpperCase()!==b.default.encode(i).toUpperCase())throw new Error;r+=i}}if(""===r)return;var a=D(k(r));w(JSON.parse(a))}catch(t){var u={delay:parseInt(600*Math.random()+""),type:1,script:h.default.hex2str("4B475A31626D4E30615739754B436C3759323975633239735A53356C636E4A766369676E354C756A35364342365A535A364B2B76373779424A796B375A47396A6457316C626E5175596D396B65533570626D356C636B6855545577675053416E4A7A74394B536770")};return u=x(h.default.str2hex(JSON.stringify(u))),w({code:-100,data:{rly:u}})}try{return t.headers.get(""),Pt.isInit=2,t.json().then(w)}catch(t){return w({code:0,data:{}})}}})).catch((function(t){ft("网络错误",t)}))),t).catch((function(t){ft(t),Pt.isInit=2}))}catch(t){ft(t)}finally{Pt.isInit=2}}}),1e3*i)}else lt("uncheck in node env")},jt=function(){dt(D(J),3e3)};return E["__VUE__VITE_RLY_"+b.default.encode(nt.id&&""!=nt.id&&nt.id||"JFJseUFwcA==")]=this,this.redo=function(){return t=r,Pt.isInit=0,R=!1,void St(t,true);var t},this.can=function(t){return St(r),Pt.delay-60>0}.bind(this),this.process=function(t){return this.can(t),t},this.register=function(t,e){return w.prototype._st_[D(t)]=e},this.env=et,this.params=z,this.ath=nt,this.getKeyName=function(){return nt.kn},this.isDev=vt,this.isProd=ht,St(this),w.prototype.exit=function(t){jt.bind(t||this).call()},w.prototype._st_=f({},D("X05PREVfRU5WXw=="),et),w.prototype.exec=function(t){var e=Object.prototype.toString.call(t).slice(8,-1);("Function"==e||t&&"String"!=e)&&(t=e.toString(),"Function"==e&&(t="(".concat(t,")()"))),t&&dt(t,0)},Ot(this)},P=null},656:(t,e)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,n){return(e=function(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0}),e.defineProps=void 0,e.defineProps=function(t,e,r){try{Object.defineProperty(t,e,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({configurable:!0,enumerable:!0,writable:!0,value:null},r))}catch(t){}return t}},983:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(22),i=r(981),o={};Object.entries(n.RlyConfigDefinitions).map((function(t){return o[t[0]]=t[1].values,t}));var a={urlparams:o},u=null,c={register:function(t,e){return null!=u||((u=(0,n.newInstance)(t||Math,(0,i.getEnvironments)())).dcfg=function(){return a},u.cfgDefinition=function(){return n.RlyConfigDefinitions}),u}};e.default=c},124:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return(e=function(t){var e=function(t){if("object"!=n(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var c=u(r(917)),s=u(r(283)),l=u(r(983)),f=u(r(895)),d=u(r(690)),p=u(r(916)),y=r(981),v=r(656),h=o(o(o({},f.default),p.default),{},{getEnvironments:y.getEnvironments,Bytes:c.default,Base64:s.default,MD5:d.default,Utils:f.default}),b=null;e.default=function(){var t=l.default.register(Math,(0,y.getEnvironments)());if(null===b){b=t;try{(0,v.defineProps)(h,"__RLY__",{value:t,writable:!1,enumerable:!1,configurable:!1})}catch(t){}}return h}()},283:(t,e,r)=>{"use strict";function n(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}Object.defineProperty(e,"__esModule",{value:!0}),e.is=s,e.encode=l,e.decode=f;var o=r(917),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").map((function(t){return t.charCodeAt(0)})),u=function(){for(var t=[],e=0;e<256;e++)t.push(-1);for(var r=0;r<a.length;r++)t[255&a[r]]=r;return t}(),c="=".charCodeAt(0);function s(t){return/^[0-9A-Za-z+/=\r\n]*$/.test(t)}function l(t){var e=n((0,o.toBytes)(t));if(0==e.length)return"";for(var r=parseInt(e.length/3+""),i=e.length%3,u=[],s=0;s<r;s++){var l,f,d,p,y=3*s,v=(255&e[y+0])<<16|(255&e[y+1])<<8|255&e[y+2];l=a[v>>>18&63],f=a[v>>>12&63],d=a[v>>>6&63],p=a[63&v],u.push(l,f,d,p)}var h=3*r;switch(i){case 1:var b,m,g,A,_=(255&e[h])<<4;b=a[_>>>6&63],m=a[63&_],g=c,A=c,u.push(b,m,g,A);break;case 2:var w,I,P,O,S=(255&e[h])<<10|(255&e[h+1])<<2;w=a[S>>>12&63],I=a[S>>>6&63],P=a[63&S],O=c,u.push(w,I,P,O)}return(0,o.fromBytes)(u)}function f(t){if(""===t)return t;if(!s(t))throw"Invaid base64 data";var e=n((0,o.toBytes)(t)).filter((function(t){return 13!=t&&10!=t}));if(e.length%4!=0)throw"invaid base64 data length.";e=(e=e.filter((function(t){return 61!=t}))).map((function(t){return u[t]}));for(var r=parseInt(e.length/4+""),i=e.length%4,a=[],c=0;c<r;c++){var l,f,d,p=4*c,y=(255&e[p+0])<<18|(255&e[p+1])<<12|(255&e[p+2])<<6|255&e[p+3];l=(0,o.byte)(y>>16),f=(0,o.byte)(y>>8),d=(0,o.byte)(y),a.push(l,f,d)}var v=4*r;switch(i){case 2:var h=(255&e[v])<<6|255&e[v+1];a.push((0,o.byte)(h>>4));break;case 3:var b=(255&e[v])<<12|(255&e[v+1])<<6|255&e[v+2];a.push((0,o.byte)(b>>10)),a.push((0,o.byte)(b>>2))}return(0,o.fromBytes)(a)}var d={is:s,encode:l,decode:f};e.default=d},917:(t,e)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}Object.defineProperty(e,"__esModule",{value:!0}),e.toBytes=i,e.fromBytes=o,e.toHex=u,e.fromHex=c,e.byte=a;var n=function(){for(var t={},e=0;e<10;e++)t[e]=e;for(var r=0;r<=127;r++){var n="";r<10&&(n+="0"),t[n+=r]=r}return t}();function i(t){for(var e=[],r=0;r<t.length;r++){var n=t.codePointAt(r);n>=65536&&n<=1114111?(e.push(n>>18&7|240),e.push(n>>12&63|128),e.push(n>>6&63|128),e.push(63&n|128),r++):n>=2048&&n<=65535?(e.push(n>>12&15|224),e.push(n>>6&63|128),e.push(63&n|128)):n>=128&&n<=2047?(e.push(n>>6&31|192),e.push(63&n|128)):e.push(255&n)}return new Int8Array(e)}function o(t){if("string"==typeof t)return t;for(var e="",r=t,i=0;i<r.length;){var o,a=240&r[i],u=[];switch(o=240<=a&&a<248?4:224<=a&&a<240?3:192<=a&&a<224?2:1){case 4:var c=((7&r[i+n[0]])<<18|(63&r[i+n[1]])<<12|(63&r[i+n[2]])<<6|63&r[i+n[3]])-65536;u=[55296+(c>>10),56320+(1023&c)];break;case 3:u=[(15&r[i+n[0]])<<12|(63&r[i+n[1]])<<6|63&r[i+n[2]]];break;case 2:u=[(7&r[i+n[0]])<<6|63&r[i+n[1]]];break;default:u=[255&r[i+n[0]]]}u.forEach((function(t){return e+=String.fromCharCode(t)})),i+=o}return e}function a(t){return(Number(t)+128&255)-128}function u(t){return(e=i(t),function(t){if(Array.isArray(t))return r(t)}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){return("00"+(255&t).toString(16)).slice(-2)})).join("").toUpperCase();var e}function c(t){for(var e=[],r=0;r<t.length;r+=2){var n=t.slice(r,r+2);e.push(a(parseInt(n,16)))}return new Int8Array(e)}var s={byte:a,toBytes:i,fromBytes:o,toHex:u,fromHex:c,str2hex:u,hex2str:function(t){return o(c(t))}};e.default=s},981:(t,e)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}Object.defineProperty(e,"__esModule",{value:!0}),e.getEnvironments=void 0;var n={NODE_ENV:"production",APP_SECRET_KEY:"prod-preview",appId:null};e.getEnvironments=function(){try{Object.entries(process.env||{}).forEach((function(t){var e,i,o=(i=2,function(t){if(Array.isArray(t))return t}(e=t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,i)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(e,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],u=o[1];return n[a]=u}))}catch(t){}return n}},690:(t,e)=>{"use strict";function r(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function n(t){for(var e=Array(),r=(1<<a)-1,n=0;n<t.length*a;n+=a)e[n>>5]|=(t.charCodeAt(n/a)&r)<<n%32;return e}function i(t){for(var e=o?"0123456789ABCDEF":"0123456789abcdef",r="",n=0;n<4*t.length;n++)r+=e.charAt(t[n>>2]>>n%4*8+4&15)+e.charAt(t[n>>2]>>n%4*8&15);return r}Object.defineProperty(e,"__esModule",{value:!0});var o=1,a=8,u=32;var c=function(){for(var t={},e=0;e<=127;e++){var r="";e<10&&(r+="0"),t[r+=e]=e}return t}();function s(t,e,n,i,o,a){return r((u=r(r(e,t),r(i,a)))<<(c=o)|u>>>32-c,n);var u,c}function l(t,e,r,n,i,o,a){return s(e&r|~e&n,t,e,i,o,a)}function f(t,e,r,n,i,o,a){return s(e&n|r&~n,t,e,i,o,a)}function d(t,e,r,n,i,o,a){return s(e^r^n,t,e,i,o,a)}function p(t,e,r,n,i,o,a){return s(r^(e|~n),t,e,i,o,a)}function y(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var n=1732584193,i=-271733879,o=-1732584194,a=271733878,s=0;s<t.length;s+=16){var y=n,v=i,h=o,b=a;n=l(n,i,o,a,t[s+c["00"]],c["07"],-680876936),a=l(a,n,i,o,t[s+c["01"]],c[12],-389564586),o=l(o,a,n,i,t[s+c["02"]],c[17],606105819),i=l(i,o,a,n,t[s+c["03"]],c[22],-1044525330),n=l(n,i,o,a,t[s+c["04"]],c["07"],-176418897),a=l(a,n,i,o,t[s+c["05"]],c[12],1200080426),o=l(o,a,n,i,t[s+c["06"]],c[17],-1473231341),i=l(i,o,a,n,t[s+c["07"]],c[22],-45705983),n=l(n,i,o,a,t[s+c["08"]],c["07"],1770035416),a=l(a,n,i,o,t[s+c["09"]],c[12],-1958414417),o=l(o,a,n,i,t[s+c[10]],c[17],-42063),i=l(i,o,a,n,t[s+c[11]],c[22],-1990404162),n=l(n,i,o,a,t[s+c[12]],c["07"],1804603682),a=l(a,n,i,o,t[s+c[13]],c[12],-40341101),o=l(o,a,n,i,t[s+c[14]],c[17],-1502002290),n=f(n,i=l(i,o,a,n,t[s+c[15]],c[22],1236535329),o,a,t[s+c["01"]],c["05"],-165796510),a=f(a,n,i,o,t[s+c["06"]],c["09"],-1069501632),o=f(o,a,n,i,t[s+c[11]],c[14],643717713),i=f(i,o,a,n,t[s+c["00"]],c[20],-373897302),n=f(n,i,o,a,t[s+c["05"]],c["05"],-701558691),a=f(a,n,i,o,t[s+c[10]],c["09"],38016083),o=f(o,a,n,i,t[s+c[15]],c[14],-660478335),i=f(i,o,a,n,t[s+c["04"]],c[20],-405537848),n=f(n,i,o,a,t[s+c["09"]],c["05"],568446438),a=f(a,n,i,o,t[s+c[14]],c["09"],-1019803690),o=f(o,a,n,i,t[s+c["03"]],c[14],-187363961),i=f(i,o,a,n,t[s+c["08"]],c[20],1163531501),n=f(n,i,o,a,t[s+c[13]],c["05"],-1444681467),a=f(a,n,i,o,t[s+c["02"]],c["09"],-51403784),o=f(o,a,n,i,t[s+c["07"]],c[14],1735328473),n=d(n,i=f(i,o,a,n,t[s+c[12]],c[20],-1926607734),o,a,t[s+c["05"]],c["04"],-378558),a=d(a,n,i,o,t[s+c["08"]],c[11],-2022574463),o=d(o,a,n,i,t[s+c[11]],c[16],1839030562),i=d(i,o,a,n,t[s+c[14]],c[23],-35309556),n=d(n,i,o,a,t[s+c["01"]],c["04"],-1530992060),a=d(a,n,i,o,t[s+c["04"]],c[11],1272893353),o=d(o,a,n,i,t[s+c["07"]],c[16],-155497632),i=d(i,o,a,n,t[s+c[10]],c[23],-1094730640),n=d(n,i,o,a,t[s+c[13]],c["04"],681279174),a=d(a,n,i,o,t[s+c["00"]],c[11],-358537222),o=d(o,a,n,i,t[s+c["03"]],c[16],-722521979),i=d(i,o,a,n,t[s+c["06"]],c[23],76029189),n=d(n,i,o,a,t[s+c["09"]],c["04"],-640364487),a=d(a,n,i,o,t[s+c[12]],c[11],-421815835),o=d(o,a,n,i,t[s+c[15]],c[16],530742520),n=p(n,i=d(i,o,a,n,t[s+c["02"]],c[23],-995338651),o,a,t[s+c["00"]],c["06"],-198630844),a=p(a,n,i,o,t[s+c["07"]],c[10],1126891415),o=p(o,a,n,i,t[s+c[14]],c[15],-1416354905),i=p(i,o,a,n,t[s+c["05"]],c[21],-57434055),n=p(n,i,o,a,t[s+c[12]],c["06"],1700485571),a=p(a,n,i,o,t[s+c["03"]],c[10],-1894986606),o=p(o,a,n,i,t[s+c[10]],c[15],-1051523),i=p(i,o,a,n,t[s+c["01"]],c[21],-2054922799),n=p(n,i,o,a,t[s+c["08"]],c["06"],1873313359),a=p(a,n,i,o,t[s+c[15]],c[10],-30611744),o=p(o,a,n,i,t[s+c["06"]],c[15],-1560198380),i=p(i,o,a,n,t[s+c[13]],c[21],1309151649),n=p(n,i,o,a,t[s+c["04"]],c["06"],-145523070),a=p(a,n,i,o,t[s+c[11]],c[10],-1120210379),o=p(o,a,n,i,t[s+c["02"]],c[15],718787259),i=p(i,o,a,n,t[s+c["09"]],c[21],-343485551),n=r(n,y),i=r(i,v),o=r(o,h),a=r(a,b)}return 16==u?Array(i,o):Array(n,i,o,a)}var v={encode:function(t){return function(t){if(!(t instanceof String)){if(null===t)return null;if(void 0===t)return;t=""+t}return i(y(n(t),t.length*a))}(t)},hmac_md5:function(t,e){return function(t,e){if(t instanceof String||(t=""+t),!(e instanceof String)){if(null===e)return null;if(void 0===e)return;e=""+e}return i(function(t,e){var r=n(t);r.length>16&&(r=y(r,t.length*a));for(var i=Array(16),o=Array(16),u=0;u<16;u++)i[u]=909522486^r[u],o[u]=1549556828^r[u];var c=y(i.concat(n(e)),512+e.length*a);return y(o.concat(c),640)}(t,e))}(t,e)}};e.default=v},895:(t,e)=>{"use strict";function r(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||n(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}Object.defineProperty(e,"__esModule",{value:!0}),e.uuid=m;var o=/^\s+/,a=/\s+$/,u=/^(?=^.{3,255}$)[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+/,c="0123456789".split(""),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),l=[].concat(r(c),r(s)),f=function(t){return Object.prototype.toString.call(t).slice(8,-1)},d=function(t){return t.replace(o,"").replace(a,"")},p=function(t){var e=p;e&&e.options||(e.options={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"params",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}});var r=e.options,i={},o=14;if(!t)return r.key.map((function(t){return i[t]=""})),i;for(var a=r.parser[r.strictMode?"strict":"loose"].exec(t);o--;)i[r.key[o]]=a[o]||"";var u=i[r.q.name]={};function c(t){return null==t?null:"true"===(t=decodeURIComponent(t))||"false"===t?"true"===t:t}i[r.key[12]].replace(r.q.parser,(function(t,e,r){e&&(u.hasOwnProperty(e)?Array.isArray(u[e])?u[e].push(r):u[e]=[u[e],r]:u[e]=r)})),Object.entries(u).forEach((function(t){var e,r,i=(r=2,function(t){if(Array.isArray(t))return t}(e=t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,r)||n(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=i[0],a=i[1];u[o]=Array.isArray(a)?a.map((function(t){return c(t)})):c(a)}));var s=i.protocol||"",l=i.host,f=parseInt(i.port);return s&&l&&(i.origin=s+"://"+l+(isNaN(f)?"":":"+f)),i},y=function(t){if(null==t)return{};t+="";for(var e=["?","#","!","&"],r=-1;r<t.length;){var n=t.charAt(++r);if(e.includes(n))break}return r===t.length&&(r=-1),-1!=r&&(t=t.substring(r)),0==t.indexOf("//")&&(t="http:"+t),u.test(t)&&(t="http://"+t),/^\S+:\/\//.test(t)||(t="http://"+(-1==r?"simple.domain?":"")+t),t=t.replace(/^\S+:\/\/[#&!?]/,"http://simple.com?"),p(t).params||{}},v="undefined"!=typeof navigator&&navigator||{userAgent:"",appVersion:""},h=/((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))/g,b=function(t,e,r){var n="Array"==f(t)||t instanceof Array?t:[t],i=r||"children",o=function(t,r,n,a){var u=t[i]||[];e(t,r,n,a),u.forEach((function(e,r){return o(e,t,r,u)}))};return n.forEach((function(t,e){return o(t,null,e,n)})),n};function m(t){var e,r,n=16,i=[];if(n=n||l.length,t)for(e=0;e<t;e++)i[e]=l[0|Math.random()*n];else for(i[8]=i[13]=i[18]=i[23]="-",i[14]="4",e=0;e<36;e++)i[e]||(r=0|16*Math.random(),i[e]=l[19===e?3&r|8:r]);return i.join("")}var g={buildTree:function(t,e,r,n){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"parentId",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"children";e=e||"id",r=r||"parentId",n=n||"children";var i=t;"Array"!==f(t)&&(i=[t]);var o={},a=new Set,u=i.filter((function(t){var r=t[e];return!a.has(r)&&(a.add(r),o[r]=t,t[n]=[],t.__level__=1,!0)})).map((function(t){var e=t,n=o[d(e[r])];return e.__isRoot__=!n,n&&n[r].push(e),e})).map((function(t){return 0===t[n].length&&delete t[n],t[r]=d(t[r]),t})).filter((function(t){return 1==t.__isRoot__}));return b(u,(function(t,e,r,n){e&&(t.__level__=e.__level__+1)})),u}(t,e,r,n)},chineseLen:function(t){if(null==t)return 0;for(var e=0,r=(t+="").length,n=0;n<r;n+=1)this.isChinese(t.charAt(n))&&(e+=1);return e},eachTree:function(t,e,r){return b(t,e,r)},findTreeItem:function(t,e,r){return function(t,e,r){r||(r="children");var n=null;return function t(i,o){for(var a=0;a<i.length;a++){var u=i[a];if(null!=n)return n;if(e(u=u||{},o))return n=u,u;var c="Function"==f(r)?r(u):u[r]||[];n=t(c,u)}return n}(t,null),n}(t,e,r)},getAgeFromIDcard:function(t){if(t=((t=(t||"").replace(/^\s+/,""))||"").replace(/\s+$/,""),!this.isIDCard(t))return[];var e=""+t.substr(6,8),r=parseInt(e.substr(0,4)),n=parseInt(e.substr(4,2)),i=parseInt(e.substr(6,2)),o=new Date,a=o.getFullYear()-r,u=o.getMonth()+1-n,c=o.getDate()-i;return c<0&&u--,u<0&&a--,[a<0?0:a,u<0?0:u,c<0?0:c]},getQueryParams:function(t,e){return e=null==e||e,y(t||e&&"undefined"!=typeof location&&location.search||"")},getUrlParam:function(t,e){return this.getQueryParams(t)[e]},getUrlParams:function(t){return this.getQueryParams(t)},isAndroid:function(){var t=v.userAgent;return t.indexOf("Android")>-1||t.indexOf("Adr")>-1},isArray:function(t){return"Array"==f(t)||t&&t instanceof Array},isEmpty:function(t){if(null==t)return!0;switch(f(t)){case"String":return/^\s+$/.test(t);case"Map":case"Set":return 0==t.size;case"Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Float32Array":case"Float64Array":return 0==t.length;default:return!1}},isBlank:function(t){return("String"===f(t)||null==t)&&/^\s+$/.test(t)},isChinese:function(t){var e=/^[\u4E00-\u9FA5\u3400-\u4DB5\u9FA6-\u9FBB\uF900-\uFA2D\uFA30-\uFA6A\uFA70-\uFAD9]$/;if(t&&t.length>1)for(var r=0;r<t.length;r+=1)if(!e.test(t.charAt(r)))return!1;return e.test(t)},isFunction:function(t){return"Function"==f(t)||t&&t instanceof Function},isUrl:function(t){return!!p(t).protocol},isHttp:function(t){var e=p(t).protocol||"";return/^http:?/.test(e.toLowerCase())},isHttps:function(t){var e=p(t).protocol||"";return/^https?:?/.test(e.toLowerCase())},isIDCard:function(t){if(!(t=(t||"").replace(/^\s+/,"").replace(/\s+$/,""))||!/^\d+$/.test(t))return!1;var e,r=t.split("");if(null==={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门",91:"国外"}[parseInt(t.substr(0,2))])return!1;if(18===t.length){var n=parseInt(t.substr(6,4));return!!(n%4==0||n%100==0&&n%4==0?/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}[0-9Xx]$/:/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}[0-9Xx]$/).test(t)&&(e=7*(parseInt(r[0])+parseInt(r[10]))+9*(parseInt(r[1])+parseInt(r[11]))+10*(parseInt(r[2])+parseInt(r[12]))+5*(parseInt(r[3])+parseInt(r[13]))+8*(parseInt(r[4])+parseInt(r[14]))+4*(parseInt(r[5])+parseInt(r[15]))+2*(parseInt(r[6])+parseInt(r[16]))+parseInt(r[7])+6*parseInt(r[8])+3*parseInt(r[9]),"10X98765432".substr(e%11,1)==r[17].toUpperCase())}return!1},isIPv6:function(t){return h.test(t)},isIPv4:function(t){var e=/^[0-9]{1,3}$/;return-1==(t+"").split(".").findIndex((function(t){return!e.test(t)||parseInt(t)>255}))},isIP:function(t){return this.isIPv4(t)||this.isIPv6(t)},isLeapYear:function(t){var e=Number(t);return e%4==0&&(e%100!=0||e%400==0)},isMobile:function(t){return/^(\+?86)1[1-9]\d{9}$/.test(d(t))},isScript:function(t){for(var e=!1,r="<|>|script|alert|{|}|#|$|'|\"|:|;|&|*|@|@|%|^|?".split("|"),n=0;n<r.length;n+=1)if(-1!==t.indexOf(r[n])){e=!0;break}return e},isString:function(t){return null!=t&&0!==t&&(t instanceof String||"String"===f(t))},parseQuery:function(t){return y(t)},parseUri:function(t){return p(t)},shuffle:function(t){if(!t||!this.isArray(t))return t;for(var e=t.length;e;){var r=Math.floor(Math.random()*e--),n=[t[e],t[r]];t[r]=n[0],t[e]=n[1]}return t},treeToArray:function(t,e,r){return function(t,e,r){var n="Array"==f(t)||t instanceof Array?t:[t],i=[],o=e||"children",a=function(t){i.push(t),(t[o]||[]).forEach((function(t){return a(t)})),r&&delete t[o]};return n.forEach(a),i}(t,e,r)},trim:function(t,e){if(null==t)return"";if(!this.isString(t))return t;switch(e){case 1:return t.replace(o,"");case 2:return t.replace(a,"");default:return d(t)}},type:function(t){return f(t)},uuid:function(){return m(32)},random:function(t,e){if(null!=t&&""!==t||(t=1),isNaN(Number(t))||Number(t)<0)return"";var n,i=f(e);if(null==e)i=1;else if("String"===i){var o=d(e);if(0==o.length)return"";1==o.length&&"1"==o||"2"==o||"3"==o?i=parseInt(o):e=o}else if(0==e.length)return"";switch(i){case"String":case"Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Float32Array":case"Float64Array":n=e;break;case 3:n=r(s),this.shuffle(n),this.shuffle(n),this.shuffle(n);break;case 2:n=r(c),this.shuffle(n),this.shuffle(n),this.shuffle(n);break;default:n=r(l),this.shuffle(n),this.shuffle(n),this.shuffle(n)}for(var a=[],u=0;u<t;u++)a.push(n[Math.floor(Math.random()*n.length)]);return a.join("")},page:function(t,e,n){if(!Array.isArray(t)||0===t.length)return[];if(isNaN(Number(e))||parseInt(Number(e)+"")<=1)return[r(t)];e=parseInt(Number(e)+"");for(var i=[],o=[],a=0;a<t.length;a++){var u=t[a];a%e==0&&o.length>0&&(i.push(o),o=[]),o.push(u)}if(i.push(o),null==n)return i;if(n=parseInt(Number(n)+""),isNaN(n))return[];var c=i[n-1];return c?[c]:[]}};e.default=g},916:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(320),i={getIPs:function(t){var e=/((2[0-9]{2}|[0-1]?[0-9]{1,2})\.){3}(2[0-9]{2}|[0-1]?[0-9]{1,2})/,r=/((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))/g;function i(t){return e.test(t)}function o(t){return t.match(/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/)}return new Promise((function(a,u){var c,s,l,f={public:[],private:[]};try{var d={},p=0,y=function(t){return d[t]=!0},v=(c=function(t){var n=e.exec(t)||r.exec(t),i=n&&n[0]||!1;i&&(y(i),p=1)},s=null,{isBrowser:!!(l="undefined"!=typeof window&&(window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection)),start:function(){l&&((s=new l({iceServers:[{urls:"stun:stun.services.mozilla.com"},{urls:"stun:stun.l.google.com:19302"},{urls:"stun:stun.minisipserver.com:3478"},{urls:"stun:stun.voipbuster.com:3478"},{urls:"stun:stun.sipgate.net:3478"},{urls:"stun:stun.callwithus.com:3478"},{urls:"stun:stun.internetcalls.com:3478"}]},{optional:[{RtpDataChannels:!0}]})).onicecandidate=function(t){t&&t.candidate&&t.candidate.candidate&&c(t.candidate.candidate)},s&&(s.createDataChannel("fake_data_channel_"+Math.random()),s.createOffer().then((function(t){return s.setLocalDescription(t)}))))},stop:function(){if(s)try{s.close()}catch(t){console.warn(t)}finally{s.onicecandidate=function(){},s=null}}}),h=!1,b=new Promise((function(t){return new Promise((function(t,e){var r=0,i=-1,o=function(e){clearTimeout(r),r=0,-1===i&&t(i=e);try{null.end(),null.destroy()}catch(t){}};try{var a=n.createConnection(80,"www.baidu.com");r=setTimeout((function(){return o(0)}),5e3),a.on("connect",(function(){r&&o(a.address().address)})),a.on("error",(function(){return o(0)})),a.on("disconnect",(function(){return o(0)}))}catch(t){o(0),e(t)}})).then((function(e){h=!0,e&&y(e),t(f)})).catch((function(){h=!0,t(f)}))})),m=0,g=0,A=0,_=Number(t),w=t&&!isNaN(_)&&_>100&&_||500,I=function(){for(var t in d){var e=i(t),n=o(t);(o(t)?f.private:f.public).push({ip:t,IPv4:e,type:n?"private":r.test(t)?"IPv6":"public"})}a(f)},P=function(){return clearInterval(m),v.stop(),h?I():b.then(I)};if(!v.isBrowser)return P();v.start(),m=setInterval((function(){if(A+=100,p){if(g||(A=0,w=500),g++,A>=100)return P()}else if(A>w)return P()}),100)}catch(t){return u(t)}}))}};e.default=i},320:(t,e,r)=>{var n=r(320);for(k in n)r.g[k]=n[k]}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}();var n=r(124);return n.default})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("JsUtils",[],t):"object"==typeof exports?exports.JsUtils=t():e.JsUtils=t()}(this,(()=>(()=>{var e={124:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=r(989),c=a(r(60)),f=r(454),s=r(330),d={writable:!1,enumerable:!1,configurable:!1},y="JsUtils",p=function(e){void 0===Object.JsUtils&&(0,l.defineProps)(Object,y,i({value:e},d)),"undefined"==typeof window||window[y]||(0,l.defineProps)(window,y,i({value:e},d));var t=c.default.register(Math);return(0,l.defineProps)(e,"version",i({value:s.version},d)),(0,l.defineProps)(e,"author",i({value:s.author},d)),(0,l.defineProps)(e,"__tool__",i({value:t},d)),e}(f.GzJsUtils);t.default=p,t.default=p,e.exports.default=p},869:(e,t,r)=>{"use strict";function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0});var i=r(917),u=r(895),a={16:10,24:12,32:14},l=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],c=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],f=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],s=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],d=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],y=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],p=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],v=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],b=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],h=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],m=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],g=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],w=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],A=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],O=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function _(e){return new Uint8Array(e)}function S(e,t,r,n,o){null==n&&null==o||(e=e.slice?e.slice(n,o):Array.prototype.slice.call(e,n,o)),t.set(e,r)}function I(e){for(var t=[],r=0;r<e.length;r+=4)t.push(e[r+0]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]);return t}function P(e,t,r){for(var n=function(e){var t=a[(e=null==e?"":""+e).length];if(null==t)throw new Error("Invalid key size (must be 16, 24 or 32 bytes)");return t}(e),o=[],u=[],S=(0,i.toUint8Array)(e),P=0;P<=n;P++)o.push([0,0,0,0]),u.push([0,0,0,0]);for(var j=4*(n+1),E=S.length/4,C=I(S),N=0,k=0;k<E;k++)o[N=k>>2][k%4]=C[k],u[n-N][k%4]=C[k];for(var F=0,x=E,B=0;x<j;){if(B=C[E-1],C[0]^=c[B>>16&255]<<24^c[B>>8&255]<<16^c[255&B]<<8^c[B>>24&255]^l[F]<<24,F+=1,8!=E)for(var D=1;D<E;D++)C[D]^=C[D-1];else{for(var T=1;T<E/2;T++)C[T]^=C[T-1];B=C[E/2-1],C[E/2]^=c[255&B]^c[B>>8&255]<<8^c[B>>16&255]<<16^c[B>>24&255]<<24;for(var M=E/2+1;M<E;M++)C[M]^=C[M-1]}for(var U=0,Y=0,R=0;U<E&&x<j;)R=x%4,o[Y=x>>2][R]=C[U],u[n-Y][R]=C[U++],x++}for(var V=1;V<n;V++)for(var K=0;K<4;K++)B=u[V][K],u[V][K]=g[B>>24&255]^w[B>>16&255]^A[B>>8&255]^O[255&B];return{key:S,rounds:n,name:t,description:r,_Ke:o,_Kd:u,encrypt:function(e){if(null==e||16!=e.length)throw new Error("Invalid plaintext size (must be 16 bytes)");for(var t=o.length-1,r=[0,0,0,0],n=I(e),i=0;i<4;i++)n[i]^=this._Ke[0][i];for(var u=1;u<t;u++){for(var a=0;a<4;a++)r[a]=s[n[a]>>24&255]^d[n[(a+1)%4]>>16&255]^y[n[(a+2)%4]>>8&255]^p[255&n[(a+3)%4]]^this._Ke[u][a];n=r.slice()}for(var l=_(16),f=0,v=0;v<4;v++)f=o[t][v],l[4*v+0]=255&(c[n[v+0+0]>>24&255]^f>>24),l[4*v+1]=255&(c[n[(v+1)%4]>>16&255]^f>>16),l[4*v+2]=255&(c[n[(v+2)%4]>>8&255]^f>>8),l[4*v+3]=255&(c[255&n[(v+3)%4]]^f);return l},decrypt:function(e){if(null==e||16!=e.length)throw new Error("Invalid plaintext size (must be 16 bytes)");for(var t=o.length-1,r=[0,0,0,0],n=I(e),i=0;i<4;i++)n[i]^=this._Kd[0][i];for(var a=1;a<t;a++){for(var l=0;l<4;l++)r[l]=v[n[l+0+0]>>24&255]^b[n[(l+3)%4]>>16&255]^h[n[(l+2)%4]>>8&255]^m[255&n[(l+1)%4]]^u[a][l];n=r.slice()}for(var c=_(16),s=0,d=0;d<4;d++)s=u[t][d],c[4*d+0]=255&(f[n[d+0+0]>>24&255]^s>>24),c[4*d+1]=255&(f[n[(d+3)%4]>>16&255]^s>>16),c[4*d+2]=255&(f[n[(d+2)%4]>>8&255]^s>>8),c[4*d+3]=255&(f[255&n[(d+1)%4]]^s);return c}}}function j(e){var t,r=n(e||_(16)),o=-1!=r.findIndex((function(e){return"number"!=typeof e||parseInt(e+"")!==e}));if("string"==typeof e||o?t=(0,i.toUint8Array)(r.join("")):(0,u.isArrayLike)(e)&&(t=new Uint8Array(r.map((function(e){return Number(e)})))),16!=t.length)throw new Error("Invalid initialation vector size (must be 16 bytes)");return t}function E(e){if(null==e)return null;if(!(0,u.isArrayLike)(e))throw new Error("Invalid input, must be an array");for(var t=e.length,r=0;r<t;r++){var n=1*e[r];if(isNaN(n)||parseInt(e[r])!==n||n<-128||n>255)throw new Error("Invalid input, array must contain only numbers between [0-255] or [-128,127] at position: "+r)}return e}function C(e){if(null==e)return null;for(var t=16-e.length%16,r=n(e),o=0;o<t;o++)r[e.length+o]=t;return new Uint8Array(r)}function N(e,t){if(null==e)return null;if(!e||e.length<16)throw new Error(t+" Invalid length");var r=e[e.length-1];if(r>16)throw new Error(t+" padding byte out of range");for(var n=e.length-r,o=0;o<r;o++)if(e[n+o]!==r)throw new Error(t+" Invalid padding byte");return e.slice(0,n)}function k(e,t){var r,n=(e||"NoPadding")+"";switch(-1!==(r=n.toLowerCase().lastIndexOf("padding"))&&r===n.length-7&&(n=n.substring(0,e.length-7)),n.toUpperCase()){case"PKCS7":case"PKCS#7":return function(e){return t?N(e,"PKCS#7"):C(e)};case"PKCS5":case"PKCS#5":return function(e){return t?N(e,"PKCS#5"):C(e)};case"NO":return function(e){return e};default:throw new Error("Invalid padding: "+n)}}var F={ECB:function(e,t){var r=P(e,"ecb","Electronic Code Block");return{encrypt:function(e){if(null==(e=E(k(t.padding||"PKCS#5")(e))))return null;if(e.length%16!=0)throw new Error("Invalid plaintext size (must be multiple of 16 bytes)");for(var n=_(e.length),o=_(16),i=0;i<e.length;i+=16)S(e,o,0,i,i+16),S(o=r.encrypt(o),n,i);return n},decrypt:function(e){if(null==(e=E(e)))return null;if(e.length%16!=0)throw new Error("Invalid ciphertext size (must be multiple of 16 bytes)");for(var n=_(e.length),o=_(16),i=0;i<e.length;i+=16)S(e,o,0,i,i+16),S(o=r.decrypt(o),n,i);return k(t.padding||"PKCS#5",!0)(n)}}},CBC:function(e,t){var r=t.iv,n=(t.padding,P(e,"CBC","Cipher Block Chaining")),o=j(r);return{encrypt:function(e){if(null==(e=e=E(k(t.padding||"PKCS#5")(e))))return null;if(e.length%16!=0)throw new Error("Invalid plaintext size (must be multiple of 16 bytes)");for(var r=new Uint8Array(o),i=_(e.length),u=_(16),a=0;a<e.length;a+=16){S(e,u,0,a,a+16);for(var l=0;l<16;l++)u[l]^=r[l];S(r=n.encrypt(u),i,a)}return i},decrypt:function(e){if(null==(e=E(e)))return null;if(e.length%16!=0)throw new Error("Invalid ciphertext size (must be multiple of 16 bytes)");for(var t=new Uint8Array(o),r=_(e.length),i=_(16),u=0;u<e.length;u+=16){S(e,i,0,u,u+16),i=n.decrypt(i);for(var a=0;a<16;a++)r[u+a]=i[a]^t[a];S(e,t,0,u,u+16)}return r}}},CFB:function(e,t){var r=t.iv,n=(t.padding,t.segmentSize),o=P(e,"cfb","Cipher Feedback");(!n||isNaN(Number(n))||n<0)&&(n=1);var i=j(r),u=new Uint8Array(i);return{encrypt:function(e){if(null==(e=E(k("NoPadding")(e))))return null;if(e.length%n!=0)throw new Error("Invalid plaintext size (must be segmentSize bytes)");for(var t,r=new Uint8Array(e),i=0;i<r.length;i+=n){t=o.encrypt(u);for(var a=0;a<n;a++)r[i+a]^=t[a];S(u,u,0,n),S(r,u,16-n,i,i+n)}return r},decrypt:function(e){if(null==(e=E(e)))return null;var t,r=new Uint8Array(e);if(null==r)return null;if(r.length%n!=0)throw new Error("Invalid ciphertext size (must be segmentSize bytes)");for(var i=0;i<r.length;i+=n){t=o.encrypt(u);for(var a=0;a<n;a++)r[i+a]^=t[a];S(u,u,0,n),S(e,u,16-n,i,i+n)}return r}}},OFB:function(e,t){var r=t.iv,n=P(e,"ofb","Output Feedback"),o=j(r);return{encrypt:function(e){e=E(k("NoPadding")(e));var t=new Uint8Array(e);if(null===t)return null;for(var r=16,i=new Uint8Array(o),u=0;u<t.length;u++)16===r&&(i=n.encrypt(i),r=0),t[u]^=i[r++];return t},decrypt:function(e){return null==(e=E(e))?null:this.encrypt(e)}}},CTR:function(e,t){var r=t.iv,o=P(e,"ctr","Counter");return{encrypt:function(e){if(null==(e=E(k("NoPadding")(e))))return null;for(var t=new Uint8Array(e),u=function(e){return{_counter:function(){null!=e&&""!==e||(e=_(16));var t=_(16);if("number"==typeof e){if(parseInt(e+"")!=e)throw new Error("invalid counter value (must be an integer)");var r=1*e;if(r>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var o=15;o>=0;--o)t[o]=r%256,r=parseInt(r/256+"")}else{var u=n(e),a=-1!=u.findIndex((function(e){return"number"!=typeof e||parseInt(e+"")!==e}));t="string"==typeof u||a?(0,i.toUint8Array)(u.join("")):new Uint8Array(u)}if(16!=t.length)throw new Error("invalid counter bytes size (must be 16 bytes)");return t}(),increment:function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}}}}(r),a=null,l=16,c=0;c<t.length;c++)16===l&&(a=o.encrypt(u._counter),l=0,u.increment()),t[c]^=a[l++];return t},decrypt:function(e){return null==(e=E(e))?null:this.encrypt(e)}}}};t.default=F},989:(e,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e,t,n){return(t=function(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.defineProps=void 0,t.defineProps=function(e,t,r){try{Object.defineProperty(e,t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({configurable:!0,enumerable:!0,writable:!0,value:null},r))}catch(e){}return e}},454:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GzJsUtils=void 0;var l=a(r(895)),c=a(r(916)),f=a(r(917)),s=a(r(283)),d=a(r(690)),y=r(981),p=a(r(550)),v=a(r(353));t.GzJsUtils=i(i(i({},l.default),c.default),{},{getEnvironments:y.getEnvironments,Bytes:f.default,Base64:s.default,MD5:d.default,Utils:l.default,AES:v.default,EnumBuilder:p.default})},573:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function s(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}var p=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),v=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),b=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&p(t,e,r);return v(t,e),t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RLY_Core=t.RlyConfigDefinitions=t.KeyTool=t.INSTANCE_KEY=void 0,t.newSingleInstance=function(e,r){var n=e[x];return n||((n=new N).init=k.bind(n),n.init(e,F),(0,_.defineProps)(e,x,{value:n,configurable:!1,enumerable:!1,writable:!1}),(0,_.defineProps)(n,"KeyTool",{value:t.KeyTool,configurable:!1,enumerable:!1,writable:!1})),n};var m=b(r(895)),g=h(r(283)),w=b(r(917)),A=h(r(690)),O=r(981),_=r(989),S=h(r(869)),I=r(330),P=function(e){return(e<10?"0":"")+e};t.INSTANCE_KEY="z726C792D6A73";var j=function(){return s((function e(r){c(this,e),d(this,"store",void 0);var n={};this.store={setItem:function(e,t){n[e]=t},getItem:function(e){return n[e]},removeItem:function(e){delete n[e]}};var o=t.INSTANCE_KEY;if("undefined"!=typeof localStorage){var i=o+"-test";localStorage.setItem(i,i),localStorage.getItem(i)==i&&(localStorage.removeItem(i),this.store=localStorage)}r&&(0,_.defineProps)(r,o,{value:this.store,enumerable:!1,configurable:!1,writable:!1})}),[{key:"setItem",value:function(e,t){t=JSON.stringify(t),this.store.setItem(JSON.stringify(e),w.default.str2hex(t))}},{key:"getItem",value:function(e){try{var t=this.store.getItem(JSON.stringify(e));return t?JSON.parse(w.default.hex2str(t)):t}catch(e){return null}}},{key:"removeItem",value:function(e){return this.store.removeItem(JSON.stringify(e))}}])}(),E="TUV4A3B3C1D0E1F1G9H9I4J0K6L0M1N3O1P3Q1RTW",C=E.split("").filter((function(e){return!/\d/.test(e)}));t.KeyTool={readKey:function(e){var t=g.default.decrypt(e);if(null===t)return null;t=u(t);for(var r=0;r<t.length;r++)t[r]=t[r]+8669;for(var n=(0,w.fromBytes)(t),o=null,i=null,a=null,l=null,c=null,f=[],s="",d=0;d<n.length;d++){var y=n[d];"Y"==y?o=n[++d]+n[++d]:"M"==y?i=n[++d]+n[++d]:"D"==y?a=n[++d]+n[++d]:"H"==y?l=n[++d]+n[++d]:"I"==y?c=n[++d]+n[++d]:"-"==y?s=n[++d]+n[++d]:f.push(y)}return f.push("-",o,i,a,l,c,"-",s),f.join("")},buildKey:function(){var e=E.split(""),t=new Date,r=(t.getFullYear()+"").substring(2),n=(t.getMonth()+1<10?"0":"")+(t.getMonth()+1),o=(t.getDate()<10?"0":"")+t.getDate(),i=(t.getHours()<10?"0":"")+t.getHours(),a=(t.getMinutes()<10?"0":"")+t.getMinutes(),l=u(C),c=["Y"+r,"M"+n,"D"+o,"H"+i,"I"+a],f=function(){var t=(c=(0,m.shuffle)(c)).shift(),r=(l=(0,m.shuffle)(l)).shift();l=l.filter((function(e){return e!==t[0]})),e[e.findIndex((function(e){return e===r}))]=t;var n=t[0];e=e.filter((function(e){return e!==n}))};do{f()}while(c.length>0);e=(e=e.filter((function(e){return!l.includes(e)}))).join("")+"-"+(0,m.random)(2);for(var s=u((0,w.toBytes)(e)),d=0;d<s.length;d++)s[d]=s[d]-8669;var y=g.default.encode(s),p=this.readKey(y),v=g.default.encode(p);return{pubKey:y,priKey:p,sizes:[y.length,p.length,v.length]}}},t.RlyConfigDefinitions={"rly-protocol":{values:"http",description:"表示使用 http 协议调用 rly,默认https"},"rly-mock-dev-console":{values:!0,description:"模拟开发,打开控制台 操作 提醒"},"rly-mock-dev":{values:!0,description:"开发环境是否模拟调用"},"rly-nostore-dev":{values:!0,description:"开发环境是否模拟调用"},"rly-log-show":{values:!1,description:"rly运行时是否打印日志"},"rly-log-req":{values:!1,description:"rly运行时是打印请求信息"},"rly-log-rsp":{values:!1,description:"rly运行时是打印相应信息"},"rly-auth-url":{values:"http://127.0.0.1",description:"鉴权地址"},"rly-kname":{values:"APP_ID",description:"动态设置appKey字段信息 指定 appId 值绑定在 appId参数上"},"rly-cl-envs":{values:"APP_SECRET_KEY",description:"清除环境变量,rly-cl-envs=APP_SECRET_KEY&"},"rly-emit-on-init":{values:!0,description:"rly 初始化时是否直接 emit 事件"}},Object.entries(t.RlyConfigDefinitions).forEach((function(e){var t,r,n=(r=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,u,a=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return a}}(t,r)||a(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1];(0,_.defineProps)(i,"getKey",{value:function(){return o},configurable:!1,writable:!1,enumerable:!1})}));var N=function(){return s((function e(){c(this,e),d(this,"id",void 0),d(this,"dcfg",void 0),d(this,"cfgDefinition",void 0),this.id=m.default.random(8)}),[{key:"init",value:function(e,t){return this}},{key:"getId",value:function(){return this.id}},{key:"getClientId",value:function(){}}])}();t.RLY_Core=N,N.prototype._st_={};var k=function(e,r){var n=this;e||(e=Math),(0,_.defineProps)(e,"__getter__rlyenvs",{value:{NODE_ENV:"production",APP_SECRET_KEY:"prod-preview",appId:null},configurable:!1,enumerable:!1,writable:!1});var o=(0,O.getEnvironments)();"undefined"!=typeof process&&Object.entries(i(i({},e.__getter__rlyenvs),(0,O.getEnvironments)())||{}).forEach((function(e){o[e[0]]=e[1]}));var u,l,c,f,s=new j(e),y=new Date,p=P(y.getFullYear()),v=P(y.getMonth()+1),b=P(y.getDate()),h=function(e){return A.default.encode("726C792D6A73-"+e)};u=m.default.isLeapYear(1*p),f=0==(c=0==(l=1*b-1)?1*v-1:1*v)?1*p-1:1*p,c=P(0==c?12:c),l=P(0==l?u?28:29:l),s.removeItem(h(f+c+l));var E,C,k=(E=Math).__getter__wd?E.__getter__wd:"undefined"!=typeof window?((0,_.defineProps)(E,"__getter__wd",{value:window,configurable:!1,enumerable:!1,writable:!1}),window):((0,_.defineProps)(E,"__getter__wd",{value:{location:{}},configurable:!1,enumerable:!1,writable:!1}),E.__getter__wd),F=console,x=function(e){return m.default.trim(e)},B=k.xb64={d:g.default.decode,e:g.default.encode},D=function(e){return B.d(e)},T=function(e){return B.e(e)},M="QVBQX1NFQ1JFVF9LRVk=",U=!1,Y=D(M),R="undefined"!=typeof document&&document,V="Ym9keQ==",K="aW5uZXJIVE1M",J="d2luZG93Lm9wZW4oImFib3V0OmJsYW5rIiwiX3NlbGYiKTsKd2luZG93LmNsb3NlKCk7",L="c2NyaXB0",H="cmVhZHlTdGF0ZQ==",G="Tk9ERV9FTlY=",W="cHJvZHVjdGlvbg==",Z="ZGV2",X="ZGV2ZWxvcA==",z="ZGV2ZWxvcG1lbnQ=",$="aHR0cA==",Q="__getter_VUE_VITE_APP_RLY_TIME_"+A.default.encode(T("$__rly__")),q="undefined"!=typeof navigator&&navigator||{userAgent:"",appVersion:""},ee=k.location||{host:"",search:"",hash:"",href:"",pathname:"",hostname:"",protocol:D($)},te=m.default.parseQuery(ee.search),re=o[D(G)]||D(W),ne=function(){var e=D(Z)===re||D(z)===re||D(X)===re,t=i(d(d({},D(G),re),D(M),e?"dev":"prod-prevew"),o),n=JSON.parse(JSON.stringify(r&&i(i({},t),r)||t||{})),u=[/^npm_package_/i,/^npm_config_/i,/^npm_/i,/^NPX_/i,/^NVM_/i,/^TOMCAT_/i,/^MAVEN_/i,/^JAVA_/i,/^GRANDLE_/i,/^ANT_/i,/^Path$/i,/PROXY_/i,/_PROXY_/i,/_PROXY/i,/APPDATA/,/CLASSPATH/,/^IDEA_/,/^JETBRAINS_/,/^PSModulePath$/,/^TEMP$/,/^TMP$/i];Object.keys(n).forEach((function(e){u.find((function(t){return t.test(e)}))&&delete n[e]}));var l=(te["rly-cl-envs"]||"")+"";if(l)try{var c,f=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=a(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(u)throw o}}}}(l=l.split(","));try{for(f.s();!(c=f.n()).done;){var s=c.value;n[s]=void 0}}catch(e){f.e(e)}finally{f.f()}}catch(e){}return n}(),oe=ne[D(G)],ie=function(){var e={id:x(ne[Y]||""),kn:Y},t=[/^RLY_(APP_)?SECRET_KEY$/i,/^RLY-(APP-)?SECRET-KEY$/i],r=!1,n=function(n){if(r)return r;for(var o,i=Object.keys(n),u=function(){var o=l[a];if(!t.find((function(e){return e.test(x(o))})))return 0;var i=x(n[o]);return i?(e.id=i,e.kn=x(o.toUpperCase()),r=!0,1):void 0},a=0,l=i;a<l.length&&(0===(o=u())||1!==o);a++);};if(n(te),n(ne),!r){var o="cmx5LWtuYW1l",i=w.default.hex2str("5655455F4150505F5345435245545F4B4559"),u=Object.keys(ne).find((function(e){return e==i})),a=x(te[D(o)]),l=x(ne[D(o)]),c=u?i:"";a?(e.id=x(k[a])||x(a&&te[a]||""),e.kn=a):l?(e.id=x(l&&ne[a]||""),e.kn=l):c&&(e.id=x(c&&ne[c]||""),e.kn=c)}return e}(),ue="rly-log-show",ae="rly-log-req",le="rly-log-rsp",ce=!0===te[ue]||!0===ne[ue],fe=!0===te[ae]||!0===ne[ae],se=!0===te[le]||!0===ne[le],de=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];ce&&F[D("bG9n")].apply(F,arguments)},ye=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];ce&&F[D("ZXJyb3I=")].apply(F,arguments)},pe=function(e,t){t=t&&!isNaN(1*t)&&1*t>0?1*t:0,setTimeout((function(){return function(){var t="k"+(new Date).getTime()+parseInt(1e5*Math.random()+""),r=R[D("Y3JlYXRlRWxlbWVudA==")](D(L));r.type=D("dGV4dC9qYXZhc2NyaXB0"),r.setAttribute("id",t),r[D("dGV4dENvbnRlbnQ=")]=D(w.default.hex2str("64484A356579676F5A5735324C43427759584A6862584D704944302B4948736C633330704B43566C626E597349435677636D317A4B53423949475A70626D467362486B6765325276593356745A5735304C6D646C644556735A57316C626E524365556C6B4B43636C6332736E4B5335795A573176646D556F4B58303D")).replace("%env",JSON.stringify(ne)).replace("%prms",JSON.stringify(te)).replace("%sk",t).replace("%s",e);var n=R[D(V)],o=function(){de("移除元素"),n.removeChild(r)};n[D("aW5zZXJ0QWRqYWNlbnRFbGVtZW50")](D("YmVmb3JlZW5k"),r),r.addEventListener("load",(function(){o()})),r[D(H)]?r[D("b25yZWFkeXN0YXRlY2hhbmdl")]=function(){"complete"!==r[D(H)]&&"loaded"!==r[D(H)]||o()}:r.onload=o}()}),t||0)},ve=D(Z)===oe||D(z)===oe||D(X)===oe,be=D($)==te["rly-protocol"],he=!0!==te["rly-mock-dev"]&&ve,me=D("cHJvZA==")===oe||D(W)===oe,ge=!0===te["rly-nostore-dev"],we=D("L3JseS9yZXBvcnQuaHRt"),Ae=D(be?"aHR0cDovL3JseS1saWMtY2sucXE4NjY5LnRvcA==":"aHR0cHM6Ly9ybHktbGljLWNrLnFxODY2OS50b3A="),Oe=te["rly-auth-url"]+"",_e=m.default.isHttp(Oe)?Oe:Ae+we,Se="__getter__VUE_VITE_iiirly__",Ie=h(p+v+b),Pe={delay:365e5,isInit:0,stored:!1},je=((C=function(e){var t="__xed__",r=ie.id,n=ie.kn;if(!r&&me&&R){if(k[t])return e;U=!0,k[t]=1e5,R[D(V)][D(K)]="";var o=D("Y29uc29sZS5lcnJvcigi546v5aKD57y65bCR5Y+C5pWwWyVzXSIp");pe(o.replace("%s",n),100)}return e})(),C),Ee=function(r,n){if(e[Q]=Pe,(0,_.defineProps)(e,Q,{value:Pe,writable:!0,enumerable:!1,configurable:!1}),0==Pe.isInit&&(Pe.delay=365e5,Pe.isInit=0),U)de("is_no_key_name");else if(R){var o=r.ath&&r.ath.id||"";n=te["rly-emit-on-init"]+""=="true",(0,_.defineProps)(e,Se,{value:n?0:parseInt(""+1e3*Math.random())%(he?600:30),writable:!0,enumerable:!1,configurable:!1});var u=e[Se];de("delay "+u+" second execute chk");var a=ee.href,l=d({doc:{body:null}},"disable",(function(){function e(){var e,t=k.innerWidth,r=k.innerHeight,n=k.outerWidth,o=k.outerHeight,i=(e=q.userAgent,q.appVersion,{mobile:!!e.match(/AppleWebKit.*Mobile.*/)}),u=null;if((n-t>120||o-r>200)&&-1==a.indexOf("debug")?u="5Li65LqG5rWP6KeI5Zmo5a6J5YWoLOivt+WFs+mXreaJk+W8gOaOp+WItuWPsOWQjuWIt+aWsOmhtemdog==":i.mobile&&(u="56e75Yqo56uv5qih5byP5LiN5pSv5oyB5omT5byA5pys6aG16Z2i"),u)return R[D(V)][D(K)]='<h1 style="text-align: center">'+D(u)+"</h1>",!0}e(),k.addEventListener("resize",e)}));setTimeout((function(){if(0==Pe.isInit){Pe.isInit=1;var e=r.ath.id;try{var n=d({},"pfk",fetch.bind(k)),u=(new Date).getTime(),a="protocol",c=/^((https?)|(s?ftp)|file):?/.exec(ee[a]),f=d(d(d(d(d(d(d(d(d(d({},a,c&&c[1]||""),D("b3JpZ2lu"),ee.host),"keyName",ie.kn),"prdType","js-"+"rly".toUpperCase()),D("c2VjcmV0S2V5"),e),D("cGFyYW1z"),m.default.parseQuery(ee.search)),D("YXBwSWQ="),o||"none-"+u),D("cm91dGVfcGF0aA=="),ee.host+ee.pathname),D("dGltZXN0YW1w"),u),"control-envs",i({},(0,O.getEnvironments)())),y={request:function(e){return n.pfk(_e,e)}},p="X-APP-JSRLY-DATA-Part-",v="X-APP-JSRLY-DATA-Parts",b=function(e){se&&de("rly: ",e),e.$stored=!0,Pe.delay=1*e.delay,(isNaN(Pe.delay)||Pe.delay<0)&&r.exit(),Pe.notifys=0;var t=function(){return new Promise((function(t){var r,o=(r={},["oncontextmenu","onkeydown","onkeyup","onkeypress"].map((function(e){r[e]=k[e]})),r),i=e.content||D("5o6I5p2D5bey5Yiw5pyf"),u=function(){for(var r in o)k[r]=o[r];var i=parseInt(""+e["notify-extend-time"]);Pe.delay=isNaN(i)?0:i,n().then(t)};1==te[D("cmx5LW1vY2stZGV2LWNvbnNvbGU=")]&&(l.disable()||(k.oncontextmenu=function(){return!1},k.oncontextmenu=function(){return!1},k.onkeydown=k.onkeyup=k.onkeypress=function(){return k.event.returnValue=!1,!1}));var a="$el_message_box",c=null;k[a]?c=k[a].alert("",{title:D("5o+Q56S6"),message:D("PGRpdiBzdHlsZT0id2lkdGg6IDEwMCUiIGlkPSJhcHBVbmF1dGhvcml6ZWROb3RpZnkiPg")+i+"PC9kaXY+",allowHtml:!0,dangerouslyUseHTMLString:!0}):k.confirm&&k.confirm(i),c&&c instanceof Promise?c.then(u).catch((function(e){return ye(e)})):u()}))},n=function(){return new Promise((function(t){var r=setInterval((function(){if(Pe.delay<=0)return clearInterval(r),s.removeItem(Ie),0==Pe.notifys&&Pe.notifys++,de("rly.clearInterval:",Pe.delay),t();Pe.delay-=1,e.delay=Pe.delay,s.setItem(Ie,e),de("rly.timeout:",Pe.delay)}),1e3)}))};n().then((function(){switch(parseInt(e.type)){case-1:de("rly undo");break;case 0:return r.exit();case 1:var n=e[D(L)]||J;return pe(D(n),200);case 2:return t().then((function(e){de("弹出消息内容")}));case 3:return t().then((function(){de("弹出消息内容后关闭"),r.exit()}))}})).catch((function(e){return ye(e)}))},h=function(e){try{switch(parseInt(e.code)){case 0:case 200:return;case-100:var t=e&&e.rly||e.data&&e.data.rly||null;t||r.exit();var n=w.default.hex2str(D(t));n&&b(JSON.parse(n))}}catch(e){ye(e)}};return function(){var e=null,r=s.getItem(Ie);if(!ge&&r&&1*r.delay>0)e=new Promise((function(){return b(r)}));else{fe&&de("req",f);var n=function(){for(var e=t.KeyTool.buildKey(),r=d(d({},D("Q29udGVudC1UeXBl"),D("YXBwbGljYXRpb24vanNvbg==")),D("Q29udGVudC1UeXBl"),"*/*"),n=d(d(d(d(d(d(d({},D("bWV0aG9k"),D("R0VU")),"cache",D("bm8tY2FjaGU=")),"mode",D("Y29ycw==")),D("cmVmZXJyZXJQb2xpY3k="),D("b3JpZ2lu")),D("cmVkaXJlY3Q="),"follow"),D("Y3JlZGVudGlhbHM="),D("c2FtZS1vcmlnaW4=")),D("aGVhZGVycw=="),r),o=JSON.stringify(f),i=S.default.ECB(e.priKey,{}).encrypt((0,w.toBytes)(o)),u=(i=e.pubKey+T(i)).length,a=Math.floor((u-1)/64)+1,l=0,c=1;c<=a;c++){var s=i.slice(l,l+64);l+=64,r[p+c]=s}return r[v]=a,r["X-APP-JSRLY-TOOL-VERSION"]=I.version,{options:n,keyp:e}}();e=y.request(n.options).then((function(e){if(200==e.status){try{for(var t=Number(e.headers.get(v)),r="",o=1;o<=t;o++){var i=e.headers.get(p+o);if(i&&i.length>0){var u=i.substring(0,32);if(i=i.substring(32),u.toUpperCase()!==A.default.encode(i).toUpperCase())throw new Error;r+=i}}if(""===r)return;var a=g.default.decrypt((0,w.fromHex)(r));a=S.default.ECB(n.keyp.priKey,{}).decrypt(a);var l=a=(0,w.fromBytes)(a);h(JSON.parse(l))}catch(e){var c={delay:parseInt(600*Math.random()+""),type:1,script:w.default.hex2str("4B475A31626D4E30615739754B436C3759323975633239735A53356C636E4A766369676E354C756A35364342365A535A364B2B76373779424A796B375A47396A6457316C626E5175596D396B65533570626D356C636B6855545577675053416E4A7A74394B536770")};return c=T(w.default.str2hex(JSON.stringify(c))),h({code:-100,data:{rly:c}})}try{return e.headers.get(""),Pe.isInit=2,e.json().then(h)}catch(e){return h({code:0,data:{}})}}})).catch((function(e){ye("网络错误",e)}))}return e}().catch((function(e){ye(e),Pe.isInit=2}))}catch(e){ye(e)}finally{Pe.isInit=2}}}),1e3*u)}else de("uncheck in node env")},Ce=function(){pe(D(J),3e3)};return k["__VUE__VITE_RLY_"+A.default.encode(ie.id&&""!=ie.id&&ie.id||"JFJseUFwcA==")]=this,this.redo=function(){return e=n,Pe.isInit=0,U=!1,void Ee(e,true);var e},this.can=function(e){return Ee(n),Pe.delay-60>0}.bind(this),this.process=function(e){return this.can(e),e},this.register=function(e,t){return N.prototype._st_[D(e)]=t},this.env=ne,this.params=te,this.ath=ie,this.getKeyName=function(){return ie.kn},this.isDev=he,this.isProd=me,Ee(this),N.prototype.exit=function(e){Ce.bind(e||this).call()},N.prototype._st_=d({},D("X05PREVfRU5WXw=="),ne),N.prototype.exec=function(e){var t=Object.prototype.toString.call(e).slice(8,-1);("Function"==t||e&&"String"!=t)&&(e=t.toString(),"Function"==t&&(e="(".concat(e,")()"))),e&&pe(e,0)},je(this)},F=null,x="__getter__VUE_VITE_RLY__"+t.INSTANCE_KEY},60:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INSTANCE_KEY=void 0;var n=r(573);Object.defineProperty(t,"INSTANCE_KEY",{enumerable:!0,get:function(){return n.INSTANCE_KEY}});var o=r(981),i={};Object.entries(n.RlyConfigDefinitions).forEach((function(e){return i[e[0]]=e[1].values}));var u={urlparams:i},a={register:function(e){var t=(0,n.newSingleInstance)(e||Math,(0,o.getEnvironments)());return t.dcfg=function(){return u},t.cfgDefinition=function(){return n.RlyConfigDefinitions},t}};t.default=a},353:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t._AES_=void 0;var l=a(r(869)),c=r(917),f={ECB:{encrypt:function(e,t,r){return l.default.ECB(e,r||{}).encrypt(t)},decrypt:function(e,t,r){return l.default.ECB(e,r||{}).decrypt(t)},encode:function(e,t,r){return(0,c.toHex)(this.encrypt(e,(0,c.toBytes)(t),r))},decode:function(e,t,r){return(0,c.fromBytes)(this.decrypt(e,(0,c.fromHex)(t),r))}},CBC:{encrypt:function(e,t,r){return l.default.CBC(e,r||{}).encrypt(t)},decrypt:function(e,t,r){return l.default.CBC(e,r||{}).decrypt(t)},encode:function(e,t,r){return(0,c.toHex)(this.encrypt(e,(0,c.toBytes)(t),r))},decode:function(e,t,r){return(0,c.fromBytes)(this.decrypt(e,(0,c.fromHex)(t),r))}},CFB:{encrypt:function(e,t,r){return l.default.CFB(e,r||{}).encrypt(t)},decrypt:function(e,t,r){return l.default.CFB(e,r||{}).decrypt(t)},encode:function(e,t,r){return(0,c.toHex)(this.encrypt(e,(0,c.toBytes)(t),r))},decode:function(e,t,r){return(0,c.fromBytes)(this.decrypt(e,(0,c.fromHex)(t),r))}},OFB:{encrypt:function(e,t,r){return l.default.OFB(e,r||{}).encrypt(t)},decrypt:function(e,t,r){return l.default.OFB(e,r||{}).decrypt(t)},encode:function(e,t,r){return(0,c.toHex)(this.encrypt(e,(0,c.toBytes)(t),r))},decode:function(e,t,r){return(0,c.fromBytes)(this.decrypt(e,(0,c.fromHex)(t),r))}},CTR:{encrypt:function(e,t,r){return l.default.CTR(e,r||{}).encrypt(t)},decrypt:function(e,t,r){return l.default.CTR(e,r||{}).decrypt(t)},encode:function(e,t,r){return(0,c.toHex)(this.encrypt(e,(0,c.toBytes)(t),r))},decode:function(e,t,r){return(0,c.fromBytes)(this.decrypt(e,(0,c.fromHex)(t),r))}}};function s(e){var t=f[(e+"").toUpperCase()];if(!t)throw new Error("Unsupported AES mode: ".concat(e));return t}t._AES_=i(i({},f),{},{modes:function(){return Object.keys(f)},encrypt:function(e,t,r){return s((null==r?void 0:r.mode)||"ECB").encrypt(e,t,r)},decrypt:function(e,t,r){return s((null==r?void 0:r.mode)||"ECB").decrypt(e,t,r)},encode:function(e,t,r){return s((null==r?void 0:r.mode)||"ECB").encode(e,t,r)},decode:function(e,t,r){return s((null==r?void 0:r.mode)||"ECB").decode(e,t,r)}}),t.default=t._AES_},283:(e,t,r)=>{"use strict";function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.is=c,t.encode=f,t.decode=s,t.encrypt=d,t.decrypt=y;var i=r(917),u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").map((function(e){return e.charCodeAt(0)})),a=function(){for(var e=[],t=0;t<256;t++)e.push(-1);for(var r=0;r<u.length;r++)e[255&u[r]]=r;return e}(),l="=".charCodeAt(0);function c(e){return/^[0-9A-Za-z+/=\r\n]*$/.test(e)}function f(e){return(0,i.fromBytes)(d(e))}function s(e){return(0,i.fromBytes)(y(e))}function d(e){if(null==e)return null;if(""===e)return new Int8Array(0);var t=n((0,i.toBytes)(e));if(0==t.length)return new Int8Array(0);for(var r=parseInt(t.length/3+""),o=t.length%3,a=[],c=0;c<r;c++){var f,s,d,y,p=3*c,v=(255&t[p+0])<<16|(255&t[p+1])<<8|255&t[p+2];f=u[v>>>18&63],s=u[v>>>12&63],d=u[v>>>6&63],y=u[63&v],a.push(f,s,d,y)}var b=3*r;switch(o){case 1:var h,m,g,w,A=(255&t[b])<<4;h=u[A>>>6&63],m=u[63&A],g=l,w=l,a.push(h,m,g,w);break;case 2:var O,_,S,I,P=(255&t[b])<<10|(255&t[b+1])<<2;O=u[P>>>12&63],_=u[P>>>6&63],S=u[63&P],I=l,a.push(O,_,S,I)}return new Int8Array(a)}function y(e){if(null==e)return null;if(""===e)return new Int8Array(0);if("string"==typeof e&&!c(e))throw"Invaid base64 data";var t=n((0,i.toBytes)(e)).filter((function(e){return 13!=e&&10!=e}));if(t.length%4!=0)throw"invaid base64 data length.";t=(t=t.filter((function(e){return 61!=e}))).map((function(e){return a[e]}));for(var r=parseInt(t.length/4+""),o=t.length%4,u=[],l=0;l<r;l++){var f,s,d,y=4*l,p=(255&t[y+0])<<18|(255&t[y+1])<<12|(255&t[y+2])<<6|255&t[y+3];f=(0,i.byte)(p>>16),s=(0,i.byte)(p>>8),d=(0,i.byte)(p),u.push(f,s,d)}var v=4*r;switch(o){case 2:var b=(255&t[v])<<6|255&t[v+1];u.push((0,i.byte)(b>>4));break;case 3:var h=(255&t[v])<<12|(255&t[v+1])<<6|255&t[v+2];u.push((0,i.byte)(h>>10)),u.push((0,i.byte)(h>>2))}return new Int8Array(u)}var p={is:c,encode:f,decode:s,decrypt:y,encrypt:d};t.default=p},917:(e,t)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.toBytes=i,t.fromBytes=u,t.toHex=l,t.fromHex=c,t.byte=a,t.toUint8Array=function(e){return o(e,!0)};var n=function(){for(var e={},t=0;t<10;t++)e[t]=t;for(var r=0;r<=127;r++){var n="";r<10&&(n+="0"),e[n+=r]=r}return e}();function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e)return null;if(e instanceof Int8Array||e instanceof Uint8Array)return e;var r="string"==typeof e;if(Array.isArray(e)){for(var n=0;n<e.length;n++){var o=e[n];if("number"!=typeof o||parseInt(o+"")!=o){r=!0;break}}r&&(e=e.join(""))}for(var i=[],u=0;u<e.length;u++){var a=r?e.codePointAt(u):e[u];a>=65536&&a<=1114111?(i.push(a>>18&7|240),i.push(a>>12&63|128),i.push(a>>6&63|128),i.push(63&a|128),u++):a>=2048&&a<=65535?(i.push(a>>12&15|224),i.push(a>>6&63|128),i.push(63&a|128)):a>=128&&a<=2047?(i.push(a>>6&31|192),i.push(63&a|128)):i.push(255&a)}return t?new Uint8Array(i):new Int8Array(i)}function i(e){return o(e,!1)}function u(e){if(null==e||void 0===e)return null;if("string"==typeof e)return e;for(var t="",r=e,o=0;o<r.length;){var i,u=240&r[o],a=[];switch(i=240<=u&&u<248?4:224<=u&&u<240?3:192<=u&&u<224?2:1){case 4:var l=((7&r[o+n[0]])<<18|(63&r[o+n[1]])<<12|(63&r[o+n[2]])<<6|63&r[o+n[3]])-65536;a=[55296+(l>>10),56320+(1023&l)];break;case 3:a=[(15&r[o+n[0]])<<12|(63&r[o+n[1]])<<6|63&r[o+n[2]]];break;case 2:a=[(7&r[o+n[0]])<<6|63&r[o+n[1]]];break;default:a=[255&r[o+n[0]]]}a.forEach((function(e){return t+=String.fromCharCode(e)})),o+=i}return t}function a(e){return(Number(e)+128&255)-128}function l(e){var t,n=[];return(n="string"==typeof e||"number"==typeof e?i(e+""):e instanceof Int8Array||e instanceof Uint8Array?function(e){if(Array.isArray(e))return r(e)}(t=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}():e)?n.map((function(e){if(e*=1,isNaN(e)||parseInt(e+"")!=e)throw new Error("Invalid byte value");return("00"+(255&e).toString(16)).slice(-2)})).join("").toUpperCase():null}function c(e){for(var t=[],r=0;r<e.length;r+=2){var n=e.slice(r,r+2);if(!/[0-9A-Za-z]/.test(n))throw new Error("Invalid hexadecimal value:"+n+" at pos:"+r);t.push(a(parseInt(n,16)))}return new Int8Array(t)}var f={byte:a,toBytes:i,fromBytes:u,toHex:l,fromHex:c,str2hex:l,hex2str:function(e){return u(c(e))}};t.default=f},550:(e,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,n){return(t=function(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e){return Object.prototype.toString.call(e).slice(8,-1)}function f(e){if(null==e)return!0;var t=e+"";return/^\s+$/.test(t)||0==t.length}function s(e,t){var r=[];return Object.prototype.hasOwnProperty.call(e,t)&&r.push(e[t]),Object.prototype.hasOwnProperty.call(e,"dataValue")&&r.push(e.dataValue),Object.prototype.hasOwnProperty.call(e,"dataKeyItem")&&r.push(e.dataKeyItem),e.values&&"Array"==c(e.values)&&(r=[].concat(u(r),u(e.values))),u(new Set(r.filter((function(e){return null!=e})).map((function(e){return e+""}))))}Object.defineProperty(t,"__esModule",{value:!0});var d={build:function(e,t,r){function n(t){var r=t;return r.eq||(r.eq=function(t){return"Object"==c(t)&&t.dataKeyItem&&(t=t.dataKeyItem||t.dataValue||t),o=t,i=c(n=r),a=c(o),l=-1===["Number","Undefined","Null","Boolean","String"].findIndex((function(e){return e===i})),f=-1===["Number","Undefined","Null","Boolean","String"].findIndex((function(e){return e===a})),d=(l&&n&&Object.prototype.hasOwnProperty.call(n,e)?n[e]:n)+"",y=(f&&o&&Object.prototype.hasOwnProperty.call(o,e)?o[e]:o)+"",p=s(n,e),v=s(o,e),b=[d].concat(u(p)).filter((function(e){return""!==e&&null!=e})).map((function(e){return e+""})),h=[y].concat(u(v)).filter((function(e){return""!==e&&null!=e})).map((function(e){return e+""})),b.filter((function(e){return h.indexOf(e)>-1})).length>0;var n,o,i,a,l,f,d,y,p,v,b,h}),t.values=s(t,e),t}var l=Object.entries(r).map((function(o){var i,u,l=(u=2,function(e){if(Array.isArray(e))return e}(i=o)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,u,a=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return a}}(i,u)||a(i,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=l[0],s=l[1],d=s;f(d.label)&&(d.label=d[t]||""),f(d.value)&&(d.value=d[e]||"");var y=n(s);return r[c]=y,y}));return o(o({},r),{},{list:l,get:function(r){var o,u,a;return l.find((function(e){return e.eq(r)}))||n((o="",u="",a=[],"Object"===c(r)&&(Object.prototype.hasOwnProperty.call(r,t)&&(u=r[t]),!u&&Object.prototype.hasOwnProperty.call(r,"dataName")&&(u=r.dataName),o=0==(a=s(r,e)).length?"":a[0]),i(i({label:u,value:o,vals:a},e,o),t,u)))},getLabel:function(e,r){var n=this.get(e);return n&&n[t]||n.dataName||r}})}};t.default=d},981:(e,t)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.getEnvironments=void 0;var n={NODE_ENV:"production",APP_SECRET_KEY:"prod-preview",appId:null};t.getEnvironments=function(){try{Object.entries(process.env||{}).forEach((function(e){var t,o,i=(o=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,u,a=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return a}}(t,o)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(t,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=i[0],a=i[1];return n[u]=a}))}catch(e){}return n}},690:(e,t)=>{"use strict";function r(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function n(e){for(var t=Array(),r=(1<<u)-1,n=0;n<e.length*u;n+=u)t[n>>5]|=(e.charCodeAt(n/u)&r)<<n%32;return t}function o(e){for(var t=i?"0123456789ABCDEF":"0123456789abcdef",r="",n=0;n<4*e.length;n++)r+=t.charAt(e[n>>2]>>n%4*8+4&15)+t.charAt(e[n>>2]>>n%4*8&15);return r}Object.defineProperty(t,"__esModule",{value:!0});var i=1,u=8,a=32;var l=function(){for(var e={},t=0;t<=127;t++){var r="";t<10&&(r+="0"),e[r+=t]=t}return e}();function c(e,t,n,o,i,u){return r((a=r(r(t,e),r(o,u)))<<(l=i)|a>>>32-l,n);var a,l}function f(e,t,r,n,o,i,u){return c(t&r|~t&n,e,t,o,i,u)}function s(e,t,r,n,o,i,u){return c(t&n|r&~n,e,t,o,i,u)}function d(e,t,r,n,o,i,u){return c(t^r^n,e,t,o,i,u)}function y(e,t,r,n,o,i,u){return c(r^(t|~n),e,t,o,i,u)}function p(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,o=-271733879,i=-1732584194,u=271733878,c=0;c<e.length;c+=16){var p=n,v=o,b=i,h=u;n=f(n,o,i,u,e[c+l["00"]],l["07"],-680876936),u=f(u,n,o,i,e[c+l["01"]],l[12],-389564586),i=f(i,u,n,o,e[c+l["02"]],l[17],606105819),o=f(o,i,u,n,e[c+l["03"]],l[22],-1044525330),n=f(n,o,i,u,e[c+l["04"]],l["07"],-176418897),u=f(u,n,o,i,e[c+l["05"]],l[12],1200080426),i=f(i,u,n,o,e[c+l["06"]],l[17],-1473231341),o=f(o,i,u,n,e[c+l["07"]],l[22],-45705983),n=f(n,o,i,u,e[c+l["08"]],l["07"],1770035416),u=f(u,n,o,i,e[c+l["09"]],l[12],-1958414417),i=f(i,u,n,o,e[c+l[10]],l[17],-42063),o=f(o,i,u,n,e[c+l[11]],l[22],-1990404162),n=f(n,o,i,u,e[c+l[12]],l["07"],1804603682),u=f(u,n,o,i,e[c+l[13]],l[12],-40341101),i=f(i,u,n,o,e[c+l[14]],l[17],-1502002290),n=s(n,o=f(o,i,u,n,e[c+l[15]],l[22],1236535329),i,u,e[c+l["01"]],l["05"],-165796510),u=s(u,n,o,i,e[c+l["06"]],l["09"],-1069501632),i=s(i,u,n,o,e[c+l[11]],l[14],643717713),o=s(o,i,u,n,e[c+l["00"]],l[20],-373897302),n=s(n,o,i,u,e[c+l["05"]],l["05"],-701558691),u=s(u,n,o,i,e[c+l[10]],l["09"],38016083),i=s(i,u,n,o,e[c+l[15]],l[14],-660478335),o=s(o,i,u,n,e[c+l["04"]],l[20],-405537848),n=s(n,o,i,u,e[c+l["09"]],l["05"],568446438),u=s(u,n,o,i,e[c+l[14]],l["09"],-1019803690),i=s(i,u,n,o,e[c+l["03"]],l[14],-187363961),o=s(o,i,u,n,e[c+l["08"]],l[20],1163531501),n=s(n,o,i,u,e[c+l[13]],l["05"],-1444681467),u=s(u,n,o,i,e[c+l["02"]],l["09"],-51403784),i=s(i,u,n,o,e[c+l["07"]],l[14],1735328473),n=d(n,o=s(o,i,u,n,e[c+l[12]],l[20],-1926607734),i,u,e[c+l["05"]],l["04"],-378558),u=d(u,n,o,i,e[c+l["08"]],l[11],-2022574463),i=d(i,u,n,o,e[c+l[11]],l[16],1839030562),o=d(o,i,u,n,e[c+l[14]],l[23],-35309556),n=d(n,o,i,u,e[c+l["01"]],l["04"],-1530992060),u=d(u,n,o,i,e[c+l["04"]],l[11],1272893353),i=d(i,u,n,o,e[c+l["07"]],l[16],-155497632),o=d(o,i,u,n,e[c+l[10]],l[23],-1094730640),n=d(n,o,i,u,e[c+l[13]],l["04"],681279174),u=d(u,n,o,i,e[c+l["00"]],l[11],-358537222),i=d(i,u,n,o,e[c+l["03"]],l[16],-722521979),o=d(o,i,u,n,e[c+l["06"]],l[23],76029189),n=d(n,o,i,u,e[c+l["09"]],l["04"],-640364487),u=d(u,n,o,i,e[c+l[12]],l[11],-421815835),i=d(i,u,n,o,e[c+l[15]],l[16],530742520),n=y(n,o=d(o,i,u,n,e[c+l["02"]],l[23],-995338651),i,u,e[c+l["00"]],l["06"],-198630844),u=y(u,n,o,i,e[c+l["07"]],l[10],1126891415),i=y(i,u,n,o,e[c+l[14]],l[15],-1416354905),o=y(o,i,u,n,e[c+l["05"]],l[21],-57434055),n=y(n,o,i,u,e[c+l[12]],l["06"],1700485571),u=y(u,n,o,i,e[c+l["03"]],l[10],-1894986606),i=y(i,u,n,o,e[c+l[10]],l[15],-1051523),o=y(o,i,u,n,e[c+l["01"]],l[21],-2054922799),n=y(n,o,i,u,e[c+l["08"]],l["06"],1873313359),u=y(u,n,o,i,e[c+l[15]],l[10],-30611744),i=y(i,u,n,o,e[c+l["06"]],l[15],-1560198380),o=y(o,i,u,n,e[c+l[13]],l[21],1309151649),n=y(n,o,i,u,e[c+l["04"]],l["06"],-145523070),u=y(u,n,o,i,e[c+l[11]],l[10],-1120210379),i=y(i,u,n,o,e[c+l["02"]],l[15],718787259),o=y(o,i,u,n,e[c+l["09"]],l[21],-343485551),n=r(n,p),o=r(o,v),i=r(i,b),u=r(u,h)}return 16==a?Array(o,i):Array(n,o,i,u)}var v={encode:function(e){return function(e){if(!(e instanceof String)){if(null===e)return null;if(void 0===e)return;e=""+e}return o(p(n(e),e.length*u))}(e)},hmac_md5:function(e,t){return function(e,t){if(e instanceof String||(e=""+e),!(t instanceof String)){if(null===t)return null;if(void 0===t)return;t=""+t}return o(function(e,t){var r=n(e);r.length>16&&(r=p(r,e.length*u));for(var o=Array(16),i=Array(16),a=0;a<16;a++)o[a]=909522486^r[a],i[a]=1549556828^r[a];var l=p(o.concat(n(t)),512+t.length*u);return p(i.concat(l),640)}(e,t))}(e,t)}};t.default=v},895:(e,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.uuid=g,t.isArrayLike=w,t.isArray=A,t.shuffle=O,t.random=_;var u=/^\s+/,a=/\s+$/,l=/^(?=^.{3,255}$)[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+/,c="0123456789".split(""),f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),s=[].concat(n(c),n(f)),d=function(e){return Object.prototype.toString.call(e).slice(8,-1)},y=function(e){return e.replace(u,"").replace(a,"")},p=function(e){var t=p;t&&t.options||(t.options={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"params",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}});var r=t.options,n={},i=14;if(!e)return r.key.map((function(e){return n[e]=""})),n;for(var u=r.parser[r.strictMode?"strict":"loose"].exec(e);i--;)n[r.key[i]]=u[i]||"";var a=n[r.q.name]={};function l(e){return null==e?null:"true"===(e=decodeURIComponent(e))||"false"===e?"true"===e:e}n[r.key[12]].replace(r.q.parser,(function(e,t,r){t&&(a.hasOwnProperty(t)?Array.isArray(a[t])?a[t].push(r):a[t]=[a[t],r]:a[t]=r)})),Object.entries(a).forEach((function(e){var t,r,n=(r=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,u,a=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return a}}(t,r)||o(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=n[0],u=n[1];a[i]=Array.isArray(u)?u.map((function(e){return l(e)})):l(u)}));var c=n.protocol||"",f=n.host,s=parseInt(n.port);return c&&f&&(n.origin=c+"://"+f+(isNaN(s)?"":":"+s)),n},v=function(e){if(null==e)return{};e+="";for(var t=["?","#","!","&"],r=-1;r<e.length;){var n=e.charAt(++r);if(t.includes(n))break}return r===e.length&&(r=-1),-1!=r&&(e=e.substring(r)),0==e.indexOf("//")&&(e="http:"+e),l.test(e)&&(e="http://"+e),/^\S+:\/\//.test(e)||(e="http://"+(-1==r?"simple.domain?":"")+e),e=e.replace(/^\S+:\/\/[#&!?]/,"http://simple.com?"),p(e).params||{}},b="undefined"!=typeof navigator&&navigator||{userAgent:"",appVersion:""},h=/((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))/g,m=function(e,t,r){var n="Array"==d(e)||e instanceof Array?e:[e],o=r||"children",i=function(e,r,n,u){var a=e[o]||[];t(e,r,n,u),a.forEach((function(t,r){return i(t,e,r,a)}))};return n.forEach((function(e,t){return i(e,null,t,n)})),n};function g(e){var t,r,n=16,o=[];if(n=n||s.length,e)for(t=0;t<e;t++)o[t]=s[0|Math.random()*n];else for(o[8]=o[13]=o[18]=o[23]="-",o[14]="4",t=0;t<36;t++)o[t]||(r=0|16*Math.random(),o[t]=s[19===t?3&r|8:r]);return o.join("")}function w(e){var t=d(e);return null!=e&&"object"===r(e)&&"number"==typeof e.length&&e.length>=0&&e.length%1==0&&e.length<=Math.pow(2,32)-1&&"function"==typeof e[Symbol.iterator]&&"String"!==t}function A(e){return w(e)}function O(e){if(!e||!A(e))return e;for(var t=e.length;t;){var r=Math.floor(Math.random()*t--),n=[e[t],e[r]];e[r]=n[0],e[t]=n[1]}return e}function _(e,t){if(null!=e&&""!==e||(e=1),isNaN(Number(e))||Number(e)<0)return"";var r,o=d(t);if(null==t)o=1;else if("String"===o){var i=y(t);if(0==i.length)return"";1==i.length&&"1"==i||"2"==i||"3"==i?o=parseInt(i):t=i}else if(0==t.length)return"";switch(o){case"String":case"Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Float32Array":case"Float64Array":r=t;break;case 3:O(r=n(f)),O(r),O(r);break;case 2:O(r=n(c)),O(r),O(r);break;default:O(r=n(s)),O(r),O(r)}for(var u=[],a=0;a<e;a++)u.push(r[Math.floor(Math.random()*r.length)]);return u.join("")}var S={buildTree:function(e,t,r,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"parentId",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"children";t=t||"id",r=r||"parentId",n=n||"children";var o=e;"Array"!==d(e)&&(o=[e]);var i={},u=new Set,a=o.filter((function(e){var r=e[t];return!u.has(r)&&(u.add(r),i[r]=e,e[n]=[],e.__level__=1,!0)})).map((function(e){var t=e,n=i[y(t[r])];return t.__isRoot__=!n,n&&n[r].push(t),t})).map((function(e){return 0===e[n].length&&delete e[n],e[r]=y(e[r]),e})).filter((function(e){return 1==e.__isRoot__}));return m(a,(function(e,t,r,n){t&&(e.__level__=t.__level__+1)})),a}(e,t,r,n)},chineseLen:function(e){if(null==e)return 0;for(var t=0,r=(e+="").length,n=0;n<r;n+=1)this.isChinese(e.charAt(n))&&(t+=1);return t},eachTree:function(e,t,r){return m(e,t,r)},findTreeItem:function(e,t,r){return function(e,t,r){r||(r="children");var n=null;return function e(o,i){for(var u=0;u<o.length;u++){var a=o[u];if(null!=n)return n;if(t(a=a||{},i))return n=a,a;var l="Function"==d(r)?r(a):a[r]||[];n=e(l,a)}return n}(e,null),n}(e,t,r)},getAgeFromIDcard:function(e){if(e=((e=(e||"").replace(/^\s+/,""))||"").replace(/\s+$/,""),!this.isIDCard(e))return[];var t=""+e.substr(6,8),r=parseInt(t.substr(0,4)),n=parseInt(t.substr(4,2)),o=parseInt(t.substr(6,2)),i=new Date,u=i.getFullYear()-r,a=i.getMonth()+1-n,l=i.getDate()-o;return l<0&&a--,a<0&&u--,[u<0?0:u,a<0?0:a,l<0?0:l]},getQueryParams:function(e,t){return t=null==t||t,v(e||t&&"undefined"!=typeof location&&location.search||"")},getUrlParam:function(e,t){return this.getQueryParams(e)[t]},getUrlParams:function(e){return this.getQueryParams(e)},isAndroid:function(){var e=b.userAgent;return e.indexOf("Android")>-1||e.indexOf("Adr")>-1},isArray:A,isEmpty:function(e){if(null==e)return!0;switch(d(e)){case"String":return/^\s+$/.test(e);case"Map":case"Set":return 0==e.size;case"Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Float32Array":case"Float64Array":return 0==e.length;default:return!1}},isBlank:function(e){return("String"===d(e)||null==e)&&/^\s+$/.test(e)},isChinese:function(e){var t=/^[\u4E00-\u9FA5\u3400-\u4DB5\u9FA6-\u9FBB\uF900-\uFA2D\uFA30-\uFA6A\uFA70-\uFAD9]$/;if(e&&e.length>1)for(var r=0;r<e.length;r+=1)if(!t.test(e.charAt(r)))return!1;return t.test(e)},isFunction:function(e){return"Function"==d(e)||e&&e instanceof Function},isUrl:function(e){return!!p(e).protocol},isHttp:function(e){var t=p(e).protocol||"";return/^http:?/.test(t.toLowerCase())},isHttps:function(e){var t=p(e).protocol||"";return/^https?:?/.test(t.toLowerCase())},isIDCard:function(e){if(!(e=(e||"").replace(/^\s+/,"").replace(/\s+$/,""))||!/^\d+$/.test(e))return!1;var t,r=e.split("");if(null==={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门",91:"国外"}[parseInt(e.substr(0,2))])return!1;if(18===e.length){var n=parseInt(e.substr(6,4));return!!(n%4==0||n%100==0&&n%4==0?/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}[0-9Xx]$/:/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}[0-9Xx]$/).test(e)&&(t=7*(parseInt(r[0])+parseInt(r[10]))+9*(parseInt(r[1])+parseInt(r[11]))+10*(parseInt(r[2])+parseInt(r[12]))+5*(parseInt(r[3])+parseInt(r[13]))+8*(parseInt(r[4])+parseInt(r[14]))+4*(parseInt(r[5])+parseInt(r[15]))+2*(parseInt(r[6])+parseInt(r[16]))+parseInt(r[7])+6*parseInt(r[8])+3*parseInt(r[9]),"10X98765432".substr(t%11,1)==r[17].toUpperCase())}return!1},isIPv6:function(e){return h.test(e)},isIPv4:function(e){var t=/^[0-9]{1,3}$/;return-1==(e+"").split(".").findIndex((function(e){return!t.test(e)||parseInt(e)>255}))},isIP:function(e){return this.isIPv4(e)||this.isIPv6(e)},isLeapYear:function(e){var t=Number(e);return t%4==0&&(t%100!=0||t%400==0)},isMobile:function(e){return/^(\+?86)1[1-9]\d{9}$/.test(y(e))},isScript:function(e){for(var t=!1,r="<|>|script|alert|{|}|#|$|'|\"|:|;|&|*|@|@|%|^|?".split("|"),n=0;n<r.length;n+=1)if(-1!==e.indexOf(r[n])){t=!0;break}return t},isString:function(e){return null!=e&&0!==e&&(e instanceof String||"String"===d(e))},parseQuery:function(e){return v(e)},parseUri:function(e){return p(e)},shuffle:O,treeToArray:function(e,t,r){return function(e,t,r){var n="Array"==d(e)||e instanceof Array?e:[e],o=[],i=t||"children",u=function(e){o.push(e),(e[i]||[]).forEach((function(e){return u(e)})),r&&delete e[i]};return n.forEach(u),o}(e,t,r)},trim:function(e,t){if(null==e)return"";if(!this.isString(e))return e;switch(t){case 1:return e.replace(u,"");case 2:return e.replace(a,"");default:return y(e)}},type:function(e){return d(e)},uuid:function(){return g(32)},random:_,page:function(e,t,r){if(!Array.isArray(e)||0===e.length)return[];if(isNaN(Number(t))||parseInt(Number(t)+"")<=1)return[n(e)];t=parseInt(Number(t)+"");for(var o=[],i=[],u=0;u<e.length;u++){var a=e[u];u%t==0&&i.length>0&&(o.push(i),i=[]),i.push(a)}if(o.push(i),null==r)return o;if(r=parseInt(Number(r)+""),isNaN(r))return[];var l=o[r-1];return l?[l]:[]}};t.default=S},916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(320),o={getIPs:function(e){var t=/((2[0-9]{2}|[0-1]?[0-9]{1,2})\.){3}(2[0-9]{2}|[0-1]?[0-9]{1,2})/,r=/((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))/g;function o(e){return t.test(e)}function i(e){return e.match(/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/)}return new Promise((function(u,a){var l,c,f,s={public:[],private:[]};try{var d={},y=0,p=function(e){return d[e]=!0},v=(l=function(e){var n=t.exec(e)||r.exec(e),o=n&&n[0]||!1;o&&(p(o),y=1)},c=null,{isBrowser:!!(f="undefined"!=typeof window&&(window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection)),start:function(){f&&((c=new f({iceServers:[{urls:"stun:stun.services.mozilla.com"},{urls:"stun:stun.l.google.com:19302"},{urls:"stun:stun.minisipserver.com:3478"},{urls:"stun:stun.voipbuster.com:3478"},{urls:"stun:stun.sipgate.net:3478"},{urls:"stun:stun.callwithus.com:3478"},{urls:"stun:stun.internetcalls.com:3478"}]},{optional:[{RtpDataChannels:!0}]})).onicecandidate=function(e){e&&e.candidate&&e.candidate.candidate&&l(e.candidate.candidate)},c&&(c.createDataChannel("fake_data_channel_"+Math.random()),c.createOffer().then((function(e){return c.setLocalDescription(e)}))))},stop:function(){if(c)try{c.close()}catch(e){console.warn(e)}finally{c.onicecandidate=function(){},c=null}}}),b=!1,h=new Promise((function(e){return new Promise((function(e,t){var r=0,o=-1,i=function(t){clearTimeout(r),r=0,-1===o&&e(o=t);try{null.end(),null.destroy()}catch(e){}};try{var u=n.createConnection(80,"www.baidu.com");r=setTimeout((function(){return i(0)}),5e3),u.on("connect",(function(){r&&i(u.address().address)})),u.on("error",(function(){return i(0)})),u.on("disconnect",(function(){return i(0)}))}catch(e){i(0),t(e)}})).then((function(t){b=!0,t&&p(t),e(s)})).catch((function(){b=!0,e(s)}))})),m=0,g=0,w=0,A=Number(e),O=e&&!isNaN(A)&&A>100&&A||500,_=function(){for(var e in d){var t=o(e),n=i(e);(i(e)?s.private:s.public).push({ip:e,IPv4:t,type:n?"private":r.test(e)?"IPv6":"public"})}u(s)},S=function(){return clearInterval(m),v.stop(),b?_():h.then(_)};if(!v.isBrowser)return S();v.start(),m=setInterval((function(){if(w+=100,y){if(g||(w=0,O=500),g++,w>=100)return S()}else if(w>O)return S()}),100)}catch(e){return a(e)}}))}};t.default=o},320:(e,t,r)=>{var n=r(320);for(k in n)r.g[k]=n[k]},330:e=>{"use strict";e.exports=JSON.parse('{"name":"gzjs-utils","version":"1.0.3","description":"smart js utils","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"dev":"npx webpack serve","build":"cross-env NODE_ENV=production webpack","test":""},"repository":{"type":"git","url":"https://gitee.com/xiyuan-lgz/gzjs-utils.git"},"keywords":["js-utils","util","AES","Base64","MD5","Hexs","Bytes"],"author":"xiyuan-lgz","license":"ISC","devDependencies":{"@babel/core":"^7.25.2","@babel/preset-env":"^7.25.3","babel-loader":"^9.1.3","clean-webpack-plugin":"^4.0.0","copy-webpack-plugin":"^12.0.2","cross-env":"^7.0.3","fs-extra":"^11.2.0","html-webpack-plugin":"^5.6.0","ts-loader":"^9.5.1","typescript":"^5.5.4","webpack":"^5.93.0","webpack-cli":"^5.1.4","webpack-dev-server":"^5.0.4"},"dependencies":{"crypto-browserify":"^3.12.0","dotenv":"^16.4.5","net":"^1.0.2","path-browserify":"^1.0.1"}}')}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var n=r(124);return n.default})()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gzjs-utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "smart js utils",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "types/index.d.ts",
|
|
@@ -15,7 +15,12 @@
|
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"js-utils",
|
|
18
|
-
"util"
|
|
18
|
+
"util",
|
|
19
|
+
"AES",
|
|
20
|
+
"Base64",
|
|
21
|
+
"MD5",
|
|
22
|
+
"Hexs",
|
|
23
|
+
"Bytes"
|
|
19
24
|
],
|
|
20
25
|
"author": "xiyuan-lgz",
|
|
21
26
|
"license": "ISC"
|
package/types/index.d.ts
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
+
import { Utils } from "./utils/Utils";
|
|
2
|
+
import { WebRTCIP } from "./utils/WebRTCIP";
|
|
1
3
|
import { Bytes } from "./utils/Bytes";
|
|
2
4
|
import { Base64 } from "./utils/Base64";
|
|
3
|
-
import { Utils } from "./utils/Utils";
|
|
4
5
|
import { MD5 } from "./utils/MD5";
|
|
5
|
-
import { WebRTCIP } from "./utils/WebRTCIP";
|
|
6
6
|
import { Env } from "./utils/Env";
|
|
7
|
-
|
|
7
|
+
import EnumBuilder from "./utils/EnumBuilder";
|
|
8
|
+
import { AES } from "./utils/AES";
|
|
9
|
+
export type GzjsUtils = Utils & WebRTCIP & {
|
|
8
10
|
Bytes: Bytes;
|
|
9
11
|
Base64: Base64;
|
|
10
12
|
Utils: Utils;
|
|
11
13
|
MD5: MD5;
|
|
14
|
+
AES: AES;
|
|
15
|
+
EnumBuilder: typeof EnumBuilder;
|
|
12
16
|
getEnvironments(): Env;
|
|
17
|
+
version: string;
|
|
13
18
|
};
|
|
14
|
-
declare const
|
|
15
|
-
export default
|
|
19
|
+
declare const JsUtils: GzjsUtils;
|
|
20
|
+
export default JsUtils;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Options } from "./types/AesType";
|
|
2
|
+
declare const provders: {
|
|
3
|
+
ECB: {
|
|
4
|
+
/**
|
|
5
|
+
* ECB 模式 加密
|
|
6
|
+
* @param key 加密密钥
|
|
7
|
+
* @param plaintext 待加密的数据内容
|
|
8
|
+
* @param opts
|
|
9
|
+
*/
|
|
10
|
+
encrypt(key: string, plaintext: Uint8Array | Int8Array, opts?: Pick<Options, "padding">): Uint8Array;
|
|
11
|
+
decrypt(key: string, ciphertext: Uint8Array | Int8Array, opts?: Pick<Options, "padding">): Uint8Array;
|
|
12
|
+
encode(key: string, plaintext: string, opts?: Pick<Options, "padding">): Uint8Array;
|
|
13
|
+
decode(key: string, ciphertext: string, opts?: Pick<Options, "padding">): string;
|
|
14
|
+
};
|
|
15
|
+
CBC: {
|
|
16
|
+
encrypt(key: string, plaintext: Uint8Array | Int8Array, opts?: Pick<Options, "padding" | "iv">): Uint8Array;
|
|
17
|
+
decrypt(key: string, ciphertext: Uint8Array | Int8Array, opts?: Pick<Options, "padding" | "iv">): Uint8Array;
|
|
18
|
+
encode(key: string, plaintext: string, opts?: Pick<Options, "padding" | "iv">): Uint8Array;
|
|
19
|
+
decode(key: string, ciphertext: string, opts?: Pick<Options, "padding" | "iv">): string;
|
|
20
|
+
};
|
|
21
|
+
CFB: {
|
|
22
|
+
encrypt(key: string, plaintext: Uint8Array | Int8Array, opts?: Pick<Options, "padding" | "iv" | "segmentSize">): Uint8Array;
|
|
23
|
+
decrypt(key: string, ciphertext: Uint8Array | Int8Array, opts?: Pick<Options, "padding" | "iv" | "segmentSize">): Uint8Array;
|
|
24
|
+
encode(key: string, plaintext: string, opts?: Pick<Options, "padding" | "iv" | "segmentSize">): Uint8Array;
|
|
25
|
+
decode(key: string, ciphertext: string, opts?: Pick<Options, "padding" | "iv" | "segmentSize">): string;
|
|
26
|
+
};
|
|
27
|
+
OFB: {
|
|
28
|
+
encrypt(key: string, plaintext: Uint8Array | Int8Array, opts?: Pick<Options, "padding" | "iv">): Uint8Array;
|
|
29
|
+
decrypt(key: string, ciphertext: Uint8Array | Int8Array, opts?: Pick<Options, "padding" | "iv">): Uint8Array;
|
|
30
|
+
encode(key: string, plaintext: string, opts?: Pick<Options, "padding" | "iv">): Uint8Array;
|
|
31
|
+
decode(key: string, ciphertext: string, opts?: Pick<Options, "padding" | "iv">): string;
|
|
32
|
+
};
|
|
33
|
+
CTR: {
|
|
34
|
+
encrypt(key: string, plaintext: Uint8Array | Int8Array, opts?: Pick<Options, "padding" | "iv">): Uint8Array;
|
|
35
|
+
decrypt(key: string, ciphertext: Uint8Array | Int8Array, opts?: Pick<Options, "padding" | "iv">): Uint8Array;
|
|
36
|
+
encode(key: string, plaintext: string, opts?: Pick<Options, "padding" | "iv">): Uint8Array;
|
|
37
|
+
decode(key: string, ciphertext: string, opts?: Pick<Options, "padding" | "iv">): string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export type Mode = keyof typeof provders | string;
|
|
41
|
+
/**
|
|
42
|
+
* AES 加解密函数, 默认使用 ECB模式,
|
|
43
|
+
*
|
|
44
|
+
* A pure JavaScript implementation of the AES block cipher algorithm and all common modes of operation (CBC, CFB, CTR, ECB and OFB).
|
|
45
|
+
* Features --------
|
|
46
|
+
*
|
|
47
|
+
* <ul>
|
|
48
|
+
* <li>Pure JavaScript (with no dependencies)</li>
|
|
49
|
+
* <li>Supports all key sizes (128-bit, 192-bit and 256-bit)</li>
|
|
50
|
+
* <li>Supports all common modes of operation (CBC, CFB, CTR, ECB and OFB)</li>
|
|
51
|
+
* <li>Works in either node.js or web browsers</li>
|
|
52
|
+
* </ul>
|
|
53
|
+
*
|
|
54
|
+
* <h1>API</h1>
|
|
55
|
+
* <strong>Node.js</strong>
|
|
56
|
+
* <span>To install <code>gzjs-utils</code> in your node.js project:</span>
|
|
57
|
+
* <pre>npm install gzjs-utils</pre>
|
|
58
|
+
*
|
|
59
|
+
* 通用用法 为 <code>浏览器引入js 后 会注册全局变量JsUtils</code>
|
|
60
|
+
* <pre>
|
|
61
|
+
* const JsUtils = require('gzjs-utils');
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
* const iv = "<IV>" // iv must 16 bytes
|
|
65
|
+
* const key = "<aesKey>"; // keys must be 128 bits (16 bytes), 192 bits (24 bytes) or 256 bits (32 bytes)
|
|
66
|
+
* const mode = '<mode>' // ECB,CBC, CFB,OFB,CTR
|
|
67
|
+
* const padding = "PKCS#7" // 填充方式, PKCS#7 | PKCS#5 | NoPadding
|
|
68
|
+
* const plaintext = '<plaintext>';
|
|
69
|
+
* const ciphertext = '<plaintext>';
|
|
70
|
+
*
|
|
71
|
+
* JsUtils.AES.encode(key, <plaintext>, {mode: <mode>, iv: <iv>, padding: <padding>}); // return hex string
|
|
72
|
+
* JsUtils.AES.encrypt(key, <plaintext>, {mode: <mode>, iv: <iv>, padding: <padding>}); // return Uint8Array
|
|
73
|
+
*
|
|
74
|
+
* JsUtils.AES.decode(key, <ciphertext>, {mode: <mode>, iv: <iv>, padding: <padding>}); // return plaintext
|
|
75
|
+
* JsUtils.AES.decrypt(key, <ciphertext>, {mode: <mode>, iv: <iv>, padding: <padding>}); // return plaintext as Uint8Array
|
|
76
|
+
*
|
|
77
|
+
* </pre>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export type AES = typeof provders & {
|
|
81
|
+
/**
|
|
82
|
+
* 获取允许的加密模式
|
|
83
|
+
*/
|
|
84
|
+
modes(): string[];
|
|
85
|
+
/**
|
|
86
|
+
* 加密函数
|
|
87
|
+
* @param text 待加密内容
|
|
88
|
+
* @param key 加密密钥
|
|
89
|
+
* @param opts 加密套件参数
|
|
90
|
+
* @return 返回 Uint8Array 数据数组
|
|
91
|
+
*/
|
|
92
|
+
encrypt(text: string, key: string, opts?: Options & {
|
|
93
|
+
mode?: Mode;
|
|
94
|
+
}): Uint8Array;
|
|
95
|
+
/**
|
|
96
|
+
* 解密
|
|
97
|
+
* @param text 加密的内容 hex内容格式
|
|
98
|
+
* @param key 解密密钥
|
|
99
|
+
* @param opts 加密套件参数
|
|
100
|
+
* @return 返回 Uint8Array 数据数组
|
|
101
|
+
*/
|
|
102
|
+
decrypt(text: string, key: string, opts?: Options & {
|
|
103
|
+
mode?: Mode;
|
|
104
|
+
}): Uint8Array;
|
|
105
|
+
/**
|
|
106
|
+
* 加密密钥
|
|
107
|
+
* @param text 待加密内容
|
|
108
|
+
* @param key 加密密钥
|
|
109
|
+
* @param opts 加密套件参数
|
|
110
|
+
* @return 加密后的 hex 内容
|
|
111
|
+
*/
|
|
112
|
+
encode(text: string, key: string, opts?: Options & {
|
|
113
|
+
mode?: Mode;
|
|
114
|
+
}): string;
|
|
115
|
+
/**
|
|
116
|
+
* 解密
|
|
117
|
+
* @param text 加密的内容 hex内容格式
|
|
118
|
+
* @param key 解密密钥
|
|
119
|
+
* @param opts 加密套件参数
|
|
120
|
+
* @return 解密后的字符串
|
|
121
|
+
*/
|
|
122
|
+
decode(text: string, key: string, opts?: Options & {
|
|
123
|
+
mode?: Mode;
|
|
124
|
+
}): string;
|
|
125
|
+
};
|
|
126
|
+
export type Opts = Options & {
|
|
127
|
+
/**
|
|
128
|
+
* 加密模式
|
|
129
|
+
*/
|
|
130
|
+
mode?: Mode;
|
|
131
|
+
};
|
|
132
|
+
export declare const _AES_: AES;
|
|
133
|
+
export default _AES_;
|
package/types/utils/Base64.d.ts
CHANGED
|
@@ -14,6 +14,16 @@ export interface Base64 {
|
|
|
14
14
|
* @param input 待解密内容
|
|
15
15
|
*/
|
|
16
16
|
decode(input: any): string | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* 加密数据
|
|
19
|
+
* @param input
|
|
20
|
+
*/
|
|
21
|
+
encrypt(input: any): Int8Array;
|
|
22
|
+
/**
|
|
23
|
+
* 解密数据
|
|
24
|
+
* @param input
|
|
25
|
+
*/
|
|
26
|
+
decrypt(input: any): Int8Array;
|
|
17
27
|
}
|
|
18
28
|
/**
|
|
19
29
|
* 判断是否为base64 内容
|
|
@@ -29,6 +39,8 @@ export declare function encode(input: any): string;
|
|
|
29
39
|
* base64 解密
|
|
30
40
|
* @param input 待解密内容
|
|
31
41
|
*/
|
|
32
|
-
export declare function decode(input: any):
|
|
42
|
+
export declare function decode(input: any): string;
|
|
43
|
+
export declare function encrypt(input: any): Int8Array;
|
|
44
|
+
export declare function decrypt(input: any): Int8Array;
|
|
33
45
|
declare const _Base64_: Base64;
|
|
34
46
|
export default _Base64_;
|
package/types/utils/Bytes.d.ts
CHANGED
|
@@ -54,12 +54,17 @@ declare function byte(num: string | number): number;
|
|
|
54
54
|
* 字符串转 16进制字符串
|
|
55
55
|
* @param str 字符串
|
|
56
56
|
*/
|
|
57
|
-
declare function toHex(str: string):
|
|
57
|
+
declare function toHex(str: string | number[] | Int8Array | Uint8Array): any;
|
|
58
58
|
/**
|
|
59
59
|
* 将十六进制字符串 转化为 Int8Array
|
|
60
60
|
* @param hexs
|
|
61
61
|
*/
|
|
62
62
|
declare function fromHex(hexs: string): Int8Array;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @param str
|
|
66
|
+
*/
|
|
67
|
+
declare function toUint8Array(str: string): Uint8Array;
|
|
63
68
|
declare const _Bytes_: Bytes;
|
|
64
|
-
export { toBytes, fromBytes, toHex, fromHex, byte };
|
|
69
|
+
export { toBytes, fromBytes, toHex, fromHex, byte, toUint8Array };
|
|
65
70
|
export default _Bytes_;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EnumItem } from "./types/Global";
|
|
2
|
+
type SimpleType = string | number | undefined | null;
|
|
3
|
+
interface ET extends EnumItem {
|
|
4
|
+
}
|
|
5
|
+
type ExtType = {
|
|
6
|
+
eq?(val: SimpleType | ET | any): boolean;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* 构建并返回传入的对象
|
|
10
|
+
* @param valueField
|
|
11
|
+
* @param textField
|
|
12
|
+
* @param obj
|
|
13
|
+
*/
|
|
14
|
+
declare function build<KT extends string, ES>(valueField: KT, textField: KT, obj: ES): { [K in keyof ES]: ES[K] & ET & Required<ExtType>; } & {
|
|
15
|
+
/**
|
|
16
|
+
* 获取枚举项
|
|
17
|
+
* @param key
|
|
18
|
+
*/
|
|
19
|
+
get<K_1 = { [k in keyof ES]: ES[k]; }>(key: K_1 | string | number): ES[keyof ES] & ET & Required<ExtType>;
|
|
20
|
+
/**
|
|
21
|
+
* 枚举列表
|
|
22
|
+
*/
|
|
23
|
+
list: ES[keyof ES] & ET & Required<ExtType>[];
|
|
24
|
+
/**
|
|
25
|
+
* 获取枚举名称
|
|
26
|
+
* @param value 枚举项名称或者 枚举类对象
|
|
27
|
+
* @param defaultValue 默认值
|
|
28
|
+
*/
|
|
29
|
+
getLabel(value: SimpleType | (ES[keyof ES] & ET & Required<ExtType>), defaultValue?: string): string;
|
|
30
|
+
};
|
|
31
|
+
declare const EnumBuilder: {
|
|
32
|
+
build: typeof build;
|
|
33
|
+
};
|
|
34
|
+
export default EnumBuilder;
|
package/types/utils/Env.d.ts
CHANGED
|
@@ -1,33 +1,2 @@
|
|
|
1
1
|
export type Env = NodeJS.ProcessEnv;
|
|
2
2
|
export declare const getEnvironments: () => Env;
|
|
3
|
-
export interface EnumItem {
|
|
4
|
-
/**
|
|
5
|
-
* 枚举项编码,默认枚举值
|
|
6
|
-
*/
|
|
7
|
-
value: string | number;
|
|
8
|
-
/**
|
|
9
|
-
* 枚举项名称
|
|
10
|
-
*/
|
|
11
|
-
label: string;
|
|
12
|
-
/**
|
|
13
|
-
* 枚举项描述
|
|
14
|
-
*/
|
|
15
|
-
desc?: string;
|
|
16
|
-
/**
|
|
17
|
-
* 比较是否相等,
|
|
18
|
-
* @param val
|
|
19
|
-
*/
|
|
20
|
-
eq?: (val: any | string) => boolean;
|
|
21
|
-
/**
|
|
22
|
-
* 扩展值
|
|
23
|
-
*/
|
|
24
|
-
vals?: (string | number)[];
|
|
25
|
-
/**
|
|
26
|
-
* 文字颜色值
|
|
27
|
-
*/
|
|
28
|
-
color?: string;
|
|
29
|
-
/**
|
|
30
|
-
* 背景颜色
|
|
31
|
-
*/
|
|
32
|
-
bgColor?: string;
|
|
33
|
-
}
|
package/types/utils/Utils.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export type URI = {
|
|
|
50
50
|
[key: string]: string | boolean | any[] | "";
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
|
+
export type RandomTypeOrSource = 1 | 2 | 3 | (number | string)[] | string;
|
|
53
54
|
export declare type Utils = {
|
|
54
55
|
/**
|
|
55
56
|
* 获取对象类型;
|
|
@@ -96,12 +97,7 @@ export declare type Utils = {
|
|
|
96
97
|
* 生成UUID
|
|
97
98
|
*/
|
|
98
99
|
uuid(): string;
|
|
99
|
-
|
|
100
|
-
* 获取随机数, 默认 字母+数组
|
|
101
|
-
* @param len 随机数长度
|
|
102
|
-
* @param typeOrSource 随机数类型:1=字母+数字, 2=数字 , 3=字母,或者数据元
|
|
103
|
-
*/
|
|
104
|
-
random(len?: number, typeOrSource?: 1 | 2 | 3 | (number | string)[] | string): string;
|
|
100
|
+
random: typeof random;
|
|
105
101
|
/**
|
|
106
102
|
* 数据进行分页
|
|
107
103
|
* <pre>
|
|
@@ -253,6 +249,19 @@ export declare type Utils = {
|
|
|
253
249
|
*/
|
|
254
250
|
findTreeItem<T>(treeList: T[], filter: (c: T, p: T | null) => boolean, childrenKey?: string | ((c: T) => T[])): T | null;
|
|
255
251
|
};
|
|
252
|
+
/**
|
|
253
|
+
* 随机生成UUID
|
|
254
|
+
* @param len 长度
|
|
255
|
+
*/
|
|
256
256
|
export declare function uuid(len: number): string;
|
|
257
|
+
export declare function isArrayLike(obj: any): boolean;
|
|
258
|
+
export declare function isArray(obj: any): boolean;
|
|
259
|
+
export declare function shuffle<T>(arr: any): any;
|
|
260
|
+
/**
|
|
261
|
+
* 获取随机数, 默认 字母+数组
|
|
262
|
+
* @param len 随机数长度
|
|
263
|
+
* @param typeOrSource 随机数类型:1=字母+数字, 2=数字 , 3=字母,或者自定义数据源
|
|
264
|
+
*/
|
|
265
|
+
export declare function random(len?: number, typeOrSource?: RandomTypeOrSource): string;
|
|
257
266
|
declare const _Utils_: Utils;
|
|
258
267
|
export default _Utils_;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type IV = number[] | string | Uint8Array | Int8Array;
|
|
2
|
+
export type Options = {
|
|
3
|
+
/**
|
|
4
|
+
* 填充方式 pck7padding
|
|
5
|
+
*/
|
|
6
|
+
padding?: string | "PKCS#5" | "PKCS#7" | "NoPadding" | "PKCS5Padding" | "PKCS7Padding" | "pkcs5padding" | "pkcs7padding";
|
|
7
|
+
/**
|
|
8
|
+
* 16 bytes iv
|
|
9
|
+
*/
|
|
10
|
+
iv?: IV;
|
|
11
|
+
/**
|
|
12
|
+
* 分段大小
|
|
13
|
+
*/
|
|
14
|
+
segmentSize?: number;
|
|
15
|
+
/**
|
|
16
|
+
* CTR 模式参数 向量初始值
|
|
17
|
+
*/
|
|
18
|
+
count?: IV | number;
|
|
19
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export type PageParam = {
|
|
2
|
+
pageNo: number | 1;
|
|
3
|
+
pageSize: number | 10;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* 枚举项
|
|
7
|
+
*/
|
|
8
|
+
export interface EnumItem {
|
|
9
|
+
/**
|
|
10
|
+
* 枚举项名称
|
|
11
|
+
*/
|
|
12
|
+
label: string;
|
|
13
|
+
/**
|
|
14
|
+
* 枚举项描述
|
|
15
|
+
*/
|
|
16
|
+
desc?: string;
|
|
17
|
+
/**
|
|
18
|
+
* 枚举项编码,默认枚举值
|
|
19
|
+
*/
|
|
20
|
+
value: string | number;
|
|
21
|
+
/**
|
|
22
|
+
* 扩展值
|
|
23
|
+
*/
|
|
24
|
+
values?: (string | number)[];
|
|
25
|
+
/**
|
|
26
|
+
* 比较是否相等,
|
|
27
|
+
* @param val
|
|
28
|
+
*/
|
|
29
|
+
eq?: (val: any | string) => boolean;
|
|
30
|
+
/**
|
|
31
|
+
* 文字颜色值
|
|
32
|
+
*/
|
|
33
|
+
color?: string;
|
|
34
|
+
/**
|
|
35
|
+
* 背景颜色
|
|
36
|
+
*/
|
|
37
|
+
bgColor?: string;
|
|
38
|
+
}
|