dphelper 1.2.3 → 1.2.4

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- (()=>{var e,t,n={6608:(e,t,n)=>{"use strict";(()=>{if(globalThis.dphelper)return;n(7605),n(9427),n(6011),n(1272),n(852),n(1639),n(9987),n(5219),n(6338),n(6238);const e=n(8330);globalThis.$=globalThis.jQuery=n(2770),Object.defineProperty(globalThis,"dphelper",{value:{},writable:!1,configurable:!1});const t=n(4787);if(t.scripts)return;t.scripts=[],t.version=e.version;const r=setInterval((()=>{var e;const t=null===(e=dphelper)||void 0===e||null===(e=e.socket)||void 0===e?void 0:e.list(),n=[];t.map((e=>{n.push(e.url)})),dphelper._list.sockets=n,n&&clearInterval(r)}),1e3);var o;Object.defineProperties(dphelper,{_list:{value:t},version:{value:e.version}}),$.ajaxSetup({async:!0,cache:!0,global:!0}),(o=n(1223)).keys().forEach((e=>cache[e]=o(e))),dphelper.credits(e)})()},4237:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,o=[],i=[],a=[],s=[],l=[],c=[],u=[],p=[],d=[],h=[];!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 f=r^r<<1^r<<2^r<<3^r<<4;f=f>>>8^255&f^99,o[n]=f,i[f]=n;var m=e[n],v=e[m],g=e[v],y=257*e[f]^16843008*f;a[n]=y<<24|y>>>8,s[n]=y<<16|y>>>16,l[n]=y<<8|y>>>24,c[n]=y,y=16843009*g^65537*v^257*m^16843008*n,u[f]=y<<24|y>>>8,p[f]=y<<16|y>>>16,d[f]=y<<8|y>>>24,h[f]=y,n?(n=m^e[e[e[g^m]]],r^=e[e[r]]):n=r=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=t.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=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],a=0;a<r;a++)a<n?i[a]=t[a]:(c=i[a-1],a%n?n>6&&a%n==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=o[(c=c<<8|c>>>24)>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=f[a/n|0]<<24),i[a]=i[a-n]^c);for(var s=this._invKeySchedule=[],l=0;l<r;l++){if(a=r-l,l%4)var c=i[a];else c=i[a-4];s[l]=l<4||a<=4?c:u[o[c>>>24]]^p[o[c>>>16&255]]^d[o[c>>>8&255]]^h[o[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,l,c,o)},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,u,p,d,h,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,a,s){for(var l=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],p=e[t+2]^n[2],d=e[t+3]^n[3],h=4,f=1;f<l;f++){var m=r[c>>>24]^o[u>>>16&255]^i[p>>>8&255]^a[255&d]^n[h++],v=r[u>>>24]^o[p>>>16&255]^i[d>>>8&255]^a[255&c]^n[h++],g=r[p>>>24]^o[d>>>16&255]^i[c>>>8&255]^a[255&u]^n[h++],y=r[d>>>24]^o[c>>>16&255]^i[u>>>8&255]^a[255&p]^n[h++];c=m,u=v,p=g,d=y}m=(s[c>>>24]<<24|s[u>>>16&255]<<16|s[p>>>8&255]<<8|s[255&d])^n[h++],v=(s[u>>>24]<<24|s[p>>>16&255]<<16|s[d>>>8&255]<<8|s[255&c])^n[h++],g=(s[p>>>24]<<24|s[d>>>16&255]<<16|s[c>>>8&255]<<8|s[255&u])^n[h++],y=(s[d>>>24]<<24|s[c>>>16&255]<<16|s[u>>>8&255]<<8|s[255&p])^n[h++],e[t]=m,e[t+1]=v,e[t+2]=g,e[t+3]=y},keySize:8});e.AES=t._createHelper(m)}(),r.AES)},3230:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib.BlockCipher,n=e.algo;const o=16,i=[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 s={pbox:[],sbox:[]};function l(e,t){let n=t>>24&255,r=t>>16&255,o=t>>8&255,i=255&t,a=e.sbox[0][n]+e.sbox[1][r];return a^=e.sbox[2][o],a+=e.sbox[3][i],a}function c(e,t,n){let r,i=t,a=n;for(let t=0;t<o;++t)i^=e.pbox[t],a=l(e,i)^a,r=i,i=a,a=r;return r=i,i=a,a=r,a^=e.pbox[o],i^=e.pbox[o+1],{left:i,right:a}}function u(e,t,n){let r,i=t,a=n;for(let t=o+1;t>1;--t)i^=e.pbox[t],a=l(e,i)^a,r=i,i=a,a=r;return r=i,i=a,a=r,a^=e.pbox[1],i^=e.pbox[0],{left:i,right:a}}function p(e,t,n){for(let t=0;t<4;t++){e.sbox[t]=[];for(let n=0;n<256;n++)e.sbox[t][n]=a[t][n]}let r=0;for(let a=0;a<o+2;a++)e.pbox[a]=i[a]^t[r],r++,r>=n&&(r=0);let s=0,l=0,u=0;for(let t=0;t<o+2;t+=2)u=c(e,s,l),s=u.left,l=u.right,e.pbox[t]=s,e.pbox[t+1]=l;for(let t=0;t<4;t++)for(let n=0;n<256;n+=2)u=c(e,s,l),s=u.left,l=u.right,e.sbox[t][n]=s,e.sbox[t][n+1]=l;return!0}var d=n.Blowfish=t.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4;p(s,t,n)}},encryptBlock:function(e,t){var n=c(s,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},decryptBlock:function(e,t){var n=u(s,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=t._createHelper(d)}(),r.Blowfish)},2383:function(e,t,n){var r;e.exports=(r=n(2059),n(1256),void(r.lib.Cipher||function(e){var t=r,n=t.lib,o=n.Base,i=n.WordArray,a=n.BufferedBlockAlgorithm,s=t.enc,l=(s.Utf8,s.Base64),c=t.algo.EvpKDF,u=n.Cipher=a.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(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:g}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)}}}}()}),p=(n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),d=n.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}}),h=p.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 a=0;a<r;a++)t[n+a]^=o[a]}return t.Encryptor=t.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)}}),t.Decryptor=t.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}}),t}(),f=(t.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,o=r<<24|r<<16|r<<8|r,a=[],s=0;s<r;s+=4)a.push(o);var l=i.create(a,r);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},m=(n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:h,padding:f}),reset:function(){var e;u.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}),n.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),v=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?i.create([1398893684,1701076831]).concat(n).concat(t):t).toString(l)},parse:function(e){var t,n=l.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),m.create({ciphertext:n,salt:t})}},g=n.SerializableCipher=o.extend({cfg:o.extend({format:v}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),a=o.cfg;return m.create({ciphertext:i,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(t.kdf={}).OpenSSL={execute:function(e,t,n,r,o){if(r||(r=i.random(8)),o)a=c.create({keySize:t+n,hasher:o}).compute(e,r);else var a=c.create({keySize:t+n}).compute(e,r);var s=i.create(a.words.slice(t),4*n);return a.sigBytes=4*t,m.create({key:a,iv:s,salt:r})}},b=n.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:y}),encrypt:function(e,t,n,r){var o=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=o.iv;var i=g.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);return r.iv=o.iv,g.decrypt.call(this,e,t,o.key,r)}})}()))},2059:function(e,t,n){var r;e.exports=(r=r||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&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(477)}catch(e){}var o=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}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}}(),a={},s=a.lib={},l=s.Base={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)}},c=s.WordArray=l.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||p).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 a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var s=0;s<o;s+=4)t[r+s>>>2]=n[s>>>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=l.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 c.init(t,e)}}),u=a.enc={},p=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 c.init(n,t/2)}},d=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 c.init(n,t)}},h=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},f=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,s=i/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,u=e.min(4*l,i);if(l){for(var p=0;p<l;p+=a)this._doProcessBlock(o,p);n=o.splice(0,l),r.sigBytes-=u}return new c.init(n,u)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),m=(s.Hasher=f.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},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 m.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math),r)},9872:function(e,t,n){var r;e.exports=(r=n(2059),function(){var e=r,t=e.lib.WordArray;function n(e,n,r){for(var o=[],i=0,a=0;a<n;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return t.create(o,i)}e.enc.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 a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<n;s++)o.push(r.charAt(a>>>6*(3-s)&63));var l=r.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return n(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)},491:function(e,t,n){var r;e.exports=(r=n(2059),function(){var e=r,t=e.lib.WordArray;function n(e,n,r){for(var o=[],i=0,a=0;a<n;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return t.create(o,i)}e.enc.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=[],a=0;a<r;a+=3)for(var s=(n[a>>>2]>>>24-a%4*8&255)<<16|(n[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|n[a+2>>>2]>>>24-(a+2)%4*8&255,l=0;l<4&&a+.75*l<r;l++)i.push(o.charAt(s>>>6*(3-l)&63));var c=o.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,o=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<o.length;a++)i[o.charCodeAt(a)]=a}var s=o.charAt(64);if(s){var l=e.indexOf(s);-1!==l&&(r=l)}return n(e,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),r.enc.Base64url)},4677:function(e,t,n){var r;e.exports=(r=n(2059),function(){var e=r,t=e.lib.WordArray,n=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.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 n=e.length,r=[],o=0;o<n;o++)r[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(r,2*n)}},n.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=2){var a=o(t[i>>>2]>>>16-i%4*8&65535);r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var n=e.length,r=[],i=0;i<n;i++)r[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return t.create(r,2*n)}}}(),r.enc.Utf16)},1256:function(e,t,n){var r,o,i,a,s,l,c,u;e.exports=(u=n(2059),n(8477),n(2079),o=(r=u).lib,i=o.Base,a=o.WordArray,s=r.algo,l=s.MD5,c=s.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:l,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,r=this.cfg,o=r.hasher.create(),i=a.create(),s=i.words,l=r.keySize,c=r.iterations;s.length<l;){n&&o.update(n),n=o.update(e).finalize(t),o.reset();for(var u=1;u<c;u++)n=o.finalize(n),o.reset();i.concat(n)}return i.sigBytes=4*l,i}}),r.EvpKDF=function(e,t,n){return c.create(n).compute(e,t)},u.EvpKDF)},4007:function(e,t,n){var r,o,i,a;e.exports=(a=n(2059),n(2383),o=(r=a).lib.CipherParams,i=r.enc.Hex,r.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return o.create({ciphertext:t})}},a.format.Hex)},2079:function(e,t,n){var r,o,i,a;e.exports=(r=n(2059),i=(o=r).lib.Base,a=o.enc.Utf8,void(o.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=a.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(),i=this._iKey=t.clone(),s=o.words,l=i.words,c=0;c<n;c++)s[c]^=1549556828,l[c]^=909522486;o.sigBytes=i.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);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))},8854:function(e,t,n){var r;e.exports=(r=n(2059),n(5074),n(6870),n(4677),n(9872),n(491),n(4162),n(8477),n(8479),n(3218),n(4630),n(855),n(2091),n(5398),n(2079),n(1133),n(1256),n(2383),n(3555),n(2497),n(5290),n(1159),n(6076),n(4499),n(5803),n(2044),n(4189),n(3498),n(4007),n(4237),n(7186),n(3127),n(6536),n(5330),n(3230),r)},6870:function(e,t,n){var r;e.exports=(r=n(2059),function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init,n=e.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 n=e.byteLength,r=[],o=0;o<n;o++)r[o>>>2]|=e[o]<<24-o%4*8;t.call(this,r,n)}else t.apply(this,arguments)};n.prototype=e}}(),r.lib.WordArray)},4162:function(e,t,n){var r;e.exports=(r=n(2059),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=a.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,a=e[t+0],l=e[t+1],h=e[t+2],f=e[t+3],m=e[t+4],v=e[t+5],g=e[t+6],y=e[t+7],b=e[t+8],x=e[t+9],D=e[t+10],w=e[t+11],C=e[t+12],k=e[t+13],_=e[t+14],S=e[t+15],M=i[0],P=i[1],T=i[2],A=i[3];M=c(M,P,T,A,a,7,s[0]),A=c(A,M,P,T,l,12,s[1]),T=c(T,A,M,P,h,17,s[2]),P=c(P,T,A,M,f,22,s[3]),M=c(M,P,T,A,m,7,s[4]),A=c(A,M,P,T,v,12,s[5]),T=c(T,A,M,P,g,17,s[6]),P=c(P,T,A,M,y,22,s[7]),M=c(M,P,T,A,b,7,s[8]),A=c(A,M,P,T,x,12,s[9]),T=c(T,A,M,P,D,17,s[10]),P=c(P,T,A,M,w,22,s[11]),M=c(M,P,T,A,C,7,s[12]),A=c(A,M,P,T,k,12,s[13]),T=c(T,A,M,P,_,17,s[14]),M=u(M,P=c(P,T,A,M,S,22,s[15]),T,A,l,5,s[16]),A=u(A,M,P,T,g,9,s[17]),T=u(T,A,M,P,w,14,s[18]),P=u(P,T,A,M,a,20,s[19]),M=u(M,P,T,A,v,5,s[20]),A=u(A,M,P,T,D,9,s[21]),T=u(T,A,M,P,S,14,s[22]),P=u(P,T,A,M,m,20,s[23]),M=u(M,P,T,A,x,5,s[24]),A=u(A,M,P,T,_,9,s[25]),T=u(T,A,M,P,f,14,s[26]),P=u(P,T,A,M,b,20,s[27]),M=u(M,P,T,A,k,5,s[28]),A=u(A,M,P,T,h,9,s[29]),T=u(T,A,M,P,y,14,s[30]),M=p(M,P=u(P,T,A,M,C,20,s[31]),T,A,v,4,s[32]),A=p(A,M,P,T,b,11,s[33]),T=p(T,A,M,P,w,16,s[34]),P=p(P,T,A,M,_,23,s[35]),M=p(M,P,T,A,l,4,s[36]),A=p(A,M,P,T,m,11,s[37]),T=p(T,A,M,P,y,16,s[38]),P=p(P,T,A,M,D,23,s[39]),M=p(M,P,T,A,k,4,s[40]),A=p(A,M,P,T,a,11,s[41]),T=p(T,A,M,P,f,16,s[42]),P=p(P,T,A,M,g,23,s[43]),M=p(M,P,T,A,x,4,s[44]),A=p(A,M,P,T,C,11,s[45]),T=p(T,A,M,P,S,16,s[46]),M=d(M,P=p(P,T,A,M,h,23,s[47]),T,A,a,6,s[48]),A=d(A,M,P,T,y,10,s[49]),T=d(T,A,M,P,_,15,s[50]),P=d(P,T,A,M,v,21,s[51]),M=d(M,P,T,A,C,6,s[52]),A=d(A,M,P,T,f,10,s[53]),T=d(T,A,M,P,D,15,s[54]),P=d(P,T,A,M,l,21,s[55]),M=d(M,P,T,A,b,6,s[56]),A=d(A,M,P,T,S,10,s[57]),T=d(T,A,M,P,g,15,s[58]),P=d(P,T,A,M,k,21,s[59]),M=d(M,P,T,A,m,6,s[60]),A=d(A,M,P,T,w,10,s[61]),T=d(T,A,M,P,h,15,s[62]),P=d(P,T,A,M,x,21,s[63]),i[0]=i[0]+M|0,i[1]=i[1]+P|0,i[2]=i[2]+T|0,i[3]=i[3]+A|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),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+o+a;return(s<<i|s>>>32-i)+t}function u(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+o+a;return(s<<i|s>>>32-i)+t}function p(e,t,n,r,o,i,a){var s=e+(t^n^r)+o+a;return(s<<i|s>>>32-i)+t}function d(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+o+a;return(s<<i|s>>>32-i)+t}t.MD5=i._createHelper(l),t.HmacMD5=i._createHmacHelper(l)}(Math),r.MD5)},3555:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.mode.CFB=function(){var e=r.lib.BlockCipherMode.extend();function t(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 a=0;a<n;a++)e[t+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,n){var r=this._cipher,o=r.blockSize;t.call(this,e,n,o,r),this._prevBlock=e.slice(n,n+o)}}),e.Decryptor=e.extend({processBlock:function(e,n){var r=this._cipher,o=r.blockSize,i=e.slice(n,n+o);t.call(this,e,n,o,r),this._prevBlock=i}}),e}(),r.mode.CFB)},5290:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.mode.CTRGladman=function(){var e=r.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function n(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var o=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),n(a);var s=a.slice(0);r.encryptBlock(s,0);for(var l=0;l<o;l++)e[t+l]^=s[l]}});return e.Decryptor=o,e}(),r.mode.CTRGladman)},2497:function(e,t,n){var r,o,i;e.exports=(i=n(2059),n(2383),i.mode.CTR=(r=i.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(e,t){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 a=i.slice(0);n.encryptBlock(a,0),i[r-1]=i[r-1]+1|0;for(var s=0;s<r;s++)e[t+s]^=a[s]}}),r.Decryptor=o,r),i.mode.CTR)},6076:function(e,t,n){var r,o;e.exports=(o=n(2059),n(2383),o.mode.ECB=((r=o.lib.BlockCipherMode.extend()).Encryptor=r.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),r.Decryptor=r.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),r),o.mode.ECB)},1159:function(e,t,n){var r,o,i;e.exports=(i=n(2059),n(2383),i.mode.OFB=(r=i.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(e,t){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 a=0;a<r;a++)e[t+a]^=i[a]}}),r.Decryptor=o,r),i.mode.OFB)},4499:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,o=r-n%r,i=n+o-1;e.clamp(),e.words[i>>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Ansix923)},5803:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.pad.Iso10126={pad:function(e,t){var n=4*t,o=n-e.sigBytes%n;e.concat(r.lib.WordArray.random(o-1)).concat(r.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Iso10126)},2044:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.pad.Iso97971={pad:function(e,t){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,t)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971)},3498:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding)},4189:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},r.pad.ZeroPadding)},1133:function(e,t,n){var r,o,i,a,s,l,c,u,p;e.exports=(p=n(2059),n(8479),n(2079),o=(r=p).lib,i=o.Base,a=o.WordArray,s=r.algo,l=s.SHA256,c=s.HMAC,u=s.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:l,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=c.create(n.hasher,e),o=a.create(),i=a.create([1]),s=o.words,l=i.words,u=n.keySize,p=n.iterations;s.length<u;){var d=r.update(t).finalize(i);r.reset();for(var h=d.words,f=h.length,m=d,v=1;v<p;v++){m=r.finalize(m),r.reset();for(var g=m.words,y=0;y<f;y++)h[y]^=g[y]}o.concat(d),l[0]++}return o.sigBytes=4*u,o}}),r.PBKDF2=function(e,t,n){return u.create(n).compute(e,t)},p.PBKDF2)},5330:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[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(t){var i=t.words,a=i[0],s=i[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),p=c>>>16|4294901760&u,d=u<<16|65535&c;for(r[0]^=c,r[1]^=p,r[2]^=u,r[3]^=d,r[4]^=c,r[5]^=p,r[6]^=u,r[7]^=d,o=0;o<4;o++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,s=r>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=l^c}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(s)}(),r.RabbitLegacy)},6536:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(t){var i=t.words,a=i[0],s=i[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),p=c>>>16|4294901760&u,d=u<<16|65535&c;for(o[0]^=c,o[1]^=p,o[2]^=u,o[3]^=d,o[4]^=c,o[5]^=p,o[6]^=u,o[7]^=d,n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,s=r>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=l^c}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(s)}(),r.Rabbit)},3127:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,o=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],o=0;o<256;o++)r[o]=o;o=0;for(var i=0;o<256;o++){var a=o%n,s=t[a>>>2]>>>24-a%4*8&255;i=(i+r[o]+s)%256;var l=r[o];r[o]=r[i],r[i]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,n=this._j,r=0,o=0;o<4;o++){n=(n+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[n],e[n]=i,r|=e[(e[t]+e[n])%256]<<24-8*o}return this._i=t,this._j=n,r}e.RC4=t._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(a)}(),r.RC4)},5398:function(e,t,n){var r;e.exports=(r=n(2059),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.algo,s=o.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]),l=o.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=o.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]),u=o.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]),p=o.create([0,1518500249,1859775393,2400959708,2840853838]),d=o.create([1352829926,1548603684,1836072691,2053994217,0]),h=a.RIPEMD160=i.extend({_doReset:function(){this._hash=o.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,a,h,x,D,w,C,k,_,S,M,P=this._hash.words,T=p.words,A=d.words,E=s.words,j=l.words,B=c.words,O=u.words;for(w=i=P[0],C=a=P[1],k=h=P[2],_=x=P[3],S=D=P[4],n=0;n<80;n+=1)M=i+e[t+E[n]]|0,M+=n<16?f(a,h,x)+T[0]:n<32?m(a,h,x)+T[1]:n<48?v(a,h,x)+T[2]:n<64?g(a,h,x)+T[3]:y(a,h,x)+T[4],M=(M=b(M|=0,B[n]))+D|0,i=D,D=x,x=b(h,10),h=a,a=M,M=w+e[t+j[n]]|0,M+=n<16?y(C,k,_)+A[0]:n<32?g(C,k,_)+A[1]:n<48?v(C,k,_)+A[2]:n<64?m(C,k,_)+A[3]:f(C,k,_)+A[4],M=(M=b(M|=0,O[n]))+S|0,w=S,S=_,_=b(k,10),k=C,C=M;M=P[1]+h+_|0,P[1]=P[2]+x+S|0,P[2]=P[3]+D+w|0,P[3]=P[4]+i+C|0,P[4]=P[0]+a+k|0,P[0]=M},_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,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function v(e,t,n){return(e|~t)^n}function g(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<<t|e>>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(Math),r.RIPEMD160)},8477:function(e,t,n){var r,o,i,a,s,l,c,u;e.exports=(u=n(2059),o=(r=u).lib,i=o.WordArray,a=o.Hasher,s=r.algo,l=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new i.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],s=n[4],c=0;c<80;c++){if(c<16)l[c]=0|e[t+c];else{var u=l[c-3]^l[c-8]^l[c-14]^l[c-16];l[c]=u<<1|u>>>31}var p=(r<<5|r>>>27)+s+l[c];p+=c<20?1518500249+(o&i|~o&a):c<40?1859775393+(o^i^a):c<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,s=a,a=i,i=o<<30|o>>>2,o=r,r=p}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]+s|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=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(c),r.HmacSHA1=a._createHmacHelper(c),u.SHA1)},3218:function(e,t,n){var r,o,i,a,s,l;e.exports=(l=n(2059),n(8479),o=(r=l).lib.WordArray,i=r.algo,a=i.SHA256,s=i.SHA224=a.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}}),r.SHA224=a._createHelper(s),r.HmacSHA224=a._createHmacHelper(s),l.SHA224)},8479:function(e,t,n){var r;e.exports=(r=n(2059),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.algo,s=[],l=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)t(r)&&(o<8&&(s[o]=n(e.pow(r,.5))),l[o]=n(e.pow(r,1/3)),o++),r++}();var c=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],u=n[5],p=n[6],d=n[7],h=0;h<64;h++){if(h<16)c[h]=0|e[t+h];else{var f=c[h-15],m=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,v=c[h-2],g=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;c[h]=m+c[h-7]+g+c[h-16]}var y=r&o^r&i^o&i,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),x=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&p)+l[h]+c[h];d=p,p=u,u=s,s=a+x|0,a=i,i=o,o=r,r=x+(b+y)|0}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]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+p|0,n[7]=n[7]+d|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 e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(u),t.HmacSHA256=i._createHmacHelper(u)}(Math),r.SHA256)},2091:function(e,t,n){var r;e.exports=(r=n(2059),n(5074),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.x64.Word,s=t.algo,l=[],c=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var s=0,p=0,d=0;d<7;d++){if(1&o){var h=(1<<d)-1;h<32?p^=1<<h:s^=1<<h-32}128&o?o=o<<1^113:o<<=1}u[i]=a.create(s,p)}}();var p=[];!function(){for(var e=0;e<25;e++)p[e]=a.create()}();var d=s.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],a=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(P=n[o]).high^=a,P.low^=i}for(var s=0;s<24;s++){for(var d=0;d<5;d++){for(var h=0,f=0,m=0;m<5;m++)h^=(P=n[d+5*m]).high,f^=P.low;var v=p[d];v.high=h,v.low=f}for(d=0;d<5;d++){var g=p[(d+4)%5],y=p[(d+1)%5],b=y.high,x=y.low;for(h=g.high^(b<<1|x>>>31),f=g.low^(x<<1|b>>>31),m=0;m<5;m++)(P=n[d+5*m]).high^=h,P.low^=f}for(var D=1;D<25;D++){var w=(P=n[D]).high,C=P.low,k=l[D];k<32?(h=w<<k|C>>>32-k,f=C<<k|w>>>32-k):(h=C<<k-32|w>>>64-k,f=w<<k-32|C>>>64-k);var _=p[c[D]];_.high=h,_.low=f}var S=p[0],M=n[0];for(S.high=M.high,S.low=M.low,d=0;d<5;d++)for(m=0;m<5;m++){var P=n[D=d+5*m],T=p[D],A=p[(d+1)%5+5*m],E=p[(d+2)%5+5*m];P.high=T.high^~A.high&E.high,P.low=T.low^~A.low&E.low}P=n[0];var j=u[s];P.high^=j.high,P.low^=j.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 a=this._state,s=this.cfg.outputLength/8,l=s/8,c=[],u=0;u<l;u++){var p=a[u],d=p.high,h=p.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),c.push(h),c.push(d)}return new o.init(c,s)},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}});t.SHA3=i._createHelper(d),t.HmacSHA3=i._createHmacHelper(d)}(Math),r.SHA3)},855:function(e,t,n){var r,o,i,a,s,l,c,u;e.exports=(u=n(2059),n(5074),n(4630),o=(r=u).x64,i=o.Word,a=o.WordArray,s=r.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=l._doFinalize.call(this);return e.sigBytes-=16,e}}),r.SHA384=l._createHelper(c),r.HmacSHA384=l._createHmacHelper(c),u.SHA384)},4630:function(e,t,n){var r;e.exports=(r=n(2059),n(5074),function(){var e=r,t=e.lib.Hasher,n=e.x64,o=n.Word,i=n.WordArray,a=e.algo;function s(){return o.create.apply(o,arguments)}var l=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=s()}();var u=a.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],u=n[5],p=n[6],d=n[7],h=r.high,f=r.low,m=o.high,v=o.low,g=i.high,y=i.low,b=a.high,x=a.low,D=s.high,w=s.low,C=u.high,k=u.low,_=p.high,S=p.low,M=d.high,P=d.low,T=h,A=f,E=m,j=v,B=g,O=y,N=b,H=x,L=D,I=w,R=C,z=k,F=_,q=S,$=M,W=P,U=0;U<80;U++){var Y,X,G=c[U];if(U<16)X=G.high=0|e[t+2*U],Y=G.low=0|e[t+2*U+1];else{var K=c[U-15],Z=K.high,V=K.low,J=(Z>>>1|V<<31)^(Z>>>8|V<<24)^Z>>>7,Q=(V>>>1|Z<<31)^(V>>>8|Z<<24)^(V>>>7|Z<<25),ee=c[U-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=c[U-7],ae=ie.high,se=ie.low,le=c[U-16],ce=le.high,ue=le.low;X=(X=(X=J+ae+((Y=Q+se)>>>0<Q>>>0?1:0))+re+((Y+=oe)>>>0<oe>>>0?1:0))+ce+((Y+=ue)>>>0<ue>>>0?1:0),G.high=X,G.low=Y}var pe,de=L&R^~L&F,he=I&z^~I&q,fe=T&E^T&B^E&B,me=A&j^A&O^j&O,ve=(T>>>28|A<<4)^(T<<30|A>>>2)^(T<<25|A>>>7),ge=(A>>>28|T<<4)^(A<<30|T>>>2)^(A<<25|T>>>7),ye=(L>>>14|I<<18)^(L>>>18|I<<14)^(L<<23|I>>>9),be=(I>>>14|L<<18)^(I>>>18|L<<14)^(I<<23|L>>>9),xe=l[U],De=xe.high,we=xe.low,Ce=$+ye+((pe=W+be)>>>0<W>>>0?1:0),ke=ge+me;$=F,W=q,F=R,q=z,R=L,z=I,L=N+(Ce=(Ce=(Ce=Ce+de+((pe+=he)>>>0<he>>>0?1:0))+De+((pe+=we)>>>0<we>>>0?1:0))+X+((pe+=Y)>>>0<Y>>>0?1:0))+((I=H+pe|0)>>>0<H>>>0?1:0)|0,N=B,H=O,B=E,O=j,E=T,j=A,T=Ce+(ve+fe+(ke>>>0<ge>>>0?1:0))+((A=pe+ke|0)>>>0<pe>>>0?1:0)|0}f=r.low=f+A,r.high=h+T+(f>>>0<A>>>0?1:0),v=o.low=v+j,o.high=m+E+(v>>>0<j>>>0?1:0),y=i.low=y+O,i.high=g+B+(y>>>0<O>>>0?1:0),x=a.low=x+H,a.high=b+N+(x>>>0<H>>>0?1:0),w=s.low=w+I,s.high=D+L+(w>>>0<I>>>0?1:0),k=u.low=k+z,u.high=C+R+(k>>>0<z>>>0?1:0),S=p.low=S+q,p.high=_+F+(S>>>0<q>>>0?1:0),P=d.low=P+W,d.high=M+$+(P>>>0<W>>>0?1: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[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),r.SHA512)},7186:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib,n=t.WordArray,o=t.BlockCipher,i=e.algo,a=[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],s=[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],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{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],p=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=a[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var c=o[i]=[],u=l[i];for(n=0;n<24;n++)c[n/6|0]|=t[(s[n]-1+u)%28]<<31-n%6,c[4+(n/6|0)]|=t[28+(s[n+24]-1+u)%28]<<31-n%6;for(c[0]=c[0]<<1|c[0]>>>31,n=1;n<7;n++)c[n]=c[n]>>>4*(n-1)+3;c[7]=c[7]<<5|c[7]>>>27}var p=this._invSubKeys=[];for(n=0;n<16;n++)p[n]=o[15-n]},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],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,a=this._rBlock,s=0,l=0;l<8;l++)s|=c[l][((a^o[l])&u[l])>>>0];this._lBlock=a,this._rBlock=i^s}var p=this._lBlock;this._lBlock=this._rBlock,this._rBlock=p,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function h(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}e.DES=o._createHelper(p);var f=i.TripleDES=o.extend({_doReset:function(){var e=this._key.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 t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=p.createEncryptor(n.create(t)),this._des2=p.createEncryptor(n.create(r)),this._des3=p.createEncryptor(n.create(o))},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});e.TripleDES=o._createHelper(f)}(),r.TripleDES)},5074:function(e,t,n){var r;e.exports=(r=n(2059),function(e){var t=r,n=t.lib,o=n.Base,i=n.WordArray,a=t.x64={};a.Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=o.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:8*t.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}})}(),r)},2770:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,u=i.indexOf,p={},d=p.toString,h=p.hasOwnProperty,f=h.toString,m=f.call(Object),v={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function D(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in x)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[d.call(e)]||"object":typeof e}var C="3.7.1",k=/HTML$/i,_=function(e,t){return new _.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}_.fn=_.prototype={jquery:C,constructor:_,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=_.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return _.each(this,e)},map:function(e){return this.pushStack(_.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(_.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},_.extend=_.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(_.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||_.isPlainObject(n)?n:{},o=!1,a[t]=_.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},_.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=h.call(t,"constructor")&&t.constructor)&&f.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){D(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,o=e.nodeType;if(!o)for(;t=e[r++];)n+=_.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?_.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!k.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(S(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return l(a)},guid:1,support:v}),"function"==typeof Symbol&&(_.fn[Symbol.iterator]=i[Symbol.iterator]),_.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var P=i.pop,T=i.sort,A=i.splice,E="[\\x20\\t\\r\\n\\f]",j=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g");_.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var B=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function O(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}_.escapeSelector=function(e){return(e+"").replace(B,O)};var N=b,H=c;!function(){var e,t,n,o,a,l,c,p,d,f,m=H,g=_.expando,y=0,b=0,x=ee(),D=ee(),w=ee(),C=ee(),k=function(e,t){return e===t&&(a=!0),0},S="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="(?:\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+E+"*("+B+")(?:"+E+"*([*^$|!~]?=)"+E+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+E+"*\\]",L=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",I=new RegExp(E+"+","g"),R=new RegExp("^"+E+"*,"+E+"*"),z=new RegExp("^"+E+"*([>+~]|"+E+")"+E+"*"),F=new RegExp(E+"|>"),q=new RegExp(L),$=new RegExp("^"+B+"$"),W={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),bool:new RegExp("^(?:"+S+")$","i"),needsContext:new RegExp("^"+E+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\([^\\r\\n\\f])","g"),Z=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},V=function(){le()},J=de((function(e){return!0===e.disabled&&M(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(i=s.call(N.childNodes),N.childNodes),i[N.childNodes.length].nodeType}catch(e){m={apply:function(e,t){H.apply(e,s.call(t))},call:function(e){H.apply(e,s.call(arguments,1))}}}function Q(e,t,n,r){var o,i,a,s,c,u,h,f=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!r&&(le(t),t=t||l,p)){if(11!==y&&(c=X.exec(e)))if(o=c[1]){if(9===y){if(!(a=t.getElementById(o)))return n;if(a.id===o)return m.call(n,a),n}else if(f&&(a=f.getElementById(o))&&Q.contains(t,a)&&a.id===o)return m.call(n,a),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(o)),n}if(!(C[e+" "]||d&&d.test(e))){if(h=e,f=t,1===y&&(F.test(e)||z.test(e))){for((f=G.test(e)&&se(t.parentNode)||t)==t&&v.scope||((s=t.getAttribute("id"))?s=_.escapeSelector(s):t.setAttribute("id",s=g)),i=(u=ue(e)).length;i--;)u[i]=(s?"#"+s:":scope")+" "+pe(u[i]);h=u.join(",")}try{return m.apply(n,f.querySelectorAll(h)),n}catch(t){C(e,!0)}finally{s===g&&t.removeAttribute("id")}}}return ye(e.replace(j,"$1"),t,n,r)}function ee(){var e=[];return function n(r,o){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=o}}function te(e){return e[g]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return M(t,"input")&&t.type===e}}function oe(e){return function(t){return(M(t,"input")||M(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&J(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:N;return r!=l&&9===r.nodeType&&r.documentElement?(c=(l=r).documentElement,p=!_.isXMLDoc(l),f=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&N!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",V),v.getById=ne((function(e){return c.appendChild(e).id=_.expando,!l.getElementsByName||!l.getElementsByName(_.expando).length})),v.disconnectedMatch=ne((function(e){return f.call(e,"*")})),v.scope=ne((function(){return l.querySelectorAll(":scope")})),v.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),v.getById?(t.filter.ID=function(e){var t=e.replace(K,Z);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(K,Z);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},d=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+g+"' href='' disabled='disabled'></a><select id='"+g+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+E+"*(?:value|"+S+")"),e.querySelectorAll("[id~="+g+"-]").length||d.push("~="),e.querySelectorAll("a#"+g+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+E+"*name"+E+"*="+E+"*(?:''|\"\")")})),v.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),k=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!v.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==N&&Q.contains(N,e)?-1:t===l||t.ownerDocument==N&&Q.contains(N,t)?1:o?u.call(o,e)-u.call(o,t):0:4&n?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),p&&!C[t+" "]&&(!d||!d.test(t)))try{var n=f.call(e,t);if(n||v.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){C(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),_.contains(e,t)},Q.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],o=r&&h.call(t.attrHandle,n.toLowerCase())?r(e,n,!p):void 0;return void 0!==o?o:e.getAttribute(n)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},_.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!v.sortStable,o=!v.sortStable&&s.call(e,0),T.call(e,k),a){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)A.call(e,n[r],1)}return o=null,e},_.fn.uniqueSort=function(){return this.pushStack(_.uniqueSort(s.apply(this)))},t=_.expr={cacheLength:50,createPseudo:te,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(K,Z),e[3]=(e[3]||e[4]||e[5]||"").replace(K,Z),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(K,Z).toLowerCase();return"*"===e?function(){return!0}:function(e){return M(e,t)}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+E+")"+e+"("+E+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=Q.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(I," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,p,d,h,f=i!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,x=!1;if(m){if(i){for(;f;){for(p=t;p=p[f];)if(s?M(p,v):1===p.nodeType)return!1;h=f="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&b){for(x=(d=(c=(u=m[g]||(m[g]={}))[e]||[])[0]===y&&c[1])&&c[2],p=d&&m.childNodes[d];p=++d&&p&&p[f]||(x=d=0)||h.pop();)if(1===p.nodeType&&++x&&p===t){u[e]=[y,d,x];break}}else if(b&&(x=d=(c=(u=t[g]||(t[g]={}))[e]||[])[0]===y&&c[1]),!1===x)for(;(p=++d&&p&&p[f]||(x=d=0)||h.pop())&&(!(s?M(p,v):1===p.nodeType)||!++x||(b&&((u=p[g]||(p[g]={}))[e]=[y,x]),p!==t)););return(x-=o)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var r,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return o[g]?o(n):o.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,i=o(e,n),a=i.length;a--;)e[r=u.call(e,i[a])]=!(t[r]=i[a])})):function(e){return o(e,0,r)}):o}},pseudos:{not:te((function(e){var t=[],n=[],r=ge(e.replace(j,"$1"));return r[g]?te((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Q(e,t).length>0}})),contains:te((function(e){return e=e.replace(K,Z),function(t){return(t.textContent||_.text(t)).indexOf(e)>-1}})),lang:te((function(e){return $.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(K,Z).toLowerCase(),function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return M(e,"input")&&!!e.checked||M(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return U.test(e.nodeName)},button:function(e){return M(e,"input")&&"button"===e.type||M(e,"button")},text:function(e){var t;return M(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=oe(e);function ce(){}function ue(e,n){var r,o,i,a,s,l,c,u=D[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in r&&!(o=R.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),r=!1,(o=z.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(j," ")}),s=s.slice(r.length)),t.filter)!(o=W[a].exec(s))||c[a]&&!(o=c[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?Q.error(e):D(e,l).slice(0)}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function de(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=b++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,p=[y,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=t[g]||(t[g]={}),o&&M(t,o))t=t[r]||t;else{if((c=u[i])&&c[0]===y&&c[1]===s)return p[2]=c[2];if(u[i]=p,p[2]=e(t,n,l))return!0}return!1}}function he(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function fe(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function me(e,t,n,r,o,i){return r&&!r[g]&&(r=me(r)),o&&!o[g]&&(o=me(o,i)),te((function(i,a,s,l){var c,p,d,h,f=[],v=[],g=a.length,y=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)Q(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),b=!e||!i&&t?y:fe(y,f,e,s,l);if(n?n(b,h=o||(i?e:g||r)?[]:a,s,l):h=b,r)for(c=fe(h,v),r(c,[],s,l),p=c.length;p--;)(d=c[p])&&(h[v[p]]=!(b[v[p]]=d));if(i){if(o||e){if(o){for(c=[],p=h.length;p--;)(d=h[p])&&c.push(b[p]=d);o(null,h=[],c,l)}for(p=h.length;p--;)(d=h[p])&&(c=o?u.call(i,d):f[p])>-1&&(i[c]=!(a[c]=d))}}else h=fe(h===a?h.splice(g,h.length):h),o?o(null,a,h,l):m.apply(a,h)}))}function ve(e){for(var r,o,i,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,p=de((function(e){return e===r}),l,!0),d=de((function(e){return u.call(r,e)>-1}),l,!0),h=[function(e,t,o){var i=!s&&(o||t!=n)||((r=t).nodeType?p(e,t,o):d(e,t,o));return r=null,i}];c<a;c++)if(o=t.relative[e[c].type])h=[de(he(h),o)];else{if((o=t.filter[e[c].type].apply(null,e[c].matches))[g]){for(i=++c;i<a&&!t.relative[e[i].type];i++);return me(c>1&&he(h),c>1&&pe(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(j,"$1"),o,c<i&&ve(e.slice(c,i)),i<a&&ve(e=e.slice(i)),i<a&&pe(e))}h.push(o)}return he(h)}function ge(e,r){var o,i=[],a=[],s=w[e+" "];if(!s){for(r||(r=ue(e)),o=r.length;o--;)(s=ve(r[o]))[g]?i.push(s):a.push(s);s=w(e,function(e,r){var o=r.length>0,i=e.length>0,a=function(a,s,c,u,d){var h,f,v,g=0,b="0",x=a&&[],D=[],w=n,C=a||i&&t.find.TAG("*",d),k=y+=null==w?1:Math.random()||.1,S=C.length;for(d&&(n=s==l||s||d);b!==S&&null!=(h=C[b]);b++){if(i&&h){for(f=0,s||h.ownerDocument==l||(le(h),c=!p);v=e[f++];)if(v(h,s||l,c)){m.call(u,h);break}d&&(y=k)}o&&((h=!v&&h)&&g--,a&&x.push(h))}if(g+=b,o&&b!==g){for(f=0;v=r[f++];)v(x,D,s,c);if(a){if(g>0)for(;b--;)x[b]||D[b]||(D[b]=P.call(u));D=fe(D)}m.apply(u,D),d&&!a&&D.length>0&&g+r.length>1&&_.uniqueSort(u)}return d&&(y=k,n=w),x};return o?te(a):a}(a,i)),s.selector=e}return s}function ye(e,n,r,o){var i,a,s,l,c,u="function"==typeof e&&e,d=!o&&ue(e=u.selector||e);if(r=r||[],1===d.length){if((a=d[0]=d[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&p&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(K,Z),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(i=W.needsContext.test(e)?0:a.length;i--&&(s=a[i],!t.relative[l=s.type]);)if((c=t.find[l])&&(o=c(s.matches[0].replace(K,Z),G.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(i,1),!(e=o.length&&pe(a)))return m.apply(r,o),r;break}}return(u||ge(e,d))(o,n,!p,r,!n||G.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,v.sortStable=g.split("").sort(k).join("")===g,le(),v.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),_.find=Q,_.expr[":"]=_.expr.pseudos,_.unique=_.uniqueSort,Q.compile=ge,Q.select=ye,Q.setDocument=le,Q.tokenize=ue,Q.escape=_.escapeSelector,Q.getText=_.text,Q.isXML=_.isXMLDoc,Q.selectors=_.expr,Q.support=_.support,Q.uniqueSort=_.uniqueSort}();var L=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&_(e).is(n))break;r.push(e)}return r},I=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},R=_.expr.match.needsContext,z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,n){return g(t)?_.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?_.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?_.grep(e,(function(e){return u.call(t,e)>-1!==n})):_.filter(t,e,n)}_.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?_.find.matchesSelector(r,e)?[r]:[]:_.find.matches(e,_.grep(t,(function(e){return 1===e.nodeType})))},_.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(_(e).filter((function(){for(t=0;t<r;t++)if(_.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)_.find(e,o[t],n);return r>1?_.uniqueSort(n):n},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&R.test(e)?_(e):e||[],!1).length}});var q,$=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:$.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof _?t[0]:t,_.merge(this,_.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),z.test(r[1])&&_.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(_):_.makeArray(e,this)}).prototype=_.fn,q=_(b);var W=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function Y(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}_.fn.extend({has:function(e){var t=_(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(_.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&_(e);if(!R.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&_.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?_.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(_(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,n){return L(e,"parentNode",n)},next:function(e){return Y(e,"nextSibling")},prev:function(e){return Y(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,n){return L(e,"nextSibling",n)},prevUntil:function(e,t,n){return L(e,"previousSibling",n)},siblings:function(e){return I((e.parentNode||{}).firstChild,e)},children:function(e){return I(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(M(e,"template")&&(e=e.content||e),_.merge([],e.childNodes))}},(function(e,t){_.fn[e]=function(n,r){var o=_.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=_.filter(r,o)),this.length>1&&(U[e]||_.uniqueSort(o),W.test(e)&&o.reverse()),this.pushStack(o)}}));var X=/[^\x20\t\r\n\f]+/g;function G(e){return e}function K(e){throw e}function Z(e,t,n,r){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(n):e&&g(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}_.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return _.each(e.match(X)||[],(function(e,n){t[n]=!0})),t}(e):_.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){_.each(n,(function(n,r){g(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return _.each(arguments,(function(e,t){for(var n;(n=_.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?_.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},_.extend({Deferred:function(e){var t=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return _.Deferred((function(n){_.each(t,(function(t,r){var o=g(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<i)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(c)?o?c.call(r,a(i,t,G,o),a(i,t,K,o)):(i++,c.call(r,a(i,t,G,o),a(i,t,K,o),a(i,t,G,t.notifyWith))):(n!==G&&(s=void 0,l=[r]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(r){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(r,u.error),e+1>=i&&(n!==K&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(_.Deferred.getErrorHook?u.error=_.Deferred.getErrorHook():_.Deferred.getStackHook&&(u.error=_.Deferred.getStackHook()),r.setTimeout(u))}}return _.Deferred((function(r){t[0][3].add(a(0,r,g(o)?o:G,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:G)),t[2][3].add(a(0,r,g(n)?n:K))})).promise()},promise:function(e){return null!=e?_.extend(e,o):o}},i={};return _.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=_.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(Z(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||g(o[n]&&o[n].then)))return i.then();for(;n--;)Z(o[n],a(n),i.reject);return i.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&V.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_.readyException=function(e){r.setTimeout((function(){throw e}))};var J=_.Deferred();function Q(){b.removeEventListener("DOMContentLoaded",Q),r.removeEventListener("load",Q),_.ready()}_.fn.ready=function(e){return J.then(e).catch((function(e){_.readyException(e)})),this},_.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--_.readyWait:_.isReady)||(_.isReady=!0,!0!==e&&--_.readyWait>0||J.resolveWith(b,[_]))}}),_.ready.then=J.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(_.ready):(b.addEventListener("DOMContentLoaded",Q),r.addEventListener("load",Q));var ee=function(e,t,n,r,o,i,a){var s=0,l=e.length,c=null==n;if("object"===w(n))for(s in o=!0,n)ee(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,g(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(_(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):i},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function oe(e){return e.replace(te,"ms-").replace(ne,re)}var ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=_.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ie(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[oe(t)]=n;else for(r in t)o[oe(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][oe(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(oe):(t=oe(t))in r?[t]:t.match(X)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||_.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!_.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function pe(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}_.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return se.access(e,t,n)},_removeData:function(e,t){se.remove(e,t)}}),_.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=le.get(i),1===i.nodeType&&!se.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=oe(r.slice(5)),pe(i,r,o[r]));se.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=le.get(i,e))||void 0!==(n=pe(i,e))?n:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),_.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,_.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=_.queue(e,t),r=n.length,o=n.shift(),i=_._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){_.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:_.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),_.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?_.queue(this[0],e):void 0===t?this:this.each((function(){var n=_.queue(this,e,t);_._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&_.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){_.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=_.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=se.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var de=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=new RegExp("^(?:([+-])=|)("+de+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],me=b.documentElement,ve=function(e){return _.contains(e.ownerDocument,e)},ge={composed:!0};me.getRootNode&&(ve=function(e){return _.contains(e.ownerDocument,e)||e.getRootNode(ge)===e.ownerDocument});var ye=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ve(e)&&"none"===_.css(e,"display")};function be(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return _.css(e,t,"")},l=s(),c=n&&n[3]||(_.cssNumber[t]?"":"px"),u=e.nodeType&&(_.cssNumber[t]||"px"!==c&&+l)&&he.exec(_.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)_.style(e,t,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,_.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=o)),o}var xe={};function De(e){var t,n=e.ownerDocument,r=e.nodeName,o=xe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=_.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),xe[r]=o,o)}function we(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=se.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ye(r)&&(o[i]=De(r))):"none"!==n&&(o[i]="none",se.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}_.fn.extend({show:function(){return we(this,!0)},hide:function(){return we(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ye(this)?_(this).show():_(this).hide()}))}});var Ce,ke,_e=/^(?:checkbox|radio)$/i,Se=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Me=/^$|^module$|\/(?:java|ecma)script/i;Ce=b.createDocumentFragment().appendChild(b.createElement("div")),(ke=b.createElement("input")).setAttribute("type","radio"),ke.setAttribute("checked","checked"),ke.setAttribute("name","t"),Ce.appendChild(ke),v.checkClone=Ce.cloneNode(!0).cloneNode(!0).lastChild.checked,Ce.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!Ce.cloneNode(!0).lastChild.defaultValue,Ce.innerHTML="<option></option>",v.option=!!Ce.lastChild;var Pe={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Te(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t)?_.merge([e],n):n}function Ae(e,t){for(var n=0,r=e.length;n<r;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Pe.tbody=Pe.tfoot=Pe.colgroup=Pe.caption=Pe.thead,Pe.th=Pe.td,v.option||(Pe.optgroup=Pe.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function je(e,t,n,r,o){for(var i,a,s,l,c,u,p=t.createDocumentFragment(),d=[],h=0,f=e.length;h<f;h++)if((i=e[h])||0===i)if("object"===w(i))_.merge(d,i.nodeType?[i]:i);else if(Ee.test(i)){for(a=a||p.appendChild(t.createElement("div")),s=(Se.exec(i)||["",""])[1].toLowerCase(),l=Pe[s]||Pe._default,a.innerHTML=l[1]+_.htmlPrefilter(i)+l[2],u=l[0];u--;)a=a.lastChild;_.merge(d,a.childNodes),(a=p.firstChild).textContent=""}else d.push(t.createTextNode(i));for(p.textContent="",h=0;i=d[h++];)if(r&&_.inArray(i,r)>-1)o&&o.push(i);else if(c=ve(i),a=Te(p.appendChild(i),"script"),c&&Ae(a),n)for(u=0;i=a[u++];)Me.test(i.type||"")&&n.push(i);return p}var Be=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Ne(){return!1}function He(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)He(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ne;else if(!o)return e;return 1===i&&(a=o,o=function(e){return _().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=_.guid++)),e.each((function(){_.event.add(this,t,o,r,n)}))}function Le(e,t,n){n?(se.set(e,t,!1),_.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(_.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,_.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===se.get(e,t)&&_.event.add(e,t,Oe)}_.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,c,u,p,d,h,f,m,v=se.get(e);if(ie(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&_.find.matchesSelector(me,o),n.guid||(n.guid=_.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==_&&_.event.triggered!==t.type?_.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(X)||[""]).length;c--;)h=m=(s=Be.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),h&&(p=_.event.special[h]||{},h=(o?p.delegateType:p.bindType)||h,p=_.event.special[h]||{},u=_.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&_.expr.match.needsContext.test(o),namespace:f.join(".")},i),(d=l[h])||((d=l[h]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,f,a)||e.addEventListener&&e.addEventListener(h,a)),p.add&&(p.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),_.event.global[h]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,c,u,p,d,h,f,m,v=se.hasData(e)&&se.get(e);if(v&&(l=v.events)){for(c=(t=(t||"").match(X)||[""]).length;c--;)if(h=m=(s=Be.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),h){for(p=_.event.special[h]||{},d=l[h=(r?p.delegateType:p.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)u=d[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(i,1),u.selector&&d.delegateCount--,p.remove&&p.remove.call(e,u));a&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,f,v.handle)||_.removeEvent(e,h,v.handle),delete l[h])}else for(h in l)_.event.remove(e,h+t[c],n,r,!0);_.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=_.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=_.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=_.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((_.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?_(o,this).index(c)>-1:_.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(_.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[_.expando]?e:new _.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return _e.test(t.type)&&t.click&&M(t,"input")&&Le(t,"click",!0),!1},trigger:function(e){var t=this||e;return _e.test(t.type)&&t.click&&M(t,"input")&&Le(t,"click"),!0},_default:function(e){var t=e.target;return _e.test(t.type)&&t.click&&M(t,"input")&&se.get(t,"click")||M(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},_.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},_.Event=function(e,t){if(!(this instanceof _.Event))return new _.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Ne,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&_.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:Ne,isPropagationStopped:Ne,isImmediatePropagationStopped:Ne,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=se.get(this,"handle"),r=_.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else _.event.simulate(t,e.target,_.event.fix(e))}_.event.special[e]={setup:function(){var r;if(Le(this,e,!0),!b.documentMode)return!1;(r=se.get(this,t))||this.addEventListener(t,n),se.set(this,t,(r||0)+1)},trigger:function(){return Le(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,n),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},_.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=b.documentMode?this:r,i=se.get(o,t);i||(b.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),se.set(o,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=b.documentMode?this:r,i=se.get(o,t)-1;i?se.set(o,t,i):(b.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),se.remove(o,t))}}})),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){_.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||_.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),_.fn.extend({on:function(e,t,n,r){return He(this,e,t,n,r)},one:function(e,t,n,r){return He(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,_(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ne),this.each((function(){_.event.remove(this,e,n,t)}))}});var Ie=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,ze=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Fe(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&_(e).children("tbody")[0]||e}function qe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function $e(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(o in se.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)_.event.add(t,o,s[o][n]);le.hasData(e)&&(i=le.access(e),a=_.extend({},i),le.set(t,a))}}function Ue(e,t){var n=t.nodeName.toLowerCase();"input"===n&&_e.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ye(e,t,n,r){t=l(t);var o,i,a,s,c,u,p=0,d=e.length,h=d-1,f=t[0],m=g(f);if(m||d>1&&"string"==typeof f&&!v.checkClone&&Re.test(f))return e.each((function(o){var i=e.eq(o);m&&(t[0]=f.call(this,o,i.html())),Ye(i,t,n,r)}));if(d&&(i=(o=je(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=_.map(Te(o,"script"),qe)).length;p<d;p++)c=o,p!==h&&(c=_.clone(c,!0,!0),s&&_.merge(a,Te(c,"script"))),n.call(e[p],c,p);if(s)for(u=a[a.length-1].ownerDocument,_.map(a,$e),p=0;p<s;p++)c=a[p],Me.test(c.type||"")&&!se.access(c,"globalEval")&&_.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?_._evalUrl&&!c.noModule&&_._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):D(c.textContent.replace(ze,""),c,u))}return e}function Xe(e,t,n){for(var r,o=t?_.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||_.cleanData(Te(r)),r.parentNode&&(n&&ve(r)&&Ae(Te(r,"script")),r.parentNode.removeChild(r));return e}_.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=ve(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_.isXMLDoc(e)))for(a=Te(s),r=0,o=(i=Te(e)).length;r<o;r++)Ue(i[r],a[r]);if(t)if(n)for(i=i||Te(e),a=a||Te(s),r=0,o=i.length;r<o;r++)We(i[r],a[r]);else We(e,s);return(a=Te(s,"script")).length>0&&Ae(a,!l&&Te(e,"script")),s},cleanData:function(e){for(var t,n,r,o=_.event.special,i=0;void 0!==(n=e[i]);i++)if(ie(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)o[r]?_.event.remove(n,r):_.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),_.fn.extend({detach:function(e){return Xe(this,e,!0)},remove:function(e){return Xe(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?_.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ye(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)}))},prepend:function(){return Ye(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ye(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ye(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(_.cleanData(Te(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return _.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ie.test(e)&&!Pe[(Se.exec(e)||["",""])[1].toLowerCase()]){e=_.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(_.cleanData(Te(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ye(this,arguments,(function(t){var n=this.parentNode;_.inArray(this,e)<0&&(_.cleanData(Te(this)),n&&n.replaceChild(t,this))}),e)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){_.fn[e]=function(e){for(var n,r=[],o=_(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),_(o[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Ge=new RegExp("^("+de+")(?!px)[a-z%]+$","i"),Ke=/^--/,Ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Ve=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Je=new RegExp(fe.join("|"),"i");function Qe(e,t,n){var r,o,i,a,s=Ke.test(t),l=e.style;return(n=n||Ze(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(j,"$1")||void 0),""!==a||ve(e)||(a=_.style(e,t)),!v.pixelBoxStyles()&&Ge.test(a)&&Je.test(t)&&(r=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=o,l.maxWidth=i)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),me.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,_.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,rt={};function ot(e){var t=_.cssProps[e]||rt[e];return t||(e in nt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var it=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var r=he.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=_.css(e,n+fe[a],!0,o)),r?("content"===n&&(l-=_.css(e,"padding"+fe[a],!0,o)),"margin"!==n&&(l-=_.css(e,"border"+fe[a]+"Width",!0,o))):(l+=_.css(e,"padding"+fe[a],!0,o),"padding"!==n?l+=_.css(e,"border"+fe[a]+"Width",!0,o):s+=_.css(e,"border"+fe[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l+c}function ut(e,t,n){var r=Ze(e),o=(!v.boxSizingReliable()||n)&&"border-box"===_.css(e,"boxSizing",!1,r),i=o,a=Qe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ge.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&M(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===_.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===_.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(o?"border":"content"),i,r,a)+"px"}function pt(e,t,n,r,o){return new pt.prototype.init(e,t,n,r,o)}_.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=oe(t),l=Ke.test(t),c=e.style;if(l||(t=ot(s)),a=_.cssHooks[t]||_.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];"string"===(i=typeof n)&&(o=he.exec(n))&&o[1]&&(n=be(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(_.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,a,s=oe(t);return Ke.test(t)||(t=ot(s)),(a=_.cssHooks[t]||_.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Qe(e,t,r)),"normal"===o&&t in st&&(o=st[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),_.each(["height","width"],(function(e,t){_.cssHooks[t]={get:function(e,n,r){if(n)return!it.test(_.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Ve(e,at,(function(){return ut(e,t,r)}))},set:function(e,n,r){var o,i=Ze(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===_.css(e,"boxSizing",!1,i),l=r?ct(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ct(e,t,"border",!1,i)-.5)),l&&(o=he.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=_.css(e,t)),lt(0,n,l)}}})),_.cssHooks.marginLeft=et(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),_.each({margin:"",padding:"",border:"Width"},(function(e,t){_.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+fe[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(_.cssHooks[e+t].set=lt)})),_.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ze(e),o=t.length;a<o;a++)i[t[a]]=_.css(e,t[a],!1,r);return i}return void 0!==n?_.style(e,t,n):_.css(e,t)}),e,t,arguments.length>1)}}),_.Tween=pt,pt.prototype={constructor:pt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||_.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(_.cssNumber[n]?"":"px")},cur:function(){var e=pt.propHooks[this.prop];return e&&e.get?e.get(this):pt.propHooks._default.get(this)},run:function(e){var t,n=pt.propHooks[this.prop];return this.options.duration?this.pos=t=_.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):pt.propHooks._default.set(this),this}},pt.prototype.init.prototype=pt.prototype,pt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=_.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){_.fx.step[e.prop]?_.fx.step[e.prop](e):1!==e.elem.nodeType||!_.cssHooks[e.prop]&&null==e.elem.style[ot(e.prop)]?e.elem[e.prop]=e.now:_.style(e.elem,e.prop,e.now+e.unit)}}},pt.propHooks.scrollTop=pt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_.fx=pt.prototype.init,_.fx.step={};var dt,ht,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function vt(){ht&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(vt):r.setTimeout(vt,_.fx.interval),_.fx.tick())}function gt(){return r.setTimeout((function(){dt=void 0})),dt=Date.now()}function yt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=fe[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function bt(e,t,n){for(var r,o=(xt.tweeners[t]||[]).concat(xt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function xt(e,t,n){var r,o,i=0,a=xt.prefilters.length,s=_.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=dt||gt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:_.extend({},t),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},n),originalProperties:t,originalOptions:n,startTime:dt||gt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=_.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=oe(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=_.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,c.opts.specialEasing);i<a;i++)if(r=xt.prefilters[i].call(c,e,u,c.opts))return g(r.stop)&&(_._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return _.map(u,bt,c),g(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),_.fx.timer(_.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}_.Animation=_.extend(xt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,he.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(X);for(var n,r=0,o=e.length;r<o;r++)n=e[r],xt.tweeners[n]=xt.tweeners[n]||[],xt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,c,u,p="width"in t||"height"in t,d=this,h={},f=e.style,m=e.nodeType&&ye(e),v=se.get(e,"fxshow");for(r in n.queue||(null==(a=_._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,_.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],ft.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;m=!0}h[r]=v&&v[r]||_.style(e,r)}if((l=!_.isEmptyObject(t))||!_.isEmptyObject(h))for(r in p&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=v&&v.display)&&(c=se.get(e,"display")),"none"===(u=_.css(e,"display"))&&(c?u=c:(we([e],!0),c=e.style.display||c,u=_.css(e,"display"),we([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===_.css(e,"float")&&(l||(d.done((function(){f.display=c})),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),l=!1,h)l||(v?"hidden"in v&&(m=v.hidden):v=se.access(e,"fxshow",{display:c}),i&&(v.hidden=!m),m&&we([e],!0),d.done((function(){for(r in m||we([e]),se.remove(e,"fxshow"),h)_.style(e,r,h[r])}))),l=bt(m?v[r]:0,r,d),r in v||(v[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?xt.prefilters.unshift(e):xt.prefilters.push(e)}}),_.speed=function(e,t,n){var r=e&&"object"==typeof e?_.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return _.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in _.fx.speeds?r.duration=_.fx.speeds[r.duration]:r.duration=_.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&_.dequeue(this,r.queue)},r},_.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=_.isEmptyObject(e),i=_.speed(t,n,r),a=function(){var t=xt(this,_.extend({},e),i);(o||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=_.timers,a=se.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&mt.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||_.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=se.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=_.timers,a=r?r.length:0;for(n.finish=!0,_.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),_.each(["toggle","show","hide"],(function(e,t){var n=_.fn[t];_.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(yt(t,!0),e,r,o)}})),_.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){_.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),_.timers=[],_.fx.tick=function(){var e,t=0,n=_.timers;for(dt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||_.fx.stop(),dt=void 0},_.fx.timer=function(e){_.timers.push(e),_.fx.start()},_.fx.interval=13,_.fx.start=function(){ht||(ht=!0,vt())},_.fx.stop=function(){ht=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(e,t){return e=_.fx&&_.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var Dt,wt=_.expr.attrHandle;_.fn.extend({attr:function(e,t){return ee(this,_.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){_.removeAttr(this,e)}))}}),_.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?_.prop(e,t,n):(1===i&&_.isXMLDoc(e)||(o=_.attrHooks[t.toLowerCase()]||(_.expr.match.bool.test(t)?Dt:void 0)),void 0!==n?null===n?void _.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=_.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&M(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(X);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),Dt={set:function(e,t,n){return!1===t?_.removeAttr(e,n):e.setAttribute(n,n),n}},_.each(_.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=wt[t]||_.find.attr;wt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=wt[a],wt[a]=o,o=null!=n(e,t,r)?a:null,wt[a]=i),o}}));var Ct=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;function _t(e){return(e.match(X)||[]).join(" ")}function St(e){return e.getAttribute&&e.getAttribute("class")||""}function Mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(X)||[]}_.fn.extend({prop:function(e,t){return ee(this,_.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[_.propFix[e]||e]}))}}),_.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&_.isXMLDoc(e)||(t=_.propFix[t]||t,o=_.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=_.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(_.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){_.propFix[this.toLowerCase()]=this})),_.fn.extend({addClass:function(e){var t,n,r,o,i,a;return g(e)?this.each((function(t){_(this).addClass(e.call(this,t,St(this)))})):(t=Mt(e)).length?this.each((function(){if(r=St(this),n=1===this.nodeType&&" "+_t(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=_t(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return g(e)?this.each((function(t){_(this).removeClass(e.call(this,t,St(this)))})):arguments.length?(t=Mt(e)).length?this.each((function(){if(r=St(this),n=1===this.nodeType&&" "+_t(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=_t(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return g(e)?this.each((function(n){_(this).toggleClass(e.call(this,n,St(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Mt(e),this.each((function(){if(s)for(i=_(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==a||((r=St(this))&&se.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+_t(St(n))+" ").indexOf(t)>-1)return!0;return!1}});var Pt=/\r/g;_.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=g(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,_(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=_.map(o,(function(e){return null==e?"":e+""}))),(t=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=_.valHooks[o.type]||_.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Pt,""):null==n?"":n:void 0}}),_.extend({valHooks:{option:{get:function(e){var t=_.find.attr(e,"value");return null!=t?t:_t(_.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!M(n.parentNode,"optgroup"))){if(t=_(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=_.makeArray(t),a=o.length;a--;)((r=o[a]).selected=_.inArray(_.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),_.each(["radio","checkbox"],(function(){_.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=_.inArray(_(e).val(),t)>-1}},v.checkOn||(_.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Tt=r.location,At={guid:Date.now()},Et=/\?/;_.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||_.error("Invalid XML: "+(n?_.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var jt=/^(?:focusinfocus|focusoutblur)$/,Bt=function(e){e.stopPropagation()};_.extend(_.event,{trigger:function(e,t,n,o){var i,a,s,l,c,u,p,d,f=[n||b],m=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!jt.test(m+_.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[_.expando]?e:new _.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:_.makeArray(t,[e]),p=_.event.special[m]||{},o||!p.trigger||!1!==p.trigger.apply(n,t))){if(!o&&!p.noBubble&&!y(n)){for(l=p.delegateType||m,jt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(n.ownerDocument||b)&&f.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=f[i++])&&!e.isPropagationStopped();)d=a,e.type=i>1?l:p.bindType||m,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&ie(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(f.pop(),t)||!ie(n)||c&&g(n[m])&&!y(n)&&((s=n[c])&&(n[c]=null),_.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Bt),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,Bt),_.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=_.extend(new _.Event,n,{type:e,isSimulated:!0});_.event.trigger(r,null,t)}}),_.fn.extend({trigger:function(e,t){return this.each((function(){_.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return _.event.trigger(e,t,n,!0)}});var Ot=/\[\]$/,Nt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function It(e,t,n,r){var o;if(Array.isArray(t))_.each(t,(function(t,o){n||Ot.test(e)?r(e,o):It(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==w(t))r(e,t);else for(o in t)It(e+"["+o+"]",t[o],n,r)}_.param=function(e,t){var n,r=[],o=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!_.isPlainObject(e))_.each(e,(function(){o(this.name,this.value)}));else for(n in e)It(n,e[n],t,o);return r.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=_.prop(this,"elements");return e?_.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!_(this).is(":disabled")&&Lt.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!_e.test(e))})).map((function(e,t){var n=_(this).val();return null==n?null:Array.isArray(n)?_.map(n,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:n.replace(Nt,"\r\n")}})).get()}});var Rt=/%20/g,zt=/#.*$/,Ft=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,$t=/^(?:GET|HEAD)$/,Wt=/^\/\//,Ut={},Yt={},Xt="*/".concat("*"),Gt=b.createElement("a");function Kt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(X)||[];if(g(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Zt(e,t,n,r){var o={},i=e===Yt;function a(s){var l;return o[s]=!0,_.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||o[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Vt(e,t){var n,r,o=_.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&_.extend(!0,e,r),e}Gt.href=Tt.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,_.ajaxSettings),t):Vt(_.ajaxSettings,e)},ajaxPrefilter:Kt(Ut),ajaxTransport:Kt(Yt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,l,c,u,p,d,h=_.ajaxSetup({},t),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?_(f):_.event,v=_.Deferred(),g=_.Callbacks("once memory"),y=h.statusCode||{},x={},D={},w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=qt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=D[e.toLowerCase()]=D[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),k(0,t),this}};if(v.promise(C),h.url=((e||h.url||Tt.href)+"").replace(Wt,Tt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(X)||[""],null==h.crossDomain){l=b.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Gt.protocol+"//"+Gt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=_.param(h.data,h.traditional)),Zt(Ut,h,t,C),c)return C;for(p in(u=_.event&&h.global)&&0==_.active++&&_.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!$t.test(h.type),o=h.url.replace(zt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Rt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Et.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ft,"$1"),d=(Et.test(o)?"&":"?")+"_="+At.guid+++d),h.url=o+d),h.ifModified&&(_.lastModified[o]&&C.setRequestHeader("If-Modified-Since",_.lastModified[o]),_.etag[o]&&C.setRequestHeader("If-None-Match",_.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Xt+"; q=0.01":""):h.accepts["*"]),h.headers)C.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(f,C,h)||c))return C.abort();if(w="abort",g.add(h.complete),C.done(h.success),C.fail(h.error),n=Zt(Yt,h,t,C)){if(C.readyState=1,u&&m.trigger("ajaxSend",[C,h]),c)return C;h.async&&h.timeout>0&&(s=r.setTimeout((function(){C.abort("timeout")}),h.timeout));try{c=!1,n.send(x,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,l){var p,d,b,x,D,w=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",C.readyState=e>0?4:0,p=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(h,C,a)),!p&&_.inArray("script",h.dataTypes)>-1&&_.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=c[l+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(h,x,C,p),p?(h.ifModified&&((D=C.getResponseHeader("Last-Modified"))&&(_.lastModified[o]=D),(D=C.getResponseHeader("etag"))&&(_.etag[o]=D)),204===e||"HEAD"===h.type?w="nocontent":304===e?w="notmodified":(w=x.state,d=x.data,p=!(b=x.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),C.status=e,C.statusText=(t||w)+"",p?v.resolveWith(f,[d,w,C]):v.rejectWith(f,[C,w,b]),C.statusCode(y),y=void 0,u&&m.trigger(p?"ajaxSuccess":"ajaxError",[C,h,p?d:b]),g.fireWith(f,[C,w]),u&&(m.trigger("ajaxComplete",[C,h]),--_.active||_.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return _.get(e,t,n,"json")},getScript:function(e,t){return _.get(e,void 0,t,"script")}}),_.each(["get","post"],(function(e,t){_[t]=function(e,n,r,o){return g(n)&&(o=o||r,r=n,n=void 0),_.ajax(_.extend({url:e,type:t,dataType:o,data:n,success:r},_.isPlainObject(e)&&e))}})),_.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),_._evalUrl=function(e,t,n){return _.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){_.globalEval(e,t,n)}})},_.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=_(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){_(this).wrapInner(e.call(this,t))})):this.each((function(){var t=_(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){_(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){_(this).replaceWith(this.childNodes)})),this}}),_.expr.pseudos.hidden=function(e){return!_.expr.pseudos.visible(e)},_.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},Qt=_.ajaxSettings.xhr();v.cors=!!Qt&&"withCredentials"in Qt,v.ajax=Qt=!!Qt,_.ajaxTransport((function(e){var t,n;if(v.cors||Qt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Jt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),_.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return _.globalEval(e),e}}}),_.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),_.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=_("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||_.expando+"_"+At.guid++;return this[e]=!0,e}}),_.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(nn,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||_.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?_(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,tn.push(o)),a&&g(i)&&i(a[0]),a=i=void 0})),"script"})),v.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),_.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=z.exec(e))?[t.createElement(o[1])]:(o=je([e],t,i),i&&i.length&&_(i).remove(),_.merge([],o.childNodes)));var r,o,i},_.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=_t(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&_.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?_("<div>").append(_.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},_.expr.pseudos.animated=function(e){return _.grep(_.timers,(function(t){return e===t.elem})).length},_.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,c=_.css(e,"position"),u=_(e),p={};"static"===c&&(e.style.position="relative"),s=u.offset(),i=_.css(e,"top"),l=_.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),g(t)&&(t=t.call(e,n,_.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):u.css(p)}},_.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){_.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===_.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===_.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=_(e).offset()).top+=_.css(e,"borderTopWidth",!0),o.left+=_.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-_.css(r,"marginTop",!0),left:t.left-o.left-_.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===_.css(e,"position");)e=e.offsetParent;return e||me}))}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;_.fn[e]=function(r){return ee(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),_.each(["top","left"],(function(e,t){_.cssHooks[t]=et(v.pixelPosition,(function(e,n){if(n)return n=Qe(e,t),Ge.test(n)?_(e).position()[t]+"px":n}))})),_.each({Height:"height",Width:"width"},(function(e,t){_.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){_.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return ee(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?_.css(t,n,s):_.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){_.fn[t]=function(e){return this.on(t,e)}})),_.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){_.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;_.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||_.guid++,o},_.holdReady=function(e){e?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=M,_.isFunction=g,_.isWindow=y,_.camelCase=oe,_.type=w,_.now=Date.now,_.isNumeric=function(e){var t=_.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},_.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return _}.apply(t,[]))||(e.exports=n);var on=r.jQuery,an=r.$;return _.noConflict=function(e){return r.$===_&&(r.$=an),e&&r.jQuery===_&&(r.jQuery=on),_},void 0===o&&(r.jQuery=r.$=_),_}))},9489:function(e,t){var n,r,o;!function(i,a){"use strict";r=[],void 0===(o="function"==typeof(n=function(e){return function(t){var n="3.4.4";function r(){t.arrayAccessForm=t.arrayAccessForm||"none",t.emptyNodeForm=t.emptyNodeForm||"text",t.jsAttributeFilter=t.jsAttributeFilter,t.jsAttributeConverter=t.jsAttributeConverter,t.attributeConverters=t.attributeConverters||[],t.datetimeAccessFormPaths=t.datetimeAccessFormPaths||[],t.arrayAccessFormPaths=t.arrayAccessFormPaths||[],t.xmldomOptions=t.xmldomOptions||{},void 0===t.enableToStringFunc&&(t.enableToStringFunc=!0),void 0===t.skipEmptyTextNodesForObj&&(t.skipEmptyTextNodesForObj=!0),void 0===t.stripWhitespaces&&(t.stripWhitespaces=!0),void 0===t.useDoubleQuotes&&(t.useDoubleQuotes=!0),void 0===t.ignoreRoot&&(t.ignoreRoot=!1),void 0===t.escapeMode&&(t.escapeMode=!0),void 0===t.attributePrefix&&(t.attributePrefix="_"),void 0===t.selfClosingElements&&(t.selfClosingElements=!0),void 0===t.keepCData&&(t.keepCData=!1),void 0===t.keepText&&(t.keepText=!1),void 0===t.jsDateUTC&&(t.jsDateUTC=!1)}function o(){function e(e){var t=String(e);return 1===t.length&&(t="0"+t),t}"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|^\n+|(\s|\n)+$/g,"")}),"function"!=typeof Date.prototype.toISOString&&(Date.prototype.toISOString=function(){var t=1e3;return this.getUTCFullYear()+"-"+e(this.getUTCMonth()+1)+"-"+e(this.getUTCDate())+"T"+e(this.getUTCHours())+":"+e(this.getUTCMinutes())+":"+e(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/t).toFixed(3)).slice(2,5)+"Z"})}t=t||{},r(),o();var i={ELEMENT_NODE:1,TEXT_NODE:3,CDATA_SECTION_NODE:4,COMMENT_NODE:8,DOCUMENT_NODE:9};function a(e){var t=e.localName;return null==t&&(t=e.baseName),null!=t&&""!==t||(t=e.nodeName),t}function s(e){return e.prefix}function l(e){return"string"==typeof e?e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"):e}function c(e){return e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&amp;/g,"&")}function u(e,n,r){if("property"===t.arrayAccessForm)e[n]instanceof Array?e[n+"_asArray"]=e[n]:e[n+"_asArray"]=[e[n]];if(!(e[n]instanceof Array)&&t.arrayAccessFormPaths.length>0){for(var o=!1,i=0;i<t.arrayAccessFormPaths.length;i++){var a=t.arrayAccessFormPaths[i];if("string"==typeof a){if(a===r){o=!0;break}}else if(a instanceof RegExp){if(a.test(r)){o=!0;break}}else if("function"==typeof a&&a(n,r)){o=!0;break}}o&&(e[n]=[e[n]])}}function p(e){var t=60,n=e.split(/[-T:+Z]/g),r=new Date(n[0],n[1]-1,n[2]),o=n[5].split(".");if(r.setHours(n[3],n[4],o[0]),o.length>1&&r.setMilliseconds(o[1]),n[6]&&n[7]){var i=n[6]*t+Number(n[7]);i=0+("-"===(/\d\d-\d\d:\d\d$/.test(e)?"-":"+")?-1*i:i),r.setMinutes(r.getMinutes()-i-r.getTimezoneOffset())}else-1!==e.indexOf("Z",e.length-1)&&(r=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds())));return r}function d(e,n,r){if(t.datetimeAccessFormPaths.length>0)for(var o=r.split(".#")[0],i=0;i<t.datetimeAccessFormPaths.length;i++){var a=t.datetimeAccessFormPaths[i];if("string"==typeof a){if(a===o)return p(e)}else if(a instanceof RegExp){if(a.test(o))return p(e)}else if("function"==typeof a&&a(o))return p(e)}return e}function h(e){for(var n={},r=e.childNodes,o=0;o<r.length;o++){var s=r.item(o);if(s.nodeType===i.ELEMENT_NODE){var l=a(s);t.ignoreRoot?n=m(s,l):n[l]=m(s,l)}}return n}function f(e,n){for(var r={__cnt:0},o=e.childNodes,l=0;l<o.length;l++){var p=o.item(l),h=a(p);p.nodeType!==i.COMMENT_NODE&&(r.__cnt++,null==r[h]?(r[h]=m(p,n+"."+h),u(r,h,n+"."+h)):(r[h]instanceof Array||(r[h]=[r[h]],u(r,h,n+"."+h)),r[h][r[h].length]=m(p,n+"."+h)))}for(var f=0;f<e.attributes.length;f++){var v=e.attributes.item(f);r.__cnt++;for(var g=v.value,y=0;y<t.attributeConverters.length;y++){var b=t.attributeConverters[y];b.test.call(null,v.name,v.value)&&(g=b.convert.call(null,v.name,v.value))}r[t.attributePrefix+v.name]=g}var x=s(e);return x&&(r.__cnt++,r.__prefix=x),r["#text"]&&(r.__text=r["#text"],r.__text instanceof Array&&(r.__text=r.__text.join("\n")),t.escapeMode&&(r.__text=c(r.__text)),t.stripWhitespaces&&(r.__text=r.__text.trim()),delete r["#text"],"property"===t.arrayAccessForm&&delete r["#text_asArray"],r.__text=d(r.__text,"#text",n+".#text")),r.hasOwnProperty("#cdata-section")&&(r.__cdata=r["#cdata-section"],delete r["#cdata-section"],"property"===t.arrayAccessForm&&delete r["#cdata-section_asArray"]),1===r.__cnt&&r.__text&&!t.keepText?r=r.__text:0===r.__cnt&&"text"===t.emptyNodeForm?r="":r.__cnt>1&&void 0!==r.__text&&t.skipEmptyTextNodesForObj&&(t.stripWhitespaces&&""===r.__text||""===r.__text.trim())&&delete r.__text,delete r.__cnt,t.keepCData||r.hasOwnProperty("__text")||!r.hasOwnProperty("__cdata")||1!==Object.keys(r).length?(t.enableToStringFunc&&(r.__text||r.__cdata)&&(r.toString=function(){return(this.__text?this.__text:"")+(this.__cdata?this.__cdata:"")}),r):r.__cdata?r.__cdata:""}function m(e,t){return e.nodeType===i.DOCUMENT_NODE?h(e):e.nodeType===i.ELEMENT_NODE?f(e,t):e.nodeType===i.TEXT_NODE||e.nodeType===i.CDATA_SECTION_NODE?e.nodeValue:null}function v(e,n,r,o){var i="<"+(e&&e.__prefix?e.__prefix+":":"")+n;if(r)for(var a=0;a<r.length;a++){var s=r[a],c=e[s];t.escapeMode&&(c=l(c)),i+=" "+s.substr(t.attributePrefix.length)+"=",t.useDoubleQuotes?i+='"'+c+'"':i+="'"+c+"'"}return i+=o?" />":">"}function g(e,t){return"</"+(e&&e.__prefix?e.__prefix+":":"")+t+">"}function y(e,t){return-1!==e.indexOf(t,e.length-t.length)}function b(e,n){return!!("property"===t.arrayAccessForm&&y(n.toString(),"_asArray")||0===n.toString().indexOf(t.attributePrefix)||0===n.toString().indexOf("__")||e[n]instanceof Function)}function x(e){var t=0;if(e instanceof Object)for(var n in e)b(e,n)||t++;return t}function D(e){var n=[];if(e instanceof Object)for(var r in e)-1===r.toString().indexOf("__")&&0===r.toString().indexOf(t.attributePrefix)&&n.push(r);return n}function w(e){var n="";return e.__cdata&&(n+="<![CDATA["+e.__cdata+"]]>"),(e.__text||"number"==typeof e.__text||"boolean"==typeof e.__text)&&(t.escapeMode?n+=l(e.__text):n+=e.__text),n}function C(e){var n="";return e instanceof Object?n+=w(e):null!==e&&(t.escapeMode?n+=l(e):n+=e),n}function k(e,t,n){var r="";if(0===e.length)r+=v(e,t,n,!0);else for(var o=0;o<e.length;o++)r+=_(e[o],t,D(e[o]));return r}function _(e,n,r){var o="";if(t.jsAttributeFilter&&t.jsAttributeFilter.call(null,n,e))return o;if(t.jsAttributeConverter&&(e=t.jsAttributeConverter.call(null,n,e)),null!=e&&""!==e||!t.selfClosingElements)if("object"==typeof e)if("[object Array]"===Object.prototype.toString.call(e))o+=k(e,n,r);else if(e instanceof Date)o+=v(e,n,r,!1),o+=t.jsDateUTC?e.toUTCString():e.toISOString(),o+=g(e,n);else{x(e)>0||"number"==typeof e.__text||"boolean"==typeof e.__text||e.__text||e.__cdata?(o+=v(e,n,r,!1),o+=S(e),o+=g(e,n)):t.selfClosingElements?o+=v(e,n,r,!0):(o+=v(e,n,r,!1),o+=g(e,n))}else o+=v(e,n,r,!1),o+=C(e),o+=g(e,n);else o+=v(e,n,r,!0);return o}function S(e){var t="";if(x(e)>0)for(var n in e)if(!b(e,n)){var r=e[n];t+=_(r,n,D(r))}return t+=C(e)}function M(n){if(void 0===n)return null;if("string"!=typeof n)return null;var r=null,o=null;if(e)o=(r=new e(t.xmldomOptions)).parseFromString(n,"text/xml");else if(window&&window.DOMParser){r=new window.DOMParser;var i=null;if(!(window.ActiveXObject||"ActiveXObject"in window)&&document.all&&!document.addEventListener)try{i=r.parseFromString("INVALID","text/xml").childNodes[0].namespaceURI}catch(e){i=null}try{o=r.parseFromString(n,"text/xml"),null!==i&&o.getElementsByTagNameNS(i,"parsererror").length>0&&(o=null)}catch(e){o=null}}else 0===n.indexOf("<?")&&(n=n.substr(n.indexOf("?>")+2)),(o=new ActiveXObject("Microsoft.XMLDOM")).async="false",o.loadXML(n);return o}this.asArray=function(e){return null==e?[]:e instanceof Array?e:[e]},this.toXmlDateTime=function(e){return e instanceof Date?e.toISOString():"number"==typeof e?new Date(e).toISOString():null},this.asDateTime=function(e){return"string"==typeof e?p(e):e},this.xml2dom=function(e){return M(e)},this.dom2js=function(e){return m(e,null)},this.js2dom=function(e){return M(this.js2xml(e))},this.xml2js=function(e){var t=M(e);return null!=t?this.dom2js(t):null},this.js2xml=function(e){return S(e)},this.getVersion=function(){return n}}})?n.apply(t,r):n)||(e.exports=o)}()},6687:()=>{window.addEventListener("message",(e=>{const t=e.data;"dpHelper"===t.exec&&"state"===t.tool&&t.command&&t.name&&state[t.command]([t.name])}))},8123:()=>{dphelper.setProps=e=>{Object.defineProperty(dphelper,e.name,{writable:!1,configurable:!1})}},4273:(e,t,n)=>{"use strict";n.r(t);const r={name:"anchor",active:!0,subCommand:[{name:"toOnClick",type:"function",version:"0.0.1",example:"dphelper.anchor.toOnClick([element, 'foo' | '.foo' | '#foo'])",description:"This tools allows you to convert all links in an element to 'onclick'.\n It allows you to avoid the message with the path relative to the requested address\n and it is very useful when you work with SPA but you want to keep even older browsers.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.anchor={toOnClick:e=>{$(e+" a").each((function(){const e=$(this),t=e.attr("href");t&&e.on("mouseup",(function(){})).css("cursor","pointer").addClass(dphelper.pathRail()[3].replace(/\//g,"")).removeAttr("href").on("click",(function(){dphelper.browser.href(t),dphelper.browser.push("","",t)}))}))}},dphelper.setProps(r)},7004:(e,t,n)=>{"use strict";n.r(t);const r={name:"array",active:!0,subCommand:[{name:"find",version:"0.0.1",example:"dphelper.array.find([array, item])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240619",type:"function",active:!0,subCommand:[]},{name:"unique",version:"0.0.1",example:"dphelper.array.unique([array])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"delete",version:"0.0.1",example:"dphelper.array.delete([array])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"merge",version:"0.0.1",example:"dphelper.array.merge([array1, array2])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"mergeByKey",version:"0.0.1",example:"dphelper.array.mergeByKey([arrayA, arrayB, key])",author:"Dario Passariello",creationDate:"20230603",lastMod:"20230603",type:"function",active:!0,description:'\n Example:\n\n const array = [\n {"date":1230,"value":1},\n {"date":1231,"value":2},\n {"date":1232,"value":3, "value1":3, "name":"John"},\n {"date":1233,"value":4},\n {"date":1234,"value":5},\n {"date":1235,"value":6}\n ]\n\n const newData = [\n {"date":1230,"value":1000,\'name\':\'Diana\'},\n {"date":1232,"value":1000, "value1":20000},\n {"date":1234,"value":1000},\n {"date":1235,"value":888810000}\n ]\n\n Command: dphelper.array.mergeByKey( array, newData, \'date\' )\n\n Result:\n\n [\n {"date": 1230,"value": 1000, "name": "Diana" },\n {"date": 1231,"value": 2},\n {"date": 1232 "value": 1000, "value1": 20000, "name": "John" },\n {"date": 1233,"value": 4},\n {"date": 1234, "value": 1000},\n {"date": 1235,"value": 888810000}\n ]\n ',subCommand:[]},{name:"asc",version:"0.0.1",example:"dphelper.array.asc([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"desc",version:"0.0.1",example:"dphelper.array.desc([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"duplicates",version:"0.0.1",example:"dphelper.array.duplicates([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"even",version:"0.0.1",example:"dphelper.array.even([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"odd",version:"0.0.1",example:"dphelper.array.odd([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"sumColumn",version:"0.0.1",example:"dphelper.array.sumColumn([array, column])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20230111",type:"function",active:!0,description:"\n\n // YOUR SOURCE OF DATA\n const array = [\n [12, 23, 34],\n [45, 56, 67],\n [78, 89, 90]\n ]\n\n // PRINT VALUE EACH COLUMN SUM\n for (var i = 0; i < array.length; ++i) {\n console.debug(dphelper.array.sumColumn(array, i))\n }\n results: 135, 168, 191\n\n // TEST ONLY ONE COLUMN (0)\n dphelper.array.sumColumn(array, 0)\n result: 135\n\n ",subCommand:[]},{name:"shuffle",version:"0.0.1",example:"dphelper.array.shuffle([array])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:[]},{name:"generate",version:"0.0.1",example:"dphelper.array.generate(num)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Generate random number ( max 500000 )",subCommand:[]},{name:"testArrayInt",version:"0.0.1",example:"dphelper.array.testArrayInt([array])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"\n examples:\n console.debug( dphelper.array.testArrayInt([1,2,3,4,6,7]) ); // return 5\n console.debug( dphelper.array.testArrayInt([1,2,3]) ); // return 4\n console.debug( dphelper.array.testArrayInt([-1,-2]) ); // return 1\n ",subCommand:[]},{name:"rand32",version:"0.0.1",example:"dphelper.array.rand32(num)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"\n Generate random array number in 32-bit unsigned integers\n Examples:\n console.debug( dphelper.array.rand32(500000) );\n ",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.array={find:(e,t)=>{if(Array.isArray(e)){for(const n of e){if(n[t]===t)return n;if(n.children){const e=dphelper.array.find(t,n.children);if(e)return e}}return!1}},unique:e=>{if(!Array.isArray(e))return;return[...new Set(e)]},delete:(e,t)=>{Array.isArray(e)&&e.some((function e(n,r,o){if(n[t]===t)return o.splice(r,1),!0;for(const t of Object.keys(n)){const r=n[t];if(r.length&&"object"==typeof r)return r&&r.map(e)}}))},merge:(e,t)=>{for(const n of Object.keys(e))e[n]instanceof Object&&t[n]&&Object.assign(e[n],dphelper.mergeArrays(t[n],e[n]));return Object.assign(t||{},e),t},mergeByKey:(e,t,n)=>(e.map(((r,o)=>Object.values(t).map((t=>r[n]===t[n]?Object.assign(e[o],t):e[o])))),e),asc:e=>{if(Array.isArray(e))return e.sort(((e,t)=>e-t)),e},desc:e=>{if(Array.isArray(e))return e.sort((function(e,t){return t-e})),e},duplicates:e=>{if(!Array.isArray(e))return;var t;return(t=e).filter(((e,n)=>t.indexOf(e)!==n))},even:e=>{if(!Array.isArray(e))return;const t=[],n=e.length;for(let r=0;r<n;r++)e[r]%2==0&&t.push(e[r]);return t},odd:e=>{if(!Array.isArray(e))return;const t=[],n=e.length;for(let r=0;r<n;r++)e[r]%2&&t.push(e[r]);return t},toObj:e=>Object.assign({},e),sumColumn:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[[]],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(Array.isArray(e)){if(void 0===t)return"provide a column";var n,r=0;return(n=e.map((e=>r+=e[t])))[n.length-1]}return"provide an multidimensiona array"},shuffle:e=>{if(Array.isArray(e)){for(let t=e.length-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}},generate:e=>{isNaN(e)||dphelper.array.shuffle(e)},testArrayInt(e){if(!Array.isArray(e))return;let t,n;for(var r=1;r<e.length;++r)t=e.includes(r),!1===t&&void 0!==t&&(n=r);return""===n?e.length+1:n},rand32:e=>{const t=performance.now(),n=[];n.nums=[],n.time=[];for(var r=0;r<e;++r)n.nums.push(crypto.getRandomValues(new Uint32Array(1))[0]);const o=performance.now();return n.time.push(o-t),n}},dphelper.setProps(r)},3763:(e,t,n)=>{"use strict";n.r(t);const r={name:"avoid",active:!0,subCommand:[{name:"cache",version:"0.0.1",example:"dphelper.avoid.cache()",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.avoid={cache:e=>e.concat(/\?/.test(e)?"&":"?","t=",dphelper.rnd())},dphelper.setProps(r)},5122:(e,t,n)=>{"use strict";n.r(t);const r={name:"browser",active:!0,subCommand:[{name:"state",version:"0.0.1",example:"dphelper.browser.state([state, title, url])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"forw",version:"0.0.1",example:"dphelper.browser.forw([number])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"back",version:"0.0.1",example:"dphelper.browser.back([number])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"reload",version:"0.0.1",example:"dphelper.browser.reload()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"href",version:"0.0.1",example:"dphelper.browser.href([url])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"offline",version:"0.0.1",example:"dphelper.browser.offline([text])",author:"Dario Passariello",creationDate:"20190727",lastMod:"20240727",type:"function",active:!0,description:"",subCommand:[]},{name:"zoom",version:"0.0.1",example:"dphelper.browser.zoom()",author:"Dario Passariello",creationDate:"20190727",lastMod:"20240727",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.browser={state:(e,t,n)=>history.pushState(e,t,n),forw:e=>history.go(e),back:e=>history.go(-Math.abs(e)),reload:()=>globalThis.location.href="/",href:e=>globalThis.location.href=e,offLine:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"You are offline.";addEventListener("online",(()=>{$("[o]").remove()})),addEventListener("offline",(()=>{$('\n <style o>\n html {\n\n &:before {\n content: "";\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #00000082;\n z-index: 9999;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n\n }\n\n &:after{\n position: absolute;\n content: "'.concat(e,'";\n font-size: 1em;\n background-color: orange;\n color: black;\n text-align: center;\n padding: 10px 30px;\n z-index: 10000;\n border-radius: 20px;\n top: calc(50% - 22px);\n left: calc(50% - 92px);\n border: 6px solid #00000026;\n }\n\n }\n </style>\n ')).appendTo("body")}))},zoom:()=>Math.round(100*window.devicePixelRatio)},dphelper.setProps(r)},6775:(e,t,n)=>{"use strict";n.r(t);const r={name:"cache",active:!0,subCommand:[]};dphelper._list.scripts.push(r),cache={},dphelper.setProps(r)},2421:(e,t,n)=>{"use strict";n.r(t);const r={name:"color",active:!0,subCommand:[{name:"hex",version:"0.0.1",example:"dphelper.color.hex(255)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toHex",version:"0.0.1",example:"dphelper.color.toHex([255, 255, 255])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toRGB",version:"0.0.1",example:"dphelper.color.toRGB('#ffffff')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"oleColor",version:"0.0.1",example:"dphelper.color.oleColor('#ffffff')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,description:"",subCommand:[]},{name:"gradient",version:"0.0.1",example:"dphelper.color.gradient([colorStart, colorEnd, colorCount])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.color={hex:e=>{const t="0123456789abcdef";let n=parseInt(e);return 0==n||isNaN(e)?"00":(n=Math.round(Math.min(Math.max(0,n),255)),t.charAt((n-n%16)/16)+t.charAt(n%16))},toHex:e=>dphelper.color.hex(e[0])+dphelper.color.hex(e[1])+dphelper.color.hex(e[2]),toRGB:e=>{const t=[];return t[0]=parseInt(dphelper.text.trim(e,"#",1,7).substring(0,2),16),t[1]=parseInt(dphelper.text.trim(e,"#",1,7).substring(2,4),16),t[2]=parseInt(dphelper.text.trim(e,"#",1,7).substring(4,6),16),"#"+t},oleColor:e=>{const t=e.replace("#","").match(/.{1,2}/g);return parseInt(t[0],16)+256*parseInt(t[1],16)+65536*parseInt(t[2],16)},gradient:(e,t,n)=>{const r=dphelper.color.toRGB(e),o=dphelper.color.toRGB(t),i=n,a=[];let s=0;for(let e=0;e<i;e++){const e=[];s+=1/i,e[0]=r[0]*s+(1-s)*o[0],e[1]=r[1]*s+(1-s)*o[1],e[2]=r[2]*s+(1-s)*o[2],a.push(dphelper.color.toHex(e))}return a}},dphelper.setProps(r)},7352:(e,t,n)=>{"use strict";n.r(t);const r={name:"console",active:!0,subCommand:[{name:"info",version:"0.0.1",example:"dphelper.console.info()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"stop",version:"0.0.1",example:"dphelper.console.stop()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toHtml",version:"0.0.1",example:"dphelper.console.toHtml()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.console={info:(e,t,n)=>{console.groupCollapsed("%c"+e+":%c","color:orange",""),console.debug(t,e,n),console.groupEnd()},stop:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeline","timelineEnd","timeStamp","trace","warn","verbose"];console.clear(),console.disableYellowBox=!0,console.log=()=>{},console.debug=()=>{},globalThis.console=console;const t=()=>{};e.forEach((e=>{globalThis.console[e]=t}))},toHtml:e=>{console.log;const t=document.getElementById(e);console.toHtml=function(e){t.innerHTML+="object"==typeof e?(JSON&&JSON.stringify?JSON.stringify(e):e)+"<br />":e+"<br />"}}},dphelper.setProps(r)},6329:(e,t,n)=>{"use strict";n.r(t),dphelper.consoleDebug=function(e){if(!e)throw Error("Parent dom element required!");let t=!1;console.log,console.info,console.warn,console.error;this.autoScroll=!0,this.disableConsoleLogging=!1;const n=document.createElement("div");n.id="debugConsole",e.appendChild(n),this.domElement=n,this.initKeyMappings=()=>{t?console.warn("DebugConsole: keys already mapped!"):(state.toggleConsole=function(){this.visible=!this.visible}.bind(this),t=!0)},this.overrideConsole=()=>{const e=["Warning: Does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.%s",'Warning: Using the "className" prop on <View> is deprecated.',"View"],t=console.log;console.log=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];const[i]=r;e.some((e=>i.includes(e)))||t(...r)};const n=console.info;console.info=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];const[i]=r;e.some((e=>i.includes(e)))||n(...r)};const r=console.warn;console.warn=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];const[i]=n;e.some((e=>i.includes(e)))||r(...n)};const o=console.error;console.error=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const[i]=n;e.some((e=>i.includes(e)))||o(...n)},globalThis.onerror=(e,t,n)=>{const r=[e," in <a href='",t,"' target='_blank'>",t.split("/").pop(),"</a>:",n];return console.error(r.join("")),!1}},this.overrideConsole(),this.clear=function(){this.domElement.innerHTML=""},Object.defineProperties(this,{visible:{get:function(){return""===this.domElement.style.display},set:function(e){e?(this.domElement.style.display="",this.autoScroll&&(this.domElement.scrollTop=this.domElement.scrollHeight)):this.domElement.style.display="none"},configurable:!1}})},Object.defineProperty(dphelper,"consoleDebug",{writable:!0,configurable:!1})},4200:(e,t,n)=>{"use strict";n.r(t);const r={name:"coords",active:!0,subCommand:[{name:"degreesToRadians",version:"0.0.1",example:"dphelper.coords.degreesToRadians(45)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"latToMeters",version:"0.0.1",example:"dphelper.coords.latToMeters([40.689202777778, -74.044219444444])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toVector",version:"0.0.1",example:"dphelper.coords.toVector([40.689202777778, -74.044219444444, 1])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"convertToDecDegrees",version:"0.0.1",example:"dphelper.coords.convertToDecDegrees([39, 5, 59, 'N'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"distance",version:"0.0.1",example:"dphelper.coords.distance([40.718788808171105, -74.0114768663747],[38.909309636475875, -77.01712459058946])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"\n Haversine formula:\n a = sin²(Δφ/2) + cos φ1 ⋅ cos φ2 ⋅ sin²(Δλ/2)\n c = 2 ⋅ atan2( √a, √(1-a) )\n d = R ⋅ c\n where\tφ is latitude, λ is longitude, R is earth's radius (mean radius = 6,371km);\n note that angles need to be in radians to pass to trig functions!\n\n ",subCommand:[]}]};dphelper._list.scripts.push(r);const o=6371e3;dphelper.coords={degreesToRadians:e=>e*Math.PI/180,latToMeters:e=>{if(!Array.isArray(e))return;return o*Math.cos(e[0])*Math.cos(e[1])/1e3},toVector:e=>{if(!Array.isArray(e))return;return[o*Math.cos(e[1]*Math.PI/180)*Math.cos(e[0]*Math.PI/180),o*Math.cos(e[1]*Math.PI/180)*Math.sin(e[0]*Math.PI/180),o*Math.sin(e[2]*Math.PI/180)]},convertToDecDegrees:(e,t,n,r)=>{let o=e+t/60+n/3600;return"S"!=r&&"W"!=r||(o*=-1),o},distance:(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t))return;const n=e[0]*Math.PI/180,r=t[0]*Math.PI/180,i=(t[0]-e[0])*Math.PI/180,a=(t[1]-e[1])*Math.PI/180,s=Math.sin(i/2)*Math.sin(i/2)+Math.cos(n)*Math.cos(r)*Math.sin(a/2)*Math.sin(a/2),l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)),c=o*l;return{km:Number((c/1e3).toFixed(2)),Mi:Number((c/1e3*.621371).toFixed(2)),nMi:Number((c/1e3/1.852).toFixed(2))}}},dphelper.setProps(r)},9514:(e,t,n)=>{"use strict";n.r(t);const r={name:"cookie",active:!0,subCommand:[{name:"set",version:"0.0.1",example:"dphelper.cookie.set([name, value, time, path = '/'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:[]},{name:"get",version:"0.0.1",example:"dphelper.cookie.get([name])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:[]},{name:"delete",version:"0.0.1",example:"dphelper.cookie.delete([name])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:[]},{name:"clearAll",version:"0.0.1",example:"dphelper.cookie.clearAll()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.cookie={set:e=>{const t=new Date;if(t.setTime(t.getTime()+31536e6),!e.name)return;const{name:n,value:r,time:o=e.time||t.toGMTString(),path:i=e.path||"/",sameSite:a=(e.path?e.path:"Lax"),secure:s=("https:"===location.protocol?"Secure":"false")}=e;document.cookie="".concat(n,"=").concat(r,";expires=").concat(o,";path=").concat(i,";SameSite=").concat(a,";requireSSL=").concat(s,";")},get:e=>{const t=document.cookie.split("; "),n=t.length;for(let r=0;r<n;r++){const n=t[r].split("=");if(e===n[0])return unescape(n[1])}return null},delete:e=>{document.cookie="".concat(e,"=; Max-Age=0")},clearAll:()=>{const e=document.cookie.split(";"),t=e.length;for(let n=0;n<t;n++){const t=e[n],r=t.indexOf("="),o=r>-1?t.slice(0,r):t;dphelper.cookie.delete(o)}}},dphelper.setProps(r)},4296:()=>{dphelper.credits=e=>{console.groupCollapsed("%c".concat(e.name," v").concat(e.version,"%c"),"color:orange",""),console.debug("%c".concat(e.name," v").concat(e.version,"%c by Dario Passariello started"),"color:orange",""),console.debug("%cType ".concat(e.name," in this console to see it"),"color:gray",""),console.debug("%cFor help visit: "+e.repository.help,"color:gray",""),console.debug("name: %c"+e.name,"color:orange",""),console.debug("version: %c"+e.version,"color:orange",""),console.debug("description: %c"+e.description,"color:orange",""),console.debug("license: %c"+e.license,"color:orange",""),console.debug("repository: %c"+e.repository.url,"color:orange",""),console.debug("author: %c"+e.author.name,"color:orange",""),console.debug("email: %c"+e.author.email,"color:orange",""),console.groupEnd()}},7828:(e,t,n)=>{"use strict";n.r(t);const r={name:"date",active:!0,subCommand:[{name:"toIso",version:"0.0.1",example:"dphelper.date.toIso([value, int = 'en'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toMMDDYYYY",version:"0.0.1",example:"dphelper.date.toMMDDYYYY([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toYYYYMMDD",version:"0.0.1",example:"dphelper.date.toYYYYMMDD([value])",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230101",type:"function",active:!0,description:"",subCommand:[]},{name:"toHuman",version:"0.0.1",example:"dphelper.date.toHuman([value])",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230101",type:"function",active:!0,description:"",subCommand:[]},{name:"convert",version:"0.0.1",example:"dphelper.date.convert([value, format])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"iso2Epoch",version:"0.0.1",example:"dphelper.date.iso2Epoch([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"localIsoTime",version:"0.0.1",example:"dphelper.date.localIsoTime([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"utc",version:"0.0.1",example:"dphelper.date.utc()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"parse",version:"0.0.1",example:"dphelper.date.parse([value, separator = '/'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"year",version:"0.0.1",example:"dphelper.date.year()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"addDays",version:"0.0.1",example:"dphelper.date.addDays([date, days])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"dateTimeToString",version:"0.0.1",example:"dphelper.date.dateTimeToString([dateObject])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isoToHuman",version:"0.0.1",example:"dphelper.date.isoToHuman([value, symbol = '@'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"fullDate",version:"0.0.1",example:"dphelper.date.fullDate()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"epoch",version:"0.0.1",example:"dphelper.date.epoch()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.date={days:function(){return{en:["Monday","Tuesday","Wednesday","Thursday","Wednesday","Saturday","Sunday"],it:["lunedì","martedì","mercoledì","giovedì","Venerdì","Sabato","domenica"]}[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en"]},months:function(){return{en:["January","February","March","April","May","June","July","August","September","October","November","December"],it:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"]}[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en"]},toIso:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";e||(e="");const n=new Date(e);if("Invalid Date"==String(n))return null;return new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(n)},toMMDDYYYY:e=>{e||(e="");const t=new Date(e);return("0"+(t.getMonth()+1)).slice(-2)+""+("0"+t.getDate()).slice(-2)+t.getFullYear()},toYYYYMMDD:e=>{if(e)return e.toISOString().split("T")[0].replaceAll("-","")},toHuman:e=>e.toLocaleDateString(void 0,{weekday:"long",year:"numeric",month:"long",day:"numeric"}),convert:(e,t)=>{if(!e)return null;t||(t=dphelper.date.months());const n=e.substring(0,2).replace("0",""),r=e.substring(2,4),o=e.substring(e.length-4);return r+" "+t[Number(n)-1]+" "+o},iso2Epoch:e=>{e||(e="");return new Date(e).getTime()},localIsoTime:e=>{e||(e="");const t=6e4*new Date(e).getTimezoneOffset();return new Date(Date.now()-t).toISOString().slice(0,-1)},utc:()=>(new Date).toUTCString(),parse:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";if(!e)return null;return e.substring(0,2)+t+e.substring(2,4)+t+e.substring(4,8)},year:()=>/\d{4}/.exec(Date())[0],addDays:(e,t)=>{const n=new Date(Number(e));return n.setDate(e.getDate()+t),n},dateTimeToString:e=>{try{return"".concat(e.getFullYear()).concat(e.getMonth().toString().length>1?e.getMonth()+1:"0".concat(e.getMonth()+1),"\n ").concat(e.getDate().toString().length>1?e.getDate():"0".concat(e.getDate()),"_").concat(e.getHours()).concat(e.getMinutes()).concat(e.getSeconds())}catch(t){return e}},isoToHuman:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"@";if(!e)return null;const n=dphelper.date.months(),r=new Date(e),o=r.getFullYear(),i=e.split("T")[1].split(":").slice(0,2).join(":");let a=(r.getMonth()+1).toString(),s=r.getDate().toString();return s.length<2&&(s="0"+s),a.length<2&&(a="0"+a),s+" "+n[Number(a)-1]+" "+o+" "+t+" "+i},fullDate:function(){const e=new Date,t=Number(e.getDate()),n=Number(e.getMonth()+1),r=Number(e.getFullYear()),o=Number(e.getHours()),i=Number(e.getMinutes());return(t<10?"0"+t:t)+"-"+(n<10?"0"+n:n)+"-"+r+" "+(o<10?"0"+o:o)+":"+(i<10?"0"+i:i)+":"+Number(e.getSeconds())},epoch:()=>(new Date).getTime(),diffInDays:function(e,t){var n=t.getTime(),r=e.getTime();return Math.floor((n-r)/864e5)},diffInWeeks:function(e,t){var n=t.getTime(),r=e.getTime();return Number(parseInt(String((n-r)/6048e5)))},diffInMonths:function(e,t){var n=e.getFullYear(),r=t.getFullYear(),o=e.getMonth();return t.getMonth()+12*r-(o+12*n)},diffInYears:function(e,t){return t.getFullYear()-e.getFullYear()},dateToYMD:e=>{var t=e.getDate(),n=e.getMonth()+1;return e.getFullYear()+"-"+(n<=9?"0"+n:n)+"-"+(t<=9?"0"+t:t)},collection:function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-US";switch(!t&&n&&r&&console.debug('\n "toDateString" -> Tue Jan 02 2024\n "toISOString" -> 2024-01-02T18:44:43.590Z\n "toJSON" -> 2024-01-02T18:44:43.590Z\n "toLocaleDateString" -> 1/2/2024\n "toLocaleString" -> 1/2/2024, 11:44:43 AM\n "toLocaleTimeString" -> 11:44:43 AM\n "toString" -> Tue Jan 02 2024 11:44:43 GMT-0700 (Mountain Standard Time)\n "toISOStringShort" -> 2024-01-02\n "toLocaleString (en-GB)" -> 02/01/2024, 11:47:56 am\n '),n){case"toDateString":e=t.toDateString();break;case"toISOString":e=t.toISOString();break;case"toJSON":e=t.toJSON();break;case"toLocaleDateString":e=t.toLocaleDateString(r);break;case"toLocaleString":e=t.toLocaleString(r);break;case"toLocaleTimeString":e=t.toLocaleTimeString(r);break;case"toString":e=t.toString();break;case"toISOStringShort":e=t.toISOString().slice(0,10)}return e}},dphelper.setProps(r)},2278:(e,t,n)=>{"use strict";n.r(t);const r={name:"disable",active:!0,subCommand:[{name:"select",version:"0.0.1",example:"dphelper.disable.select([el = 'body'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"spellCheck",version:"0.0.1",example:"dphelper.disable.spellCheck([tmr = 5000])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"rightClick",version:"0.0.1",example:"dphelper.disable.rightClick([element])",author:"Dario Passariello",creationDate:"20220101",lastMod:"20220101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.disable={select:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body";$(e).on("mousedown",(function(e){((e,t)=>{if(!$(t.target).is("input, button, select, textarea, .selectable *"))return $("*").trigger("blur"),t.preventDefault(),!1;$("img, a, input, button").on("dragstart",(function(e){return e.preventDefault(),!1}))})(0,e)})),console.debug("%cSelection Disabled: %c"+!0,"color:orange","")},spellCheck:function(){setInterval((()=>{const e=document.querySelectorAll("input[type=text], textarea, code"),t=e.length;for(let n=0;n<t;n++)e[n].getAttribute("spellcheck")||e[n].setAttribute("spellcheck","false")}),arguments.length>0&&void 0!==arguments[0]?arguments[0]:5e3)},rightClick:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body";$(document).ready((function(){$(e).on("contextmenu",(function(e){return!1}))}))}},dphelper.setProps(r)},6309:(e,t,n)=>{"use strict";n.r(t);const r={name:"dispatch",active:!0,subCommand:[{name:"set",version:"0.0.1",example:"dphelper.dispatch.set([name, value])",author:"Dario Passariello",creationDate:"20231231",lastMod:"20240612",type:"function",active:!0,description:"CustomEvent",subCommand:[]},{name:"listen",version:"0.0.1",example:"dphelper.dispatch.listen([eventNames, callback=null], flag = true)",author:"Dario Passariello",creationDate:"20231231",lastMod:"20240612",type:"function",active:!0,description:"",subCommand:[]},{name:"remove",version:"0.0.1",example:"dphelper.dispatch.remove([eventNames, callback=null], flag = true)",author:"Dario Passariello",creationDate:"20231231",lastMod:"20240612",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.dispatch={set:function(e){dispatchEvent(new CustomEvent(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},listen:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;$(window).on(e,(e=>t?setTimeout((()=>t()),0):null))},remove:e=>{$(window).off(e)}},Object.defineProperty(dphelper,"dispatch",{writable:!0,configurable:!1}),dphelper.setProps(r)},8650:(e,t,n)=>{"use strict";n.r(t);const r={name:"element",active:!0,subCommand:[{name:"fitScale",version:"0.0.1",example:"dphelper.element.fitScale([el = 'root', scale = 1, fit = false])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.element={fitScale:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];addEventListener("resize",(r=>{dphelper.element.scaleBasedOnWindow(e,t,n)}))},scaleBasedOnWindow:(e,t,n)=>{if(!e)return;const r=$(e),o=r.width()||1,i=r.height()||1;n?r.css("transform","scale("+t/Math.max(o/globalThis.innerWidth,i/globalThis.innerHeight)+")"):r.css("transform","scale("+t/Math.min(o/globalThis.innerWidth,i/globalThis.innerHeight)+")")}},dphelper.setProps(r)},690:(e,t,n)=>{"use strict";n.r(t);const r={name:"event",active:!0,subCommand:[{name:"multi",version:"0.0.1",example:"dphelper.event.multi([element, eventNames, listener])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"copy",version:"0.0.1",example:"dphelper.event.copy([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"onDrag",version:"0.0.1",example:"dphelper.event.onDrag([element])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:[]},{name:"keys",version:"0.0.1",example:"dphelper.event.keys(e)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.event={list:e=>{globalThis.getEventListeners(e)},multi:(e,t,n)=>{const r=t.split(" ");for(let t=0,o=r.length;t<o;++t)e.addEventListener(r[t],n,!1)},copy:e=>{document.querySelector(e).addEventListener("click",(async e=>{if(navigator.clipboard)try{console.debug(e,e.srcElement.textContent),await navigator.clipboard.writeText(e.srcElement.textContent),alert("copied")}catch(e){console.error("Can't copy the value",e)}}))},onDrag:e=>{let t=!1;$(".popup_overflow_"+e).mousedown((function(n){n.pageX,n.pageY;$(window).mousemove((function(n){t=!0;const r=(n.pageY>0?n.pageY:0)-$(".popup_overflow_"+e).height()/2,o=(n.pageX>0?n.pageX:0)-$(".popup_overflow_"+e).width()/2;localStorage.setItem(e,JSON.stringify([r,o]))}))})).mouseup((function(){t=!1,$(window).unbind("mousemove")}))},keys:e=>({key:e.key,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})},dphelper.setProps(r)},3714:(e,t,n)=>{"use strict";n.r(t);const r={name:"form",active:!0,subCommand:[{name:"serialize",version:"0.0.1",example:"dphelper.form.serialize([form])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"confirmType",version:"0.0.1",example:"dphelper.form.confirmType([type, value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"required",version:"0.0.1",example:"dphelper.form.required([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"minLength",version:"0.0.1",example:"dphelper.form.minLength([value, num = 1])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"maxLength",version:"0.0.1",example:"dphelper.form.maxLength([value, num = 10])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"maxPhoneNumber",version:"0.0.1",example:"dphelper.form.maxPhoneNumber([value, num = 10])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isNumeric",version:"0.0.1",example:"dphelper.form.isNumeric([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isEmail",version:"0.0.1",example:"dphelper.form.isEmail([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"pattern",version:"0.0.1",example:"dphelper.form.pattern(event)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Pattern validation using onChange on inputs when you provide a patternt",subCommand:[]},{name:"noSpecialChars",version:"0.0.1",example:"dphelper.form.noSpecialChars(event)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Avoid special chars in an input",subCommand:[]},{name:"table",version:"0.0.1",example:"dphelper.form.table(size = [7, 24], id, elem)",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"Generate a table (default 7x24)",subCommand:[]},{name:"sanitize",version:"0.0.1",example:"dphelper.form.sanitize(input)",author:"Dario Passariello",creationDate:"20240318",lastMod:"20240318",type:"function",active:!0,description:"Sanitize input value to avoid injection",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.form={serialize:function(e){const t=n(2770),r=t(e),o={};if(!/[a-zA-Z][a-zA-Z0-9-_.]/.test(r.name))return;const i=(e,t)=>{let n=e[0];"]"==n.slice(-1)&&(n=n.slice(0,-1));const r={};return 1==e.length?r[n]=(e=>(""==e&&(e=null),"null"==e&&(e=null),"undefined"==e&&(e=void 0),"false"==e&&(e=Boolean(!1)),"true"==e&&(e=Boolean(!0)),"off"==e&&(e=Boolean(!1)),"on"==e&&(e=Boolean(!0)),"[]"==e&&(e=Array),"{}"==e&&(e=Object),0!==["null","undefined","false","true","on","off"].filter((t=>t.includes(e))).length||isNaN(Number(e))||(e=Number(e)),e))(t):(e.shift(),r[n]=i(e,t)),r};return t.each(r.serializeArray(),(function(){const e=this.value,n=this.name.split("["),r=i(n,e);t.extend(!0,o,r)})),o},confirmType:(e,t)=>{if("number"===e){return new RegExp(/^\d+$/).test(t.toString())}if("email"===e){return new RegExp(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/).test(t.toString().toLowerCase())}return!0},required:e=>null==e?"Required":void 0,minLength:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return!e||(null==e?void 0:e.length)<t?"Must Enter a Value":void 0},maxLength:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return(null==e?void 0:e.length)>t?"Exceeds Max Length":void 0},maxPhoneNumber:function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return(null==e||null===(t=e.toString())||void 0===t?void 0:t.length)>n?"Exceeds Max Length":void 0},isNumeric:e=>!isNaN(e)&&e,isEmail:e=>new RegExp(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/).test(e.toString().toLowerCase()),pattern:e=>{if(!e.target.type||!e.target.value)return;let t;return"text"===e.target.type?t=/^[a-zA-Z 0-9.+\-$!@]*$/:"email"===e.target.type?t=/^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6})*$/:"password"===e.target.type?t=/^[a-zA-Z 0-9.+\-$!@]*$/:"number"===e.target.type?t=/^[0-9\-+]*$/:"tel"===e.target.type&&(t=/^[0-9\s()\-+]*$/),e.target.value.match(t)?void 0:(e.target.value=e.target.value.slice(0,-1),void e.preventDefault())},noSpecialChars:e=>{const t=e.target.value.trim();if(t.length>2)return t.replace(/[^\w\s]/gi,"")},table:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[7,24],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;var r="",o=e[0],i=e[1];r="<form id='".concat(t,"'>"),r+="<div class='table'>",r+="<div class='title'>";for(var a=1;a<=o;a++)r+="<span>".concat(a,"</span>");r+="</div>";for(var s=1;s<=i;s++){r+="<div class='row'><span>".concat(s,"</span>");for(var l=1;l<=o;l++)r+="<input name='data[".concat(l,"][").concat(s,"]' tabindex='").concat(l.toString().padStart(2,"0")).concat(s.toString().padStart(2,"0"),"' type='number' onclick=\"this.select()\" value='").concat(Math.floor(100*Math.random()),"' title='").concat(l," to ").concat(s,"' />");r+="</div>"}r+="</div>",r+="</form>",$(n).html(r)},sanitize:e=>{if(e)return e.replace(/[^\w ]/g,"").replace(/[&/\\#, +()$~%.'":*?<>{}]/g,""),e}},dphelper.setProps(r)},4023:(e,t,n)=>{"use strict";n.r(t);const r={name:"format",active:!0,subCommand:[{name:"currency",version:"0.0.1",example:"dphelper.format.currency()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"phoneNumber",version:"0.0.1",example:"dphelper.format.phoneNumber()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.format={currency:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"USD";e&&!isNaN(e)||(e=0);return new Intl.NumberFormat(t,{style:"currency",currency:n}).format(e)},phoneNumber:e=>{const t=(""+e).replace(/\D/g,"").match(/^(1|)?(\d{3})(\d{3})(\d{4})$/);if(t){return[t[1]?"+1 ":"","(",t[2],") ",t[3],"-",t[4]].join("")}return null}},dphelper.setProps(r)},1388:(e,t,n)=>{"use strict";n.r(t);const r={name:"func",active:!0,subCommand:[{name:"new",version:"0.0.1",example:"dphelper.func.new()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toObj.set",version:"0.0.1",example:"dphelper.func.toObj.set()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toObj.get",version:"0.0.1",example:"dphelper.func.toObj.get()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.func={new:(e,t)=>{dphelper.func[e]={...t}},toObj:{set:(e,t)=>[e,t],get:e=>e.getDetails()}},dphelper.setProps(r)},4603:(e,t,n)=>{"use strict";n.r(t);const r={name:"iDB",active:!0,subCommand:[{name:"init",description:"Initianize the iDB on website",example:" dphelper.iDB.init() ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"create",description:"Create a new database",example:" dphelper.iDB.create( 'dbName','dbTable' ) ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"store",description:"Put all data to localStorage( I suggest to not use this way, instead use state)",example:" dphelper.iDB.store( 'dbName','dbTable' ) ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"insert",description:"Insert a new record into DB",example:" dphelper.iDB.insert( 'dbName','dbTable', 'data' ) ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"update",description:"Update a record into DB",example:" dphelper.iDB.update( 'dbName','dbTable', 'id', 'data' ) ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"get",description:"To get data about single row d on DB",example:" dphelper.iDB.get( 'dbName','dbTable', 'id' ) ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"list",description:"./documents/iDB/list.html",example:" dphelper.iDB.list() result -> show in console the table of list of all DB ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"toState",description:"Add databases into dphelper.databases (you can reuse them without recall again)",example:" dphelper.iDB.toState( 'dbName' ) result -> see dphelper.databases ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"version",description:"If you need to kow the last version of a DB",example:" dphelper.iDB.size( 'dbName' ) result -> 2 ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"size",description:"If you need to know the size about a DB",example:" dphelper.iDB.size( 'dbName' ) result -> 100kb ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"exist",description:"If you need to know if a DB exist",example:" dphelper.iDB.exist( 'dbName' ) result -> true or false ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"delete",description:"If you need to remove an indexedDB, just use this command",example:" dphelper.iDB.delete( 'dbName' ) result -> 'database deletion' ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"countRows",description:"Count records in a DB, useful to have last record from a DB",example:" dphelper.iDB.countRows( 'dbName' , 'tableName' ) result -> 1 ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"refresh",description:"Refresh database list into state (dphelper.databases)",example:" dphelper.iDB.refresh() result -> see dphelper.databases ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.iDB={init:()=>{dphelper.iDB.toState()},create:(e,t)=>{if(dphelper.iDB.exist(e))return void top.alert('Database "'.concat(e,'" already exist'));const n=indexedDB.open(e,dphelper.iDB.version(e));n.onerror=e=>(console.debug(e,"Database create error: "+e.target.errorCode),!1),n.onsuccess=n=>{const r=n.target.result,o=r.version;if(r.close(),void 0===dphelper.iDB.version(e)){indexedDB.open(e,o+1).onupgradeneeded=e=>{const n=e.target.result;if(0!=n.objectStoreNames.length)return;n.createObjectStore(t,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0}),n.close()}}dphelper.iDB.refresh()}},open:e=>{if(!dphelper.iDB.exist(e))return;const t=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB;t||(console.debug("Your browser doesn't support a skey version of IndexedDB. Such and such feature will not be available."),console.debug("Something went badly wrong with your indexedDB!"));const n=t.open(e,dphelper.iDB.version(e));return n.onsuccess=e=>{dphelper.iDB.refresh()},n.onerror=e=>{console.debug("Database open error: "+e.target.errorCode)},n},insert:(e,t,n)=>{if(!dphelper.iDB.exist(e))return;const r=indexedDB.open(e,dphelper.iDB.version(e));r.onerror=e=>console.debug(e,"Database insert error: "+e.target.errorCode),r.onsuccess=e=>{try{const r=e.target.result;r.transaction([t],"readwrite").objectStore(t).add({value:n}),r.close(),dphelper.iDB.refresh()}catch(e){console.debug(e,"IndexDB insert not work")}}},update:(e,t,n,r)=>{if(!dphelper.iDB.exist(e))return;const o=indexedDB.open(e,dphelper.iDB.version(e));o.onerror=e=>console.debug(e,"Database update error: "+e.target.errorCode),o.onsuccess=e=>{const o=e.target.result.transaction([t],"readwrite").objectStore(t);o.get(+n).onsuccess=e=>{const t=e.target.result;t.value=r;const n=o.put(t);n.onsuccess=e=>{dphelper.iDB.refresh()},n.onerror=e=>{console.debug("Error in updating record")}}}},add:(e,t)=>{console.debug(dphelper.iDB.version(e));window.indexedDB.open(e,3).onupgradeneeded=e=>{const n=e.target.result.createObjectStore(t,{keyPath:"taskTitle"});n.createIndex("hours","hours",{unique:!1}),n.createIndex("minutes","minutes",{unique:!1}),n.createIndex("day","day",{unique:!1}),n.createIndex("month","month",{unique:!1}),n.createIndex("year","year",{unique:!1})}},get:(e,t,n)=>{new Promise(((r,o)=>{indexedDB.open(e,dphelper.iDB.version(e)).onsuccess=e=>{const o=e.target.result;if(0===o.objectStoreNames.length)return;o.transaction([t],"readwrite").objectStore(t).get(n).onsuccess=e=>{const t=e.target.result;r(t)}}}))},store:(e,t)=>{if(!dphelper.iDB.exist(e))return;const n=indexedDB.open(e,dphelper.iDB.version(e));n.onerror=e=>{console.debug(e,"Database get error: "+e.target.errorCode)},n.onsuccess=n=>{const r=n.target.result;if(0===r.objectStoreNames.length)return;r.transaction([t],"readwrite").objectStore(t).openCursor().onsuccess=n=>{const r=n.target.result;if(r){const n=r.primaryKey,o=r.value;dphelper.store[e]||(dphelper.store[e]=[]),dphelper.store[e][t]||(dphelper.store[e][t]=[]),dphelper.store[e][t][n]||(dphelper.store[e][t][n]=[]),dphelper.store[e][t][n]=o,r.continue()}dphelper.iDB.refresh()}}},refresh:()=>{dphelper.iDB.toState(),console.debug("iDB refresh")},toState:async(e,t)=>{if(e||t)return e&&t?void setTimeout((async()=>state[e]=await t),1e3):void console.debug("promiseToState: Some data are missed!");const n=[];let r=0;indexedDB.databases().then((e=>{Object.entries(e).map((e=>{const t=indexedDB.open(e[1].name,dphelper.iDB.version(e[1].version));t.onerror=e=>{console.debug(e,"Database get error: "+e.target.errorCode)};const o={name:"",version:"",tables:[],size:0};let i=0;t.onsuccess=async e=>{const t=e.target.result;0!==t.objectStoreNames.length&&(t&&t.name&&(o.name=t.name,o.version=t.version,Object.entries(t.objectStoreNames).map((async(e,a)=>{const s=[],l=await dphelper.iDB.getTableSize(t.name,e[1]);s.name=e[1],s.size=l,o.tables.push(Object.assign({},s)),i+=l,o.size=i,r+=i,n.total=r,n.update=dphelper.date.epoch()})),n.push(o)),dphelper.databases=n)}}))}))},list:()=>{indexedDB.databases().then((e=>(console.table(e),e)))},version:e=>{indexedDB.databases().then((t=>{t.find((t=>{if(e===t.name)return t.version}))}))},size:e=>{const t=[e],n=t.length;let r;for(let e=0;e<n;e++)return r=t[e],dphelper.iDB.getDbSize(r)},exist:e=>{var t;return void 0!==(null===(t=dphelper.databases)||void 0===t?void 0:t.find((t=>t.name===e)))},delete:e=>{dphelper.iDB.exist(e)?confirm('Are you sure to remove "'.concat(e,'" database?'),(()=>{indexedDB.deleteDatabase(e),dphelper.iDB.refresh()}),(()=>{alert("Operation cancelled.")})):alert('Database "'.concat(e,'" not exist'))},getTableSize:(e,t)=>new Promise(((n,r)=>{if(null==e)return r();let o=0;const i=(e=event.target.result).transaction([t]).objectStore(t).openCursor();i.onsuccess=function(e){const t=e.target.result;if(t){const e=t.value,n=JSON.stringify(e);o+=n.length,t.continue()}else n(o)}.bind(void 0),i.onerror=e=>r("error in "+t+": "+e)})),getDbSize:e=>new Promise(((t,n)=>{const r=indexedDB.open(e,dphelper.iDB.version(e));let o;r.onerror=e=>console.debug("Error on IndexedDB"),r.onsuccess=e=>{o=e.target.result;((e,n)=>{const r=e.reduce(((e,t)=>(e.push(dphelper.iDB.getTableSize(n,t)),e)),[]);Promise.all(r).then((n=>{const r={};function o(e,t){this.table=e,this.size=t}e.forEach(((e,t)=>{r[t]=new o(e,dphelper.tools.byteSize(n[t]))}));const i=n.reduce(((e,t)=>e+t),0);t(parseInt(dphelper.tools.byteSize(i)))}))})([...o.objectStoreNames],o)}})),printTableInfo:e=>{const t=indexedDB.open(e,dphelper.iDB.version(e));let n;t.onerror=e=>console.debug("Error on IndexedDB"),t.onsuccess=e=>{n=e.target.result;((e,t)=>{const n=e.reduce(((e,n)=>(e.push(dphelper.iDB.getTableSize(t,n)),e)),[]);Promise.all(n).then((t=>{const n={};function r(e,t){this.table=e,this.size=t}e.forEach(((e,o)=>{n[o]=new r(e,dphelper.tools.byteSize(t[o]))})),console.table(n);const o=t.reduce(((e,t)=>e+t),0);console.debug("TOTAL: "+dphelper.tools.byteSize(o))}))})([...n.objectStoreNames],n)}},printSizes:()=>{indexedDB.webkitGetDatabaseNames().onsuccess=e=>{const t=e.target.result,n=t.length;let r;for(let e=0;e<n;e++)r=t.item(e),dphelper.iDB.getDbSize(r)}},countRows:(e,t)=>new Promise(((n,r)=>{indexedDB.open(e,dphelper.iDB.version(e)).onsuccess=function(e){const r=e.target.result;if(0===r.objectStoreNames.length)return;r.transaction([t],"readonly").objectStore(t).count().onsuccess=function(e){const t=e.target.result;n(t)}}}))},dphelper.setProps(r)},2121:(e,t,n)=>{"use strict";n.r(t);const r={name:"import",active:!0,subCommand:[{name:"file",version:"0.0.1",example:"dphelper.import.file([ elem, file ])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.import={file:(e,t)=>{const n=e?document.querySelector(e):document.getElementsByTagName("*");let r,o,i;for(r=0;r<n.length;r++)if(o=n[r],t)return i=new XMLHttpRequest,i.onreadystatechange=function(){4==this.readyState&&(200==this.status&&(o.innerHTML=this.responseText),404==this.status&&(o.innerHTML="Page not found."))},i.open("GET",t,!0),void i.send()}},dphelper.setProps(r)},3942:(e,t,n)=>{"use strict";n.r(t);const r={name:"json",active:!0,subCommand:[{name:"counter",version:"0.0.1",example:"dphelper.json.counter()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toCsv",version:"0.0.1",example:"dphelper.json.toCsv()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"saveCsvAs",version:"0.0.1",example:"dphelper.json.saveCsvAs()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"is",version:"0.0.1",example:"dphelper.json.is()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.json={counter:(e,t,n)=>{if(!e)return null;let r;return r=t&&n?Object.keys(e).length:e.items.filter((e=>e.key===n)).lengt,r},toCsv:e=>{const t=e,n=(e,t)=>null===t?"":t,r=Object.keys(t[0]);let o=null==t?void 0:t.map((e=>null==r?void 0:r.map((t=>JSON.stringify(e[t],n))).join(",")));return o.unshift(r.join(",")),o=o.join("\r\n"),o},saveCsvAs:(e,t)=>{let n="";const r=new Blob([e],{type:"text/csv;charset=utf-8;"}),o=document.createElement("a"),i=dphelper.date.dateTimeToString(new Date(Date.now())),a="".concat(t,"_").concat(i,".csv");n=URL.createObjectURL(r),o.setAttribute("href",n),o.setAttribute("download",a),o.style.visibility="hidden",globalThis.appendChild(o),o.click(),globalThis.removeChild(o)},is:e=>{try{JSON.parse(e)}catch(e){return!1}return!0},sanitize:e=>e,sanitizeJsonValue:e=>e?e.replace(/^"(.*)"$/,"$1").replace(/\\/g,"").replace(/\//g,"/").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/"/g,'\\"').replace(/\t/g," ").trim()+'"':'""'},dphelper.setProps(r)},3060:(e,t,n)=>{"use strict";n.r(t);const r={name:"load",active:!0,subCommand:[{name:"all",version:"0.0.1",example:"dphelper.load.all(require['context']('Scripts', true, /.(js|jsx|ts|tsx)$/))",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Load from a specific folder all file in base a specific extension",subCommand:[]},{name:"file",version:"0.0.1",example:"dphelper.load.file()",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:[]},{name:"fileToElement",version:"0.0.1",example:"dphelper.load.fileToElement()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"json",version:"0.0.1",example:"dphelper.load.json()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"remote",version:"0.0.1",example:"dphelper.load.remote()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"script",version:"0.0.1",example:"dphelper.load.script()",author:"Dario Passariello",creationDate:"20240525",lastMod:"20240525",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.load={all:e=>{e.keys().forEach((t=>window.cache[t]=e(t)))},file:e=>{var t=new XMLHttpRequest;t.open("GET",e),t.onreadystatechange=function(){return t.responseText},t.send()},fileToElement:(e,t)=>{fetch(t).then((async function(t){const n=await t.text();document.querySelector(e).innerHTML=String(n)})).catch((e=>console.error(e)))},json:e=>{if(e.match(/.(json)$/i))return n(2633)(""+e)},remote:function(e){fetch(e,{method:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",headers:arguments.length>2?arguments[2]:void 0}).then((function(e){return e})).then((function(e){return e})).catch((e=>console.error(e)))},script:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"html";e.map(((e,n)=>{$(t).append('<script src="'.concat(e,'"><\/script>'))}))}},dphelper.setProps(r)},4788:(e,t,n)=>{"use strict";n.r(t);const r={name:"log",active:!0,subCommand:[{name:"list",version:"0.0.1",example:"dphelper.log.list()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"reg",version:"0.0.1",example:"dphelper.log.reg()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"debug",version:"0.0.1",example:"dphelper.log.debug()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"error",version:"0.0.1",example:"dphelper.log.error()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.log={list:[],reg:e=>{dphelper.log.list.push({reg:e})},debug:e=>{dphelper.log.list.push({debug:e})},error:e=>{dphelper.log.list.push({error:e})}},dphelper.setProps(r)},9042:(e,t,n)=>{"use strict";n.r(t);const r={name:"math",active:!0,subCommand:[{name:"rnd",version:"0.0.1",example:"dphelper.math.rnd()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"tmr",version:"0.0.1",example:"dphelper.math.tmr()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"add",version:"0.0.1",example:"dphelper.math.add()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"sub",version:"0.0.1",example:"dphelper.math.sub()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"multi",version:"0.0.1",example:"dphelper.math.multi()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"div",version:"0.0.1",example:"dphelper.math.div()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"rem",version:"0.0.1",example:"dphelper.math.rem()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"exp",version:"0.0.1",example:"dphelper.math.exp()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isOdd",version:"0.0.1",example:"dphelper.math.isOdd()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"check if math is odd or even",subCommand:[]},{name:"float2int",version:"0.0.1",example:"dphelper.math.float2int()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"float to integer",subCommand:[]},{name:"percent",version:"0.0.1",example:"dphelper.math.percent([n,tot])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Give you the percentance between the number and is total. Example: total: 100, number:25 -> 25%",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.math={rnd:()=>Math.floor(1e5+Math.random()*dphelper.math.tmr()),tmr:()=>Math.round(dphelper.date.epoch()/1e3),add:(e,t)=>e+t,sub:(e,t)=>e-t,multi:(e,t)=>e*t,div:(e,t)=>e/t,rem:(e,t)=>e%t,exp:(e,t)=>e**t,isOdd:e=>e%2==0,float2int:e=>0|e,percent:(e,t)=>(100*e/t).toFixed(2)},dphelper.setProps(r)},9939:(e,t,n)=>{"use strict";n.r(t);const r={name:"memory",active:!0,subCommand:[{name:"lock",version:"0.0.1",example:"dphelper.memory.lock('state[key]')",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230111",type:"function",active:!0,description:"Lock a state",subCommand:[]},{name:"unlock",version:"0.0.1",example:"dphelper.memory.unlock('state[key]')",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230111",type:"function",active:!0,description:"Unlock a state",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.memory={lock:e=>{const t=null==e?void 0:e.split(".");t.length<2||Object.defineProperty(globalThis[t[0]],t[1],{writable:!1,configurable:!1})},unlock:e=>{const t=null==e?void 0:e.split(".");t.length<2||(Object.defineProperty(globalThis[t[0]],t[1],{writable:!0,configurable:!0}),console.log(Object.getOwnPropertyDescriptor(globalThis[t[0]],t[1])))}},Object.defineProperty(globalThis,"memory",{writable:!1,configurable:!1}),dphelper.setProps(r)},8719:(e,t,n)=>{"use strict";n.r(t);const r={name:"obj",active:!0,subCommand:[{name:"toArray",version:"0.0.1",example:"dphelper.obj.toArray([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"replaceNullObjects",version:"0.0.1",example:"dphelper.obj.replaceNullObjects([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"serialize",version:"0.0.1",example:"dphelper.obj.serialize([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"deSerialize",version:"0.0.1",example:"dphelper.obj.deSerialize([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"find",version:"0.0.1",example:"dphelper.obj.find([array, key, value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toXML",version:"0.0.1",example:"dphelper.obj.toXML([obj])",author:"Dario Passariello",creationDate:"20240315",lastMod:"20240315",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.obj={toArray:e=>Object.entries(e),replaceNullObjects:e=>{const t=e;return Object.keys(e).forEach((n=>{null===e[n]&&(t[n]="")})),t},serialize:e=>{if("function"==typeof e)return e.toString();if("object"==typeof e){const t={};for(const[n,r]of Object.entries(e))t[n]=dphelper.obj.serialize(r);return t}return e},deSerialize:e=>{if(e.toLowerCase().startsWith("function("))return Function('"use strict"; return '+e);if("object"==typeof e){const t={};for(const[n,r]of Object.entries(e))console.info("objectKey=".concat(n," value=").concat(r)),t[n]=dphelper.obj.deSerialize(r);return t}return e},sort:e=>Object.keys(e).sort().reduce(((t,n)=>(t[n]=e[n],t)),{}),toXML:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"@";return'<?xml version="1.0" encoding="UTF-8"?>'+(e=>new(n(9489))({attributePrefix:t}).js2xml(e))(e)},find:(e,t,n)=>{for(let r in e)if(e.hasOwnProperty(r)&&e[r][t]===n)return r}},dphelper.setProps(r)},3729:(e,t,n)=>{"use strict";n.r(t);const r={name:"observer",active:!0,subCommand:[{name:"observer",version:"0.0.1",example:"observer([stateName, callBack])",author:"Dario Passariello",creationDate:"20240523",lastMod:"20230523",type:"function",active:!0,description:"You can use like useEffect in React. Pass the name of state and the callback and automatically you connect your state with a dispatch. Every time a state mutate you run the callback",subCommand:[]},{name:"list",version:"0.0.1",example:"observer.list()",author:"Dario Passariello",creationDate:"20240616",lastMod:"20230616",type:"function",active:!0,description:"See the list of all your observer (eventListener) actually installed",subCommand:[]},{name:"remove",version:"0.0.1",example:"observer.remove([stateName, callBack, flag?])",author:"Dario Passariello",creationDate:"20240616",lastMod:"20230616",type:"function",active:!0,description:"Remove an observer",subCommand:[]}]};dphelper._list.scripts.push(r),observer=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e||t){if(!e&&t)return void console.error("Observer Error: You need to declare what state need to be monitored, Callback can't be alone!");if(e&&!t){dphelper.dispatch.set(String(e),{detail:{name:String(e)}});const t=t=>{console.groupCollapsed("%cObserver debug","color: hsl(252deg 100% 75%)"),console.debug("%cevent","color: hsl(252deg 100% 75%)",t),console.debug("%cglobalThis","color: hsl(252deg 100% 75%)",globalThis),console.debug("%cdocument","color: hsl(252deg 100% 75%)",$(globalThis.document)[0]),console.debug("%cdetail","color: hsl(252deg 100% 75%)",t.detail),console.debug("%cstate","color: hsl(252deg 100% 75%)",state),console.debug("%cwatch","color: hsl(252deg 100% 75%)","state > "+e),console.groupEnd()};return console.debug("called: ",e),void dphelper.dispatch.listen(e,(e=>{t(e)}))}if(e&&t)return"string"!=typeof e||"function"!=typeof t?void console.error('Observer Error: name of state need to be a "string" and the callback need to be a "function"'):void dphelper.dispatch.listen(e,t,n)}else console.error("Observer Error: You need to setup observer correctly, Some parameters are missed!")},Object.defineProperties(observer,{list:{value:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;jQuery._data(e,"events")}},remove:{value:e=>{e&&$(window).off(e)}}}),dphelper.setProps(r)},179:(e,t,n)=>{"use strict";n.r(t);const r={name:"path",active:!0,subCommand:[{name:"rail",version:"0.0.1",example:"dphelper.path.rail([urlSlash])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"hash",version:"0.0.1",example:"dphelper.path.hash([hashUrl])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"query",version:"0.0.1",example:"dphelper.path.query([hashQueryString])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.path={rail:()=>{const e=location.href.split("?")[0].replace(location.protocol,"").replace(location.host,"").replace(location.hash,"").split("/");if(e.length>0){return e.filter((e=>e))}},hash:()=>{const e=location.hash.replace("#","").split("/");return e.length?e.filter((e=>e)):["empty"]},query:()=>{let e;const t=[],n=location.search;return n?(n.replace("?","").split("&").map((n=>{e=n.split("="),t[e[0]]=e[1]})),t):["empty"]}},dphelper.setProps(r)},7943:(e,t,n)=>{"use strict";n.r(t);const r={name:"promise",active:!0,subCommand:[{name:"check",version:"0.0.1",example:"dphelper.promise.check(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"resolve",version:"0.0.1",example:"dphelper.promise.resolve(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.promise={check:e=>e&&"[object Promise]"===Object.prototype.toString.call(e),resolve:async e=>{const t={};if(dphelper.promise.check(e))return Promise.resolve(e).then((function(e){t.promise=e})),await t}},dphelper.setProps(r)},6332:(e,t,n)=>{"use strict";n.r(t);const r={name:"screen",active:!0,subCommand:[{name:"fullScreen",version:"0.0.2",example:"dphelper.screen.fullScreen([element])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:[]},{name:"toggle",version:"0.0.2",example:"dphelper.screen.toggle([element])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.screen={fullScreen:e=>{var t=document.querySelector(e);t.requestFullScreen?t.requestFullScreen():t.mozRequestFullScreen?e.mozRequestFullScreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen()},toggle:e=>{var t=document.querySelector(e);document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement?document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()},info:()=>[screen.width,screen.height,screen.availWidth,screen.availHeight,screen.colorDepth,screen.pixelDepth]},dphelper.setProps(r)},972:(e,t,n)=>{"use strict";n.r(t);const r={name:"scrollbar",active:!0,subCommand:[{name:"custom",version:"0.0.1",example:"dphelper.scrollbar.custom(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"indicator",version:"0.0.1",example:"dphelper.scrollbar.indicator(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"position.get",version:"0.0.1",example:"dphelper.scrollbar.position.get(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"position.set",version:"0.0.1",example:"dphelper.scrollbar.position.set(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"smooth",version:"0.0.1",example:"dphelper.scrollbar.smooth(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"scrollTo",version:"0.0.1",example:"dphelper.scrollbar.scrollTo(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.scrollbar={custom:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*",t=arguments.length>1?arguments[1]:void 0;null==t||!t.color_1||t.color_1,null==t||!t.color_1_hover||t.color_1_hover,null==t||!t.color_2||t.color_2,null==t||!t.color_3||t.color_3,null==t||!t.type||t.type,null==t||!t.behavior||t.behavior,null==t||!t.width||t.width,null==t||!t.height||t.height,null==t||!t.rounded||t.rounded,null!=t&&t.margin&&t.margin,null==t||!t.border||t.border,null==t||!t.opacity||t.opacity;const n=" ".concat(e,"::-webkit-scrollbar {\n scroll-behavior: ").concat(t.behavior,";\n width: ").concat(t.width,";\n height: ").concat(t.height,";\n }\n ").concat(e,"::-webkit-scrollbar-thumb {\n opacity: ").concat(t.opacity," !important;\n -webkit-border-radius: ").concat(t.rounded," !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n border-radius: ").concat(t.rounded," !important;\n background: ").concat(t.color_1," !important;\n background-clip: content-box !important;\n border: ").concat(t.border," solid transparent !important;\n min-height: 2px !important;\n min-width: 2px !important;\n }\n ").concat(e,"::-webkit-scrollbar-thumb:hover{\n background: ").concat(t.color_1_hover," !important;\n }\n ").concat(e,"::-webkit-scrollbar-thumb:active{\n background: ").concat(t.color_1," !important;\n background-clip: content-box !important;\n border: calc( ").concat(t.border," - 1.5px ) solid transparent !important;\n }\n ").concat(e,"::-webkit-scrollbar-track {\n background: ").concat(t.color_2,";\n border-radius: ").concat(t.rounded,";\n }\n ").concat(e,"::-webkit-scrollbar-track:hover {\n /*background: rgba(128,128,128,.15) !important;*/\n }\n ").concat(e,"::-webkit-scrollbar-track:vertical:hover {\n /* border-left: 1px solid rgba(0,0,0,.1) !important; */\n }\n ").concat(e,"::-webkit-scrollbar-track:horizontal:hover {\n /* border-top: 1px solid rgba(0,0,0,.1) !important; */\n }\n ").concat(e,"::-webkit-scrollbar-corner {\n background:rgba(0,0,0,0)\n }\n /*\n ").concat(e,"::-webkit-scrollbar-thumb:window-inactive {\n background: ").concat(t.color_3,"\n }\n */\n select::-webkit-scrollbar-thumb {\n border: 4px solid hsl(0 0% 92% / 1) !important;\n }\n select::-webkit-scrollbar-track {\n background: hsl(0 0% 92% / 1) !important;\n }\n select::-webkit-scrollbar-track:vertical,\n select::-webkit-scrollbar-track:horizontal {\n border-top: none !important;\n border-left: none !important;\n }\n "),r=document.createElement("style");document.head.appendChild(r),r.innerHTML=n},indicator:e=>{const t=document.querySelector(e.el),n=document.querySelector(".scrollindicator");if(!n){const e=document.createElement("div");e.classList.add("scrollindicator"),document.querySelector("header").appendChild(e),e.style.cssText="\n height:5px;\n background:#65c45c;\n position:absolute;\n bottom:0;\n left:0;\n z-index:2\n "}if(!e.el&&n)return n.style.width="0%",null;try{const e=document.querySelector(".scrollindicator");t.addEventListener("scroll",(function(t){e.style.width="0%";const n=Number(this.scrollTop||this.scrollTop),r=Number(this.scrollHeight-this.clientHeight),o=Math.min(Math.max(n/r*100),100);e.style.width=o+"%",e.click()})),t.addEventListener("popstate",(function(t){e.style.width=0}))}catch(e){return}return null},position:{set:e=>{const t=[$(e).scrollTop(),$(e).scrollLeft()];null!=t[0]&&null!=t[1]&&store.set(e,t)},get:e=>{if(!store.get(e))return;const t=JSON.parse(store.get(e));$(e).scrollTop(t[0]),$(e).scrollLeft(t[1])}},smooth:(e,t,n)=>{e===document&&(e=document.scrollingElement||document.documentElement||document.body.parentNode||document.body);let r=!1,o=e.scrollTop;const i=e===document.body&&document.documentElement?document.documentElement:e;function a(n){n.preventDefault();const a=function(e){return e.detail?e.wheelDelta?e.wheelDelta/e.detail/40*(e.detail>0?1:-1):-e.detail/3:e.wheelDelta/120}(n);o+=-a*t,o=Math.max(0,Math.min(o,e.scrollHeight-i.clientHeight)),r||s()}function s(){r=!0;const t=(o-e.scrollTop)/n;e.scrollTop+=t,Math.abs(t)>.5?l(s):r=!1}e.addEventListener("mousewheel",a,{passive:!1}),e.addEventListener("DOMMouseScroll",a,{passive:!1});const l=dphelper.Window.animationframe()},scrollTo:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=document.querySelector(e),o=document.querySelector(t);r&&o&&n&&r.scrollTo({top:o.offsetTop,behavior:"smooth"})}},dphelper.setProps(r)},1821:(e,t,n)=>{"use strict";n.r(t);const r={name:"security",active:!0,subCommand:[{name:"uuid",version:"0.0.1",example:"dphelper.security.uuid(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[{name:"v5",version:"0.0.1",example:"dphelper.security.uuid.v5()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]},{name:"hashPass",description:"Give you the crypto digest SHA-1 starting from user and password values",example:"dphelper.security.hashPass(user, password)",version:"0.0.1",type:"function",active:!0,subCommand:[]},{name:"crypt",description:"Crypt your message using a secret_key in a default format AES",example:"dphelper.security.crypt(data, secret_key, [optional mode])",version:"0.0.1",type:"function",active:!0,subCommand:[]},{name:"deCrypt",description:"Decrypt your message using a secret_key in a default format AES",example:"dphelper.security.deCrypt(data, secret_key, [optional mode])",version:"0.0.1",type:"function",active:!0,subCommand:[]},{name:"AES_KeyGen",description:"Generate a key based off AES algorithm",example:"dphelper.security.AES_KeyGen(secret_key)",version:"0.0.1",type:"function",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r);const o=n(8854);dphelper.security={uuid:{v5:()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},hashPass:async(e,t)=>{const n=(new TextEncoder).encode(t.toLowerCase()+e.toLowerCase()),r=await crypto.subtle.digest("SHA-1",n),o=Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("");return Promise.all(o)},crypt:function(e,t){return o[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"AES"].encrypt(e,t).toString()},deCrypt:function(e,t){return o[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"AES"].decrypt(e,t).toString(o.enc.Utf8)},AES_KeyGen:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"test";var t=o.lib.WordArray.random(16);return o.PBKDF2(e,t,{keySize:16,iterations:1e3}).toString()}},dphelper.setProps(r)},278:(e,t,n)=>{"use strict";n.r(t);const r={name:"shortcut",active:!0,subCommand:[{name:"keys",version:"0.0.1",example:"dphelper.shortcut.keys([e, trigger])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.shortcut={keys:(e,t)=>{const n=e.which?e.which:e.keyCode;e={tes:console.debug("try")},t||(t={data:[{key:"83",ctrl:!0,active:!0,description:"CTRL+S",function:""},{key:"27",ctrl:!1,active:!0,description:"ESC",element:"",function:""},{key:"80",ctrl:!0,active:!0,description:"CTRL+P",element:"",function:"function(){ Print }"}]}),t.map((t=>{if((e.ctrlKey||e.metaKey&&!0===t.ctrl)&&n===parseInt(t.key)&&!0===t.active)return t.element&&t.element.click(),t.function&&JSON.stringify(t.function),void e.preventDefault()}))}},dphelper.setProps(r)},5089:(e,t,n)=>{"use strict";n.r(t);const r={name:"socket",active:!0,subCommand:[{name:"info",version:"0.0.1",example:"dphelper.socket.info(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"start",version:"0.0.1",example:"dphelper.socket.start(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"conn",version:"0.0.1",example:"dphelper.socket.conn(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"connect",version:"0.0.1",example:"dphelper.socket.connect(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"open",version:"0.0.1",example:"dphelper.socket.open(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"send",version:"0.0.1",example:"dphelper.socket.send(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"receive",version:"0.0.1",example:"dphelper.socket.receive(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"keepAlive",version:"0.0.1",example:"dphelper.socket.keepAlive(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"check",version:"0.0.1",example:"dphelper.socket.check()",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Start check how many websocket conection are opens",subCommand:[]},{name:"list",version:"0.0.1",example:"dphelper.socket.list()",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"List of all websocket connection in realtime",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.socket={info:()=>"Created by Dario Passariello",start:(e,t)=>{dphelper.socket.connect(t),dphelper.socket.receive(e)},conn:(e,t)=>{if(!e||!t)return void console.debug("please use connect!");const n=new WebSocket(t);return n.binaryType="blob",[n,e]},connect:e=>{e&&dphelper.socket.open(dphelper.security.uuid.v5(),e)},open:(e,t)=>{e&&(dphelper.socket.connection=dphelper.socket.conn(e,t),dphelper.socket.connection[0].onopen=()=>dphelper.log.reg(e+" connected"),dphelper.socket.connection[0].onclose=e=>dphelper.log.debug(e.wasClean?"Disconnected":"Connection break: "+(e.reason||e.code)),dphelper.socket.connection[0].onerror=e=>dphelper.log.error(e.message))},send:function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"reg";if(null===(t=dphelper.socket.connection)||void 0===t||!t[1]||!e)return;const r=dphelper.socket.connection[0],o=dphelper.socket.connection[1],i='{"'.concat(n,'":"(').concat(o,":").concat(e,')"}');r.send(i)},ping:()=>{var e;if(null===(e=dphelper.socket.connection)||void 0===e||!e[1])return;const t=dphelper.socket.connection[0];dphelper.socket.connection[1];t.send('{"debug":"__ping__"}')},receive:e=>{var t;null!==(t=dphelper.socket.connection)&&void 0!==t&&t[1]&&(dphelper.ws=dphelper.socket.connection[0],dphelper.ws.addEventListener("message",(function(t){try{const n=Object.values(JSON.parse(t.data));return dphelper.log.reg(t.data),$(e)&&$(e).prepend(n[0]+"<br/>"),n[0]}catch(e){}})))},keepAlive:()=>{let e;const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5e3;dphelper.socket.ping(),e=setTimeout((()=>{}),t)};dphelper.ws.onopen=function(){setInterval(t,3e4)},dphelper.ws.onmessage=function(t){try{if("__ping__"===Object.values(JSON.parse(t.data))[0])return void clearTimeout(e)}catch(e){}}},check:()=>{const e=WebSocket.prototype.send;globalThis.sockets=[],WebSocket.prototype.send=function(){-1===globalThis.sockets.indexOf(this)&&globalThis.sockets.push(this);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.call(this,...n)}},list:()=>globalThis.sockets},dphelper.setProps(r),dphelper.socket.check()},4836:(e,t,n)=>{"use strict";n.r(t);const r={name:"state",active:!0,subCommand:[{name:"state",version:"0.0.2",example:"state.[key] = [value]",author:"Dario Passariello",creationDate:"20210101",lastMod:"20230111",type:"function",active:!0,description:"",subCommand:[{name:"list",type:"function",version:"0.0.1",example:"state.list",description:"show all states out of proxy",author:"Dario Passariello",creationDate:"20240607",lastMod:"20240607",active:!0,subCommand:[]},{name:"remove",type:"function",version:"0.0.1",example:"state.remove([state])",description:"remove a state",author:"Dario Passariello",creationDate:"20240607",lastMod:"20240607",active:!0,subCommand:[]}]}]};dphelper._list.scripts.push(r);const o=[],i={event(e){dphelper.dispatch.set(String(e),{detail:{name:String(e)}})},set:(e,t,n)=>(e[t]||o.push(t),i.event(t),e[t]=n,state.mex({property:t,value:n}),!0),get:function(e,t){return"object"===t&&null!==t?new Proxy(e[t],i):e[t]}};Object.defineProperty(globalThis,"state",{value:new Proxy(state,i),enumerable:!0,configurable:!1}),Object.defineProperties(state,{list:{get(){console.info(Object.assign({},state))}},remove:{value:e=>{e in state?(delete state[e],console.warn("State '".concat(e,"' deleted"))):console.error("'".concat(e,"' not exist"))},writable:!1,configurable:!1},mex:{value:e=>{$("#dpConsole").append('<span>\n <span style="color: green">State '.concat(e.property,' changed: <span style="color: yellow">"').concat(e.value,'"</span></span>\n </span>'))},writable:!1,configurable:!1}}),dphelper.setProps(r)},7100:(e,t,n)=>{"use strict";n.r(t);const r={name:"store",active:!0,subCommand:[{name:"get",version:"0.0.1",example:"store.get(..)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"set",version:"0.0.1",example:"store.set(..)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"delete",version:"0.0.1",example:"store.delete(..)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"clearAll",version:"0.0.1",example:"store.clearAll()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"quota",version:"0.0.1",example:"store.quota()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"size",version:"0.0.1",example:"store.size()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),store={get:e=>{if(e)return localStorage.getItem(e)},set:(e,t)=>{e&&t&&localStorage.setItem(e,JSON.stringify(t))},delete:e=>{e&&localStorage.removeItem(e)},clearAll:()=>{localStorage.clear()},quota:()=>{"storage"in navigator&&"estimate"in navigator.storage&&navigator.storage.estimate().then((e=>{let{usage:t,quota:n}=e;console.debug("Using ".concat(t/1024," out of ").concat(n/1024," Mb."))}))},size:()=>{const e={};let t,n,r=0;for(n in localStorage)localStorage.hasOwnProperty(n)&&(t=localStorage[n].length,r+=t,e[n.substr(0,50)]=t);return e._total=r,e}},Object.defineProperty(globalThis,"store",{value:new Proxy(store,{}),writable:!1,configurable:!1}),dphelper.setProps(r)},5532:(e,t,n)=>{"use strict";n.r(t);const r={name:"svg",active:!0,subCommand:[{name:"init",version:"0.0.1",example:"dphelper.svg.init(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"check",version:"0.0.1",example:"dphelper.svg.check(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"update",version:"0.0.1",example:"dphelper.svg.update(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"getCurve",version:"0.0.1",example:"dphelper.svg.getCurve(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"getIntersection",version:"0.0.1",example:"dphelper.svg.getIntersection(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"setConnector",version:"0.0.1",example:"dphelper.svg.setConnector(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"removeConnection",version:"0.0.1",example:"dphelper.svg.removeConnection(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"makeScrollable",version:"0.0.1",example:"dphelper.svg.makeScrollable(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"makeDraggable",version:"0.0.1",example:"dphelper.svg.makeDraggable(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toggle",version:"0.0.1",example:"dphelper.svg.toggle(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"convert",version:"0.0.1",example:"dphelper.svg.convert([Object])",author:"Dario Passariello",creationDate:"20190101",lastMod:"20240401",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.svg={init:function(e,t,n,r){$(e).find("svg")&&dphelper.svg_removeConnection(e),t=dphelper.svg.setConnector(t[0],t[1]),n=dphelper.svg.setConnector(n[0],n[1]);const o=e.getBoundingClientRect(),i="http://www.w3.org/2000/svg",a=10*e.offsetWidth,s=10*e.offsetHeight,l=document.createElementNS(i,"svg");l.setAttribute("xmlns",i),l.setAttributeNS(null,"id","pathConnection"),l.setAttributeNS(null,"viewBox","0 0 "+a+" "+s),l.setAttributeNS(null,"width",String(a)),l.setAttributeNS(null,"height",String(s)),l.style.display="block";const c=document.createElementNS(i,"rect");let u=t.getBoundingClientRect();c.setAttributeNS(null,"x",String(u.left-o.left)),c.setAttributeNS(null,"y",String(u.top-o.top)),c.setAttributeNS(null,"width",u.width),c.setAttributeNS(null,"height",u.height),l.appendChild(c);const p=document.createElementNS(i,"rect");u=n.getBoundingClientRect(),p.setAttributeNS(null,"x",String(u.left-o.left)),p.setAttributeNS(null,"y",String(u.top-o.top)),p.setAttributeNS(null,"width",u.width),p.setAttributeNS(null,"height",u.height),l.appendChild(p);const d=document.createElementNS(i,"path");d.setAttributeNS(null,"id","connection"),d.setAttributeNS(null,"marker-end","url(#head)"),l.appendChild(d),e.appendChild(l),dphelper.svg.update($(c)[0],$(p)[0],$("#connection")[0]),"function"==typeof r&&r(t,n)},check:()=>{if(void 0===dphelper.svg.check.supported){const e=document.body.appendChild(document.createElement("div"));e.innerHTML='<v:shape id="vml_flag1" adj="1" />';const t=e.firstChild;t.style.behavior="url(#default#VML)",dphelper.svg.check.supported=!t||"object"==typeof t.adj,e.parentNode.removeChild(e)}return dphelper.svg.check.supported},update:function(e,t,n){const r=parseFloat(e.getAttribute("x")),o=parseFloat(e.getAttribute("y")),i=parseFloat(t.getAttribute("x")),a=parseFloat(t.getAttribute("y")),s=parseFloat(e.getAttribute("width"))/2,l=parseFloat(e.getAttribute("height"))/2,c=parseFloat(t.getAttribute("width"))/2,u=parseFloat(t.getAttribute("height"))/2,p=r+s,d=o+l,h=i+c,f=a+u,m=h-p,v=f-d,g=dphelper.svg.getIntersection(m,v,p,d,s,l),y=dphelper.svg.getIntersection(-m,-v,h,f,c,u),b=y[0]-g[0],x=dphelper.svg.getCurve(g,y,b);n.setAttributeNS(null,"d","M"+p+","+d+x+h+","+f)},getCurve:function(e,t,n){const r=n/2;return" C"+(r+e[0])+","+e[1]+" "+(t[0]-r)+","+t[1]+" "},getIntersection:function(e,t,n,r,o,i){return Math.abs(t/e)<i/o?[n+(e>0?o:-o),r+t*o/Math.abs(e)]:[n+e*i/Math.abs(t),r+(t>0?i:-i)]},setConnector:function(e,t){let n;const r=$('<span class="connector"></span>');switch($(e).css("position","relative"),r.css({position:"absolute",width:"5px",height:"5px"}),t){case"top":n={left:"50%",top:"2.5px",marginLeft:"2.5px"};break;case"right":n={top:"50%",right:"2.5px",marginTop:"-2.5px"};break;case"bottom":n={left:"50%",bottom:"-2.5px",marginLeft:"2.5px"};break;case"left":n={top:"50%",left:"-2.5px",marginTop:"-2.5px"};break;default:n={}}return r.css(n),$(e).append(r),$(r)[0]},removeConnection:function(e){$(e).find("svg#pathConnection").each((function(e,t){$(t).remove()}))},makeScrollable:function(e,t,n,r,o,i){const a=e.getBoundingClientRect(),s=[n,r],l=s.length,c=[o,i],u=[];for(let e=0;e<l;e++)u[e]=s[e].getBoundingClientRect(),c[e].setAttributeNS(null,"x",u[e].left-a.left),c[e].setAttributeNS(null,"y",u[e].top-a.top),c[e].setAttributeNS(null,"width",u[e].width),c[e].setAttributeNS(null,"height",u[e].height);dphelper.svg.update($(o)[0],$(i)[0],$("#connection")[0])},makeDraggable:function(e){const t=e.target;function n(n){const r=t.getScreenCTM();return{x:(e.clientX-r.e)/r.a,y:(e.clientY-r.f)/r.d}}let r,o;t.addEventListener("mousedown",(function(e){e.target.classList.contains("draggable")&&(r=e.target,o=n(e),o.x-=parseFloat(r.getAttributeNS(null,"x")),o.y-=parseFloat(r.getAttributeNS(null,"y")))})),t.addEventListener("mousemove",(function(e){if(r){const t=n(e);r.setAttributeNS(null,"x",t.x-o.x),r.setAttributeNS(null,"y",t.y-o.y),dphelper.svg.update()}})),t.addEventListener("mouseup",(function(e){r=null}))},toggle:function(e,t,n,r){$(e.target).prop("checked")&&$(n).length&&$(r).length?(dphelper.cookie.set($(e.target).attr("id"),1,365),dphelper.svg_initConnection(t[0],[$(n)[0],"right"],[$(r)[0],"left"],(function(e,n){$("#parts-left-body").on("scroll",(function(r){dphelper.svg.makeScrollable($(t)[0],$("#parts-left-body")[0],$(e)[0],$(n)[0],$("#parts svg rect")[0],$("#parts svg rect")[1])}))}))):(dphelper.svg_removeConnection(t),$("#parts-left-body").unbind("scroll"),dphelper.cookie.set($(e.target).attr("id"),0,365))},convert:e=>{let{children:t,active:n=!0,size:r=[1920,1080],fit:o=["100%","100%"],preserveAspectRatio:i="none",style:a="width:".concat(o[0],"; height:").concat(o[1]),zoom:s=1}=e;if(!t)return"Please pass ID of element for SVG conversion";if(n){const e=$(t).clone(),n='\n <svg\n viewBox="0 0 '.concat(r[0]," ").concat(r[1],'"\n preserveAspectRatio="').concat(i,'"\n xmlns="http://www.w3.org/2000/svg"\n style="').concat(a,"; zoom:").concat(s,'"\n >\n <foreignObject\n x="0"\n y="0"\n width="').concat(o[0],'"\n height="').concat(o[1],'"\n style="').concat(a,"; zoom:").concat(s,'"\n >\n </foreignObject>\n </svg >\n ');$(t).html(n).find("foreignObject").html(e)}}},dphelper.svg.check(),dphelper.setProps(r)},9633:(e,t,n)=>{"use strict";n.r(t);const r={name:"system",active:!0,subCommand:[{name:"multiSplit",version:"0.0.1",example:"dphelper.system.multiSplit()",author:"Dario Passariello",creationDate:"20231121",lastMod:"20231121",type:"system",active:!0,description:"Run only one time when you load your App ... extend the .split with array as argument (example.split([',', ':', ';', '?', '/'])[0])",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.system={multiSplit:()=>{const e=String.prototype.split;String.prototype.split=function(){if(arguments[0].length>0&&"[object Array]"==Object.prototype.toString.call(arguments[0]))return function(e,t){for(var n=t[0],r=1;r<t.length;++r)e=e.split(t[r]).join(n);return e.split(n)}(this,arguments[0]);const t=arguments;return e.apply(this,t)}}},dphelper.setProps(r)},3564:(e,t,n)=>{"use strict";n.r(t);const r={name:"terminal",active:!0,subCommand:[{name:"terminal",version:"0.0.1",example:"dphelper.terminal([dom])",author:"Dario Passariello",creationDate:"20240525",lastMod:"20240525",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.terminal=function(e){if(!e)throw Error("Parent dom element required!");let t=!1,n=console.log,r=console.info,o=console.warn,i=console.error;const a=document.getElementById("terminal"),s=function(e){var t=Array.prototype.slice.call(arguments[1]).join(" ");t=e===l.WARN?'<font color="#FF6600">* WARN: '+t:e===l.ERR?'<font color="#FF0000">* ERR: '+t:"* "+t,this.domElement.innerHTML+=t+"<br/>",a&&(a.scrollTop=a.scrollHeight)},l={LOG:0,INFO:1,WARN:2,ERR:3};this.autoScroll=!0,this.disableConsoleLogging=!1;var c=document.createElement("div");c.id="debugConsole",e.appendChild(c),this.domElement=c,this.initKeyMappings=function(){t?console.warn("DebugConsole: keys already mapped!"):(state.toggleConsole=function(){this.visible=!this.visible}.bind(this),t=!0)},this.overrideConsole=function(){console.log=function(){this.disableConsoleLogging||(s.call(this,l.LOG),n.apply(console))}.bind(this),console.info=function(){state.disableConsoleLogging||(s.call(this,l.INFO),r.apply(console))}.bind(this),console.warn=function(){state.disableConsoleLogging||(s.call(this,l.WARN),o.apply(console))}.bind(this),console.error=function(){state.disableConsoleLogging||(s.call(this,l.ERR),i.apply(console))}.bind(this),onerror=function(e,t,n){var r=["".concat(e,' in <a href="').concat(t,"\" target='_blank'>").concat(t.split("/").pop(),"</a>: ").concat(n)];return console.error(r.join("")),!1}},this.overrideConsole(),this.clear=function(){this.domElement.innerHTML=""},Object.defineProperties(this,{visible:{get:function(){return""===this.domElement.style.display},set:function(e){e&&(this.domElement.style.display="",this.domElement.scrollTop=this.domElement.scrollHeight)},configurable:!0},top:{get:function(){return this.domElement.style.top},set:function(e){this.domElement.style.top=e}},left:{get:function(){return this.domElement.style.left},set:function(e){this.domElement.style.left=e}},bottom:{get:function(){return this.domElement.style.bottom},set:function(e){this.domElement.style.bottom=e}},right:{get:function(){return this.domElement.style.right},set:function(e){this.domElement.style.right=e}},width:{get:function(){return this.domElement.style.width},set:function(e){this.domElement.style.width=e}},height:{get:function(){return this.domElement.style.height},set:function(e){this.domElement.style.height=e}}})},dphelper.setProps(r)},5707:(e,t,n)=>{"use strict";n.r(t);const r={name:"text",active:!0,subCommand:[{name:"trim",version:"0.0.1",example:"dphelper.text.trim(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"capitalize",version:"0.0.1",example:"dphelper.text.capitalize(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"lower",version:"0.0.1",example:"dphelper.text.lower(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"upper",version:"0.0.1",example:"dphelper.text.upper(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"nl2br",version:"0.0.1",example:"dphelper.text.nl2br(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"sanitize",version:"0.0.1",example:"dphelper.text.sanitize(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"camelCase",version:"0.0.1",example:"dphelper.text.camelCase(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[{name:"toSpace",version:"0.0.1",example:"dphelper.text.camelCase.toSpace(...)",type:"function",active:!0,description:"",subCommand:[]},{name:"toUnderscore",version:"0.0.1",example:"dphelper.text.camelCase.toUnderscore(...)",type:"function",active:!0,description:"",subCommand:[]}]},{name:"fitContainer",version:"0.0.1",example:"dphelper.font.fitContainer([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.text={trim:(e,t,n,r)=>e.charAt(0)===t?e.substring(n,r):e,capitalize:e=>e.toLowerCase().replace(/\b\w/g,(function(e){return e.toUpperCase()})),lower:e=>e.toLowerCase(),upper:e=>e.toUpperCase(),nl2br:e=>e.replace(/(?:\r\n|\r|\n)/g,"<br>"),sanitize:e=>e.replace(/<(|\/|[^>\bi]|\/[^>bi]|[^/>][^>]+|\/[^>][^>]+)>/g,""),camelCase:{toSpace:e=>e.replace(/([A-Z])/g," $1").replace(/^./,(function(e){return e.toUpperCase()})),toUnderscore:e=>e.replace(/\.?([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")},fitContainer:e=>{e&&dphelper.addListenerMulti(window,"load resize",(()=>{!function(e){const t=document.querySelectorAll(e),n=t.length;if(!(n<=0))for(let e=0;e<n;e++){const n=.05*t[e].offsetWidth;t[e].style.fontSize=n+"px"}}(e)}))}},dphelper.setProps(r)},407:(e,t,n)=>{"use strict";n.r(t);const r={name:"timer",active:!0,subCommand:[{name:"sleep",version:"0.0.1",example:"dphelper.timer.sleep(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"percentage",version:"0.0.1",example:"dphelper.timer.percentage(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.timer={sleep:e=>new Promise((t=>setTimeout(t,e))),percentage:(e,t)=>{function n(e){const t=e.split(":");return 3600*t[0]+60*t[1]+t[2]}return(100*n(e)/n(t)).toFixed(2)}},dphelper.setProps(r)},7553:(e,t,n)=>{"use strict";n.r(t);const r={name:"tools",active:!0,subCommand:[{name:"byteSize",description:"Give you the total in 'Kb', 'Mb', 'Gb', 'Tb', 'Pb', 'Eb', 'Zb', 'Yb' starting from bytes",example:"dphelper.tools.byteSize(bytes)",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"hashPass",description:"",example:"dphelper.tools.hashPass(number, total)",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"zIndex",description:"",example:"dphelper.tools.zIndex()",version:"0.0.1",author:"Dario Passariello",creationDate:"20240807",lastMod:"20240807",type:"function",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.tools={byteSize:e=>{const t=1024;if(Math.abs(e)<t)return e+"b";const n=["Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"];let r=-1;do{e/=t,++r}while(Math.abs(e)>=t&&r<n.length-1);return e.toFixed(1)+n[r]},hashPass:async(e,t)=>{const n=(new TextEncoder).encode(t.toLowerCase()+e.toLowerCase()),r=await crypto.subtle.digest("SHA-1",n);return Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("")},zIndex:()=>[...document.querySelectorAll("body *")].map((e=>parseFloat(getComputedStyle(e).zIndex))).reduce(((e,t)=>t>e?t:e),1)},dphelper.setProps(r)},801:(e,t,n)=>{"use strict";n.r(t);const r={name:"translators",active:!0,subCommand:[{name:"convertMatrixToScale",version:"0.0.1",example:"dphelper.translators.convertMatrixToScale({value})",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.translators={convertMatrixToScale:e=>{const t=(e=(e=(e=e.split("(")[1]).split(")")[0]).split(","))[0],n=e[1];return Math.sqrt(t*t+n*n)}},dphelper.setProps(r)},878:(e,t,n)=>{"use strict";n.r(t);const r={name:"trigger",active:!0,subCommand:[{name:"click",version:"0.0.1",example:"dphelper.trigger.click(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"change",version:"0.0.1",example:"dphelper.trigger.change(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.trigger={click:e=>{const t=document.querySelector(e);t&&t.click()},change:e=>{const t=document.querySelector(e),n=new Event("input",{bubbles:!0});n.simulated=!0,dphelper.dispatch.set(n),t.dispatchEvent(n)}},dphelper.setProps(r)},6464:(e,t,n)=>{"use strict";n.r(t);const r={name:"type",active:!0,subCommand:[{name:"of",version:"0.0.1",example:"dphelper.type.of(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"instOfObj",version:"0.0.1",example:"dphelper.type.instOfObj(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isNaN",version:"0.0.1",example:"dphelper.type.isNaN(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isPrime",version:"0.0.1",example:"dphelper.type.isPrime(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isBool",version:"0.0.1",example:"dphelper.type.isBool(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.type={of:e=>typeof e,instOfObj:e=>e instanceof Object,isNaN:e=>function(t){return!e(t)},isPrime:e=>{let t=e/2,n=!0;for(;t>1;)e%t==0?(n=!1,t=0):t-=1;return!0===n},isBool:e=>!e||null==e.length||"1"===e},dphelper.setProps(r)},4134:(e,t,n)=>{"use strict";n.r(t);const r={name:"UI",active:!0,subCommand:[{name:"input",version:"0.0.1",example:"dphelper.UI.input(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.ui={input:()=>null,button:()=>null,textarea:()=>null,select:()=>null,dataset:()=>null,fieldset:()=>null,legend:()=>null,code:()=>null},dphelper.setProps(r)},4088:(e,t,n)=>{"use strict";n.r(t);const r={name:"window",active:!0,subCommand:[{name:"enhancement",version:"0.0.1",example:"dphelper.window.enhancement()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Use only one time at end of application",subCommand:[]},{name:"center",version:"0.0.1",example:"dphelper.window.center({ url, title, name, w, h })",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Use to center popup to screen",subCommand:[]},{name:"onBeforeUnLoad",version:"0.0.1",example:"dphelper.window.onBeforeUnLoad()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"message during leave the site",subCommand:[]},{name:"purge",version:"0.0.1",example:"dphelper.window.purge()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Purge from memory",subCommand:[]},{name:"stopZoomWheel",version:"0.0.1",example:"dphelper.window.stopZoomWheel(e)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Stop Zoom Generated by Mouse Wheel",subCommand:[]},{name:"setZoom",version:"0.0.1",example:"dphelper.window.setZoom([el,1])",author:"Dario Passariello",creationDate:"20240727",lastMod:"20220727",type:"function",active:!0,description:"",subCommand:[]},{name:"getZoom",version:"0.0.1",example:"dphelper.window.getZoom([el])",author:"Dario Passariello",creationDate:"20240727",lastMod:"20220727",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.window={enhancement:()=>{window.offScreenBuffering="auto",dphelper.window.animationframe()},animationframe:()=>{window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame},center:e=>{let{url:t,title:n,name:r,w:o,h:i}=e;const a=void 0!==window.screenLeft?window.screenLeft:window.screenX,s=void 0!==window.screenTop?window.screenTop:window.screenY,l=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,c=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,u=l/window.screen.availWidth,p=(l-o)/2/u+a,d=(c-i)/2/u+s,h=window.open(t,n,"\n scrollbars=yes,\n width=".concat(o/u,",\n height=").concat(i/u,",\n top=").concat(d,",\n left=").concat(p,"\n "));window.onfocus=()=>h.focus()},onBeforeUnLoad:e=>{let t=!1,n=!1;const r="You have made some changes which you might want to save.",o=e=>(e.preventDefault(),r),i=document.querySelector(e.target);i&&i.addEventListener("input",(t=>{""!==e.target.value?addEventListener("beforeunload",o,{capture:!0}):removeEventListener("beforeunload",o,{capture:!0})}));!1===n&&(document.body.addEventListener("click",(n=>{if("IMG"===e.target.tagName&&!0===t){if(!0===confirm(r))return t=!1;n.preventDefault()}})),n=!0),addEventListener("popstate",(e=>{if(!0===t){return!0===confirm(r)?t=!1:(e.stopImmediatePropagation(),e.preventDefault(),r)}})),window.onbeforeunload=e=>{}},purge:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;setTimeout((()=>{if(void 0===e)return null;let t=e.attributes;if(t){const n=t.length;for(let r=0;r<n;r+=1){const n=t[r].name;"function"==typeof e[n]&&(e[n]=null),void 0===e[n]&&(e[n]=null)}}if(t=e.childNodes,t){const n=t.length;for(let t=0;t<n;t+=1)dphelper.purge(e.childNodes[t])}}),arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4)},stopZoomWheel:e=>{addEventListener("wheel",(e=>{e.ctrlKey&&e.preventDefault()}),{passive:!1}),addEventListener("keydown",(e=>{const t=dphelper.event.keys(e);["+","-","="].includes(t.key)&&t.ctrl&&e.preventDefault()}))},setZoom:function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e<0&&(e=1),$(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"html").css("zoom",e),"New zoom value: ".concat(100*e,"% (css: ").concat(e,")")},getZoom:function(){return Number($(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"html").css("zoom"))}},dphelper.setProps(r)},9987:()=>{},5219:()=>{},6338:()=>{},6238:()=>{},1639:()=>{cache={}},7605:()=>{dphelper={}},9427:()=>{$={},jQuery={}},6011:()=>{observer={}},1272:()=>{state={}},852:()=>{store={}},1223:(e,t,n)=>{var r={"./@/over.ts":6687,"./@/setProps.ts":8123,"./anchor.ts":4273,"./array/index.ts":7004,"./avoid.ts":3763,"./browser.ts":5122,"./cache/index.ts":6775,"./color.ts":2421,"./console/index.ts":7352,"./console/mapped.ts":6329,"./coods.ts":4200,"./cookie.ts":9514,"./credits.ts":4296,"./date.ts":7828,"./disable.ts":2278,"./dispatch/index.ts":6309,"./element.ts":8650,"./event.ts":690,"./form.ts":3714,"./format.ts":4023,"./function.ts":1388,"./iDB.ts":4603,"./import.ts":2121,"./json.ts":3942,"./load.ts":3060,"./log.ts":4788,"./math.ts":9042,"./memory.ts":9939,"./obj.ts":8719,"./observer/index.ts":3729,"./path.ts":179,"./promise.ts":7943,"./screen.ts":6332,"./scrollbar.ts":972,"./security/index.ts":1821,"./shortcut.ts":278,"./socket.ts":5089,"./state/index.ts":4836,"./store/index.ts":7100,"./svg.ts":5532,"./system.ts":9633,"./terminal.ts":3564,"./text.ts":5707,"./timer.ts":407,"./tools.ts":7553,"./translators.ts":801,"./trigger.ts":878,"./type.ts":6464,"./ui.ts":4134,"./window.ts":4088};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=1223},2633:(e,t,n)=>{var r={"./@/over":6687,"./@/over.ts":6687,"./@/setProps":8123,"./@/setProps.ts":8123,"./anchor":4273,"./anchor.ts":4273,"./array":7004,"./array/":7004,"./array/index":7004,"./array/index.ts":7004,"./avoid":3763,"./avoid.ts":3763,"./browser":5122,"./browser.ts":5122,"./cache":6775,"./cache/":6775,"./cache/index":6775,"./cache/index.ts":6775,"./color":2421,"./color.ts":2421,"./console":7352,"./console/":7352,"./console/index":7352,"./console/index.ts":7352,"./console/mapped":6329,"./console/mapped.ts":6329,"./coods":4200,"./coods.ts":4200,"./cookie":9514,"./cookie.ts":9514,"./credits":4296,"./credits.ts":4296,"./date":7828,"./date.ts":7828,"./disable":2278,"./disable.ts":2278,"./dispatch":6309,"./dispatch/":6309,"./dispatch/index":6309,"./dispatch/index.ts":6309,"./element":8650,"./element.ts":8650,"./event":690,"./event.ts":690,"./form":3714,"./form.ts":3714,"./format":4023,"./format.ts":4023,"./function":1388,"./function.ts":1388,"./iDB":4603,"./iDB.ts":4603,"./import":2121,"./import.ts":2121,"./json":3942,"./json.ts":3942,"./load":3060,"./load.ts":3060,"./log":4788,"./log.ts":4788,"./math":9042,"./math.ts":9042,"./memory":9939,"./memory.ts":9939,"./obj":8719,"./obj.ts":8719,"./observer":3729,"./observer/":3729,"./observer/index":3729,"./observer/index.ts":3729,"./path":179,"./path.ts":179,"./promise":7943,"./promise.ts":7943,"./screen":6332,"./screen.ts":6332,"./scrollbar":972,"./scrollbar.ts":972,"./security":1821,"./security/":1821,"./security/index":1821,"./security/index.ts":1821,"./shortcut":278,"./shortcut.ts":278,"./socket":5089,"./socket.ts":5089,"./state":4836,"./state/":4836,"./state/index":4836,"./state/index.ts":4836,"./store":7100,"./store/":7100,"./store/index":7100,"./store/index.ts":7100,"./svg":5532,"./svg.ts":5532,"./system":9633,"./system.ts":9633,"./terminal":3564,"./terminal.ts":3564,"./text":5707,"./text.ts":5707,"./timer":407,"./timer.ts":407,"./tools":7553,"./tools.ts":7553,"./translators":801,"./translators.ts":801,"./trigger":878,"./trigger.ts":878,"./type":6464,"./type.ts":6464,"./ui":4134,"./ui.ts":4134,"./window":4088,"./window.ts":4088};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=2633},477:()=>{},4787:e=>{"use strict";e.exports=JSON.parse('{"info":{"title":"List","description":"Complete list of tools"},"categories":["3dparty","system","financial","memory","numbers","time","path","file","forms","ui","other"]}')},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"dphelper","version":"1.2.3","displayName":"dphelper","description":"dphelper devtools | tools, store and state management brave developers by Dario Passariello","copyright":"Dario Passariello","license":"MIT","relaseType":"gold","port":3000,"code":"vulcano","codeRelease":"dphelper","folder":"/","appPort":"","main":"./index.tsx","target":"web","logo":"","typeID":0,"theme":"default","deprecated":false,"targets":"web","preferGlobal":true,"language":{"en":{}},"app":{"port":3000,"code":"dphelper","name":"dphelper","type":"beta","folder":"/","appPort":"","main":"index.tsx","target":"web","proxy":{},"api":{"dir":"/api/","local":"//api.biglogic.ca","prod":"//api.biglogic.ca","dev":"//api.biglogic.ca"},"socket":{"test":"https://ws.biglogic.ca","dev":"https://ws.biglogic.ca"},"url":{"dev":"http://localhost"},"info":{"type":"gold","code":"dphelper","codeRelease":"dphelper"},"cdn":{}},"homepage":"https://github.com/passariello/dphelper","author":{"name":"Dario Passariello","url":"https://github.com/passariello/","email":"dariopassariello@gmail.com"},"support":{"name":"Dario Passariello","url":"https://github.com/passariello/","email":"dariopassariello@gmail.com"},"company":{},"contributors":[{"name":"Dario Passariello","email":"dariopassarielloa@gmail.com"},{"name":"Valeria Cala Scaglitta","email":"valeriacalascaglitta@gmail.com"}],"workspaces":["mcp"],"cordova":{"platforms":["android"]},"npmName":"dphelper","npmFileMap":[{"basePath":"./dist/","files":["*.js"]}],"typings":"./types/*","globals":{"dphelper":{},"jQuery":{},"$":{}},"browserslist":{"production":["last 2 Chrome major versions","last 2 Firefox major versions","last 2 Safari major versions","last 2 Edge major versions","last 2 Opera versions","last 2 iOS major versions","last 1 Explorer major version","last 1 ChromeAndroid version","last 1 UCAndroid version","last 1 Samsung version","last 1 OperaMini version","Firefox ESR",">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"engines":{"node":">=18.0.0"},"keywords":["helper","dphelper","utils","tools","uuid","random","window","store","easy","pro","powerful","state","status","dpHelper","dp helper","helper","local","storage","indexeddb","idb","devtool","dario","passariello"],"repository":{"type":"git","url":"git+https://github.com/passariello/dphelper.git","help":"git+https://github.com/passariello/dphelper.git#readme"},"bugs":{"url":"https://github.com/passariello/dphelper/issues"},"funding":[{"type":"patreon","url":"https://www.patreon.com/passariello"}],"typing":["types/*"],"scripts":{"watch":"webpack --watch --progress --color --mode=production --config webpack.ts","make-dist":"webpack --progress --color --mode=production --config webpack.ts","-":"--------------","git":"git push --all -u && git add . && git commit -m \\"update\\" && git pull && git push --all","--":"-------------","tsc":"tsc -b","oxlint":"oxlint --config=./.eslintrc.json --tsconfig=./tsconfig.json","---":"------------","jsdoc":"jsdoc -r -c ./jsdoc.json","jsdoc1":"jsdoc -r -c ./jsdoc.json && jsdoc2md --files index.js > docs/doc.md","pack":"cd dist && npm pack","backup":"cd mcp/batch && backup.bat","update":"cd mcp/javascripts && node npmUpdate"},"devDependencies":{"@babel/cli":"7.24.8","@babel/core":"7.25.2","@babel/plugin-transform-runtime":"7.24.7","@babel/preset-env":"7.25.3","@babel/preset-react":"7.24.7","@babel/preset-typescript":"7.24.7","@babel/runtime":"^7.25.0","@types/node":"22.3.0","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","@types/webpack-env":"1.18.5","babel-loader":"9.1.3","compression-webpack-plugin":"11.1.0","copy-webpack-plugin":"^12.0.2","crypto-js":"4.2.0","css":"3.0.0","css-loader":"^7.1.2","dotenv":"^16.4.5","file-loader":"6.2.0","fs":"0.0.1-security","html-webpack-plugin":"5.6.0","jquery":"3.7.1","jsdoc":"4.0.3","jsdoc-babel":"0.5.0","jsdoc-to-markdown":"8.0.3","jsdom-worker":"0.3.0","jshint":"^2.13.6","less":"4.2.0","less-loader":"^12.2.0","path":"^0.12.7","progress-bar-webpack-plugin":"2.1.0","react":"18.3.1","react-dom":"18.3.1","react-router":"^6.26.0","react-router-dom":"^6.26.0","sass":"^1.77.8","sass-loader":"^16.0.0","style-loader":"^4.0.0","terser-webpack-plugin":"^5.3.10","ts-loader":"^9.5.1","ts-node":"10.9.2","typescript":"5.5.4","webpack":"^5.93.0","webpack-cli":"^5.1.4","webpack-dev-server":"^5.0.4","x2js":"3.4.4"}}')}},r={};function o(e){var t=r[e];if(void 0!==t){if(void 0!==t.error)throw t.error;return t.exports}var i=r[e]={exports:{}};try{var a={id:e,module:i,factory:n[e],require:o};o.i.forEach((function(e){e(a)})),i=a.module,a.factory.call(i.exports,i,i.exports,a.require)}catch(e){throw i.error=e,e}return i.exports}o.m=n,o.c=r,o.i=[],o.hu=e=>e+"."+o.h()+".hot-update.js",o.hmrF=()=>"index."+o.h()+".hot-update.json",o.h=()=>"dcd942a221bc57128b12",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="dphelper:",o.l=(n,r,i,a)=>{if(e[n])e[n].push(r);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==n||p.getAttribute("data-webpack")==t+i){s=p;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+i),s.src=n),e[n]=[r];var d=(t,r)=>{s.onerror=s.onload=null,clearTimeout(h);var o=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(r))),t)return t(r)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e,t,n,r={},i=o.c,a=[],s=[],l="idle",c=0,u=[];function p(e){l=e;for(var t=[],n=0;n<s.length;n++)t[n]=s[n].call(null,e);return Promise.all(t).then((function(){}))}function d(){0==--c&&p("ready").then((function(){if(0===c){var e=u;u=[];for(var t=0;t<e.length;t++)e[t]()}}))}function h(e){if("idle"!==l)throw new Error("check() is only allowed in idle status");return p("check").then(o.hmrM).then((function(n){return n?p("prepare").then((function(){var r=[];return t=[],Promise.all(Object.keys(o.hmrC).reduce((function(e,i){return o.hmrC[i](n.c,n.r,n.m,e,t,r),e}),[])).then((function(){return t=function(){return e?m(e):p("ready").then((function(){return r}))},0===c?t():new Promise((function(e){u.push((function(){e(t())}))}));var t}))})):p(v()?"ready":"idle").then((function(){return null}))}))}function f(e){return"ready"!==l?Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status (state: "+l+")")})):m(e)}function m(e){e=e||{},v();var r=t.map((function(t){return t(e)}));t=void 0;var o=r.map((function(e){return e.error})).filter(Boolean);if(o.length>0)return p("abort").then((function(){throw o[0]}));var i=p("dispose");r.forEach((function(e){e.dispose&&e.dispose()}));var a,s=p("apply"),l=function(e){a||(a=e)},c=[];return r.forEach((function(e){if(e.apply){var t=e.apply(l);if(t)for(var n=0;n<t.length;n++)c.push(t[n])}})),Promise.all([i,s]).then((function(){return a?p("fail").then((function(){throw a})):n?m(e).then((function(e){return c.forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e})):p("idle").then((function(){return c}))}))}function v(){if(n)return t||(t=[]),Object.keys(o.hmrI).forEach((function(e){n.forEach((function(n){o.hmrI[e](n,t)}))})),n=void 0,!0}o.hmrD=r,o.i.push((function(u){var m,v,g,y,b=u.module,x=function(t,n){var r=i[n];if(!r)return t;var o=function(o){if(r.hot.active){if(i[o]){var s=i[o].parents;-1===s.indexOf(n)&&s.push(n)}else a=[n],e=o;-1===r.children.indexOf(o)&&r.children.push(o)}else console.warn("[HMR] unexpected require("+o+") from disposed module "+n),a=[];return t(o)},s=function(e){return{configurable:!0,enumerable:!0,get:function(){return t[e]},set:function(n){t[e]=n}}};for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&"e"!==u&&Object.defineProperty(o,u,s(u));return o.e=function(e,n){return function(e){switch(l){case"ready":p("prepare");case"prepare":return c++,e.then(d,d),e;default:return e}}(t.e(e,n))},o}(u.require,u.id);b.hot=(m=u.id,v=b,y={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:g=e!==m,_requireSelf:function(){a=v.parents.slice(),e=g?void 0:m,o(m)},active:!0,accept:function(e,t,n){if(void 0===e)y._selfAccepted=!0;else if("function"==typeof e)y._selfAccepted=e;else if("object"==typeof e&&null!==e)for(var r=0;r<e.length;r++)y._acceptedDependencies[e[r]]=t||function(){},y._acceptedErrorHandlers[e[r]]=n;else y._acceptedDependencies[e]=t||function(){},y._acceptedErrorHandlers[e]=n},decline:function(e){if(void 0===e)y._selfDeclined=!0;else if("object"==typeof e&&null!==e)for(var t=0;t<e.length;t++)y._declinedDependencies[e[t]]=!0;else y._declinedDependencies[e]=!0},dispose:function(e){y._disposeHandlers.push(e)},addDisposeHandler:function(e){y._disposeHandlers.push(e)},removeDisposeHandler:function(e){var t=y._disposeHandlers.indexOf(e);t>=0&&y._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,l){case"idle":t=[],Object.keys(o.hmrI).forEach((function(e){o.hmrI[e](m,t)})),p("ready");break;case"ready":Object.keys(o.hmrI).forEach((function(e){o.hmrI[e](m,t)}));break;case"prepare":case"check":case"dispose":case"apply":(n=n||[]).push(m)}},check:h,apply:f,status:function(e){if(!e)return l;s.push(e)},addStatusHandler:function(e){s.push(e)},removeStatusHandler:function(e){var t=s.indexOf(e);t>=0&&s.splice(t,1)},data:r[m]},e=void 0,y),b.parents=a,b.children=[],a=[],u.require=x})),o.hmrC={},o.hmrI={}})(),o.p="/",(()=>{var e,t,n,r,i,a=o.hmrS_jsonp=o.hmrS_jsonp||{57:0},s={};function l(t,n){return e=n,new Promise(((e,n)=>{s[t]=e;var r=o.p+o.hu(t),i=new Error;o.l(r,(e=>{if(s[t]){s[t]=void 0;var r=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;i.message="Loading hot update chunk "+t+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n(i)}}))}))}function c(e){function s(e){for(var t=[e],n={},r=t.map((function(e){return{chain:[e],id:e}}));r.length>0;){var i=r.pop(),a=i.id,s=i.chain,c=o.c[a];if(c&&(!c.hot._selfAccepted||c.hot._selfInvalidated)){if(c.hot._selfDeclined)return{type:"self-declined",chain:s,moduleId:a};if(c.hot._main)return{type:"unaccepted",chain:s,moduleId:a};for(var u=0;u<c.parents.length;u++){var p=c.parents[u],d=o.c[p];if(d){if(d.hot._declinedDependencies[a])return{type:"declined",chain:s.concat([p]),moduleId:a,parentId:p};-1===t.indexOf(p)&&(d.hot._acceptedDependencies[a]?(n[p]||(n[p]=[]),l(n[p],[a])):(delete n[p],t.push(p),r.push({chain:s.concat([p]),id:p})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:n}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];-1===e.indexOf(r)&&e.push(r)}}o.f&&delete o.f.jsonpHmr,t=void 0;var c={},u=[],p={},d=function(e){console.warn("[HMR] unexpected require("+e.id+") to disposed module")};for(var h in n)if(o.o(n,h)){var f,m=n[h],v=!1,g=!1,y=!1,b="";switch((f=m?s(h):{type:"disposed",moduleId:h}).chain&&(b="\nUpdate propagation: "+f.chain.join(" -> ")),f.type){case"self-declined":e.onDeclined&&e.onDeclined(f),e.ignoreDeclined||(v=new Error("Aborted because of self decline: "+f.moduleId+b));break;case"declined":e.onDeclined&&e.onDeclined(f),e.ignoreDeclined||(v=new Error("Aborted because of declined dependency: "+f.moduleId+" in "+f.parentId+b));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(f),e.ignoreUnaccepted||(v=new Error("Aborted because "+h+" is not accepted"+b));break;case"accepted":e.onAccepted&&e.onAccepted(f),g=!0;break;case"disposed":e.onDisposed&&e.onDisposed(f),y=!0;break;default:throw new Error("Unexception type "+f.type)}if(v)return{error:v};if(g)for(h in p[h]=m,l(u,f.outdatedModules),f.outdatedDependencies)o.o(f.outdatedDependencies,h)&&(c[h]||(c[h]=[]),l(c[h],f.outdatedDependencies[h]));y&&(l(u,[f.moduleId]),p[h]=d)}n=void 0;for(var x,D=[],w=0;w<u.length;w++){var C=u[w],k=o.c[C];k&&(k.hot._selfAccepted||k.hot._main)&&p[C]!==d&&!k.hot._selfInvalidated&&D.push({module:C,require:k.hot._requireSelf,errorHandler:k.hot._selfAccepted})}return{dispose:function(){var e;r.forEach((function(e){delete a[e]})),r=void 0;for(var t,n=u.slice();n.length>0;){var i=n.pop(),s=o.c[i];if(s){var l={},p=s.hot._disposeHandlers;for(w=0;w<p.length;w++)p[w].call(null,l);for(o.hmrD[i]=l,s.hot.active=!1,delete o.c[i],delete c[i],w=0;w<s.children.length;w++){var d=o.c[s.children[w]];d&&((e=d.parents.indexOf(i))>=0&&d.parents.splice(e,1))}}}for(var h in c)if(o.o(c,h)&&(s=o.c[h]))for(x=c[h],w=0;w<x.length;w++)t=x[w],(e=s.children.indexOf(t))>=0&&s.children.splice(e,1)},apply:function(t){for(var n in p)o.o(p,n)&&(o.m[n]=p[n]);for(var r=0;r<i.length;r++)i[r](o);for(var a in c)if(o.o(c,a)){var s=o.c[a];if(s){x=c[a];for(var l=[],d=[],h=[],f=0;f<x.length;f++){var m=x[f],v=s.hot._acceptedDependencies[m],g=s.hot._acceptedErrorHandlers[m];if(v){if(-1!==l.indexOf(v))continue;l.push(v),d.push(g),h.push(m)}}for(var y=0;y<l.length;y++)try{l[y].call(null,x)}catch(n){if("function"==typeof d[y])try{d[y](n,{moduleId:a,dependencyId:h[y]})}catch(r){e.onErrored&&e.onErrored({type:"accept-error-handler-errored",moduleId:a,dependencyId:h[y],error:r,originalError:n}),e.ignoreErrored||(t(r),t(n))}else e.onErrored&&e.onErrored({type:"accept-errored",moduleId:a,dependencyId:h[y],error:n}),e.ignoreErrored||t(n)}}}for(var b=0;b<D.length;b++){var w=D[b],C=w.module;try{w.require(C)}catch(n){if("function"==typeof w.errorHandler)try{w.errorHandler(n,{moduleId:C,module:o.c[C]})}catch(r){e.onErrored&&e.onErrored({type:"self-accept-error-handler-errored",moduleId:C,error:r,originalError:n}),e.ignoreErrored||(t(r),t(n))}else e.onErrored&&e.onErrored({type:"self-accept-errored",moduleId:C,error:n}),e.ignoreErrored||t(n)}}return u}}}self.webpackHotUpdatedphelper=(t,r,a)=>{for(var l in r)o.o(r,l)&&(n[l]=r[l],e&&e.push(l));a&&i.push(a),s[t]&&(s[t](),s[t]=void 0)},o.hmrI.jsonp=function(e,t){n||(n={},i=[],r=[],t.push(c)),o.o(n,e)||(n[e]=o.m[e])},o.hmrC.jsonp=function(e,s,u,p,d,h){d.push(c),t={},r=s,n=u.reduce((function(e,t){return e[t]=!1,e}),{}),i=[],e.forEach((function(e){o.o(a,e)&&void 0!==a[e]?(p.push(l(e,h)),t[e]=!0):t[e]=!1})),o.f&&(o.f.jsonpHmr=function(e,n){t&&o.o(t,e)&&!t[e]&&(n.push(l(e)),t[e]=!0)})},o.hmrM=()=>{if("undefined"==typeof fetch)throw new Error("No browser support: need fetch API");return fetch(o.p+o.hmrF()).then((e=>{if(404!==e.status){if(!e.ok)throw new Error("Failed to fetch update manifest "+e.statusText);return e.json()}}))}})();o(6608)})();
2
+ (()=>{var e,t,n={6608:(e,t,n)=>{"use strict";(()=>{if(globalThis.dphelper)return;n(7605),n(9427),n(6011),n(1272),n(852),n(1639),n(9987),n(5219),n(6338),n(6238);const e=n(8330);globalThis.$=globalThis.jQuery=n(2770),Object.defineProperty(globalThis,"dphelper",{value:{},writable:!1,configurable:!1});const t=n(4787);if(t.scripts)return;t.scripts=[],t.version=e.version;const r=setInterval((()=>{var e;const t=null===(e=dphelper)||void 0===e||null===(e=e.socket)||void 0===e?void 0:e.list(),n=[];t.map((e=>{n.push(e.url)})),dphelper._list.sockets=n,n&&clearInterval(r)}),1e3);var o;Object.defineProperties(dphelper,{_list:{value:t},version:{value:e.version}}),$.ajaxSetup({async:!0,cache:!0,global:!0}),(o=n(1223)).keys().forEach((e=>cache[e]=o(e))),dphelper.credits(e)})()},4237:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,o=[],i=[],a=[],s=[],l=[],c=[],u=[],p=[],d=[],h=[];!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 f=r^r<<1^r<<2^r<<3^r<<4;f=f>>>8^255&f^99,o[n]=f,i[f]=n;var m=e[n],v=e[m],g=e[v],y=257*e[f]^16843008*f;a[n]=y<<24|y>>>8,s[n]=y<<16|y>>>16,l[n]=y<<8|y>>>24,c[n]=y,y=16843009*g^65537*v^257*m^16843008*n,u[f]=y<<24|y>>>8,p[f]=y<<16|y>>>16,d[f]=y<<8|y>>>24,h[f]=y,n?(n=m^e[e[e[g^m]]],r^=e[e[r]]):n=r=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=t.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=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],a=0;a<r;a++)a<n?i[a]=t[a]:(c=i[a-1],a%n?n>6&&a%n==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=o[(c=c<<8|c>>>24)>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=f[a/n|0]<<24),i[a]=i[a-n]^c);for(var s=this._invKeySchedule=[],l=0;l<r;l++){if(a=r-l,l%4)var c=i[a];else c=i[a-4];s[l]=l<4||a<=4?c:u[o[c>>>24]]^p[o[c>>>16&255]]^d[o[c>>>8&255]]^h[o[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,l,c,o)},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,u,p,d,h,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,a,s){for(var l=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],p=e[t+2]^n[2],d=e[t+3]^n[3],h=4,f=1;f<l;f++){var m=r[c>>>24]^o[u>>>16&255]^i[p>>>8&255]^a[255&d]^n[h++],v=r[u>>>24]^o[p>>>16&255]^i[d>>>8&255]^a[255&c]^n[h++],g=r[p>>>24]^o[d>>>16&255]^i[c>>>8&255]^a[255&u]^n[h++],y=r[d>>>24]^o[c>>>16&255]^i[u>>>8&255]^a[255&p]^n[h++];c=m,u=v,p=g,d=y}m=(s[c>>>24]<<24|s[u>>>16&255]<<16|s[p>>>8&255]<<8|s[255&d])^n[h++],v=(s[u>>>24]<<24|s[p>>>16&255]<<16|s[d>>>8&255]<<8|s[255&c])^n[h++],g=(s[p>>>24]<<24|s[d>>>16&255]<<16|s[c>>>8&255]<<8|s[255&u])^n[h++],y=(s[d>>>24]<<24|s[c>>>16&255]<<16|s[u>>>8&255]<<8|s[255&p])^n[h++],e[t]=m,e[t+1]=v,e[t+2]=g,e[t+3]=y},keySize:8});e.AES=t._createHelper(m)}(),r.AES)},3230:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib.BlockCipher,n=e.algo;const o=16,i=[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 s={pbox:[],sbox:[]};function l(e,t){let n=t>>24&255,r=t>>16&255,o=t>>8&255,i=255&t,a=e.sbox[0][n]+e.sbox[1][r];return a^=e.sbox[2][o],a+=e.sbox[3][i],a}function c(e,t,n){let r,i=t,a=n;for(let t=0;t<o;++t)i^=e.pbox[t],a=l(e,i)^a,r=i,i=a,a=r;return r=i,i=a,a=r,a^=e.pbox[o],i^=e.pbox[o+1],{left:i,right:a}}function u(e,t,n){let r,i=t,a=n;for(let t=o+1;t>1;--t)i^=e.pbox[t],a=l(e,i)^a,r=i,i=a,a=r;return r=i,i=a,a=r,a^=e.pbox[1],i^=e.pbox[0],{left:i,right:a}}function p(e,t,n){for(let t=0;t<4;t++){e.sbox[t]=[];for(let n=0;n<256;n++)e.sbox[t][n]=a[t][n]}let r=0;for(let a=0;a<o+2;a++)e.pbox[a]=i[a]^t[r],r++,r>=n&&(r=0);let s=0,l=0,u=0;for(let t=0;t<o+2;t+=2)u=c(e,s,l),s=u.left,l=u.right,e.pbox[t]=s,e.pbox[t+1]=l;for(let t=0;t<4;t++)for(let n=0;n<256;n+=2)u=c(e,s,l),s=u.left,l=u.right,e.sbox[t][n]=s,e.sbox[t][n+1]=l;return!0}var d=n.Blowfish=t.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4;p(s,t,n)}},encryptBlock:function(e,t){var n=c(s,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},decryptBlock:function(e,t){var n=u(s,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=t._createHelper(d)}(),r.Blowfish)},2383:function(e,t,n){var r;e.exports=(r=n(2059),n(1256),void(r.lib.Cipher||function(e){var t=r,n=t.lib,o=n.Base,i=n.WordArray,a=n.BufferedBlockAlgorithm,s=t.enc,l=(s.Utf8,s.Base64),c=t.algo.EvpKDF,u=n.Cipher=a.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(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:g}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)}}}}()}),p=(n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),d=n.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}}),h=p.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 a=0;a<r;a++)t[n+a]^=o[a]}return t.Encryptor=t.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)}}),t.Decryptor=t.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}}),t}(),f=(t.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,o=r<<24|r<<16|r<<8|r,a=[],s=0;s<r;s+=4)a.push(o);var l=i.create(a,r);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},m=(n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:h,padding:f}),reset:function(){var e;u.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}),n.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),v=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?i.create([1398893684,1701076831]).concat(n).concat(t):t).toString(l)},parse:function(e){var t,n=l.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),m.create({ciphertext:n,salt:t})}},g=n.SerializableCipher=o.extend({cfg:o.extend({format:v}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),a=o.cfg;return m.create({ciphertext:i,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(t.kdf={}).OpenSSL={execute:function(e,t,n,r,o){if(r||(r=i.random(8)),o)a=c.create({keySize:t+n,hasher:o}).compute(e,r);else var a=c.create({keySize:t+n}).compute(e,r);var s=i.create(a.words.slice(t),4*n);return a.sigBytes=4*t,m.create({key:a,iv:s,salt:r})}},b=n.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:y}),encrypt:function(e,t,n,r){var o=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=o.iv;var i=g.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);return r.iv=o.iv,g.decrypt.call(this,e,t,o.key,r)}})}()))},2059:function(e,t,n){var r;e.exports=(r=r||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&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(477)}catch(e){}var o=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}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}}(),a={},s=a.lib={},l=s.Base={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)}},c=s.WordArray=l.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||p).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 a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var s=0;s<o;s+=4)t[r+s>>>2]=n[s>>>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=l.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 c.init(t,e)}}),u=a.enc={},p=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 c.init(n,t/2)}},d=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 c.init(n,t)}},h=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},f=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,s=i/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,u=e.min(4*l,i);if(l){for(var p=0;p<l;p+=a)this._doProcessBlock(o,p);n=o.splice(0,l),r.sigBytes-=u}return new c.init(n,u)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),m=(s.Hasher=f.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},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 m.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math),r)},9872:function(e,t,n){var r;e.exports=(r=n(2059),function(){var e=r,t=e.lib.WordArray;function n(e,n,r){for(var o=[],i=0,a=0;a<n;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return t.create(o,i)}e.enc.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 a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<n;s++)o.push(r.charAt(a>>>6*(3-s)&63));var l=r.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return n(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)},491:function(e,t,n){var r;e.exports=(r=n(2059),function(){var e=r,t=e.lib.WordArray;function n(e,n,r){for(var o=[],i=0,a=0;a<n;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return t.create(o,i)}e.enc.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=[],a=0;a<r;a+=3)for(var s=(n[a>>>2]>>>24-a%4*8&255)<<16|(n[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|n[a+2>>>2]>>>24-(a+2)%4*8&255,l=0;l<4&&a+.75*l<r;l++)i.push(o.charAt(s>>>6*(3-l)&63));var c=o.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,o=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<o.length;a++)i[o.charCodeAt(a)]=a}var s=o.charAt(64);if(s){var l=e.indexOf(s);-1!==l&&(r=l)}return n(e,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),r.enc.Base64url)},4677:function(e,t,n){var r;e.exports=(r=n(2059),function(){var e=r,t=e.lib.WordArray,n=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.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 n=e.length,r=[],o=0;o<n;o++)r[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(r,2*n)}},n.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=2){var a=o(t[i>>>2]>>>16-i%4*8&65535);r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var n=e.length,r=[],i=0;i<n;i++)r[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return t.create(r,2*n)}}}(),r.enc.Utf16)},1256:function(e,t,n){var r,o,i,a,s,l,c,u;e.exports=(u=n(2059),n(8477),n(2079),o=(r=u).lib,i=o.Base,a=o.WordArray,s=r.algo,l=s.MD5,c=s.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:l,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,r=this.cfg,o=r.hasher.create(),i=a.create(),s=i.words,l=r.keySize,c=r.iterations;s.length<l;){n&&o.update(n),n=o.update(e).finalize(t),o.reset();for(var u=1;u<c;u++)n=o.finalize(n),o.reset();i.concat(n)}return i.sigBytes=4*l,i}}),r.EvpKDF=function(e,t,n){return c.create(n).compute(e,t)},u.EvpKDF)},4007:function(e,t,n){var r,o,i,a;e.exports=(a=n(2059),n(2383),o=(r=a).lib.CipherParams,i=r.enc.Hex,r.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return o.create({ciphertext:t})}},a.format.Hex)},2079:function(e,t,n){var r,o,i,a;e.exports=(r=n(2059),i=(o=r).lib.Base,a=o.enc.Utf8,void(o.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=a.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(),i=this._iKey=t.clone(),s=o.words,l=i.words,c=0;c<n;c++)s[c]^=1549556828,l[c]^=909522486;o.sigBytes=i.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);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))},8854:function(e,t,n){var r;e.exports=(r=n(2059),n(5074),n(6870),n(4677),n(9872),n(491),n(4162),n(8477),n(8479),n(3218),n(4630),n(855),n(2091),n(5398),n(2079),n(1133),n(1256),n(2383),n(3555),n(2497),n(5290),n(1159),n(6076),n(4499),n(5803),n(2044),n(4189),n(3498),n(4007),n(4237),n(7186),n(3127),n(6536),n(5330),n(3230),r)},6870:function(e,t,n){var r;e.exports=(r=n(2059),function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init,n=e.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 n=e.byteLength,r=[],o=0;o<n;o++)r[o>>>2]|=e[o]<<24-o%4*8;t.call(this,r,n)}else t.apply(this,arguments)};n.prototype=e}}(),r.lib.WordArray)},4162:function(e,t,n){var r;e.exports=(r=n(2059),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=a.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,a=e[t+0],l=e[t+1],h=e[t+2],f=e[t+3],m=e[t+4],v=e[t+5],g=e[t+6],y=e[t+7],b=e[t+8],x=e[t+9],D=e[t+10],w=e[t+11],C=e[t+12],k=e[t+13],_=e[t+14],S=e[t+15],M=i[0],P=i[1],T=i[2],A=i[3];M=c(M,P,T,A,a,7,s[0]),A=c(A,M,P,T,l,12,s[1]),T=c(T,A,M,P,h,17,s[2]),P=c(P,T,A,M,f,22,s[3]),M=c(M,P,T,A,m,7,s[4]),A=c(A,M,P,T,v,12,s[5]),T=c(T,A,M,P,g,17,s[6]),P=c(P,T,A,M,y,22,s[7]),M=c(M,P,T,A,b,7,s[8]),A=c(A,M,P,T,x,12,s[9]),T=c(T,A,M,P,D,17,s[10]),P=c(P,T,A,M,w,22,s[11]),M=c(M,P,T,A,C,7,s[12]),A=c(A,M,P,T,k,12,s[13]),T=c(T,A,M,P,_,17,s[14]),M=u(M,P=c(P,T,A,M,S,22,s[15]),T,A,l,5,s[16]),A=u(A,M,P,T,g,9,s[17]),T=u(T,A,M,P,w,14,s[18]),P=u(P,T,A,M,a,20,s[19]),M=u(M,P,T,A,v,5,s[20]),A=u(A,M,P,T,D,9,s[21]),T=u(T,A,M,P,S,14,s[22]),P=u(P,T,A,M,m,20,s[23]),M=u(M,P,T,A,x,5,s[24]),A=u(A,M,P,T,_,9,s[25]),T=u(T,A,M,P,f,14,s[26]),P=u(P,T,A,M,b,20,s[27]),M=u(M,P,T,A,k,5,s[28]),A=u(A,M,P,T,h,9,s[29]),T=u(T,A,M,P,y,14,s[30]),M=p(M,P=u(P,T,A,M,C,20,s[31]),T,A,v,4,s[32]),A=p(A,M,P,T,b,11,s[33]),T=p(T,A,M,P,w,16,s[34]),P=p(P,T,A,M,_,23,s[35]),M=p(M,P,T,A,l,4,s[36]),A=p(A,M,P,T,m,11,s[37]),T=p(T,A,M,P,y,16,s[38]),P=p(P,T,A,M,D,23,s[39]),M=p(M,P,T,A,k,4,s[40]),A=p(A,M,P,T,a,11,s[41]),T=p(T,A,M,P,f,16,s[42]),P=p(P,T,A,M,g,23,s[43]),M=p(M,P,T,A,x,4,s[44]),A=p(A,M,P,T,C,11,s[45]),T=p(T,A,M,P,S,16,s[46]),M=d(M,P=p(P,T,A,M,h,23,s[47]),T,A,a,6,s[48]),A=d(A,M,P,T,y,10,s[49]),T=d(T,A,M,P,_,15,s[50]),P=d(P,T,A,M,v,21,s[51]),M=d(M,P,T,A,C,6,s[52]),A=d(A,M,P,T,f,10,s[53]),T=d(T,A,M,P,D,15,s[54]),P=d(P,T,A,M,l,21,s[55]),M=d(M,P,T,A,b,6,s[56]),A=d(A,M,P,T,S,10,s[57]),T=d(T,A,M,P,g,15,s[58]),P=d(P,T,A,M,k,21,s[59]),M=d(M,P,T,A,m,6,s[60]),A=d(A,M,P,T,w,10,s[61]),T=d(T,A,M,P,h,15,s[62]),P=d(P,T,A,M,x,21,s[63]),i[0]=i[0]+M|0,i[1]=i[1]+P|0,i[2]=i[2]+T|0,i[3]=i[3]+A|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),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+o+a;return(s<<i|s>>>32-i)+t}function u(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+o+a;return(s<<i|s>>>32-i)+t}function p(e,t,n,r,o,i,a){var s=e+(t^n^r)+o+a;return(s<<i|s>>>32-i)+t}function d(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+o+a;return(s<<i|s>>>32-i)+t}t.MD5=i._createHelper(l),t.HmacMD5=i._createHmacHelper(l)}(Math),r.MD5)},3555:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.mode.CFB=function(){var e=r.lib.BlockCipherMode.extend();function t(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 a=0;a<n;a++)e[t+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,n){var r=this._cipher,o=r.blockSize;t.call(this,e,n,o,r),this._prevBlock=e.slice(n,n+o)}}),e.Decryptor=e.extend({processBlock:function(e,n){var r=this._cipher,o=r.blockSize,i=e.slice(n,n+o);t.call(this,e,n,o,r),this._prevBlock=i}}),e}(),r.mode.CFB)},5290:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.mode.CTRGladman=function(){var e=r.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function n(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var o=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),n(a);var s=a.slice(0);r.encryptBlock(s,0);for(var l=0;l<o;l++)e[t+l]^=s[l]}});return e.Decryptor=o,e}(),r.mode.CTRGladman)},2497:function(e,t,n){var r,o,i;e.exports=(i=n(2059),n(2383),i.mode.CTR=(r=i.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(e,t){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 a=i.slice(0);n.encryptBlock(a,0),i[r-1]=i[r-1]+1|0;for(var s=0;s<r;s++)e[t+s]^=a[s]}}),r.Decryptor=o,r),i.mode.CTR)},6076:function(e,t,n){var r,o;e.exports=(o=n(2059),n(2383),o.mode.ECB=((r=o.lib.BlockCipherMode.extend()).Encryptor=r.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),r.Decryptor=r.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),r),o.mode.ECB)},1159:function(e,t,n){var r,o,i;e.exports=(i=n(2059),n(2383),i.mode.OFB=(r=i.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(e,t){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 a=0;a<r;a++)e[t+a]^=i[a]}}),r.Decryptor=o,r),i.mode.OFB)},4499:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,o=r-n%r,i=n+o-1;e.clamp(),e.words[i>>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Ansix923)},5803:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.pad.Iso10126={pad:function(e,t){var n=4*t,o=n-e.sigBytes%n;e.concat(r.lib.WordArray.random(o-1)).concat(r.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Iso10126)},2044:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.pad.Iso97971={pad:function(e,t){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,t)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971)},3498:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding)},4189:function(e,t,n){var r;e.exports=(r=n(2059),n(2383),r.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},r.pad.ZeroPadding)},1133:function(e,t,n){var r,o,i,a,s,l,c,u,p;e.exports=(p=n(2059),n(8479),n(2079),o=(r=p).lib,i=o.Base,a=o.WordArray,s=r.algo,l=s.SHA256,c=s.HMAC,u=s.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:l,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=c.create(n.hasher,e),o=a.create(),i=a.create([1]),s=o.words,l=i.words,u=n.keySize,p=n.iterations;s.length<u;){var d=r.update(t).finalize(i);r.reset();for(var h=d.words,f=h.length,m=d,v=1;v<p;v++){m=r.finalize(m),r.reset();for(var g=m.words,y=0;y<f;y++)h[y]^=g[y]}o.concat(d),l[0]++}return o.sigBytes=4*u,o}}),r.PBKDF2=function(e,t,n){return u.create(n).compute(e,t)},p.PBKDF2)},5330:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[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(t){var i=t.words,a=i[0],s=i[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),p=c>>>16|4294901760&u,d=u<<16|65535&c;for(r[0]^=c,r[1]^=p,r[2]^=u,r[3]^=d,r[4]^=c,r[5]^=p,r[6]^=u,r[7]^=d,o=0;o<4;o++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,s=r>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=l^c}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(s)}(),r.RabbitLegacy)},6536:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(t){var i=t.words,a=i[0],s=i[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),p=c>>>16|4294901760&u,d=u<<16|65535&c;for(o[0]^=c,o[1]^=p,o[2]^=u,o[3]^=d,o[4]^=c,o[5]^=p,o[6]^=u,o[7]^=d,n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,s=r>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=l^c}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(s)}(),r.Rabbit)},3127:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,o=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],o=0;o<256;o++)r[o]=o;o=0;for(var i=0;o<256;o++){var a=o%n,s=t[a>>>2]>>>24-a%4*8&255;i=(i+r[o]+s)%256;var l=r[o];r[o]=r[i],r[i]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,n=this._j,r=0,o=0;o<4;o++){n=(n+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[n],e[n]=i,r|=e[(e[t]+e[n])%256]<<24-8*o}return this._i=t,this._j=n,r}e.RC4=t._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(a)}(),r.RC4)},5398:function(e,t,n){var r;e.exports=(r=n(2059),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.algo,s=o.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]),l=o.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=o.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]),u=o.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]),p=o.create([0,1518500249,1859775393,2400959708,2840853838]),d=o.create([1352829926,1548603684,1836072691,2053994217,0]),h=a.RIPEMD160=i.extend({_doReset:function(){this._hash=o.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,a,h,x,D,w,C,k,_,S,M,P=this._hash.words,T=p.words,A=d.words,E=s.words,j=l.words,B=c.words,O=u.words;for(w=i=P[0],C=a=P[1],k=h=P[2],_=x=P[3],S=D=P[4],n=0;n<80;n+=1)M=i+e[t+E[n]]|0,M+=n<16?f(a,h,x)+T[0]:n<32?m(a,h,x)+T[1]:n<48?v(a,h,x)+T[2]:n<64?g(a,h,x)+T[3]:y(a,h,x)+T[4],M=(M=b(M|=0,B[n]))+D|0,i=D,D=x,x=b(h,10),h=a,a=M,M=w+e[t+j[n]]|0,M+=n<16?y(C,k,_)+A[0]:n<32?g(C,k,_)+A[1]:n<48?v(C,k,_)+A[2]:n<64?m(C,k,_)+A[3]:f(C,k,_)+A[4],M=(M=b(M|=0,O[n]))+S|0,w=S,S=_,_=b(k,10),k=C,C=M;M=P[1]+h+_|0,P[1]=P[2]+x+S|0,P[2]=P[3]+D+w|0,P[3]=P[4]+i+C|0,P[4]=P[0]+a+k|0,P[0]=M},_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,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function v(e,t,n){return(e|~t)^n}function g(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<<t|e>>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(Math),r.RIPEMD160)},8477:function(e,t,n){var r,o,i,a,s,l,c,u;e.exports=(u=n(2059),o=(r=u).lib,i=o.WordArray,a=o.Hasher,s=r.algo,l=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new i.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],s=n[4],c=0;c<80;c++){if(c<16)l[c]=0|e[t+c];else{var u=l[c-3]^l[c-8]^l[c-14]^l[c-16];l[c]=u<<1|u>>>31}var p=(r<<5|r>>>27)+s+l[c];p+=c<20?1518500249+(o&i|~o&a):c<40?1859775393+(o^i^a):c<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,s=a,a=i,i=o<<30|o>>>2,o=r,r=p}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]+s|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=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(c),r.HmacSHA1=a._createHmacHelper(c),u.SHA1)},3218:function(e,t,n){var r,o,i,a,s,l;e.exports=(l=n(2059),n(8479),o=(r=l).lib.WordArray,i=r.algo,a=i.SHA256,s=i.SHA224=a.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}}),r.SHA224=a._createHelper(s),r.HmacSHA224=a._createHmacHelper(s),l.SHA224)},8479:function(e,t,n){var r;e.exports=(r=n(2059),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.algo,s=[],l=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)t(r)&&(o<8&&(s[o]=n(e.pow(r,.5))),l[o]=n(e.pow(r,1/3)),o++),r++}();var c=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],u=n[5],p=n[6],d=n[7],h=0;h<64;h++){if(h<16)c[h]=0|e[t+h];else{var f=c[h-15],m=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,v=c[h-2],g=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;c[h]=m+c[h-7]+g+c[h-16]}var y=r&o^r&i^o&i,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),x=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&p)+l[h]+c[h];d=p,p=u,u=s,s=a+x|0,a=i,i=o,o=r,r=x+(b+y)|0}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]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+p|0,n[7]=n[7]+d|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 e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(u),t.HmacSHA256=i._createHmacHelper(u)}(Math),r.SHA256)},2091:function(e,t,n){var r;e.exports=(r=n(2059),n(5074),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.x64.Word,s=t.algo,l=[],c=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var s=0,p=0,d=0;d<7;d++){if(1&o){var h=(1<<d)-1;h<32?p^=1<<h:s^=1<<h-32}128&o?o=o<<1^113:o<<=1}u[i]=a.create(s,p)}}();var p=[];!function(){for(var e=0;e<25;e++)p[e]=a.create()}();var d=s.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],a=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(P=n[o]).high^=a,P.low^=i}for(var s=0;s<24;s++){for(var d=0;d<5;d++){for(var h=0,f=0,m=0;m<5;m++)h^=(P=n[d+5*m]).high,f^=P.low;var v=p[d];v.high=h,v.low=f}for(d=0;d<5;d++){var g=p[(d+4)%5],y=p[(d+1)%5],b=y.high,x=y.low;for(h=g.high^(b<<1|x>>>31),f=g.low^(x<<1|b>>>31),m=0;m<5;m++)(P=n[d+5*m]).high^=h,P.low^=f}for(var D=1;D<25;D++){var w=(P=n[D]).high,C=P.low,k=l[D];k<32?(h=w<<k|C>>>32-k,f=C<<k|w>>>32-k):(h=C<<k-32|w>>>64-k,f=w<<k-32|C>>>64-k);var _=p[c[D]];_.high=h,_.low=f}var S=p[0],M=n[0];for(S.high=M.high,S.low=M.low,d=0;d<5;d++)for(m=0;m<5;m++){var P=n[D=d+5*m],T=p[D],A=p[(d+1)%5+5*m],E=p[(d+2)%5+5*m];P.high=T.high^~A.high&E.high,P.low=T.low^~A.low&E.low}P=n[0];var j=u[s];P.high^=j.high,P.low^=j.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 a=this._state,s=this.cfg.outputLength/8,l=s/8,c=[],u=0;u<l;u++){var p=a[u],d=p.high,h=p.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),c.push(h),c.push(d)}return new o.init(c,s)},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}});t.SHA3=i._createHelper(d),t.HmacSHA3=i._createHmacHelper(d)}(Math),r.SHA3)},855:function(e,t,n){var r,o,i,a,s,l,c,u;e.exports=(u=n(2059),n(5074),n(4630),o=(r=u).x64,i=o.Word,a=o.WordArray,s=r.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=l._doFinalize.call(this);return e.sigBytes-=16,e}}),r.SHA384=l._createHelper(c),r.HmacSHA384=l._createHmacHelper(c),u.SHA384)},4630:function(e,t,n){var r;e.exports=(r=n(2059),n(5074),function(){var e=r,t=e.lib.Hasher,n=e.x64,o=n.Word,i=n.WordArray,a=e.algo;function s(){return o.create.apply(o,arguments)}var l=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=s()}();var u=a.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],u=n[5],p=n[6],d=n[7],h=r.high,f=r.low,m=o.high,v=o.low,g=i.high,y=i.low,b=a.high,x=a.low,D=s.high,w=s.low,C=u.high,k=u.low,_=p.high,S=p.low,M=d.high,P=d.low,T=h,A=f,E=m,j=v,B=g,O=y,N=b,H=x,L=D,I=w,R=C,z=k,F=_,q=S,$=M,W=P,U=0;U<80;U++){var Y,X,G=c[U];if(U<16)X=G.high=0|e[t+2*U],Y=G.low=0|e[t+2*U+1];else{var K=c[U-15],Z=K.high,V=K.low,J=(Z>>>1|V<<31)^(Z>>>8|V<<24)^Z>>>7,Q=(V>>>1|Z<<31)^(V>>>8|Z<<24)^(V>>>7|Z<<25),ee=c[U-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=c[U-7],ae=ie.high,se=ie.low,le=c[U-16],ce=le.high,ue=le.low;X=(X=(X=J+ae+((Y=Q+se)>>>0<Q>>>0?1:0))+re+((Y+=oe)>>>0<oe>>>0?1:0))+ce+((Y+=ue)>>>0<ue>>>0?1:0),G.high=X,G.low=Y}var pe,de=L&R^~L&F,he=I&z^~I&q,fe=T&E^T&B^E&B,me=A&j^A&O^j&O,ve=(T>>>28|A<<4)^(T<<30|A>>>2)^(T<<25|A>>>7),ge=(A>>>28|T<<4)^(A<<30|T>>>2)^(A<<25|T>>>7),ye=(L>>>14|I<<18)^(L>>>18|I<<14)^(L<<23|I>>>9),be=(I>>>14|L<<18)^(I>>>18|L<<14)^(I<<23|L>>>9),xe=l[U],De=xe.high,we=xe.low,Ce=$+ye+((pe=W+be)>>>0<W>>>0?1:0),ke=ge+me;$=F,W=q,F=R,q=z,R=L,z=I,L=N+(Ce=(Ce=(Ce=Ce+de+((pe+=he)>>>0<he>>>0?1:0))+De+((pe+=we)>>>0<we>>>0?1:0))+X+((pe+=Y)>>>0<Y>>>0?1:0))+((I=H+pe|0)>>>0<H>>>0?1:0)|0,N=B,H=O,B=E,O=j,E=T,j=A,T=Ce+(ve+fe+(ke>>>0<ge>>>0?1:0))+((A=pe+ke|0)>>>0<pe>>>0?1:0)|0}f=r.low=f+A,r.high=h+T+(f>>>0<A>>>0?1:0),v=o.low=v+j,o.high=m+E+(v>>>0<j>>>0?1:0),y=i.low=y+O,i.high=g+B+(y>>>0<O>>>0?1:0),x=a.low=x+H,a.high=b+N+(x>>>0<H>>>0?1:0),w=s.low=w+I,s.high=D+L+(w>>>0<I>>>0?1:0),k=u.low=k+z,u.high=C+R+(k>>>0<z>>>0?1:0),S=p.low=S+q,p.high=_+F+(S>>>0<q>>>0?1:0),P=d.low=P+W,d.high=M+$+(P>>>0<W>>>0?1: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[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),r.SHA512)},7186:function(e,t,n){var r;e.exports=(r=n(2059),n(9872),n(4162),n(1256),n(2383),function(){var e=r,t=e.lib,n=t.WordArray,o=t.BlockCipher,i=e.algo,a=[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],s=[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],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{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],p=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=a[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var c=o[i]=[],u=l[i];for(n=0;n<24;n++)c[n/6|0]|=t[(s[n]-1+u)%28]<<31-n%6,c[4+(n/6|0)]|=t[28+(s[n+24]-1+u)%28]<<31-n%6;for(c[0]=c[0]<<1|c[0]>>>31,n=1;n<7;n++)c[n]=c[n]>>>4*(n-1)+3;c[7]=c[7]<<5|c[7]>>>27}var p=this._invSubKeys=[];for(n=0;n<16;n++)p[n]=o[15-n]},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],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,a=this._rBlock,s=0,l=0;l<8;l++)s|=c[l][((a^o[l])&u[l])>>>0];this._lBlock=a,this._rBlock=i^s}var p=this._lBlock;this._lBlock=this._rBlock,this._rBlock=p,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function h(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}e.DES=o._createHelper(p);var f=i.TripleDES=o.extend({_doReset:function(){var e=this._key.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 t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=p.createEncryptor(n.create(t)),this._des2=p.createEncryptor(n.create(r)),this._des3=p.createEncryptor(n.create(o))},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});e.TripleDES=o._createHelper(f)}(),r.TripleDES)},5074:function(e,t,n){var r;e.exports=(r=n(2059),function(e){var t=r,n=t.lib,o=n.Base,i=n.WordArray,a=t.x64={};a.Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=o.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:8*t.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}})}(),r)},2770:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,u=i.indexOf,p={},d=p.toString,h=p.hasOwnProperty,f=h.toString,m=f.call(Object),v={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function D(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in x)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[d.call(e)]||"object":typeof e}var C="3.7.1",k=/HTML$/i,_=function(e,t){return new _.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}_.fn=_.prototype={jquery:C,constructor:_,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=_.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return _.each(this,e)},map:function(e){return this.pushStack(_.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(_.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},_.extend=_.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(_.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||_.isPlainObject(n)?n:{},o=!1,a[t]=_.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},_.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=h.call(t,"constructor")&&t.constructor)&&f.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){D(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,o=e.nodeType;if(!o)for(;t=e[r++];)n+=_.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?_.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!k.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(S(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return l(a)},guid:1,support:v}),"function"==typeof Symbol&&(_.fn[Symbol.iterator]=i[Symbol.iterator]),_.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var P=i.pop,T=i.sort,A=i.splice,E="[\\x20\\t\\r\\n\\f]",j=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g");_.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var B=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function O(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}_.escapeSelector=function(e){return(e+"").replace(B,O)};var N=b,H=c;!function(){var e,t,n,o,a,l,c,p,d,f,m=H,g=_.expando,y=0,b=0,x=ee(),D=ee(),w=ee(),C=ee(),k=function(e,t){return e===t&&(a=!0),0},S="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="(?:\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+E+"*("+B+")(?:"+E+"*([*^$|!~]?=)"+E+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+E+"*\\]",L=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",I=new RegExp(E+"+","g"),R=new RegExp("^"+E+"*,"+E+"*"),z=new RegExp("^"+E+"*([>+~]|"+E+")"+E+"*"),F=new RegExp(E+"|>"),q=new RegExp(L),$=new RegExp("^"+B+"$"),W={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),bool:new RegExp("^(?:"+S+")$","i"),needsContext:new RegExp("^"+E+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\([^\\r\\n\\f])","g"),Z=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},V=function(){le()},J=de((function(e){return!0===e.disabled&&M(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(i=s.call(N.childNodes),N.childNodes),i[N.childNodes.length].nodeType}catch(e){m={apply:function(e,t){H.apply(e,s.call(t))},call:function(e){H.apply(e,s.call(arguments,1))}}}function Q(e,t,n,r){var o,i,a,s,c,u,h,f=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!r&&(le(t),t=t||l,p)){if(11!==y&&(c=X.exec(e)))if(o=c[1]){if(9===y){if(!(a=t.getElementById(o)))return n;if(a.id===o)return m.call(n,a),n}else if(f&&(a=f.getElementById(o))&&Q.contains(t,a)&&a.id===o)return m.call(n,a),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(o)),n}if(!(C[e+" "]||d&&d.test(e))){if(h=e,f=t,1===y&&(F.test(e)||z.test(e))){for((f=G.test(e)&&se(t.parentNode)||t)==t&&v.scope||((s=t.getAttribute("id"))?s=_.escapeSelector(s):t.setAttribute("id",s=g)),i=(u=ue(e)).length;i--;)u[i]=(s?"#"+s:":scope")+" "+pe(u[i]);h=u.join(",")}try{return m.apply(n,f.querySelectorAll(h)),n}catch(t){C(e,!0)}finally{s===g&&t.removeAttribute("id")}}}return ye(e.replace(j,"$1"),t,n,r)}function ee(){var e=[];return function n(r,o){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=o}}function te(e){return e[g]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return M(t,"input")&&t.type===e}}function oe(e){return function(t){return(M(t,"input")||M(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&J(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:N;return r!=l&&9===r.nodeType&&r.documentElement?(c=(l=r).documentElement,p=!_.isXMLDoc(l),f=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&N!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",V),v.getById=ne((function(e){return c.appendChild(e).id=_.expando,!l.getElementsByName||!l.getElementsByName(_.expando).length})),v.disconnectedMatch=ne((function(e){return f.call(e,"*")})),v.scope=ne((function(){return l.querySelectorAll(":scope")})),v.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),v.getById?(t.filter.ID=function(e){var t=e.replace(K,Z);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(K,Z);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},d=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+g+"' href='' disabled='disabled'></a><select id='"+g+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+E+"*(?:value|"+S+")"),e.querySelectorAll("[id~="+g+"-]").length||d.push("~="),e.querySelectorAll("a#"+g+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+E+"*name"+E+"*="+E+"*(?:''|\"\")")})),v.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),k=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!v.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==N&&Q.contains(N,e)?-1:t===l||t.ownerDocument==N&&Q.contains(N,t)?1:o?u.call(o,e)-u.call(o,t):0:4&n?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),p&&!C[t+" "]&&(!d||!d.test(t)))try{var n=f.call(e,t);if(n||v.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){C(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),_.contains(e,t)},Q.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],o=r&&h.call(t.attrHandle,n.toLowerCase())?r(e,n,!p):void 0;return void 0!==o?o:e.getAttribute(n)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},_.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!v.sortStable,o=!v.sortStable&&s.call(e,0),T.call(e,k),a){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)A.call(e,n[r],1)}return o=null,e},_.fn.uniqueSort=function(){return this.pushStack(_.uniqueSort(s.apply(this)))},t=_.expr={cacheLength:50,createPseudo:te,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(K,Z),e[3]=(e[3]||e[4]||e[5]||"").replace(K,Z),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(K,Z).toLowerCase();return"*"===e?function(){return!0}:function(e){return M(e,t)}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+E+")"+e+"("+E+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=Q.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(I," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,p,d,h,f=i!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,x=!1;if(m){if(i){for(;f;){for(p=t;p=p[f];)if(s?M(p,v):1===p.nodeType)return!1;h=f="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&b){for(x=(d=(c=(u=m[g]||(m[g]={}))[e]||[])[0]===y&&c[1])&&c[2],p=d&&m.childNodes[d];p=++d&&p&&p[f]||(x=d=0)||h.pop();)if(1===p.nodeType&&++x&&p===t){u[e]=[y,d,x];break}}else if(b&&(x=d=(c=(u=t[g]||(t[g]={}))[e]||[])[0]===y&&c[1]),!1===x)for(;(p=++d&&p&&p[f]||(x=d=0)||h.pop())&&(!(s?M(p,v):1===p.nodeType)||!++x||(b&&((u=p[g]||(p[g]={}))[e]=[y,x]),p!==t)););return(x-=o)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var r,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return o[g]?o(n):o.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,i=o(e,n),a=i.length;a--;)e[r=u.call(e,i[a])]=!(t[r]=i[a])})):function(e){return o(e,0,r)}):o}},pseudos:{not:te((function(e){var t=[],n=[],r=ge(e.replace(j,"$1"));return r[g]?te((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Q(e,t).length>0}})),contains:te((function(e){return e=e.replace(K,Z),function(t){return(t.textContent||_.text(t)).indexOf(e)>-1}})),lang:te((function(e){return $.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(K,Z).toLowerCase(),function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return M(e,"input")&&!!e.checked||M(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return U.test(e.nodeName)},button:function(e){return M(e,"input")&&"button"===e.type||M(e,"button")},text:function(e){var t;return M(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=oe(e);function ce(){}function ue(e,n){var r,o,i,a,s,l,c,u=D[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in r&&!(o=R.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),r=!1,(o=z.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(j," ")}),s=s.slice(r.length)),t.filter)!(o=W[a].exec(s))||c[a]&&!(o=c[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?Q.error(e):D(e,l).slice(0)}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function de(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=b++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,p=[y,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=t[g]||(t[g]={}),o&&M(t,o))t=t[r]||t;else{if((c=u[i])&&c[0]===y&&c[1]===s)return p[2]=c[2];if(u[i]=p,p[2]=e(t,n,l))return!0}return!1}}function he(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function fe(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function me(e,t,n,r,o,i){return r&&!r[g]&&(r=me(r)),o&&!o[g]&&(o=me(o,i)),te((function(i,a,s,l){var c,p,d,h,f=[],v=[],g=a.length,y=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)Q(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),b=!e||!i&&t?y:fe(y,f,e,s,l);if(n?n(b,h=o||(i?e:g||r)?[]:a,s,l):h=b,r)for(c=fe(h,v),r(c,[],s,l),p=c.length;p--;)(d=c[p])&&(h[v[p]]=!(b[v[p]]=d));if(i){if(o||e){if(o){for(c=[],p=h.length;p--;)(d=h[p])&&c.push(b[p]=d);o(null,h=[],c,l)}for(p=h.length;p--;)(d=h[p])&&(c=o?u.call(i,d):f[p])>-1&&(i[c]=!(a[c]=d))}}else h=fe(h===a?h.splice(g,h.length):h),o?o(null,a,h,l):m.apply(a,h)}))}function ve(e){for(var r,o,i,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,p=de((function(e){return e===r}),l,!0),d=de((function(e){return u.call(r,e)>-1}),l,!0),h=[function(e,t,o){var i=!s&&(o||t!=n)||((r=t).nodeType?p(e,t,o):d(e,t,o));return r=null,i}];c<a;c++)if(o=t.relative[e[c].type])h=[de(he(h),o)];else{if((o=t.filter[e[c].type].apply(null,e[c].matches))[g]){for(i=++c;i<a&&!t.relative[e[i].type];i++);return me(c>1&&he(h),c>1&&pe(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(j,"$1"),o,c<i&&ve(e.slice(c,i)),i<a&&ve(e=e.slice(i)),i<a&&pe(e))}h.push(o)}return he(h)}function ge(e,r){var o,i=[],a=[],s=w[e+" "];if(!s){for(r||(r=ue(e)),o=r.length;o--;)(s=ve(r[o]))[g]?i.push(s):a.push(s);s=w(e,function(e,r){var o=r.length>0,i=e.length>0,a=function(a,s,c,u,d){var h,f,v,g=0,b="0",x=a&&[],D=[],w=n,C=a||i&&t.find.TAG("*",d),k=y+=null==w?1:Math.random()||.1,S=C.length;for(d&&(n=s==l||s||d);b!==S&&null!=(h=C[b]);b++){if(i&&h){for(f=0,s||h.ownerDocument==l||(le(h),c=!p);v=e[f++];)if(v(h,s||l,c)){m.call(u,h);break}d&&(y=k)}o&&((h=!v&&h)&&g--,a&&x.push(h))}if(g+=b,o&&b!==g){for(f=0;v=r[f++];)v(x,D,s,c);if(a){if(g>0)for(;b--;)x[b]||D[b]||(D[b]=P.call(u));D=fe(D)}m.apply(u,D),d&&!a&&D.length>0&&g+r.length>1&&_.uniqueSort(u)}return d&&(y=k,n=w),x};return o?te(a):a}(a,i)),s.selector=e}return s}function ye(e,n,r,o){var i,a,s,l,c,u="function"==typeof e&&e,d=!o&&ue(e=u.selector||e);if(r=r||[],1===d.length){if((a=d[0]=d[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&p&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(K,Z),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(i=W.needsContext.test(e)?0:a.length;i--&&(s=a[i],!t.relative[l=s.type]);)if((c=t.find[l])&&(o=c(s.matches[0].replace(K,Z),G.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(i,1),!(e=o.length&&pe(a)))return m.apply(r,o),r;break}}return(u||ge(e,d))(o,n,!p,r,!n||G.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,v.sortStable=g.split("").sort(k).join("")===g,le(),v.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),_.find=Q,_.expr[":"]=_.expr.pseudos,_.unique=_.uniqueSort,Q.compile=ge,Q.select=ye,Q.setDocument=le,Q.tokenize=ue,Q.escape=_.escapeSelector,Q.getText=_.text,Q.isXML=_.isXMLDoc,Q.selectors=_.expr,Q.support=_.support,Q.uniqueSort=_.uniqueSort}();var L=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&_(e).is(n))break;r.push(e)}return r},I=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},R=_.expr.match.needsContext,z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,n){return g(t)?_.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?_.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?_.grep(e,(function(e){return u.call(t,e)>-1!==n})):_.filter(t,e,n)}_.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?_.find.matchesSelector(r,e)?[r]:[]:_.find.matches(e,_.grep(t,(function(e){return 1===e.nodeType})))},_.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(_(e).filter((function(){for(t=0;t<r;t++)if(_.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)_.find(e,o[t],n);return r>1?_.uniqueSort(n):n},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&R.test(e)?_(e):e||[],!1).length}});var q,$=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:$.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof _?t[0]:t,_.merge(this,_.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),z.test(r[1])&&_.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(_):_.makeArray(e,this)}).prototype=_.fn,q=_(b);var W=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function Y(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}_.fn.extend({has:function(e){var t=_(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(_.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&_(e);if(!R.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&_.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?_.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(_(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,n){return L(e,"parentNode",n)},next:function(e){return Y(e,"nextSibling")},prev:function(e){return Y(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,n){return L(e,"nextSibling",n)},prevUntil:function(e,t,n){return L(e,"previousSibling",n)},siblings:function(e){return I((e.parentNode||{}).firstChild,e)},children:function(e){return I(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(M(e,"template")&&(e=e.content||e),_.merge([],e.childNodes))}},(function(e,t){_.fn[e]=function(n,r){var o=_.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=_.filter(r,o)),this.length>1&&(U[e]||_.uniqueSort(o),W.test(e)&&o.reverse()),this.pushStack(o)}}));var X=/[^\x20\t\r\n\f]+/g;function G(e){return e}function K(e){throw e}function Z(e,t,n,r){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(n):e&&g(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}_.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return _.each(e.match(X)||[],(function(e,n){t[n]=!0})),t}(e):_.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){_.each(n,(function(n,r){g(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return _.each(arguments,(function(e,t){for(var n;(n=_.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?_.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},_.extend({Deferred:function(e){var t=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return _.Deferred((function(n){_.each(t,(function(t,r){var o=g(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<i)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(c)?o?c.call(r,a(i,t,G,o),a(i,t,K,o)):(i++,c.call(r,a(i,t,G,o),a(i,t,K,o),a(i,t,G,t.notifyWith))):(n!==G&&(s=void 0,l=[r]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(r){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(r,u.error),e+1>=i&&(n!==K&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(_.Deferred.getErrorHook?u.error=_.Deferred.getErrorHook():_.Deferred.getStackHook&&(u.error=_.Deferred.getStackHook()),r.setTimeout(u))}}return _.Deferred((function(r){t[0][3].add(a(0,r,g(o)?o:G,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:G)),t[2][3].add(a(0,r,g(n)?n:K))})).promise()},promise:function(e){return null!=e?_.extend(e,o):o}},i={};return _.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=_.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(Z(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||g(o[n]&&o[n].then)))return i.then();for(;n--;)Z(o[n],a(n),i.reject);return i.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&V.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_.readyException=function(e){r.setTimeout((function(){throw e}))};var J=_.Deferred();function Q(){b.removeEventListener("DOMContentLoaded",Q),r.removeEventListener("load",Q),_.ready()}_.fn.ready=function(e){return J.then(e).catch((function(e){_.readyException(e)})),this},_.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--_.readyWait:_.isReady)||(_.isReady=!0,!0!==e&&--_.readyWait>0||J.resolveWith(b,[_]))}}),_.ready.then=J.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(_.ready):(b.addEventListener("DOMContentLoaded",Q),r.addEventListener("load",Q));var ee=function(e,t,n,r,o,i,a){var s=0,l=e.length,c=null==n;if("object"===w(n))for(s in o=!0,n)ee(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,g(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(_(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):i},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function oe(e){return e.replace(te,"ms-").replace(ne,re)}var ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=_.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ie(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[oe(t)]=n;else for(r in t)o[oe(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][oe(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(oe):(t=oe(t))in r?[t]:t.match(X)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||_.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!_.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function pe(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}_.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return se.access(e,t,n)},_removeData:function(e,t){se.remove(e,t)}}),_.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=le.get(i),1===i.nodeType&&!se.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=oe(r.slice(5)),pe(i,r,o[r]));se.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=le.get(i,e))||void 0!==(n=pe(i,e))?n:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),_.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,_.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=_.queue(e,t),r=n.length,o=n.shift(),i=_._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){_.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:_.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),_.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?_.queue(this[0],e):void 0===t?this:this.each((function(){var n=_.queue(this,e,t);_._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&_.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){_.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=_.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=se.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var de=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=new RegExp("^(?:([+-])=|)("+de+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],me=b.documentElement,ve=function(e){return _.contains(e.ownerDocument,e)},ge={composed:!0};me.getRootNode&&(ve=function(e){return _.contains(e.ownerDocument,e)||e.getRootNode(ge)===e.ownerDocument});var ye=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ve(e)&&"none"===_.css(e,"display")};function be(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return _.css(e,t,"")},l=s(),c=n&&n[3]||(_.cssNumber[t]?"":"px"),u=e.nodeType&&(_.cssNumber[t]||"px"!==c&&+l)&&he.exec(_.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)_.style(e,t,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,_.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=o)),o}var xe={};function De(e){var t,n=e.ownerDocument,r=e.nodeName,o=xe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=_.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),xe[r]=o,o)}function we(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=se.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ye(r)&&(o[i]=De(r))):"none"!==n&&(o[i]="none",se.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}_.fn.extend({show:function(){return we(this,!0)},hide:function(){return we(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ye(this)?_(this).show():_(this).hide()}))}});var Ce,ke,_e=/^(?:checkbox|radio)$/i,Se=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Me=/^$|^module$|\/(?:java|ecma)script/i;Ce=b.createDocumentFragment().appendChild(b.createElement("div")),(ke=b.createElement("input")).setAttribute("type","radio"),ke.setAttribute("checked","checked"),ke.setAttribute("name","t"),Ce.appendChild(ke),v.checkClone=Ce.cloneNode(!0).cloneNode(!0).lastChild.checked,Ce.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!Ce.cloneNode(!0).lastChild.defaultValue,Ce.innerHTML="<option></option>",v.option=!!Ce.lastChild;var Pe={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Te(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t)?_.merge([e],n):n}function Ae(e,t){for(var n=0,r=e.length;n<r;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Pe.tbody=Pe.tfoot=Pe.colgroup=Pe.caption=Pe.thead,Pe.th=Pe.td,v.option||(Pe.optgroup=Pe.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function je(e,t,n,r,o){for(var i,a,s,l,c,u,p=t.createDocumentFragment(),d=[],h=0,f=e.length;h<f;h++)if((i=e[h])||0===i)if("object"===w(i))_.merge(d,i.nodeType?[i]:i);else if(Ee.test(i)){for(a=a||p.appendChild(t.createElement("div")),s=(Se.exec(i)||["",""])[1].toLowerCase(),l=Pe[s]||Pe._default,a.innerHTML=l[1]+_.htmlPrefilter(i)+l[2],u=l[0];u--;)a=a.lastChild;_.merge(d,a.childNodes),(a=p.firstChild).textContent=""}else d.push(t.createTextNode(i));for(p.textContent="",h=0;i=d[h++];)if(r&&_.inArray(i,r)>-1)o&&o.push(i);else if(c=ve(i),a=Te(p.appendChild(i),"script"),c&&Ae(a),n)for(u=0;i=a[u++];)Me.test(i.type||"")&&n.push(i);return p}var Be=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Ne(){return!1}function He(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)He(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ne;else if(!o)return e;return 1===i&&(a=o,o=function(e){return _().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=_.guid++)),e.each((function(){_.event.add(this,t,o,r,n)}))}function Le(e,t,n){n?(se.set(e,t,!1),_.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(_.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,_.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===se.get(e,t)&&_.event.add(e,t,Oe)}_.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,c,u,p,d,h,f,m,v=se.get(e);if(ie(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&_.find.matchesSelector(me,o),n.guid||(n.guid=_.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==_&&_.event.triggered!==t.type?_.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(X)||[""]).length;c--;)h=m=(s=Be.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),h&&(p=_.event.special[h]||{},h=(o?p.delegateType:p.bindType)||h,p=_.event.special[h]||{},u=_.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&_.expr.match.needsContext.test(o),namespace:f.join(".")},i),(d=l[h])||((d=l[h]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,f,a)||e.addEventListener&&e.addEventListener(h,a)),p.add&&(p.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),_.event.global[h]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,c,u,p,d,h,f,m,v=se.hasData(e)&&se.get(e);if(v&&(l=v.events)){for(c=(t=(t||"").match(X)||[""]).length;c--;)if(h=m=(s=Be.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),h){for(p=_.event.special[h]||{},d=l[h=(r?p.delegateType:p.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)u=d[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(i,1),u.selector&&d.delegateCount--,p.remove&&p.remove.call(e,u));a&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,f,v.handle)||_.removeEvent(e,h,v.handle),delete l[h])}else for(h in l)_.event.remove(e,h+t[c],n,r,!0);_.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=_.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=_.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=_.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((_.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?_(o,this).index(c)>-1:_.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(_.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[_.expando]?e:new _.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return _e.test(t.type)&&t.click&&M(t,"input")&&Le(t,"click",!0),!1},trigger:function(e){var t=this||e;return _e.test(t.type)&&t.click&&M(t,"input")&&Le(t,"click"),!0},_default:function(e){var t=e.target;return _e.test(t.type)&&t.click&&M(t,"input")&&se.get(t,"click")||M(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},_.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},_.Event=function(e,t){if(!(this instanceof _.Event))return new _.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Ne,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&_.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:Ne,isPropagationStopped:Ne,isImmediatePropagationStopped:Ne,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=se.get(this,"handle"),r=_.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else _.event.simulate(t,e.target,_.event.fix(e))}_.event.special[e]={setup:function(){var r;if(Le(this,e,!0),!b.documentMode)return!1;(r=se.get(this,t))||this.addEventListener(t,n),se.set(this,t,(r||0)+1)},trigger:function(){return Le(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,n),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},_.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=b.documentMode?this:r,i=se.get(o,t);i||(b.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),se.set(o,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=b.documentMode?this:r,i=se.get(o,t)-1;i?se.set(o,t,i):(b.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),se.remove(o,t))}}})),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){_.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||_.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),_.fn.extend({on:function(e,t,n,r){return He(this,e,t,n,r)},one:function(e,t,n,r){return He(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,_(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ne),this.each((function(){_.event.remove(this,e,n,t)}))}});var Ie=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,ze=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Fe(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&_(e).children("tbody")[0]||e}function qe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function $e(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(o in se.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)_.event.add(t,o,s[o][n]);le.hasData(e)&&(i=le.access(e),a=_.extend({},i),le.set(t,a))}}function Ue(e,t){var n=t.nodeName.toLowerCase();"input"===n&&_e.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ye(e,t,n,r){t=l(t);var o,i,a,s,c,u,p=0,d=e.length,h=d-1,f=t[0],m=g(f);if(m||d>1&&"string"==typeof f&&!v.checkClone&&Re.test(f))return e.each((function(o){var i=e.eq(o);m&&(t[0]=f.call(this,o,i.html())),Ye(i,t,n,r)}));if(d&&(i=(o=je(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=_.map(Te(o,"script"),qe)).length;p<d;p++)c=o,p!==h&&(c=_.clone(c,!0,!0),s&&_.merge(a,Te(c,"script"))),n.call(e[p],c,p);if(s)for(u=a[a.length-1].ownerDocument,_.map(a,$e),p=0;p<s;p++)c=a[p],Me.test(c.type||"")&&!se.access(c,"globalEval")&&_.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?_._evalUrl&&!c.noModule&&_._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):D(c.textContent.replace(ze,""),c,u))}return e}function Xe(e,t,n){for(var r,o=t?_.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||_.cleanData(Te(r)),r.parentNode&&(n&&ve(r)&&Ae(Te(r,"script")),r.parentNode.removeChild(r));return e}_.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=ve(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_.isXMLDoc(e)))for(a=Te(s),r=0,o=(i=Te(e)).length;r<o;r++)Ue(i[r],a[r]);if(t)if(n)for(i=i||Te(e),a=a||Te(s),r=0,o=i.length;r<o;r++)We(i[r],a[r]);else We(e,s);return(a=Te(s,"script")).length>0&&Ae(a,!l&&Te(e,"script")),s},cleanData:function(e){for(var t,n,r,o=_.event.special,i=0;void 0!==(n=e[i]);i++)if(ie(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)o[r]?_.event.remove(n,r):_.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),_.fn.extend({detach:function(e){return Xe(this,e,!0)},remove:function(e){return Xe(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?_.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ye(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)}))},prepend:function(){return Ye(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ye(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ye(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(_.cleanData(Te(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return _.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ie.test(e)&&!Pe[(Se.exec(e)||["",""])[1].toLowerCase()]){e=_.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(_.cleanData(Te(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ye(this,arguments,(function(t){var n=this.parentNode;_.inArray(this,e)<0&&(_.cleanData(Te(this)),n&&n.replaceChild(t,this))}),e)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){_.fn[e]=function(e){for(var n,r=[],o=_(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),_(o[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Ge=new RegExp("^("+de+")(?!px)[a-z%]+$","i"),Ke=/^--/,Ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Ve=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Je=new RegExp(fe.join("|"),"i");function Qe(e,t,n){var r,o,i,a,s=Ke.test(t),l=e.style;return(n=n||Ze(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(j,"$1")||void 0),""!==a||ve(e)||(a=_.style(e,t)),!v.pixelBoxStyles()&&Ge.test(a)&&Je.test(t)&&(r=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=o,l.maxWidth=i)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),me.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,_.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,rt={};function ot(e){var t=_.cssProps[e]||rt[e];return t||(e in nt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var it=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var r=he.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=_.css(e,n+fe[a],!0,o)),r?("content"===n&&(l-=_.css(e,"padding"+fe[a],!0,o)),"margin"!==n&&(l-=_.css(e,"border"+fe[a]+"Width",!0,o))):(l+=_.css(e,"padding"+fe[a],!0,o),"padding"!==n?l+=_.css(e,"border"+fe[a]+"Width",!0,o):s+=_.css(e,"border"+fe[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l+c}function ut(e,t,n){var r=Ze(e),o=(!v.boxSizingReliable()||n)&&"border-box"===_.css(e,"boxSizing",!1,r),i=o,a=Qe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ge.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&M(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===_.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===_.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(o?"border":"content"),i,r,a)+"px"}function pt(e,t,n,r,o){return new pt.prototype.init(e,t,n,r,o)}_.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=oe(t),l=Ke.test(t),c=e.style;if(l||(t=ot(s)),a=_.cssHooks[t]||_.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];"string"===(i=typeof n)&&(o=he.exec(n))&&o[1]&&(n=be(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(_.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,a,s=oe(t);return Ke.test(t)||(t=ot(s)),(a=_.cssHooks[t]||_.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Qe(e,t,r)),"normal"===o&&t in st&&(o=st[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),_.each(["height","width"],(function(e,t){_.cssHooks[t]={get:function(e,n,r){if(n)return!it.test(_.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Ve(e,at,(function(){return ut(e,t,r)}))},set:function(e,n,r){var o,i=Ze(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===_.css(e,"boxSizing",!1,i),l=r?ct(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ct(e,t,"border",!1,i)-.5)),l&&(o=he.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=_.css(e,t)),lt(0,n,l)}}})),_.cssHooks.marginLeft=et(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),_.each({margin:"",padding:"",border:"Width"},(function(e,t){_.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+fe[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(_.cssHooks[e+t].set=lt)})),_.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ze(e),o=t.length;a<o;a++)i[t[a]]=_.css(e,t[a],!1,r);return i}return void 0!==n?_.style(e,t,n):_.css(e,t)}),e,t,arguments.length>1)}}),_.Tween=pt,pt.prototype={constructor:pt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||_.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(_.cssNumber[n]?"":"px")},cur:function(){var e=pt.propHooks[this.prop];return e&&e.get?e.get(this):pt.propHooks._default.get(this)},run:function(e){var t,n=pt.propHooks[this.prop];return this.options.duration?this.pos=t=_.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):pt.propHooks._default.set(this),this}},pt.prototype.init.prototype=pt.prototype,pt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=_.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){_.fx.step[e.prop]?_.fx.step[e.prop](e):1!==e.elem.nodeType||!_.cssHooks[e.prop]&&null==e.elem.style[ot(e.prop)]?e.elem[e.prop]=e.now:_.style(e.elem,e.prop,e.now+e.unit)}}},pt.propHooks.scrollTop=pt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_.fx=pt.prototype.init,_.fx.step={};var dt,ht,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function vt(){ht&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(vt):r.setTimeout(vt,_.fx.interval),_.fx.tick())}function gt(){return r.setTimeout((function(){dt=void 0})),dt=Date.now()}function yt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=fe[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function bt(e,t,n){for(var r,o=(xt.tweeners[t]||[]).concat(xt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function xt(e,t,n){var r,o,i=0,a=xt.prefilters.length,s=_.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=dt||gt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:_.extend({},t),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},n),originalProperties:t,originalOptions:n,startTime:dt||gt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=_.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=oe(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=_.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,c.opts.specialEasing);i<a;i++)if(r=xt.prefilters[i].call(c,e,u,c.opts))return g(r.stop)&&(_._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return _.map(u,bt,c),g(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),_.fx.timer(_.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}_.Animation=_.extend(xt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,he.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(X);for(var n,r=0,o=e.length;r<o;r++)n=e[r],xt.tweeners[n]=xt.tweeners[n]||[],xt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,c,u,p="width"in t||"height"in t,d=this,h={},f=e.style,m=e.nodeType&&ye(e),v=se.get(e,"fxshow");for(r in n.queue||(null==(a=_._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,_.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],ft.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;m=!0}h[r]=v&&v[r]||_.style(e,r)}if((l=!_.isEmptyObject(t))||!_.isEmptyObject(h))for(r in p&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=v&&v.display)&&(c=se.get(e,"display")),"none"===(u=_.css(e,"display"))&&(c?u=c:(we([e],!0),c=e.style.display||c,u=_.css(e,"display"),we([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===_.css(e,"float")&&(l||(d.done((function(){f.display=c})),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),l=!1,h)l||(v?"hidden"in v&&(m=v.hidden):v=se.access(e,"fxshow",{display:c}),i&&(v.hidden=!m),m&&we([e],!0),d.done((function(){for(r in m||we([e]),se.remove(e,"fxshow"),h)_.style(e,r,h[r])}))),l=bt(m?v[r]:0,r,d),r in v||(v[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?xt.prefilters.unshift(e):xt.prefilters.push(e)}}),_.speed=function(e,t,n){var r=e&&"object"==typeof e?_.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return _.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in _.fx.speeds?r.duration=_.fx.speeds[r.duration]:r.duration=_.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&_.dequeue(this,r.queue)},r},_.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=_.isEmptyObject(e),i=_.speed(t,n,r),a=function(){var t=xt(this,_.extend({},e),i);(o||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=_.timers,a=se.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&mt.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||_.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=se.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=_.timers,a=r?r.length:0;for(n.finish=!0,_.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),_.each(["toggle","show","hide"],(function(e,t){var n=_.fn[t];_.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(yt(t,!0),e,r,o)}})),_.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){_.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),_.timers=[],_.fx.tick=function(){var e,t=0,n=_.timers;for(dt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||_.fx.stop(),dt=void 0},_.fx.timer=function(e){_.timers.push(e),_.fx.start()},_.fx.interval=13,_.fx.start=function(){ht||(ht=!0,vt())},_.fx.stop=function(){ht=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(e,t){return e=_.fx&&_.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var Dt,wt=_.expr.attrHandle;_.fn.extend({attr:function(e,t){return ee(this,_.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){_.removeAttr(this,e)}))}}),_.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?_.prop(e,t,n):(1===i&&_.isXMLDoc(e)||(o=_.attrHooks[t.toLowerCase()]||(_.expr.match.bool.test(t)?Dt:void 0)),void 0!==n?null===n?void _.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=_.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&M(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(X);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),Dt={set:function(e,t,n){return!1===t?_.removeAttr(e,n):e.setAttribute(n,n),n}},_.each(_.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=wt[t]||_.find.attr;wt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=wt[a],wt[a]=o,o=null!=n(e,t,r)?a:null,wt[a]=i),o}}));var Ct=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;function _t(e){return(e.match(X)||[]).join(" ")}function St(e){return e.getAttribute&&e.getAttribute("class")||""}function Mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(X)||[]}_.fn.extend({prop:function(e,t){return ee(this,_.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[_.propFix[e]||e]}))}}),_.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&_.isXMLDoc(e)||(t=_.propFix[t]||t,o=_.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=_.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(_.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){_.propFix[this.toLowerCase()]=this})),_.fn.extend({addClass:function(e){var t,n,r,o,i,a;return g(e)?this.each((function(t){_(this).addClass(e.call(this,t,St(this)))})):(t=Mt(e)).length?this.each((function(){if(r=St(this),n=1===this.nodeType&&" "+_t(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=_t(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return g(e)?this.each((function(t){_(this).removeClass(e.call(this,t,St(this)))})):arguments.length?(t=Mt(e)).length?this.each((function(){if(r=St(this),n=1===this.nodeType&&" "+_t(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=_t(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return g(e)?this.each((function(n){_(this).toggleClass(e.call(this,n,St(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Mt(e),this.each((function(){if(s)for(i=_(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==a||((r=St(this))&&se.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+_t(St(n))+" ").indexOf(t)>-1)return!0;return!1}});var Pt=/\r/g;_.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=g(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,_(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=_.map(o,(function(e){return null==e?"":e+""}))),(t=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=_.valHooks[o.type]||_.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Pt,""):null==n?"":n:void 0}}),_.extend({valHooks:{option:{get:function(e){var t=_.find.attr(e,"value");return null!=t?t:_t(_.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!M(n.parentNode,"optgroup"))){if(t=_(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=_.makeArray(t),a=o.length;a--;)((r=o[a]).selected=_.inArray(_.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),_.each(["radio","checkbox"],(function(){_.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=_.inArray(_(e).val(),t)>-1}},v.checkOn||(_.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Tt=r.location,At={guid:Date.now()},Et=/\?/;_.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||_.error("Invalid XML: "+(n?_.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var jt=/^(?:focusinfocus|focusoutblur)$/,Bt=function(e){e.stopPropagation()};_.extend(_.event,{trigger:function(e,t,n,o){var i,a,s,l,c,u,p,d,f=[n||b],m=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!jt.test(m+_.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[_.expando]?e:new _.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:_.makeArray(t,[e]),p=_.event.special[m]||{},o||!p.trigger||!1!==p.trigger.apply(n,t))){if(!o&&!p.noBubble&&!y(n)){for(l=p.delegateType||m,jt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(n.ownerDocument||b)&&f.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=f[i++])&&!e.isPropagationStopped();)d=a,e.type=i>1?l:p.bindType||m,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&ie(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(f.pop(),t)||!ie(n)||c&&g(n[m])&&!y(n)&&((s=n[c])&&(n[c]=null),_.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Bt),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,Bt),_.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=_.extend(new _.Event,n,{type:e,isSimulated:!0});_.event.trigger(r,null,t)}}),_.fn.extend({trigger:function(e,t){return this.each((function(){_.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return _.event.trigger(e,t,n,!0)}});var Ot=/\[\]$/,Nt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function It(e,t,n,r){var o;if(Array.isArray(t))_.each(t,(function(t,o){n||Ot.test(e)?r(e,o):It(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==w(t))r(e,t);else for(o in t)It(e+"["+o+"]",t[o],n,r)}_.param=function(e,t){var n,r=[],o=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!_.isPlainObject(e))_.each(e,(function(){o(this.name,this.value)}));else for(n in e)It(n,e[n],t,o);return r.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=_.prop(this,"elements");return e?_.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!_(this).is(":disabled")&&Lt.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!_e.test(e))})).map((function(e,t){var n=_(this).val();return null==n?null:Array.isArray(n)?_.map(n,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:n.replace(Nt,"\r\n")}})).get()}});var Rt=/%20/g,zt=/#.*$/,Ft=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,$t=/^(?:GET|HEAD)$/,Wt=/^\/\//,Ut={},Yt={},Xt="*/".concat("*"),Gt=b.createElement("a");function Kt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(X)||[];if(g(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Zt(e,t,n,r){var o={},i=e===Yt;function a(s){var l;return o[s]=!0,_.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||o[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Vt(e,t){var n,r,o=_.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&_.extend(!0,e,r),e}Gt.href=Tt.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,_.ajaxSettings),t):Vt(_.ajaxSettings,e)},ajaxPrefilter:Kt(Ut),ajaxTransport:Kt(Yt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,l,c,u,p,d,h=_.ajaxSetup({},t),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?_(f):_.event,v=_.Deferred(),g=_.Callbacks("once memory"),y=h.statusCode||{},x={},D={},w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=qt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=D[e.toLowerCase()]=D[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),k(0,t),this}};if(v.promise(C),h.url=((e||h.url||Tt.href)+"").replace(Wt,Tt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(X)||[""],null==h.crossDomain){l=b.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Gt.protocol+"//"+Gt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=_.param(h.data,h.traditional)),Zt(Ut,h,t,C),c)return C;for(p in(u=_.event&&h.global)&&0==_.active++&&_.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!$t.test(h.type),o=h.url.replace(zt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Rt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Et.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ft,"$1"),d=(Et.test(o)?"&":"?")+"_="+At.guid+++d),h.url=o+d),h.ifModified&&(_.lastModified[o]&&C.setRequestHeader("If-Modified-Since",_.lastModified[o]),_.etag[o]&&C.setRequestHeader("If-None-Match",_.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Xt+"; q=0.01":""):h.accepts["*"]),h.headers)C.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(f,C,h)||c))return C.abort();if(w="abort",g.add(h.complete),C.done(h.success),C.fail(h.error),n=Zt(Yt,h,t,C)){if(C.readyState=1,u&&m.trigger("ajaxSend",[C,h]),c)return C;h.async&&h.timeout>0&&(s=r.setTimeout((function(){C.abort("timeout")}),h.timeout));try{c=!1,n.send(x,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,l){var p,d,b,x,D,w=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",C.readyState=e>0?4:0,p=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(h,C,a)),!p&&_.inArray("script",h.dataTypes)>-1&&_.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=c[l+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(h,x,C,p),p?(h.ifModified&&((D=C.getResponseHeader("Last-Modified"))&&(_.lastModified[o]=D),(D=C.getResponseHeader("etag"))&&(_.etag[o]=D)),204===e||"HEAD"===h.type?w="nocontent":304===e?w="notmodified":(w=x.state,d=x.data,p=!(b=x.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),C.status=e,C.statusText=(t||w)+"",p?v.resolveWith(f,[d,w,C]):v.rejectWith(f,[C,w,b]),C.statusCode(y),y=void 0,u&&m.trigger(p?"ajaxSuccess":"ajaxError",[C,h,p?d:b]),g.fireWith(f,[C,w]),u&&(m.trigger("ajaxComplete",[C,h]),--_.active||_.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return _.get(e,t,n,"json")},getScript:function(e,t){return _.get(e,void 0,t,"script")}}),_.each(["get","post"],(function(e,t){_[t]=function(e,n,r,o){return g(n)&&(o=o||r,r=n,n=void 0),_.ajax(_.extend({url:e,type:t,dataType:o,data:n,success:r},_.isPlainObject(e)&&e))}})),_.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),_._evalUrl=function(e,t,n){return _.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){_.globalEval(e,t,n)}})},_.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=_(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){_(this).wrapInner(e.call(this,t))})):this.each((function(){var t=_(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){_(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){_(this).replaceWith(this.childNodes)})),this}}),_.expr.pseudos.hidden=function(e){return!_.expr.pseudos.visible(e)},_.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},Qt=_.ajaxSettings.xhr();v.cors=!!Qt&&"withCredentials"in Qt,v.ajax=Qt=!!Qt,_.ajaxTransport((function(e){var t,n;if(v.cors||Qt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Jt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),_.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return _.globalEval(e),e}}}),_.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),_.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=_("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||_.expando+"_"+At.guid++;return this[e]=!0,e}}),_.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(nn,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||_.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?_(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,tn.push(o)),a&&g(i)&&i(a[0]),a=i=void 0})),"script"})),v.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),_.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=z.exec(e))?[t.createElement(o[1])]:(o=je([e],t,i),i&&i.length&&_(i).remove(),_.merge([],o.childNodes)));var r,o,i},_.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=_t(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&_.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?_("<div>").append(_.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},_.expr.pseudos.animated=function(e){return _.grep(_.timers,(function(t){return e===t.elem})).length},_.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,c=_.css(e,"position"),u=_(e),p={};"static"===c&&(e.style.position="relative"),s=u.offset(),i=_.css(e,"top"),l=_.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),g(t)&&(t=t.call(e,n,_.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):u.css(p)}},_.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){_.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===_.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===_.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=_(e).offset()).top+=_.css(e,"borderTopWidth",!0),o.left+=_.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-_.css(r,"marginTop",!0),left:t.left-o.left-_.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===_.css(e,"position");)e=e.offsetParent;return e||me}))}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;_.fn[e]=function(r){return ee(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),_.each(["top","left"],(function(e,t){_.cssHooks[t]=et(v.pixelPosition,(function(e,n){if(n)return n=Qe(e,t),Ge.test(n)?_(e).position()[t]+"px":n}))})),_.each({Height:"height",Width:"width"},(function(e,t){_.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){_.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return ee(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?_.css(t,n,s):_.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){_.fn[t]=function(e){return this.on(t,e)}})),_.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){_.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;_.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||_.guid++,o},_.holdReady=function(e){e?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=M,_.isFunction=g,_.isWindow=y,_.camelCase=oe,_.type=w,_.now=Date.now,_.isNumeric=function(e){var t=_.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},_.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return _}.apply(t,[]))||(e.exports=n);var on=r.jQuery,an=r.$;return _.noConflict=function(e){return r.$===_&&(r.$=an),e&&r.jQuery===_&&(r.jQuery=on),_},void 0===o&&(r.jQuery=r.$=_),_}))},9489:function(e,t){var n,r,o;!function(i,a){"use strict";r=[],void 0===(o="function"==typeof(n=function(e){return function(t){var n="3.4.4";function r(){t.arrayAccessForm=t.arrayAccessForm||"none",t.emptyNodeForm=t.emptyNodeForm||"text",t.jsAttributeFilter=t.jsAttributeFilter,t.jsAttributeConverter=t.jsAttributeConverter,t.attributeConverters=t.attributeConverters||[],t.datetimeAccessFormPaths=t.datetimeAccessFormPaths||[],t.arrayAccessFormPaths=t.arrayAccessFormPaths||[],t.xmldomOptions=t.xmldomOptions||{},void 0===t.enableToStringFunc&&(t.enableToStringFunc=!0),void 0===t.skipEmptyTextNodesForObj&&(t.skipEmptyTextNodesForObj=!0),void 0===t.stripWhitespaces&&(t.stripWhitespaces=!0),void 0===t.useDoubleQuotes&&(t.useDoubleQuotes=!0),void 0===t.ignoreRoot&&(t.ignoreRoot=!1),void 0===t.escapeMode&&(t.escapeMode=!0),void 0===t.attributePrefix&&(t.attributePrefix="_"),void 0===t.selfClosingElements&&(t.selfClosingElements=!0),void 0===t.keepCData&&(t.keepCData=!1),void 0===t.keepText&&(t.keepText=!1),void 0===t.jsDateUTC&&(t.jsDateUTC=!1)}function o(){function e(e){var t=String(e);return 1===t.length&&(t="0"+t),t}"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|^\n+|(\s|\n)+$/g,"")}),"function"!=typeof Date.prototype.toISOString&&(Date.prototype.toISOString=function(){var t=1e3;return this.getUTCFullYear()+"-"+e(this.getUTCMonth()+1)+"-"+e(this.getUTCDate())+"T"+e(this.getUTCHours())+":"+e(this.getUTCMinutes())+":"+e(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/t).toFixed(3)).slice(2,5)+"Z"})}t=t||{},r(),o();var i={ELEMENT_NODE:1,TEXT_NODE:3,CDATA_SECTION_NODE:4,COMMENT_NODE:8,DOCUMENT_NODE:9};function a(e){var t=e.localName;return null==t&&(t=e.baseName),null!=t&&""!==t||(t=e.nodeName),t}function s(e){return e.prefix}function l(e){return"string"==typeof e?e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"):e}function c(e){return e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&amp;/g,"&")}function u(e,n,r){if("property"===t.arrayAccessForm)e[n]instanceof Array?e[n+"_asArray"]=e[n]:e[n+"_asArray"]=[e[n]];if(!(e[n]instanceof Array)&&t.arrayAccessFormPaths.length>0){for(var o=!1,i=0;i<t.arrayAccessFormPaths.length;i++){var a=t.arrayAccessFormPaths[i];if("string"==typeof a){if(a===r){o=!0;break}}else if(a instanceof RegExp){if(a.test(r)){o=!0;break}}else if("function"==typeof a&&a(n,r)){o=!0;break}}o&&(e[n]=[e[n]])}}function p(e){var t=60,n=e.split(/[-T:+Z]/g),r=new Date(n[0],n[1]-1,n[2]),o=n[5].split(".");if(r.setHours(n[3],n[4],o[0]),o.length>1&&r.setMilliseconds(o[1]),n[6]&&n[7]){var i=n[6]*t+Number(n[7]);i=0+("-"===(/\d\d-\d\d:\d\d$/.test(e)?"-":"+")?-1*i:i),r.setMinutes(r.getMinutes()-i-r.getTimezoneOffset())}else-1!==e.indexOf("Z",e.length-1)&&(r=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds())));return r}function d(e,n,r){if(t.datetimeAccessFormPaths.length>0)for(var o=r.split(".#")[0],i=0;i<t.datetimeAccessFormPaths.length;i++){var a=t.datetimeAccessFormPaths[i];if("string"==typeof a){if(a===o)return p(e)}else if(a instanceof RegExp){if(a.test(o))return p(e)}else if("function"==typeof a&&a(o))return p(e)}return e}function h(e){for(var n={},r=e.childNodes,o=0;o<r.length;o++){var s=r.item(o);if(s.nodeType===i.ELEMENT_NODE){var l=a(s);t.ignoreRoot?n=m(s,l):n[l]=m(s,l)}}return n}function f(e,n){for(var r={__cnt:0},o=e.childNodes,l=0;l<o.length;l++){var p=o.item(l),h=a(p);p.nodeType!==i.COMMENT_NODE&&(r.__cnt++,null==r[h]?(r[h]=m(p,n+"."+h),u(r,h,n+"."+h)):(r[h]instanceof Array||(r[h]=[r[h]],u(r,h,n+"."+h)),r[h][r[h].length]=m(p,n+"."+h)))}for(var f=0;f<e.attributes.length;f++){var v=e.attributes.item(f);r.__cnt++;for(var g=v.value,y=0;y<t.attributeConverters.length;y++){var b=t.attributeConverters[y];b.test.call(null,v.name,v.value)&&(g=b.convert.call(null,v.name,v.value))}r[t.attributePrefix+v.name]=g}var x=s(e);return x&&(r.__cnt++,r.__prefix=x),r["#text"]&&(r.__text=r["#text"],r.__text instanceof Array&&(r.__text=r.__text.join("\n")),t.escapeMode&&(r.__text=c(r.__text)),t.stripWhitespaces&&(r.__text=r.__text.trim()),delete r["#text"],"property"===t.arrayAccessForm&&delete r["#text_asArray"],r.__text=d(r.__text,"#text",n+".#text")),r.hasOwnProperty("#cdata-section")&&(r.__cdata=r["#cdata-section"],delete r["#cdata-section"],"property"===t.arrayAccessForm&&delete r["#cdata-section_asArray"]),1===r.__cnt&&r.__text&&!t.keepText?r=r.__text:0===r.__cnt&&"text"===t.emptyNodeForm?r="":r.__cnt>1&&void 0!==r.__text&&t.skipEmptyTextNodesForObj&&(t.stripWhitespaces&&""===r.__text||""===r.__text.trim())&&delete r.__text,delete r.__cnt,t.keepCData||r.hasOwnProperty("__text")||!r.hasOwnProperty("__cdata")||1!==Object.keys(r).length?(t.enableToStringFunc&&(r.__text||r.__cdata)&&(r.toString=function(){return(this.__text?this.__text:"")+(this.__cdata?this.__cdata:"")}),r):r.__cdata?r.__cdata:""}function m(e,t){return e.nodeType===i.DOCUMENT_NODE?h(e):e.nodeType===i.ELEMENT_NODE?f(e,t):e.nodeType===i.TEXT_NODE||e.nodeType===i.CDATA_SECTION_NODE?e.nodeValue:null}function v(e,n,r,o){var i="<"+(e&&e.__prefix?e.__prefix+":":"")+n;if(r)for(var a=0;a<r.length;a++){var s=r[a],c=e[s];t.escapeMode&&(c=l(c)),i+=" "+s.substr(t.attributePrefix.length)+"=",t.useDoubleQuotes?i+='"'+c+'"':i+="'"+c+"'"}return i+=o?" />":">"}function g(e,t){return"</"+(e&&e.__prefix?e.__prefix+":":"")+t+">"}function y(e,t){return-1!==e.indexOf(t,e.length-t.length)}function b(e,n){return!!("property"===t.arrayAccessForm&&y(n.toString(),"_asArray")||0===n.toString().indexOf(t.attributePrefix)||0===n.toString().indexOf("__")||e[n]instanceof Function)}function x(e){var t=0;if(e instanceof Object)for(var n in e)b(e,n)||t++;return t}function D(e){var n=[];if(e instanceof Object)for(var r in e)-1===r.toString().indexOf("__")&&0===r.toString().indexOf(t.attributePrefix)&&n.push(r);return n}function w(e){var n="";return e.__cdata&&(n+="<![CDATA["+e.__cdata+"]]>"),(e.__text||"number"==typeof e.__text||"boolean"==typeof e.__text)&&(t.escapeMode?n+=l(e.__text):n+=e.__text),n}function C(e){var n="";return e instanceof Object?n+=w(e):null!==e&&(t.escapeMode?n+=l(e):n+=e),n}function k(e,t,n){var r="";if(0===e.length)r+=v(e,t,n,!0);else for(var o=0;o<e.length;o++)r+=_(e[o],t,D(e[o]));return r}function _(e,n,r){var o="";if(t.jsAttributeFilter&&t.jsAttributeFilter.call(null,n,e))return o;if(t.jsAttributeConverter&&(e=t.jsAttributeConverter.call(null,n,e)),null!=e&&""!==e||!t.selfClosingElements)if("object"==typeof e)if("[object Array]"===Object.prototype.toString.call(e))o+=k(e,n,r);else if(e instanceof Date)o+=v(e,n,r,!1),o+=t.jsDateUTC?e.toUTCString():e.toISOString(),o+=g(e,n);else{x(e)>0||"number"==typeof e.__text||"boolean"==typeof e.__text||e.__text||e.__cdata?(o+=v(e,n,r,!1),o+=S(e),o+=g(e,n)):t.selfClosingElements?o+=v(e,n,r,!0):(o+=v(e,n,r,!1),o+=g(e,n))}else o+=v(e,n,r,!1),o+=C(e),o+=g(e,n);else o+=v(e,n,r,!0);return o}function S(e){var t="";if(x(e)>0)for(var n in e)if(!b(e,n)){var r=e[n];t+=_(r,n,D(r))}return t+=C(e)}function M(n){if(void 0===n)return null;if("string"!=typeof n)return null;var r=null,o=null;if(e)o=(r=new e(t.xmldomOptions)).parseFromString(n,"text/xml");else if(window&&window.DOMParser){r=new window.DOMParser;var i=null;if(!(window.ActiveXObject||"ActiveXObject"in window)&&document.all&&!document.addEventListener)try{i=r.parseFromString("INVALID","text/xml").childNodes[0].namespaceURI}catch(e){i=null}try{o=r.parseFromString(n,"text/xml"),null!==i&&o.getElementsByTagNameNS(i,"parsererror").length>0&&(o=null)}catch(e){o=null}}else 0===n.indexOf("<?")&&(n=n.substr(n.indexOf("?>")+2)),(o=new ActiveXObject("Microsoft.XMLDOM")).async="false",o.loadXML(n);return o}this.asArray=function(e){return null==e?[]:e instanceof Array?e:[e]},this.toXmlDateTime=function(e){return e instanceof Date?e.toISOString():"number"==typeof e?new Date(e).toISOString():null},this.asDateTime=function(e){return"string"==typeof e?p(e):e},this.xml2dom=function(e){return M(e)},this.dom2js=function(e){return m(e,null)},this.js2dom=function(e){return M(this.js2xml(e))},this.xml2js=function(e){var t=M(e);return null!=t?this.dom2js(t):null},this.js2xml=function(e){return S(e)},this.getVersion=function(){return n}}})?n.apply(t,r):n)||(e.exports=o)}()},6687:()=>{window.addEventListener("message",(e=>{const t=e.data;"dpHelper"===t.exec&&"state"===t.tool&&t.command&&t.name&&state[t.command]([t.name])}))},8123:()=>{dphelper.setProps=e=>{Object.defineProperty(dphelper,e.name,{writable:!1,configurable:!1})}},4273:(e,t,n)=>{"use strict";n.r(t);const r={name:"anchor",active:!0,subCommand:[{name:"toOnClick",type:"function",version:"0.0.1",example:"dphelper.anchor.toOnClick([element, 'foo' | '.foo' | '#foo'])",description:"This tools allows you to convert all links in an element to 'onclick'.\n It allows you to avoid the message with the path relative to the requested address\n and it is very useful when you work with SPA but you want to keep even older browsers.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.anchor={toOnClick:e=>{$(e+" a").each((function(){const e=$(this),t=e.attr("href");t&&e.on("mouseup",(function(){})).css("cursor","pointer").addClass(dphelper.pathRail()[3].replace(/\//g,"")).removeAttr("href").on("click",(function(){dphelper.browser.href(t),dphelper.browser.push("","",t)}))}))}},dphelper.setProps(r)},7004:(e,t,n)=>{"use strict";n.r(t);const r={name:"array",active:!0,subCommand:[{name:"find",version:"0.0.1",example:"dphelper.array.find([array, item])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240619",type:"function",active:!0,subCommand:[]},{name:"unique",version:"0.0.1",example:"dphelper.array.unique([array])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"delete",version:"0.0.1",example:"dphelper.array.delete([array])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"merge",version:"0.0.1",example:"dphelper.array.merge([array1, array2])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"mergeByKey",version:"0.0.1",example:"dphelper.array.mergeByKey([arrayA, arrayB, key])",author:"Dario Passariello",creationDate:"20230603",lastMod:"20230603",type:"function",active:!0,description:'\n Example:\n\n const array = [\n {"date":1230,"value":1},\n {"date":1231,"value":2},\n {"date":1232,"value":3, "value1":3, "name":"John"},\n {"date":1233,"value":4},\n {"date":1234,"value":5},\n {"date":1235,"value":6}\n ]\n\n const newData = [\n {"date":1230,"value":1000,\'name\':\'Diana\'},\n {"date":1232,"value":1000, "value1":20000},\n {"date":1234,"value":1000},\n {"date":1235,"value":888810000}\n ]\n\n Command: dphelper.array.mergeByKey( array, newData, \'date\' )\n\n Result:\n\n [\n {"date": 1230,"value": 1000, "name": "Diana" },\n {"date": 1231,"value": 2},\n {"date": 1232 "value": 1000, "value1": 20000, "name": "John" },\n {"date": 1233,"value": 4},\n {"date": 1234, "value": 1000},\n {"date": 1235,"value": 888810000}\n ]\n ',subCommand:[]},{name:"asc",version:"0.0.1",example:"dphelper.array.asc([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"desc",version:"0.0.1",example:"dphelper.array.desc([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"duplicates",version:"0.0.1",example:"dphelper.array.duplicates([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"even",version:"0.0.1",example:"dphelper.array.even([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"odd",version:"0.0.1",example:"dphelper.array.odd([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"sumColumn",version:"0.0.1",example:"dphelper.array.sumColumn([array, column])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20230111",type:"function",active:!0,description:"\n\n // YOUR SOURCE OF DATA\n const array = [\n [12, 23, 34],\n [45, 56, 67],\n [78, 89, 90]\n ]\n\n // PRINT VALUE EACH COLUMN SUM\n for (var i = 0; i < array.length; ++i) {\n console.debug(dphelper.array.sumColumn(array, i))\n }\n results: 135, 168, 191\n\n // TEST ONLY ONE COLUMN (0)\n dphelper.array.sumColumn(array, 0)\n result: 135\n\n ",subCommand:[]},{name:"shuffle",version:"0.0.1",example:"dphelper.array.shuffle([array])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:[]},{name:"generate",version:"0.0.1",example:"dphelper.array.generate(num)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Generate random number ( max 500000 )",subCommand:[]},{name:"testArrayInt",version:"0.0.1",example:"dphelper.array.testArrayInt([array])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"\n examples:\n console.debug( dphelper.array.testArrayInt([1,2,3,4,6,7]) ); // return 5\n console.debug( dphelper.array.testArrayInt([1,2,3]) ); // return 4\n console.debug( dphelper.array.testArrayInt([-1,-2]) ); // return 1\n ",subCommand:[]},{name:"rand32",version:"0.0.1",example:"dphelper.array.rand32(num)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"\n Generate random array number in 32-bit unsigned integers\n Examples:\n console.debug( dphelper.array.rand32(500000) );\n ",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.array={find:(e,t)=>{if(Array.isArray(e)){for(const n of e){if(n[t]===t)return n;if(n.children){const e=dphelper.array.find(t,n.children);if(e)return e}}return!1}},unique:e=>{if(!Array.isArray(e))return;return[...new Set(e)]},delete:(e,t)=>{Array.isArray(e)&&e.some((function e(n,r,o){if(n[t]===t)return o.splice(r,1),!0;for(const t of Object.keys(n)){const r=n[t];if(r.length&&"object"==typeof r)return r&&r.map(e)}}))},merge:(e,t)=>{for(const n of Object.keys(e))e[n]instanceof Object&&t[n]&&Object.assign(e[n],dphelper.mergeArrays(t[n],e[n]));return Object.assign(t||{},e),t},mergeByKey:(e,t,n)=>(e.map(((r,o)=>Object.values(t).map((t=>r[n]===t[n]?Object.assign(e[o],t):e[o])))),e),asc:e=>{if(Array.isArray(e))return e.sort(((e,t)=>e-t)),e},desc:e=>{if(Array.isArray(e))return e.sort((function(e,t){return t-e})),e},duplicates:e=>{if(!Array.isArray(e))return;var t;return(t=e).filter(((e,n)=>t.indexOf(e)!==n))},even:e=>{if(!Array.isArray(e))return;const t=[],n=e.length;for(let r=0;r<n;r++)e[r]%2==0&&t.push(e[r]);return t},odd:e=>{if(!Array.isArray(e))return;const t=[],n=e.length;for(let r=0;r<n;r++)e[r]%2&&t.push(e[r]);return t},toObj:e=>Object.assign({},e),sumColumn:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[[]],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(Array.isArray(e)){if(void 0===t)return"provide a column";var n,r=0;return(n=e.map((e=>r+=e[t])))[n.length-1]}return"provide an multidimensiona array"},shuffle:e=>{if(Array.isArray(e)){for(let t=e.length-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}},generate:e=>{isNaN(e)||dphelper.array.shuffle(e)},testArrayInt(e){if(!Array.isArray(e))return;let t,n;for(var r=1;r<e.length;++r)t=e.includes(r),!1===t&&void 0!==t&&(n=r);return""===n?e.length+1:n},rand32:e=>{const t=performance.now(),n=[];n.nums=[],n.time=[];for(var r=0;r<e;++r)n.nums.push(crypto.getRandomValues(new Uint32Array(1))[0]);const o=performance.now();return n.time.push(o-t),n}},dphelper.setProps(r)},3763:(e,t,n)=>{"use strict";n.r(t);const r={name:"avoid",active:!0,subCommand:[{name:"cache",version:"0.0.1",example:"dphelper.avoid.cache()",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.avoid={cache:e=>e.concat(/\?/.test(e)?"&":"?","t=",dphelper.rnd())},dphelper.setProps(r)},5122:(e,t,n)=>{"use strict";n.r(t);const r={name:"browser",active:!0,subCommand:[{name:"state",version:"0.0.1",example:"dphelper.browser.state([state, title, url])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"forw",version:"0.0.1",example:"dphelper.browser.forw([number])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"back",version:"0.0.1",example:"dphelper.browser.back([number])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"reload",version:"0.0.1",example:"dphelper.browser.reload()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"href",version:"0.0.1",example:"dphelper.browser.href([url])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"offline",version:"0.0.1",example:"dphelper.browser.offline([text])",author:"Dario Passariello",creationDate:"20190727",lastMod:"20240727",type:"function",active:!0,description:"",subCommand:[]},{name:"zoom",version:"0.0.1",example:"dphelper.browser.zoom()",author:"Dario Passariello",creationDate:"20190727",lastMod:"20240727",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.browser={state:(e,t,n)=>history.pushState(e,t,n),forw:e=>history.go(e),back:e=>history.go(-Math.abs(e)),reload:()=>globalThis.location.href="/",href:e=>globalThis.location.href=e,offLine:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"You are offline.";addEventListener("online",(()=>{$("[o]").remove()})),addEventListener("offline",(()=>{$('\n <style o>\n html {\n\n &:before {\n content: "";\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #00000082;\n z-index: 9999;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n\n }\n\n &:after{\n position: absolute;\n content: "'.concat(e,'";\n font-size: 1em;\n background-color: orange;\n color: black;\n text-align: center;\n padding: 10px 30px;\n z-index: 10000;\n border-radius: 20px;\n top: calc(50% - 22px);\n left: calc(50% - 92px);\n border: 6px solid #00000026;\n }\n\n }\n </style>\n ')).appendTo("body")}))},zoom:()=>Math.round(100*window.devicePixelRatio)},dphelper.setProps(r)},6775:(e,t,n)=>{"use strict";n.r(t);const r={name:"cache",active:!0,subCommand:[]};dphelper._list.scripts.push(r),cache={},dphelper.setProps(r)},2421:(e,t,n)=>{"use strict";n.r(t);const r={name:"color",active:!0,subCommand:[{name:"hex",version:"0.0.1",example:"dphelper.color.hex(255)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toHex",version:"0.0.1",example:"dphelper.color.toHex([255, 255, 255])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toRGB",version:"0.0.1",example:"dphelper.color.toRGB('#ffffff')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"oleColor",version:"0.0.1",example:"dphelper.color.oleColor('#ffffff')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,description:"",subCommand:[]},{name:"gradient",version:"0.0.1",example:"dphelper.color.gradient([colorStart, colorEnd, colorCount])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.color={hex:e=>{const t="0123456789abcdef";let n=parseInt(e);return 0==n||isNaN(e)?"00":(n=Math.round(Math.min(Math.max(0,n),255)),t.charAt((n-n%16)/16)+t.charAt(n%16))},toHex:e=>dphelper.color.hex(e[0])+dphelper.color.hex(e[1])+dphelper.color.hex(e[2]),toRGB:e=>{const t=[];return t[0]=parseInt(dphelper.text.trim(e,"#",1,7).substring(0,2),16),t[1]=parseInt(dphelper.text.trim(e,"#",1,7).substring(2,4),16),t[2]=parseInt(dphelper.text.trim(e,"#",1,7).substring(4,6),16),"#"+t},oleColor:e=>{const t=e.replace("#","").match(/.{1,2}/g);return parseInt(t[0],16)+256*parseInt(t[1],16)+65536*parseInt(t[2],16)},gradient:(e,t,n)=>{const r=dphelper.color.toRGB(e),o=dphelper.color.toRGB(t),i=n,a=[];let s=0;for(let e=0;e<i;e++){const e=[];s+=1/i,e[0]=r[0]*s+(1-s)*o[0],e[1]=r[1]*s+(1-s)*o[1],e[2]=r[2]*s+(1-s)*o[2],a.push(dphelper.color.toHex(e))}return a}},dphelper.setProps(r)},7352:(e,t,n)=>{"use strict";n.r(t);const r={name:"console",active:!0,subCommand:[{name:"info",version:"0.0.1",example:"dphelper.console.info()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"stop",version:"0.0.1",example:"dphelper.console.stop()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toHtml",version:"0.0.1",example:"dphelper.console.toHtml()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.console={info:(e,t,n)=>{console.groupCollapsed("%c"+e+":%c","color:orange",""),console.debug(t,e,n),console.groupEnd()},stop:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeline","timelineEnd","timeStamp","trace","warn","verbose"];console.clear(),console.disableYellowBox=!0,console.log=()=>{},console.debug=()=>{},globalThis.console=console;const t=()=>{};e.forEach((e=>{globalThis.console[e]=t}))},toHtml:e=>{console.log;const t=document.getElementById(e);console.toHtml=function(e){t.innerHTML+="object"==typeof e?(JSON&&JSON.stringify?JSON.stringify(e):e)+"<br />":e+"<br />"}}},dphelper.setProps(r)},6329:(e,t,n)=>{"use strict";n.r(t),dphelper.consoleDebug=function(e){if(!e)throw Error("Parent dom element required!");let t=!1;console.log,console.info,console.warn,console.error;this.autoScroll=!0,this.disableConsoleLogging=!1;const n=document.createElement("div");n.id="debugConsole",e.appendChild(n),this.domElement=n,this.initKeyMappings=()=>{t?console.warn("DebugConsole: keys already mapped!"):(state.toggleConsole=function(){this.visible=!this.visible}.bind(this),t=!0)},this.overrideConsole=()=>{const e=["Warning: Does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.%s",'Warning: Using the "className" prop on <View> is deprecated.',"View"],t=console.log;console.log=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];const[i]=r;e.some((e=>i.includes(e)))||t(...r)};const n=console.info;console.info=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];const[i]=r;e.some((e=>i.includes(e)))||n(...r)};const r=console.warn;console.warn=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];const[i]=n;e.some((e=>i.includes(e)))||r(...n)};const o=console.error;console.error=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const[i]=n;e.some((e=>i.includes(e)))||o(...n)},globalThis.onerror=(e,t,n)=>{const r=[e," in <a href='",t,"' target='_blank'>",t.split("/").pop(),"</a>:",n];return console.error(r.join("")),!1}},this.overrideConsole(),this.clear=function(){this.domElement.innerHTML=""},Object.defineProperties(this,{visible:{get:function(){return""===this.domElement.style.display},set:function(e){e?(this.domElement.style.display="",this.autoScroll&&(this.domElement.scrollTop=this.domElement.scrollHeight)):this.domElement.style.display="none"},configurable:!1}})},Object.defineProperty(dphelper,"consoleDebug",{writable:!0,configurable:!1})},4200:(e,t,n)=>{"use strict";n.r(t);const r={name:"coords",active:!0,subCommand:[{name:"degreesToRadians",version:"0.0.1",example:"dphelper.coords.degreesToRadians(45)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"latToMeters",version:"0.0.1",example:"dphelper.coords.latToMeters([40.689202777778, -74.044219444444])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toVector",version:"0.0.1",example:"dphelper.coords.toVector([40.689202777778, -74.044219444444, 1])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"convertToDecDegrees",version:"0.0.1",example:"dphelper.coords.convertToDecDegrees([39, 5, 59, 'N'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"distance",version:"0.0.1",example:"dphelper.coords.distance([40.718788808171105, -74.0114768663747],[38.909309636475875, -77.01712459058946])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"\n Haversine formula:\n a = sin²(Δφ/2) + cos φ1 ⋅ cos φ2 ⋅ sin²(Δλ/2)\n c = 2 ⋅ atan2( √a, √(1-a) )\n d = R ⋅ c\n where\tφ is latitude, λ is longitude, R is earth's radius (mean radius = 6,371km);\n note that angles need to be in radians to pass to trig functions!\n\n ",subCommand:[]}]};dphelper._list.scripts.push(r);const o=6371e3;dphelper.coords={degreesToRadians:e=>e*Math.PI/180,latToMeters:e=>{if(!Array.isArray(e))return;return o*Math.cos(e[0])*Math.cos(e[1])/1e3},toVector:e=>{if(!Array.isArray(e))return;return[o*Math.cos(e[1]*Math.PI/180)*Math.cos(e[0]*Math.PI/180),o*Math.cos(e[1]*Math.PI/180)*Math.sin(e[0]*Math.PI/180),o*Math.sin(e[2]*Math.PI/180)]},convertToDecDegrees:(e,t,n,r)=>{let o=e+t/60+n/3600;return"S"!=r&&"W"!=r||(o*=-1),o},distance:(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t))return;const n=e[0]*Math.PI/180,r=t[0]*Math.PI/180,i=(t[0]-e[0])*Math.PI/180,a=(t[1]-e[1])*Math.PI/180,s=Math.sin(i/2)*Math.sin(i/2)+Math.cos(n)*Math.cos(r)*Math.sin(a/2)*Math.sin(a/2),l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)),c=o*l;return{km:Number((c/1e3).toFixed(2)),Mi:Number((c/1e3*.621371).toFixed(2)),nMi:Number((c/1e3/1.852).toFixed(2))}}},dphelper.setProps(r)},9514:(e,t,n)=>{"use strict";n.r(t);const r={name:"cookie",active:!0,subCommand:[{name:"set",version:"0.0.1",example:"dphelper.cookie.set([name, value, time, path = '/'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:[]},{name:"get",version:"0.0.1",example:"dphelper.cookie.get([name])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:[]},{name:"delete",version:"0.0.1",example:"dphelper.cookie.delete([name])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:[]},{name:"clearAll",version:"0.0.1",example:"dphelper.cookie.clearAll()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.cookie={set:e=>{const t=new Date;if(t.setTime(t.getTime()+31536e6),!e.name)return;const{name:n,value:r,time:o=e.time||t.toGMTString(),path:i=e.path||"/",sameSite:a=(e.path?e.path:"Lax"),secure:s=("https:"===location.protocol?"Secure":"false")}=e;document.cookie="".concat(n,"=").concat(r,";expires=").concat(o,";path=").concat(i,";SameSite=").concat(a,";requireSSL=").concat(s,";")},get:e=>{const t=document.cookie.split("; "),n=t.length;for(let r=0;r<n;r++){const n=t[r].split("=");if(e===n[0])return unescape(n[1])}return null},delete:e=>{document.cookie="".concat(e,"=; Max-Age=0")},clearAll:()=>{const e=document.cookie.split(";"),t=e.length;for(let n=0;n<t;n++){const t=e[n],r=t.indexOf("="),o=r>-1?t.slice(0,r):t;dphelper.cookie.delete(o)}}},dphelper.setProps(r)},4296:()=>{dphelper.credits=e=>{console.groupCollapsed("%c".concat(e.name," v").concat(e.version,"%c"),"color:orange",""),console.debug("%c".concat(e.name," v").concat(e.version,"%c by Dario Passariello started"),"color:orange",""),console.debug("%cType ".concat(e.name," in this console to see it"),"color:gray",""),console.debug("%cFor help visit: "+e.repository.help,"color:gray",""),console.debug("name: %c"+e.name,"color:orange",""),console.debug("version: %c"+e.version,"color:orange",""),console.debug("description: %c"+e.description,"color:orange",""),console.debug("license: %c"+e.license,"color:orange",""),console.debug("repository: %c"+e.repository.url,"color:orange",""),console.debug("author: %c"+e.author.name,"color:orange",""),console.debug("email: %c"+e.author.email,"color:orange",""),console.groupEnd()}},7828:(e,t,n)=>{"use strict";n.r(t);const r={name:"date",active:!0,subCommand:[{name:"toIso",version:"0.0.1",example:"dphelper.date.toIso([value, int = 'en'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toMMDDYYYY",version:"0.0.1",example:"dphelper.date.toMMDDYYYY([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toYYYYMMDD",version:"0.0.1",example:"dphelper.date.toYYYYMMDD([value])",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230101",type:"function",active:!0,description:"",subCommand:[]},{name:"toHuman",version:"0.0.1",example:"dphelper.date.toHuman([value])",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230101",type:"function",active:!0,description:"",subCommand:[]},{name:"convert",version:"0.0.1",example:"dphelper.date.convert([value, format])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"iso2Epoch",version:"0.0.1",example:"dphelper.date.iso2Epoch([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"localIsoTime",version:"0.0.1",example:"dphelper.date.localIsoTime([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"utc",version:"0.0.1",example:"dphelper.date.utc()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"parse",version:"0.0.1",example:"dphelper.date.parse([value, separator = '/'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"year",version:"0.0.1",example:"dphelper.date.year()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"addDays",version:"0.0.1",example:"dphelper.date.addDays([date, days])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"dateTimeToString",version:"0.0.1",example:"dphelper.date.dateTimeToString([dateObject])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isoToHuman",version:"0.0.1",example:"dphelper.date.isoToHuman([value, symbol = '@'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"fullDate",version:"0.0.1",example:"dphelper.date.fullDate()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"epoch",version:"0.0.1",example:"dphelper.date.epoch()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.date={days:function(){return{en:["Monday","Tuesday","Wednesday","Thursday","Wednesday","Saturday","Sunday"],it:["lunedì","martedì","mercoledì","giovedì","Venerdì","Sabato","domenica"]}[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en"]},months:function(){return{en:["January","February","March","April","May","June","July","August","September","October","November","December"],it:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"]}[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en"]},toIso:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";e||(e="");const n=new Date(e);if("Invalid Date"==String(n))return null;return new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(n)},toMMDDYYYY:e=>{e||(e="");const t=new Date(e);return("0"+(t.getMonth()+1)).slice(-2)+""+("0"+t.getDate()).slice(-2)+t.getFullYear()},toYYYYMMDD:e=>{if(e)return e.toISOString().split("T")[0].replaceAll("-","")},toHuman:e=>e.toLocaleDateString(void 0,{weekday:"long",year:"numeric",month:"long",day:"numeric"}),convert:(e,t)=>{if(!e)return null;t||(t=dphelper.date.months());const n=e.substring(0,2).replace("0",""),r=e.substring(2,4),o=e.substring(e.length-4);return r+" "+t[Number(n)-1]+" "+o},iso2Epoch:e=>{e||(e="");return new Date(e).getTime()},localIsoTime:e=>{e||(e="");const t=6e4*new Date(e).getTimezoneOffset();return new Date(Date.now()-t).toISOString().slice(0,-1)},utc:()=>(new Date).toUTCString(),parse:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";if(!e)return null;return e.substring(0,2)+t+e.substring(2,4)+t+e.substring(4,8)},year:()=>/\d{4}/.exec(Date())[0],addDays:(e,t)=>{const n=new Date(Number(e));return n.setDate(e.getDate()+t),n},dateTimeToString:e=>{try{return"".concat(e.getFullYear()).concat(e.getMonth().toString().length>1?e.getMonth()+1:"0".concat(e.getMonth()+1),"\n ").concat(e.getDate().toString().length>1?e.getDate():"0".concat(e.getDate()),"_").concat(e.getHours()).concat(e.getMinutes()).concat(e.getSeconds())}catch(t){return e}},isoToHuman:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"@";if(!e)return null;const n=dphelper.date.months(),r=new Date(e),o=r.getFullYear(),i=e.split("T")[1].split(":").slice(0,2).join(":");let a=(r.getMonth()+1).toString(),s=r.getDate().toString();return s.length<2&&(s="0"+s),a.length<2&&(a="0"+a),s+" "+n[Number(a)-1]+" "+o+" "+t+" "+i},fullDate:function(){const e=new Date,t=Number(e.getDate()),n=Number(e.getMonth()+1),r=Number(e.getFullYear()),o=Number(e.getHours()),i=Number(e.getMinutes());return(t<10?"0"+t:t)+"-"+(n<10?"0"+n:n)+"-"+r+" "+(o<10?"0"+o:o)+":"+(i<10?"0"+i:i)+":"+Number(e.getSeconds())},epoch:()=>(new Date).getTime(),diffInDays:function(e,t){var n=t.getTime(),r=e.getTime();return Math.floor((n-r)/864e5)},diffInWeeks:function(e,t){var n=t.getTime(),r=e.getTime();return Number(parseInt(String((n-r)/6048e5)))},diffInMonths:function(e,t){var n=e.getFullYear(),r=t.getFullYear(),o=e.getMonth();return t.getMonth()+12*r-(o+12*n)},diffInYears:function(e,t){return t.getFullYear()-e.getFullYear()},dateToYMD:e=>{var t=e.getDate(),n=e.getMonth()+1;return e.getFullYear()+"-"+(n<=9?"0"+n:n)+"-"+(t<=9?"0"+t:t)},collection:function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-US";switch(!t&&n&&r&&console.debug('\n "toDateString" -> Tue Jan 02 2024\n "toISOString" -> 2024-01-02T18:44:43.590Z\n "toJSON" -> 2024-01-02T18:44:43.590Z\n "toLocaleDateString" -> 1/2/2024\n "toLocaleString" -> 1/2/2024, 11:44:43 AM\n "toLocaleTimeString" -> 11:44:43 AM\n "toString" -> Tue Jan 02 2024 11:44:43 GMT-0700 (Mountain Standard Time)\n "toISOStringShort" -> 2024-01-02\n "toLocaleString (en-GB)" -> 02/01/2024, 11:47:56 am\n '),n){case"toDateString":e=t.toDateString();break;case"toISOString":e=t.toISOString();break;case"toJSON":e=t.toJSON();break;case"toLocaleDateString":e=t.toLocaleDateString(r);break;case"toLocaleString":e=t.toLocaleString(r);break;case"toLocaleTimeString":e=t.toLocaleTimeString(r);break;case"toString":e=t.toString();break;case"toISOStringShort":e=t.toISOString().slice(0,10)}return e}},dphelper.setProps(r)},2278:(e,t,n)=>{"use strict";n.r(t);const r={name:"disable",active:!0,subCommand:[{name:"select",version:"0.0.1",example:"dphelper.disable.select([el = 'body'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"spellCheck",version:"0.0.1",example:"dphelper.disable.spellCheck([tmr = 5000])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"rightClick",version:"0.0.1",example:"dphelper.disable.rightClick([element])",author:"Dario Passariello",creationDate:"20220101",lastMod:"20220101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.disable={select:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body";$(e).on("mousedown",(function(e){((e,t)=>{if(!$(t.target).is("input, button, select, textarea, .selectable *"))return $("*").trigger("blur"),t.preventDefault(),!1;$("img, a, input, button").on("dragstart",(function(e){return e.preventDefault(),!1}))})(0,e)})),console.debug("%cSelection Disabled: %c"+!0,"color:orange","")},spellCheck:function(){setInterval((()=>{const e=document.querySelectorAll("input[type=text], textarea, code"),t=e.length;for(let n=0;n<t;n++)e[n].getAttribute("spellcheck")||e[n].setAttribute("spellcheck","false")}),arguments.length>0&&void 0!==arguments[0]?arguments[0]:5e3)},rightClick:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body";$(document).ready((function(){$(e).on("contextmenu",(function(e){return!1}))}))}},dphelper.setProps(r)},6309:(e,t,n)=>{"use strict";n.r(t);const r={name:"dispatch",active:!0,subCommand:[{name:"set",version:"0.0.1",example:"dphelper.dispatch.set([name, value])",author:"Dario Passariello",creationDate:"20231231",lastMod:"20240612",type:"function",active:!0,description:"CustomEvent",subCommand:[]},{name:"listen",version:"0.0.1",example:"dphelper.dispatch.listen([eventNames, callback=null], flag = true)",author:"Dario Passariello",creationDate:"20231231",lastMod:"20240612",type:"function",active:!0,description:"",subCommand:[]},{name:"remove",version:"0.0.1",example:"dphelper.dispatch.remove([eventNames, callback=null], flag = true)",author:"Dario Passariello",creationDate:"20231231",lastMod:"20240612",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.dispatch={set:function(e){dispatchEvent(new CustomEvent(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},listen:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;$(window).on(e,(e=>t?setTimeout((()=>t(e)),0):null))},remove:e=>{$(window).off(e)}},Object.defineProperty(dphelper,"dispatch",{writable:!0,configurable:!1}),dphelper.setProps(r)},8650:(e,t,n)=>{"use strict";n.r(t);const r={name:"element",active:!0,subCommand:[{name:"fitScale",version:"0.0.1",example:"dphelper.element.fitScale([el = 'root', scale = 1, fit = false])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.element={fitScale:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];addEventListener("resize",(r=>{dphelper.element.scaleBasedOnWindow(e,t,n)}))},scaleBasedOnWindow:(e,t,n)=>{if(!e)return;const r=$(e),o=r.width()||1,i=r.height()||1;n?r.css("transform","scale("+t/Math.max(o/globalThis.innerWidth,i/globalThis.innerHeight)+")"):r.css("transform","scale("+t/Math.min(o/globalThis.innerWidth,i/globalThis.innerHeight)+")")}},dphelper.setProps(r)},690:(e,t,n)=>{"use strict";n.r(t);const r={name:"event",active:!0,subCommand:[{name:"multi",version:"0.0.1",example:"dphelper.event.multi([element, eventNames, listener])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"copy",version:"0.0.1",example:"dphelper.event.copy([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"onDrag",version:"0.0.1",example:"dphelper.event.onDrag([element])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:[]},{name:"keys",version:"0.0.1",example:"dphelper.event.keys(e)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.event={list:e=>{globalThis.getEventListeners(e)},multi:(e,t,n)=>{const r=t.split(" ");for(let t=0,o=r.length;t<o;++t)e.addEventListener(r[t],n,!1)},copy:e=>{document.querySelector(e).addEventListener("click",(async e=>{if(navigator.clipboard)try{console.debug(e,e.srcElement.textContent),await navigator.clipboard.writeText(e.srcElement.textContent),alert("copied")}catch(e){console.error("Can't copy the value",e)}}))},onDrag:e=>{let t=!1;$(".popup_overflow_"+e).mousedown((function(n){n.pageX,n.pageY;$(window).mousemove((function(n){t=!0;const r=(n.pageY>0?n.pageY:0)-$(".popup_overflow_"+e).height()/2,o=(n.pageX>0?n.pageX:0)-$(".popup_overflow_"+e).width()/2;localStorage.setItem(e,JSON.stringify([r,o]))}))})).mouseup((function(){t=!1,$(window).unbind("mousemove")}))},keys:e=>({key:e.key,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})},dphelper.setProps(r)},3714:(e,t,n)=>{"use strict";n.r(t);const r={name:"form",active:!0,subCommand:[{name:"serialize",version:"0.0.1",example:"dphelper.form.serialize([form])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"confirmType",version:"0.0.1",example:"dphelper.form.confirmType([type, value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"required",version:"0.0.1",example:"dphelper.form.required([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"minLength",version:"0.0.1",example:"dphelper.form.minLength([value, num = 1])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"maxLength",version:"0.0.1",example:"dphelper.form.maxLength([value, num = 10])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"maxPhoneNumber",version:"0.0.1",example:"dphelper.form.maxPhoneNumber([value, num = 10])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isNumeric",version:"0.0.1",example:"dphelper.form.isNumeric([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isEmail",version:"0.0.1",example:"dphelper.form.isEmail([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"pattern",version:"0.0.1",example:"dphelper.form.pattern(event)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Pattern validation using onChange on inputs when you provide a patternt",subCommand:[]},{name:"noSpecialChars",version:"0.0.1",example:"dphelper.form.noSpecialChars(event)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Avoid special chars in an input",subCommand:[]},{name:"table",version:"0.0.1",example:"dphelper.form.table(size = [7, 24], id, elem)",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"Generate a table (default 7x24)",subCommand:[]},{name:"sanitize",version:"0.0.1",example:"dphelper.form.sanitize(input)",author:"Dario Passariello",creationDate:"20240318",lastMod:"20240318",type:"function",active:!0,description:"Sanitize input value to avoid injection",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.form={serialize:function(e){const t=n(2770),r=t(e),o={};if(!/[a-zA-Z][a-zA-Z0-9-_.]/.test(r.name))return;const i=(e,t)=>{let n=e[0];"]"==n.slice(-1)&&(n=n.slice(0,-1));const r={};return 1==e.length?r[n]=(e=>(""==e&&(e=null),"null"==e&&(e=null),"undefined"==e&&(e=void 0),"false"==e&&(e=Boolean(!1)),"true"==e&&(e=Boolean(!0)),"off"==e&&(e=Boolean(!1)),"on"==e&&(e=Boolean(!0)),"[]"==e&&(e=Array),"{}"==e&&(e=Object),0!==["null","undefined","false","true","on","off"].filter((t=>t.includes(e))).length||isNaN(Number(e))||(e=Number(e)),e))(t):(e.shift(),r[n]=i(e,t)),r};return t.each(r.serializeArray(),(function(){const e=this.value,n=this.name.split("["),r=i(n,e);t.extend(!0,o,r)})),o},confirmType:(e,t)=>{if("number"===e){return new RegExp(/^\d+$/).test(t.toString())}if("email"===e){return new RegExp(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/).test(t.toString().toLowerCase())}return!0},required:e=>null==e?"Required":void 0,minLength:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return!e||(null==e?void 0:e.length)<t?"Must Enter a Value":void 0},maxLength:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return(null==e?void 0:e.length)>t?"Exceeds Max Length":void 0},maxPhoneNumber:function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return(null==e||null===(t=e.toString())||void 0===t?void 0:t.length)>n?"Exceeds Max Length":void 0},isNumeric:e=>!isNaN(e)&&e,isEmail:e=>new RegExp(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/).test(e.toString().toLowerCase()),pattern:e=>{if(!e.target.type||!e.target.value)return;let t;return"text"===e.target.type?t=/^[a-zA-Z 0-9.+\-$!@]*$/:"email"===e.target.type?t=/^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6})*$/:"password"===e.target.type?t=/^[a-zA-Z 0-9.+\-$!@]*$/:"number"===e.target.type?t=/^[0-9\-+]*$/:"tel"===e.target.type&&(t=/^[0-9\s()\-+]*$/),e.target.value.match(t)?void 0:(e.target.value=e.target.value.slice(0,-1),void e.preventDefault())},noSpecialChars:e=>{const t=e.target.value.trim();if(t.length>2)return t.replace(/[^\w\s]/gi,"")},table:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[7,24],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;var r="",o=e[0],i=e[1];r="<form id='".concat(t,"'>"),r+="<div class='table'>",r+="<div class='title'>";for(var a=1;a<=o;a++)r+="<span>".concat(a,"</span>");r+="</div>";for(var s=1;s<=i;s++){r+="<div class='row'><span>".concat(s,"</span>");for(var l=1;l<=o;l++)r+="<input name='data[".concat(l,"][").concat(s,"]' tabindex='").concat(l.toString().padStart(2,"0")).concat(s.toString().padStart(2,"0"),"' type='number' onclick=\"this.select()\" value='").concat(Math.floor(100*Math.random()),"' title='").concat(l," to ").concat(s,"' />");r+="</div>"}r+="</div>",r+="</form>",$(n).html(r)},sanitize:e=>{if(e)return e.replace(/[^\w ]/g,"").replace(/[&/\\#, +()$~%.'":*?<>{}]/g,""),e}},dphelper.setProps(r)},4023:(e,t,n)=>{"use strict";n.r(t);const r={name:"format",active:!0,subCommand:[{name:"currency",version:"0.0.1",example:"dphelper.format.currency()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"phoneNumber",version:"0.0.1",example:"dphelper.format.phoneNumber()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.format={currency:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"USD";e&&!isNaN(e)||(e=0);return new Intl.NumberFormat(t,{style:"currency",currency:n}).format(e)},phoneNumber:e=>{const t=(""+e).replace(/\D/g,"").match(/^(1|)?(\d{3})(\d{3})(\d{4})$/);if(t){return[t[1]?"+1 ":"","(",t[2],") ",t[3],"-",t[4]].join("")}return null}},dphelper.setProps(r)},1388:(e,t,n)=>{"use strict";n.r(t);const r={name:"func",active:!0,subCommand:[{name:"new",version:"0.0.1",example:"dphelper.func.new()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toObj.set",version:"0.0.1",example:"dphelper.func.toObj.set()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toObj.get",version:"0.0.1",example:"dphelper.func.toObj.get()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.func={new:(e,t)=>{dphelper.func[e]={...t}},toObj:{set:(e,t)=>[e,t],get:e=>e.getDetails()}},dphelper.setProps(r)},4603:(e,t,n)=>{"use strict";n.r(t);const r={name:"iDB",active:!0,subCommand:[{name:"init",description:"Initianize the iDB on website",example:" dphelper.iDB.init() ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"create",description:"Create a new database",example:" dphelper.iDB.create( 'dbName','dbTable' ) ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"store",description:"Put all data to localStorage( I suggest to not use this way, instead use state)",example:" dphelper.iDB.store( 'dbName','dbTable' ) ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"insert",description:"Insert a new record into DB",example:" dphelper.iDB.insert( 'dbName','dbTable', 'data' ) ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"update",description:"Update a record into DB",example:" dphelper.iDB.update( 'dbName','dbTable', 'id', 'data' ) ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"get",description:"To get data about single row d on DB",example:" dphelper.iDB.get( 'dbName','dbTable', 'id' ) ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"list",description:"./documents/iDB/list.html",example:" dphelper.iDB.list() result -> show in console the table of list of all DB ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"toState",description:"Add databases into dphelper.databases (you can reuse them without recall again)",example:" dphelper.iDB.toState( 'dbName' ) result -> see dphelper.databases ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"version",description:"If you need to kow the last version of a DB",example:" dphelper.iDB.size( 'dbName' ) result -> 2 ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"size",description:"If you need to know the size about a DB",example:" dphelper.iDB.size( 'dbName' ) result -> 100kb ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"exist",description:"If you need to know if a DB exist",example:" dphelper.iDB.exist( 'dbName' ) result -> true or false ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"delete",description:"If you need to remove an indexedDB, just use this command",example:" dphelper.iDB.delete( 'dbName' ) result -> 'database deletion' ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"countRows",description:"Count records in a DB, useful to have last record from a DB",example:" dphelper.iDB.countRows( 'dbName' , 'tableName' ) result -> 1 ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"refresh",description:"Refresh database list into state (dphelper.databases)",example:" dphelper.iDB.refresh() result -> see dphelper.databases ",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.iDB={init:()=>{dphelper.iDB.toState()},create:(e,t)=>{if(dphelper.iDB.exist(e))return void top.alert('Database "'.concat(e,'" already exist'));const n=indexedDB.open(e,dphelper.iDB.version(e));n.onerror=e=>(console.debug(e,"Database create error: "+e.target.errorCode),!1),n.onsuccess=n=>{const r=n.target.result,o=r.version;if(r.close(),void 0===dphelper.iDB.version(e)){indexedDB.open(e,o+1).onupgradeneeded=e=>{const n=e.target.result;if(0!=n.objectStoreNames.length)return;n.createObjectStore(t,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0}),n.close()}}dphelper.iDB.refresh()}},open:e=>{if(!dphelper.iDB.exist(e))return;const t=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB;t||(console.debug("Your browser doesn't support a skey version of IndexedDB. Such and such feature will not be available."),console.debug("Something went badly wrong with your indexedDB!"));const n=t.open(e,dphelper.iDB.version(e));return n.onsuccess=e=>{dphelper.iDB.refresh()},n.onerror=e=>{console.debug("Database open error: "+e.target.errorCode)},n},insert:(e,t,n)=>{if(!dphelper.iDB.exist(e))return;const r=indexedDB.open(e,dphelper.iDB.version(e));r.onerror=e=>console.debug(e,"Database insert error: "+e.target.errorCode),r.onsuccess=e=>{try{const r=e.target.result;r.transaction([t],"readwrite").objectStore(t).add({value:n}),r.close(),dphelper.iDB.refresh()}catch(e){console.debug(e,"IndexDB insert not work")}}},update:(e,t,n,r)=>{if(!dphelper.iDB.exist(e))return;const o=indexedDB.open(e,dphelper.iDB.version(e));o.onerror=e=>console.debug(e,"Database update error: "+e.target.errorCode),o.onsuccess=e=>{const o=e.target.result.transaction([t],"readwrite").objectStore(t);o.get(+n).onsuccess=e=>{const t=e.target.result;t.value=r;const n=o.put(t);n.onsuccess=e=>{dphelper.iDB.refresh()},n.onerror=e=>{console.debug("Error in updating record")}}}},add:(e,t)=>{console.debug(dphelper.iDB.version(e));window.indexedDB.open(e,3).onupgradeneeded=e=>{const n=e.target.result.createObjectStore(t,{keyPath:"taskTitle"});n.createIndex("hours","hours",{unique:!1}),n.createIndex("minutes","minutes",{unique:!1}),n.createIndex("day","day",{unique:!1}),n.createIndex("month","month",{unique:!1}),n.createIndex("year","year",{unique:!1})}},get:(e,t,n)=>{new Promise(((r,o)=>{indexedDB.open(e,dphelper.iDB.version(e)).onsuccess=e=>{const o=e.target.result;if(0===o.objectStoreNames.length)return;o.transaction([t],"readwrite").objectStore(t).get(n).onsuccess=e=>{const t=e.target.result;r(t)}}}))},store:(e,t)=>{if(!dphelper.iDB.exist(e))return;const n=indexedDB.open(e,dphelper.iDB.version(e));n.onerror=e=>{console.debug(e,"Database get error: "+e.target.errorCode)},n.onsuccess=n=>{const r=n.target.result;if(0===r.objectStoreNames.length)return;r.transaction([t],"readwrite").objectStore(t).openCursor().onsuccess=n=>{const r=n.target.result;if(r){const n=r.primaryKey,o=r.value;dphelper.store[e]||(dphelper.store[e]=[]),dphelper.store[e][t]||(dphelper.store[e][t]=[]),dphelper.store[e][t][n]||(dphelper.store[e][t][n]=[]),dphelper.store[e][t][n]=o,r.continue()}dphelper.iDB.refresh()}}},refresh:()=>{dphelper.iDB.toState(),console.debug("iDB refresh")},toState:async(e,t)=>{if(e||t)return e&&t?void setTimeout((async()=>state[e]=await t),1e3):void console.debug("promiseToState: Some data are missed!");const n=[];let r=0;indexedDB.databases().then((e=>{Object.entries(e).map((e=>{const t=indexedDB.open(e[1].name,dphelper.iDB.version(e[1].version));t.onerror=e=>{console.debug(e,"Database get error: "+e.target.errorCode)};const o={name:"",version:"",tables:[],size:0};let i=0;t.onsuccess=async e=>{const t=e.target.result;0!==t.objectStoreNames.length&&(t&&t.name&&(o.name=t.name,o.version=t.version,Object.entries(t.objectStoreNames).map((async(e,a)=>{const s=[],l=await dphelper.iDB.getTableSize(t.name,e[1]);s.name=e[1],s.size=l,o.tables.push(Object.assign({},s)),i+=l,o.size=i,r+=i,n.total=r,n.update=dphelper.date.epoch()})),n.push(o)),dphelper.databases=n)}}))}))},list:()=>{indexedDB.databases().then((e=>(console.table(e),e)))},version:e=>{indexedDB.databases().then((t=>{t.find((t=>{if(e===t.name)return t.version}))}))},size:e=>{const t=[e],n=t.length;let r;for(let e=0;e<n;e++)return r=t[e],dphelper.iDB.getDbSize(r)},exist:e=>{var t;return void 0!==(null===(t=dphelper.databases)||void 0===t?void 0:t.find((t=>t.name===e)))},delete:e=>{dphelper.iDB.exist(e)?confirm('Are you sure to remove "'.concat(e,'" database?'),(()=>{indexedDB.deleteDatabase(e),dphelper.iDB.refresh()}),(()=>{alert("Operation cancelled.")})):alert('Database "'.concat(e,'" not exist'))},getTableSize:(e,t)=>new Promise(((n,r)=>{if(null==e)return r();let o=0;const i=(e=event.target.result).transaction([t]).objectStore(t).openCursor();i.onsuccess=function(e){const t=e.target.result;if(t){const e=t.value,n=JSON.stringify(e);o+=n.length,t.continue()}else n(o)}.bind(void 0),i.onerror=e=>r("error in "+t+": "+e)})),getDbSize:e=>new Promise(((t,n)=>{const r=indexedDB.open(e,dphelper.iDB.version(e));let o;r.onerror=e=>console.debug("Error on IndexedDB"),r.onsuccess=e=>{o=e.target.result;((e,n)=>{const r=e.reduce(((e,t)=>(e.push(dphelper.iDB.getTableSize(n,t)),e)),[]);Promise.all(r).then((n=>{const r={};function o(e,t){this.table=e,this.size=t}e.forEach(((e,t)=>{r[t]=new o(e,dphelper.tools.byteSize(n[t]))}));const i=n.reduce(((e,t)=>e+t),0);t(parseInt(dphelper.tools.byteSize(i)))}))})([...o.objectStoreNames],o)}})),printTableInfo:e=>{const t=indexedDB.open(e,dphelper.iDB.version(e));let n;t.onerror=e=>console.debug("Error on IndexedDB"),t.onsuccess=e=>{n=e.target.result;((e,t)=>{const n=e.reduce(((e,n)=>(e.push(dphelper.iDB.getTableSize(t,n)),e)),[]);Promise.all(n).then((t=>{const n={};function r(e,t){this.table=e,this.size=t}e.forEach(((e,o)=>{n[o]=new r(e,dphelper.tools.byteSize(t[o]))})),console.table(n);const o=t.reduce(((e,t)=>e+t),0);console.debug("TOTAL: "+dphelper.tools.byteSize(o))}))})([...n.objectStoreNames],n)}},printSizes:()=>{indexedDB.webkitGetDatabaseNames().onsuccess=e=>{const t=e.target.result,n=t.length;let r;for(let e=0;e<n;e++)r=t.item(e),dphelper.iDB.getDbSize(r)}},countRows:(e,t)=>new Promise(((n,r)=>{indexedDB.open(e,dphelper.iDB.version(e)).onsuccess=function(e){const r=e.target.result;if(0===r.objectStoreNames.length)return;r.transaction([t],"readonly").objectStore(t).count().onsuccess=function(e){const t=e.target.result;n(t)}}}))},dphelper.setProps(r)},2121:(e,t,n)=>{"use strict";n.r(t);const r={name:"import",active:!0,subCommand:[{name:"file",version:"0.0.1",example:"dphelper.import.file([ elem, file ])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.import={file:(e,t)=>{const n=e?document.querySelector(e):document.getElementsByTagName("*");let r,o,i;for(r=0;r<n.length;r++)if(o=n[r],t)return i=new XMLHttpRequest,i.onreadystatechange=function(){4==this.readyState&&(200==this.status&&(o.innerHTML=this.responseText),404==this.status&&(o.innerHTML="Page not found."))},i.open("GET",t,!0),void i.send()}},dphelper.setProps(r)},3942:(e,t,n)=>{"use strict";n.r(t);const r={name:"json",active:!0,subCommand:[{name:"counter",version:"0.0.1",example:"dphelper.json.counter()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toCsv",version:"0.0.1",example:"dphelper.json.toCsv()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"saveCsvAs",version:"0.0.1",example:"dphelper.json.saveCsvAs()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"is",version:"0.0.1",example:"dphelper.json.is()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.json={counter:(e,t,n)=>{if(!e)return null;let r;return r=t&&n?Object.keys(e).length:e.items.filter((e=>e.key===n)).lengt,r},toCsv:e=>{const t=e,n=(e,t)=>null===t?"":t,r=Object.keys(t[0]);let o=null==t?void 0:t.map((e=>null==r?void 0:r.map((t=>JSON.stringify(e[t],n))).join(",")));return o.unshift(r.join(",")),o=o.join("\r\n"),o},saveCsvAs:(e,t)=>{let n="";const r=new Blob([e],{type:"text/csv;charset=utf-8;"}),o=document.createElement("a"),i=dphelper.date.dateTimeToString(new Date(Date.now())),a="".concat(t,"_").concat(i,".csv");n=URL.createObjectURL(r),o.setAttribute("href",n),o.setAttribute("download",a),o.style.visibility="hidden",globalThis.appendChild(o),o.click(),globalThis.removeChild(o)},is:e=>{try{JSON.parse(e)}catch(e){return!1}return!0},sanitize:e=>e,sanitizeJsonValue:e=>e?e.replace(/^"(.*)"$/,"$1").replace(/\\/g,"").replace(/\//g,"/").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/"/g,'\\"').replace(/\t/g," ").trim()+'"':'""'},dphelper.setProps(r)},3060:(e,t,n)=>{"use strict";n.r(t);const r={name:"load",active:!0,subCommand:[{name:"all",version:"0.0.1",example:"dphelper.load.all(require['context']('Scripts', true, /.(js|jsx|ts|tsx)$/))",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Load from a specific folder all file in base a specific extension",subCommand:[]},{name:"file",version:"0.0.1",example:"dphelper.load.file()",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:[]},{name:"fileToElement",version:"0.0.1",example:"dphelper.load.fileToElement()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"json",version:"0.0.1",example:"dphelper.load.json()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"remote",version:"0.0.1",example:"dphelper.load.remote()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"script",version:"0.0.1",example:"dphelper.load.script()",author:"Dario Passariello",creationDate:"20240525",lastMod:"20240525",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.load={all:e=>{e.keys().forEach((t=>window.cache[t]=e(t)))},file:e=>{var t=new XMLHttpRequest;t.open("GET",e),t.onreadystatechange=function(){return t.responseText},t.send()},fileToElement:(e,t)=>{fetch(t).then((async function(t){const n=await t.text();document.querySelector(e).innerHTML=String(n)})).catch((e=>console.error(e)))},json:e=>{if(e.match(/.(json)$/i))return n(2633)(""+e)},remote:function(e){fetch(e,{method:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",headers:arguments.length>2?arguments[2]:void 0}).then((function(e){return e})).then((function(e){return e})).catch((e=>console.error(e)))},script:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"html";e.map(((e,n)=>{$(t).append('<script src="'.concat(e,'"><\/script>'))}))}},dphelper.setProps(r)},4788:(e,t,n)=>{"use strict";n.r(t);const r={name:"log",active:!0,subCommand:[{name:"list",version:"0.0.1",example:"dphelper.log.list()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"reg",version:"0.0.1",example:"dphelper.log.reg()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"debug",version:"0.0.1",example:"dphelper.log.debug()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"error",version:"0.0.1",example:"dphelper.log.error()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.log={list:[],reg:e=>{dphelper.log.list.push({reg:e})},debug:e=>{dphelper.log.list.push({debug:e})},error:e=>{dphelper.log.list.push({error:e})}},dphelper.setProps(r)},9042:(e,t,n)=>{"use strict";n.r(t);const r={name:"math",active:!0,subCommand:[{name:"rnd",version:"0.0.1",example:"dphelper.math.rnd()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"tmr",version:"0.0.1",example:"dphelper.math.tmr()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"add",version:"0.0.1",example:"dphelper.math.add()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"sub",version:"0.0.1",example:"dphelper.math.sub()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"multi",version:"0.0.1",example:"dphelper.math.multi()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"div",version:"0.0.1",example:"dphelper.math.div()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"rem",version:"0.0.1",example:"dphelper.math.rem()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"exp",version:"0.0.1",example:"dphelper.math.exp()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isOdd",version:"0.0.1",example:"dphelper.math.isOdd()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"check if math is odd or even",subCommand:[]},{name:"float2int",version:"0.0.1",example:"dphelper.math.float2int()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"float to integer",subCommand:[]},{name:"percent",version:"0.0.1",example:"dphelper.math.percent([n,tot])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Give you the percentance between the number and is total. Example: total: 100, number:25 -> 25%",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.math={rnd:()=>Math.floor(1e5+Math.random()*dphelper.math.tmr()),tmr:()=>Math.round(dphelper.date.epoch()/1e3),add:(e,t)=>e+t,sub:(e,t)=>e-t,multi:(e,t)=>e*t,div:(e,t)=>e/t,rem:(e,t)=>e%t,exp:(e,t)=>e**t,isOdd:e=>e%2==0,float2int:e=>0|e,percent:(e,t)=>(100*e/t).toFixed(2)},dphelper.setProps(r)},9939:(e,t,n)=>{"use strict";n.r(t);const r={name:"memory",active:!0,subCommand:[{name:"lock",version:"0.0.1",example:"dphelper.memory.lock('state[key]')",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230111",type:"function",active:!0,description:"Lock a state",subCommand:[]},{name:"unlock",version:"0.0.1",example:"dphelper.memory.unlock('state[key]')",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230111",type:"function",active:!0,description:"Unlock a state",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.memory={lock:e=>{const t=null==e?void 0:e.split(".");t.length<2||Object.defineProperty(globalThis[t[0]],t[1],{writable:!1,configurable:!1})},unlock:e=>{const t=null==e?void 0:e.split(".");t.length<2||(Object.defineProperty(globalThis[t[0]],t[1],{writable:!0,configurable:!0}),console.log(Object.getOwnPropertyDescriptor(globalThis[t[0]],t[1])))}},Object.defineProperty(globalThis,"memory",{writable:!1,configurable:!1}),dphelper.setProps(r)},8719:(e,t,n)=>{"use strict";n.r(t);const r={name:"obj",active:!0,subCommand:[{name:"toArray",version:"0.0.1",example:"dphelper.obj.toArray([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"replaceNullObjects",version:"0.0.1",example:"dphelper.obj.replaceNullObjects([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"serialize",version:"0.0.1",example:"dphelper.obj.serialize([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"deSerialize",version:"0.0.1",example:"dphelper.obj.deSerialize([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"find",version:"0.0.1",example:"dphelper.obj.find([array, key, value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toXML",version:"0.0.1",example:"dphelper.obj.toXML([obj])",author:"Dario Passariello",creationDate:"20240315",lastMod:"20240315",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.obj={toArray:e=>Object.entries(e),replaceNullObjects:e=>{const t=e;return Object.keys(e).forEach((n=>{null===e[n]&&(t[n]="")})),t},serialize:e=>{if("function"==typeof e)return e.toString();if("object"==typeof e){const t={};for(const[n,r]of Object.entries(e))t[n]=dphelper.obj.serialize(r);return t}return e},deSerialize:e=>{if(e.toLowerCase().startsWith("function("))return Function('"use strict"; return '+e);if("object"==typeof e){const t={};for(const[n,r]of Object.entries(e))console.info("objectKey=".concat(n," value=").concat(r)),t[n]=dphelper.obj.deSerialize(r);return t}return e},sort:e=>Object.keys(e).sort().reduce(((t,n)=>(t[n]=e[n],t)),{}),toXML:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"@";return'<?xml version="1.0" encoding="UTF-8"?>'+(e=>new(n(9489))({attributePrefix:t}).js2xml(e))(e)},find:(e,t,n)=>{for(let r in e)if(e.hasOwnProperty(r)&&e[r][t]===n)return r}},dphelper.setProps(r)},3729:(e,t,n)=>{"use strict";n.r(t);const r={name:"observer",active:!0,subCommand:[{name:"observer",version:"0.0.1",example:"observer([stateName, callBack])",author:"Dario Passariello",creationDate:"20240523",lastMod:"20230523",type:"function",active:!0,description:"You can use like useEffect in React. Pass the name of state and the callback and automatically you connect your state with a dispatch. Every time a state mutate you run the callback",subCommand:[]},{name:"list",version:"0.0.1",example:"observer.list()",author:"Dario Passariello",creationDate:"20240616",lastMod:"20230616",type:"function",active:!0,description:"See the list of all your observer (eventListener) actually installed",subCommand:[]},{name:"remove",version:"0.0.1",example:"observer.remove([stateName, callBack, flag?])",author:"Dario Passariello",creationDate:"20240616",lastMod:"20230616",type:"function",active:!0,description:"Remove an observer",subCommand:[]}]};dphelper._list.scripts.push(r),observer=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e||t){if(!e&&t)return void console.error("Observer Error: You need to declare what state need to be monitored, Callback can't be alone!");if(e&&!t){dphelper.dispatch.set(String(e),{detail:{name:String(e)}});const t=t=>{console.groupCollapsed("%cObserver debug","color: hsl(252deg 100% 75%)"),console.debug("%cevent","color: hsl(252deg 100% 75%)",t),console.debug("%cglobalThis","color: hsl(252deg 100% 75%)",globalThis),console.debug("%cdocument","color: hsl(252deg 100% 75%)",$(globalThis.document)[0]),console.debug("%cdetail","color: hsl(252deg 100% 75%)",t.detail),console.debug("%cstate","color: hsl(252deg 100% 75%)",state),console.debug("%cwatch","color: hsl(252deg 100% 75%)","state > "+e),console.groupEnd()};return console.debug("called: ",e),void dphelper.dispatch.listen(e,(e=>{t(e)}))}if(e&&t)return"string"!=typeof e||"function"!=typeof t?void console.error('Observer Error: name of state need to be a "string" and the callback need to be a "function"'):void dphelper.dispatch.listen(e,t,n)}else console.error("Observer Error: You need to setup observer correctly, Some parameters are missed!")},Object.defineProperties(observer,{list:{value:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;jQuery._data(e,"events")}},remove:{value:e=>{e&&$(window).off(e)}}}),dphelper.setProps(r)},179:(e,t,n)=>{"use strict";n.r(t);const r={name:"path",active:!0,subCommand:[{name:"rail",version:"0.0.1",example:"dphelper.path.rail([urlSlash])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"hash",version:"0.0.1",example:"dphelper.path.hash([hashUrl])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"query",version:"0.0.1",example:"dphelper.path.query([hashQueryString])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.path={rail:()=>{const e=location.href.split("?")[0].replace(location.protocol,"").replace(location.host,"").replace(location.hash,"").split("/");if(e.length>0){return e.filter((e=>e))}},hash:()=>{const e=location.hash.replace("#","").split("/");return e.length?e.filter((e=>e)):["empty"]},query:()=>{let e;const t=[],n=location.search;return n?(n.replace("?","").split("&").map((n=>{e=n.split("="),t[e[0]]=e[1]})),t):["empty"]}},dphelper.setProps(r)},7943:(e,t,n)=>{"use strict";n.r(t);const r={name:"promise",active:!0,subCommand:[{name:"check",version:"0.0.1",example:"dphelper.promise.check(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"resolve",version:"0.0.1",example:"dphelper.promise.resolve(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.promise={check:e=>e&&"[object Promise]"===Object.prototype.toString.call(e),resolve:async e=>{const t={};if(dphelper.promise.check(e))return Promise.resolve(e).then((function(e){t.promise=e})),await t}},dphelper.setProps(r)},6332:(e,t,n)=>{"use strict";n.r(t);const r={name:"screen",active:!0,subCommand:[{name:"fullScreen",version:"0.0.2",example:"dphelper.screen.fullScreen([element])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:[]},{name:"toggle",version:"0.0.2",example:"dphelper.screen.toggle([element])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.screen={fullScreen:e=>{var t=document.querySelector(e);t.requestFullScreen?t.requestFullScreen():t.mozRequestFullScreen?e.mozRequestFullScreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen()},toggle:e=>{var t=document.querySelector(e);document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement?document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()},info:()=>[screen.width,screen.height,screen.availWidth,screen.availHeight,screen.colorDepth,screen.pixelDepth]},dphelper.setProps(r)},972:(e,t,n)=>{"use strict";n.r(t);const r={name:"scrollbar",active:!0,subCommand:[{name:"custom",version:"0.0.1",example:"dphelper.scrollbar.custom(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"indicator",version:"0.0.1",example:"dphelper.scrollbar.indicator(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"position.get",version:"0.0.1",example:"dphelper.scrollbar.position.get(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"position.set",version:"0.0.1",example:"dphelper.scrollbar.position.set(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"smooth",version:"0.0.1",example:"dphelper.scrollbar.smooth(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"scrollTo",version:"0.0.1",example:"dphelper.scrollbar.scrollTo(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.scrollbar={custom:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*",t=arguments.length>1?arguments[1]:void 0;null==t||!t.color_1||t.color_1,null==t||!t.color_1_hover||t.color_1_hover,null==t||!t.color_2||t.color_2,null==t||!t.color_3||t.color_3,null==t||!t.type||t.type,null==t||!t.behavior||t.behavior,null==t||!t.width||t.width,null==t||!t.height||t.height,null==t||!t.rounded||t.rounded,null!=t&&t.margin&&t.margin,null==t||!t.border||t.border,null==t||!t.opacity||t.opacity;const n=" ".concat(e,"::-webkit-scrollbar {\n scroll-behavior: ").concat(t.behavior,";\n width: ").concat(t.width,";\n height: ").concat(t.height,";\n }\n ").concat(e,"::-webkit-scrollbar-thumb {\n opacity: ").concat(t.opacity," !important;\n -webkit-border-radius: ").concat(t.rounded," !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n border-radius: ").concat(t.rounded," !important;\n background: ").concat(t.color_1," !important;\n background-clip: content-box !important;\n border: ").concat(t.border," solid transparent !important;\n min-height: 2px !important;\n min-width: 2px !important;\n }\n ").concat(e,"::-webkit-scrollbar-thumb:hover{\n background: ").concat(t.color_1_hover," !important;\n }\n ").concat(e,"::-webkit-scrollbar-thumb:active{\n background: ").concat(t.color_1," !important;\n background-clip: content-box !important;\n border: calc( ").concat(t.border," - 1.5px ) solid transparent !important;\n }\n ").concat(e,"::-webkit-scrollbar-track {\n background: ").concat(t.color_2,";\n border-radius: ").concat(t.rounded,";\n }\n ").concat(e,"::-webkit-scrollbar-track:hover {\n /*background: rgba(128,128,128,.15) !important;*/\n }\n ").concat(e,"::-webkit-scrollbar-track:vertical:hover {\n /* border-left: 1px solid rgba(0,0,0,.1) !important; */\n }\n ").concat(e,"::-webkit-scrollbar-track:horizontal:hover {\n /* border-top: 1px solid rgba(0,0,0,.1) !important; */\n }\n ").concat(e,"::-webkit-scrollbar-corner {\n background:rgba(0,0,0,0)\n }\n /*\n ").concat(e,"::-webkit-scrollbar-thumb:window-inactive {\n background: ").concat(t.color_3,"\n }\n */\n select::-webkit-scrollbar-thumb {\n border: 4px solid hsl(0 0% 92% / 1) !important;\n }\n select::-webkit-scrollbar-track {\n background: hsl(0 0% 92% / 1) !important;\n }\n select::-webkit-scrollbar-track:vertical,\n select::-webkit-scrollbar-track:horizontal {\n border-top: none !important;\n border-left: none !important;\n }\n "),r=document.createElement("style");document.head.appendChild(r),r.innerHTML=n},indicator:e=>{const t=document.querySelector(e.el),n=document.querySelector(".scrollindicator");if(!n){const e=document.createElement("div");e.classList.add("scrollindicator"),document.querySelector("header").appendChild(e),e.style.cssText="\n height:5px;\n background:#65c45c;\n position:absolute;\n bottom:0;\n left:0;\n z-index:2\n "}if(!e.el&&n)return n.style.width="0%",null;try{const e=document.querySelector(".scrollindicator");t.addEventListener("scroll",(function(t){e.style.width="0%";const n=Number(this.scrollTop||this.scrollTop),r=Number(this.scrollHeight-this.clientHeight),o=Math.min(Math.max(n/r*100),100);e.style.width=o+"%",e.click()})),t.addEventListener("popstate",(function(t){e.style.width=0}))}catch(e){return}return null},position:{set:e=>{const t=[$(e).scrollTop(),$(e).scrollLeft()];null!=t[0]&&null!=t[1]&&store.set(e,t)},get:e=>{if(!store.get(e))return;const t=JSON.parse(store.get(e));$(e).scrollTop(t[0]),$(e).scrollLeft(t[1])}},smooth:(e,t,n)=>{e===document&&(e=document.scrollingElement||document.documentElement||document.body.parentNode||document.body);let r=!1,o=e.scrollTop;const i=e===document.body&&document.documentElement?document.documentElement:e;function a(n){n.preventDefault();const a=function(e){return e.detail?e.wheelDelta?e.wheelDelta/e.detail/40*(e.detail>0?1:-1):-e.detail/3:e.wheelDelta/120}(n);o+=-a*t,o=Math.max(0,Math.min(o,e.scrollHeight-i.clientHeight)),r||s()}function s(){r=!0;const t=(o-e.scrollTop)/n;e.scrollTop+=t,Math.abs(t)>.5?l(s):r=!1}e.addEventListener("mousewheel",a,{passive:!1}),e.addEventListener("DOMMouseScroll",a,{passive:!1});const l=dphelper.Window.animationframe()},scrollTo:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=document.querySelector(e),o=document.querySelector(t);r&&o&&n&&r.scrollTo({top:o.offsetTop,behavior:"smooth"})}},dphelper.setProps(r)},1821:(e,t,n)=>{"use strict";n.r(t);const r={name:"security",active:!0,subCommand:[{name:"uuid",version:"0.0.1",example:"dphelper.security.uuid(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[{name:"v5",version:"0.0.1",example:"dphelper.security.uuid.v5()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]},{name:"hashPass",description:"Give you the crypto digest SHA-1 starting from user and password values",example:"dphelper.security.hashPass(user, password)",version:"0.0.1",type:"function",active:!0,subCommand:[]},{name:"crypt",description:"Crypt your message using a secret_key in a default format AES",example:"dphelper.security.crypt(data, secret_key, [optional mode])",version:"0.0.1",type:"function",active:!0,subCommand:[]},{name:"deCrypt",description:"Decrypt your message using a secret_key in a default format AES",example:"dphelper.security.deCrypt(data, secret_key, [optional mode])",version:"0.0.1",type:"function",active:!0,subCommand:[]},{name:"AES_KeyGen",description:"Generate a key based off AES algorithm",example:"dphelper.security.AES_KeyGen(secret_key)",version:"0.0.1",type:"function",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r);const o=n(8854);dphelper.security={uuid:{v5:()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},hashPass:async(e,t)=>{const n=(new TextEncoder).encode(t.toLowerCase()+e.toLowerCase()),r=await crypto.subtle.digest("SHA-1",n),o=Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("");return Promise.all(o)},crypt:function(e,t){return o[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"AES"].encrypt(e,t).toString()},deCrypt:function(e,t){return o[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"AES"].decrypt(e,t).toString(o.enc.Utf8)},AES_KeyGen:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"test";var t=o.lib.WordArray.random(16);return o.PBKDF2(e,t,{keySize:16,iterations:1e3}).toString()}},dphelper.setProps(r)},278:(e,t,n)=>{"use strict";n.r(t);const r={name:"shortcut",active:!0,subCommand:[{name:"keys",version:"0.0.1",example:"dphelper.shortcut.keys([e, trigger])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.shortcut={keys:(e,t)=>{const n=e.which?e.which:e.keyCode;e={tes:console.debug("try")},t||(t={data:[{key:"83",ctrl:!0,active:!0,description:"CTRL+S",function:""},{key:"27",ctrl:!1,active:!0,description:"ESC",element:"",function:""},{key:"80",ctrl:!0,active:!0,description:"CTRL+P",element:"",function:"function(){ Print }"}]}),t.map((t=>{if((e.ctrlKey||e.metaKey&&!0===t.ctrl)&&n===parseInt(t.key)&&!0===t.active)return t.element&&t.element.click(),t.function&&JSON.stringify(t.function),void e.preventDefault()}))}},dphelper.setProps(r)},5089:(e,t,n)=>{"use strict";n.r(t);const r={name:"socket",active:!0,subCommand:[{name:"info",version:"0.0.1",example:"dphelper.socket.info(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"start",version:"0.0.1",example:"dphelper.socket.start(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"conn",version:"0.0.1",example:"dphelper.socket.conn(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"connect",version:"0.0.1",example:"dphelper.socket.connect(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"open",version:"0.0.1",example:"dphelper.socket.open(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"send",version:"0.0.1",example:"dphelper.socket.send(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"receive",version:"0.0.1",example:"dphelper.socket.receive(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"keepAlive",version:"0.0.1",example:"dphelper.socket.keepAlive(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"check",version:"0.0.1",example:"dphelper.socket.check()",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Start check how many websocket conection are opens",subCommand:[]},{name:"list",version:"0.0.1",example:"dphelper.socket.list()",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"List of all websocket connection in realtime",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.socket={info:()=>"Created by Dario Passariello",start:(e,t)=>{dphelper.socket.connect(t),dphelper.socket.receive(e)},conn:(e,t)=>{if(!e||!t)return void console.debug("please use connect!");const n=new WebSocket(t);return n.binaryType="blob",[n,e]},connect:e=>{e&&dphelper.socket.open(dphelper.security.uuid.v5(),e)},open:(e,t)=>{e&&(dphelper.socket.connection=dphelper.socket.conn(e,t),dphelper.socket.connection[0].onopen=()=>dphelper.log.reg(e+" connected"),dphelper.socket.connection[0].onclose=e=>dphelper.log.debug(e.wasClean?"Disconnected":"Connection break: "+(e.reason||e.code)),dphelper.socket.connection[0].onerror=e=>dphelper.log.error(e.message))},send:function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"reg";if(null===(t=dphelper.socket.connection)||void 0===t||!t[1]||!e)return;const r=dphelper.socket.connection[0],o=dphelper.socket.connection[1],i='{"'.concat(n,'":"(').concat(o,":").concat(e,')"}');r.send(i)},ping:()=>{var e;if(null===(e=dphelper.socket.connection)||void 0===e||!e[1])return;const t=dphelper.socket.connection[0];dphelper.socket.connection[1];t.send('{"debug":"__ping__"}')},receive:e=>{var t;null!==(t=dphelper.socket.connection)&&void 0!==t&&t[1]&&(dphelper.ws=dphelper.socket.connection[0],dphelper.ws.addEventListener("message",(function(t){try{const n=Object.values(JSON.parse(t.data));return dphelper.log.reg(t.data),$(e)&&$(e).prepend(n[0]+"<br/>"),n[0]}catch(e){}})))},keepAlive:()=>{let e;const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5e3;dphelper.socket.ping(),e=setTimeout((()=>{}),t)};dphelper.ws.onopen=function(){setInterval(t,3e4)},dphelper.ws.onmessage=function(t){try{if("__ping__"===Object.values(JSON.parse(t.data))[0])return void clearTimeout(e)}catch(e){}}},check:()=>{const e=WebSocket.prototype.send;globalThis.sockets=[],WebSocket.prototype.send=function(){-1===globalThis.sockets.indexOf(this)&&globalThis.sockets.push(this);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.call(this,...n)}},list:()=>globalThis.sockets},dphelper.setProps(r),dphelper.socket.check()},4836:(e,t,n)=>{"use strict";n.r(t);const r={name:"state",active:!0,subCommand:[{name:"state",version:"0.0.2",example:"state.[key] = [value]",author:"Dario Passariello",creationDate:"20210101",lastMod:"20230111",type:"function",active:!0,description:"",subCommand:[{name:"list",type:"function",version:"0.0.1",example:"state.list",description:"show all states out of proxy",author:"Dario Passariello",creationDate:"20240607",lastMod:"20240607",active:!0,subCommand:[]},{name:"remove",type:"function",version:"0.0.1",example:"state.remove([state])",description:"remove a state",author:"Dario Passariello",creationDate:"20240607",lastMod:"20240607",active:!0,subCommand:[]}]}]};dphelper._list.scripts.push(r);const o=[],i={event(e){dphelper.dispatch.set(String(e),{detail:{name:String(e)}})},set:(e,t,n)=>(e[t]||o.push(t),i.event(t),e[t]=n,state.mex({property:t,value:n}),!0),get:function(e,t){return"object"===t&&null!==t?new Proxy(e[t],i):e[t]}};Object.defineProperty(globalThis,"state",{value:new Proxy(state,i),enumerable:!0,configurable:!1}),Object.defineProperties(state,{list:{get(){console.info(Object.assign({},state))}},remove:{value:e=>{e in state?(delete state[e],console.warn("State '".concat(e,"' deleted"))):console.error("'".concat(e,"' not exist"))},writable:!1,configurable:!1},mex:{value:e=>{$("#dpConsole").append('<span>\n <span style="color: green">State '.concat(e.property,' changed: <span style="color: yellow">"').concat(e.value,'"</span></span>\n </span>'))},writable:!1,configurable:!1}}),dphelper.setProps(r)},7100:(e,t,n)=>{"use strict";n.r(t);const r={name:"store",active:!0,subCommand:[{name:"get",version:"0.0.1",example:"store.get(..)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"set",version:"0.0.1",example:"store.set(..)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"delete",version:"0.0.1",example:"store.delete(..)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"clearAll",version:"0.0.1",example:"store.clearAll()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"quota",version:"0.0.1",example:"store.quota()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"size",version:"0.0.1",example:"store.size()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),store={get:e=>{if(e)return localStorage.getItem(e)},set:(e,t)=>{e&&t&&localStorage.setItem(e,JSON.stringify(t))},delete:e=>{e&&localStorage.removeItem(e)},clearAll:()=>{localStorage.clear()},quota:()=>{"storage"in navigator&&"estimate"in navigator.storage&&navigator.storage.estimate().then((e=>{let{usage:t,quota:n}=e;console.debug("Using ".concat(t/1024," out of ").concat(n/1024," Mb."))}))},size:()=>{const e={};let t,n,r=0;for(n in localStorage)localStorage.hasOwnProperty(n)&&(t=localStorage[n].length,r+=t,e[n.substr(0,50)]=t);return e._total=r,e}},Object.defineProperty(globalThis,"store",{value:new Proxy(store,{}),writable:!1,configurable:!1}),dphelper.setProps(r)},5532:(e,t,n)=>{"use strict";n.r(t);const r={name:"svg",active:!0,subCommand:[{name:"init",version:"0.0.1",example:"dphelper.svg.init(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"check",version:"0.0.1",example:"dphelper.svg.check(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"update",version:"0.0.1",example:"dphelper.svg.update(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"getCurve",version:"0.0.1",example:"dphelper.svg.getCurve(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"getIntersection",version:"0.0.1",example:"dphelper.svg.getIntersection(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"setConnector",version:"0.0.1",example:"dphelper.svg.setConnector(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"removeConnection",version:"0.0.1",example:"dphelper.svg.removeConnection(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"makeScrollable",version:"0.0.1",example:"dphelper.svg.makeScrollable(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"makeDraggable",version:"0.0.1",example:"dphelper.svg.makeDraggable(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"toggle",version:"0.0.1",example:"dphelper.svg.toggle(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"convert",version:"0.0.1",example:"dphelper.svg.convert([Object])",author:"Dario Passariello",creationDate:"20190101",lastMod:"20240401",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.svg={init:function(e,t,n,r){$(e).find("svg")&&dphelper.svg_removeConnection(e),t=dphelper.svg.setConnector(t[0],t[1]),n=dphelper.svg.setConnector(n[0],n[1]);const o=e.getBoundingClientRect(),i="http://www.w3.org/2000/svg",a=10*e.offsetWidth,s=10*e.offsetHeight,l=document.createElementNS(i,"svg");l.setAttribute("xmlns",i),l.setAttributeNS(null,"id","pathConnection"),l.setAttributeNS(null,"viewBox","0 0 "+a+" "+s),l.setAttributeNS(null,"width",String(a)),l.setAttributeNS(null,"height",String(s)),l.style.display="block";const c=document.createElementNS(i,"rect");let u=t.getBoundingClientRect();c.setAttributeNS(null,"x",String(u.left-o.left)),c.setAttributeNS(null,"y",String(u.top-o.top)),c.setAttributeNS(null,"width",u.width),c.setAttributeNS(null,"height",u.height),l.appendChild(c);const p=document.createElementNS(i,"rect");u=n.getBoundingClientRect(),p.setAttributeNS(null,"x",String(u.left-o.left)),p.setAttributeNS(null,"y",String(u.top-o.top)),p.setAttributeNS(null,"width",u.width),p.setAttributeNS(null,"height",u.height),l.appendChild(p);const d=document.createElementNS(i,"path");d.setAttributeNS(null,"id","connection"),d.setAttributeNS(null,"marker-end","url(#head)"),l.appendChild(d),e.appendChild(l),dphelper.svg.update($(c)[0],$(p)[0],$("#connection")[0]),"function"==typeof r&&r(t,n)},check:()=>{if(void 0===dphelper.svg.check.supported){const e=document.body.appendChild(document.createElement("div"));e.innerHTML='<v:shape id="vml_flag1" adj="1" />';const t=e.firstChild;t.style.behavior="url(#default#VML)",dphelper.svg.check.supported=!t||"object"==typeof t.adj,e.parentNode.removeChild(e)}return dphelper.svg.check.supported},update:function(e,t,n){const r=parseFloat(e.getAttribute("x")),o=parseFloat(e.getAttribute("y")),i=parseFloat(t.getAttribute("x")),a=parseFloat(t.getAttribute("y")),s=parseFloat(e.getAttribute("width"))/2,l=parseFloat(e.getAttribute("height"))/2,c=parseFloat(t.getAttribute("width"))/2,u=parseFloat(t.getAttribute("height"))/2,p=r+s,d=o+l,h=i+c,f=a+u,m=h-p,v=f-d,g=dphelper.svg.getIntersection(m,v,p,d,s,l),y=dphelper.svg.getIntersection(-m,-v,h,f,c,u),b=y[0]-g[0],x=dphelper.svg.getCurve(g,y,b);n.setAttributeNS(null,"d","M"+p+","+d+x+h+","+f)},getCurve:function(e,t,n){const r=n/2;return" C"+(r+e[0])+","+e[1]+" "+(t[0]-r)+","+t[1]+" "},getIntersection:function(e,t,n,r,o,i){return Math.abs(t/e)<i/o?[n+(e>0?o:-o),r+t*o/Math.abs(e)]:[n+e*i/Math.abs(t),r+(t>0?i:-i)]},setConnector:function(e,t){let n;const r=$('<span class="connector"></span>');switch($(e).css("position","relative"),r.css({position:"absolute",width:"5px",height:"5px"}),t){case"top":n={left:"50%",top:"2.5px",marginLeft:"2.5px"};break;case"right":n={top:"50%",right:"2.5px",marginTop:"-2.5px"};break;case"bottom":n={left:"50%",bottom:"-2.5px",marginLeft:"2.5px"};break;case"left":n={top:"50%",left:"-2.5px",marginTop:"-2.5px"};break;default:n={}}return r.css(n),$(e).append(r),$(r)[0]},removeConnection:function(e){$(e).find("svg#pathConnection").each((function(e,t){$(t).remove()}))},makeScrollable:function(e,t,n,r,o,i){const a=e.getBoundingClientRect(),s=[n,r],l=s.length,c=[o,i],u=[];for(let e=0;e<l;e++)u[e]=s[e].getBoundingClientRect(),c[e].setAttributeNS(null,"x",u[e].left-a.left),c[e].setAttributeNS(null,"y",u[e].top-a.top),c[e].setAttributeNS(null,"width",u[e].width),c[e].setAttributeNS(null,"height",u[e].height);dphelper.svg.update($(o)[0],$(i)[0],$("#connection")[0])},makeDraggable:function(e){const t=e.target;function n(n){const r=t.getScreenCTM();return{x:(e.clientX-r.e)/r.a,y:(e.clientY-r.f)/r.d}}let r,o;t.addEventListener("mousedown",(function(e){e.target.classList.contains("draggable")&&(r=e.target,o=n(e),o.x-=parseFloat(r.getAttributeNS(null,"x")),o.y-=parseFloat(r.getAttributeNS(null,"y")))})),t.addEventListener("mousemove",(function(e){if(r){const t=n(e);r.setAttributeNS(null,"x",t.x-o.x),r.setAttributeNS(null,"y",t.y-o.y),dphelper.svg.update()}})),t.addEventListener("mouseup",(function(e){r=null}))},toggle:function(e,t,n,r){$(e.target).prop("checked")&&$(n).length&&$(r).length?(dphelper.cookie.set($(e.target).attr("id"),1,365),dphelper.svg_initConnection(t[0],[$(n)[0],"right"],[$(r)[0],"left"],(function(e,n){$("#parts-left-body").on("scroll",(function(r){dphelper.svg.makeScrollable($(t)[0],$("#parts-left-body")[0],$(e)[0],$(n)[0],$("#parts svg rect")[0],$("#parts svg rect")[1])}))}))):(dphelper.svg_removeConnection(t),$("#parts-left-body").unbind("scroll"),dphelper.cookie.set($(e.target).attr("id"),0,365))},convert:e=>{let{children:t,active:n=!0,size:r=[1920,1080],fit:o=["100%","100%"],preserveAspectRatio:i="none",style:a="width:".concat(o[0],"; height:").concat(o[1]),zoom:s=1}=e;if(!t)return"Please pass ID of element for SVG conversion";if(n){const e=$(t).clone(),n='\n <svg\n viewBox="0 0 '.concat(r[0]," ").concat(r[1],'"\n preserveAspectRatio="').concat(i,'"\n xmlns="http://www.w3.org/2000/svg"\n style="').concat(a,"; zoom:").concat(s,'"\n >\n <foreignObject\n x="0"\n y="0"\n width="').concat(o[0],'"\n height="').concat(o[1],'"\n style="').concat(a,"; zoom:").concat(s,'"\n >\n </foreignObject>\n </svg >\n ');$(t).html(n).find("foreignObject").html(e)}}},dphelper.svg.check(),dphelper.setProps(r)},9633:(e,t,n)=>{"use strict";n.r(t);const r={name:"system",active:!0,subCommand:[{name:"multiSplit",version:"0.0.1",example:"dphelper.system.multiSplit()",author:"Dario Passariello",creationDate:"20231121",lastMod:"20231121",type:"system",active:!0,description:"Run only one time when you load your App ... extend the .split with array as argument (example.split([',', ':', ';', '?', '/'])[0])",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.system={multiSplit:()=>{const e=String.prototype.split;String.prototype.split=function(){if(arguments[0].length>0&&"[object Array]"==Object.prototype.toString.call(arguments[0]))return function(e,t){for(var n=t[0],r=1;r<t.length;++r)e=e.split(t[r]).join(n);return e.split(n)}(this,arguments[0]);const t=arguments;return e.apply(this,t)}}},dphelper.setProps(r)},3564:(e,t,n)=>{"use strict";n.r(t);const r={name:"terminal",active:!0,subCommand:[{name:"terminal",version:"0.0.1",example:"dphelper.terminal([dom])",author:"Dario Passariello",creationDate:"20240525",lastMod:"20240525",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.terminal=function(e){if(!e)throw Error("Parent dom element required!");let t=!1,n=console.log,r=console.info,o=console.warn,i=console.error;const a=document.getElementById("terminal"),s=function(e){var t=Array.prototype.slice.call(arguments[1]).join(" ");t=e===l.WARN?'<font color="#FF6600">* WARN: '+t:e===l.ERR?'<font color="#FF0000">* ERR: '+t:"* "+t,this.domElement.innerHTML+=t+"<br/>",a&&(a.scrollTop=a.scrollHeight)},l={LOG:0,INFO:1,WARN:2,ERR:3};this.autoScroll=!0,this.disableConsoleLogging=!1;var c=document.createElement("div");c.id="debugConsole",e.appendChild(c),this.domElement=c,this.initKeyMappings=function(){t?console.warn("DebugConsole: keys already mapped!"):(state.toggleConsole=function(){this.visible=!this.visible}.bind(this),t=!0)},this.overrideConsole=function(){console.log=function(){this.disableConsoleLogging||(s.call(this,l.LOG),n.apply(console))}.bind(this),console.info=function(){state.disableConsoleLogging||(s.call(this,l.INFO),r.apply(console))}.bind(this),console.warn=function(){state.disableConsoleLogging||(s.call(this,l.WARN),o.apply(console))}.bind(this),console.error=function(){state.disableConsoleLogging||(s.call(this,l.ERR),i.apply(console))}.bind(this),onerror=function(e,t,n){var r=["".concat(e,' in <a href="').concat(t,"\" target='_blank'>").concat(t.split("/").pop(),"</a>: ").concat(n)];return console.error(r.join("")),!1}},this.overrideConsole(),this.clear=function(){this.domElement.innerHTML=""},Object.defineProperties(this,{visible:{get:function(){return""===this.domElement.style.display},set:function(e){e&&(this.domElement.style.display="",this.domElement.scrollTop=this.domElement.scrollHeight)},configurable:!0},top:{get:function(){return this.domElement.style.top},set:function(e){this.domElement.style.top=e}},left:{get:function(){return this.domElement.style.left},set:function(e){this.domElement.style.left=e}},bottom:{get:function(){return this.domElement.style.bottom},set:function(e){this.domElement.style.bottom=e}},right:{get:function(){return this.domElement.style.right},set:function(e){this.domElement.style.right=e}},width:{get:function(){return this.domElement.style.width},set:function(e){this.domElement.style.width=e}},height:{get:function(){return this.domElement.style.height},set:function(e){this.domElement.style.height=e}}})},dphelper.setProps(r)},5707:(e,t,n)=>{"use strict";n.r(t);const r={name:"text",active:!0,subCommand:[{name:"trim",version:"0.0.1",example:"dphelper.text.trim(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"capitalize",version:"0.0.1",example:"dphelper.text.capitalize(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"lower",version:"0.0.1",example:"dphelper.text.lower(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"upper",version:"0.0.1",example:"dphelper.text.upper(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"nl2br",version:"0.0.1",example:"dphelper.text.nl2br(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"sanitize",version:"0.0.1",example:"dphelper.text.sanitize(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"camelCase",version:"0.0.1",example:"dphelper.text.camelCase(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[{name:"toSpace",version:"0.0.1",example:"dphelper.text.camelCase.toSpace(...)",type:"function",active:!0,description:"",subCommand:[]},{name:"toUnderscore",version:"0.0.1",example:"dphelper.text.camelCase.toUnderscore(...)",type:"function",active:!0,description:"",subCommand:[]}]},{name:"fitContainer",version:"0.0.1",example:"dphelper.font.fitContainer([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.text={trim:(e,t,n,r)=>e.charAt(0)===t?e.substring(n,r):e,capitalize:e=>e.toLowerCase().replace(/\b\w/g,(function(e){return e.toUpperCase()})),lower:e=>e.toLowerCase(),upper:e=>e.toUpperCase(),nl2br:e=>e.replace(/(?:\r\n|\r|\n)/g,"<br>"),sanitize:e=>e.replace(/<(|\/|[^>\bi]|\/[^>bi]|[^/>][^>]+|\/[^>][^>]+)>/g,""),camelCase:{toSpace:e=>e.replace(/([A-Z])/g," $1").replace(/^./,(function(e){return e.toUpperCase()})),toUnderscore:e=>e.replace(/\.?([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")},fitContainer:e=>{e&&dphelper.addListenerMulti(window,"load resize",(()=>{!function(e){const t=document.querySelectorAll(e),n=t.length;if(!(n<=0))for(let e=0;e<n;e++){const n=.05*t[e].offsetWidth;t[e].style.fontSize=n+"px"}}(e)}))}},dphelper.setProps(r)},407:(e,t,n)=>{"use strict";n.r(t);const r={name:"timer",active:!0,subCommand:[{name:"sleep",version:"0.0.1",example:"dphelper.timer.sleep(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"percentage",version:"0.0.1",example:"dphelper.timer.percentage(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.timer={sleep:e=>new Promise((t=>setTimeout(t,e))),percentage:(e,t)=>{function n(e){const t=e.split(":");return 3600*t[0]+60*t[1]+t[2]}return(100*n(e)/n(t)).toFixed(2)}},dphelper.setProps(r)},7553:(e,t,n)=>{"use strict";n.r(t);const r={name:"tools",active:!0,subCommand:[{name:"byteSize",description:"Give you the total in 'Kb', 'Mb', 'Gb', 'Tb', 'Pb', 'Eb', 'Zb', 'Yb' starting from bytes",example:"dphelper.tools.byteSize(bytes)",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"hashPass",description:"",example:"dphelper.tools.hashPass(number, total)",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"zIndex",description:"",example:"dphelper.tools.zIndex()",version:"0.0.1",author:"Dario Passariello",creationDate:"20240807",lastMod:"20240807",type:"function",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.tools={byteSize:e=>{const t=1024;if(Math.abs(e)<t)return e+"b";const n=["Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"];let r=-1;do{e/=t,++r}while(Math.abs(e)>=t&&r<n.length-1);return e.toFixed(1)+n[r]},hashPass:async(e,t)=>{const n=(new TextEncoder).encode(t.toLowerCase()+e.toLowerCase()),r=await crypto.subtle.digest("SHA-1",n);return Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("")},zIndex:()=>[...document.querySelectorAll("body *")].map((e=>parseFloat(getComputedStyle(e).zIndex))).reduce(((e,t)=>t>e?t:e),1)},dphelper.setProps(r)},801:(e,t,n)=>{"use strict";n.r(t);const r={name:"translators",active:!0,subCommand:[{name:"convertMatrixToScale",version:"0.0.1",example:"dphelper.translators.convertMatrixToScale({value})",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.translators={convertMatrixToScale:e=>{const t=(e=(e=(e=e.split("(")[1]).split(")")[0]).split(","))[0],n=e[1];return Math.sqrt(t*t+n*n)}},dphelper.setProps(r)},878:(e,t,n)=>{"use strict";n.r(t);const r={name:"trigger",active:!0,subCommand:[{name:"click",version:"0.0.1",example:"dphelper.trigger.click(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"change",version:"0.0.1",example:"dphelper.trigger.change(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.trigger={click:e=>{const t=document.querySelector(e);t&&t.click()},change:e=>{const t=document.querySelector(e),n=new Event("input",{bubbles:!0});n.simulated=!0,dphelper.dispatch.set(n),t.dispatchEvent(n)}},dphelper.setProps(r)},6464:(e,t,n)=>{"use strict";n.r(t);const r={name:"type",active:!0,subCommand:[{name:"of",version:"0.0.1",example:"dphelper.type.of(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"instOfObj",version:"0.0.1",example:"dphelper.type.instOfObj(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isNaN",version:"0.0.1",example:"dphelper.type.isNaN(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isPrime",version:"0.0.1",example:"dphelper.type.isPrime(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]},{name:"isBool",version:"0.0.1",example:"dphelper.type.isBool(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.type={of:e=>typeof e,instOfObj:e=>e instanceof Object,isNaN:e=>function(t){return!e(t)},isPrime:e=>{let t=e/2,n=!0;for(;t>1;)e%t==0?(n=!1,t=0):t-=1;return!0===n},isBool:e=>!e||null==e.length||"1"===e},dphelper.setProps(r)},4134:(e,t,n)=>{"use strict";n.r(t);const r={name:"UI",active:!0,subCommand:[{name:"input",version:"0.0.1",example:"dphelper.UI.input(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.ui={input:()=>null,button:()=>null,textarea:()=>null,select:()=>null,dataset:()=>null,fieldset:()=>null,legend:()=>null,code:()=>null},dphelper.setProps(r)},4088:(e,t,n)=>{"use strict";n.r(t);const r={name:"window",active:!0,subCommand:[{name:"enhancement",version:"0.0.1",example:"dphelper.window.enhancement()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Use only one time at end of application",subCommand:[]},{name:"center",version:"0.0.1",example:"dphelper.window.center({ url, title, name, w, h })",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Use to center popup to screen",subCommand:[]},{name:"onBeforeUnLoad",version:"0.0.1",example:"dphelper.window.onBeforeUnLoad()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"message during leave the site",subCommand:[]},{name:"purge",version:"0.0.1",example:"dphelper.window.purge()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Purge from memory",subCommand:[]},{name:"stopZoomWheel",version:"0.0.1",example:"dphelper.window.stopZoomWheel(e)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Stop Zoom Generated by Mouse Wheel",subCommand:[]},{name:"setZoom",version:"0.0.1",example:"dphelper.window.setZoom([el,1])",author:"Dario Passariello",creationDate:"20240727",lastMod:"20220727",type:"function",active:!0,description:"",subCommand:[]},{name:"getZoom",version:"0.0.1",example:"dphelper.window.getZoom([el])",author:"Dario Passariello",creationDate:"20240727",lastMod:"20220727",type:"function",active:!0,description:"",subCommand:[]}]};dphelper._list.scripts.push(r),dphelper.window={enhancement:()=>{window.offScreenBuffering="auto",dphelper.window.animationframe()},animationframe:()=>{window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame},center:e=>{let{url:t,title:n,name:r,w:o,h:i}=e;const a=void 0!==window.screenLeft?window.screenLeft:window.screenX,s=void 0!==window.screenTop?window.screenTop:window.screenY,l=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,c=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,u=l/window.screen.availWidth,p=(l-o)/2/u+a,d=(c-i)/2/u+s,h=window.open(t,n,"\n scrollbars=yes,\n width=".concat(o/u,",\n height=").concat(i/u,",\n top=").concat(d,",\n left=").concat(p,"\n "));window.onfocus=()=>h.focus()},onBeforeUnLoad:e=>{let t=!1,n=!1;const r="You have made some changes which you might want to save.",o=e=>(e.preventDefault(),r),i=document.querySelector(e.target);i&&i.addEventListener("input",(t=>{""!==e.target.value?addEventListener("beforeunload",o,{capture:!0}):removeEventListener("beforeunload",o,{capture:!0})}));!1===n&&(document.body.addEventListener("click",(n=>{if("IMG"===e.target.tagName&&!0===t){if(!0===confirm(r))return t=!1;n.preventDefault()}})),n=!0),addEventListener("popstate",(e=>{if(!0===t){return!0===confirm(r)?t=!1:(e.stopImmediatePropagation(),e.preventDefault(),r)}})),window.onbeforeunload=e=>{}},purge:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;setTimeout((()=>{if(void 0===e)return null;let t=e.attributes;if(t){const n=t.length;for(let r=0;r<n;r+=1){const n=t[r].name;"function"==typeof e[n]&&(e[n]=null),void 0===e[n]&&(e[n]=null)}}if(t=e.childNodes,t){const n=t.length;for(let t=0;t<n;t+=1)dphelper.purge(e.childNodes[t])}}),arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4)},stopZoomWheel:e=>{addEventListener("wheel",(e=>{e.ctrlKey&&e.preventDefault()}),{passive:!1}),addEventListener("keydown",(e=>{const t=dphelper.event.keys(e);["+","-","="].includes(t.key)&&t.ctrl&&e.preventDefault()}))},setZoom:function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e<0&&(e=1),$(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"html").css("zoom",e),"New zoom value: ".concat(100*e,"% (css: ").concat(e,")")},getZoom:function(){return Number($(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"html").css("zoom"))}},dphelper.setProps(r)},9987:()=>{},5219:()=>{},6338:()=>{},6238:()=>{},1639:()=>{cache={}},7605:()=>{dphelper={}},9427:()=>{$={},jQuery={}},6011:()=>{observer={}},1272:()=>{state={}},852:()=>{store={}},1223:(e,t,n)=>{var r={"./@/over.ts":6687,"./@/setProps.ts":8123,"./anchor.ts":4273,"./array/index.ts":7004,"./avoid.ts":3763,"./browser.ts":5122,"./cache/index.ts":6775,"./color.ts":2421,"./console/index.ts":7352,"./console/mapped.ts":6329,"./coods.ts":4200,"./cookie.ts":9514,"./credits.ts":4296,"./date.ts":7828,"./disable.ts":2278,"./dispatch/index.ts":6309,"./element.ts":8650,"./event.ts":690,"./form.ts":3714,"./format.ts":4023,"./function.ts":1388,"./iDB.ts":4603,"./import.ts":2121,"./json.ts":3942,"./load.ts":3060,"./log.ts":4788,"./math.ts":9042,"./memory.ts":9939,"./obj.ts":8719,"./observer/index.ts":3729,"./path.ts":179,"./promise.ts":7943,"./screen.ts":6332,"./scrollbar.ts":972,"./security/index.ts":1821,"./shortcut.ts":278,"./socket.ts":5089,"./state/index.ts":4836,"./store/index.ts":7100,"./svg.ts":5532,"./system.ts":9633,"./terminal.ts":3564,"./text.ts":5707,"./timer.ts":407,"./tools.ts":7553,"./translators.ts":801,"./trigger.ts":878,"./type.ts":6464,"./ui.ts":4134,"./window.ts":4088};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=1223},2633:(e,t,n)=>{var r={"./@/over":6687,"./@/over.ts":6687,"./@/setProps":8123,"./@/setProps.ts":8123,"./anchor":4273,"./anchor.ts":4273,"./array":7004,"./array/":7004,"./array/index":7004,"./array/index.ts":7004,"./avoid":3763,"./avoid.ts":3763,"./browser":5122,"./browser.ts":5122,"./cache":6775,"./cache/":6775,"./cache/index":6775,"./cache/index.ts":6775,"./color":2421,"./color.ts":2421,"./console":7352,"./console/":7352,"./console/index":7352,"./console/index.ts":7352,"./console/mapped":6329,"./console/mapped.ts":6329,"./coods":4200,"./coods.ts":4200,"./cookie":9514,"./cookie.ts":9514,"./credits":4296,"./credits.ts":4296,"./date":7828,"./date.ts":7828,"./disable":2278,"./disable.ts":2278,"./dispatch":6309,"./dispatch/":6309,"./dispatch/index":6309,"./dispatch/index.ts":6309,"./element":8650,"./element.ts":8650,"./event":690,"./event.ts":690,"./form":3714,"./form.ts":3714,"./format":4023,"./format.ts":4023,"./function":1388,"./function.ts":1388,"./iDB":4603,"./iDB.ts":4603,"./import":2121,"./import.ts":2121,"./json":3942,"./json.ts":3942,"./load":3060,"./load.ts":3060,"./log":4788,"./log.ts":4788,"./math":9042,"./math.ts":9042,"./memory":9939,"./memory.ts":9939,"./obj":8719,"./obj.ts":8719,"./observer":3729,"./observer/":3729,"./observer/index":3729,"./observer/index.ts":3729,"./path":179,"./path.ts":179,"./promise":7943,"./promise.ts":7943,"./screen":6332,"./screen.ts":6332,"./scrollbar":972,"./scrollbar.ts":972,"./security":1821,"./security/":1821,"./security/index":1821,"./security/index.ts":1821,"./shortcut":278,"./shortcut.ts":278,"./socket":5089,"./socket.ts":5089,"./state":4836,"./state/":4836,"./state/index":4836,"./state/index.ts":4836,"./store":7100,"./store/":7100,"./store/index":7100,"./store/index.ts":7100,"./svg":5532,"./svg.ts":5532,"./system":9633,"./system.ts":9633,"./terminal":3564,"./terminal.ts":3564,"./text":5707,"./text.ts":5707,"./timer":407,"./timer.ts":407,"./tools":7553,"./tools.ts":7553,"./translators":801,"./translators.ts":801,"./trigger":878,"./trigger.ts":878,"./type":6464,"./type.ts":6464,"./ui":4134,"./ui.ts":4134,"./window":4088,"./window.ts":4088};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=2633},477:()=>{},4787:e=>{"use strict";e.exports=JSON.parse('{"info":{"title":"List","description":"Complete list of tools"},"categories":["3dparty","system","financial","memory","numbers","time","path","file","forms","ui","other"]}')},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"dphelper","version":"1.2.4","displayName":"dphelper","description":"dphelper devtools | tools, store and state management brave developers by Dario Passariello","copyright":"Dario Passariello","license":"MIT","relaseType":"gold","port":3000,"code":"vulcano","codeRelease":"dphelper","folder":"/","appPort":"","main":"./index.tsx","target":"web","logo":"","typeID":0,"theme":"default","deprecated":false,"targets":"web","preferGlobal":true,"language":{"en":{}},"app":{"port":3000,"code":"dphelper","name":"dphelper","type":"beta","folder":"/","appPort":"","main":"index.tsx","target":"web","proxy":{},"api":{"dir":"/api/","local":"//api.biglogic.ca","prod":"//api.biglogic.ca","dev":"//api.biglogic.ca"},"socket":{"test":"https://ws.biglogic.ca","dev":"https://ws.biglogic.ca"},"url":{"dev":"http://localhost"},"info":{"type":"gold","code":"dphelper","codeRelease":"dphelper"},"cdn":{}},"homepage":"https://github.com/passariello/dphelper","author":{"name":"Dario Passariello","url":"https://github.com/passariello/","email":"dariopassariello@gmail.com"},"support":{"name":"Dario Passariello","url":"https://github.com/passariello/","email":"dariopassariello@gmail.com"},"company":{},"contributors":[{"name":"Dario Passariello","email":"dariopassarielloa@gmail.com"},{"name":"Valeria Cala Scaglitta","email":"valeriacalascaglitta@gmail.com"}],"workspaces":["mcp"],"cordova":{"platforms":["android"]},"npmName":"dphelper","npmFileMap":[{"basePath":"./dist/","files":["*.js"]}],"typings":"./types/*","globals":{"dphelper":{},"jQuery":{},"$":{}},"browserslist":{"production":["last 2 Chrome major versions","last 2 Firefox major versions","last 2 Safari major versions","last 2 Edge major versions","last 2 Opera versions","last 2 iOS major versions","last 1 Explorer major version","last 1 ChromeAndroid version","last 1 UCAndroid version","last 1 Samsung version","last 1 OperaMini version","Firefox ESR",">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"engines":{"node":">=18.0.0"},"keywords":["helper","dphelper","utils","tools","uuid","random","window","store","easy","pro","powerful","state","status","dpHelper","dp helper","helper","local","storage","indexeddb","idb","devtool","dario","passariello"],"repository":{"type":"git","url":"git+https://github.com/passariello/dphelper.git","help":"git+https://github.com/passariello/dphelper.git#readme"},"bugs":{"url":"https://github.com/passariello/dphelper/issues"},"funding":[{"type":"patreon","url":"https://www.patreon.com/passariello"}],"typing":["types/*"],"scripts":{"watch":"webpack --watch --progress --color --mode=production --config webpack.ts","make-dist":"webpack --progress --color --mode=production --config webpack.ts","-":"--------------","git":"git push --all -u && git add . && git commit -m \\"update\\" && git pull && git push --all","--":"-------------","tsc":"tsc -b","oxlint":"oxlint --config=./.eslintrc.json --tsconfig=./tsconfig.json","---":"------------","jsdoc":"jsdoc -r -c ./jsdoc.json","jsdoc1":"jsdoc -r -c ./jsdoc.json && jsdoc2md --files index.js > docs/doc.md","pack":"cd dist && npm pack","backup":"cd mcp/batch && backup.bat","update":"cd mcp/javascripts && node npmUpdate"},"devDependencies":{"@babel/cli":"7.24.8","@babel/core":"7.25.2","@babel/plugin-transform-runtime":"7.24.7","@babel/preset-env":"7.25.3","@babel/preset-react":"7.24.7","@babel/preset-typescript":"7.24.7","@babel/runtime":"^7.25.0","@types/node":"22.3.0","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","@types/webpack-env":"1.18.5","babel-loader":"9.1.3","compression-webpack-plugin":"11.1.0","copy-webpack-plugin":"^12.0.2","crypto-js":"4.2.0","css":"3.0.0","css-loader":"^7.1.2","dotenv":"^16.4.5","file-loader":"6.2.0","fs":"0.0.1-security","html-webpack-plugin":"5.6.0","jquery":"3.7.1","jsdoc":"4.0.3","jsdoc-babel":"0.5.0","jsdoc-to-markdown":"8.0.3","jsdom-worker":"0.3.0","jshint":"^2.13.6","less":"4.2.0","less-loader":"^12.2.0","path":"^0.12.7","progress-bar-webpack-plugin":"2.1.0","react":"18.3.1","react-dom":"18.3.1","react-router":"^6.26.0","react-router-dom":"^6.26.0","sass":"^1.77.8","sass-loader":"^16.0.0","style-loader":"^4.0.0","terser-webpack-plugin":"^5.3.10","ts-loader":"^9.5.1","ts-node":"10.9.2","typescript":"5.5.4","webpack":"^5.93.0","webpack-cli":"^5.1.4","webpack-dev-server":"^5.0.4","x2js":"3.4.4"}}')}},r={};function o(e){var t=r[e];if(void 0!==t){if(void 0!==t.error)throw t.error;return t.exports}var i=r[e]={exports:{}};try{var a={id:e,module:i,factory:n[e],require:o};o.i.forEach((function(e){e(a)})),i=a.module,a.factory.call(i.exports,i,i.exports,a.require)}catch(e){throw i.error=e,e}return i.exports}o.m=n,o.c=r,o.i=[],o.hu=e=>e+"."+o.h()+".hot-update.js",o.hmrF=()=>"index."+o.h()+".hot-update.json",o.h=()=>"f509a610da95f1531e22",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="dphelper:",o.l=(n,r,i,a)=>{if(e[n])e[n].push(r);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==n||p.getAttribute("data-webpack")==t+i){s=p;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+i),s.src=n),e[n]=[r];var d=(t,r)=>{s.onerror=s.onload=null,clearTimeout(h);var o=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(r))),t)return t(r)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e,t,n,r={},i=o.c,a=[],s=[],l="idle",c=0,u=[];function p(e){l=e;for(var t=[],n=0;n<s.length;n++)t[n]=s[n].call(null,e);return Promise.all(t).then((function(){}))}function d(){0==--c&&p("ready").then((function(){if(0===c){var e=u;u=[];for(var t=0;t<e.length;t++)e[t]()}}))}function h(e){if("idle"!==l)throw new Error("check() is only allowed in idle status");return p("check").then(o.hmrM).then((function(n){return n?p("prepare").then((function(){var r=[];return t=[],Promise.all(Object.keys(o.hmrC).reduce((function(e,i){return o.hmrC[i](n.c,n.r,n.m,e,t,r),e}),[])).then((function(){return t=function(){return e?m(e):p("ready").then((function(){return r}))},0===c?t():new Promise((function(e){u.push((function(){e(t())}))}));var t}))})):p(v()?"ready":"idle").then((function(){return null}))}))}function f(e){return"ready"!==l?Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status (state: "+l+")")})):m(e)}function m(e){e=e||{},v();var r=t.map((function(t){return t(e)}));t=void 0;var o=r.map((function(e){return e.error})).filter(Boolean);if(o.length>0)return p("abort").then((function(){throw o[0]}));var i=p("dispose");r.forEach((function(e){e.dispose&&e.dispose()}));var a,s=p("apply"),l=function(e){a||(a=e)},c=[];return r.forEach((function(e){if(e.apply){var t=e.apply(l);if(t)for(var n=0;n<t.length;n++)c.push(t[n])}})),Promise.all([i,s]).then((function(){return a?p("fail").then((function(){throw a})):n?m(e).then((function(e){return c.forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e})):p("idle").then((function(){return c}))}))}function v(){if(n)return t||(t=[]),Object.keys(o.hmrI).forEach((function(e){n.forEach((function(n){o.hmrI[e](n,t)}))})),n=void 0,!0}o.hmrD=r,o.i.push((function(u){var m,v,g,y,b=u.module,x=function(t,n){var r=i[n];if(!r)return t;var o=function(o){if(r.hot.active){if(i[o]){var s=i[o].parents;-1===s.indexOf(n)&&s.push(n)}else a=[n],e=o;-1===r.children.indexOf(o)&&r.children.push(o)}else console.warn("[HMR] unexpected require("+o+") from disposed module "+n),a=[];return t(o)},s=function(e){return{configurable:!0,enumerable:!0,get:function(){return t[e]},set:function(n){t[e]=n}}};for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&"e"!==u&&Object.defineProperty(o,u,s(u));return o.e=function(e,n){return function(e){switch(l){case"ready":p("prepare");case"prepare":return c++,e.then(d,d),e;default:return e}}(t.e(e,n))},o}(u.require,u.id);b.hot=(m=u.id,v=b,y={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:g=e!==m,_requireSelf:function(){a=v.parents.slice(),e=g?void 0:m,o(m)},active:!0,accept:function(e,t,n){if(void 0===e)y._selfAccepted=!0;else if("function"==typeof e)y._selfAccepted=e;else if("object"==typeof e&&null!==e)for(var r=0;r<e.length;r++)y._acceptedDependencies[e[r]]=t||function(){},y._acceptedErrorHandlers[e[r]]=n;else y._acceptedDependencies[e]=t||function(){},y._acceptedErrorHandlers[e]=n},decline:function(e){if(void 0===e)y._selfDeclined=!0;else if("object"==typeof e&&null!==e)for(var t=0;t<e.length;t++)y._declinedDependencies[e[t]]=!0;else y._declinedDependencies[e]=!0},dispose:function(e){y._disposeHandlers.push(e)},addDisposeHandler:function(e){y._disposeHandlers.push(e)},removeDisposeHandler:function(e){var t=y._disposeHandlers.indexOf(e);t>=0&&y._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,l){case"idle":t=[],Object.keys(o.hmrI).forEach((function(e){o.hmrI[e](m,t)})),p("ready");break;case"ready":Object.keys(o.hmrI).forEach((function(e){o.hmrI[e](m,t)}));break;case"prepare":case"check":case"dispose":case"apply":(n=n||[]).push(m)}},check:h,apply:f,status:function(e){if(!e)return l;s.push(e)},addStatusHandler:function(e){s.push(e)},removeStatusHandler:function(e){var t=s.indexOf(e);t>=0&&s.splice(t,1)},data:r[m]},e=void 0,y),b.parents=a,b.children=[],a=[],u.require=x})),o.hmrC={},o.hmrI={}})(),o.p="/",(()=>{var e,t,n,r,i,a=o.hmrS_jsonp=o.hmrS_jsonp||{57:0},s={};function l(t,n){return e=n,new Promise(((e,n)=>{s[t]=e;var r=o.p+o.hu(t),i=new Error;o.l(r,(e=>{if(s[t]){s[t]=void 0;var r=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;i.message="Loading hot update chunk "+t+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n(i)}}))}))}function c(e){function s(e){for(var t=[e],n={},r=t.map((function(e){return{chain:[e],id:e}}));r.length>0;){var i=r.pop(),a=i.id,s=i.chain,c=o.c[a];if(c&&(!c.hot._selfAccepted||c.hot._selfInvalidated)){if(c.hot._selfDeclined)return{type:"self-declined",chain:s,moduleId:a};if(c.hot._main)return{type:"unaccepted",chain:s,moduleId:a};for(var u=0;u<c.parents.length;u++){var p=c.parents[u],d=o.c[p];if(d){if(d.hot._declinedDependencies[a])return{type:"declined",chain:s.concat([p]),moduleId:a,parentId:p};-1===t.indexOf(p)&&(d.hot._acceptedDependencies[a]?(n[p]||(n[p]=[]),l(n[p],[a])):(delete n[p],t.push(p),r.push({chain:s.concat([p]),id:p})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:n}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];-1===e.indexOf(r)&&e.push(r)}}o.f&&delete o.f.jsonpHmr,t=void 0;var c={},u=[],p={},d=function(e){console.warn("[HMR] unexpected require("+e.id+") to disposed module")};for(var h in n)if(o.o(n,h)){var f,m=n[h],v=!1,g=!1,y=!1,b="";switch((f=m?s(h):{type:"disposed",moduleId:h}).chain&&(b="\nUpdate propagation: "+f.chain.join(" -> ")),f.type){case"self-declined":e.onDeclined&&e.onDeclined(f),e.ignoreDeclined||(v=new Error("Aborted because of self decline: "+f.moduleId+b));break;case"declined":e.onDeclined&&e.onDeclined(f),e.ignoreDeclined||(v=new Error("Aborted because of declined dependency: "+f.moduleId+" in "+f.parentId+b));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(f),e.ignoreUnaccepted||(v=new Error("Aborted because "+h+" is not accepted"+b));break;case"accepted":e.onAccepted&&e.onAccepted(f),g=!0;break;case"disposed":e.onDisposed&&e.onDisposed(f),y=!0;break;default:throw new Error("Unexception type "+f.type)}if(v)return{error:v};if(g)for(h in p[h]=m,l(u,f.outdatedModules),f.outdatedDependencies)o.o(f.outdatedDependencies,h)&&(c[h]||(c[h]=[]),l(c[h],f.outdatedDependencies[h]));y&&(l(u,[f.moduleId]),p[h]=d)}n=void 0;for(var x,D=[],w=0;w<u.length;w++){var C=u[w],k=o.c[C];k&&(k.hot._selfAccepted||k.hot._main)&&p[C]!==d&&!k.hot._selfInvalidated&&D.push({module:C,require:k.hot._requireSelf,errorHandler:k.hot._selfAccepted})}return{dispose:function(){var e;r.forEach((function(e){delete a[e]})),r=void 0;for(var t,n=u.slice();n.length>0;){var i=n.pop(),s=o.c[i];if(s){var l={},p=s.hot._disposeHandlers;for(w=0;w<p.length;w++)p[w].call(null,l);for(o.hmrD[i]=l,s.hot.active=!1,delete o.c[i],delete c[i],w=0;w<s.children.length;w++){var d=o.c[s.children[w]];d&&((e=d.parents.indexOf(i))>=0&&d.parents.splice(e,1))}}}for(var h in c)if(o.o(c,h)&&(s=o.c[h]))for(x=c[h],w=0;w<x.length;w++)t=x[w],(e=s.children.indexOf(t))>=0&&s.children.splice(e,1)},apply:function(t){for(var n in p)o.o(p,n)&&(o.m[n]=p[n]);for(var r=0;r<i.length;r++)i[r](o);for(var a in c)if(o.o(c,a)){var s=o.c[a];if(s){x=c[a];for(var l=[],d=[],h=[],f=0;f<x.length;f++){var m=x[f],v=s.hot._acceptedDependencies[m],g=s.hot._acceptedErrorHandlers[m];if(v){if(-1!==l.indexOf(v))continue;l.push(v),d.push(g),h.push(m)}}for(var y=0;y<l.length;y++)try{l[y].call(null,x)}catch(n){if("function"==typeof d[y])try{d[y](n,{moduleId:a,dependencyId:h[y]})}catch(r){e.onErrored&&e.onErrored({type:"accept-error-handler-errored",moduleId:a,dependencyId:h[y],error:r,originalError:n}),e.ignoreErrored||(t(r),t(n))}else e.onErrored&&e.onErrored({type:"accept-errored",moduleId:a,dependencyId:h[y],error:n}),e.ignoreErrored||t(n)}}}for(var b=0;b<D.length;b++){var w=D[b],C=w.module;try{w.require(C)}catch(n){if("function"==typeof w.errorHandler)try{w.errorHandler(n,{moduleId:C,module:o.c[C]})}catch(r){e.onErrored&&e.onErrored({type:"self-accept-error-handler-errored",moduleId:C,error:r,originalError:n}),e.ignoreErrored||(t(r),t(n))}else e.onErrored&&e.onErrored({type:"self-accept-errored",moduleId:C,error:n}),e.ignoreErrored||t(n)}}return u}}}self.webpackHotUpdatedphelper=(t,r,a)=>{for(var l in r)o.o(r,l)&&(n[l]=r[l],e&&e.push(l));a&&i.push(a),s[t]&&(s[t](),s[t]=void 0)},o.hmrI.jsonp=function(e,t){n||(n={},i=[],r=[],t.push(c)),o.o(n,e)||(n[e]=o.m[e])},o.hmrC.jsonp=function(e,s,u,p,d,h){d.push(c),t={},r=s,n=u.reduce((function(e,t){return e[t]=!1,e}),{}),i=[],e.forEach((function(e){o.o(a,e)&&void 0!==a[e]?(p.push(l(e,h)),t[e]=!0):t[e]=!1})),o.f&&(o.f.jsonpHmr=function(e,n){t&&o.o(t,e)&&!t[e]&&(n.push(l(e)),t[e]=!0)})},o.hmrM=()=>{if("undefined"==typeof fetch)throw new Error("No browser support: need fetch API");return fetch(o.p+o.hmrF()).then((e=>{if(404!==e.status){if(!e.ok)throw new Error("Failed to fetch update manifest "+e.statusText);return e.json()}}))}})();o(6608)})();