ai-assistant-pro 0.0.7 → 0.0.8
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/components/demo/api/index.js +27 -3
- package/components/demo/src/chat-tools.vue +17 -2
- package/components/demo/src/chat.vue +117 -27
- package/components/demo/src/hot-search.vue +41 -18
- package/components/demo/src/main.vue +20 -3
- package/components/demo/utils/config.js +16 -11
- package/components/demo/utils/request.js +10 -8
- package/dist/ai-assistant-pro.common.js +485 -296
- package/dist/ai-assistant-pro.common.js.map +1 -1
- package/dist/ai-assistant-pro.css +1 -1
- package/dist/ai-assistant-pro.umd.js +485 -296
- package/dist/ai-assistant-pro.umd.js.map +1 -1
- package/dist/ai-assistant-pro.umd.min.js +4 -4
- package/dist/ai-assistant-pro.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("element-ui")):"function"===typeof define&&define.amd?define(["element-ui"],t):"object"===typeof exports?exports["ai-assistant-pro"]=t(require("element-ui")):e["ai-assistant-pro"]=t(e["element-ui"])})("undefined"!==typeof self?self:this,(function(e){return function(){var t={955:function(e,t,n){(function(t,r){e.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.BlockCipher,o=t.algo,i=[],s=[],a=[],c=[],l=[],u=[],h=[],f=[],d=[],p=[];(function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var o=r^r<<1^r<<2^r<<3^r<<4;o=o>>>8^255&o^99,i[n]=o,s[o]=n;var g=e[n],m=e[g],y=e[m],v=257*e[o]^16843008*o;a[n]=v<<24|v>>>8,c[n]=v<<16|v>>>16,l[n]=v<<8|v>>>24,u[n]=v;v=16843009*y^65537*m^257*g^16843008*n;h[o]=v<<24|v>>>8,f[o]=v<<16|v>>>16,d[o]=v<<8|v>>>24,p[o]=v,n?(n=g^e[e[e[y^g]]],r^=e[e[r]]):n=r=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],m=o.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=this._nRounds=n+6,o=4*(r+1),s=this._keySchedule=[],a=0;a<o;a++)a<n?s[a]=t[a]:(u=s[a-1],a%n?n>6&&a%n==4&&(u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u]):(u=u<<8|u>>>24,u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u],u^=g[a/n|0]<<24),s[a]=s[a-n]^u);for(var c=this._invKeySchedule=[],l=0;l<o;l++){a=o-l;if(l%4)var u=s[a];else u=s[a-4];c[l]=l<4||a<=4?u:h[i[u>>>24]]^f[i[u>>>16&255]]^d[i[u>>>8&255]]^p[i[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,c,l,u,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,h,f,d,p,s);n=e[t+1];e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,s,a){for(var c=this._nRounds,l=e[t]^n[0],u=e[t+1]^n[1],h=e[t+2]^n[2],f=e[t+3]^n[3],d=4,p=1;p<c;p++){var g=r[l>>>24]^o[u>>>16&255]^i[h>>>8&255]^s[255&f]^n[d++],m=r[u>>>24]^o[h>>>16&255]^i[f>>>8&255]^s[255&l]^n[d++],y=r[h>>>24]^o[f>>>16&255]^i[l>>>8&255]^s[255&u]^n[d++],v=r[f>>>24]^o[l>>>16&255]^i[u>>>8&255]^s[255&h]^n[d++];l=g,u=m,h=y,f=v}g=(a[l>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&f])^n[d++],m=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[f>>>8&255]<<8|a[255&l])^n[d++],y=(a[h>>>24]<<24|a[f>>>16&255]<<16|a[l>>>8&255]<<8|a[255&u])^n[d++],v=(a[f>>>24]<<24|a[l>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^n[d++];e[t]=g,e[t+1]=m,e[t+2]=y,e[t+3]=v},keySize:8});t.AES=r._createHelper(m)}(),e.AES}))},128:function(e,t,n){(function(t,r){e.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.BlockCipher,o=t.algo;const i=16,s=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],a=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function l(e,t){let n=t>>24&255,r=t>>16&255,o=t>>8&255,i=255&t,s=e.sbox[0][n]+e.sbox[1][r];return s^=e.sbox[2][o],s+=e.sbox[3][i],s}function u(e,t,n){let r,o=t,s=n;for(let a=0;a<i;++a)o^=e.pbox[a],s=l(e,o)^s,r=o,o=s,s=r;return r=o,o=s,s=r,s^=e.pbox[i],o^=e.pbox[i+1],{left:o,right:s}}function h(e,t,n){let r,o=t,s=n;for(let a=i+1;a>1;--a)o^=e.pbox[a],s=l(e,o)^s,r=o,o=s,s=r;return r=o,o=s,s=r,s^=e.pbox[1],o^=e.pbox[0],{left:o,right:s}}function f(e,t,n){for(let i=0;i<4;i++){e.sbox[i]=[];for(let t=0;t<256;t++)e.sbox[i][t]=a[i][t]}let r=0;for(let a=0;a<i+2;a++)e.pbox[a]=s[a]^t[r],r++,r>=n&&(r=0);let o=0,c=0,l=0;for(let s=0;s<i+2;s+=2)l=u(e,o,c),o=l.left,c=l.right,e.pbox[s]=o,e.pbox[s+1]=c;for(let i=0;i<4;i++)for(let t=0;t<256;t+=2)l=u(e,o,c),o=l.left,c=l.right,e.sbox[i][t]=o,e.sbox[i][t+1]=c;return!0}var d=o.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4;f(c,t,n)}},encryptBlock:function(e,t){var n=u(c,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},decryptBlock:function(e,t){var n=h(c,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(d)}(),e.Blowfish}))},165:function(e,t,n){(function(t,r){e.exports=r(n(21),n(506))})(0,(function(e){e.lib.Cipher||function(t){var n=e,r=n.lib,o=r.Base,i=r.WordArray,s=r.BufferedBlockAlgorithm,a=n.enc,c=(a.Utf8,a.Base64),l=n.algo,u=l.EvpKDF,h=r.Cipher=s.extend({cfg:o.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?_:w}return function(t){return{encrypt:function(n,r,o){return e(r).encrypt(t,n,r,o)},decrypt:function(n,r,o){return e(r).decrypt(t,n,r,o)}}}}()}),f=(r.StreamCipher=h.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),n.mode={}),d=r.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=f.CBC=function(){var e=d.extend();function n(e,n,r){var o,i=this._iv;i?(o=i,this._iv=t):o=this._prevBlock;for(var s=0;s<r;s++)e[n+s]^=o[s]}return e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize;n.call(this,e,t,o),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+o)}}),e.Decryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=e.slice(t,t+o);r.decryptBlock(e,t),n.call(this,e,t,o),this._prevBlock=i}}),e}(),g=n.pad={},m=g.Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,o=r<<24|r<<16|r<<8|r,s=[],a=0;a<r;a+=4)s.push(o);var c=i.create(s,r);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},y=(r.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:m}),reset:function(){var e;h.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),v=n.format={},A=v.OpenSSL={stringify:function(e){var t,n=e.ciphertext,r=e.salt;return t=r?i.create([1398893684,1701076831]).concat(r).concat(n):n,t.toString(c)},parse:function(e){var t,n=c.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=i.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),y.create({ciphertext:n,salt:t})}},w=r.SerializableCipher=o.extend({cfg:o.extend({format:A}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),s=o.cfg;return y.create({ciphertext:i,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=e.createDecryptor(n,r).finalize(t.ciphertext);return o},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),b=n.kdf={},S=b.OpenSSL={execute:function(e,t,n,r,o){if(r||(r=i.random(8)),o)s=u.create({keySize:t+n,hasher:o}).compute(e,r);else var s=u.create({keySize:t+n}).compute(e,r);var a=i.create(s.words.slice(t),4*n);return s.sigBytes=4*t,y.create({key:s,iv:a,salt:r})}},_=r.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:S}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=r.kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=o.iv;var i=w.encrypt.call(this,e,t,o.key,r);return i.mixIn(o),i},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);r.iv=o.iv;var i=w.decrypt.call(this,e,t,o.key,r);return i}})}()}))},21:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){var e=e||function(e,t){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(477)}catch(m){}var o=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),s={},a=s.lib={},c=a.Base=function(){return{extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=a.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var s=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=s<<24-(r+i)%4*8}else for(var a=0;a<o;a+=4)t[r+a>>>2]=n[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(o());return new l.init(t,e)}}),u=s.enc={},h=u.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},f=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},d=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,s=this.blockSize,a=4*s,c=i/a;c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0);var u=c*s,h=e.min(4*u,i);if(u){for(var f=0;f<u;f+=s)this._doProcessBlock(o,f);n=o.splice(0,u),r.sigBytes-=h}return new l.init(n,h)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(a.Hasher=p.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new g.HMAC.init(e,n).finalize(t)}}}),s.algo={});return s}(Math);return e}))},754:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.enc;o.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var s=t[i>>>2]>>>24-i%4*8&255,a=t[i+1>>>2]>>>24-(i+1)%4*8&255,c=t[i+2>>>2]>>>24-(i+2)%4*8&255,l=s<<16|a<<8|c,u=0;u<4&&i+.75*u<n;u++)o.push(r.charAt(l>>>6*(3-u)&63));var h=r.charAt(64);if(h)while(o.length%4)o.push(h);return o.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o<n.length;o++)r[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return i(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function i(e,t,n){for(var o=[],i=0,s=0;s<t;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2,c=n[e.charCodeAt(s)]>>>6-s%4*2,l=a|c;o[i>>>2]|=l<<24-i%4*8,i++}return r.create(o,i)}}(),e.enc.Base64}))},725:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.enc;o.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],s=0;s<r;s+=3)for(var a=n[s>>>2]>>>24-s%4*8&255,c=n[s+1>>>2]>>>24-(s+1)%4*8&255,l=n[s+2>>>2]>>>24-(s+2)%4*8&255,u=a<<16|c<<8|l,h=0;h<4&&s+.75*h<r;h++)i.push(o.charAt(u>>>6*(3-h)&63));var f=o.charAt(64);if(f)while(i.length%4)i.push(f);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,r=t?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var s=0;s<r.length;s++)o[r.charCodeAt(s)]=s}var a=r.charAt(64);if(a){var c=e.indexOf(a);-1!==c&&(n=c)}return i(e,n,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function i(e,t,n){for(var o=[],i=0,s=0;s<t;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2,c=n[e.charCodeAt(s)]>>>6-s%4*2,l=a|c;o[i>>>2]|=l<<24-i%4*8,i++}return r.create(o,i)}}(),e.enc.Base64url}))},503:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.enc;o.Utf16=o.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o+=2){var i=t[o>>>2]>>>16-o%4*8&65535;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o++)n[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return r.create(n,2*t)}};function i(e){return e<<8&4278255360|e>>>8&16711935}o.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o+=2){var s=i(t[o>>>2]>>>16-o%4*8&65535);r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o++)n[o>>>1]|=i(e.charCodeAt(o)<<16-o%2*16);return r.create(n,2*t)}}}(),e.enc.Utf16}))},506:function(e,t,n){(function(t,r){e.exports=r(n(21),n(471),n(25))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Base,o=n.WordArray,i=t.algo,s=i.MD5,a=i.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n,r=this.cfg,i=r.hasher.create(),s=o.create(),a=s.words,c=r.keySize,l=r.iterations;while(a.length<c){n&&i.update(n),n=i.update(e).finalize(t),i.reset();for(var u=1;u<l;u++)n=i.finalize(n),i.reset();s.concat(n)}return s.sigBytes=4*c,s}});t.EvpKDF=function(e,t,n){return a.create(n).compute(e,t)}}(),e.EvpKDF}))},406:function(e,t,n){(function(t,r){e.exports=r(n(21),n(165))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.CipherParams,o=t.enc,i=o.Hex,s=t.format;s.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return r.create({ciphertext:t})}}}(),e.format.Hex}))},25:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){(function(){var t=e,n=t.lib,r=n.Base,o=t.enc,i=o.Utf8,s=t.algo;s.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),s=this._iKey=t.clone(),a=o.words,c=s.words,l=0;l<n;l++)a[l]^=1549556828,c[l]^=909522486;o.sigBytes=s.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);t.reset();var r=t.finalize(this._oKey.clone().concat(n));return r}})})()}))},396:function(e,t,n){(function(t,r){e.exports=r(n(21),n(240),n(440),n(503),n(754),n(725),n(636),n(471),n(9),n(308),n(380),n(557),n(953),n(56),n(25),n(19),n(506),n(165),n(169),n(939),n(372),n(797),n(454),n(73),n(905),n(482),n(155),n(124),n(406),n(955),n(628),n(193),n(298),n(696),n(128))})(0,(function(e){return e}))},440:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,o=r.init,i=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r<t;r++)n[r>>>2]|=e[r]<<24-r%4*8;o.call(this,n,t)}else o.apply(this,arguments)};i.prototype=r}}(),e.lib.WordArray}))},636:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,a=[];(function(){for(var e=0;e<64;e++)a[e]=4294967296*t.abs(t.sin(e+1))|0})();var c=s.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,s=e[t+0],c=e[t+1],d=e[t+2],p=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],v=e[t+7],A=e[t+8],w=e[t+9],b=e[t+10],S=e[t+11],_=e[t+12],B=e[t+13],E=e[t+14],x=e[t+15],C=i[0],R=i[1],k=i[2],O=i[3];C=l(C,R,k,O,s,7,a[0]),O=l(O,C,R,k,c,12,a[1]),k=l(k,O,C,R,d,17,a[2]),R=l(R,k,O,C,p,22,a[3]),C=l(C,R,k,O,g,7,a[4]),O=l(O,C,R,k,m,12,a[5]),k=l(k,O,C,R,y,17,a[6]),R=l(R,k,O,C,v,22,a[7]),C=l(C,R,k,O,A,7,a[8]),O=l(O,C,R,k,w,12,a[9]),k=l(k,O,C,R,b,17,a[10]),R=l(R,k,O,C,S,22,a[11]),C=l(C,R,k,O,_,7,a[12]),O=l(O,C,R,k,B,12,a[13]),k=l(k,O,C,R,E,17,a[14]),R=l(R,k,O,C,x,22,a[15]),C=u(C,R,k,O,c,5,a[16]),O=u(O,C,R,k,y,9,a[17]),k=u(k,O,C,R,S,14,a[18]),R=u(R,k,O,C,s,20,a[19]),C=u(C,R,k,O,m,5,a[20]),O=u(O,C,R,k,b,9,a[21]),k=u(k,O,C,R,x,14,a[22]),R=u(R,k,O,C,g,20,a[23]),C=u(C,R,k,O,w,5,a[24]),O=u(O,C,R,k,E,9,a[25]),k=u(k,O,C,R,p,14,a[26]),R=u(R,k,O,C,A,20,a[27]),C=u(C,R,k,O,B,5,a[28]),O=u(O,C,R,k,d,9,a[29]),k=u(k,O,C,R,v,14,a[30]),R=u(R,k,O,C,_,20,a[31]),C=h(C,R,k,O,m,4,a[32]),O=h(O,C,R,k,A,11,a[33]),k=h(k,O,C,R,S,16,a[34]),R=h(R,k,O,C,E,23,a[35]),C=h(C,R,k,O,c,4,a[36]),O=h(O,C,R,k,g,11,a[37]),k=h(k,O,C,R,v,16,a[38]),R=h(R,k,O,C,b,23,a[39]),C=h(C,R,k,O,B,4,a[40]),O=h(O,C,R,k,s,11,a[41]),k=h(k,O,C,R,p,16,a[42]),R=h(R,k,O,C,y,23,a[43]),C=h(C,R,k,O,w,4,a[44]),O=h(O,C,R,k,_,11,a[45]),k=h(k,O,C,R,x,16,a[46]),R=h(R,k,O,C,d,23,a[47]),C=f(C,R,k,O,s,6,a[48]),O=f(O,C,R,k,v,10,a[49]),k=f(k,O,C,R,E,15,a[50]),R=f(R,k,O,C,m,21,a[51]),C=f(C,R,k,O,_,6,a[52]),O=f(O,C,R,k,p,10,a[53]),k=f(k,O,C,R,b,15,a[54]),R=f(R,k,O,C,c,21,a[55]),C=f(C,R,k,O,A,6,a[56]),O=f(O,C,R,k,x,10,a[57]),k=f(k,O,C,R,y,15,a[58]),R=f(R,k,O,C,B,21,a[59]),C=f(C,R,k,O,g,6,a[60]),O=f(O,C,R,k,S,10,a[61]),k=f(k,O,C,R,d,15,a[62]),R=f(R,k,O,C,w,21,a[63]),i[0]=i[0]+C|0,i[1]=i[1]+R|0,i[2]=i[2]+k|0,i[3]=i[3]+O|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;n[o>>>5]|=128<<24-o%32;var i=t.floor(r/4294967296),s=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,o,i,s){var a=e+(t&n|~t&r)+o+s;return(a<<i|a>>>32-i)+t}function u(e,t,n,r,o,i,s){var a=e+(t&r|n&~r)+o+s;return(a<<i|a>>>32-i)+t}function h(e,t,n,r,o,i,s){var a=e+(t^n^r)+o+s;return(a<<i|a>>>32-i)+t}function f(e,t,n,r,o,i,s){var a=e+(n^(t|~r))+o+s;return(a<<i|a>>>32-i)+t}n.MD5=i._createHelper(c),n.HmacMD5=i._createHmacHelper(c)}(Math),e.MD5}))},169:function(e,t,n){(function(t,r){e.exports=r(n(21),n(165))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,r.encryptBlock(o,0);for(var s=0;s<n;s++)e[t+s]^=o[s]}return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize;n.call(this,e,t,o,r),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=e.slice(t,t+o);n.call(this,e,t,o,r),this._prevBlock=i}}),t}(),e.mode.CFB}))},372:function(e,t,n){(function(t,r){e.exports=r(n(21),n(165))})(0,(function(e){
|
|
1
|
+
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("element-ui")):"function"===typeof define&&define.amd?define(["element-ui"],e):"object"===typeof exports?exports["ai-assistant-pro"]=e(require("element-ui")):t["ai-assistant-pro"]=e(t["element-ui"])})("undefined"!==typeof self?self:this,(function(t){return function(){var e={955:function(t,e,n){(function(e,r){t.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.BlockCipher,o=e.algo,i=[],s=[],a=[],c=[],l=[],u=[],h=[],f=[],d=[],p=[];(function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var n=0,r=0;for(e=0;e<256;e++){var o=r^r<<1^r<<2^r<<3^r<<4;o=o>>>8^255&o^99,i[n]=o,s[o]=n;var g=t[n],m=t[g],y=t[m],v=257*t[o]^16843008*o;a[n]=v<<24|v>>>8,c[n]=v<<16|v>>>16,l[n]=v<<8|v>>>24,u[n]=v;v=16843009*y^65537*m^257*g^16843008*n;h[o]=v<<24|v>>>8,f[o]=v<<16|v>>>16,d[o]=v<<8|v>>>24,p[o]=v,n?(n=g^t[t[t[y^g]]],r^=t[t[r]]):n=r=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],m=o.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,n=t.sigBytes/4,r=this._nRounds=n+6,o=4*(r+1),s=this._keySchedule=[],a=0;a<o;a++)a<n?s[a]=e[a]:(u=s[a-1],a%n?n>6&&a%n==4&&(u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u]):(u=u<<8|u>>>24,u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u],u^=g[a/n|0]<<24),s[a]=s[a-n]^u);for(var c=this._invKeySchedule=[],l=0;l<o;l++){a=o-l;if(l%4)var u=s[a];else u=s[a-4];c[l]=l<4||a<=4?u:h[i[u>>>24]]^f[i[u>>>16&255]]^d[i[u>>>8&255]]^p[i[255&u]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,a,c,l,u,i)},decryptBlock:function(t,e){var n=t[e+1];t[e+1]=t[e+3],t[e+3]=n,this._doCryptBlock(t,e,this._invKeySchedule,h,f,d,p,s);n=t[e+1];t[e+1]=t[e+3],t[e+3]=n},_doCryptBlock:function(t,e,n,r,o,i,s,a){for(var c=this._nRounds,l=t[e]^n[0],u=t[e+1]^n[1],h=t[e+2]^n[2],f=t[e+3]^n[3],d=4,p=1;p<c;p++){var g=r[l>>>24]^o[u>>>16&255]^i[h>>>8&255]^s[255&f]^n[d++],m=r[u>>>24]^o[h>>>16&255]^i[f>>>8&255]^s[255&l]^n[d++],y=r[h>>>24]^o[f>>>16&255]^i[l>>>8&255]^s[255&u]^n[d++],v=r[f>>>24]^o[l>>>16&255]^i[u>>>8&255]^s[255&h]^n[d++];l=g,u=m,h=y,f=v}g=(a[l>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&f])^n[d++],m=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[f>>>8&255]<<8|a[255&l])^n[d++],y=(a[h>>>24]<<24|a[f>>>16&255]<<16|a[l>>>8&255]<<8|a[255&u])^n[d++],v=(a[f>>>24]<<24|a[l>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^n[d++];t[e]=g,t[e+1]=m,t[e+2]=y,t[e+3]=v},keySize:8});e.AES=r._createHelper(m)}(),t.AES}))},128:function(t,e,n){(function(e,r){t.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.BlockCipher,o=e.algo;const i=16,s=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],a=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function l(t,e){let n=e>>24&255,r=e>>16&255,o=e>>8&255,i=255&e,s=t.sbox[0][n]+t.sbox[1][r];return s^=t.sbox[2][o],s+=t.sbox[3][i],s}function u(t,e,n){let r,o=e,s=n;for(let a=0;a<i;++a)o^=t.pbox[a],s=l(t,o)^s,r=o,o=s,s=r;return r=o,o=s,s=r,s^=t.pbox[i],o^=t.pbox[i+1],{left:o,right:s}}function h(t,e,n){let r,o=e,s=n;for(let a=i+1;a>1;--a)o^=t.pbox[a],s=l(t,o)^s,r=o,o=s,s=r;return r=o,o=s,s=r,s^=t.pbox[1],o^=t.pbox[0],{left:o,right:s}}function f(t,e,n){for(let i=0;i<4;i++){t.sbox[i]=[];for(let e=0;e<256;e++)t.sbox[i][e]=a[i][e]}let r=0;for(let a=0;a<i+2;a++)t.pbox[a]=s[a]^e[r],r++,r>=n&&(r=0);let o=0,c=0,l=0;for(let s=0;s<i+2;s+=2)l=u(t,o,c),o=l.left,c=l.right,t.pbox[s]=o,t.pbox[s+1]=c;for(let i=0;i<4;i++)for(let e=0;e<256;e+=2)l=u(t,o,c),o=l.left,c=l.right,t.sbox[i][e]=o,t.sbox[i][e+1]=c;return!0}var d=o.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var t=this._keyPriorReset=this._key,e=t.words,n=t.sigBytes/4;f(c,e,n)}},encryptBlock:function(t,e){var n=u(c,t[e],t[e+1]);t[e]=n.left,t[e+1]=n.right},decryptBlock:function(t,e){var n=h(c,t[e],t[e+1]);t[e]=n.left,t[e+1]=n.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=r._createHelper(d)}(),t.Blowfish}))},165:function(t,e,n){(function(e,r){t.exports=r(n(21),n(506))})(0,(function(t){t.lib.Cipher||function(e){var n=t,r=n.lib,o=r.Base,i=r.WordArray,s=r.BufferedBlockAlgorithm,a=n.enc,c=(a.Utf8,a.Base64),l=n.algo,u=l.EvpKDF,h=r.Cipher=s.extend({cfg:o.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,n){this.cfg=this.cfg.extend(n),this._xformMode=t,this._key=e,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){t&&this._append(t);var e=this._doFinalize();return e},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?_:A}return function(e){return{encrypt:function(n,r,o){return t(r).encrypt(e,n,r,o)},decrypt:function(n,r,o){return t(r).decrypt(e,n,r,o)}}}}()}),f=(r.StreamCipher=h.extend({_doFinalize:function(){var t=this._process(!0);return t},blockSize:1}),n.mode={}),d=r.BlockCipherMode=o.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),p=f.CBC=function(){var t=d.extend();function n(t,n,r){var o,i=this._iv;i?(o=i,this._iv=e):o=this._prevBlock;for(var s=0;s<r;s++)t[n+s]^=o[s]}return t.Encryptor=t.extend({processBlock:function(t,e){var r=this._cipher,o=r.blockSize;n.call(this,t,e,o),r.encryptBlock(t,e),this._prevBlock=t.slice(e,e+o)}}),t.Decryptor=t.extend({processBlock:function(t,e){var r=this._cipher,o=r.blockSize,i=t.slice(e,e+o);r.decryptBlock(t,e),n.call(this,t,e,o),this._prevBlock=i}}),t}(),g=n.pad={},m=g.Pkcs7={pad:function(t,e){for(var n=4*e,r=n-t.sigBytes%n,o=r<<24|r<<16|r<<8|r,s=[],a=0;a<r;a+=4)s.push(o);var c=i.create(s,r);t.concat(c)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},y=(r.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:m}),reset:function(){var t;h.reset.call(this);var e=this.cfg,n=e.iv,r=e.mode;this._xformMode==this._ENC_XFORM_MODE?t=r.createEncryptor:(t=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,n&&n.words):(this._mode=t.call(r,this,n&&n.words),this._mode.__creator=t)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t,e=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(e.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),e.unpad(t)),t},blockSize:4}),r.CipherParams=o.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),v=n.format={},w=v.OpenSSL={stringify:function(t){var e,n=t.ciphertext,r=t.salt;return e=r?i.create([1398893684,1701076831]).concat(r).concat(n):n,e.toString(c)},parse:function(t){var e,n=c.parse(t),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(e=i.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),y.create({ciphertext:n,salt:e})}},A=r.SerializableCipher=o.extend({cfg:o.extend({format:w}),encrypt:function(t,e,n,r){r=this.cfg.extend(r);var o=t.createEncryptor(n,r),i=o.finalize(e),s=o.cfg;return y.create({ciphertext:i,key:n,iv:s.iv,algorithm:t,mode:s.mode,padding:s.padding,blockSize:t.blockSize,formatter:r.format})},decrypt:function(t,e,n,r){r=this.cfg.extend(r),e=this._parse(e,r.format);var o=t.createDecryptor(n,r).finalize(e.ciphertext);return o},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),b=n.kdf={},S=b.OpenSSL={execute:function(t,e,n,r,o){if(r||(r=i.random(8)),o)s=u.create({keySize:e+n,hasher:o}).compute(t,r);else var s=u.create({keySize:e+n}).compute(t,r);var a=i.create(s.words.slice(e),4*n);return s.sigBytes=4*e,y.create({key:s,iv:a,salt:r})}},_=r.PasswordBasedCipher=A.extend({cfg:A.cfg.extend({kdf:S}),encrypt:function(t,e,n,r){r=this.cfg.extend(r);var o=r.kdf.execute(n,t.keySize,t.ivSize,r.salt,r.hasher);r.iv=o.iv;var i=A.encrypt.call(this,t,e,o.key,r);return i.mixIn(o),i},decrypt:function(t,e,n,r){r=this.cfg.extend(r),e=this._parse(e,r.format);var o=r.kdf.execute(n,t.keySize,t.ivSize,e.salt,r.hasher);r.iv=o.iv;var i=A.decrypt.call(this,t,e,o.key,r);return i}})}()}))},21:function(t,e,n){(function(e,n){t.exports=n()})(0,(function(){var t=t||function(t,e){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(477)}catch(m){}var o=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),s={},a=s.lib={},c=a.Base=function(){return{extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=a.WordArray=c.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:4*t.length},toString:function(t){return(t||h).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,o=t.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var s=n[i>>>2]>>>24-i%4*8&255;e[r+i>>>2]|=s<<24-(r+i)%4*8}else for(var a=0;a<o;a+=4)e[r+a>>>2]=n[a>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(o());return new l.init(e,t)}}),u=s.enc={},h=u.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],o=0;o<n;o++){var i=e[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new l.init(n,e/2)}},f=u.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],o=0;o<n;o++){var i=e[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new l.init(n,e)}},d=u.Utf8={stringify:function(t){try{return decodeURIComponent(escape(f.stringify(t)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(t){return f.parse(unescape(encodeURIComponent(t)))}},p=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=d.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n,r=this._data,o=r.words,i=r.sigBytes,s=this.blockSize,a=4*s,c=i/a;c=e?t.ceil(c):t.max((0|c)-this._minBufferSize,0);var u=c*s,h=t.min(4*u,i);if(u){for(var f=0;f<u;f+=s)this._doProcessBlock(o,f);n=o.splice(0,u),r.sigBytes-=h}return new l.init(n,h)},clone:function(){var t=c.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),g=(a.Hasher=p.extend({cfg:c.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var e=this._doFinalize();return e},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new g.HMAC.init(t,n).finalize(e)}}}),s.algo={});return s}(Math);return t}))},754:function(t,e,n){(function(e,r){t.exports=r(n(21))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.WordArray,o=e.enc;o.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,r=this._map;t.clamp();for(var o=[],i=0;i<n;i+=3)for(var s=e[i>>>2]>>>24-i%4*8&255,a=e[i+1>>>2]>>>24-(i+1)%4*8&255,c=e[i+2>>>2]>>>24-(i+2)%4*8&255,l=s<<16|a<<8|c,u=0;u<4&&i+.75*u<n;u++)o.push(r.charAt(l>>>6*(3-u)&63));var h=r.charAt(64);if(h)while(o.length%4)o.push(h);return o.join("")},parse:function(t){var e=t.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o<n.length;o++)r[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var a=t.indexOf(s);-1!==a&&(e=a)}return i(t,e,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function i(t,e,n){for(var o=[],i=0,s=0;s<e;s++)if(s%4){var a=n[t.charCodeAt(s-1)]<<s%4*2,c=n[t.charCodeAt(s)]>>>6-s%4*2,l=a|c;o[i>>>2]|=l<<24-i%4*8,i++}return r.create(o,i)}}(),t.enc.Base64}))},725:function(t,e,n){(function(e,r){t.exports=r(n(21))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.WordArray,o=e.enc;o.Base64url={stringify:function(t,e){void 0===e&&(e=!0);var n=t.words,r=t.sigBytes,o=e?this._safe_map:this._map;t.clamp();for(var i=[],s=0;s<r;s+=3)for(var a=n[s>>>2]>>>24-s%4*8&255,c=n[s+1>>>2]>>>24-(s+1)%4*8&255,l=n[s+2>>>2]>>>24-(s+2)%4*8&255,u=a<<16|c<<8|l,h=0;h<4&&s+.75*h<r;h++)i.push(o.charAt(u>>>6*(3-h)&63));var f=o.charAt(64);if(f)while(i.length%4)i.push(f);return i.join("")},parse:function(t,e){void 0===e&&(e=!0);var n=t.length,r=e?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var s=0;s<r.length;s++)o[r.charCodeAt(s)]=s}var a=r.charAt(64);if(a){var c=t.indexOf(a);-1!==c&&(n=c)}return i(t,n,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function i(t,e,n){for(var o=[],i=0,s=0;s<e;s++)if(s%4){var a=n[t.charCodeAt(s-1)]<<s%4*2,c=n[t.charCodeAt(s)]>>>6-s%4*2,l=a|c;o[i>>>2]|=l<<24-i%4*8,i++}return r.create(o,i)}}(),t.enc.Base64url}))},503:function(t,e,n){(function(e,r){t.exports=r(n(21))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.WordArray,o=e.enc;o.Utf16=o.Utf16BE={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],o=0;o<n;o+=2){var i=e[o>>>2]>>>16-o%4*8&65535;r.push(String.fromCharCode(i))}return r.join("")},parse:function(t){for(var e=t.length,n=[],o=0;o<e;o++)n[o>>>1]|=t.charCodeAt(o)<<16-o%2*16;return r.create(n,2*e)}};function i(t){return t<<8&4278255360|t>>>8&16711935}o.Utf16LE={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],o=0;o<n;o+=2){var s=i(e[o>>>2]>>>16-o%4*8&65535);r.push(String.fromCharCode(s))}return r.join("")},parse:function(t){for(var e=t.length,n=[],o=0;o<e;o++)n[o>>>1]|=i(t.charCodeAt(o)<<16-o%2*16);return r.create(n,2*e)}}}(),t.enc.Utf16}))},506:function(t,e,n){(function(e,r){t.exports=r(n(21),n(471),n(25))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.Base,o=n.WordArray,i=e.algo,s=i.MD5,a=i.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:s,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){var n,r=this.cfg,i=r.hasher.create(),s=o.create(),a=s.words,c=r.keySize,l=r.iterations;while(a.length<c){n&&i.update(n),n=i.update(t).finalize(e),i.reset();for(var u=1;u<l;u++)n=i.finalize(n),i.reset();s.concat(n)}return s.sigBytes=4*c,s}});e.EvpKDF=function(t,e,n){return a.create(n).compute(t,e)}}(),t.EvpKDF}))},406:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.CipherParams,o=e.enc,i=o.Hex,s=e.format;s.Hex={stringify:function(t){return t.ciphertext.toString(i)},parse:function(t){var e=i.parse(t);return r.create({ciphertext:e})}}}(),t.format.Hex}))},25:function(t,e,n){(function(e,r){t.exports=r(n(21))})(0,(function(t){(function(){var e=t,n=e.lib,r=n.Base,o=e.enc,i=o.Utf8,s=e.algo;s.HMAC=r.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=i.parse(e));var n=t.blockSize,r=4*n;e.sigBytes>r&&(e=t.finalize(e)),e.clamp();for(var o=this._oKey=e.clone(),s=this._iKey=e.clone(),a=o.words,c=s.words,l=0;l<n;l++)a[l]^=1549556828,c[l]^=909522486;o.sigBytes=s.sigBytes=r,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,n=e.finalize(t);e.reset();var r=e.finalize(this._oKey.clone().concat(n));return r}})})()}))},396:function(t,e,n){(function(e,r){t.exports=r(n(21),n(240),n(440),n(503),n(754),n(725),n(636),n(471),n(9),n(308),n(380),n(557),n(953),n(56),n(25),n(19),n(506),n(165),n(169),n(939),n(372),n(797),n(454),n(73),n(905),n(482),n(155),n(124),n(406),n(955),n(628),n(193),n(298),n(696),n(128))})(0,(function(t){return t}))},440:function(t,e,n){(function(e,r){t.exports=r(n(21))})(0,(function(t){return function(){if("function"==typeof ArrayBuffer){var e=t,n=e.lib,r=n.WordArray,o=r.init,i=r.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var e=t.byteLength,n=[],r=0;r<e;r++)n[r>>>2]|=t[r]<<24-r%4*8;o.call(this,n,e)}else o.apply(this,arguments)};i.prototype=r}}(),t.lib.WordArray}))},636:function(t,e,n){(function(e,r){t.exports=r(n(21))})(0,(function(t){return function(e){var n=t,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,a=[];(function(){for(var t=0;t<64;t++)a[t]=4294967296*e.abs(e.sin(t+1))|0})();var c=s.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,o=t[r];t[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,s=t[e+0],c=t[e+1],d=t[e+2],p=t[e+3],g=t[e+4],m=t[e+5],y=t[e+6],v=t[e+7],w=t[e+8],A=t[e+9],b=t[e+10],S=t[e+11],_=t[e+12],C=t[e+13],B=t[e+14],E=t[e+15],k=i[0],x=i[1],R=i[2],O=i[3];k=l(k,x,R,O,s,7,a[0]),O=l(O,k,x,R,c,12,a[1]),R=l(R,O,k,x,d,17,a[2]),x=l(x,R,O,k,p,22,a[3]),k=l(k,x,R,O,g,7,a[4]),O=l(O,k,x,R,m,12,a[5]),R=l(R,O,k,x,y,17,a[6]),x=l(x,R,O,k,v,22,a[7]),k=l(k,x,R,O,w,7,a[8]),O=l(O,k,x,R,A,12,a[9]),R=l(R,O,k,x,b,17,a[10]),x=l(x,R,O,k,S,22,a[11]),k=l(k,x,R,O,_,7,a[12]),O=l(O,k,x,R,C,12,a[13]),R=l(R,O,k,x,B,17,a[14]),x=l(x,R,O,k,E,22,a[15]),k=u(k,x,R,O,c,5,a[16]),O=u(O,k,x,R,y,9,a[17]),R=u(R,O,k,x,S,14,a[18]),x=u(x,R,O,k,s,20,a[19]),k=u(k,x,R,O,m,5,a[20]),O=u(O,k,x,R,b,9,a[21]),R=u(R,O,k,x,E,14,a[22]),x=u(x,R,O,k,g,20,a[23]),k=u(k,x,R,O,A,5,a[24]),O=u(O,k,x,R,B,9,a[25]),R=u(R,O,k,x,p,14,a[26]),x=u(x,R,O,k,w,20,a[27]),k=u(k,x,R,O,C,5,a[28]),O=u(O,k,x,R,d,9,a[29]),R=u(R,O,k,x,v,14,a[30]),x=u(x,R,O,k,_,20,a[31]),k=h(k,x,R,O,m,4,a[32]),O=h(O,k,x,R,w,11,a[33]),R=h(R,O,k,x,S,16,a[34]),x=h(x,R,O,k,B,23,a[35]),k=h(k,x,R,O,c,4,a[36]),O=h(O,k,x,R,g,11,a[37]),R=h(R,O,k,x,v,16,a[38]),x=h(x,R,O,k,b,23,a[39]),k=h(k,x,R,O,C,4,a[40]),O=h(O,k,x,R,s,11,a[41]),R=h(R,O,k,x,p,16,a[42]),x=h(x,R,O,k,y,23,a[43]),k=h(k,x,R,O,A,4,a[44]),O=h(O,k,x,R,_,11,a[45]),R=h(R,O,k,x,E,16,a[46]),x=h(x,R,O,k,d,23,a[47]),k=f(k,x,R,O,s,6,a[48]),O=f(O,k,x,R,v,10,a[49]),R=f(R,O,k,x,B,15,a[50]),x=f(x,R,O,k,m,21,a[51]),k=f(k,x,R,O,_,6,a[52]),O=f(O,k,x,R,p,10,a[53]),R=f(R,O,k,x,b,15,a[54]),x=f(x,R,O,k,c,21,a[55]),k=f(k,x,R,O,w,6,a[56]),O=f(O,k,x,R,E,10,a[57]),R=f(R,O,k,x,y,15,a[58]),x=f(x,R,O,k,C,21,a[59]),k=f(k,x,R,O,g,6,a[60]),O=f(O,k,x,R,S,10,a[61]),R=f(R,O,k,x,d,15,a[62]),x=f(x,R,O,k,A,21,a[63]),i[0]=i[0]+k|0,i[1]=i[1]+x|0,i[2]=i[2]+R|0,i[3]=i[3]+O|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var i=e.floor(r/4294967296),s=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function l(t,e,n,r,o,i,s){var a=t+(e&n|~e&r)+o+s;return(a<<i|a>>>32-i)+e}function u(t,e,n,r,o,i,s){var a=t+(e&r|n&~r)+o+s;return(a<<i|a>>>32-i)+e}function h(t,e,n,r,o,i,s){var a=t+(e^n^r)+o+s;return(a<<i|a>>>32-i)+e}function f(t,e,n,r,o,i,s){var a=t+(n^(e|~r))+o+s;return(a<<i|a>>>32-i)+e}n.MD5=i._createHelper(c),n.HmacMD5=i._createHmacHelper(c)}(Math),t.MD5}))},169:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){return t.mode.CFB=function(){var e=t.lib.BlockCipherMode.extend();function n(t,e,n,r){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,r.encryptBlock(o,0);for(var s=0;s<n;s++)t[e+s]^=o[s]}return e.Encryptor=e.extend({processBlock:function(t,e){var r=this._cipher,o=r.blockSize;n.call(this,t,e,o,r),this._prevBlock=t.slice(e,e+o)}}),e.Decryptor=e.extend({processBlock:function(t,e){var r=this._cipher,o=r.blockSize,i=t.slice(e,e+o);n.call(this,t,e,o,r),this._prevBlock=i}}),e}(),t.mode.CFB}))},372:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){
|
|
2
2
|
/** @preserve
|
|
3
3
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
4
4
|
* derived from CryptoJS.mode.CTR
|
|
5
5
|
* Jan Hruby jhruby.web@gmail.com
|
|
6
6
|
*/
|
|
7
|
-
return
|
|
7
|
+
return t.mode.CTRGladman=function(){var e=t.lib.BlockCipherMode.extend();function n(t){if(255===(t>>24&255)){var e=t>>16&255,n=t>>8&255,r=255&t;255===e?(e=0,255===n?(n=0,255===r?r=0:++r):++n):++e,t=0,t+=e<<16,t+=n<<8,t+=r}else t+=1<<24;return t}function r(t){return 0===(t[0]=n(t[0]))&&(t[1]=n(t[1])),t}var o=e.Encryptor=e.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0),r(s);var a=s.slice(0);n.encryptBlock(a,0);for(var c=0;c<o;c++)t[e+c]^=a[c]}});return e.Decryptor=o,e}(),t.mode.CTRGladman}))},939:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){return t.mode.CTR=function(){var e=t.lib.BlockCipherMode.extend(),n=e.Encryptor=e.extend({processBlock:function(t,e){var n=this._cipher,r=n.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var s=i.slice(0);n.encryptBlock(s,0),i[r-1]=i[r-1]+1|0;for(var a=0;a<r;a++)t[e+a]^=s[a]}});return e.Decryptor=n,e}(),t.mode.CTR}))},454:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){return t.mode.ECB=function(){var e=t.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),e.Decryptor=e.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),e}(),t.mode.ECB}))},797:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){return t.mode.OFB=function(){var e=t.lib.BlockCipherMode.extend(),n=e.Encryptor=e.extend({processBlock:function(t,e){var n=this._cipher,r=n.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),n.encryptBlock(i,0);for(var s=0;s<r;s++)t[e+s]^=i[s]}});return e.Decryptor=n,e}(),t.mode.OFB}))},73:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){return t.pad.AnsiX923={pad:function(t,e){var n=t.sigBytes,r=4*e,o=r-n%r,i=n+o-1;t.clamp(),t.words[i>>>2]|=o<<24-i%4*8,t.sigBytes+=o},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Ansix923}))},905:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){return t.pad.Iso10126={pad:function(e,n){var r=4*n,o=r-e.sigBytes%r;e.concat(t.lib.WordArray.random(o-1)).concat(t.lib.WordArray.create([o<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Iso10126}))},482:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){return t.pad.Iso97971={pad:function(e,n){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,n)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971}))},124:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding}))},155:function(t,e,n){(function(e,r){t.exports=r(n(21),n(165))})(0,(function(t){return t.pad.ZeroPadding={pad:function(t,e){var n=4*e;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){var e=t.words,n=t.sigBytes-1;for(n=t.sigBytes-1;n>=0;n--)if(e[n>>>2]>>>24-n%4*8&255){t.sigBytes=n+1;break}}},t.pad.ZeroPadding}))},19:function(t,e,n){(function(e,r){t.exports=r(n(21),n(9),n(25))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.Base,o=n.WordArray,i=e.algo,s=i.SHA256,a=i.HMAC,c=i.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:s,iterations:25e4}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){var n=this.cfg,r=a.create(n.hasher,t),i=o.create(),s=o.create([1]),c=i.words,l=s.words,u=n.keySize,h=n.iterations;while(c.length<u){var f=r.update(e).finalize(s);r.reset();for(var d=f.words,p=d.length,g=f,m=1;m<h;m++){g=r.finalize(g),r.reset();for(var y=g.words,v=0;v<p;v++)d[v]^=y[v]}i.concat(f),l[0]++}return i.sigBytes=4*u,i}});e.PBKDF2=function(t,e,n){return c.create(n).compute(t,e)}}(),t.PBKDF2}))},696:function(t,e,n){(function(e,r){t.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.StreamCipher,o=e.algo,i=[],s=[],a=[],c=o.RabbitLegacy=r.extend({_doReset:function(){var t=this._key.words,e=this.cfg.iv,n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],r=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var o=0;o<4;o++)l.call(this);for(o=0;o<8;o++)r[o]^=n[o+4&7];if(e){var i=e.words,s=i[0],a=i[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=c>>>16|4294901760&u,f=u<<16|65535&c;r[0]^=c,r[1]^=h,r[2]^=u,r[3]^=f,r[4]^=c,r[5]^=h,r[6]^=u,r[7]^=f;for(o=0;o<4;o++)l.call(this)}},_doProcessBlock:function(t,e){var n=this._X;l.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),t[e+r]^=i[r]},blockSize:4,ivSize:2});function l(){for(var t=this._X,e=this._C,n=0;n<8;n++)s[n]=e[n];e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<s[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<s[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<s[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<s[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<s[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<s[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<s[6]>>>0?1:0)|0,this._b=e[7]>>>0<s[7]>>>0?1:0;for(n=0;n<8;n++){var r=t[n]+e[n],o=65535&r,i=r>>>16,c=((o*o>>>17)+o*i>>>15)+i*i,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=c^l}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=r._createHelper(c)}(),t.RabbitLegacy}))},298:function(t,e,n){(function(e,r){t.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.StreamCipher,o=e.algo,i=[],s=[],a=[],c=o.Rabbit=r.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,n=0;n<4;n++)t[n]=16711935&(t[n]<<8|t[n]>>>24)|4278255360&(t[n]<<24|t[n]>>>8);var r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],o=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(e){var i=e.words,s=i[0],a=i[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=c>>>16|4294901760&u,f=u<<16|65535&c;o[0]^=c,o[1]^=h,o[2]^=u,o[3]^=f,o[4]^=c,o[5]^=h,o[6]^=u,o[7]^=f;for(n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(t,e){var n=this._X;l.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),t[e+r]^=i[r]},blockSize:4,ivSize:2});function l(){for(var t=this._X,e=this._C,n=0;n<8;n++)s[n]=e[n];e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<s[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<s[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<s[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<s[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<s[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<s[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<s[6]>>>0?1:0)|0,this._b=e[7]>>>0<s[7]>>>0?1:0;for(n=0;n<8;n++){var r=t[n]+e[n],o=65535&r,i=r>>>16,c=((o*o>>>17)+o*i>>>15)+i*i,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=c^l}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=r._createHelper(c)}(),t.Rabbit}))},193:function(t,e,n){(function(e,r){t.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.StreamCipher,o=e.algo,i=o.RC4=r.extend({_doReset:function(){for(var t=this._key,e=t.words,n=t.sigBytes,r=this._S=[],o=0;o<256;o++)r[o]=o;o=0;for(var i=0;o<256;o++){var s=o%n,a=e[s>>>2]>>>24-s%4*8&255;i=(i+r[o]+a)%256;var c=r[o];r[o]=r[i],r[i]=c}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=s.call(this)},keySize:8,ivSize:0});function s(){for(var t=this._S,e=this._i,n=this._j,r=0,o=0;o<4;o++){e=(e+1)%256,n=(n+t[e])%256;var i=t[e];t[e]=t[n],t[n]=i,r|=t[(t[e]+t[n])%256]<<24-8*o}return this._i=e,this._j=n,r}e.RC4=r._createHelper(i);var a=o.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)s.call(this)}});e.RC4Drop=r._createHelper(a)}(),t.RC4}))},56:function(t,e,n){(function(e,r){t.exports=r(n(21))})(0,(function(t){
|
|
8
8
|
/** @preserve
|
|
9
9
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
10
10
|
|
|
@@ -15,7 +15,7 @@ return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();functio
|
|
|
15
15
|
|
|
16
16
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
17
17
|
*/
|
|
18
|
-
return function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,i=t.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,A,w,b,S,_,B,E,x,C,R=this._hash.words,k=u.words,O=h.words,T=s.words,I=a.words,D=c.words,U=l.words;S=i=R[0],_=f=R[1],B=A=R[2],E=w=R[3],x=b=R[4];for(n=0;n<80;n+=1)C=i+e[t+T[n]]|0,C+=n<16?d(f,A,w)+k[0]:n<32?p(f,A,w)+k[1]:n<48?g(f,A,w)+k[2]:n<64?m(f,A,w)+k[3]:y(f,A,w)+k[4],C|=0,C=v(C,D[n]),C=C+b|0,i=b,b=w,w=v(A,10),A=f,f=C,C=S+e[t+I[n]]|0,C+=n<16?y(_,B,E)+O[0]:n<32?m(_,B,E)+O[1]:n<48?g(_,B,E)+O[2]:n<64?p(_,B,E)+O[3]:d(_,B,E)+O[4],C|=0,C=v(C,U[n]),C=C+x|0,S=x,x=E,E=v(B,10),B=_,_=C;C=R[1]+A+E|0,R[1]=R[2]+w+x|0,R[2]=R[3]+b+S|0,R[3]=R[4]+i+_|0,R[4]=R[0]+f+B|0,R[0]=C},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,s=0;s<5;s++){var a=i[s];i[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return o},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function d(e,t,n){return e^t^n}function p(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function m(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function v(e,t){return e<<t|e>>>32-t}t.RIPEMD160=o._createHelper(f),t.HmacRIPEMD160=o._createHmacHelper(f)}(Math),e.RIPEMD160}))},471:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,i=t.algo,s=[],a=i.SHA1=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],l=0;l<80;l++){if(l<16)s[l]=0|e[t+l];else{var u=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=u<<1|u>>>31}var h=(r<<5|r>>>27)+c+s[l];h+=l<20?1518500249+(o&i|~o&a):l<40?1859775393+(o^i^a):l<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,c=a,a=i,i=o<<30|o>>>2,o=r,r=h}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=o._createHelper(a),t.HmacSHA1=o._createHmacHelper(a)}(),e.SHA1}))},308:function(e,t,n){(function(t,r){e.exports=r(n(21),n(9))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.algo,i=o.SHA256,s=o.SHA224=i.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=i._createHelper(s),t.HmacSHA224=i._createHmacHelper(s)}(),e.SHA224}))},9:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,a=[],c=[];(function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}var r=2,o=0;while(o<64)e(r)&&(o<8&&(a[o]=n(t.pow(r,.5))),c[o]=n(t.pow(r,1/3)),o++),r++})();var l=[],u=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],u=n[5],h=n[6],f=n[7],d=0;d<64;d++){if(d<16)l[d]=0|e[t+d];else{var p=l[d-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=l[d-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;l[d]=g+l[d-7]+y+l[d-16]}var v=a&u^~a&h,A=r&o^r&i^o&i,w=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),S=f+b+v+c[d]+l[d],_=w+A;f=h,h=u,u=a,a=s+S|0,s=i,i=o,o=r,r=S+_|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+h|0,n[7]=n[7]+f|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=t.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(u),n.HmacSHA256=i._createHmacHelper(u)}(Math),e.SHA256}))},953:function(e,t,n){(function(t,r){e.exports=r(n(21),n(240))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.x64,a=s.Word,c=n.algo,l=[],u=[],h=[];(function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var r=t%5,o=(2*e+3*t)%5;e=r,t=o}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,s=0;s<24;s++){for(var c=0,f=0,d=0;d<7;d++){if(1&i){var p=(1<<d)-1;p<32?f^=1<<p:c^=1<<p-32}128&i?i=i<<1^113:i<<=1}h[s]=a.create(c,f)}})();var f=[];(function(){for(var e=0;e<25;e++)f[e]=a.create()})();var d=c.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,o=0;o<r;o++){var i=e[t+2*o],s=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);var a=n[o];a.high^=s,a.low^=i}for(var c=0;c<24;c++){for(var d=0;d<5;d++){for(var p=0,g=0,m=0;m<5;m++){a=n[d+5*m];p^=a.high,g^=a.low}var y=f[d];y.high=p,y.low=g}for(d=0;d<5;d++){var v=f[(d+4)%5],A=f[(d+1)%5],w=A.high,b=A.low;for(p=v.high^(w<<1|b>>>31),g=v.low^(b<<1|w>>>31),m=0;m<5;m++){a=n[d+5*m];a.high^=p,a.low^=g}}for(var S=1;S<25;S++){a=n[S];var _=a.high,B=a.low,E=l[S];E<32?(p=_<<E|B>>>32-E,g=B<<E|_>>>32-E):(p=B<<E-32|_>>>64-E,g=_<<E-32|B>>>64-E);var x=f[u[S]];x.high=p,x.low=g}var C=f[0],R=n[0];C.high=R.high,C.low=R.low;for(d=0;d<5;d++)for(m=0;m<5;m++){S=d+5*m,a=n[S];var k=f[S],O=f[(d+1)%5+5*m],T=f[(d+2)%5+5*m];a.high=k.high^~O.high&T.high,a.low=k.low^~O.low&T.low}a=n[0];var I=h[c];a.high^=I.high,a.low^=I.low}},_doFinalize:function(){var e=this._data,n=e.words,r=(this._nDataBytes,8*e.sigBytes),i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,l=[],u=0;u<c;u++){var h=s[u],f=h.high,d=h.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),l.push(d),l.push(f)}return new o.init(l,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=i._createHelper(d),n.HmacSHA3=i._createHmacHelper(d)}(Math),e.SHA3}))},557:function(e,t,n){(function(t,r){e.exports=r(n(21),n(240),n(380))})(0,(function(e){return function(){var t=e,n=t.x64,r=n.Word,o=n.WordArray,i=t.algo,s=i.SHA512,a=i.SHA384=s.extend({_doReset:function(){this._hash=new o.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=s._createHelper(a),t.HmacSHA384=s._createHmacHelper(a)}(),e.SHA384}))},380:function(e,t,n){(function(t,r){e.exports=r(n(21),n(240))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Hasher,o=t.x64,i=o.Word,s=o.WordArray,a=t.algo;function c(){return i.create.apply(i,arguments)}var l=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],u=[];(function(){for(var e=0;e<80;e++)u[e]=c()})();var h=a.SHA512=r.extend({_doReset:function(){this._hash=new s.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],c=n[5],h=n[6],f=n[7],d=r.high,p=r.low,g=o.high,m=o.low,y=i.high,v=i.low,A=s.high,w=s.low,b=a.high,S=a.low,_=c.high,B=c.low,E=h.high,x=h.low,C=f.high,R=f.low,k=d,O=p,T=g,I=m,D=y,U=v,j=A,N=w,P=b,z=S,M=_,F=B,L=E,H=x,J=C,W=R,V=0;V<80;V++){var G,Y,Z=u[V];if(V<16)Y=Z.high=0|e[t+2*V],G=Z.low=0|e[t+2*V+1];else{var K=u[V-15],X=K.high,q=K.low,Q=(X>>>1|q<<31)^(X>>>8|q<<24)^X>>>7,$=(q>>>1|X<<31)^(q>>>8|X<<24)^(q>>>7|X<<25),ee=u[V-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=u[V-7],se=ie.high,ae=ie.low,ce=u[V-16],le=ce.high,ue=ce.low;G=$+ae,Y=Q+se+(G>>>0<$>>>0?1:0),G+=oe,Y=Y+re+(G>>>0<oe>>>0?1:0),G+=ue,Y=Y+le+(G>>>0<ue>>>0?1:0),Z.high=Y,Z.low=G}var he=P&M^~P&L,fe=z&F^~z&H,de=k&T^k&D^T&D,pe=O&I^O&U^I&U,ge=(k>>>28|O<<4)^(k<<30|O>>>2)^(k<<25|O>>>7),me=(O>>>28|k<<4)^(O<<30|k>>>2)^(O<<25|k>>>7),ye=(P>>>14|z<<18)^(P>>>18|z<<14)^(P<<23|z>>>9),ve=(z>>>14|P<<18)^(z>>>18|P<<14)^(z<<23|P>>>9),Ae=l[V],we=Ae.high,be=Ae.low,Se=W+ve,_e=J+ye+(Se>>>0<W>>>0?1:0),Be=(Se=Se+fe,_e=_e+he+(Se>>>0<fe>>>0?1:0),Se=Se+be,_e=_e+we+(Se>>>0<be>>>0?1:0),Se=Se+G,_e=_e+Y+(Se>>>0<G>>>0?1:0),me+pe),Ee=ge+de+(Be>>>0<me>>>0?1:0);J=L,W=H,L=M,H=F,M=P,F=z,z=N+Se|0,P=j+_e+(z>>>0<N>>>0?1:0)|0,j=D,N=U,D=T,U=I,T=k,I=O,O=Se+Be|0,k=_e+Ee+(O>>>0<Se>>>0?1:0)|0}p=r.low=p+O,r.high=d+k+(p>>>0<O>>>0?1:0),m=o.low=m+I,o.high=g+T+(m>>>0<I>>>0?1:0),v=i.low=v+U,i.high=y+D+(v>>>0<U>>>0?1:0),w=s.low=w+N,s.high=A+j+(w>>>0<N>>>0?1:0),S=a.low=S+z,a.high=b+P+(S>>>0<z>>>0?1:0),B=c.low=B+F,c.high=_+M+(B>>>0<F>>>0?1:0),x=h.low=x+H,h.high=E+L+(x>>>0<H>>>0?1:0),R=f.low=R+W,f.high=C+J+(R>>>0<W>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process();var o=this._hash.toX32();return o},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(h),t.HmacSHA512=r._createHmacHelper(h)}(),e.SHA512}))},628:function(e,t,n){(function(t,r){e.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.BlockCipher,i=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=i.DES=o.extend({_doReset:function(){for(var e=this._key,t=e.words,n=[],r=0;r<56;r++){var o=s[r]-1;n[r]=t[o>>>5]>>>31-o%32&1}for(var i=this._subKeys=[],l=0;l<16;l++){var u=i[l]=[],h=c[l];for(r=0;r<24;r++)u[r/6|0]|=n[(a[r]-1+h)%28]<<31-r%6,u[4+(r/6|0)]|=n[28+(a[r+24]-1+h)%28]<<31-r%6;u[0]=u[0]<<1|u[0]>>>31;for(r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var f=this._invSubKeys=[];for(r=0;r<16;r++)f[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,252645135),f.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),f.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=l[c][((s^o[c])&u[c])>>>0];this._lBlock=s,this._rBlock=i^a}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,f.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function d(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}t.DES=o._createHelper(h);var p=i.TripleDES=o.extend({_doReset:function(){var e=this._key,t=e.words;if(2!==t.length&&4!==t.length&&t.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var n=t.slice(0,2),o=t.length<4?t.slice(0,2):t.slice(2,4),i=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=h.createEncryptor(r.create(n)),this._des2=h.createEncryptor(r.create(o)),this._des3=h.createEncryptor(r.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=o._createHelper(p)}(),e.TripleDES}))},240:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.Base,i=r.WordArray,s=n.x64={};s.Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=o.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var o=e[r];n.push(o.high),n.push(o.low)}return i.create(n,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}})}(),e}))},271:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUU1NjJFMDc1OUU1MTFFRkE2QzRFMUZCM0YyQjE0MDUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUU1NjJFMDg1OUU1MTFFRkE2QzRFMUZCM0YyQjE0MDUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5RTU2MkUwNTU5RTUxMUVGQTZDNEUxRkIzRjJCMTQwNSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5RTU2MkUwNjU5RTUxMUVGQTZDNEUxRkIzRjJCMTQwNSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PnYHytYAAADTSURBVHjapFPRDcIgEC3EPWQFXcA6ifVfZ6jO4ADqJGUCV6BOgnfJI70iJTRc8gIc8Lh3dyjvfVNjmzDZX5u+4PyXYD+PZgwOjcstDTeCEWMKB8Iwo2QJu4tvCQ5zRzA8j8F+7LfBp9folaHPJKw0SzjVEIzIxz8BJdOJhOUqMScgbRzWGbDIdk6CQeWmPgAJR2Gg8Y51FxFshZSJIHqhF/3xhE/aMVREpVqZLg6IgA85OqyW9OiSUhX9hcje/DKBJbyyDKmWFW3bLe0HqNrv/BNgANkfieaZ8+wxAAAAAElFTkSuQmCC"},554:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAOVJREFUOE+lk80VgyAQhMdKgjfKWCtJrMRYiekklMFN0kkcHpuHCkme7sUf5JvdGWxwshrdb6wMf7BeAFzwLui3EWCsCIDncvsAcEvXGk+Cd20JMHHBWJkBdLlK1qVJQn3wzvF93sFPQOqWAqcAE0HBu/5oBzSbPnQ7QJqVc9KDOOO2jBWaPKiReYxMgkUFRjVWABRQo90HkDlNhau2mBRz1mV5uANomVQJEKNKker52I4zrmIszMlDxRF44uZlnJ3Q6iAVAPSBnRByCKBGsQMaGjMvVbU1Y4UQ5s3/o1pVwLdN+dob2Bx9EVmMIDsAAAAASUVORK5CYII="},14:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAARhElEQVRogd1aeZAdxX3+umfmnXtopZW0q3O1IBQdgATIhjLiEGAuQwgVzGkIiV0ph+SfFA5UXEWqHJuAoRKHJITLBfERqmICKZsbgYgQyMI6FrGrC7NI2l3trvbeffvemzcz3anu6Znpmfd2JWP+ymz19uuZnpn+fl//jv714P/7Qb5AfGSG+lQPrvol6y9kUL/PvaKmqq5VTuXgMxT2+wL+PABJApSoDVXTGcDOdiTBMa14Gkim9fn8AI+fqNTsuGhBSgcWgJJl/oKFqfsf/Nm5RXPFpuFCfv34tNVeLJstzCE56iFlcMBgQKwOf/NKxkAxl/EG6usq3XUNhQ6G7vf+7nt37h4aGqwokJ4GVgLtHShzQvzhB7Ua5+wAewdsEErAGZf14ggY0UEBsO594J+WW23Xf3P/yJwbJ4tGqwkC6nGI2mQA5Qhrg3FQBpgcsdpQ1wxO5H0B+HzG629eOv5i94kXn3no4XuPAnASYCWbx46XODWoHK+oF58U4GDE4JKFMdYEKFMA+9Y99y+s2/gXf7vzeMOtBidWwIapg4iBS7KGmcHKQqK+gLPwtLHndx35tweffPKRQQXU1afvsf6IzaUt6dkB9gzYQUedNVOV9APPfvjHW8dWPmhXaJMchOvBBAVlHCYnoIzB5H5bAvFYdF1jOOwv2/H7DfEXABRC40Amw8fq2g9+98+/c8EvANgKZACUHxVMUloFkCYBCkkocAFrFoBU+2ln1N/z06M/+uXIqn8vubSJgoNwMY39R1BCQAgXD5C1ECglkNfFNUqoHKh4Pg37E3nd70tkTYgB+WxR5PP8a16JNhU61zz+7A8++9GK9tPrxZjU2KSBW74oSzivtj+1LJzOnAR3+RXXNrXc9swz+0Zzm31J60aDJ6YcUVM1YCRR86CNkEk5JVVNVL/klPZ/EzmoOUun3/nJB3d/c+s7b4wBqGj6WWVlkwxWgVu+vL1+we1PPd0xntsspCpZkUz7UvbbPitC4L70FSO1aiVT+Z9z9cKopmFbnSOqQM0MAIVj+c13nf/jp5cua0syWeWWagGkgTEBkLni7996ePd4/jIODjEF/JqFNzAenPfvlr/Cmmtt7brARlQBU06Oq3PM76fuZdzza/mHsF3oqbvs+3dveViMUY3V1HxwTYBJo5K+95ntN20bb75VsBToTag/atTqV/gg/+k8bFNl3ah6NVVTIJoJVJsJ3NdL4t8v7qGhjqp7ZH//neXu+bc+/r2tN4uxqjFXsWgkwIbM3XDz3Yt/s+yO5zxGshKAJERNG+EjuQKtanEt3vanYyzk4VoIpKZzvL82Ou5fg3qusjdqDET9BlKTCy/InDH8YlfX3ulEtMORELxuNdNzr/vufSWPNkUD4uFDA1Z8HQN03YxqElnSRPwGZSFDHVP3QRdGwHwYrfhFzACqrLRgm1do49dW/c19ikVLCxuJzqAOLnPnt+9fubXh8oepiGUY86UnJUlAOFO1kiTzYkZm1SIDF61L48Q4g21zjTX/nkwKuOqSDK68JAPGgIF+1xdGbCZozDNdOERNfwKlqkIpgfG6P5i3wf5lx0e/Hk/ErzwZMEvLaZ1/x52UUpMqKfnznyqpUUTnufJz/kMyFsH9N9Xh7iuzuO+WPFa0mFLsAZuGAfzJTXnccFUWZ66x8KffyGPDhrRiSg04tL5qatEIHNHiTkKjmnCYm5bddWfSN6rbw9kmAdbV1Wd3OwuuDy2jrIm0nFEbYZuHbY6ViwwsnOM7glVLTdx7ax4rlxpKIThWLDVx3plRrCjGetGFaYS2VYES1pRp7cD6BhZYt9ZBf9rfen0+X5dNuIyqJY9153cePWfUTS2QFpNzFXnwhAWNt6mSbH0m7nUWzqW44+osGvN+e+3pJmhV7BT5ylq6SBK6HfOP4OF1Usos+Ks/+/65tRiMBdLlxWd/hSRCgoABv/YSbR72nSpXh0qLmg20zjckwz0DXuya5wGvvFqUahQtBiOuAr/LEPezSSa58rPLs+deoPlEQ/NOEchBOm+tL8GklVOGhdBYhEKUjgnrdrDPRf8Yi4GYKDAMjTHZ56MDDjoPOZgqcPQd9/D401Po/szT9M//p0dBFJEOh8YqFHs0PlFnygvW6eDEabMKIMu1kTDyIFLnoCoE1CbaXLUFE0++VsQtmzLIpghOjDG89n4Jo5NMCoxzgif/s4DWeQbGRz2UCr4gpSjVs4JXBs+ML/V9CxrOE3WPOG+IteR0fdvJABqTPN0cOtcwRoSvj5re6/5Kd9IfdbsYGSsiZwEjowylIodBgfmNBtoXGbIWfcstBnp7PAwe95Rj13IhRDl2Eg8A9HdBGbyAcek+KqlmbUEeAximIsqM5GhoObkvRZ4I0TlHyqT40jIL83IElQpwuE8AY/A4R9+w5y94AdSlgRsvyWLjmhTqsgSm8rweA5wKx8edDl59uYTKNJPvZNLPUqVpNdrw2wS6dVeW2jVyybyQDtAnihimHwsStZ6DXJQSTaqNWYp7L8th86pUaPWKNsdjrxSxo8vPCBgEaG818Jc35qWhCQ6mVNSygEya4Pwvp5FJEfzqpSLsgtJxEYKlKOY3U6w5J4v6eoJP9jjoO+CAOzT0i76ZVOtMDkz1cz3grgIYWH2lwlyzolxNWL+ek6NobaQhOHHk0gR3XZqVAMUzzlhi4p4/zKNlnj+hKg7HsX4PPX2enA5nr7bQNIdKM7d6jYVPDlnYt6siFdmyKNafn8Kl12aRzfsvOf1sCy88WsBYnxvNLjWmSgmY6mVAKdSeGIPQVIuElpNHukCV1QnqoSmO17sctDZQzM1Hju3TAVfeMydPce35aSxo8q+NTTFs3Wlj98cORoY9pAmBU+bYfFEGpglkswRr1lo4tM+B4wEtSwx8+eJ0CE4KsJ4ikycxvyu4nB5iKA0ymGoxHA8PfDWJHf5aT5MQ83UjiGgEwpLL8WqnjY5jDu7YmMbGdgv7e1z8eEtRXj9jiYF1KyzJjl3heHlbGdt+Y4M7vrFyhf65cZ+5ZJmJVIagUmKYM5eicW48IihNcxQmWKiDrg2MDXjwpn0LOlPCVAdIgkgw9EE8qqXEOAlzKq4H9I0yPPJaCSYrhumFrEVx1gpLGhTJap+Hd3fb4J5v2jIWxep2E186Ny3ZC450ioQrBGF5BaD6Of4zXIdj3zYbxXERQRmYGmYoDjE/hcFJFJyT0JuSWgBDjQv0jcdq3zeFTAaP4IphdWcuRbBmWfTYN3aWJVtCyktaDWw6J43zzrLQUBdnSKw8gpxR3zEXe3dUsHKtBc/h+KzLQef2CgoTHIUhBl7yU4v+gCKfXSPnVA0wHkXo0USguQT1KYKL2y2sbTUwPMHwblcFo+NM9mnIESxShkU4+M5P/eXQkvkGbvtaDivbashU5GN7XDi2Lyq7xLFzaxmH9lbAKxyTQxwTxz2Ux6OEVLi60PwjAal6brUO6oxBjyYiv7O2NY1vXZjBvDyF43GsbjXx1FvTGBnnaJlLYJnR9LRtDwahOG+dJVcTtY5ikaNzn4OyzaQQRURULgNDxz0URjxMjwQZNaLGowdrwfhITR3U54nCwd3QxyhrFY89KRqzBHOy/vowZRKc127h7DZLRiymET2yUGJ+3hMiFR93K8EhAu59H1Vw6IATciIEUi4AAz0Mk2OCnYghIk1MFAMHVkPeSbmbTB1WLV4M5hVD6Wgi0aVzeNDFe7+toOT4Z0V00pTzAQtQQd90KghWge5eB+VKXMauC+ztsLFlS1laWyhVODHgYegEg+MEt5OQNckBISFrCJkjIGl/7Pphhnepug72aBGphqocS5j44egZ9fDEthJ2fOLgtPkGLALsPeIIeyNTFcUyRz5DsHSBEa4EOg+7eGt7GRdtTCOfJegf9LBnbwX7OhyUprhkqTDJ0NRAUS76iV7JXMxzkyii0nVQ/TYa7dHkfqKZ3Jeb6030TJN8W2ApwxV7GPH7EjwhnPdkBR98Aqn4wtoJNzBdZjjc62LD6RYWzzdw2hKK7mNMnn9zu40du8pIUQOuzWCLyMPhmBzlcEvATV/P4rUXSpo+kXANEfdzui+P1qOsabxH32ILcjKxFcm8cv+hwIJCSSeMHhCXnDhE5CHcQHCuVAE+POTAdvxM221X5tFYR+TWlgiwJwsEYxMMhWlgbJShp5fBoAQ33ZLD4f0upqbUO8PVTLT+pLq+VdVAqa73YDJ1SJMM4tP3d085PMZzmJ+ZaT9Zy1wLC9jR7WDPYUcCams1cfNXc1i8wFDXOUbHPRzt9VCuAGeus3D7N3LSD3buc0NOQr1ThiRigcStvFYOTry7J8kgUZkokf4WmZPGdCbT3PLD7pfy6Wyz3BTxeLTfx/1Qa6bd2rCPANZs4K4rc1jTZsqo51i/i479DrqPeDKxN6+B4ox2E+1tBjr2Onj1pTImh1V0wtR+I49+6+drlVRjefj+99r+yLbLwyKRILRFLDtNjT2RMHHtctle7xx6ewdbf/PCTJA9q7U+U5IO14vxCL93yMO/vjiNG76SxqXnZtC+xMSyFlOuKgLLa1eA558v4oNtFTjCsAQrFpUr9J/NYzpY7af9drlt/9v2lrKd3BzVPx4I8qLWXHd0+Ojy626oOIRmTIoU9UOjID9qqPjUUJog0wWaNbNtgvEpjr5Bhu17HOzqdOTrsmkip2LvcYa3ttp46ukiDuz3VBDuP4+qbWwZB3P1/LDtW9ZYW9zDmfvyyF8/2NP7W7EDLExXOdhSM3X21MnKjnd+1XP11Yfe/F939TW9kxwNJsEcE7IOrGioFxwo2ByeI+jnKJc4DC+aRmJABz7zcPjTYrQPqE85RJmjIJbkidVBbLOhRhvrDrz1/rOv92p7hSGLRmQm4unD9FBXt3vW16/xmJH2XLFiByaKHJMljolpjrECx3iBY3Kao1jikhnP8aUeK8oi+hsz+jUo5knIhn7tVIuRrkz97JM7Hhga6h9ReldSQAVIRjWheAq9mMflro6dg5tGXnoiynv6UmUyexalYOOWTa0+BLux/T+9L09YRl51PW4dZ28PLP/Fk11duwfVtLQTu72gCSPjKPSic+m/f/jt1y+xDr5JVDY7jE2DnR5t7yI4h2AVgoC9uB+jhIZ+S9/zjXwribXJLG26pvPNf/7JPa9peqdvZ7PADyIBMgAo4rrp9/7h+sc2pI7t8lkhCbZiyfTw9aGE1T1xPxb3ZSfTsZmK2X5k1yMvXPeYmpZFDaC+uxTbAE3GQLKUyyWUu17es37T9asGnYaWWXUjZE2V2HXyuXSsVsmuOLr3X9685gcjI0NC76Y03dPdRE2AyUOCLExNeid+/fOdF118WXMvW9geBEzyLwx8SbiPGC5veLCPF7ST19Vu8e9w3VrZseXR/7rikbHRER1cUXcNuoGdjcHYUanY7OA7z+356lmtw+PZ1Ws9bqYDPxTzW1zlSRRTp+LHTuW6mbKnJlp++sQ/PnvrzyuVyoRirpAAV7UePBmDVWpx4MPXjzUPvf3e+rPX1/c7C5eJzCbh0aKUhkzhC2kTxtzcio6t/7P39ofeeOc/OhSwmcDpn1/WZkrTv3DHV8WqOVXyquTWb7x48aqr7rv2KNtwYaGcbZotVvxdSzZXGrOadm9/e+dDr3Ts3d4XGD1tSuqGZcYPgaoAHjhSwuq2rL7OtIIPEwBkVclpvzOWZaU3X3f36ubTLz/TNle0F9zmllI5N9dzrDRhxIgHyjwRODMvYzh2LjU9ms4MDzB81n2kd8vHr7/x3AHXcezAZalS1H4HPs8JVhAffzrJzzytoabO1Tp0JsOP8VTJJEpaE4SZ+NKBzPKe+O5YPGQMg45EsWt9jDdD3rdWXjT2cmgPCNZZbuLlKa0kAdJTBMhqxcRasbXfVZ9TzgTuZAzqfXQ2DX3lkWAuCY7OYpl1A5b8jNlNMOnM9EHsbOBOFWASaNUnzRqw2OZjjU/FagEUh/5dtg4iYKrqk+aTAZMHgP8DwseYy0P8yUgAAAAASUVORK5CYII="},951:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAVNJREFUWEftltGRwjAMRKVOjko4KoGr5KCSu06gE+hkYTMyE5ATK2CTn3gmH5ko3peVvbHKzENn1pcF4CMOANiJyK+IXFR10297U4Ce8JeJEmDVHCAjnDTbAowIJ4BTkxYEhBPAv6r+VGvBBOGkuVfVw9sALwjXAQgIX0wprfrnoH3NgYAwhfYi8m3XUMJvVPUUbkFQmPMxXBg0BBgbMYAJwvwaruqtOVD6t61UNbWpq3VJCODvFpmMztLo+mmwfKc4bvVOLwdwjFoJgJazPjJcCmYdSDPZ5LxdGxBXNi0/0EYAvD9HlK1mGkBpYgAUH9puudddDI86EABAqebpuYvhTwO4EFoAajvAkw635NDCdClYE+De35Egawbg9jcA/heYpn03XAzXciC7ui3IGNEdRC6G3wVgv/n1D0es/t63tCQEQ+jhJJTqmh7LI0G1AMzuwBVqnaAhSR8MMgAAAABJRU5ErkJggg=="},793:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6M0YyMDhFRTY1OUUzMTFFRjlBN0NGODZCQ0M3RUY5QzAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6M0YyMDhFRTc1OUUzMTFFRjlBN0NGODZCQ0M3RUY5QzAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozRjIwOEVFNDU5RTMxMUVGOUE3Q0Y4NkJDQzdFRjlDMCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozRjIwOEVFNTU5RTMxMUVGOUE3Q0Y4NkJDQzdFRjlDMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Phk9awQAAADGSURBVHjaYvz//z8DJYAJl4RRLoMCECcQMoARmwtAmoHUfSB+AMLnJjM4kuqCeiBeAMQgjQ7keAGk6SAxYcCCQxzkhQNQGuSl/WjyB4DeasRqADTgFgAVPACyQSARTYk8EIPUNKIEIlCxA5L/4TbgCWBFkCUsSJr3Q0NdAWY6Hu+BYuYBeiCCBBVhUYfHAHto+OBPSATAA0oMAAXgQ6q5ABwL0ECcD5VwQPYjlgBkgIYVSkJ6gBTyC/FZDdS8gGBmIgUABBgAgktC2XC6NmEAAAAASUVORK5CYII="},632:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAOJJREFUOE+lk9sRwiAQRW8qkfzRhaSTpBLHSmInbhn8ZTvRXGZR8sCJykx+MuzZuwdo8OdqavXOBwcgaJTbpx67ACueACg/jdLVIDXAaAVXAJNGqSatAdidxfIr4AGgBUAPdwOVU8icig2wSeB86Oeis0YZssjV/KfZS69R2OANcD4E23hhx9xhLa8Q3GoUTQmsmFFpnbE7jcL5N8v2josE5U/nAwUSQNgegAkdR3yN8AMAC4lfAtIR5xtaOkhzHRiBgCE7WgBMIk9jV6AJZvx0hKWD9HCOPMz146re8SMw7nkC7MV4ERlYkdMAAAAASUVORK5CYII="},317:function(t){"use strict";t.exports=e},477:function(){}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e].call(i.exports,i,i.exports,r),i.exports}!function(){r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,{a:t}),t}}(),function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){r.p=""}();var o={};return function(){"use strict";r.r(o),r.d(o,{default:function(){return Ho}});var e={};if(r.r(e),r.d(e,{hasBrowserEnv:function(){return Xe},hasStandardBrowserEnv:function(){return Qe},hasStandardBrowserWebWorkerEnv:function(){return $e},navigator:function(){return qe},origin:function(){return et}}),"undefined"!==typeof window){var t=window.document.currentScript,n=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(r.p=n[1])}var i=function(){var e=this,t=e._self._c;return e.visible?t("div",{staticClass:"ai-contain"},[t("div",{staticClass:"bg-image"}),t("div",{staticClass:"ai-contain-header"},[t("div",{staticClass:"logo-title",on:{click:e.showHot}},[t("img",{staticStyle:{width:"48px",height:"48px"},attrs:{src:r(14),alt:""}}),t("span",{staticClass:"title-font"},[e._v("学习助手")])]),t("div",{staticClass:"icon-close",on:{click:e.closeMessage}},[t("i",{staticClass:"el-icon-close"})])]),e.courseFlag?[t("div",{staticClass:"ai-main-content"},[e.chatShow?e._e():t("hot-search",{on:{"select-module":e.selectModule}}),e.chatShow?t("chat",{ref:"chatRef",attrs:{resId:e.resId,chatId:e.chatId,"key-word":e.aiMessageKeyWord,"message-data":e.messageList,"chat-major-id":e.chatMajorId},on:{"on-reanser":e.reanserMethod,"on-message-finish":e.messageFinish}}):e._e()],1),t("div",{staticClass:"tools-wrap"},[t("span",{on:{click:e.addNewChat}},[e._v("新增对话")]),t("span",{on:{click:e.clearChat}},[e._v("清空对话")])]),t("div",{staticClass:"ai-message-send",on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.goChat.apply(null,arguments)}}},[t("el-input",{attrs:{type:"textarea",rows:2,placeholder:"可以提出问题..."},model:{value:e.aiMessage,callback:function(t){e.aiMessage=t},expression:"aiMessage"}}),t("div",{staticClass:"ai-send-icon",on:{click:e.goChat}},[t("img",{staticStyle:{width:"24px",height:"24px"},attrs:{src:r(951),alt:""}})])],1)]:e._e(),e.courseFlag?e._e():t("div",{staticClass:"message-wrap"},[t("div",{staticClass:"message-line"},[e._v(e._s(e.message))]),t("div",{staticClass:"message-line"},[e._v("不能交流")])])],2):e._e()},s=[],a=function(){var e=this;e._self._c;return e._m(0)},c=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"hot-search-contain"},[t("div",{staticClass:"robot"},[t("div",{staticClass:"robot-image-div"})]),t("div",{staticClass:"robot-message"},[t("p",[e._v("Hi,我是学习助手。")]),t("p",[e._v("在这里你可以获得专业、准确的课程讲解,包括对公式的深入理解和细腻的解答。")])])])}],l={name:"HotSearch",data(){return{aiMessage:[{value:"请解释一下牛顿第二定律的公式和物理意义。",id:1},{value:"电磁感应定律是如何描述的?请给出相关公式并解释。",id:2},{value:"在光学中,光的干涉现象是如何产生的?能否用公式来表示?",id:3}]}},methods:{selectModule(e){this.$emit("select-module",e)}}},u=l;function h(e,t,n,r,o,i,s,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:e,options:l}}var f=h(u,a,c,!1,null,"73bfe44c",null),d=f.exports,p=function(){var e=this,t=e._self._c;return t("div",{ref:"chatContainer",staticClass:"chat-contain"},e._l(e.messageData,(function(n,r){return t("div",{key:r,staticClass:"message",class:{"user-list":"user"===n.type}},["robot"===n.type?t("div",{staticClass:"robot"},[t("div",{staticClass:"robot-image-div"})]):t("div",{staticClass:"robot user"},[e._v("user")]),t("div",{staticClass:"robot-message",class:{"user-info":"user"===n.type}},[t("div",{domProps:{innerHTML:e._s(n.message)}}),"robot"===n.type&&n.links.length>0?t("div",{staticClass:"link"},[t("div",{staticClass:"link-title"},[e._v("相关链接")]),t("div",{staticClass:"link-content"},[e._l(n.links,(function(n){return[n.title.startsWith(e.chatMajorId)?e._e():t("div",{staticClass:"links"},[t("a",{attrs:{href:"https://ai-yuliao.hep.com.cn"+n.documentUrl,target:"_blank"}},[t("span",[e._v(e._s(n.title))])])])]}))],2)]):e._e(),"robot"===n.type?t("chat-tools",{attrs:{chatId:e.chatId,"detail-data":n,sending:n.sending},on:{"on-reanswer":t=>e.reanswer(t,r),"on-stop-chat":e.onStopChat}}):e._e()],1)])})),0)},g=[];function m(e,t){return function(){return e.apply(t,arguments)}}const{toString:y}=Object.prototype,{getPrototypeOf:v}=Object,A=(e=>t=>{const n=y.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),w=e=>(e=e.toLowerCase(),t=>A(t)===e),b=e=>t=>typeof t===e,{isArray:S}=Array,_=b("undefined");function B(e){return null!==e&&!_(e)&&null!==e.constructor&&!_(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const E=w("ArrayBuffer");function x(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer),t}const C=b("string"),R=b("function"),k=b("number"),O=e=>null!==e&&"object"===typeof e,T=e=>!0===e||!1===e,I=e=>{if("object"!==A(e))return!1;const t=v(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},D=w("Date"),U=w("File"),j=w("Blob"),N=w("FileList"),P=e=>O(e)&&R(e.pipe),z=e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||R(e.append)&&("formdata"===(t=A(e))||"object"===t&&R(e.toString)&&"[object FormData]"===e.toString()))},M=w("URLSearchParams"),[F,L,H,J]=["ReadableStream","Request","Response","Headers"].map(w),W=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function V(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,o;if("object"!==typeof e&&(e=[e]),S(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let s;for(r=0;r<i;r++)s=o[r],t.call(null,e[s],s,e)}}function G(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;while(o-- >0)if(r=n[o],t===r.toLowerCase())return r;return null}const Y=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),Z=e=>!_(e)&&e!==Y;function K(){const{caseless:e}=Z(this)&&this||{},t={},n=(n,r)=>{const o=e&&G(t,r)||r;I(t[o])&&I(n)?t[o]=K(t[o],n):I(n)?t[o]=K({},n):S(n)?t[o]=n.slice():t[o]=n};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&V(arguments[r],n);return t}const X=(e,t,n,{allOwnKeys:r}={})=>(V(t,((t,r)=>{n&&R(t)?e[r]=m(t,n):e[r]=t}),{allOwnKeys:r}),e),q=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),Q=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},$=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},null==e)return t;do{o=Object.getOwnPropertyNames(e),i=o.length;while(i-- >0)s=o[i],r&&!r(s,e,t)||a[s]||(t[s]=e[s],a[s]=!0);e=!1!==n&&v(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ee=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},te=e=>{if(!e)return null;if(S(e))return e;let t=e.length;if(!k(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},ne=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&v(Uint8Array)),re=(e,t)=>{const n=e&&e[Symbol.iterator],r=n.call(e);let o;while((o=r.next())&&!o.done){const n=o.value;t.call(e,n[0],n[1])}},oe=(e,t)=>{let n;const r=[];while(null!==(n=e.exec(t)))r.push(n);return r},ie=w("HTMLFormElement"),se=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),ae=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ce=w("RegExp"),le=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};V(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},ue=e=>{le(e,((t,n)=>{if(R(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];R(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},he=(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return S(e)?r(e):r(String(e).split(t)),n},fe=()=>{},de=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,pe="abcdefghijklmnopqrstuvwxyz",ge="0123456789",me={DIGIT:ge,ALPHA:pe,ALPHA_DIGIT:pe+pe.toUpperCase()+ge},ye=(e=16,t=me.ALPHA_DIGIT)=>{let n="";const{length:r}=t;while(e--)n+=t[Math.random()*r|0];return n};function ve(e){return!!(e&&R(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])}const Ae=e=>{const t=new Array(10),n=(e,r)=>{if(O(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=S(e)?[]:{};return V(e,((e,t)=>{const i=n(e,r+1);!_(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},we=w("AsyncFunction"),be=e=>e&&(O(e)||R(e))&&R(e.then)&&R(e.catch),Se=((e,t)=>e?setImmediate:t?((e,t)=>(Y.addEventListener("message",(({source:n,data:r})=>{n===Y&&r===e&&t.length&&t.shift()()}),!1),n=>{t.push(n),Y.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))("function"===typeof setImmediate,R(Y.postMessage)),_e="undefined"!==typeof queueMicrotask?queueMicrotask.bind(Y):"undefined"!==typeof process&&process.nextTick||Se;var Be={isArray:S,isArrayBuffer:E,isBuffer:B,isFormData:z,isArrayBufferView:x,isString:C,isNumber:k,isBoolean:T,isObject:O,isPlainObject:I,isReadableStream:F,isRequest:L,isResponse:H,isHeaders:J,isUndefined:_,isDate:D,isFile:U,isBlob:j,isRegExp:ce,isFunction:R,isStream:P,isURLSearchParams:M,isTypedArray:ne,isFileList:N,forEach:V,merge:K,extend:X,trim:W,stripBOM:q,inherits:Q,toFlatObject:$,kindOf:A,kindOfTest:w,endsWith:ee,toArray:te,forEachEntry:re,matchAll:oe,isHTMLForm:ie,hasOwnProperty:ae,hasOwnProp:ae,reduceDescriptors:le,freezeMethods:ue,toObjectSet:he,toCamelCase:se,noop:fe,toFiniteNumber:de,findKey:G,global:Y,isContextDefined:Z,ALPHABET:me,generateString:ye,isSpecCompliantForm:ve,toJSONObject:Ae,isAsyncFn:we,isThenable:be,setImmediate:Se,asap:_e};function Ee(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Be.inherits(Ee,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Be.toJSONObject(this.config),code:this.code,status:this.status}}});const xe=Ee.prototype,Ce={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Ce[e]={value:e}})),Object.defineProperties(Ee,Ce),Object.defineProperty(xe,"isAxiosError",{value:!0}),Ee.from=(e,t,n,r,o,i)=>{const s=Object.create(xe);return Be.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Ee.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};var Re=Ee,ke=null;function Oe(e){return Be.isPlainObject(e)||Be.isArray(e)}function Te(e){return Be.endsWith(e,"[]")?e.slice(0,-2):e}function Ie(e,t,n){return e?e.concat(t).map((function(e,t){return e=Te(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}function De(e){return Be.isArray(e)&&!e.some(Oe)}const Ue=Be.toFlatObject(Be,{},null,(function(e){return/^is[A-Z]/.test(e)}));function je(e,t,n){if(!Be.isObject(e))throw new TypeError("target must be an object");t=t||new(ke||FormData),n=Be.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Be.isUndefined(t[e])}));const r=n.metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,a=n.Blob||"undefined"!==typeof Blob&&Blob,c=a&&Be.isSpecCompliantForm(t);if(!Be.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Be.isDate(e))return e.toISOString();if(!c&&Be.isBlob(e))throw new Re("Blob is not supported. Use a Buffer instead.");return Be.isArrayBuffer(e)||Be.isTypedArray(e)?c&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let a=e;if(e&&!o&&"object"===typeof e)if(Be.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Be.isArray(e)&&De(e)||(Be.isFileList(e)||Be.endsWith(n,"[]"))&&(a=Be.toArray(e)))return n=Te(n),a.forEach((function(e,r){!Be.isUndefined(e)&&null!==e&&t.append(!0===s?Ie([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!Oe(e)||(t.append(Ie(o,n,i),l(e)),!1)}const h=[],f=Object.assign(Ue,{defaultVisitor:u,convertValue:l,isVisitable:Oe});function d(e,n){if(!Be.isUndefined(e)){if(-1!==h.indexOf(e))throw Error("Circular reference detected in "+n.join("."));h.push(e),Be.forEach(e,(function(e,r){const i=!(Be.isUndefined(e)||null===e)&&o.call(t,e,Be.isString(r)?r.trim():r,n,f);!0===i&&d(e,n?n.concat(r):[r])})),h.pop()}}if(!Be.isObject(e))throw new TypeError("data must be an object");return d(e),t}var Ne=je;function Pe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ze(e,t){this._pairs=[],e&&Ne(e,this,t)}const Me=ze.prototype;Me.append=function(e,t){this._pairs.push([e,t])},Me.toString=function(e){const t=e?function(t){return e.call(this,t,Pe)}:Pe;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Fe=ze;function Le(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function He(e,t,n){if(!t)return e;const r=n&&n.encode||Le,o=n&&n.serialize;let i;if(i=o?o(t,n):Be.isURLSearchParams(t)?t.toString():new Fe(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}class Je{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Be.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var We=Je,Ve={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ge="undefined"!==typeof URLSearchParams?URLSearchParams:Fe,Ye="undefined"!==typeof FormData?FormData:null,Ze="undefined"!==typeof Blob?Blob:null,Ke={isBrowser:!0,classes:{URLSearchParams:Ge,FormData:Ye,Blob:Ze},protocols:["http","https","file","blob","url","data"]};const Xe="undefined"!==typeof window&&"undefined"!==typeof document,qe="object"===typeof navigator&&navigator||void 0,Qe=Xe&&(!qe||["ReactNative","NativeScript","NS"].indexOf(qe.product)<0),$e=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),et=Xe&&window.location.href||"http://localhost";var tt={...e,...Ke};function nt(e,t){return Ne(e,new tt.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return tt.isNode&&Be.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function rt(e){return Be.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function ot(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function it(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;if(i=!i&&Be.isArray(r)?r.length:i,a)return Be.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&Be.isObject(r[i])||(r[i]=[]);const c=t(e,n,r[i],o);return c&&Be.isArray(r[i])&&(r[i]=ot(r[i])),!s}if(Be.isFormData(e)&&Be.isFunction(e.entries)){const n={};return Be.forEachEntry(e,((e,r)=>{t(rt(e),r,n,0)})),n}return null}var st=it;function at(e,t,n){if(Be.isString(e))try{return(t||JSON.parse)(e),Be.trim(e)}catch(xr){if("SyntaxError"!==xr.name)throw xr}return(n||JSON.stringify)(e)}const ct={transitional:Ve,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Be.isObject(e);o&&Be.isHTMLForm(e)&&(e=new FormData(e));const i=Be.isFormData(e);if(i)return r?JSON.stringify(st(e)):e;if(Be.isArrayBuffer(e)||Be.isBuffer(e)||Be.isStream(e)||Be.isFile(e)||Be.isBlob(e)||Be.isReadableStream(e))return e;if(Be.isArrayBufferView(e))return e.buffer;if(Be.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return nt(e,this.formSerializer).toString();if((s=Be.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Ne(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),at(e)):e}],transformResponse:[function(e){const t=this.transitional||ct.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Be.isResponse(e)||Be.isReadableStream(e))return e;if(e&&Be.isString(e)&&(n&&!this.responseType||r)){const n=t&&t.silentJSONParsing,o=!n&&r;try{return JSON.parse(e)}catch(xr){if(o){if("SyntaxError"===xr.name)throw Re.from(xr,Re.ERR_BAD_RESPONSE,this,null,this.response);throw xr}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tt.classes.FormData,Blob:tt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Be.forEach(["delete","get","head","post","put","patch"],(e=>{ct.headers[e]={}}));var lt=ct;const ut=Be.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var ht=e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&ut[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t};const ft=Symbol("internals");function dt(e){return e&&String(e).trim().toLowerCase()}function pt(e){return!1===e||null==e?e:Be.isArray(e)?e.map(pt):String(e)}function gt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(e))t[r[1]]=r[2];return t}const mt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function yt(e,t,n,r,o){return Be.isFunction(r)?r.call(this,t,n):(o&&(t=n),Be.isString(t)?Be.isString(r)?-1!==t.indexOf(r):Be.isRegExp(r)?r.test(t):void 0:void 0)}function vt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function At(e,t){const n=Be.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}class wt{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=dt(t);if(!o)throw new Error("header name must be a non-empty string");const i=Be.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=pt(e))}const i=(e,t)=>Be.forEach(e,((e,n)=>o(e,n,t)));if(Be.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Be.isString(e)&&(e=e.trim())&&!mt(e))i(ht(e),t);else if(Be.isHeaders(e))for(const[s,a]of e.entries())o(a,s,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=dt(e),e){const n=Be.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return gt(e);if(Be.isFunction(t))return t.call(this,e,n);if(Be.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=dt(e),e){const n=Be.findKey(this,e);return!(!n||void 0===this[n]||t&&!yt(this,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=dt(e),e){const o=Be.findKey(n,e);!o||t&&!yt(n,n[o],o,t)||(delete n[o],r=!0)}}return Be.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;while(n--){const o=t[n];e&&!yt(this,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Be.forEach(this,((r,o)=>{const i=Be.findKey(n,o);if(i)return t[i]=pt(r),void delete t[o];const s=e?vt(o):String(o).trim();s!==o&&delete t[o],t[s]=pt(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Be.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Be.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=this[ft]=this[ft]={accessors:{}},n=t.accessors,r=this.prototype;function o(e){const t=dt(e);n[t]||(At(r,e),n[t]=!0)}return Be.isArray(e)?e.forEach(o):o(e),this}}wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Be.reduceDescriptors(wt.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Be.freezeMethods(wt);var bt=wt;function St(e,t){const n=this||lt,r=t||n,o=bt.from(r.headers);let i=r.data;return Be.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function _t(e){return!(!e||!e.__CANCEL__)}function Bt(e,t,n){Re.call(this,null==e?"canceled":e,Re.ERR_CANCELED,t,n),this.name="CanceledError"}Be.inherits(Bt,Re,{__CANCEL__:!0});var Et=Bt;function xt(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Re("Request failed with status code "+n.status,[Re.ERR_BAD_REQUEST,Re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Ct(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Rt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),l=r[s];o||(o=c),n[i]=a,r[i]=c;let u=s,h=0;while(u!==i)h+=n[u++],u%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-o<t)return;const f=l&&c-l;return f?Math.round(1e3*h/f):void 0}}var kt=Rt;function Ot(e,t){let n,r,o=0,i=1e3/t;const s=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)},a=(...e)=>{const t=Date.now(),a=t-o;a>=i?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},c=()=>n&&s(n);return[a,c]}var Tt=Ot;const It=(e,t,n=3)=>{let r=0;const o=kt(50,250);return Tt((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,c=o(a),l=i<=s;r=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&l?(s-i)/c:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0};e(u)}),n)},Dt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ut=e=>(...t)=>Be.asap((()=>e(...t)));var jt=tt.hasStandardBrowserEnv?function(){const e=tt.navigator&&/(msie|trident)/i.test(tt.navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=Be.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}(),Nt=tt.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];Be.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Be.isString(r)&&s.push("path="+r),Be.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Pt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Mt(e,t){return e&&!Pt(t)?zt(e,t):t}const Ft=e=>e instanceof bt?{...e}:e;function Lt(e,t){t=t||{};const n={};function r(e,t,n){return Be.isPlainObject(e)&&Be.isPlainObject(t)?Be.merge.call({caseless:n},e,t):Be.isPlainObject(t)?Be.merge({},t):Be.isArray(t)?t.slice():t}function o(e,t,n){return Be.isUndefined(t)?Be.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Be.isUndefined(t))return r(void 0,t)}function s(e,t){return Be.isUndefined(t)?Be.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>o(Ft(e),Ft(t),!0)};return Be.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=c[r]||o,s=i(e[r],t[r],r);Be.isUndefined(s)&&i!==a||(n[r]=s)})),n}var Ht=e=>{const t=Lt({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:c}=t;if(t.headers=a=bt.from(a),t.url=He(Mt(t.baseURL,t.url),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Be.isFormData(r))if(tt.hasStandardBrowserEnv||tt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(tt.hasStandardBrowserEnv&&(o&&Be.isFunction(o)&&(o=o(t)),o||!1!==o&&jt(t.url))){const e=i&&s&&Nt.read(s);e&&a.set(i,e)}return t};const Jt="undefined"!==typeof XMLHttpRequest;var Wt=Jt&&function(e){return new Promise((function(t,n){const r=Ht(e);let o=r.data;const i=bt.from(r.headers).normalize();let s,a,c,l,u,{responseType:h,onUploadProgress:f,onDownloadProgress:d}=r;function p(){l&&l(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=bt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),o=h&&"text"!==h&&"json"!==h?g.response:g.responseText,i={data:o,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};xt((function(e){t(e),p()}),(function(e){n(e),p()}),i),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new Re("Request aborted",Re.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new Re("Network Error",Re.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Ve;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Re(t,o.clarifyTimeoutError?Re.ETIMEDOUT:Re.ECONNABORTED,e,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&Be.forEach(i.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),Be.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),h&&"json"!==h&&(g.responseType=r.responseType),d&&([c,u]=It(d,!0),g.addEventListener("progress",c)),f&&g.upload&&([a,l]=It(f),g.upload.addEventListener("progress",a),g.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(s=t=>{g&&(n(!t||t.type?new Et(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const y=Ct(r.url);y&&-1===tt.protocols.indexOf(y)?n(new Re("Unsupported protocol "+y+":",Re.ERR_BAD_REQUEST,e)):g.send(o||null)}))};const Vt=(e,t)=>{let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Re?t:new Et(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{o(new Re(`timeout ${t} of ms exceeded`,Re.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",o):e.unsubscribe(o))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=s,[a,()=>{i&&clearTimeout(i),i=null}]};var Gt=Vt;const Yt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;while(o<n)r=o+t,yield e.slice(o,r),o=r},Zt=async function*(e,t,n){for await(const r of e)yield*Yt(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Kt=(e,t,n,r,o)=>{const i=Zt(e,t,o);let s,a=0,c=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return c(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw c(t),t}},cancel(e){return c(e),i.return()}},{highWaterMark:2})},Xt="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,qt=Xt&&"function"===typeof ReadableStream,Qt=Xt&&("function"===typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),$t=(e,...t)=>{try{return!!e(...t)}catch(xr){return!1}},en=qt&&$t((()=>{let e=!1;const t=new Request(tt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),tn=65536,nn=qt&&$t((()=>Be.isReadableStream(new Response("").body))),rn={stream:nn&&(e=>e.body)};Xt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!rn[t]&&(rn[t]=Be.isFunction(e[t])?e=>e[t]():(e,n)=>{throw new Re(`Response type '${t}' is not supported`,Re.ERR_NOT_SUPPORT,n)})}))})(new Response);const on=async e=>null==e?0:Be.isBlob(e)?e.size:Be.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:Be.isArrayBufferView(e)||Be.isArrayBuffer(e)?e.byteLength:(Be.isURLSearchParams(e)&&(e+=""),Be.isString(e)?(await Qt(e)).byteLength:void 0),sn=async(e,t)=>{const n=Be.toFiniteNumber(e.getContentLength());return null==n?on(t):n};var an=Xt&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:u,withCredentials:h="same-origin",fetchOptions:f}=Ht(e);l=l?(l+"").toLowerCase():"text";let d,p,[g,m]=o||i||s?Gt([o,i],s):[];const y=()=>{!d&&setTimeout((()=>{g&&g.unsubscribe()})),d=!0};let v;try{if(c&&en&&"get"!==n&&"head"!==n&&0!==(v=await sn(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Be.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Dt(v,It(Ut(c)));r=Kt(n.body,tn,e,t,Qt)}}Be.isString(h)||(h=h?"include":"omit");const o="credentials"in Request.prototype;p=new Request(t,{...f,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?h:void 0});let i=await fetch(p);const s=nn&&("stream"===l||"response"===l);if(nn&&(a||s)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Be.toFiniteNumber(i.headers.get("content-length")),[n,r]=a&&Dt(t,It(Ut(a),!0))||[];i=new Response(Kt(i.body,tn,n,(()=>{r&&r(),s&&y()}),Qt),e)}l=l||"text";let d=await rn[Be.findKey(rn,l)||"text"](i,e);return!s&&y(),m&&m(),await new Promise(((t,n)=>{xt(t,n,{data:d,headers:bt.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:p})}))}catch(A){if(y(),A&&"TypeError"===A.name&&/fetch/i.test(A.message))throw Object.assign(new Re("Network Error",Re.ERR_NETWORK,e,p),{cause:A.cause||A});throw Re.from(A,A&&A.code,e,p)}});const cn={http:ke,xhr:Wt,fetch:an};Be.forEach(cn,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(xr){}Object.defineProperty(e,"adapterName",{value:t})}}));const ln=e=>`- ${e}`,un=e=>Be.isFunction(e)||null===e||!1===e;var hn={getAdapter:e=>{e=Be.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!un(n)&&(r=cn[(t=String(n)).toLowerCase()],void 0===r))throw new Re(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(ln).join("\n"):" "+ln(e[0]):"as no adapter specified";throw new Re("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r},adapters:cn};function fn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Et(null,e)}function dn(e){fn(e),e.headers=bt.from(e.headers),e.data=St.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=hn.getAdapter(e.adapter||lt.adapter);return t(e).then((function(t){return fn(e),t.data=St.call(e,e.transformResponse,t),t.headers=bt.from(t.headers),t}),(function(t){return _t(t)||(fn(e),t&&t.response&&(t.response.data=St.call(e,e.transformResponse,t.response),t.response.headers=bt.from(t.response.headers))),Promise.reject(t)}))}const pn="1.7.5",gn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{gn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const mn={};function yn(e,t,n){if("object"!==typeof e)throw new Re("options must be an object",Re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;while(o-- >0){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new Re("option "+i+" must be "+n,Re.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Re("Unknown option "+i,Re.ERR_BAD_OPTION)}}gn.transitional=function(e,t,n){function r(e,t){return"[Axios v"+pn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Re(r(o," has been removed"+(t?" in "+t:"")),Re.ERR_DEPRECATED);return t&&!mn[o]&&(mn[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var vn={assertOptions:yn,validators:gn};const An=vn.validators;class wn{constructor(e){this.defaults=e,this.interceptors={request:new We,response:new We}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(xr){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=Lt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&vn.assertOptions(n,{silentJSONParsing:An.transitional(An.boolean),forcedJSONParsing:An.transitional(An.boolean),clarifyTimeoutError:An.transitional(An.boolean)},!1),null!=r&&(Be.isFunction(r)?t.paramsSerializer={serialize:r}:vn.assertOptions(r,{encode:An.function,serialize:An.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Be.merge(o.common,o[t.method]);o&&Be.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=bt.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let u,h=0;if(!a){const e=[dn.bind(this),void 0];e.unshift.apply(e,s),e.push.apply(e,c),u=e.length,l=Promise.resolve(t);while(h<u)l=l.then(e[h++],e[h++]);return l}u=s.length;let f=t;h=0;while(h<u){const e=s[h++],t=s[h++];try{f=e(f)}catch(d){t.call(this,d);break}}try{l=dn.call(this,f)}catch(d){return Promise.reject(d)}h=0,u=c.length;while(h<u)l=l.then(c[h++],c[h++]);return l}getUri(e){e=Lt(this.defaults,e);const t=Mt(e.baseURL,e.url);return He(t,e.params,e.paramsSerializer)}}Be.forEach(["delete","get","head","options"],(function(e){wn.prototype[e]=function(t,n){return this.request(Lt(n||{},{method:e,url:t,data:(n||{}).data}))}})),Be.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Lt(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}wn.prototype[e]=t(),wn.prototype[e+"Form"]=t(!0)}));var bn=wn;class Sn{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Et(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Sn((function(t){e=t}));return{token:t,cancel:e}}}var _n=Sn;function Bn(e){return function(t){return e.apply(null,t)}}function En(e){return Be.isObject(e)&&!0===e.isAxiosError}const xn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(xn).forEach((([e,t])=>{xn[t]=e}));var Cn=xn;function Rn(e){const t=new bn(e),n=m(bn.prototype.request,t);return Be.extend(n,bn.prototype,t,{allOwnKeys:!0}),Be.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Rn(Lt(e,t))},n}const kn=Rn(lt);kn.Axios=bn,kn.CanceledError=Et,kn.CancelToken=_n,kn.isCancel=_t,kn.VERSION=pn,kn.toFormData=Ne,kn.AxiosError=Re,kn.Cancel=kn.CanceledError,kn.all=function(e){return Promise.all(e)},kn.spread=Bn,kn.isAxiosError=En,kn.mergeConfig=Lt,kn.AxiosHeaders=bt,kn.formToJSON=e=>st(Be.isHTMLForm(e)?new FormData(e):e),kn.getAdapter=hn.getAdapter,kn.HttpStatusCode=Cn,kn.default=kn;var On=kn;const Tn={set(e,t){sessionStorage&&null!=e&&null!=t&&sessionStorage.setItem(e,t)},get(e){return sessionStorage?null==e?null:sessionStorage.getItem(e):null},setJSON(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON(e){const t=this.get(e);if(null!=t)return JSON.parse(t)},remove(e){sessionStorage.removeItem(e)}},In={set(e,t){localStorage&&null!=e&&null!=t&&localStorage.setItem(e,t)},get(e){return localStorage?null==e?null:localStorage.getItem(e):null},setJSON(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON(e){const t=this.get(e);if(null!=t)return JSON.parse(t)},remove(e){localStorage.removeItem(e)}};var Dn={session:Tn,local:In},Un=r(317),jn=r(396),Nn=r.n(jn);const Pn="3.7.7",zn=Pn,Mn="function"===typeof Buffer,Fn="function"===typeof TextDecoder?new TextDecoder:void 0,Ln="function"===typeof TextEncoder?new TextEncoder:void 0,Hn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Jn=Array.prototype.slice.call(Hn),Wn=(e=>{let t={};return e.forEach(((e,n)=>t[e]=n)),t})(Jn),Vn=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Gn=String.fromCharCode.bind(String),Yn="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Zn=e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_")),Kn=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Xn=e=>{let t,n,r,o,i="";const s=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=Jn[t>>18&63]+Jn[t>>12&63]+Jn[t>>6&63]+Jn[63&t]}return s?i.slice(0,s-3)+"===".substring(s):i},qn="function"===typeof btoa?e=>btoa(e):Mn?e=>Buffer.from(e,"binary").toString("base64"):Xn,Qn=Mn?e=>Buffer.from(e).toString("base64"):e=>{const t=4096;let n=[];for(let r=0,o=e.length;r<o;r+=t)n.push(Gn.apply(null,e.subarray(r,r+t)));return qn(n.join(""))},$n=(e,t=!1)=>t?Zn(Qn(e)):Qn(e),er=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Gn(192|t>>>6)+Gn(128|63&t):Gn(224|t>>>12&15)+Gn(128|t>>>6&63)+Gn(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Gn(240|t>>>18&7)+Gn(128|t>>>12&63)+Gn(128|t>>>6&63)+Gn(128|63&t)},tr=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,nr=e=>e.replace(tr,er),rr=Mn?e=>Buffer.from(e,"utf8").toString("base64"):Ln?e=>Qn(Ln.encode(e)):e=>qn(nr(e)),or=(e,t=!1)=>t?Zn(rr(e)):rr(e),ir=e=>or(e,!0),sr=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ar=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return Gn(55296+(n>>>10))+Gn(56320+(1023&n));case 3:return Gn((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Gn((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},cr=e=>e.replace(sr,ar),lr=e=>{if(e=e.replace(/\s+/g,""),!Vn.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,o="";for(let i=0;i<e.length;)t=Wn[e.charAt(i++)]<<18|Wn[e.charAt(i++)]<<12|(n=Wn[e.charAt(i++)])<<6|(r=Wn[e.charAt(i++)]),o+=64===n?Gn(t>>16&255):64===r?Gn(t>>16&255,t>>8&255):Gn(t>>16&255,t>>8&255,255&t);return o},ur="function"===typeof atob?e=>atob(Kn(e)):Mn?e=>Buffer.from(e,"base64").toString("binary"):lr,hr=Mn?e=>Yn(Buffer.from(e,"base64")):e=>Yn(ur(e).split("").map((e=>e.charCodeAt(0)))),fr=e=>hr(pr(e)),dr=Mn?e=>Buffer.from(e,"base64").toString("utf8"):Fn?e=>Fn.decode(hr(e)):e=>cr(ur(e)),pr=e=>Kn(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))),gr=e=>dr(pr(e)),mr=e=>{if("string"!==typeof e)return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},yr=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),vr=function(){const e=(e,t)=>Object.defineProperty(String.prototype,e,yr(t));e("fromBase64",(function(){return gr(this)})),e("toBase64",(function(e){return or(this,e)})),e("toBase64URI",(function(){return or(this,!0)})),e("toBase64URL",(function(){return or(this,!0)})),e("toUint8Array",(function(){return fr(this)}))},Ar=function(){const e=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,yr(t));e("toBase64",(function(e){return $n(this,e)})),e("toBase64URI",(function(){return $n(this,!0)})),e("toBase64URL",(function(){return $n(this,!0)}))},wr=()=>{vr(),Ar()},br={version:Pn,VERSION:zn,atob:ur,atobPolyfill:lr,btoa:qn,btoaPolyfill:Xn,fromBase64:gr,toBase64:or,encode:or,encodeURI:ir,encodeURL:ir,utob:nr,btou:cr,decode:gr,isValid:mr,fromUint8Array:$n,toUint8Array:fr,extendString:vr,extendUint8Array:Ar,extendBuiltins:wr},Sr="RU5D",_r="ODE",Br="AE",Er="S_K",xr="RVkx",Cr=br.decode(Sr).concat(_r,"_",Br,Er,br.decode(xr),"6"),Rr="d3d3",kr="w.e",Or="mru",Tr="bik",Ir="Y29t",Dr=br.decode(Rr).concat(kr,Or,Tr,".",br.decode(Ir)),Ur=Nn().enc.Utf8.parse(Cr),jr=Nn().enc.Utf8.parse(Dr);function Nr(e){const t="Hello, World!",n=br.encode(t);br.decode(n);let r=Nn().enc.Base64.parse(e),o=Nn().enc.Base64.stringify(r),i=Nn().AES.decrypt(o,Ur,{iv:jr,mode:Nn().mode.CBC,padding:Nn().pad.Pkcs7}),s=i.toString(Nn().enc.Utf8);return s.toString()}let Pr="601a39a2a4a7cd88d5ddcef5";const zr=["/home","/overview"];"aliyun"==={NODE_ENV:"production",BASE_URL:""}.VITE_APP_BUILD_TYPE&&(Pr="6572ba195ec962924cc39951");var Mr={"X-Enterprise-Id":"www.hep-zj.com.cn","X-App-Id":"90403a27c0704259ab7a3c8aab4489b3","X-App-Secret":"bc11ce7c44824fcaa23ff301a54b7094",appId:Pr,whiteList:zr,publicPath:"https://agent.icve.com.cn/heatp-portal/do/",publicPrefix:"/heatp"};const Fr=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_BASE_URL");On.defaults.headers["Content-Type"]="application/json;charset=utf-8";const Lr=On.create({baseURL:Fr||Mr.publicPath,timeout:8e4});Lr.interceptors.request.use((e=>{Dn.session.getJSON("SRKJ_TOKEN_CACHE")&&(e.headers["X-Id-Token"]=Dn.session.getJSON("SRKJ_TOKEN_CACHE"));const t=!1===(e.headers||{}).repeatSubmit;if(!t&&("post"===e.method||"put"===e.method)){const t={url:e.url,data:"object"===typeof e.data?JSON.stringify(e.data):e.data,time:(new Date).getTime()},n=Dn.session.getJSON("sessionObj");if(void 0===n||null===n||""===n)Dn.session.setJSON("sessionObj",t);else{const e=n.url,r=n.data,o=n.time,i=100;r===t.data&&t.time-o<i&&e===t.url||Dn.session.setJSON("sessionObj",t)}}return e}),(e=>{Promise.reject(e)})),Lr.interceptors.response.use((e=>{if("blob"===e.request.responseType||"arraybuffer"===e.request.responseType)return e.data;let t=e.data;if(t){const e=Nr(t);try{t=JSON.parse(e)}catch(xr){}}if(401!==e.status)return t.resultCode.endsWith("0000")||Un.Message.warning(t.message.description),t.queryData||t.data||t.token;Un.Message.warning(t.message.description)}));var Hr=Lr;async function Jr(e,t){const n=e.getReader();let r;while(!(r=await n.read()).done)t(r.value)}function Wr(e){let t,n,r,o=!1;return function(i){void 0===t?(t=i,n=0,r=-1):t=Gr(t,i);const s=t.length;let a=0;while(n<s){o&&(10===t[n]&&(a=++n),o=!1);let i=-1;for(;n<s&&-1===i;++n)switch(t[n]){case 58:-1===r&&(r=n-a);break;case 13:o=!0;case 10:i=n;break}if(-1===i)break;e(t.subarray(a,i),r),a=n,r=-1}a===s?t=void 0:0!==a&&(t=t.subarray(a),n-=a)}}function Vr(e,t,n){let r=Yr();const o=new TextDecoder;return function(i,s){if(0===i.length)null===n||void 0===n||n(r),r=Yr();else if(s>0){const n=o.decode(i.subarray(0,s)),a=s+(32===i[s+1]?2:1),c=o.decode(i.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":e(r.id=c);break;case"retry":const n=parseInt(c,10);isNaN(n)||t(r.retry=n);break}}}}function Gr(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function Yr(){return{data:"",event:"",id:"",retry:void 0}}var Zr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Kr="text/event-stream",Xr=1e3,qr="last-event-id";function Qr(e,t){var{signal:n,headers:r,onopen:o,onmessage:i,onclose:s,onerror:a,openWhenHidden:c,fetch:l}=t,u=Zr(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise(((t,h)=>{const f=Object.assign({},r);let d;function p(){d.abort(),document.hidden||w()}f.accept||(f.accept=Kr),c||document.addEventListener("visibilitychange",p);let g=Xr,m=0;function y(){document.removeEventListener("visibilitychange",p),window.clearTimeout(m),d.abort()}null===n||void 0===n||n.addEventListener("abort",(()=>{y(),t()}));const v=null!==l&&void 0!==l?l:window.fetch,A=null!==o&&void 0!==o?o:$r;async function w(){var n;d=new AbortController;try{const n=await v(e,Object.assign(Object.assign({},u),{headers:f,signal:d.signal}));await A(n),await Jr(n.body,Wr(Vr((e=>{e?f[qr]=e:delete f[qr]}),(e=>{g=e}),i))),null===s||void 0===s||s(),y(),t()}catch(r){if(!d.signal.aborted)try{const e=null!==(n=null===a||void 0===a?void 0:a(r))&&void 0!==n?n:g;window.clearTimeout(m),m=window.setTimeout(w,e)}catch(o){y(),h(o)}}}w()}))}function $r(e){const t=e.headers.get("content-type");if(!(null===t||void 0===t?void 0:t.startsWith(Kr)))throw new Error(`Expected content-type to be ${Kr}, Actual: ${t}`)}const eo=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_BASE_URL")||Mr.publicPath,to=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_PRE_FIX")||Mr.publicPrefix,no=e=>Hr({url:to+"/sso/assistant",method:"get",params:{token:e}}),ro=e=>Hr({url:"/uc/authuser",method:"get",headers:e}),oo=e=>Hr({url:to+"/assistant/addChat",method:"post",params:{resId:e}}),io=e=>Hr({url:to+`/assistant/chartClear/${e}`,method:"post"}),so=e=>Hr({url:to+`/assistant/stop/${e}`,method:"post"}),ao=e=>Hr({url:to+"/assistant/chatEvaluateAdd",method:"post",data:e}),co=e=>Hr({url:to+"/assistant/chatEvaluateCancel",method:"post",data:e}),lo=e=>Hr({url:to+"/assistant/push",method:"post",data:e}),uo=e=>Hr({url:to+`/assistant/detail/v2/${e}`,method:"get"}),ho=e=>Hr({url:to+"/assistant/access",method:"post",params:{resId:e}}),fo=e=>Hr({url:to+`/ia/hasPermission?courseId=${e}`,method:"get"});async function po(e,t,n){return Qr(`${eo}${to}/assistant/conversation`,{method:"POST",signal:t,openWhenHidden:!0,headers:{"Content-Type":"application/json","X-Id-Token":Dn.session.getJSON("SRKJ_TOKEN_CACHE")},body:JSON.stringify(e),onmessage:n})}const go=[{name:"格式问题",code:"1"},{name:"逻辑问题",code:"2"},{name:"有害信息",code:"3"},{name:"事实错误",code:"4"},{name:"没有帮助",code:"5"},{name:"答非所问",code:"6"}],mo=[{type:"user",message:"电磁感应定律是如何描述的?请给出相关公式并解释。"},{type:"robot",message:"电磁感应定律是描述磁场与电场之间关系的物理定律。具体来说,当导体回路中的磁通量发生变化时,会在回路中产生感应电动势。这个感应电动势的大小与磁通量变化的速率成正比,这就是法拉第电磁感应定律。\n 相关的公式是:ε = -dΦ/dt\n 其中,ε 表示感应电动势,Φ 表示磁通量,t 表示时间,dΦ/dt 则表示磁通量对时间的变化率。注意这里的负号,它表示感应电动势的方向与磁通量变化的方向相反,这是楞次定律的体现。\n 解释这个公式时,我们可以理解为:当穿过一个闭合导体回路的磁通量发生变化时,会在回路中产生感应电动势,其大小正比于磁通量变化的速率。这种感应电动势是由于磁场的变化而引发的,它是磁场变化对电场的直接影响,体现了磁场与电场之间的紧密联系。"}],yo=async e=>{const t=await no(e),n=await ro({"X-Auth-User":encodeURIComponent(t.name),"X-Auth-Token":t.password,"X-Enterprise-Id":`${Mr["X-Enterprise-Id"]}`,"X-App-Id":`${Mr["X-App-Id"]}`,"X-App-Secret":`${Mr["X-App-Secret"]}`,"X-Auth-User-Type":"1"});Dn.session.setJSON("SRKJ_TOKEN_CACHE",n)};var vo=function(){var e=this,t=e._self._c;return t("div",{staticClass:"robot-tools"},[e.listData.stop||e.listData.finish&&!e.sending?t("div",{staticClass:"robot-reanswer",staticStyle:{"margin-bottom":"8px"},on:{click:function(t){return e.reAnswer(e.listData)}}},[t("i",{staticClass:"el-icon-refresh-right"}),e._v(" 重新回答 ")]):e._e(),e.listData.stop?t("div",{staticClass:"stopMsg",staticStyle:{color:"#cfcfcf",cursor:"default"}},[e._v("已停止生成")]):e._e(),e.listData.stop||e.listData.finish||e.sending?e._e():t("div",{staticClass:"stopMsg",on:{click:function(t){return e.stopChat(e.listData)}}},[e._v("停止输出")]),t("div",{staticClass:"right-tools"},[t("el-tooltip",{attrs:{content:"赞",effect:"light",placement:"top"}},[t("div",{staticClass:"tools-icon",on:{click:function(t){return e.doZan(e.listData)}}},[e.listData.zan?t("img",{attrs:{alt:"",src:r(793)}}):t("img",{attrs:{src:r(632),alt:""}})])]),t("el-popover",{attrs:{placement:"top-start",trigger:"manual"},model:{value:e.popover,callback:function(t){e.popover=t},expression:"popover"}},[t("div",{attrs:{slot:"reference"},slot:"reference"},[t("el-tooltip",{attrs:{content:"踩",effect:"light",placement:"bottom"}},[e.listData.cai?t("div",{staticClass:"tools-icon",on:{click:function(t){return e.doCai(e.listData)}}},[t("img",{attrs:{alt:"",src:r(271)}})]):t("div",{staticClass:"tools-icon",on:{click:e.openPopover}},[t("img",{attrs:{alt:"",src:r(554)}})])])],1),t("div",{staticClass:"popover-box"},[t("div",{staticClass:"pop-title"},[e._v(" 你的反馈将 "),t("br"),e._v(" 帮助职教一问优化进步 ")]),t("i",{staticClass:"el-icon-close",staticStyle:{"font-size":"2rem"},on:{click:function(t){return e.cancelPopover()}}}),t("div",{staticClass:"error-list"},[t("el-checkbox-group",{model:{value:e.errors,callback:function(t){e.errors=t},expression:"errors"}},e._l(e.errorList,(function(n){return t("el-checkbox",{key:n.code,staticClass:"check",attrs:{label:n.code,border:""}},[e._v(" "+e._s(n.name)+" ")])})),1),t("el-input",{attrs:{rows:4,maxlength:"30",placeholder:"其他",resize:"none",type:"textarea"},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}}),t("div",{staticClass:"sumit-button"},[t("el-button",{attrs:{disabled:e.canSubmit},on:{click:function(t){return e.doCai(e.listData)}}},[e._v("提交")])],1)],1)])])],1)])},Ao=[],wo={name:"ChatTools",props:{detailData:{type:Object,default:()=>{}},chatId:{type:String,default:""},sending:{type:Boolean,default:!1}},data(){return{input:"",popover:!1,errors:[],errorList:go}},computed:{canSubmit(){return 0===this.errors.length&&""===this.input},listData(){return this.detailData}},methods:{cancelPopover(){this.popover=!1},openPopover(){this.popover=!0},async stopChat(e){const{msgId:t}=e;await so(t),e.stop=!0,this.$emit("on-stop-chat",e)},async reAnswer(e){e.reAnswerCount+=1,e.reAnswerCount>=3&&this.$confirm("对于回答是否依旧不满意,是否需要给教师负责人发送请求信息,由老师进行回答?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{await lo({chatId:this.chatId,msgId:e.msgId,parentMsgId:e.parentMsgId}),this.$message.success("已发送给老师")})).catch((()=>{})),this.$emit("on-reanswer",e)},async doZan(e){const t={chatId:this.chatId,msgId:e.msgId,type:1};e.zan?await co(t):await ao(t),e.zan=!e.zan,e.cai=!1},async doCai(e){let t={};e.cai||(t={desc:this.input,tags:this.errors});const n={chatId:this.chatId,msgId:e.msgId,type:2,...t};e.cai?await co(n):await ao(n),e.cai=!e.cai,e.zan=!1,e.cai&&this.$message.success("感谢您的反馈"),this.popover=!1,this.input="",this.errors=[]}}},bo=wo,So=h(bo,vo,Ao,!1,null,"4de6d38a",null),_o=So.exports;const Bo=new AbortController,Eo=Bo.signal;var xo={name:"Chat",components:{ChatTools:_o},props:{keyWord:{type:String,default:""},resId:{type:String,default:""},chatId:{type:String,default:""},chatMajorId:{type:String,default:void 0},messageData:{type:Array,default:mo}},data(){return{popover:!1,input:"",errors:[],errorList:go,cacheKeyWord:""}},computed:{canSubmit(){return 0===this.errors.length&&""===this.input}},watch:{keyWord:{handler(){this.keyWord&&(this.cacheKeyWord=this.keyWord,this.postMessage())},immediate:!0}},methods:{cancelPopover(){this.popover=!1},openPopover(){this.popover=!0},scrollToBottom(){this.$refs.chatContainer.scrollTop=this.$refs.chatContainer.scrollHeight},async postMessage(e,t,n){let r={};e&&(e.sending=!0,r={reStatus:1,parentMsgId:e.parentMsgId,msgId:e.msgId,content:this.messageData[e.index-1].message},this.messageData[e.index].message="");const o={messageList:[{content:this.keyWord||this.cacheKeyWord,resId:this.resId,chatId:this.chatId||void 0,commonKey:t||!1,parentMsgId:n||void 0,...r}]};e||t||(this.messageData.push({type:"user",message:this.keyWord.replace(/\n/g,"<br>")}),setTimeout((()=>this.messageData.push({type:"robot",message:"",zan:!1,cai:!1,stop:!1,finish:!1,sending:!0,links:[],reAnswerCount:0})))),await po(o,Eo,(t=>{this.makeMessageLine(t,e)}))},makeMessageLine(e,t){const{content:n,status:r,chatId:o,msgId:i,parentMsgId:s,reference:a,commonKey:c}=JSON.parse(e.data);let l=t?t.index:this.messageData.length-1;const u=this.messageData[l];if(2===r||1===r)return c?(u.sending=!0,void this.postMessage(t,c,s)):(u.finish=!0,a&&(u.links=JSON.parse(a)),this.cacheKeyWord="",void this.$emit("on-message-finish",o));u.message+=n.replace(/\n/g,"<br>"),u.msgId=i,u.parentMsgId=s,u.chatId=o,setTimeout((()=>{t||this.scrollToBottom()}),100),setTimeout((()=>u.sending=!1),500)},onStopChat(e){this.$emit("on-message-finish",e.chatId)},reanswer(e,t){e.index=t,e.stop=!1,e.finish=!1,e.links=[],this.postMessage(e),this.$emit("on-reanser")}}},Co=xo,Ro=h(Co,p,g,!1,null,"1abfa6ce",null),ko=Ro.exports;
|
|
18
|
+
return function(){var e=t,n=e.lib,r=n.WordArray,o=n.Hasher,i=e.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,o=t[r];t[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,w,A,b,S,_,C,B,E,k,x=this._hash.words,R=u.words,O=h.words,I=s.words,T=a.words,D=c.words,U=l.words;S=i=x[0],_=f=x[1],C=w=x[2],B=A=x[3],E=b=x[4];for(n=0;n<80;n+=1)k=i+t[e+I[n]]|0,k+=n<16?d(f,w,A)+R[0]:n<32?p(f,w,A)+R[1]:n<48?g(f,w,A)+R[2]:n<64?m(f,w,A)+R[3]:y(f,w,A)+R[4],k|=0,k=v(k,D[n]),k=k+b|0,i=b,b=A,A=v(w,10),w=f,f=k,k=S+t[e+T[n]]|0,k+=n<16?y(_,C,B)+O[0]:n<32?m(_,C,B)+O[1]:n<48?g(_,C,B)+O[2]:n<64?p(_,C,B)+O[3]:d(_,C,B)+O[4],k|=0,k=v(k,U[n]),k=k+E|0,S=E,E=B,B=v(C,10),C=_,_=k;k=x[1]+w+B|0,x[1]=x[2]+A+E|0,x[2]=x[3]+b+S|0,x[3]=x[4]+i+_|0,x[4]=x[0]+f+C|0,x[0]=k},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;e[r>>>5]|=128<<24-r%32,e[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),t.sigBytes=4*(e.length+1),this._process();for(var o=this._hash,i=o.words,s=0;s<5;s++){var a=i[s];i[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return o},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function d(t,e,n){return t^e^n}function p(t,e,n){return t&e|~t&n}function g(t,e,n){return(t|~e)^n}function m(t,e,n){return t&n|e&~n}function y(t,e,n){return t^(e|~n)}function v(t,e){return t<<e|t>>>32-e}e.RIPEMD160=o._createHelper(f),e.HmacRIPEMD160=o._createHmacHelper(f)}(Math),t.RIPEMD160}))},471:function(t,e,n){(function(e,r){t.exports=r(n(21))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.WordArray,o=n.Hasher,i=e.algo,s=[],a=i.SHA1=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],l=0;l<80;l++){if(l<16)s[l]=0|t[e+l];else{var u=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=u<<1|u>>>31}var h=(r<<5|r>>>27)+c+s[l];h+=l<20?1518500249+(o&i|~o&a):l<40?1859775393+(o^i^a):l<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,c=a,a=i,i=o<<30|o>>>2,o=r,r=h}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;return e[r>>>5]|=128<<24-r%32,e[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),e[15+(r+64>>>9<<4)]=n,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA1=o._createHelper(a),e.HmacSHA1=o._createHmacHelper(a)}(),t.SHA1}))},308:function(t,e,n){(function(e,r){t.exports=r(n(21),n(9))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.WordArray,o=e.algo,i=o.SHA256,s=o.SHA224=i.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=i._doFinalize.call(this);return t.sigBytes-=4,t}});e.SHA224=i._createHelper(s),e.HmacSHA224=i._createHmacHelper(s)}(),t.SHA224}))},9:function(t,e,n){(function(e,r){t.exports=r(n(21))})(0,(function(t){return function(e){var n=t,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,a=[],c=[];(function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(t){return 4294967296*(t-(0|t))|0}var r=2,o=0;while(o<64)t(r)&&(o<8&&(a[o]=n(e.pow(r,.5))),c[o]=n(e.pow(r,1/3)),o++),r++})();var l=[],u=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(t,e){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],u=n[5],h=n[6],f=n[7],d=0;d<64;d++){if(d<16)l[d]=0|t[e+d];else{var p=l[d-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=l[d-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;l[d]=g+l[d-7]+y+l[d-16]}var v=a&u^~a&h,w=r&o^r&i^o&i,A=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),S=f+b+v+c[d]+l[d],_=A+w;f=h,h=u,u=a,a=s+S|0,s=i,i=o,o=r,r=S+_|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+h|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});n.SHA256=i._createHelper(u),n.HmacSHA256=i._createHmacHelper(u)}(Math),t.SHA256}))},953:function(t,e,n){(function(e,r){t.exports=r(n(21),n(240))})(0,(function(t){return function(e){var n=t,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.x64,a=s.Word,c=n.algo,l=[],u=[],h=[];(function(){for(var t=1,e=0,n=0;n<24;n++){l[t+5*e]=(n+1)*(n+2)/2%64;var r=e%5,o=(2*t+3*e)%5;t=r,e=o}for(t=0;t<5;t++)for(e=0;e<5;e++)u[t+5*e]=e+(2*t+3*e)%5*5;for(var i=1,s=0;s<24;s++){for(var c=0,f=0,d=0;d<7;d++){if(1&i){var p=(1<<d)-1;p<32?f^=1<<p:c^=1<<p-32}128&i?i=i<<1^113:i<<=1}h[s]=a.create(c,f)}})();var f=[];(function(){for(var t=0;t<25;t++)f[t]=a.create()})();var d=c.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],e=0;e<25;e++)t[e]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,e){for(var n=this._state,r=this.blockSize/2,o=0;o<r;o++){var i=t[e+2*o],s=t[e+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);var a=n[o];a.high^=s,a.low^=i}for(var c=0;c<24;c++){for(var d=0;d<5;d++){for(var p=0,g=0,m=0;m<5;m++){a=n[d+5*m];p^=a.high,g^=a.low}var y=f[d];y.high=p,y.low=g}for(d=0;d<5;d++){var v=f[(d+4)%5],w=f[(d+1)%5],A=w.high,b=w.low;for(p=v.high^(A<<1|b>>>31),g=v.low^(b<<1|A>>>31),m=0;m<5;m++){a=n[d+5*m];a.high^=p,a.low^=g}}for(var S=1;S<25;S++){a=n[S];var _=a.high,C=a.low,B=l[S];B<32?(p=_<<B|C>>>32-B,g=C<<B|_>>>32-B):(p=C<<B-32|_>>>64-B,g=_<<B-32|C>>>64-B);var E=f[u[S]];E.high=p,E.low=g}var k=f[0],x=n[0];k.high=x.high,k.low=x.low;for(d=0;d<5;d++)for(m=0;m<5;m++){S=d+5*m,a=n[S];var R=f[S],O=f[(d+1)%5+5*m],I=f[(d+2)%5+5*m];a.high=R.high^~O.high&I.high,a.low=R.low^~O.low&I.low}a=n[0];var T=h[c];a.high^=T.high,a.low^=T.low}},_doFinalize:function(){var t=this._data,n=t.words,r=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(e.ceil((r+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,l=[],u=0;u<c;u++){var h=s[u],f=h.high,d=h.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),l.push(d),l.push(f)}return new o.init(l,a)},clone:function(){for(var t=i.clone.call(this),e=t._state=this._state.slice(0),n=0;n<25;n++)e[n]=e[n].clone();return t}});n.SHA3=i._createHelper(d),n.HmacSHA3=i._createHmacHelper(d)}(Math),t.SHA3}))},557:function(t,e,n){(function(e,r){t.exports=r(n(21),n(240),n(380))})(0,(function(t){return function(){var e=t,n=e.x64,r=n.Word,o=n.WordArray,i=e.algo,s=i.SHA512,a=i.SHA384=s.extend({_doReset:function(){this._hash=new o.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var t=s._doFinalize.call(this);return t.sigBytes-=16,t}});e.SHA384=s._createHelper(a),e.HmacSHA384=s._createHmacHelper(a)}(),t.SHA384}))},380:function(t,e,n){(function(e,r){t.exports=r(n(21),n(240))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.Hasher,o=e.x64,i=o.Word,s=o.WordArray,a=e.algo;function c(){return i.create.apply(i,arguments)}var l=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],u=[];(function(){for(var t=0;t<80;t++)u[t]=c()})();var h=a.SHA512=r.extend({_doReset:function(){this._hash=new s.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],c=n[5],h=n[6],f=n[7],d=r.high,p=r.low,g=o.high,m=o.low,y=i.high,v=i.low,w=s.high,A=s.low,b=a.high,S=a.low,_=c.high,C=c.low,B=h.high,E=h.low,k=f.high,x=f.low,R=d,O=p,I=g,T=m,D=y,U=v,j=w,M=A,N=b,P=S,z=_,F=C,L=B,H=E,W=k,J=x,V=0;V<80;V++){var G,Y,Z=u[V];if(V<16)Y=Z.high=0|t[e+2*V],G=Z.low=0|t[e+2*V+1];else{var K=u[V-15],q=K.high,X=K.low,Q=(q>>>1|X<<31)^(q>>>8|X<<24)^q>>>7,$=(X>>>1|q<<31)^(X>>>8|q<<24)^(X>>>7|q<<25),tt=u[V-2],et=tt.high,nt=tt.low,rt=(et>>>19|nt<<13)^(et<<3|nt>>>29)^et>>>6,ot=(nt>>>19|et<<13)^(nt<<3|et>>>29)^(nt>>>6|et<<26),it=u[V-7],st=it.high,at=it.low,ct=u[V-16],lt=ct.high,ut=ct.low;G=$+at,Y=Q+st+(G>>>0<$>>>0?1:0),G+=ot,Y=Y+rt+(G>>>0<ot>>>0?1:0),G+=ut,Y=Y+lt+(G>>>0<ut>>>0?1:0),Z.high=Y,Z.low=G}var ht=N&z^~N&L,ft=P&F^~P&H,dt=R&I^R&D^I&D,pt=O&T^O&U^T&U,gt=(R>>>28|O<<4)^(R<<30|O>>>2)^(R<<25|O>>>7),mt=(O>>>28|R<<4)^(O<<30|R>>>2)^(O<<25|R>>>7),yt=(N>>>14|P<<18)^(N>>>18|P<<14)^(N<<23|P>>>9),vt=(P>>>14|N<<18)^(P>>>18|N<<14)^(P<<23|N>>>9),wt=l[V],At=wt.high,bt=wt.low,St=J+vt,_t=W+yt+(St>>>0<J>>>0?1:0),Ct=(St=St+ft,_t=_t+ht+(St>>>0<ft>>>0?1:0),St=St+bt,_t=_t+At+(St>>>0<bt>>>0?1:0),St=St+G,_t=_t+Y+(St>>>0<G>>>0?1:0),mt+pt),Bt=gt+dt+(Ct>>>0<mt>>>0?1:0);W=L,J=H,L=z,H=F,z=N,F=P,P=M+St|0,N=j+_t+(P>>>0<M>>>0?1:0)|0,j=D,M=U,D=I,U=T,I=R,T=O,O=St+Ct|0,R=_t+Bt+(O>>>0<St>>>0?1:0)|0}p=r.low=p+O,r.high=d+R+(p>>>0<O>>>0?1:0),m=o.low=m+T,o.high=g+I+(m>>>0<T>>>0?1:0),v=i.low=v+U,i.high=y+D+(v>>>0<U>>>0?1:0),A=s.low=A+M,s.high=w+j+(A>>>0<M>>>0?1:0),S=a.low=S+P,a.high=b+N+(S>>>0<P>>>0?1:0),C=c.low=C+F,c.high=_+z+(C>>>0<F>>>0?1:0),E=h.low=E+H,h.high=B+L+(E>>>0<H>>>0?1:0),x=f.low=x+J,f.high=k+W+(x>>>0<J>>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;e[r>>>5]|=128<<24-r%32,e[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),e[31+(r+128>>>10<<5)]=n,t.sigBytes=4*e.length,this._process();var o=this._hash.toX32();return o},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});e.SHA512=r._createHelper(h),e.HmacSHA512=r._createHmacHelper(h)}(),t.SHA512}))},628:function(t,e,n){(function(e,r){t.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(t){return function(){var e=t,n=e.lib,r=n.WordArray,o=n.BlockCipher,i=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=i.DES=o.extend({_doReset:function(){for(var t=this._key,e=t.words,n=[],r=0;r<56;r++){var o=s[r]-1;n[r]=e[o>>>5]>>>31-o%32&1}for(var i=this._subKeys=[],l=0;l<16;l++){var u=i[l]=[],h=c[l];for(r=0;r<24;r++)u[r/6|0]|=n[(a[r]-1+h)%28]<<31-r%6,u[4+(r/6|0)]|=n[28+(a[r+24]-1+h)%28]<<31-r%6;u[0]=u[0]<<1|u[0]>>>31;for(r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var f=this._invSubKeys=[];for(r=0;r<16;r++)f[r]=i[15-r]},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._subKeys)},decryptBlock:function(t,e){this._doCryptBlock(t,e,this._invSubKeys)},_doCryptBlock:function(t,e,n){this._lBlock=t[e],this._rBlock=t[e+1],f.call(this,4,252645135),f.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),f.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=l[c][((s^o[c])&u[c])>>>0];this._lBlock=s,this._rBlock=i^a}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,f.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),t[e]=this._lBlock,t[e+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(t,e){var n=(this._lBlock>>>t^this._rBlock)&e;this._rBlock^=n,this._lBlock^=n<<t}function d(t,e){var n=(this._rBlock>>>t^this._lBlock)&e;this._lBlock^=n,this._rBlock^=n<<t}e.DES=o._createHelper(h);var p=i.TripleDES=o.extend({_doReset:function(){var t=this._key,e=t.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var n=e.slice(0,2),o=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=h.createEncryptor(r.create(n)),this._des2=h.createEncryptor(r.create(o)),this._des3=h.createEncryptor(r.create(i))},encryptBlock:function(t,e){this._des1.encryptBlock(t,e),this._des2.decryptBlock(t,e),this._des3.encryptBlock(t,e)},decryptBlock:function(t,e){this._des3.decryptBlock(t,e),this._des2.encryptBlock(t,e),this._des1.decryptBlock(t,e)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=o._createHelper(p)}(),t.TripleDES}))},240:function(t,e,n){(function(e,r){t.exports=r(n(21))})(0,(function(t){return function(e){var n=t,r=n.lib,o=r.Base,i=r.WordArray,s=n.x64={};s.Word=o.extend({init:function(t,e){this.high=t,this.low=e}}),s.WordArray=o.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:8*t.length},toX32:function(){for(var t=this.words,e=t.length,n=[],r=0;r<e;r++){var o=t[r];n.push(o.high),n.push(o.low)}return i.create(n,this.sigBytes)},clone:function(){for(var t=o.clone.call(this),e=t.words=this.words.slice(0),n=e.length,r=0;r<n;r++)e[r]=e[r].clone();return t}})}(),t}))},271:function(t){"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUU1NjJFMDc1OUU1MTFFRkE2QzRFMUZCM0YyQjE0MDUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUU1NjJFMDg1OUU1MTFFRkE2QzRFMUZCM0YyQjE0MDUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5RTU2MkUwNTU5RTUxMUVGQTZDNEUxRkIzRjJCMTQwNSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5RTU2MkUwNjU5RTUxMUVGQTZDNEUxRkIzRjJCMTQwNSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PnYHytYAAADTSURBVHjapFPRDcIgEC3EPWQFXcA6ifVfZ6jO4ADqJGUCV6BOgnfJI70iJTRc8gIc8Lh3dyjvfVNjmzDZX5u+4PyXYD+PZgwOjcstDTeCEWMKB8Iwo2QJu4tvCQ5zRzA8j8F+7LfBp9folaHPJKw0SzjVEIzIxz8BJdOJhOUqMScgbRzWGbDIdk6CQeWmPgAJR2Gg8Y51FxFshZSJIHqhF/3xhE/aMVREpVqZLg6IgA85OqyW9OiSUhX9hcje/DKBJbyyDKmWFW3bLe0HqNrv/BNgANkfieaZ8+wxAAAAAElFTkSuQmCC"},554:function(t){"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAOVJREFUOE+lk80VgyAQhMdKgjfKWCtJrMRYiekklMFN0kkcHpuHCkme7sUf5JvdGWxwshrdb6wMf7BeAFzwLui3EWCsCIDncvsAcEvXGk+Cd20JMHHBWJkBdLlK1qVJQn3wzvF93sFPQOqWAqcAE0HBu/5oBzSbPnQ7QJqVc9KDOOO2jBWaPKiReYxMgkUFRjVWABRQo90HkDlNhau2mBRz1mV5uANomVQJEKNKker52I4zrmIszMlDxRF44uZlnJ3Q6iAVAPSBnRByCKBGsQMaGjMvVbU1Y4UQ5s3/o1pVwLdN+dob2Bx9EVmMIDsAAAAASUVORK5CYII="},14:function(t){"use strict";t.exports="data:image/png;base64,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"},951:function(t){"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAVNJREFUWEftltGRwjAMRKVOjko4KoGr5KCSu06gE+hkYTMyE5ATK2CTn3gmH5ko3peVvbHKzENn1pcF4CMOANiJyK+IXFR10297U4Ce8JeJEmDVHCAjnDTbAowIJ4BTkxYEhBPAv6r+VGvBBOGkuVfVw9sALwjXAQgIX0wprfrnoH3NgYAwhfYi8m3XUMJvVPUUbkFQmPMxXBg0BBgbMYAJwvwaruqtOVD6t61UNbWpq3VJCODvFpmMztLo+mmwfKc4bvVOLwdwjFoJgJazPjJcCmYdSDPZ5LxdGxBXNi0/0EYAvD9HlK1mGkBpYgAUH9puudddDI86EABAqebpuYvhTwO4EFoAajvAkw635NDCdClYE+De35Egawbg9jcA/heYpn03XAzXciC7ui3IGNEdRC6G3wVgv/n1D0es/t63tCQEQ+jhJJTqmh7LI0G1AMzuwBVqnaAhSR8MMgAAAABJRU5ErkJggg=="},793:function(t){"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6M0YyMDhFRTY1OUUzMTFFRjlBN0NGODZCQ0M3RUY5QzAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6M0YyMDhFRTc1OUUzMTFFRjlBN0NGODZCQ0M3RUY5QzAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozRjIwOEVFNDU5RTMxMUVGOUE3Q0Y4NkJDQzdFRjlDMCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozRjIwOEVFNTU5RTMxMUVGOUE3Q0Y4NkJDQzdFRjlDMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Phk9awQAAADGSURBVHjaYvz//z8DJYAJl4RRLoMCECcQMoARmwtAmoHUfSB+AMLnJjM4kuqCeiBeAMQgjQ7keAGk6SAxYcCCQxzkhQNQGuSl/WjyB4DeasRqADTgFgAVPACyQSARTYk8EIPUNKIEIlCxA5L/4TbgCWBFkCUsSJr3Q0NdAWY6Hu+BYuYBeiCCBBVhUYfHAHto+OBPSATAA0oMAAXgQ6q5ABwL0ECcD5VwQPYjlgBkgIYVSkJ6gBTyC/FZDdS8gGBmIgUABBgAgktC2XC6NmEAAAAASUVORK5CYII="},632:function(t){"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAOJJREFUOE+lk9sRwiAQRW8qkfzRhaSTpBLHSmInbhn8ZTvRXGZR8sCJykx+MuzZuwdo8OdqavXOBwcgaJTbpx67ACueACg/jdLVIDXAaAVXAJNGqSatAdidxfIr4AGgBUAPdwOVU8icig2wSeB86Oeis0YZssjV/KfZS69R2OANcD4E23hhx9xhLa8Q3GoUTQmsmFFpnbE7jcL5N8v2josE5U/nAwUSQNgegAkdR3yN8AMAC4lfAtIR5xtaOkhzHRiBgCE7WgBMIk9jV6AJZvx0hKWD9HCOPMz146re8SMw7nkC7MV4ERlYkdMAAAAASUVORK5CYII="},317:function(e){"use strict";e.exports=t},477:function(){}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t].call(i.exports,i,i.exports,r),i.exports}!function(){r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,{a:e}),e}}(),function(){r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){r.p=""}();var o={};return function(){"use strict";r.r(o),r.d(o,{default:function(){return Fo}});var t={};if(r.r(t),r.d(t,{hasBrowserEnv:function(){return Wt},hasStandardBrowserEnv:function(){return Vt},hasStandardBrowserWebWorkerEnv:function(){return Gt},navigator:function(){return Jt},origin:function(){return Yt}}),"undefined"!==typeof window){var e=window.document.currentScript,n=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(r.p=n[1])}var i=function(){var t=this,e=t._self._c;return t.visible?e("div",{staticClass:"ai-contain"},[e("div",{staticClass:"bg-image"}),e("div",{staticClass:"ai-contain-header"},[e("div",{staticClass:"logo-title",on:{click:t.showHot}},[e("img",{staticStyle:{width:"48px",height:"48px"},attrs:{src:r(14),alt:""}}),e("span",{staticClass:"title-font"},[t._v("学习助手")])]),e("div",{staticClass:"icon-close",on:{click:t.closeMessage}},[e("i",{staticClass:"el-icon-close"})])]),t.courseFlag?[e("div",{staticClass:"ai-main-content"},[t.chatShow?t._e():e("hot-search",{attrs:{resId:t.resId},on:{"select-module":t.selectModule}}),t.chatShow?e("chat",{ref:"chatRef",attrs:{resId:t.resId,"open-course-id":t.openCourseId,chatId:t.chatId,"key-word":t.aiMessageKeyWord,"message-data":t.messageList,"chat-major-id":t.chatMajorId},on:{"on-reanser":t.reanserMethod,"on-message-finish":t.messageFinish}}):t._e()],1),e("div",{staticClass:"tools-wrap"},[e("span",{on:{click:t.addNewChat}},[t._v("新增对话")]),e("span",{on:{click:t.clearChat}},[t._v("清空对话")])]),e("div",{staticClass:"ai-message-send",on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.goChat.apply(null,arguments)}}},[e("el-input",{attrs:{type:"textarea",rows:2,placeholder:"可以提出问题..."},model:{value:t.aiMessage,callback:function(e){t.aiMessage=e},expression:"aiMessage"}}),e("div",{staticClass:"ai-send-icon",on:{click:t.goChat}},[e("img",{staticStyle:{width:"24px",height:"24px"},attrs:{src:r(951),alt:""}})])],1)]:t._e(),t.courseFlag?t._e():e("div",{staticClass:"message-wrap"},[e("div",{staticClass:"message-line"},[t._v(t._s(t.message))]),e("div",{staticClass:"message-line"},[t._v("不能交流")])])],2):t._e()},s=[],a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"hot-search-contain"},[t._m(0),e("div",{staticClass:"robot-message"},[t.prologue?[t._v(" "+t._s(t.prologue)+" ")]:[e("p",[t._v("Hi,我是学习助手。")]),e("p",[t._v("在这里你可以获得专业、准确的课程讲解,包括对公式的深入理解和细腻的解答。")])],t._l(t.aiMessage,(function(n,r){return e("div",{key:r,staticClass:"hot-list",on:{click:function(e){return t.selectModule(n)}}},[t._v(" "+t._s(n)+" "),e("i",{staticClass:"el-icon-arrow-right go-icon"})])}))],2)])},c=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"robot"},[e("div",{staticClass:"robot-image-div"})])}];function l(t,e){return function(){return t.apply(e,arguments)}}const{toString:u}=Object.prototype,{getPrototypeOf:h}=Object,f=(t=>e=>{const n=u.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),d=t=>(t=t.toLowerCase(),e=>f(e)===t),p=t=>e=>typeof e===t,{isArray:g}=Array,m=p("undefined");function y(t){return null!==t&&!m(t)&&null!==t.constructor&&!m(t.constructor)&&b(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const v=d("ArrayBuffer");function w(t){let e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&v(t.buffer),e}const A=p("string"),b=p("function"),S=p("number"),_=t=>null!==t&&"object"===typeof t,C=t=>!0===t||!1===t,B=t=>{if("object"!==f(t))return!1;const e=h(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},E=d("Date"),k=d("File"),x=d("Blob"),R=d("FileList"),O=t=>_(t)&&b(t.pipe),I=t=>{let e;return t&&("function"===typeof FormData&&t instanceof FormData||b(t.append)&&("formdata"===(e=f(t))||"object"===e&&b(t.toString)&&"[object FormData]"===t.toString()))},T=d("URLSearchParams"),[D,U,j,M]=["ReadableStream","Request","Response","Headers"].map(d),N=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function P(t,e,{allOwnKeys:n=!1}={}){if(null===t||"undefined"===typeof t)return;let r,o;if("object"!==typeof t&&(t=[t]),g(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let s;for(r=0;r<i;r++)s=o[r],e.call(null,t[s],s,t)}}function z(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,o=n.length;while(o-- >0)if(r=n[o],e===r.toLowerCase())return r;return null}const F=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),L=t=>!m(t)&&t!==F;function H(){const{caseless:t}=L(this)&&this||{},e={},n=(n,r)=>{const o=t&&z(e,r)||r;B(e[o])&&B(n)?e[o]=H(e[o],n):B(n)?e[o]=H({},n):g(n)?e[o]=n.slice():e[o]=n};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&P(arguments[r],n);return e}const W=(t,e,n,{allOwnKeys:r}={})=>(P(e,((e,r)=>{n&&b(e)?t[r]=l(e,n):t[r]=e}),{allOwnKeys:r}),t),J=t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),V=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},G=(t,e,n,r)=>{let o,i,s;const a={};if(e=e||{},null==t)return e;do{o=Object.getOwnPropertyNames(t),i=o.length;while(i-- >0)s=o[i],r&&!r(s,t,e)||a[s]||(e[s]=t[s],a[s]=!0);t=!1!==n&&h(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Y=(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},Z=t=>{if(!t)return null;if(g(t))return t;let e=t.length;if(!S(e))return null;const n=new Array(e);while(e-- >0)n[e]=t[e];return n},K=(t=>e=>t&&e instanceof t)("undefined"!==typeof Uint8Array&&h(Uint8Array)),q=(t,e)=>{const n=t&&t[Symbol.iterator],r=n.call(t);let o;while((o=r.next())&&!o.done){const n=o.value;e.call(t,n[0],n[1])}},X=(t,e)=>{let n;const r=[];while(null!==(n=t.exec(e)))r.push(n);return r},Q=d("HTMLFormElement"),$=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),tt=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),et=d("RegExp"),nt=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};P(n,((n,o)=>{let i;!1!==(i=e(n,o,t))&&(r[o]=i||n)})),Object.defineProperties(t,r)},rt=t=>{nt(t,((e,n)=>{if(b(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];b(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},ot=(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return g(t)?r(t):r(String(t).split(e)),n},it=()=>{},st=(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,at="abcdefghijklmnopqrstuvwxyz",ct="0123456789",lt={DIGIT:ct,ALPHA:at,ALPHA_DIGIT:at+at.toUpperCase()+ct},ut=(t=16,e=lt.ALPHA_DIGIT)=>{let n="";const{length:r}=e;while(t--)n+=e[Math.random()*r|0];return n};function ht(t){return!!(t&&b(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])}const ft=t=>{const e=new Array(10),n=(t,r)=>{if(_(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const o=g(t)?[]:{};return P(t,((t,e)=>{const i=n(t,r+1);!m(i)&&(o[e]=i)})),e[r]=void 0,o}}return t};return n(t,0)},dt=d("AsyncFunction"),pt=t=>t&&(_(t)||b(t))&&b(t.then)&&b(t.catch),gt=((t,e)=>t?setImmediate:e?((t,e)=>(F.addEventListener("message",(({source:n,data:r})=>{n===F&&r===t&&e.length&&e.shift()()}),!1),n=>{e.push(n),F.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))("function"===typeof setImmediate,b(F.postMessage)),mt="undefined"!==typeof queueMicrotask?queueMicrotask.bind(F):"undefined"!==typeof process&&process.nextTick||gt;var yt={isArray:g,isArrayBuffer:v,isBuffer:y,isFormData:I,isArrayBufferView:w,isString:A,isNumber:S,isBoolean:C,isObject:_,isPlainObject:B,isReadableStream:D,isRequest:U,isResponse:j,isHeaders:M,isUndefined:m,isDate:E,isFile:k,isBlob:x,isRegExp:et,isFunction:b,isStream:O,isURLSearchParams:T,isTypedArray:K,isFileList:R,forEach:P,merge:H,extend:W,trim:N,stripBOM:J,inherits:V,toFlatObject:G,kindOf:f,kindOfTest:d,endsWith:Y,toArray:Z,forEachEntry:q,matchAll:X,isHTMLForm:Q,hasOwnProperty:tt,hasOwnProp:tt,reduceDescriptors:nt,freezeMethods:rt,toObjectSet:ot,toCamelCase:$,noop:it,toFiniteNumber:st,findKey:z,global:F,isContextDefined:L,ALPHABET:lt,generateString:ut,isSpecCompliantForm:ht,toJSONObject:ft,isAsyncFn:dt,isThenable:pt,setImmediate:gt,asap:mt};function vt(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}yt.inherits(vt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:yt.toJSONObject(this.config),code:this.code,status:this.status}}});const wt=vt.prototype,At={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{At[t]={value:t}})),Object.defineProperties(vt,At),Object.defineProperty(wt,"isAxiosError",{value:!0}),vt.from=(t,e,n,r,o,i)=>{const s=Object.create(wt);return yt.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),vt.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};var bt=vt,St=null;function _t(t){return yt.isPlainObject(t)||yt.isArray(t)}function Ct(t){return yt.endsWith(t,"[]")?t.slice(0,-2):t}function Bt(t,e,n){return t?t.concat(e).map((function(t,e){return t=Ct(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}function Et(t){return yt.isArray(t)&&!t.some(_t)}const kt=yt.toFlatObject(yt,{},null,(function(t){return/^is[A-Z]/.test(t)}));function xt(t,e,n){if(!yt.isObject(t))throw new TypeError("target must be an object");e=e||new(St||FormData),n=yt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!yt.isUndefined(e[t])}));const r=n.metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,a=n.Blob||"undefined"!==typeof Blob&&Blob,c=a&&yt.isSpecCompliantForm(e);if(!yt.isFunction(o))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(yt.isDate(t))return t.toISOString();if(!c&&yt.isBlob(t))throw new bt("Blob is not supported. Use a Buffer instead.");return yt.isArrayBuffer(t)||yt.isTypedArray(t)?c&&"function"===typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,n,o){let a=t;if(t&&!o&&"object"===typeof t)if(yt.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(yt.isArray(t)&&Et(t)||(yt.isFileList(t)||yt.endsWith(n,"[]"))&&(a=yt.toArray(t)))return n=Ct(n),a.forEach((function(t,r){!yt.isUndefined(t)&&null!==t&&e.append(!0===s?Bt([n],r,i):null===s?n:n+"[]",l(t))})),!1;return!!_t(t)||(e.append(Bt(o,n,i),l(t)),!1)}const h=[],f=Object.assign(kt,{defaultVisitor:u,convertValue:l,isVisitable:_t});function d(t,n){if(!yt.isUndefined(t)){if(-1!==h.indexOf(t))throw Error("Circular reference detected in "+n.join("."));h.push(t),yt.forEach(t,(function(t,r){const i=!(yt.isUndefined(t)||null===t)&&o.call(e,t,yt.isString(r)?r.trim():r,n,f);!0===i&&d(t,n?n.concat(r):[r])})),h.pop()}}if(!yt.isObject(t))throw new TypeError("data must be an object");return d(t),e}var Rt=xt;function Ot(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function It(t,e){this._pairs=[],t&&Rt(t,this,e)}const Tt=It.prototype;Tt.append=function(t,e){this._pairs.push([t,e])},Tt.toString=function(t){const e=t?function(e){return t.call(this,e,Ot)}:Ot;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var Dt=It;function Ut(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function jt(t,e,n){if(!e)return t;const r=n&&n.encode||Ut,o=n&&n.serialize;let i;if(i=o?o(e,n):yt.isURLSearchParams(e)?e.toString():new Dt(e,n).toString(r),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}class Mt{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){yt.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var Nt=Mt,Pt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},zt="undefined"!==typeof URLSearchParams?URLSearchParams:Dt,Ft="undefined"!==typeof FormData?FormData:null,Lt="undefined"!==typeof Blob?Blob:null,Ht={isBrowser:!0,classes:{URLSearchParams:zt,FormData:Ft,Blob:Lt},protocols:["http","https","file","blob","url","data"]};const Wt="undefined"!==typeof window&&"undefined"!==typeof document,Jt="object"===typeof navigator&&navigator||void 0,Vt=Wt&&(!Jt||["ReactNative","NativeScript","NS"].indexOf(Jt.product)<0),Gt=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),Yt=Wt&&window.location.href||"http://localhost";var Zt={...t,...Ht};function Kt(t,e){return Rt(t,new Zt.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return Zt.isNode&&yt.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function qt(t){return yt.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}function Xt(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function Qt(t){function e(t,n,r,o){let i=t[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=t.length;if(i=!i&&yt.isArray(r)?r.length:i,a)return yt.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&yt.isObject(r[i])||(r[i]=[]);const c=e(t,n,r[i],o);return c&&yt.isArray(r[i])&&(r[i]=Xt(r[i])),!s}if(yt.isFormData(t)&&yt.isFunction(t.entries)){const n={};return yt.forEachEntry(t,((t,r)=>{e(qt(t),r,n,0)})),n}return null}var $t=Qt;function te(t,e,n){if(yt.isString(t))try{return(e||JSON.parse)(t),yt.trim(t)}catch(wr){if("SyntaxError"!==wr.name)throw wr}return(n||JSON.stringify)(t)}const ee={transitional:Pt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=yt.isObject(t);o&&yt.isHTMLForm(t)&&(t=new FormData(t));const i=yt.isFormData(t);if(i)return r?JSON.stringify($t(t)):t;if(yt.isArrayBuffer(t)||yt.isBuffer(t)||yt.isStream(t)||yt.isFile(t)||yt.isBlob(t)||yt.isReadableStream(t))return t;if(yt.isArrayBufferView(t))return t.buffer;if(yt.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Kt(t,this.formSerializer).toString();if((s=yt.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Rt(s?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),te(t)):t}],transformResponse:[function(t){const e=this.transitional||ee.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(yt.isResponse(t)||yt.isReadableStream(t))return t;if(t&&yt.isString(t)&&(n&&!this.responseType||r)){const n=e&&e.silentJSONParsing,o=!n&&r;try{return JSON.parse(t)}catch(wr){if(o){if("SyntaxError"===wr.name)throw bt.from(wr,bt.ERR_BAD_RESPONSE,this,null,this.response);throw wr}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Zt.classes.FormData,Blob:Zt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};yt.forEach(["delete","get","head","post","put","patch"],(t=>{ee.headers[t]={}}));var ne=ee;const re=yt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var oe=t=>{const e={};let n,r,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),r=t.substring(o+1).trim(),!n||e[n]&&re[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e};const ie=Symbol("internals");function se(t){return t&&String(t).trim().toLowerCase()}function ae(t){return!1===t||null==t?t:yt.isArray(t)?t.map(ae):String(t)}function ce(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(t))e[r[1]]=r[2];return e}const le=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ue(t,e,n,r,o){return yt.isFunction(r)?r.call(this,e,n):(o&&(e=n),yt.isString(e)?yt.isString(r)?-1!==e.indexOf(r):yt.isRegExp(r)?r.test(e):void 0:void 0)}function he(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}function fe(t,e){const n=yt.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,o){return this[r].call(this,e,t,n,o)},configurable:!0})}))}class de{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function o(t,e,n){const o=se(e);if(!o)throw new Error("header name must be a non-empty string");const i=yt.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||e]=ae(t))}const i=(t,e)=>yt.forEach(t,((t,n)=>o(t,n,e)));if(yt.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(yt.isString(t)&&(t=t.trim())&&!le(t))i(oe(t),e);else if(yt.isHeaders(t))for(const[s,a]of t.entries())o(a,s,n);else null!=t&&o(e,t,n);return this}get(t,e){if(t=se(t),t){const n=yt.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return ce(t);if(yt.isFunction(e))return e.call(this,t,n);if(yt.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=se(t),t){const n=yt.findKey(this,t);return!(!n||void 0===this[n]||e&&!ue(this,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function o(t){if(t=se(t),t){const o=yt.findKey(n,t);!o||e&&!ue(n,n[o],o,e)||(delete n[o],r=!0)}}return yt.isArray(t)?t.forEach(o):o(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;while(n--){const o=e[n];t&&!ue(this,this[o],o,t,!0)||(delete this[o],r=!0)}return r}normalize(t){const e=this,n={};return yt.forEach(this,((r,o)=>{const i=yt.findKey(n,o);if(i)return e[i]=ae(r),void delete e[o];const s=t?he(o):String(o).trim();s!==o&&delete e[o],e[s]=ae(r),n[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return yt.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&yt.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=this[ie]=this[ie]={accessors:{}},n=e.accessors,r=this.prototype;function o(t){const e=se(t);n[e]||(fe(r,t),n[e]=!0)}return yt.isArray(t)?t.forEach(o):o(t),this}}de.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),yt.reduceDescriptors(de.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),yt.freezeMethods(de);var pe=de;function ge(t,e){const n=this||ne,r=e||n,o=pe.from(r.headers);let i=r.data;return yt.forEach(t,(function(t){i=t.call(n,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function me(t){return!(!t||!t.__CANCEL__)}function ye(t,e,n){bt.call(this,null==t?"canceled":t,bt.ERR_CANCELED,e,n),this.name="CanceledError"}yt.inherits(ye,bt,{__CANCEL__:!0});var ve=ye;function we(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new bt("Request failed with status code "+n.status,[bt.ERR_BAD_REQUEST,bt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}function Ae(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function be(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o,i=0,s=0;return e=void 0!==e?e:1e3,function(a){const c=Date.now(),l=r[s];o||(o=c),n[i]=a,r[i]=c;let u=s,h=0;while(u!==i)h+=n[u++],u%=t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),c-o<e)return;const f=l&&c-l;return f?Math.round(1e3*h/f):void 0}}var Se=be;function _e(t,e){let n,r,o=0,i=1e3/e;const s=(e,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),t.apply(null,e)},a=(...t)=>{const e=Date.now(),a=e-o;a>=i?s(t,e):(n=t,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},c=()=>n&&s(n);return[a,c]}var Ce=_e;const Be=(t,e,n=3)=>{let r=0;const o=Se(50,250);return Ce((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,c=o(a),l=i<=s;r=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&l?(s-i)/c:void 0,event:n,lengthComputable:null!=s,[e?"download":"upload"]:!0};t(u)}),n)},Ee=(t,e)=>{const n=null!=t;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},ke=t=>(...e)=>yt.asap((()=>t(...e)));var xe=Zt.hasStandardBrowserEnv?function(){const t=Zt.navigator&&/(msie|trident)/i.test(Zt.navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=yt.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return function(){return!0}}(),Re=Zt.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const s=[t+"="+encodeURIComponent(e)];yt.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),yt.isString(r)&&s.push("path="+r),yt.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Oe(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Ie(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Te(t,e){return t&&!Oe(e)?Ie(t,e):e}const De=t=>t instanceof pe?{...t}:t;function Ue(t,e){e=e||{};const n={};function r(t,e,n){return yt.isPlainObject(t)&&yt.isPlainObject(e)?yt.merge.call({caseless:n},t,e):yt.isPlainObject(e)?yt.merge({},e):yt.isArray(e)?e.slice():e}function o(t,e,n){return yt.isUndefined(e)?yt.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function i(t,e){if(!yt.isUndefined(e))return r(void 0,e)}function s(t,e){return yt.isUndefined(e)?yt.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function a(n,o,i){return i in e?r(n,o):i in t?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e)=>o(De(t),De(e),!0)};return yt.forEach(Object.keys(Object.assign({},t,e)),(function(r){const i=c[r]||o,s=i(t[r],e[r],r);yt.isUndefined(s)&&i!==a||(n[r]=s)})),n}var je=t=>{const e=Ue({},t);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:c}=e;if(e.headers=a=pe.from(a),e.url=jt(Te(e.baseURL,e.url),t.params,t.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),yt.isFormData(r))if(Zt.hasStandardBrowserEnv||Zt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(Zt.hasStandardBrowserEnv&&(o&&yt.isFunction(o)&&(o=o(e)),o||!1!==o&&xe(e.url))){const t=i&&s&&Re.read(s);t&&a.set(i,t)}return e};const Me="undefined"!==typeof XMLHttpRequest;var Ne=Me&&function(t){return new Promise((function(e,n){const r=je(t);let o=r.data;const i=pe.from(r.headers).normalize();let s,a,c,l,u,{responseType:h,onUploadProgress:f,onDownloadProgress:d}=r;function p(){l&&l(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=pe.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),o=h&&"text"!==h&&"json"!==h?g.response:g.responseText,i={data:o,status:g.status,statusText:g.statusText,headers:r,config:t,request:g};we((function(t){e(t),p()}),(function(t){n(t),p()}),i),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new bt("Request aborted",bt.ECONNABORTED,t,g)),g=null)},g.onerror=function(){n(new bt("Network Error",bt.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Pt;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new bt(e,o.clarifyTimeoutError?bt.ETIMEDOUT:bt.ECONNABORTED,t,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&yt.forEach(i.toJSON(),(function(t,e){g.setRequestHeader(e,t)})),yt.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),h&&"json"!==h&&(g.responseType=r.responseType),d&&([c,u]=Be(d,!0),g.addEventListener("progress",c)),f&&g.upload&&([a,l]=Be(f),g.upload.addEventListener("progress",a),g.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(s=e=>{g&&(n(!e||e.type?new ve(null,t,g):e),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const y=Ae(r.url);y&&-1===Zt.protocols.indexOf(y)?n(new bt("Unsupported protocol "+y+":",bt.ERR_BAD_REQUEST,t)):g.send(o||null)}))};const Pe=(t,e)=>{let n,r=new AbortController;const o=function(t){if(!n){n=!0,s();const e=t instanceof Error?t:this.reason;r.abort(e instanceof bt?e:new ve(e instanceof Error?e.message:e))}};let i=e&&setTimeout((()=>{o(new bt(`timeout ${e} of ms exceeded`,bt.ETIMEDOUT))}),e);const s=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach((t=>{t&&(t.removeEventListener?t.removeEventListener("abort",o):t.unsubscribe(o))})),t=null)};t.forEach((t=>t&&t.addEventListener&&t.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=s,[a,()=>{i&&clearTimeout(i),i=null}]};var ze=Pe;const Fe=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let r,o=0;while(o<n)r=o+e,yield t.slice(o,r),o=r},Le=async function*(t,e,n){for await(const r of t)yield*Fe(ArrayBuffer.isView(r)?r:await n(String(r)),e)},He=(t,e,n,r,o)=>{const i=Le(t,e,o);let s,a=0,c=t=>{s||(s=!0,r&&r(t))};return new ReadableStream({async pull(t){try{const{done:e,value:r}=await i.next();if(e)return c(),void t.close();let o=r.byteLength;if(n){let t=a+=o;n(t)}t.enqueue(new Uint8Array(r))}catch(e){throw c(e),e}},cancel(t){return c(t),i.return()}},{highWaterMark:2})},We="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,Je=We&&"function"===typeof ReadableStream,Ve=We&&("function"===typeof TextEncoder?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Ge=(t,...e)=>{try{return!!t(...e)}catch(wr){return!1}},Ye=Je&&Ge((()=>{let t=!1;const e=new Request(Zt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),Ze=65536,Ke=Je&&Ge((()=>yt.isReadableStream(new Response("").body))),qe={stream:Ke&&(t=>t.body)};We&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!qe[e]&&(qe[e]=yt.isFunction(t[e])?t=>t[e]():(t,n)=>{throw new bt(`Response type '${e}' is not supported`,bt.ERR_NOT_SUPPORT,n)})}))})(new Response);const Xe=async t=>null==t?0:yt.isBlob(t)?t.size:yt.isSpecCompliantForm(t)?(await new Request(t).arrayBuffer()).byteLength:yt.isArrayBufferView(t)||yt.isArrayBuffer(t)?t.byteLength:(yt.isURLSearchParams(t)&&(t+=""),yt.isString(t)?(await Ve(t)).byteLength:void 0),Qe=async(t,e)=>{const n=yt.toFiniteNumber(t.getContentLength());return null==n?Xe(e):n};var $e=We&&(async t=>{let{url:e,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:u,withCredentials:h="same-origin",fetchOptions:f}=je(t);l=l?(l+"").toLowerCase():"text";let d,p,[g,m]=o||i||s?ze([o,i],s):[];const y=()=>{!d&&setTimeout((()=>{g&&g.unsubscribe()})),d=!0};let v;try{if(c&&Ye&&"get"!==n&&"head"!==n&&0!==(v=await Qe(u,r))){let t,n=new Request(e,{method:"POST",body:r,duplex:"half"});if(yt.isFormData(r)&&(t=n.headers.get("content-type"))&&u.setContentType(t),n.body){const[t,e]=Ee(v,Be(ke(c)));r=He(n.body,Ze,t,e,Ve)}}yt.isString(h)||(h=h?"include":"omit");const o="credentials"in Request.prototype;p=new Request(e,{...f,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?h:void 0});let i=await fetch(p);const s=Ke&&("stream"===l||"response"===l);if(Ke&&(a||s)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=i[e]}));const e=yt.toFiniteNumber(i.headers.get("content-length")),[n,r]=a&&Ee(e,Be(ke(a),!0))||[];i=new Response(He(i.body,Ze,n,(()=>{r&&r(),s&&y()}),Ve),t)}l=l||"text";let d=await qe[yt.findKey(qe,l)||"text"](i,t);return!s&&y(),m&&m(),await new Promise(((e,n)=>{we(e,n,{data:d,headers:pe.from(i.headers),status:i.status,statusText:i.statusText,config:t,request:p})}))}catch(w){if(y(),w&&"TypeError"===w.name&&/fetch/i.test(w.message))throw Object.assign(new bt("Network Error",bt.ERR_NETWORK,t,p),{cause:w.cause||w});throw bt.from(w,w&&w.code,t,p)}});const tn={http:St,xhr:Ne,fetch:$e};yt.forEach(tn,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(wr){}Object.defineProperty(t,"adapterName",{value:e})}}));const en=t=>`- ${t}`,nn=t=>yt.isFunction(t)||null===t||!1===t;var rn={getAdapter:t=>{t=yt.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){let e;if(n=t[i],r=n,!nn(n)&&(r=tn[(e=String(n)).toLowerCase()],void 0===r))throw new bt(`Unknown adapter '${e}'`);if(r)break;o[e||"#"+i]=r}if(!r){const t=Object.entries(o).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(en).join("\n"):" "+en(t[0]):"as no adapter specified";throw new bt("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r},adapters:tn};function on(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ve(null,t)}function sn(t){on(t),t.headers=pe.from(t.headers),t.data=ge.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);const e=rn.getAdapter(t.adapter||ne.adapter);return e(t).then((function(e){return on(t),e.data=ge.call(t,t.transformResponse,e),e.headers=pe.from(e.headers),e}),(function(e){return me(e)||(on(t),e&&e.response&&(e.response.data=ge.call(t,t.transformResponse,e.response),e.response.headers=pe.from(e.response.headers))),Promise.reject(e)}))}const an="1.7.5",cn={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{cn[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const ln={};function un(t,e,n){if("object"!==typeof t)throw new bt("options must be an object",bt.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;while(o-- >0){const i=r[o],s=e[i];if(s){const e=t[i],n=void 0===e||s(e,i,t);if(!0!==n)throw new bt("option "+i+" must be "+n,bt.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new bt("Unknown option "+i,bt.ERR_BAD_OPTION)}}cn.transitional=function(t,e,n){function r(t,e){return"[Axios v"+an+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,i)=>{if(!1===t)throw new bt(r(o," has been removed"+(e?" in "+e:"")),bt.ERR_DEPRECATED);return e&&!ln[o]&&(ln[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}};var hn={assertOptions:un,validators:cn};const fn=hn.validators;class dn{constructor(t){this.defaults=t,this.interceptors={request:new Nt,response:new Nt}}async request(t,e){try{return await this._request(t,e)}catch(n){if(n instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const e=t.stack?t.stack.replace(/^.+\n/,""):"";try{n.stack?e&&!String(n.stack).endsWith(e.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+e):n.stack=e}catch(wr){}}throw n}}_request(t,e){"string"===typeof t?(e=e||{},e.url=t):e=t||{},e=Ue(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:o}=e;void 0!==n&&hn.assertOptions(n,{silentJSONParsing:fn.transitional(fn.boolean),forcedJSONParsing:fn.transitional(fn.boolean),clarifyTimeoutError:fn.transitional(fn.boolean)},!1),null!=r&&(yt.isFunction(r)?e.paramsSerializer={serialize:r}:hn.assertOptions(r,{encode:fn.function,serialize:fn.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&yt.merge(o.common,o[e.method]);o&&yt.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=pe.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)}));let u,h=0;if(!a){const t=[sn.bind(this),void 0];t.unshift.apply(t,s),t.push.apply(t,c),u=t.length,l=Promise.resolve(e);while(h<u)l=l.then(t[h++],t[h++]);return l}u=s.length;let f=e;h=0;while(h<u){const t=s[h++],e=s[h++];try{f=t(f)}catch(d){e.call(this,d);break}}try{l=sn.call(this,f)}catch(d){return Promise.reject(d)}h=0,u=c.length;while(h<u)l=l.then(c[h++],c[h++]);return l}getUri(t){t=Ue(this.defaults,t);const e=Te(t.baseURL,t.url);return jt(e,t.params,t.paramsSerializer)}}yt.forEach(["delete","get","head","options"],(function(t){dn.prototype[t]=function(e,n){return this.request(Ue(n||{},{method:t,url:e,data:(n||{}).data}))}})),yt.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,o){return this.request(Ue(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}dn.prototype[t]=e(),dn.prototype[t+"Form"]=e(!0)}));var pn=dn;class gn{constructor(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;while(e-- >0)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,o){n.reason||(n.reason=new ve(t,r,o),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;const e=new gn((function(e){t=e}));return{token:e,cancel:t}}}var mn=gn;function yn(t){return function(e){return t.apply(null,e)}}function vn(t){return yt.isObject(t)&&!0===t.isAxiosError}const wn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(wn).forEach((([t,e])=>{wn[e]=t}));var An=wn;function bn(t){const e=new pn(t),n=l(pn.prototype.request,e);return yt.extend(n,pn.prototype,e,{allOwnKeys:!0}),yt.extend(n,e,null,{allOwnKeys:!0}),n.create=function(e){return bn(Ue(t,e))},n}const Sn=bn(ne);Sn.Axios=pn,Sn.CanceledError=ve,Sn.CancelToken=mn,Sn.isCancel=me,Sn.VERSION=an,Sn.toFormData=Rt,Sn.AxiosError=bt,Sn.Cancel=Sn.CanceledError,Sn.all=function(t){return Promise.all(t)},Sn.spread=yn,Sn.isAxiosError=vn,Sn.mergeConfig=Ue,Sn.AxiosHeaders=pe,Sn.formToJSON=t=>$t(yt.isHTMLForm(t)?new FormData(t):t),Sn.getAdapter=rn.getAdapter,Sn.HttpStatusCode=An,Sn.default=Sn;var _n=Sn;const Cn={set(t,e){sessionStorage&&null!=t&&null!=e&&sessionStorage.setItem(t,e)},get(t){return sessionStorage?null==t?null:sessionStorage.getItem(t):null},setJSON(t,e){null!=e&&this.set(t,JSON.stringify(e))},getJSON(t){const e=this.get(t);if(null!=e)return JSON.parse(e)},remove(t){sessionStorage.removeItem(t)}},Bn={set(t,e){localStorage&&null!=t&&null!=e&&localStorage.setItem(t,e)},get(t){return localStorage?null==t?null:localStorage.getItem(t):null},setJSON(t,e){null!=e&&this.set(t,JSON.stringify(e))},getJSON(t){const e=this.get(t);if(null!=e)return JSON.parse(e)},remove(t){localStorage.removeItem(t)}};var En={session:Cn,local:Bn},kn=r(317),xn=r(396),Rn=r.n(xn);const On="3.7.7",In=On,Tn="function"===typeof Buffer,Dn="function"===typeof TextDecoder?new TextDecoder:void 0,Un="function"===typeof TextEncoder?new TextEncoder:void 0,jn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Mn=Array.prototype.slice.call(jn),Nn=(t=>{let e={};return t.forEach(((t,n)=>e[t]=n)),e})(Mn),Pn=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,zn=String.fromCharCode.bind(String),Fn="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):t=>new Uint8Array(Array.prototype.slice.call(t,0)),Ln=t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_")),Hn=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),Wn=t=>{let e,n,r,o,i="";const s=t.length%3;for(let a=0;a<t.length;){if((n=t.charCodeAt(a++))>255||(r=t.charCodeAt(a++))>255||(o=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=n<<16|r<<8|o,i+=Mn[e>>18&63]+Mn[e>>12&63]+Mn[e>>6&63]+Mn[63&e]}return s?i.slice(0,s-3)+"===".substring(s):i},Jn="function"===typeof btoa?t=>btoa(t):Tn?t=>Buffer.from(t,"binary").toString("base64"):Wn,Vn=Tn?t=>Buffer.from(t).toString("base64"):t=>{const e=4096;let n=[];for(let r=0,o=t.length;r<o;r+=e)n.push(zn.apply(null,t.subarray(r,r+e)));return Jn(n.join(""))},Gn=(t,e=!1)=>e?Ln(Vn(t)):Vn(t),Yn=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?zn(192|e>>>6)+zn(128|63&e):zn(224|e>>>12&15)+zn(128|e>>>6&63)+zn(128|63&e)}e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return zn(240|e>>>18&7)+zn(128|e>>>12&63)+zn(128|e>>>6&63)+zn(128|63&e)},Zn=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Kn=t=>t.replace(Zn,Yn),qn=Tn?t=>Buffer.from(t,"utf8").toString("base64"):Un?t=>Vn(Un.encode(t)):t=>Jn(Kn(t)),Xn=(t,e=!1)=>e?Ln(qn(t)):qn(t),Qn=t=>Xn(t,!0),$n=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,tr=t=>{switch(t.length){case 4:var e=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),n=e-65536;return zn(55296+(n>>>10))+zn(56320+(1023&n));case 3:return zn((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return zn((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},er=t=>t.replace($n,tr),nr=t=>{if(t=t.replace(/\s+/g,""),!Pn.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let e,n,r,o="";for(let i=0;i<t.length;)e=Nn[t.charAt(i++)]<<18|Nn[t.charAt(i++)]<<12|(n=Nn[t.charAt(i++)])<<6|(r=Nn[t.charAt(i++)]),o+=64===n?zn(e>>16&255):64===r?zn(e>>16&255,e>>8&255):zn(e>>16&255,e>>8&255,255&e);return o},rr="function"===typeof atob?t=>atob(Hn(t)):Tn?t=>Buffer.from(t,"base64").toString("binary"):nr,or=Tn?t=>Fn(Buffer.from(t,"base64")):t=>Fn(rr(t).split("").map((t=>t.charCodeAt(0)))),ir=t=>or(ar(t)),sr=Tn?t=>Buffer.from(t,"base64").toString("utf8"):Dn?t=>Dn.decode(or(t)):t=>er(rr(t)),ar=t=>Hn(t.replace(/[-_]/g,(t=>"-"==t?"+":"/"))),cr=t=>sr(ar(t)),lr=t=>{if("string"!==typeof t)return!1;const e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},ur=t=>({value:t,enumerable:!1,writable:!0,configurable:!0}),hr=function(){const t=(t,e)=>Object.defineProperty(String.prototype,t,ur(e));t("fromBase64",(function(){return cr(this)})),t("toBase64",(function(t){return Xn(this,t)})),t("toBase64URI",(function(){return Xn(this,!0)})),t("toBase64URL",(function(){return Xn(this,!0)})),t("toUint8Array",(function(){return ir(this)}))},fr=function(){const t=(t,e)=>Object.defineProperty(Uint8Array.prototype,t,ur(e));t("toBase64",(function(t){return Gn(this,t)})),t("toBase64URI",(function(){return Gn(this,!0)})),t("toBase64URL",(function(){return Gn(this,!0)}))},dr=()=>{hr(),fr()},pr={version:On,VERSION:In,atob:rr,atobPolyfill:nr,btoa:Jn,btoaPolyfill:Wn,fromBase64:cr,toBase64:Xn,encode:Xn,encodeURI:Qn,encodeURL:Qn,utob:Kn,btou:er,decode:cr,isValid:lr,fromUint8Array:Gn,toUint8Array:ir,extendString:hr,extendUint8Array:fr,extendBuiltins:dr},gr="RU5D",mr="ODE",yr="AE",vr="S_K",wr="RVkx",Ar=pr.decode(gr).concat(mr,"_",yr,vr,pr.decode(wr),"6"),br="d3d3",Sr="w.e",_r="mru",Cr="bik",Br="Y29t",Er=pr.decode(br).concat(Sr,_r,Cr,".",pr.decode(Br));Rn().enc.Utf8.parse(Ar),Rn().enc.Utf8.parse(Er);let kr="601a39a2a4a7cd88d5ddcef5";const xr=["/home","/overview"];"aliyun"==={NODE_ENV:"production",BASE_URL:""}.VITE_APP_BUILD_TYPE&&(kr="6572ba195ec962924cc39951");var Rr={"X-Enterprise-Id":"www.hep-zj.com.cn","X-App-Id":"90403a27c0704259ab7a3c8aab4489b3","X-App-Secret":"bc11ce7c44824fcaa23ff301a54b7094",appId:kr,whiteList:xr,publicPath:"https://agent.icve.com.cn/heatp-portal/do/",publicPrefix:"/heatp"};const Or=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_BASE_URL");_n.defaults.headers["Content-Type"]="application/json;charset=utf-8";const Ir=_n.create({baseURL:Or||Rr.publicPath,timeout:8e4});Ir.interceptors.request.use((t=>{En.session.getJSON("SRKJ_TOKEN_CACHE")&&(t.params||(t.params={}),t.params.token=En.session.getJSON("SRKJ_TOKEN_CACHE"));const e=!1===(t.headers||{}).repeatSubmit;if(!e&&("post"===t.method||"put"===t.method)){const e={url:t.url,data:"object"===typeof t.data?JSON.stringify(t.data):t.data,time:(new Date).getTime()},n=En.session.getJSON("sessionObj");if(void 0===n||null===n||""===n)En.session.setJSON("sessionObj",e);else{const t=n.url,r=n.data,o=n.time,i=100;r===e.data&&e.time-o<i&&t===e.url||En.session.setJSON("sessionObj",e)}}return t}),(t=>{Promise.reject(t)})),Ir.interceptors.response.use((t=>{if("blob"===t.request.responseType||"arraybuffer"===t.request.responseType)return t.data;let e=t.data;if(401!==t.status)return e.resultCode.endsWith("0000")||kn.Message.warning(e.message.description),e.queryData||e.data||e.token;kn.Message.warning(e.message.description)}));var Tr=Ir;async function Dr(t,e){const n=t.getReader();let r;while(!(r=await n.read()).done)e(r.value)}function Ur(t){let e,n,r,o=!1;return function(i){void 0===e?(e=i,n=0,r=-1):e=Mr(e,i);const s=e.length;let a=0;while(n<s){o&&(10===e[n]&&(a=++n),o=!1);let i=-1;for(;n<s&&-1===i;++n)switch(e[n]){case 58:-1===r&&(r=n-a);break;case 13:o=!0;case 10:i=n;break}if(-1===i)break;t(e.subarray(a,i),r),a=n,r=-1}a===s?e=void 0:0!==a&&(e=e.subarray(a),n-=a)}}function jr(t,e,n){let r=Nr();const o=new TextDecoder;return function(i,s){if(0===i.length)null===n||void 0===n||n(r),r=Nr();else if(s>0){const n=o.decode(i.subarray(0,s)),a=s+(32===i[s+1]?2:1),c=o.decode(i.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":t(r.id=c);break;case"retry":const n=parseInt(c,10);isNaN(n)||e(r.retry=n);break}}}}function Mr(t,e){const n=new Uint8Array(t.length+e.length);return n.set(t),n.set(e,t.length),n}function Nr(){return{data:"",event:"",id:"",retry:void 0}}var Pr=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};const zr="text/event-stream",Fr=1e3,Lr="last-event-id";function Hr(t,e){var{signal:n,headers:r,onopen:o,onmessage:i,onclose:s,onerror:a,openWhenHidden:c,fetch:l}=e,u=Pr(e,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise(((e,h)=>{const f=Object.assign({},r);let d;function p(){d.abort(),document.hidden||A()}f.accept||(f.accept=zr),c||document.addEventListener("visibilitychange",p);let g=Fr,m=0;function y(){document.removeEventListener("visibilitychange",p),window.clearTimeout(m),d.abort()}null===n||void 0===n||n.addEventListener("abort",(()=>{y(),e()}));const v=null!==l&&void 0!==l?l:window.fetch,w=null!==o&&void 0!==o?o:Wr;async function A(){var n;d=new AbortController;try{const n=await v(t,Object.assign(Object.assign({},u),{headers:f,signal:d.signal}));await w(n),await Dr(n.body,Ur(jr((t=>{t?f[Lr]=t:delete f[Lr]}),(t=>{g=t}),i))),null===s||void 0===s||s(),y(),e()}catch(r){if(!d.signal.aborted)try{const t=null!==(n=null===a||void 0===a?void 0:a(r))&&void 0!==n?n:g;window.clearTimeout(m),m=window.setTimeout(A,t)}catch(o){y(),h(o)}}}A()}))}function Wr(t){const e=t.headers.get("content-type");if(!(null===e||void 0===e?void 0:e.startsWith(zr)))throw new Error(`Expected content-type to be ${zr}, Actual: ${e}`)}const Jr=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_BASE_URL")||Rr.publicPath;let Vr=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_PRE_FIX")||Rr.publicPrefix;Vr+="/plugin/v2";const Gr=t=>Tr({url:Vr+"/sso/assistant",method:"get",params:{token:t}}),Yr=t=>Tr({url:Vr+"/assistant/addChat",method:"post",params:{resId:t}}),Zr=t=>Tr({url:Vr+`/assistant/chartClear/${t}`,method:"post"}),Kr=t=>Tr({url:Vr+`/assistant/stop/${t}`,method:"post"}),qr=t=>Tr({url:Vr+"/assistant/chatEvaluateAdd",method:"post",data:t}),Xr=t=>Tr({url:Vr+"/assistant/chatEvaluateCancel",method:"post",data:t}),Qr=t=>Tr({url:Vr+"/assistant/push",method:"post",data:t}),$r=t=>Tr({url:Vr+`/assistant/detail/v2/${t}`,method:"get"}),to=t=>Tr({url:Vr+"/assistant/access",method:"post",params:{resId:t}}),eo=t=>Tr({url:Vr+`/ia/hasPermission?courseId=${t}`,method:"get"}),no=t=>Tr({url:Vr+`/ia/byCourseId?courseId=${t}`,method:"get"});async function ro(t,e){return Tr.post(`${Vr}/ia/autoFollowUp`,{iaId:t,messages:e})}async function oo(t,e,n){return Hr(`${Jr}${Vr}/assistant/conversation?token=${En.session.getJSON("SRKJ_TOKEN_CACHE")}`,{method:"POST",signal:e,openWhenHidden:!0,headers:{"Content-Type":"application/json"},body:JSON.stringify(t),onmessage:n})}var io={name:"HotSearch",props:{resId:{type:String,default:""}},data(){return{aiMessage:[],prologue:" "}},methods:{selectModule(t){this.$emit("select-module",t)}},async mounted(){const t=await no(this.resId);if(!t)return;const{guideExample:e,prologue:n}=t;e&&e.length>0&&(this.aiMessage=JSON.parse(e)),this.prologue=n}},so=io;function ao(t,e,n,r,o,i,s,a){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:l}}var co=ao(so,a,c,!1,null,"abf2ffc4",null),lo=co.exports,uo=function(){var t=this,e=t._self._c;return e("div",{ref:"chatContainer",staticClass:"chat-contain"},t._l(t.messageData,(function(n,r){return e("div",{key:r,staticClass:"message",class:{"user-list":"user"===n.type}},["robot"===n.type?e("div",{staticClass:"robot"},[e("div",{staticClass:"robot-image-div"})]):e("div",{staticClass:"robot user"},[t._v("user")]),e("div",{staticClass:"robot-message",class:{"user-info":"user"===n.type}},[e("div",{domProps:{innerHTML:t._s(n.message)}}),"robot"===n.type&&n.links.length>0?e("div",{staticClass:"link"},[n.allIdWithStart?t._e():e("div",[e("div",{staticClass:"link-title"},[t._v("参考文件")]),e("div",{staticClass:"link-content"},[t._l(n.links,(function(n){return[n.title.startsWith(t.chatMajorId)?t._e():e("div",{staticClass:"links"},[e("a",{attrs:{href:"https://ai-yuliao.hep.com.cn"+n.documentUrl,target:"_blank"}},[e("span",[t._v(t._s(n.title))])])])]}))],2)])]):t._e(),"robot"===n.type&&n.connectUrl.length>0?e("div",{staticClass:"link"},[e("div",{staticClass:"link-title"},[t._v("相关链接")]),e("div",{staticClass:"link-content"},[t._l(n.connectUrl,(function(n){return[e("div",{staticClass:"links"},[e("a",{attrs:{href:n.iaUrl,target:"_blank"}},[e("span",[t._v(t._s(n.iaUrlName))])])])]}))],2)]):t._e(),"robot"===n.type&&t.finish&&n.followUps&&n.followUps.length>0?e("div",[e("div",{staticClass:"link-title"},[t._v("智能追问")]),e("div",{staticClass:"link-content"},t._l(n.followUps,(function(n,r){return e("div",{key:r,staticClass:"hot-list",on:{click:function(e){return t.selectModule(n)}}},[t._v(" "+t._s(n)+" "),e("i",{staticClass:"el-icon-arrow-right go-icon"})])})),0)]):t._e(),"robot"===n.type?e("chat-tools",{attrs:{chatId:t.chatId,"detail-data":n,sending:n.sending,resId:t.resId,"open-course-id":t.openCourseId,"is-last":r===t.messageData.length-1},on:{"on-reanswer":e=>t.reanswer(e,r),"on-stop-chat":t.onStopChat}}):t._e()],1)])})),0)},ho=[];const fo=[{name:"格式问题",code:"1"},{name:"逻辑问题",code:"2"},{name:"有害信息",code:"3"},{name:"事实错误",code:"4"},{name:"没有帮助",code:"5"},{name:"答非所问",code:"6"}],po=[{type:"user",message:"电磁感应定律是如何描述的?请给出相关公式并解释。"},{type:"robot",message:"电磁感应定律是描述磁场与电场之间关系的物理定律。具体来说,当导体回路中的磁通量发生变化时,会在回路中产生感应电动势。这个感应电动势的大小与磁通量变化的速率成正比,这就是法拉第电磁感应定律。\n 相关的公式是:ε = -dΦ/dt\n 其中,ε 表示感应电动势,Φ 表示磁通量,t 表示时间,dΦ/dt 则表示磁通量对时间的变化率。注意这里的负号,它表示感应电动势的方向与磁通量变化的方向相反,这是楞次定律的体现。\n 解释这个公式时,我们可以理解为:当穿过一个闭合导体回路的磁通量发生变化时,会在回路中产生感应电动势,其大小正比于磁通量变化的速率。这种感应电动势是由于磁场的变化而引发的,它是磁场变化对电场的直接影响,体现了磁场与电场之间的紧密联系。"}],go=async t=>{await Gr(t),En.session.setJSON("SRKJ_TOKEN_CACHE",t)};var mo=function(){var t=this,e=t._self._c;return e("div",{staticClass:"robot-tools"},[(t.listData.stop||t.listData.finish&&!t.sending)&&t.isLast?e("div",{staticClass:"robot-reanswer",staticStyle:{"margin-bottom":"8px"},on:{click:function(e){return t.reAnswer(t.listData)}}},[e("i",{staticClass:"el-icon-refresh-right"}),t._v(" 重新回答 ")]):t._e(),t.listData.stop?e("div",{staticClass:"stopMsg",staticStyle:{color:"#cfcfcf",cursor:"default"}},[t._v("已停止生成")]):t._e(),t.listData.stop||t.listData.finish||t.sending?t._e():e("div",{staticClass:"stopMsg",on:{click:function(e){return t.stopChat(t.listData)}}},[t._v("停止输出")]),e("div",{staticClass:"right-tools"},[e("el-tooltip",{attrs:{content:"赞",effect:"light",placement:"top"}},[e("div",{staticClass:"tools-icon",on:{click:function(e){return t.doZan(t.listData)}}},[t.listData.zan?e("img",{attrs:{alt:"",src:r(793)}}):e("img",{attrs:{src:r(632),alt:""}})])]),e("el-popover",{attrs:{placement:"top-start",trigger:"manual"},model:{value:t.popover,callback:function(e){t.popover=e},expression:"popover"}},[e("div",{attrs:{slot:"reference"},slot:"reference"},[e("el-tooltip",{attrs:{content:"踩",effect:"light",placement:"bottom"}},[t.listData.cai?e("div",{staticClass:"tools-icon",on:{click:function(e){return t.doCai(t.listData)}}},[e("img",{attrs:{alt:"",src:r(271)}})]):e("div",{staticClass:"tools-icon",on:{click:t.openPopover}},[e("img",{attrs:{alt:"",src:r(554)}})])])],1),e("div",{staticClass:"popover-box"},[e("div",{staticClass:"pop-title"},[t._v(" 你的反馈将 "),e("br"),t._v(" 帮助职教一问优化进步 ")]),e("i",{staticClass:"el-icon-close",staticStyle:{"font-size":"2rem"},on:{click:function(e){return t.cancelPopover()}}}),e("div",{staticClass:"error-list"},[e("el-checkbox-group",{model:{value:t.errors,callback:function(e){t.errors=e},expression:"errors"}},t._l(t.errorList,(function(n){return e("el-checkbox",{key:n.code,staticClass:"check",attrs:{label:n.code,border:""}},[t._v(" "+t._s(n.name)+" ")])})),1),e("el-input",{attrs:{rows:4,maxlength:"30",placeholder:"其他",resize:"none",type:"textarea"},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}}),e("div",{staticClass:"sumit-button"},[e("el-button",{attrs:{disabled:t.canSubmit},on:{click:function(e){return t.doCai(t.listData)}}},[t._v("提交")])],1)],1)])])],1)])},yo=[],vo={name:"ChatTools",props:{detailData:{type:Object,default:()=>{}},chatId:{type:String,default:""},sending:{type:Boolean,default:!1},resId:{type:String,default:""},openCourseId:{type:String,default:""},isLast:{type:Boolean,default:!1}},data(){return{input:"",popover:!1,errors:[],errorList:fo}},computed:{canSubmit(){return 0===this.errors.length&&""===this.input},listData(){return this.detailData}},methods:{cancelPopover(){this.popover=!1},openPopover(){this.popover=!0},async stopChat(t){const{msgId:e}=t;await Kr(e),t.stop=!0,this.$emit("on-stop-chat",t)},async reAnswer(t){t.reAnswerCount+=1,t.reAnswerCount>=3&&this.$confirm("对于回答是否依旧不满意,是否需要给教师负责人发送请求信息,由老师进行回答?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{await Qr({chatId:this.chatId,msgId:t.msgId,parentMsgId:t.parentMsgId,courseId:this.resId,openCourseId:this.openCourseId}),this.$message.success("已发送给老师")})).catch((()=>{})),this.$emit("on-reanswer",t)},async doZan(t){const e={chatId:this.chatId,msgId:t.msgId,type:1};t.zan?await Xr(e):await qr(e),t.zan=!t.zan,t.cai=!1},async doCai(t){let e={};t.cai||(e={desc:this.input,tags:this.errors});const n={chatId:this.chatId,msgId:t.msgId,type:2,...e};t.cai?await Xr(n):await qr(n),t.cai=!t.cai,t.zan=!1,t.cai&&this.$message.success("感谢您的反馈"),this.popover=!1,this.input="",this.errors=[]}}},wo=vo,Ao=ao(wo,mo,yo,!1,null,"78eed5c6",null),bo=Ao.exports;const So=new AbortController,_o=So.signal;var Co={name:"Chat",components:{ChatTools:bo},props:{keyWord:{type:String,default:""},resId:{type:String,default:""},openCourseId:{type:String,default:""},chatId:{type:String,default:""},chatMajorId:{type:String,default:void 0},messageData:{type:Array,default:po}},data(){return{popover:!1,input:"",errors:[],errorList:fo,finish:!1,cacheKeyWord:""}},computed:{canSubmit(){return 0===this.errors.length&&""===this.input}},watch:{keyWord:{handler(){this.keyWord&&(this.cacheKeyWord=this.keyWord,this.postMessage())},immediate:!0}},methods:{cancelPopover(){this.popover=!1},openPopover(){this.popover=!0},scrollToBottom(){this.$refs.chatContainer.scrollTop=this.$refs.chatContainer.scrollHeight},async postMessage(t,e,n){let r={};this.finish=!1,t&&(t.sending=!0,r={reStatus:1,parentMsgId:t.parentMsgId,msgId:t.msgId,content:this.messageData[t.index-1].message},this.messageData[t.index].message="",this.makeAutoMessage());const o={messageList:[{content:this.keyWord||this.cacheKeyWord,resId:this.resId,chatId:this.chatId||void 0,commonKey:e||!1,parentMsgId:n||void 0,...r}]};if(!t&&!e){const t=this.keyWord||this.cacheKeyWord;this.messageData.push({type:"user",message:t.replace(/\n/g,"<br>")}),setTimeout((()=>{this.messageData.push({type:"robot",message:"",zan:!1,cai:!1,stop:!1,finish:!1,sending:!0,links:[],connectUrl:[],reAnswerCount:0}),this.makeAutoMessage()}))}await oo(o,_o,(e=>{this.makeMessageLine(e,t)}))},makeAutoMessage(){const t=[];for(let e=0;e<this.messageData.length;e++){const n=this.messageData[e];t.push({role:"robot"===n.type?"assistant":"user",content:n.message||"正在思考中。"})}this.makeAutoQuestioning(t)},makeMessageLine(t,e){const{content:n,status:r,chatId:o,msgId:i,parentMsgId:s,reference:a,commonKey:c,connectUrl:l}=JSON.parse(t.data);let u=e?e.index:this.messageData.length-1;const h=this.messageData[u];let f=!0;if(2===r||1===r)return c?(h.sending=!0,void this.postMessage(e,c,s)):(h.finish=!0,a&&(h.links=JSON.parse(a),h.links.map((t=>{t.title.startsWith(this.chatMajorId)||(f=!1)}))),l&&(h.connectUrl=JSON.parse(l)),h.allIdWithStart=f,this.cacheKeyWord="",this.finish=!0,void this.$emit("on-message-finish",o));h.message+=n.replace(/\n/g,"<br>"),h.msgId=i,h.parentMsgId=s,h.chatId=o,setTimeout((()=>{e||this.scrollToBottom()}),100),setTimeout((()=>h.sending=!1),500)},async makeAutoQuestioning(t){if(t.length<=2)return;const e=await ro(this.chatMajorId,t),{message:{content:{followUps:n}}}=e;this.messageData[this.messageData.length-1].followUps=n.length>3?n.splice(0,3):n},onStopChat(t){this.$emit("on-message-finish",t.chatId)},selectModule(t){this.cacheKeyWord=t,this.postMessage()},reanswer(t,e){t.index=e,t.stop=!1,t.finish=!1,t.links=[],t.connectUrl=[],this.postMessage(t),this.$emit("on-reanser")}}},Bo=Co,Eo=ao(Bo,uo,ho,!1,null,"069a8301",null),ko=Eo.exports;
|
|
19
19
|
/*! js-cookie v3.0.5 | MIT */
|
|
20
|
-
function
|
|
20
|
+
function xo(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}var Ro={read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Oo(t,e){function n(n,r,o){if("undefined"!==typeof document){o=xo({},e,o),"number"===typeof o.expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in o)o[s]&&(i+="; "+s,!0!==o[s]&&(i+="="+o[s].split(";")[0]));return document.cookie=n+"="+t.write(r,n)+i}}function r(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(r[a]=t.read(s,a),e===a)break}catch(wr){}}return e?r[e]:r}}return Object.create({set:n,get:r,remove:function(t,e){n(t,"",xo({},e,{expires:-1}))},withAttributes:function(t){return Oo(this.converter,xo({},this.attributes,t))},withConverter:function(t){return Oo(xo({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Io=Oo(Ro,{path:"/"}),To={name:"AiAssistant",components:{HotSearch:lo,Chat:ko},props:{visible:!0,resId:{type:String,default:""},openCourseId:{type:String,default:""}},watch:{visible(){this.visible&&eo(this.resId).then((t=>{1==t.flag?(this.courseFlag=!0,this.queryList()):(this.courseFlag=!1,this.message=t.message)}))}},data(){return{aiMessage:"",aiMessageKeyWord:"",chatShow:!1,courseFlag:!1,message:"",messageList:[],chatId:void 0,stop:!1,chatMajorId:""}},mounted(){if(!Io.get("token"))return this.$message.warning("未获取到登录信息,请重新登录");this.messageList=[],go(Io.get("token"))},methods:{closeMessage(){this.stopMessage()&&this.$emit("close")},selectModule(t){this.chatShow=!0,this.aiMessage=t,this.goChat({})},showHot(){this.chatShow=!1},async queryList(){to(this.resId);const t=await $r(this.resId);if(!t||t.length<1)return;let e=t[0].contents.reverse();const{chatMajorId:n}=t[0];this.chatMajorId=n&&n.toString();const r=[];e.map((t=>{let e=!0;this.chatMajorId&&t.references&&t.references.map((t=>{t.title.startsWith(this.chatMajorId)||(e=!1)}));const n={type:"assistant"===t.role?"robot":"user",message:t.content.replace(/\n/g,"<br>"),zan:1===t.type,cai:2===t.type,stop:1===t.status,finish:!0,links:t.references||[],connectUrl:t.connectUrls||[],reAnswerCount:0,msgId:t.contentId,parentMsgId:t.parentMsgId,allIdWithStart:e};r.push(n)})),e[0]&&(this.chatId=e[0].chatId),this.messageList=r,this.messageList.length>0&&(this.chatShow=!0,setTimeout((()=>{this.$refs.chatRef.scrollToBottom()})))},async addNewChat(){if(!this.stopMessage())return;const t=await Yr(this.resId);this.chatId=t.chatId,this.resizeChat(),this.$message.success("创建新对话成功!")},async clearChat(){this.stopMessage()&&(!this.chatId||this.messageList.length<1?this.$message.warning("当前对话为最新对话"):(await Zr(this.chatId),this.resizeChat(),this.$message.success("对话清除成功!"),this.chatId=void 0))},goChat(t){t.shiftKey||this.stopMessage()&&(this.aiMessage.length>6e3?this.$message.warning("文字长度不能超过3000字"):this.aiMessage.trim()?(this.aiMessageKeyWord=this.aiMessage,this.chatShow=!0,this.stop=!0,setTimeout((()=>{this.aiMessageKeyWord=this.aiMessage=""}),300)):this.$message.error("输入内容为空"))},reanserMethod(){this.stop=!0},stopMessage(){return!this.stop||(this.$message.warning("对话正在进行中,请稍后重试"),!1)},resizeChat(){this.messageList=[],this.chatShow=!1},messageFinish(t){this.stop=!1,this.chatId=t}}},Do=To,Uo=ao(Do,i,s,!1,null,"77093a83",null),jo=Uo.exports;jo.install=function(t){t.component(jo.name,jo)};var Mo=jo;const No={AiAssistant:Mo},Po=function(t){Po.installed||Object.keys(No).forEach((e=>{t.component(No[e].name,No[e])}))};var zo={install:Po},Fo=zo}(),o}()}));
|
|
21
21
|
//# sourceMappingURL=ai-assistant-pro.umd.min.js.map
|