dphelper 1.3.4 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
(()=>{var e,t,r={955:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.BlockCipher,r=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 r=0,n=0;for(t=0;t<256;t++){var f=n^n<<1^n<<2^n<<3^n<<4;f=f>>>8^255&f^99,o[r]=f,i[f]=r;var m=e[r],v=e[m],y=e[v],g=257*e[f]^16843008*f;a[r]=g<<24|g>>>8,s[r]=g<<16|g>>>16,l[r]=g<<8|g>>>24,c[r]=g,g=16843009*y^65537*v^257*m^16843008*r,u[f]=g<<24|g>>>8,p[f]=g<<16|g>>>16,d[f]=g<<8|g>>>24,h[f]=g,r?(r=m^e[e[e[y^m]]],n^=e[e[n]]):r=n=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],a=0;a<n;a++)a<r?i[a]=t[a]:(c=i[a-1],a%r?r>6&&a%r==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/r|0]<<24),i[a]=i[a-r]^c);for(var s=this._invKeySchedule=[],l=0;l<n;l++){if(a=n-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 r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,u,p,d,h,i),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,o,i,a,s){for(var l=this._nRounds,c=e[t]^r[0],u=e[t+1]^r[1],p=e[t+2]^r[2],d=e[t+3]^r[3],h=4,f=1;f<l;f++){var m=n[c>>>24]^o[u>>>16&255]^i[p>>>8&255]^a[255&d]^r[h++],v=n[u>>>24]^o[p>>>16&255]^i[d>>>8&255]^a[255&c]^r[h++],y=n[p>>>24]^o[d>>>16&255]^i[c>>>8&255]^a[255&u]^r[h++],g=n[d>>>24]^o[c>>>16&255]^i[u>>>8&255]^a[255&p]^r[h++];c=m,u=v,p=y,d=g}m=(s[c>>>24]<<24|s[u>>>16&255]<<16|s[p>>>8&255]<<8|s[255&d])^r[h++],v=(s[u>>>24]<<24|s[p>>>16&255]<<16|s[d>>>8&255]<<8|s[255&c])^r[h++],y=(s[p>>>24]<<24|s[d>>>16&255]<<16|s[c>>>8&255]<<8|s[255&u])^r[h++],g=(s[d>>>24]<<24|s[c>>>16&255]<<16|s[u>>>8&255]<<8|s[255&p])^r[h++],e[t]=m,e[t+1]=v,e[t+2]=y,e[t+3]=g},keySize:8});e.AES=t._createHelper(m)}(),n.AES)},3128:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.BlockCipher,r=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 r=t>>24&255,n=t>>16&255,o=t>>8&255,i=255&t,a=e.sbox[0][r]+e.sbox[1][n];return a^=e.sbox[2][o],a+=e.sbox[3][i],a}function c(e,t,r){let n,i=t,a=r;for(let t=0;t<o;++t)i^=e.pbox[t],a=l(e,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n,a^=e.pbox[o],i^=e.pbox[o+1],{left:i,right:a}}function u(e,t,r){let n,i=t,a=r;for(let t=o+1;t>1;--t)i^=e.pbox[t],a=l(e,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n,a^=e.pbox[1],i^=e.pbox[0],{left:i,right:a}}function p(e,t,r){for(let t=0;t<4;t++){e.sbox[t]=[];for(let r=0;r<256;r++)e.sbox[t][r]=a[t][r]}let n=0;for(let a=0;a<o+2;a++)e.pbox[a]=i[a]^t[n],n++,n>=r&&(n=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 r=0;r<256;r+=2)u=c(e,s,l),s=u.left,l=u.right,e.sbox[t][r]=s,e.sbox[t][r+1]=l;return!0}var d=r.Blowfish=t.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4;p(s,t,r)}},encryptBlock:function(e,t){var r=c(s,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=u(s,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=t._createHelper(d)}(),n.Blowfish)},7165:function(e,t,r){var n;e.exports=(n=r(9021),r(9506),void(n.lib.Cipher||function(e){var t=n,r=t.lib,o=r.Base,i=r.WordArray,a=r.BufferedBlockAlgorithm,s=t.enc,l=(s.Utf8,s.Base64),c=t.algo.EvpKDF,u=r.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,r){this.cfg=this.cfg.extend(r),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:y}return function(t){return{encrypt:function(r,n,o){return e(n).encrypt(t,r,n,o)},decrypt:function(r,n,o){return e(n).decrypt(t,r,n,o)}}}}()}),p=(r.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),d=r.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=p.CBC=function(){var t=d.extend();function r(t,r,n){var o,i=this._iv;i?(o=i,this._iv=e):o=this._prevBlock;for(var a=0;a<n;a++)t[r+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize;r.call(this,e,t,o),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=e.slice(t,t+o);n.decryptBlock(e,t),r.call(this,e,t,o),this._prevBlock=i}}),t}(),f=(t.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,o=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(o);var l=i.create(a,n);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},m=(r.BlockCipher=u.extend({cfg:u.cfg.extend({mode:h,padding:f}),reset:function(){var e;u.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),v=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?i.create([1398893684,1701076831]).concat(r).concat(t):t).toString(l)},parse:function(e){var t,r=l.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=i.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),m.create({ciphertext:r,salt:t})}},y=r.SerializableCipher=o.extend({cfg:o.extend({format:v}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var o=e.createEncryptor(r,n),i=o.finalize(t),a=o.cfg;return m.create({ciphertext:i,key:r,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),g=(t.kdf={}).OpenSSL={execute:function(e,t,r,n,o){if(n||(n=i.random(8)),o)a=c.create({keySize:t+r,hasher:o}).compute(e,n);else var a=c.create({keySize:t+r}).compute(e,n);var s=i.create(a.words.slice(t),4*r);return a.sigBytes=4*t,m.create({key:a,iv:s,salt:n})}},b=r.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:g}),encrypt:function(e,t,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=o.iv;var i=y.encrypt.call(this,e,t,o.key,n);return i.mixIn(o),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var o=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=o.iv,y.decrypt.call(this,e,t,o.key,n)}})}()))},9021:function(e,t,r){var n;e.exports=(n=n||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(477)}catch(e){}var o=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.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 r;return e.prototype=t,r=new e,e.prototype=null,r}}(),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,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||p).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var s=0;s<o;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(o());return new c.init(t,e)}}),u=a.enc={},p=u.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new c.init(r,t/2)}},d=u.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new c.init(r,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 r,n=this._data,o=n.words,i=n.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);r=o.splice(0,l),n.sigBytes-=u}return new c.init(r,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,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new m.HMAC.init(e,r).finalize(t)}}}),a.algo={});return a}(Math),n)},754:function(e,t,r){var n;e.exports=(n=r(9021),function(){var e=n,t=e.lib.WordArray;function r(e,r,n){for(var o=[],i=0,a=0;a<r;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[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,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],i=0;i<r;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<r;s++)o.push(n.charAt(a>>>6*(3-s)&63));var l=n.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<n.length;i++)o[n.charCodeAt(i)]=i}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return r(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)},4725:function(e,t,r){var n;e.exports=(n=r(9021),function(){var e=n,t=e.lib.WordArray;function r(e,r,n){for(var o=[],i=0,a=0;a<r;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[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 r=e.words,n=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],a=0;a<n;a+=3)for(var s=(r[a>>>2]>>>24-a%4*8&255)<<16|(r[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|r[a+2>>>2]>>>24-(a+2)%4*8&255,l=0;l<4&&a+.75*l<n;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 n=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&&(n=l)}return r(e,n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),n.enc.Base64url)},5503:function(e,t,r){var n;e.exports=(n=r(9021),function(){var e=n,t=e.lib.WordArray,r=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o+=2){var i=t[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var r=e.length,n=[],o=0;o<r;o++)n[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(n,2*r)}},r.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var a=o(t[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var r=e.length,n=[],i=0;i<r;i++)n[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return t.create(n,2*r)}}}(),n.enc.Utf16)},9506:function(e,t,r){var n,o,i,a,s,l,c,u;e.exports=(u=r(9021),r(5471),r(1025),o=(n=u).lib,i=o.Base,a=o.WordArray,s=n.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 r,n=this.cfg,o=n.hasher.create(),i=a.create(),s=i.words,l=n.keySize,c=n.iterations;s.length<l;){r&&o.update(r),r=o.update(e).finalize(t),o.reset();for(var u=1;u<c;u++)r=o.finalize(r),o.reset();i.concat(r)}return i.sigBytes=4*l,i}}),n.EvpKDF=function(e,t,r){return c.create(r).compute(e,t)},u.EvpKDF)},25:function(e,t,r){var n,o,i,a;e.exports=(a=r(9021),r(7165),o=(n=a).lib.CipherParams,i=n.enc.Hex,n.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)},1025:function(e,t,r){var n,o,i,a;e.exports=(n=r(9021),i=(o=n).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 r=e.blockSize,n=4*r;t.sigBytes>n&&(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<r;c++)s[c]^=1549556828,l[c]^=909522486;o.sigBytes=i.sigBytes=n,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,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))},1396:function(e,t,r){var n;e.exports=(n=r(9021),r(3240),r(6440),r(5503),r(754),r(4725),r(4636),r(5471),r(3009),r(6308),r(1380),r(9557),r(5953),r(8056),r(1025),r(19),r(9506),r(7165),r(2169),r(6939),r(6372),r(3797),r(8454),r(2073),r(4905),r(482),r(2155),r(8124),r(25),r(955),r(7628),r(7193),r(6298),r(2696),r(3128),n)},6440:function(e,t,r){var n;e.exports=(n=r(9021),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init,r=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 r=e.byteLength,n=[],o=0;o<r;o++)n[o>>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)};r.prototype=e}}(),n.lib.WordArray)},4636:function(e,t,r){var n;e.exports=(n=r(9021),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.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 r=0;r<16;r++){var n=t+r,o=e[n];e[n]=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],y=e[t+6],g=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],A=e[t+14],_=e[t+15],S=i[0],M=i[1],P=i[2],T=i[3];S=c(S,M,P,T,a,7,s[0]),T=c(T,S,M,P,l,12,s[1]),P=c(P,T,S,M,h,17,s[2]),M=c(M,P,T,S,f,22,s[3]),S=c(S,M,P,T,m,7,s[4]),T=c(T,S,M,P,v,12,s[5]),P=c(P,T,S,M,y,17,s[6]),M=c(M,P,T,S,g,22,s[7]),S=c(S,M,P,T,b,7,s[8]),T=c(T,S,M,P,x,12,s[9]),P=c(P,T,S,M,D,17,s[10]),M=c(M,P,T,S,w,22,s[11]),S=c(S,M,P,T,C,7,s[12]),T=c(T,S,M,P,k,12,s[13]),P=c(P,T,S,M,A,17,s[14]),S=u(S,M=c(M,P,T,S,_,22,s[15]),P,T,l,5,s[16]),T=u(T,S,M,P,y,9,s[17]),P=u(P,T,S,M,w,14,s[18]),M=u(M,P,T,S,a,20,s[19]),S=u(S,M,P,T,v,5,s[20]),T=u(T,S,M,P,D,9,s[21]),P=u(P,T,S,M,_,14,s[22]),M=u(M,P,T,S,m,20,s[23]),S=u(S,M,P,T,x,5,s[24]),T=u(T,S,M,P,A,9,s[25]),P=u(P,T,S,M,f,14,s[26]),M=u(M,P,T,S,b,20,s[27]),S=u(S,M,P,T,k,5,s[28]),T=u(T,S,M,P,h,9,s[29]),P=u(P,T,S,M,g,14,s[30]),S=p(S,M=u(M,P,T,S,C,20,s[31]),P,T,v,4,s[32]),T=p(T,S,M,P,b,11,s[33]),P=p(P,T,S,M,w,16,s[34]),M=p(M,P,T,S,A,23,s[35]),S=p(S,M,P,T,l,4,s[36]),T=p(T,S,M,P,m,11,s[37]),P=p(P,T,S,M,g,16,s[38]),M=p(M,P,T,S,D,23,s[39]),S=p(S,M,P,T,k,4,s[40]),T=p(T,S,M,P,a,11,s[41]),P=p(P,T,S,M,f,16,s[42]),M=p(M,P,T,S,y,23,s[43]),S=p(S,M,P,T,x,4,s[44]),T=p(T,S,M,P,C,11,s[45]),P=p(P,T,S,M,_,16,s[46]),S=d(S,M=p(M,P,T,S,h,23,s[47]),P,T,a,6,s[48]),T=d(T,S,M,P,g,10,s[49]),P=d(P,T,S,M,A,15,s[50]),M=d(M,P,T,S,v,21,s[51]),S=d(S,M,P,T,C,6,s[52]),T=d(T,S,M,P,f,10,s[53]),P=d(P,T,S,M,D,15,s[54]),M=d(M,P,T,S,l,21,s[55]),S=d(S,M,P,T,b,6,s[56]),T=d(T,S,M,P,_,10,s[57]),P=d(P,T,S,M,y,15,s[58]),M=d(M,P,T,S,k,21,s[59]),S=d(S,M,P,T,m,6,s[60]),T=d(T,S,M,P,w,10,s[61]),P=d(P,T,S,M,h,15,s[62]),M=d(M,P,T,S,x,21,s[63]),i[0]=i[0]+S|0,i[1]=i[1]+M|0,i[2]=i[2]+P|0,i[3]=i[3]+T|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.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,r,n,o,i,a){var s=e+(t&r|~t&n)+o+a;return(s<<i|s>>>32-i)+t}function u(e,t,r,n,o,i,a){var s=e+(t&n|r&~n)+o+a;return(s<<i|s>>>32-i)+t}function p(e,t,r,n,o,i,a){var s=e+(t^r^n)+o+a;return(s<<i|s>>>32-i)+t}function d(e,t,r,n,o,i,a){var s=e+(r^(t|~n))+o+a;return(s<<i|s>>>32-i)+t}t.MD5=i._createHelper(l),t.HmacMD5=i._createHmacHelper(l)}(Math),n.MD5)},2169:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,r,n){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,n.encryptBlock(o,0);for(var a=0;a<r;a++)e[t+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize;t.call(this,e,r,o,n),this._prevBlock=e.slice(r,r+o)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize,i=e.slice(r,r+o);t.call(this,e,r,o,n),this._prevBlock=i}}),e}(),n.mode.CFB)},6372:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}function r(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 n=this._cipher,o=n.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),r(a);var s=a.slice(0);n.encryptBlock(s,0);for(var l=0;l<o;l++)e[t+l]^=s[l]}});return e.Decryptor=o,e}(),n.mode.CTRGladman)},6939:function(e,t,r){var n,o,i;e.exports=(i=r(9021),r(7165),i.mode.CTR=(n=i.lib.BlockCipherMode.extend(),o=n.Encryptor=n.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);r.encryptBlock(a,0),i[n-1]=i[n-1]+1|0;for(var s=0;s<n;s++)e[t+s]^=a[s]}}),n.Decryptor=o,n),i.mode.CTR)},8454:function(e,t,r){var n,o;e.exports=(o=r(9021),r(7165),o.mode.ECB=((n=o.lib.BlockCipherMode.extend()).Encryptor=n.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),n.Decryptor=n.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),n),o.mode.ECB)},3797:function(e,t,r){var n,o,i;e.exports=(i=r(9021),r(7165),i.mode.OFB=(n=i.lib.BlockCipherMode.extend(),o=n.Encryptor=n.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),r.encryptBlock(i,0);for(var a=0;a<n;a++)e[t+a]^=i[a]}}),n.Decryptor=o,n),i.mode.OFB)},2073:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,o=n-r%n,i=r+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}},n.pad.Ansix923)},4905:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.Iso10126={pad:function(e,t){var r=4*t,o=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},482:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},8124:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},2155:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},n.pad.ZeroPadding)},19:function(e,t,r){var n,o,i,a,s,l,c,u,p;e.exports=(p=r(9021),r(3009),r(1025),o=(n=p).lib,i=o.Base,a=o.WordArray,s=n.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 r=this.cfg,n=c.create(r.hasher,e),o=a.create(),i=a.create([1]),s=o.words,l=i.words,u=r.keySize,p=r.iterations;s.length<u;){var d=n.update(t).finalize(i);n.reset();for(var h=d.words,f=h.length,m=d,v=1;v<p;v++){m=n.finalize(m),n.reset();for(var y=m.words,g=0;g<f;g++)h[g]^=y[g]}o.concat(d),l[0]++}return o.sigBytes=4*u,o}}),n.PBKDF2=function(e,t,r){return u.create(r).compute(e,t)},p.PBKDF2)},2696:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],a=[],s=r.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,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],n=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++)n[o]^=r[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(n[0]^=c,n[1]^=p,n[2]^=u,n[3]^=d,n[4]^=c,n[5]^=p,n[6]^=u,n[7]^=d,o=0;o<4;o++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];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,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=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)}(),n.RabbitLegacy)},6298:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],a=[],s=r.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var 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],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,r=0;r<4;r++)l.call(this);for(r=0;r<8;r++)o[r]^=n[r+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,r=0;r<4;r++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];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,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=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)}(),n.Rabbit)},7193:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=r.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var a=o%r,s=t[a>>>2]>>>24-a%4*8&255;i=(i+n[o]+s)%256;var l=n[o];n[o]=n[i],n[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,r=this._j,n=0,o=0;o<4;o++){r=(r+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[r],e[r]=i,n|=e[(e[t]+e[r])%256]<<24-8*o}return this._i=t,this._j=r,n}e.RC4=t._createHelper(o);var a=r.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)}(),n.RC4)},8056:function(e,t,r){var n;e.exports=(n=r(9021),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.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 r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,a,h,x,D,w,C,k,A,_,S,M=this._hash.words,P=p.words,T=d.words,E=s.words,j=l.words,B=c.words,O=u.words;for(w=i=M[0],C=a=M[1],k=h=M[2],A=x=M[3],_=D=M[4],r=0;r<80;r+=1)S=i+e[t+E[r]]|0,S+=r<16?f(a,h,x)+P[0]:r<32?m(a,h,x)+P[1]:r<48?v(a,h,x)+P[2]:r<64?y(a,h,x)+P[3]:g(a,h,x)+P[4],S=(S=b(S|=0,B[r]))+D|0,i=D,D=x,x=b(h,10),h=a,a=S,S=w+e[t+j[r]]|0,S+=r<16?g(C,k,A)+T[0]:r<32?y(C,k,A)+T[1]:r<48?v(C,k,A)+T[2]:r<64?m(C,k,A)+T[3]:f(C,k,A)+T[4],S=(S=b(S|=0,O[r]))+_|0,w=_,_=A,A=b(k,10),k=C,C=S;S=M[1]+h+A|0,M[1]=M[2]+x+_|0,M[2]=M[3]+D+w|0,M[3]=M[4]+i+C|0,M[4]=M[0]+a+k|0,M[0]=S},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>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,r){return e^t^r}function m(e,t,r){return e&t|~e&r}function v(e,t,r){return(e|~t)^r}function y(e,t,r){return e&r|t&~r}function g(e,t,r){return e^(t|~r)}function b(e,t){return e<<t|e>>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(Math),n.RIPEMD160)},5471:function(e,t,r){var n,o,i,a,s,l,c,u;e.exports=(u=r(9021),o=(n=u).lib,i=o.WordArray,a=o.Hasher,s=n.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 r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[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=(n<<5|n>>>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=n,n=p}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=a._createHelper(c),n.HmacSHA1=a._createHmacHelper(c),u.SHA1)},6308:function(e,t,r){var n,o,i,a,s,l;e.exports=(l=r(9021),r(3009),o=(n=l).lib.WordArray,i=n.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}}),n.SHA224=a._createHelper(s),n.HmacSHA224=a._createHmacHelper(s),l.SHA224)},3009:function(e,t,r){var n;e.exports=(n=r(9021),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.algo,s=[],l=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(s[o]=r(e.pow(n,.5))),l[o]=r(e.pow(n,1/3)),o++),n++}();var c=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],p=r[6],d=r[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],y=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;c[h]=m+c[h-7]+y+c[h-16]}var g=n&o^n&i^o&i,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>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=n,n=x+(b+g)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0,r[5]=r[5]+u|0,r[6]=r[6]+p|0,r[7]=r[7]+d|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.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),n.SHA256)},5953:function(e,t,r){var n;e.exports=(n=r(9021),r(3240),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.x64.Word,s=t.algo,l=[],c=[],u=[];!function(){for(var e=1,t=0,r=0;r<24;r++){l[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}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 r=this._state,n=this.blockSize/2,o=0;o<n;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),(M=r[o]).high^=a,M.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^=(M=r[d+5*m]).high,f^=M.low;var v=p[d];v.high=h,v.low=f}for(d=0;d<5;d++){var y=p[(d+4)%5],g=p[(d+1)%5],b=g.high,x=g.low;for(h=y.high^(b<<1|x>>>31),f=y.low^(x<<1|b>>>31),m=0;m<5;m++)(M=r[d+5*m]).high^=h,M.low^=f}for(var D=1;D<25;D++){var w=(M=r[D]).high,C=M.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 A=p[c[D]];A.high=h,A.low=f}var _=p[0],S=r[0];for(_.high=S.high,_.low=S.low,d=0;d<5;d++)for(m=0;m<5;m++){var M=r[D=d+5*m],P=p[D],T=p[(d+1)%5+5*m],E=p[(d+2)%5+5*m];M.high=P.high^~T.high&E.high,M.low=P.low^~T.low&E.low}M=r[0];var j=u[s];M.high^=j.high,M.low^=j.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.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),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=i._createHelper(d),t.HmacSHA3=i._createHmacHelper(d)}(Math),n.SHA3)},9557:function(e,t,r){var n,o,i,a,s,l,c,u;e.exports=(u=r(9021),r(3240),r(1380),o=(n=u).x64,i=o.Word,a=o.WordArray,s=n.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}}),n.SHA384=l._createHelper(c),n.HmacSHA384=l._createHmacHelper(c),u.SHA384)},1380:function(e,t,r){var n;e.exports=(n=r(9021),r(3240),function(){var e=n,t=e.lib.Hasher,r=e.x64,o=r.Word,i=r.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 r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],p=r[6],d=r[7],h=n.high,f=n.low,m=o.high,v=o.low,y=i.high,g=i.low,b=a.high,x=a.low,D=s.high,w=s.low,C=u.high,k=u.low,A=p.high,_=p.low,S=d.high,M=d.low,P=h,T=f,E=m,j=v,B=y,O=g,N=b,H=x,L=D,$=w,I=C,z=k,R=A,F=_,q=S,W=M,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,J=K.low,V=(Z>>>1|J<<31)^(Z>>>8|J<<24)^Z>>>7,Q=(J>>>1|Z<<31)^(J>>>8|Z<<24)^(J>>>7|Z<<25),ee=c[U-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,oe=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>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=V+ae+((Y=Q+se)>>>0<Q>>>0?1:0))+ne+((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&I^~L&R,he=$&z^~$&F,fe=P&E^P&B^E&B,me=T&j^T&O^j&O,ve=(P>>>28|T<<4)^(P<<30|T>>>2)^(P<<25|T>>>7),ye=(T>>>28|P<<4)^(T<<30|P>>>2)^(T<<25|P>>>7),ge=(L>>>14|$<<18)^(L>>>18|$<<14)^(L<<23|$>>>9),be=($>>>14|L<<18)^($>>>18|L<<14)^($<<23|L>>>9),xe=l[U],De=xe.high,we=xe.low,Ce=q+ge+((pe=W+be)>>>0<W>>>0?1:0),ke=ye+me;q=R,W=F,R=I,F=z,I=L,z=$,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))+(($=H+pe|0)>>>0<H>>>0?1:0)|0,N=B,H=O,B=E,O=j,E=P,j=T,P=Ce+(ve+fe+(ke>>>0<ye>>>0?1:0))+((T=pe+ke|0)>>>0<pe>>>0?1:0)|0}f=n.low=f+T,n.high=h+P+(f>>>0<T>>>0?1:0),v=o.low=v+j,o.high=m+E+(v>>>0<j>>>0?1:0),g=i.low=g+O,i.high=y+B+(g>>>0<O>>>0?1:0),x=a.low=x+H,a.high=b+N+(x>>>0<H>>>0?1:0),w=s.low=w+$,s.high=D+L+(w>>>0<$>>>0?1:0),k=u.low=k+z,u.high=C+I+(k>>>0<z>>>0?1:0),_=p.low=_+F,p.high=A+R+(_>>>0<F>>>0?1:0),M=d.low=M+W,d.high=S+q+(M>>>0<W>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,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)}(),n.SHA512)},7628:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib,r=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=[],r=0;r<56;r++){var n=a[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var c=o[i]=[],u=l[i];for(r=0;r<24;r++)c[r/6|0]|=t[(s[r]-1+u)%28]<<31-r%6,c[4+(r/6|0)]|=t[28+(s[r+24]-1+u)%28]<<31-r%6;for(c[0]=c[0]<<1|c[0]>>>31,r=1;r<7;r++)c[r]=c[r]>>>4*(r-1)+3;c[7]=c[7]<<5|c[7]>>>27}var p=this._invSubKeys=[];for(r=0;r<16;r++)p[r]=o[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){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 n=0;n<16;n++){for(var o=r[n],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 r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function h(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<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),n=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(r.create(t)),this._des2=p.createEncryptor(r.create(n)),this._des3=p.createEncryptor(r.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)}(),n.TripleDES)},3240:function(e,t,r){var n;e.exports=(n=r(9021),function(e){var t=n,r=t.lib,o=r.Base,i=r.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,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var o=e[n];r.push(o.high),r.push(o.low)}return i.create(r,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}})}(),n)},4692:function(e,t){var r;!function(t,r){"use strict";"object"==typeof e.exports?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)}("undefined"!=typeof window?window:this,(function(n,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={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},g=function(e){return null!=e&&e===e.window},b=n.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function D(e,t,r){var n,o,i=(r=r||b).createElement("script");if(i.text=e,t)for(n in x)(o=t[n]||t.getAttribute&&t.getAttribute(n))&&i.setAttribute(n,o);r.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,A=function(e,t){return new A.fn.init(e,t)};function _(e){var t=!!e&&"length"in e&&e.length,r=w(e);return!y(e)&&!g(e)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}A.fn=A.prototype={jquery:C,constructor:A,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=A.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return A.each(this,e)},map:function(e){return this.pushStack(A.map(this,(function(t,r){return e.call(t,r,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(A.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(A.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},A.extend=A.fn.extend=function(){var e,t,r,n,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||y(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&&a!==n&&(c&&n&&(A.isPlainObject(n)||(o=Array.isArray(n)))?(r=a[t],i=o&&!Array.isArray(r)?[]:o||A.isPlainObject(r)?r:{},o=!1,a[t]=A.extend(c,i,n)):void 0!==n&&(a[t]=n));return a},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,r;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(r=h.call(t,"constructor")&&t.constructor)&&f.call(r)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){D(e,{nonce:t&&t.nonce},r)},each:function(e,t){var r,n=0;if(_(e))for(r=e.length;n<r&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,r="",n=0,o=e.nodeType;if(!o)for(;t=e[n++];)r+=A.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:r},makeArray:function(e,t){var r=t||[];return null!=e&&(_(Object(e))?A.merge(r,"string"==typeof e?[e]:e):c.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:u.call(t,e,r)},isXMLDoc:function(e){var t=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!k.test(t||r&&r.nodeName||"HTML")},merge:function(e,t){for(var r=+t.length,n=0,o=e.length;n<r;n++)e[o++]=t[n];return e.length=o,e},grep:function(e,t,r){for(var n=[],o=0,i=e.length,a=!r;o<i;o++)!t(e[o],o)!==a&&n.push(e[o]);return n},map:function(e,t,r){var n,o,i=0,a=[];if(_(e))for(n=e.length;i<n;i++)null!=(o=t(e[i],i,r))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,r))&&a.push(o);return l(a)},guid:1,support:v}),"function"==typeof Symbol&&(A.fn[Symbol.iterator]=i[Symbol.iterator]),A.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var M=i.pop,P=i.sort,T=i.splice,E="[\\x20\\t\\r\\n\\f]",j=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g");A.contains=function(e,t){var r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))};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}A.escapeSelector=function(e){return(e+"").replace(B,O)};var N=b,H=c;!function(){var e,t,r,o,a,l,c,p,d,f,m=H,y=A.expando,g=0,b=0,x=ee(),D=ee(),w=ee(),C=ee(),k=function(e,t){return e===t&&(a=!0),0},_="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+")*)|.*)\\)|)",$=new RegExp(E+"+","g"),I=new RegExp("^"+E+"*,"+E+"*"),z=new RegExp("^"+E+"*([>+~]|"+E+")"+E+"*"),R=new RegExp(E+"|>"),F=new RegExp(L),q=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("^(?:"+_+")$","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 r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},J=function(){le()},V=de((function(e){return!0===e.disabled&&S(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,r,n){var o,i,a,s,c,u,h,f=t&&t.ownerDocument,g=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return r;if(!n&&(le(t),t=t||l,p)){if(11!==g&&(c=X.exec(e)))if(o=c[1]){if(9===g){if(!(a=t.getElementById(o)))return r;if(a.id===o)return m.call(r,a),r}else if(f&&(a=f.getElementById(o))&&Q.contains(t,a)&&a.id===o)return m.call(r,a),r}else{if(c[2])return m.apply(r,t.getElementsByTagName(e)),r;if((o=c[3])&&t.getElementsByClassName)return m.apply(r,t.getElementsByClassName(o)),r}if(!(C[e+" "]||d&&d.test(e))){if(h=e,f=t,1===g&&(R.test(e)||z.test(e))){for((f=G.test(e)&&se(t.parentNode)||t)==t&&v.scope||((s=t.getAttribute("id"))?s=A.escapeSelector(s):t.setAttribute("id",s=y)),i=(u=ue(e)).length;i--;)u[i]=(s?"#"+s:":scope")+" "+pe(u[i]);h=u.join(",")}try{return m.apply(r,f.querySelectorAll(h)),r}catch(t){C(e,!0)}finally{s===y&&t.removeAttribute("id")}}}return ge(e.replace(j,"$1"),t,r,n)}function ee(){var e=[];return function r(n,o){return e.push(n+" ")>t.cacheLength&&delete r[e.shift()],r[n+" "]=o}}function te(e){return e[y]=!0,e}function re(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ne(e){return function(t){return S(t,"input")&&t.type===e}}function oe(e){return function(t){return(S(t,"input")||S(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&&V(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(r,n){for(var o,i=e([],r.length,t),a=i.length;a--;)r[o=i[a]]&&(r[o]=!(n[o]=r[o]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var r,n=e?e.ownerDocument||e:N;return n!=l&&9===n.nodeType&&n.documentElement?(c=(l=n).documentElement,p=!A.isXMLDoc(l),f=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&N!=l&&(r=l.defaultView)&&r.top!==r&&r.addEventListener("unload",J),v.getById=re((function(e){return c.appendChild(e).id=A.expando,!l.getElementsByName||!l.getElementsByName(A.expando).length})),v.disconnectedMatch=re((function(e){return f.call(e,"*")})),v.scope=re((function(){return l.querySelectorAll(":scope")})),v.cssHas=re((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 r=t.getElementById(e);return r?[r]:[]}}):(t.filter.ID=function(e){var t=e.replace(K,Z);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var r,n,o,i=t.getElementById(e);if(i){if((r=i.getAttributeNode("id"))&&r.value===e)return[i];for(o=t.getElementsByName(e),n=0;i=o[n++];)if((r=i.getAttributeNode("id"))&&r.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=[],re((function(e){var t;c.appendChild(e).innerHTML="<a id='"+y+"' href='' disabled='disabled'></a><select id='"+y+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+E+"*(?:value|"+_+")"),e.querySelectorAll("[id~="+y+"-]").length||d.push("~="),e.querySelectorAll("a#"+y+"+*").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 r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!v.sortDetached&&t.compareDocumentPosition(e)===r?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&r?-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 r=f.call(e,t);if(r||v.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}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),A.contains(e,t)},Q.attr=function(e,r){(e.ownerDocument||e)!=l&&le(e);var n=t.attrHandle[r.toLowerCase()],o=n&&h.call(t.attrHandle,r.toLowerCase())?n(e,r,!p):void 0;return void 0!==o?o:e.getAttribute(r)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,r=[],n=0,i=0;if(a=!v.sortStable,o=!v.sortStable&&s.call(e,0),P.call(e,k),a){for(;t=e[i++];)t===e[i]&&(n=r.push(i));for(;n--;)T.call(e,r[n],1)}return o=null,e},A.fn.uniqueSort=function(){return this.pushStack(A.uniqueSort(s.apply(this)))},t=A.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,r=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&F.test(r)&&(t=ue(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.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 S(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,r){return function(n){var o=Q.attr(n,e);return null==o?"!="===t:!t||(o+="","="===t?o===r:"!="===t?o!==r:"^="===t?r&&0===o.indexOf(r):"*="===t?r&&o.indexOf(r)>-1:"$="===t?r&&o.slice(-r.length)===r:"~="===t?(" "+o.replace($," ")+" ").indexOf(r)>-1:"|="===t&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===o?function(e){return!!e.parentNode}:function(t,r,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?S(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[y]||(m[y]={}))[e]||[])[0]===g&&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]=[g,d,x];break}}else if(b&&(x=d=(c=(u=t[y]||(t[y]={}))[e]||[])[0]===g&&c[1]),!1===x)for(;(p=++d&&p&&p[f]||(x=d=0)||h.pop())&&(!(s?S(p,v):1===p.nodeType)||!++x||(b&&((u=p[y]||(p[y]={}))[e]=[g,x]),p!==t)););return(x-=o)===n||x%n==0&&x/n>=0}}},PSEUDO:function(e,r){var n,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return o[y]?o(r):o.length>1?(n=[e,e,"",r],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var n,i=o(e,r),a=i.length;a--;)e[n=u.call(e,i[a])]=!(t[n]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:te((function(e){var t=[],r=[],n=ye(e.replace(j,"$1"));return n[y]?te((function(e,t,r,o){for(var i,a=n(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,n(t,null,i,r),t[0]=null,!r.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||A.text(t)).indexOf(e)>-1}})),lang:te((function(e){return q.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(K,Z).toLowerCase(),function(t){var r;do{if(r=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=n.location&&n.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 S(e,"input")&&!!e.checked||S(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 S(e,"input")&&"button"===e.type||S(e,"button")},text:function(e){var t;return S(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,r){return[r<0?r+t:r]})),even:ae((function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e})),odd:ae((function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e})),lt:ae((function(e,t,r){var n;for(n=r<0?r+t:r>t?t:r;--n>=0;)e.push(n);return e})),gt:ae((function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ne(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=oe(e);function ce(){}function ue(e,r){var n,o,i,a,s,l,c,u=D[e+" "];if(u)return r?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in n&&!(o=I.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=z.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(j," ")}),s=s.slice(n.length)),t.filter)!(o=W[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return r?s.length:s?Q.error(e):D(e,l).slice(0)}function pe(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function de(e,t,r){var n=t.dir,o=t.next,i=o||n,a=r&&"parentNode"===i,s=b++;return t.first?function(t,r,o){for(;t=t[n];)if(1===t.nodeType||a)return e(t,r,o);return!1}:function(t,r,l){var c,u,p=[g,s];if(l){for(;t=t[n];)if((1===t.nodeType||a)&&e(t,r,l))return!0}else for(;t=t[n];)if(1===t.nodeType||a)if(u=t[y]||(t[y]={}),o&&S(t,o))t=t[n]||t;else{if((c=u[i])&&c[0]===g&&c[1]===s)return p[2]=c[2];if(u[i]=p,p[2]=e(t,r,l))return!0}return!1}}function he(e){return e.length>1?function(t,r,n){for(var o=e.length;o--;)if(!e[o](t,r,n))return!1;return!0}:e[0]}function fe(e,t,r,n,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(r&&!r(i,n,o)||(a.push(i),c&&t.push(s)));return a}function me(e,t,r,n,o,i){return n&&!n[y]&&(n=me(n)),o&&!o[y]&&(o=me(o,i)),te((function(i,a,s,l){var c,p,d,h,f=[],v=[],y=a.length,g=i||function(e,t,r){for(var n=0,o=t.length;n<o;n++)Q(e,t[n],r);return r}(t||"*",s.nodeType?[s]:s,[]),b=!e||!i&&t?g:fe(g,f,e,s,l);if(r?r(b,h=o||(i?e:y||n)?[]:a,s,l):h=b,n)for(c=fe(h,v),n(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(y,h.length):h),o?o(null,a,h,l):m.apply(a,h)}))}function ve(e){for(var n,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===n}),l,!0),d=de((function(e){return u.call(n,e)>-1}),l,!0),h=[function(e,t,o){var i=!s&&(o||t!=r)||((n=t).nodeType?p(e,t,o):d(e,t,o));return n=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))[y]){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 ye(e,n){var o,i=[],a=[],s=w[e+" "];if(!s){for(n||(n=ue(e)),o=n.length;o--;)(s=ve(n[o]))[y]?i.push(s):a.push(s);s=w(e,function(e,n){var o=n.length>0,i=e.length>0,a=function(a,s,c,u,d){var h,f,v,y=0,b="0",x=a&&[],D=[],w=r,C=a||i&&t.find.TAG("*",d),k=g+=null==w?1:Math.random()||.1,_=C.length;for(d&&(r=s==l||s||d);b!==_&&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&&(g=k)}o&&((h=!v&&h)&&y--,a&&x.push(h))}if(y+=b,o&&b!==y){for(f=0;v=n[f++];)v(x,D,s,c);if(a){if(y>0)for(;b--;)x[b]||D[b]||(D[b]=M.call(u));D=fe(D)}m.apply(u,D),d&&!a&&D.length>0&&y+n.length>1&&A.uniqueSort(u)}return d&&(g=k,r=w),x};return o?te(a):a}(a,i)),s.selector=e}return s}function ge(e,r,n,o){var i,a,s,l,c,u="function"==typeof e&&e,d=!o&&ue(e=u.selector||e);if(n=n||[],1===d.length){if((a=d[0]=d[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===r.nodeType&&p&&t.relative[a[1].type]){if(!(r=(t.find.ID(s.matches[0].replace(K,Z),r)||[])[0]))return n;u&&(r=r.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(r.parentNode)||r))){if(a.splice(i,1),!(e=o.length&&pe(a)))return m.apply(n,o),n;break}}return(u||ye(e,d))(o,r,!p,n,!r||G.test(e)&&se(r.parentNode)||r),n}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,v.sortStable=y.split("").sort(k).join("")===y,le(),v.sortDetached=re((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),A.find=Q,A.expr[":"]=A.expr.pseudos,A.unique=A.uniqueSort,Q.compile=ye,Q.select=ge,Q.setDocument=le,Q.tokenize=ue,Q.escape=A.escapeSelector,Q.getText=A.text,Q.isXML=A.isXMLDoc,Q.selectors=A.expr,Q.support=A.support,Q.uniqueSort=A.uniqueSort}();var L=function(e,t,r){for(var n=[],o=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&A(e).is(r))break;n.push(e)}return n},$=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},I=A.expr.match.needsContext,z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(e,t,r){return y(t)?A.grep(e,(function(e,n){return!!t.call(e,n,e)!==r})):t.nodeType?A.grep(e,(function(e){return e===t!==r})):"string"!=typeof t?A.grep(e,(function(e){return u.call(t,e)>-1!==r})):A.filter(t,e,r)}A.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?A.find.matchesSelector(n,e)?[n]:[]:A.find.matches(e,A.grep(t,(function(e){return 1===e.nodeType})))},A.fn.extend({find:function(e){var t,r,n=this.length,o=this;if("string"!=typeof e)return this.pushStack(A(e).filter((function(){for(t=0;t<n;t++)if(A.contains(o[t],this))return!0})));for(r=this.pushStack([]),t=0;t<n;t++)A.find(e,o[t],r);return n>1?A.uniqueSort(r):r},filter:function(e){return this.pushStack(R(this,e||[],!1))},not:function(e){return this.pushStack(R(this,e||[],!0))},is:function(e){return!!R(this,"string"==typeof e&&I.test(e)?A(e):e||[],!1).length}});var F,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(e,t,r){var n,o;if(!e)return this;if(r=r||F,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:q.exec(e))||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof A?t[0]:t,A.merge(this,A.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),z.test(n[1])&&A.isPlainObject(t))for(n in t)y(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(o=b.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==r.ready?r.ready(e):e(A):A.makeArray(e,this)}).prototype=A.fn,F=A(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}A.fn.extend({has:function(e){var t=A(e,this),r=t.length;return this.filter((function(){for(var e=0;e<r;e++)if(A.contains(this,t[e]))return!0}))},closest:function(e,t){var r,n=0,o=this.length,i=[],a="string"!=typeof e&&A(e);if(!I.test(e))for(;n<o;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(a?a.index(r)>-1:1===r.nodeType&&A.find.matchesSelector(r,e))){i.push(r);break}return this.pushStack(i.length>1?A.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(A(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(A.uniqueSort(A.merge(this.get(),A(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),A.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,r){return L(e,"parentNode",r)},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,r){return L(e,"nextSibling",r)},prevUntil:function(e,t,r){return L(e,"previousSibling",r)},siblings:function(e){return $((e.parentNode||{}).firstChild,e)},children:function(e){return $(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),A.merge([],e.childNodes))}},(function(e,t){A.fn[e]=function(r,n){var o=A.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(o=A.filter(n,o)),this.length>1&&(U[e]||A.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,r,n){var o;try{e&&y(o=e.promise)?o.call(e).done(t).fail(r):e&&y(o=e.then)?o.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}A.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return A.each(e.match(X)||[],(function(e,r){t[r]=!0})),t}(e):A.extend({},e);var t,r,n,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,n=t=!0;a.length;s=-1)for(r=a.shift();++s<i.length;)!1===i[s].apply(r[0],r[1])&&e.stopOnFalse&&(s=i.length,r=!1);e.memory||(r=!1),t=!1,o&&(i=r?[]:"")},c={add:function(){return i&&(r&&!t&&(s=i.length-1,a.push(r)),function t(r){A.each(r,(function(r,n){y(n)?e.unique&&c.has(n)||i.push(n):n&&n.length&&"string"!==w(n)&&t(n)}))}(arguments),r&&!t&&l()),this},remove:function(){return A.each(arguments,(function(e,t){for(var r;(r=A.inArray(t,i,r))>-1;)i.splice(r,1),r<=s&&s--})),this},has:function(e){return e?A.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=r="",this},disabled:function(){return!i},lock:function(){return o=a=[],r||t||(i=r=""),this},locked:function(){return!!o},fireWith:function(e,r){return o||(r=[e,(r=r||[]).slice?r.slice():r],a.push(r),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},A.extend({Deferred:function(e){var t=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return A.Deferred((function(r){A.each(t,(function(t,n){var o=y(e[n[4]])&&e[n[4]];i[n[1]]((function(){var e=o&&o.apply(this,arguments);e&&y(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,o){var i=0;function a(e,t,r,o){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<i)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(c)?o?c.call(n,a(i,t,G,o),a(i,t,K,o)):(i++,c.call(n,a(i,t,G,o),a(i,t,K,o),a(i,t,G,t.notifyWith))):(r!==G&&(s=void 0,l=[n]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(n){A.Deferred.exceptionHook&&A.Deferred.exceptionHook(n,u.error),e+1>=i&&(r!==K&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(A.Deferred.getErrorHook?u.error=A.Deferred.getErrorHook():A.Deferred.getStackHook&&(u.error=A.Deferred.getStackHook()),n.setTimeout(u))}}return A.Deferred((function(n){t[0][3].add(a(0,n,y(o)?o:G,n.notifyWith)),t[1][3].add(a(0,n,y(e)?e:G)),t[2][3].add(a(0,n,y(r)?r:K))})).promise()},promise:function(e){return null!=e?A.extend(e,o):o}},i={};return A.each(t,(function(e,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,r=t,n=Array(r),o=s.call(arguments),i=A.Deferred(),a=function(e){return function(r){n[e]=this,o[e]=arguments.length>1?s.call(arguments):r,--t||i.resolveWith(n,o)}};if(t<=1&&(Z(e,i.done(a(r)).resolve,i.reject,!t),"pending"===i.state()||y(o[r]&&o[r].then)))return i.then();for(;r--;)Z(o[r],a(r),i.reject);return i.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&J.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},A.readyException=function(e){n.setTimeout((function(){throw e}))};var V=A.Deferred();function Q(){b.removeEventListener("DOMContentLoaded",Q),n.removeEventListener("load",Q),A.ready()}A.fn.ready=function(e){return V.then(e).catch((function(e){A.readyException(e)})),this},A.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--A.readyWait:A.isReady)||(A.isReady=!0,!0!==e&&--A.readyWait>0||V.resolveWith(b,[A]))}}),A.ready.then=V.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(A.ready):(b.addEventListener("DOMContentLoaded",Q),n.addEventListener("load",Q));var ee=function(e,t,r,n,o,i,a){var s=0,l=e.length,c=null==r;if("object"===w(r))for(s in o=!0,r)ee(e,t,s,r[s],!0,i,a);else if(void 0!==n&&(o=!0,y(n)||(a=!0),c&&(a?(t.call(e,n),t=null):(c=t,t=function(e,t,r){return c.call(A(e),r)})),t))for(;s<l;s++)t(e[s],r,a?n:n.call(e[s],s,t(e[s],r)));return o?e:c?t.call(e):l?t(e[0],r):i},te=/^-ms-/,re=/-([a-z])/g;function ne(e,t){return t.toUpperCase()}function oe(e){return e.replace(te,"ms-").replace(re,ne)}var ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=A.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,r){var n,o=this.cache(e);if("string"==typeof t)o[oe(t)]=r;else for(n in t)o[oe(n)]=t[n];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,r){return void 0===t||t&&"string"==typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando];if(void 0!==n){if(void 0!==t){r=(t=Array.isArray(t)?t.map(oe):(t=oe(t))in n?[t]:t.match(X)||[]).length;for(;r--;)delete n[t[r]]}(void 0===t||A.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!A.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function pe(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(n))){try{r=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(r)}catch(e){}le.set(e,t,r)}else r=void 0;return r}A.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,r){return le.access(e,t,r)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,r){return se.access(e,t,r)},_removeData:function(e,t){se.remove(e,t)}}),A.fn.extend({data:function(e,t){var r,n,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(r=a.length;r--;)a[r]&&0===(n=a[r].name).indexOf("data-")&&(n=oe(n.slice(5)),pe(i,n,o[n]));se.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var r;if(i&&void 0===t)return void 0!==(r=le.get(i,e))||void 0!==(r=pe(i,e))?r: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)}))}}),A.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=se.get(e,t),r&&(!n||Array.isArray(r)?n=se.access(e,t,A.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=A.queue(e,t),n=r.length,o=r.shift(),i=A._queueHooks(e,t);"inprogress"===o&&(o=r.shift(),n--),o&&("fx"===t&&r.unshift("inprogress"),delete i.stop,o.call(e,(function(){A.dequeue(e,t)}),i)),!n&&i&&i.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return se.get(e,r)||se.access(e,r,{empty:A.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",r])}))})}}),A.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length<r?A.queue(this[0],e):void 0===t?this:this.each((function(){var r=A.queue(this,e,t);A._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&A.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){A.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,o=A.Deferred(),i=this,a=this.length,s=function(){--n||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=se.get(i[a],e+"queueHooks"))&&r.empty&&(n++,r.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 A.contains(e.ownerDocument,e)},ye={composed:!0};me.getRootNode&&(ve=function(e){return A.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var ge=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ve(e)&&"none"===A.css(e,"display")};function be(e,t,r,n){var o,i,a=20,s=n?function(){return n.cur()}:function(){return A.css(e,t,"")},l=s(),c=r&&r[3]||(A.cssNumber[t]?"":"px"),u=e.nodeType&&(A.cssNumber[t]||"px"!==c&&+l)&&he.exec(A.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)A.style(e,t,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,A.style(e,t,u+c),r=r||[]}return r&&(u=+u||+l||0,o=r[1]?u+(r[1]+1)*r[2]:+r[2],n&&(n.unit=c,n.start=u,n.end=o)),o}var xe={};function De(e){var t,r=e.ownerDocument,n=e.nodeName,o=xe[n];return o||(t=r.body.appendChild(r.createElement(n)),o=A.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),xe[n]=o,o)}function we(e,t){for(var r,n,o=[],i=0,a=e.length;i<a;i++)(n=e[i]).style&&(r=n.style.display,t?("none"===r&&(o[i]=se.get(n,"display")||null,o[i]||(n.style.display="")),""===n.style.display&&ge(n)&&(o[i]=De(n))):"none"!==r&&(o[i]="none",se.set(n,"display",r)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}A.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(){ge(this)?A(this).show():A(this).hide()}))}});var Ce,ke,Ae=/^(?:checkbox|radio)$/i,_e=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Se=/^$|^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 Me={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 Pe(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?A.merge([e],r):r}function Te(e,t){for(var r=0,n=e.length;r<n;r++)se.set(e[r],"globalEval",!t||se.get(t[r],"globalEval"))}Me.tbody=Me.tfoot=Me.colgroup=Me.caption=Me.thead,Me.th=Me.td,v.option||(Me.optgroup=Me.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function je(e,t,r,n,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))A.merge(d,i.nodeType?[i]:i);else if(Ee.test(i)){for(a=a||p.appendChild(t.createElement("div")),s=(_e.exec(i)||["",""])[1].toLowerCase(),l=Me[s]||Me._default,a.innerHTML=l[1]+A.htmlPrefilter(i)+l[2],u=l[0];u--;)a=a.lastChild;A.merge(d,a.childNodes),(a=p.firstChild).textContent=""}else d.push(t.createTextNode(i));for(p.textContent="",h=0;i=d[h++];)if(n&&A.inArray(i,n)>-1)o&&o.push(i);else if(c=ve(i),a=Pe(p.appendChild(i),"script"),c&&Te(a),r)for(u=0;i=a[u++];)Se.test(i.type||"")&&r.push(i);return p}var Be=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Ne(){return!1}function He(e,t,r,n,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof r&&(n=n||r,r=void 0),t)He(e,s,r,n,t[s],i);return e}if(null==n&&null==o?(o=r,n=r=void 0):null==o&&("string"==typeof r?(o=n,n=void 0):(o=n,n=r,r=void 0)),!1===o)o=Ne;else if(!o)return e;return 1===i&&(a=o,o=function(e){return A().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=A.guid++)),e.each((function(){A.event.add(this,t,o,n,r)}))}function Le(e,t,r){r?(se.set(e,t,!1),A.event.add(e,t,{namespace:!1,handler:function(e){var r,n=se.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(A.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=s.call(arguments),se.set(this,t,n),this[t](),r=se.get(this,t),se.set(this,t,!1),n!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else n&&(se.set(this,t,A.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===se.get(e,t)&&A.event.add(e,t,Oe)}A.event={global:{},add:function(e,t,r,n,o){var i,a,s,l,c,u,p,d,h,f,m,v=se.get(e);if(ie(e))for(r.handler&&(r=(i=r).handler,o=i.selector),o&&A.find.matchesSelector(me,o),r.guid||(r.guid=A.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==A&&A.event.triggered!==t.type?A.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=A.event.special[h]||{},h=(o?p.delegateType:p.bindType)||h,p=A.event.special[h]||{},u=A.extend({type:h,origType:m,data:n,handler:r,guid:r.guid,selector:o,needsContext:o&&A.expr.match.needsContext.test(o),namespace:f.join(".")},i),(d=l[h])||((d=l[h]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,n,f,a)||e.addEventListener&&e.addEventListener(h,a)),p.add&&(p.add.call(e,u),u.handler.guid||(u.handler.guid=r.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),A.event.global[h]=!0)},remove:function(e,t,r,n,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=A.event.special[h]||{},d=l[h=(n?p.delegateType:p.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)u=d[i],!o&&m!==u.origType||r&&r.guid!==u.guid||s&&!s.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!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)||A.removeEvent(e,h,v.handle),delete l[h])}else for(h in l)A.event.remove(e,h+t[c],r,n,!0);A.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,r,n,o,i,a,s=new Array(arguments.length),l=A.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=A.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=A.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,r=0;(i=o.handlers[r++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(n=((A.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var r,n,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={},r=0;r<l;r++)void 0===a[o=(n=t[r]).selector+" "]&&(a[o]=n.needsContext?A(o,this).index(c)>-1:A.find(o,this,null,[c]).length),a[o]&&i.push(n);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(A.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(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[A.expando]?e:new A.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&S(t,"input")&&Le(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&S(t,"input")&&Le(t,"click"),!0},_default:function(e){var t=e.target;return Ae.test(t.type)&&t.click&&S(t,"input")&&se.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},A.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},A.Event=function(e,t){if(!(this instanceof A.Event))return new A.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&&A.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[A.expando]=!0},A.Event.prototype={constructor:A.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()}},A.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},A.event.addProp),A.each({focus:"focusin",blur:"focusout"},(function(e,t){function r(e){if(b.documentMode){var r=se.get(this,"handle"),n=A.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,r(e),n.target===n.currentTarget&&r(n)}else A.event.simulate(t,e.target,A.event.fix(e))}A.event.special[e]={setup:function(){var n;if(Le(this,e,!0),!b.documentMode)return!1;(n=se.get(this,t))||this.addEventListener(t,r),se.set(this,t,(n||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,r),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},A.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,o=b.documentMode?this:n,i=se.get(o,t);i||(b.documentMode?this.addEventListener(t,r):n.addEventListener(e,r,!0)),se.set(o,t,(i||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,o=b.documentMode?this:n,i=se.get(o,t)-1;i?se.set(o,t,i):(b.documentMode?this.removeEventListener(t,r):n.removeEventListener(e,r,!0),se.remove(o,t))}}})),A.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){A.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=e.relatedTarget,o=e.handleObj;return n&&(n===this||A.contains(this,n))||(e.type=o.origType,r=o.handler.apply(this,arguments),e.type=t),r}}})),A.fn.extend({on:function(e,t,r,n){return He(this,e,t,r,n)},one:function(e,t,r,n){return He(this,e,t,r,n,1)},off:function(e,t,r){var n,o;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,A(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=Ne),this.each((function(){A.event.remove(this,e,r,t)}))}});var $e=/<script|<style|<link/i,Ie=/checked\s*(?:[^=]|=\s*.checked.)/i,ze=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&A(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var r,n,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(r=0,n=s[o].length;r<n;r++)A.event.add(t,o,s[o][r]);le.hasData(e)&&(i=le.access(e),a=A.extend({},i),le.set(t,a))}}function Ue(e,t){var r=t.nodeName.toLowerCase();"input"===r&&Ae.test(e.type)?t.checked=e.checked:"input"!==r&&"textarea"!==r||(t.defaultValue=e.defaultValue)}function Ye(e,t,r,n){t=l(t);var o,i,a,s,c,u,p=0,d=e.length,h=d-1,f=t[0],m=y(f);if(m||d>1&&"string"==typeof f&&!v.checkClone&&Ie.test(f))return e.each((function(o){var i=e.eq(o);m&&(t[0]=f.call(this,o,i.html())),Ye(i,t,r,n)}));if(d&&(i=(o=je(t,e[0].ownerDocument,!1,e,n)).firstChild,1===o.childNodes.length&&(o=i),i||n)){for(s=(a=A.map(Pe(o,"script"),Fe)).length;p<d;p++)c=o,p!==h&&(c=A.clone(c,!0,!0),s&&A.merge(a,Pe(c,"script"))),r.call(e[p],c,p);if(s)for(u=a[a.length-1].ownerDocument,A.map(a,qe),p=0;p<s;p++)c=a[p],Se.test(c.type||"")&&!se.access(c,"globalEval")&&A.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?A._evalUrl&&!c.noModule&&A._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):D(c.textContent.replace(ze,""),c,u))}return e}function Xe(e,t,r){for(var n,o=t?A.filter(t,e):e,i=0;null!=(n=o[i]);i++)r||1!==n.nodeType||A.cleanData(Pe(n)),n.parentNode&&(r&&ve(n)&&Te(Pe(n,"script")),n.parentNode.removeChild(n));return e}A.extend({htmlPrefilter:function(e){return e},clone:function(e,t,r){var n,o,i,a,s=e.cloneNode(!0),l=ve(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||A.isXMLDoc(e)))for(a=Pe(s),n=0,o=(i=Pe(e)).length;n<o;n++)Ue(i[n],a[n]);if(t)if(r)for(i=i||Pe(e),a=a||Pe(s),n=0,o=i.length;n<o;n++)We(i[n],a[n]);else We(e,s);return(a=Pe(s,"script")).length>0&&Te(a,!l&&Pe(e,"script")),s},cleanData:function(e){for(var t,r,n,o=A.event.special,i=0;void 0!==(r=e[i]);i++)if(ie(r)){if(t=r[se.expando]){if(t.events)for(n in t.events)o[n]?A.event.remove(r,n):A.removeEvent(r,n,t.handle);r[se.expando]=void 0}r[le.expando]&&(r[le.expando]=void 0)}}}),A.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?A.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||Re(this,e).appendChild(e)}))},prepend:function(){return Ye(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(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&&(A.cleanData(Pe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return A.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!$e.test(e)&&!Me[(_e.exec(e)||["",""])[1].toLowerCase()]){e=A.htmlPrefilter(e);try{for(;r<n;r++)1===(t=this[r]||{}).nodeType&&(A.cleanData(Pe(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 r=this.parentNode;A.inArray(this,e)<0&&(A.cleanData(Pe(this)),r&&r.replaceChild(t,this))}),e)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){A.fn[e]=function(e){for(var r,n=[],o=A(e),i=o.length-1,a=0;a<=i;a++)r=a===i?this:this.clone(!0),A(o[a])[t](r),c.apply(n,r.get());return this.pushStack(n)}}));var Ge=new RegExp("^("+de+")(?!px)[a-z%]+$","i"),Ke=/^--/,Ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Je=function(e,t,r){var n,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in n=r.call(e),t)e.style[o]=i[o];return n},Ve=new RegExp(fe.join("|"),"i");function Qe(e,t,r){var n,o,i,a,s=Ke.test(t),l=e.style;return(r=r||Ze(e))&&(a=r.getPropertyValue(t)||r[t],s&&a&&(a=a.replace(j,"$1")||void 0),""!==a||ve(e)||(a=A.style(e,t)),!v.pixelBoxStyles()&&Ge.test(a)&&Ve.test(t)&&(n=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=r.width,l.width=n,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=n.getComputedStyle(u);r="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 r,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,A.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,r,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),r=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",r.style.height="9px",r.style.display="block",me.appendChild(e).appendChild(t).appendChild(r),o=n.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"],rt=b.createElement("div").style,nt={};function ot(e){var t=A.cssProps[e]||nt[e];return t||(e in rt?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=tt.length;r--;)if((e=tt[r]+t)in rt)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,r){var n=he.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function ct(e,t,r,n,o,i){var a="width"===t?1:0,s=0,l=0,c=0;if(r===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(c+=A.css(e,r+fe[a],!0,o)),n?("content"===r&&(l-=A.css(e,"padding"+fe[a],!0,o)),"margin"!==r&&(l-=A.css(e,"border"+fe[a]+"Width",!0,o))):(l+=A.css(e,"padding"+fe[a],!0,o),"padding"!==r?l+=A.css(e,"border"+fe[a]+"Width",!0,o):s+=A.css(e,"border"+fe[a]+"Width",!0,o));return!n&&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,r){var n=Ze(e),o=(!v.boxSizingReliable()||r)&&"border-box"===A.css(e,"boxSizing",!1,n),i=o,a=Qe(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ge.test(a)){if(!r)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&S(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===A.css(e,"display",!1,n))&&e.getClientRects().length&&(o="border-box"===A.css(e,"boxSizing",!1,n),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,r||(o?"border":"content"),i,n,a)+"px"}function pt(e,t,r,n,o){return new pt.prototype.init(e,t,r,n,o)}A.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=Qe(e,"opacity");return""===r?"1":r}}}},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,r,n){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=A.cssHooks[t]||A.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(o=a.get(e,!1,n))?o:c[t];"string"===(i=typeof r)&&(o=he.exec(r))&&o[1]&&(r=be(e,t,o),i="number"),null!=r&&r==r&&("number"!==i||l||(r+=o&&o[3]||(A.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(r=a.set(e,r,n))||(l?c.setProperty(t,r):c[t]=r))}},css:function(e,t,r,n){var o,i,a,s=oe(t);return Ke.test(t)||(t=ot(s)),(a=A.cssHooks[t]||A.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,r)),void 0===o&&(o=Qe(e,t,n)),"normal"===o&&t in st&&(o=st[t]),""===r||r?(i=parseFloat(o),!0===r||isFinite(i)?i||0:o):o}}),A.each(["height","width"],(function(e,t){A.cssHooks[t]={get:function(e,r,n){if(r)return!it.test(A.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,n):Je(e,at,(function(){return ut(e,t,n)}))},set:function(e,r,n){var o,i=Ze(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||n)&&"border-box"===A.css(e,"boxSizing",!1,i),l=n?ct(e,t,n,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(r))&&"px"!==(o[3]||"px")&&(e.style[t]=r,r=A.css(e,t)),lt(0,r,l)}}})),A.cssHooks.marginLeft=et(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),A.each({margin:"",padding:"",border:"Width"},(function(e,t){A.cssHooks[e+t]={expand:function(r){for(var n=0,o={},i="string"==typeof r?r.split(" "):[r];n<4;n++)o[e+fe[n]+t]=i[n]||i[n-2]||i[0];return o}},"margin"!==e&&(A.cssHooks[e+t].set=lt)})),A.fn.extend({css:function(e,t){return ee(this,(function(e,t,r){var n,o,i={},a=0;if(Array.isArray(t)){for(n=Ze(e),o=t.length;a<o;a++)i[t[a]]=A.css(e,t[a],!1,n);return i}return void 0!==r?A.style(e,t,r):A.css(e,t)}),e,t,arguments.length>1)}}),A.Tween=pt,pt.prototype={constructor:pt,init:function(e,t,r,n,o,i){this.elem=e,this.prop=r,this.easing=o||A.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=i||(A.cssNumber[r]?"":"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,r=pt.propHooks[this.prop];return this.options.duration?this.pos=t=A.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),r&&r.set?r.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=A.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){A.fx.step[e.prop]?A.fx.step[e.prop](e):1!==e.elem.nodeType||!A.cssHooks[e.prop]&&null==e.elem.style[ot(e.prop)]?e.elem[e.prop]=e.now:A.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)}},A.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},A.fx=pt.prototype.init,A.fx.step={};var dt,ht,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function vt(){ht&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(vt):n.setTimeout(vt,A.fx.interval),A.fx.tick())}function yt(){return n.setTimeout((function(){dt=void 0})),dt=Date.now()}function gt(e,t){var r,n=0,o={height:e};for(t=t?1:0;n<4;n+=2-t)o["margin"+(r=fe[n])]=o["padding"+r]=e;return t&&(o.opacity=o.width=e),o}function bt(e,t,r){for(var n,o=(xt.tweeners[t]||[]).concat(xt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(n=o[i].call(r,t,e))return n}function xt(e,t,r){var n,o,i=0,a=xt.prefilters.length,s=A.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=dt||yt(),r=Math.max(0,c.startTime+c.duration-t),n=1-(r/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(n);return s.notifyWith(e,[c,n,r]),n<1&&a?r:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:A.extend({},t),opts:A.extend(!0,{specialEasing:{},easing:A.easing._default},r),originalProperties:t,originalOptions:r,startTime:dt||yt(),duration:r.duration,tweens:[],createTween:function(t,r){var n=A.Tween(e,c.opts,t,r,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var r=0,n=t?c.tweens.length:0;if(o)return this;for(o=!0;r<n;r++)c.tweens[r].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 r,n,o,i,a;for(r in e)if(o=t[n=oe(r)],i=e[r],Array.isArray(i)&&(o=i[1],i=e[r]=i[0]),r!==n&&(e[n]=i,delete e[r]),(a=A.cssHooks[n])&&"expand"in a)for(r in i=a.expand(i),delete e[n],i)r in e||(e[r]=i[r],t[r]=o);else t[n]=o}(u,c.opts.specialEasing);i<a;i++)if(n=xt.prefilters[i].call(c,e,u,c.opts))return y(n.stop)&&(A._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return A.map(u,bt,c),y(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),A.fx.timer(A.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}A.Animation=A.extend(xt,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return be(r.elem,e,he.exec(t),r),r}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(X);for(var r,n=0,o=e.length;n<o;n++)r=e[n],xt.tweeners[r]=xt.tweeners[r]||[],xt.tweeners[r].unshift(t)},prefilters:[function(e,t,r){var n,o,i,a,s,l,c,u,p="width"in t||"height"in t,d=this,h={},f=e.style,m=e.nodeType&&ge(e),v=se.get(e,"fxshow");for(n in r.queue||(null==(a=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--,A.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[n],ft.test(o)){if(delete t[n],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!v||void 0===v[n])continue;m=!0}h[n]=v&&v[n]||A.style(e,n)}if((l=!A.isEmptyObject(t))||!A.isEmptyObject(h))for(n in p&&1===e.nodeType&&(r.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=v&&v.display)&&(c=se.get(e,"display")),"none"===(u=A.css(e,"display"))&&(c?u=c:(we([e],!0),c=e.style.display||c,u=A.css(e,"display"),we([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===A.css(e,"float")&&(l||(d.done((function(){f.display=c})),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),r.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=r.overflow[0],f.overflowX=r.overflow[1],f.overflowY=r.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(n in m||we([e]),se.remove(e,"fxshow"),h)A.style(e,n,h[n])}))),l=bt(m?v[n]:0,n,d),n in v||(v[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?xt.prefilters.unshift(e):xt.prefilters.push(e)}}),A.speed=function(e,t,r){var n=e&&"object"==typeof e?A.extend({},e):{complete:r||!r&&t||y(e)&&e,duration:e,easing:r&&t||t&&!y(t)&&t};return A.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in A.fx.speeds?n.duration=A.fx.speeds[n.duration]:n.duration=A.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&A.dequeue(this,n.queue)},n},A.fn.extend({fadeTo:function(e,t,r,n){return this.filter(ge).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var o=A.isEmptyObject(e),i=A.speed(t,r,n),a=function(){var t=xt(this,A.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,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=A.timers,a=se.get(this);if(o)a[o]&&a[o].stop&&n(a[o]);else for(o in a)a[o]&&a[o].stop&&mt.test(o)&&n(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(r),t=!1,i.splice(o,1));!t&&r||A.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,r=se.get(this),n=r[e+"queue"],o=r[e+"queueHooks"],i=A.timers,a=n?n.length:0;for(r.finish=!0,A.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++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish}))}}),A.each(["toggle","show","hide"],(function(e,t){var r=A.fn[t];A.fn[t]=function(e,n,o){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(gt(t,!0),e,n,o)}})),A.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){A.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}})),A.timers=[],A.fx.tick=function(){var e,t=0,r=A.timers;for(dt=Date.now();t<r.length;t++)(e=r[t])()||r[t]!==e||r.splice(t--,1);r.length||A.fx.stop(),dt=void 0},A.fx.timer=function(e){A.timers.push(e),A.fx.start()},A.fx.interval=13,A.fx.start=function(){ht||(ht=!0,vt())},A.fx.stop=function(){ht=null},A.fx.speeds={slow:600,fast:200,_default:400},A.fn.delay=function(e,t){return e=A.fx&&A.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.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=A.expr.attrHandle;A.fn.extend({attr:function(e,t){return ee(this,A.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){A.removeAttr(this,e)}))}}),A.extend({attr:function(e,t,r){var n,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?A.prop(e,t,r):(1===i&&A.isXMLDoc(e)||(o=A.attrHooks[t.toLowerCase()]||(A.expr.match.bool.test(t)?Dt:void 0)),void 0!==r?null===r?void A.removeAttr(e,t):o&&"set"in o&&void 0!==(n=o.set(e,r,t))?n:(e.setAttribute(t,r+""),r):o&&"get"in o&&null!==(n=o.get(e,t))?n:null==(n=A.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&S(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,o=t&&t.match(X);if(o&&1===e.nodeType)for(;r=o[n++];)e.removeAttribute(r)}}),Dt={set:function(e,t,r){return!1===t?A.removeAttr(e,r):e.setAttribute(r,r),r}},A.each(A.expr.match.bool.source.match(/\w+/g),(function(e,t){var r=wt[t]||A.find.attr;wt[t]=function(e,t,n){var o,i,a=t.toLowerCase();return n||(i=wt[a],wt[a]=o,o=null!=r(e,t,n)?a:null,wt[a]=i),o}}));var Ct=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;function At(e){return(e.match(X)||[]).join(" ")}function _t(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(X)||[]}A.fn.extend({prop:function(e,t){return ee(this,A.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[A.propFix[e]||e]}))}}),A.extend({prop:function(e,t,r){var n,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&A.isXMLDoc(e)||(t=A.propFix[t]||t,o=A.propHooks[t]),void 0!==r?o&&"set"in o&&void 0!==(n=o.set(e,r,t))?n:e[t]=r:o&&"get"in o&&null!==(n=o.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=A.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||(A.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)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){A.propFix[this.toLowerCase()]=this})),A.fn.extend({addClass:function(e){var t,r,n,o,i,a;return y(e)?this.each((function(t){A(this).addClass(e.call(this,t,_t(this)))})):(t=St(e)).length?this.each((function(){if(n=_t(this),r=1===this.nodeType&&" "+At(n)+" "){for(i=0;i<t.length;i++)o=t[i],r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=At(r),n!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,r,n,o,i,a;return y(e)?this.each((function(t){A(this).removeClass(e.call(this,t,_t(this)))})):arguments.length?(t=St(e)).length?this.each((function(){if(n=_t(this),r=1===this.nodeType&&" "+At(n)+" "){for(i=0;i<t.length;i++)for(o=t[i];r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a=At(r),n!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var r,n,o,i,a=typeof e,s="string"===a||Array.isArray(e);return y(e)?this.each((function(r){A(this).toggleClass(e.call(this,r,_t(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(r=St(e),this.each((function(){if(s)for(i=A(this),o=0;o<r.length;o++)n=r[o],i.hasClass(n)?i.removeClass(n):i.addClass(n);else void 0!==e&&"boolean"!==a||((n=_t(this))&&se.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,r,n=0;for(t=" "+e+" ";r=this[n++];)if(1===r.nodeType&&(" "+At(_t(r))+" ").indexOf(t)>-1)return!0;return!1}});var Mt=/\r/g;A.fn.extend({val:function(e){var t,r,n,o=this[0];return arguments.length?(n=y(e),this.each((function(r){var o;1===this.nodeType&&(null==(o=n?e.call(this,r,A(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=A.map(o,(function(e){return null==e?"":e+""}))),(t=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=A.valHooks[o.type]||A.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(o,"value"))?r:"string"==typeof(r=o.value)?r.replace(Mt,""):null==r?"":r:void 0}}),A.extend({valHooks:{option:{get:function(e){var t=A.find.attr(e,"value");return null!=t?t:At(A.text(e))}},select:{get:function(e){var t,r,n,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(n=i<0?l:a?i:0;n<l;n++)if(((r=o[n]).selected||n===i)&&!r.disabled&&(!r.parentNode.disabled||!S(r.parentNode,"optgroup"))){if(t=A(r).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var r,n,o=e.options,i=A.makeArray(t),a=o.length;a--;)((n=o[a]).selected=A.inArray(A.valHooks.option.get(n),i)>-1)&&(r=!0);return r||(e.selectedIndex=-1),i}}}}),A.each(["radio","checkbox"],(function(){A.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=A.inArray(A(e).val(),t)>-1}},v.checkOn||(A.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Pt=n.location,Tt={guid:Date.now()},Et=/\?/;A.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||A.error("Invalid XML: "+(r?A.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var jt=/^(?:focusinfocus|focusoutblur)$/,Bt=function(e){e.stopPropagation()};A.extend(A.event,{trigger:function(e,t,r,o){var i,a,s,l,c,u,p,d,f=[r||b],m=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!jt.test(m+A.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[A.expando]?e:new A.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=r),t=null==t?[e]:A.makeArray(t,[e]),p=A.event.special[m]||{},o||!p.trigger||!1!==p.trigger.apply(r,t))){if(!o&&!p.noBubble&&!g(r)){for(l=p.delegateType||m,jt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(r.ownerDocument||b)&&f.push(s.defaultView||s.parentWindow||n)}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(r)||c&&y(r[m])&&!g(r)&&((s=r[c])&&(r[c]=null),A.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Bt),r[m](),e.isPropagationStopped()&&d.removeEventListener(m,Bt),A.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,r){var n=A.extend(new A.Event,r,{type:e,isSimulated:!0});A.event.trigger(n,null,t)}}),A.fn.extend({trigger:function(e,t){return this.each((function(){A.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var r=this[0];if(r)return A.event.trigger(e,t,r,!0)}});var Ot=/\[\]$/,Nt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function $t(e,t,r,n){var o;if(Array.isArray(t))A.each(t,(function(t,o){r||Ot.test(e)?n(e,o):$t(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,r,n)}));else if(r||"object"!==w(t))n(e,t);else for(o in t)$t(e+"["+o+"]",t[o],r,n)}A.param=function(e,t){var r,n=[],o=function(e,t){var r=y(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!A.isPlainObject(e))A.each(e,(function(){o(this.name,this.value)}));else for(r in e)$t(r,e[r],t,o);return n.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=A.prop(this,"elements");return e?A.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!A(this).is(":disabled")&&Lt.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!Ae.test(e))})).map((function(e,t){var r=A(this).val();return null==r?null:Array.isArray(r)?A.map(r,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:r.replace(Nt,"\r\n")}})).get()}});var It=/%20/g,zt=/#.*$/,Rt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,qt=/^(?:GET|HEAD)$/,Wt=/^\/\//,Ut={},Yt={},Xt="*/".concat("*"),Gt=b.createElement("a");function Kt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,o=0,i=t.toLowerCase().match(X)||[];if(y(r))for(;n=i[o++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Zt(e,t,r,n){var o={},i=e===Yt;function a(s){var l;return o[s]=!0,A.each(e[s]||[],(function(e,s){var c=s(t,r,n);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 Jt(e,t){var r,n,o=A.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((o[r]?e:n||(n={}))[r]=t[r]);return n&&A.extend(!0,e,n),e}Gt.href=Pt.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Pt.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":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,A.ajaxSettings),t):Jt(A.ajaxSettings,e)},ajaxPrefilter:Kt(Ut),ajaxTransport:Kt(Yt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,i,a,s,l,c,u,p,d,h=A.ajaxSetup({},t),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?A(f):A.event,v=A.Deferred(),y=A.Callbacks("once memory"),g=h.statusCode||{},x={},D={},w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ft.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)g[t]=[g[t],e[t]];return this},abort:function(e){var t=e||w;return r&&r.abort(t),k(0,t),this}};if(v.promise(C),h.url=((e||h.url||Pt.href)+"").replace(Wt,Pt.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=A.param(h.data,h.traditional)),Zt(Ut,h,t,C),c)return C;for(p in(u=A.event&&h.global)&&0==A.active++&&A.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!qt.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(It,"+")):(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(Rt,"$1"),d=(Et.test(o)?"&":"?")+"_="+Tt.guid+++d),h.url=o+d),h.ifModified&&(A.lastModified[o]&&C.setRequestHeader("If-Modified-Since",A.lastModified[o]),A.etag[o]&&C.setRequestHeader("If-None-Match",A.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",y.add(h.complete),C.done(h.success),C.fail(h.error),r=Zt(Yt,h,t,C)){if(C.readyState=1,u&&m.trigger("ajaxSend",[C,h]),c)return C;h.async&&h.timeout>0&&(s=n.setTimeout((function(){C.abort("timeout")}),h.timeout));try{c=!1,r.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&&n.clearTimeout(s),r=void 0,i=l||"",C.readyState=e>0?4:0,p=e>=200&&e<300||304===e,a&&(x=function(e,t,r){for(var n,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(o in s)if(s[o]&&s[o].test(n)){l.unshift(o);break}if(l[0]in r)i=l[0];else{for(o in r){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),r[i]}(h,C,a)),!p&&A.inArray("script",h.dataTypes)>-1&&A.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),x=function(e,t,r,n){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]&&(r[e.responseFields[i]]=t),!l&&n&&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"))&&(A.lastModified[o]=D),(D=C.getResponseHeader("etag"))&&(A.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(g),g=void 0,u&&m.trigger(p?"ajaxSuccess":"ajaxError",[C,h,p?d:b]),y.fireWith(f,[C,w]),u&&(m.trigger("ajaxComplete",[C,h]),--A.active||A.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,r){return A.get(e,t,r,"json")},getScript:function(e,t){return A.get(e,void 0,t,"script")}}),A.each(["get","post"],(function(e,t){A[t]=function(e,r,n,o){return y(r)&&(o=o||n,n=r,r=void 0),A.ajax(A.extend({url:e,type:t,dataType:o,data:r,success:n},A.isPlainObject(e)&&e))}})),A.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),A._evalUrl=function(e,t,r){return A.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){A.globalEval(e,t,r)}})},A.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=A(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 y(e)?this.each((function(t){A(this).wrapInner(e.call(this,t))})):this.each((function(){var t=A(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(r){A(this).wrapAll(t?e.call(this,r):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){A(this).replaceWith(this.childNodes)})),this}}),A.expr.pseudos.hidden=function(e){return!A.expr.pseudos.visible(e)},A.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Qt=A.ajaxSettings.xhr();v.cors=!!Qt&&"withCredentials"in Qt,v.ajax=Qt=!!Qt,A.ajaxTransport((function(e){var t,r;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=r=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(Vt[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(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),A.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),A.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 A.globalEval(e),e}}}),A.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),A.ajaxTransport("script",(function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,o){t=A("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){r&&r()}}}));var er,tr=[],rr=/(=)\?(?=&|$)|\?\?/;A.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tr.pop()||A.expando+"_"+Tt.guid++;return this[e]=!0,e}}),A.ajaxPrefilter("json jsonp",(function(e,t,r){var o,i,a,s=!1!==e.jsonp&&(rr.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&rr.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(rr,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||A.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always((function(){void 0===i?A(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,tr.push(o)),a&&y(i)&&i(a[0]),a=i=void 0})),"script"})),v.createHTMLDocument=((er=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===er.childNodes.length),A.parseHTML=function(e,t,r){return"string"!=typeof e?[]:("boolean"==typeof t&&(r=t,t=!1),t||(v.createHTMLDocument?((n=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(n)):t=b),i=!r&&[],(o=z.exec(e))?[t.createElement(o[1])]:(o=je([e],t,i),i&&i.length&&A(i).remove(),A.merge([],o.childNodes)));var n,o,i},A.fn.load=function(e,t,r){var n,o,i,a=this,s=e.indexOf(" ");return s>-1&&(n=At(e.slice(s)),e=e.slice(0,s)),y(t)?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&A.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(n?A("<div>").append(A.parseHTML(e)).find(n):e)})).always(r&&function(e,t){a.each((function(){r.apply(this,i||[e.responseText,t,e])}))}),this},A.expr.pseudos.animated=function(e){return A.grep(A.timers,(function(t){return e===t.elem})).length},A.offset={setOffset:function(e,t,r){var n,o,i,a,s,l,c=A.css(e,"position"),u=A(e),p={};"static"===c&&(e.style.position="relative"),s=u.offset(),i=A.css(e,"top"),l=A.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(n=u.position()).top,o=n.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),y(t)&&(t=t.call(e,r,A.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)}},A.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){A.offset.setOffset(this,e,t)}));var t,r,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,r,n=this[0],o={top:0,left:0};if("fixed"===A.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),r=n.ownerDocument,e=n.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&"static"===A.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((o=A(e).offset()).top+=A.css(e,"borderTopWidth",!0),o.left+=A.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-A.css(n,"marginTop",!0),left:t.left-o.left-A.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===A.css(e,"position");)e=e.offsetParent;return e||me}))}}),A.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var r="pageYOffset"===t;A.fn[e]=function(n){return ee(this,(function(e,n,o){var i;if(g(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[n];i?i.scrollTo(r?i.pageXOffset:o,r?o:i.pageYOffset):e[n]=o}),e,n,arguments.length)}})),A.each(["top","left"],(function(e,t){A.cssHooks[t]=et(v.pixelPosition,(function(e,r){if(r)return r=Qe(e,t),Ge.test(r)?A(e).position()[t]+"px":r}))})),A.each({Height:"height",Width:"width"},(function(e,t){A.each({padding:"inner"+e,content:t,"":"outer"+e},(function(r,n){A.fn[n]=function(o,i){var a=arguments.length&&(r||"boolean"!=typeof o),s=r||(!0===o||!0===i?"margin":"border");return ee(this,(function(t,r,o){var i;return g(t)?0===n.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?A.css(t,r,s):A.style(t,r,o,s)}),t,a?o:void 0,a)}}))})),A.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){A.fn[t]=function(e){return this.on(t,e)}})),A.fn.extend({bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),A.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){A.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}}));var nr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;A.proxy=function(e,t){var r,n,o;if("string"==typeof t&&(r=e[t],t=e,e=r),y(e))return n=s.call(arguments,2),o=function(){return e.apply(t||this,n.concat(s.call(arguments)))},o.guid=e.guid=e.guid||A.guid++,o},A.holdReady=function(e){e?A.readyWait++:A.ready(!0)},A.isArray=Array.isArray,A.parseJSON=JSON.parse,A.nodeName=S,A.isFunction=y,A.isWindow=g,A.camelCase=oe,A.type=w,A.now=Date.now,A.isNumeric=function(e){var t=A.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},A.trim=function(e){return null==e?"":(e+"").replace(nr,"$1")},void 0===(r=function(){return A}.apply(t,[]))||(e.exports=r);var or=n.jQuery,ir=n.$;return A.noConflict=function(e){return n.$===A&&(n.$=ir),e&&n.jQuery===A&&(n.jQuery=or),A},void 0===o&&(n.jQuery=n.$=A),A}))},7695:(e,t,r)=>{"use strict";(()=>{if(globalThis.cache||(globalThis.cache={}),globalThis.state||(globalThis.state={}),globalThis.observer||(globalThis.observer=()=>{}),globalThis.dphelper)return;const e=r(8330);globalThis.$=globalThis.jQuery=r(4692),Object.defineProperty(globalThis,"dphelper",{value:{},writable:!1,configurable:!1});const t=r(4787);if(t.scripts)return;t.scripts=[],t.version=e.version;const n=setInterval((()=>{var e;const t=null===(e=null===dphelper||void 0===dphelper?void 0:dphelper.socket)||void 0===e?void 0:e.list(),r=[];t.map((e=>{r.push(e.url)})),dphelper._list.sockets=r,r&&clearInterval(n)}),1e3);var o;Object.defineProperties(dphelper,{_list:{value:t},version:{value:e.version}}),$.ajaxSetup({async:!0,cache:!0,global:!0}),(o=r(6245)).keys().forEach((e=>cache[e]=o(e))),dphelper.credits(e),Object.freeze(dphelper)})()},5815:()=>{"use strict";window.addEventListener("message",(e=>{const t=e.data;"dpHelper"===t.exec&&"state"===t.tool&&t.command&&t.name&&state[t.command]([t.name])}))},35:()=>{"use strict";dphelper.setProps=(e,t,r)=>{Object.defineProperty(e,t.name,{writable:!1,configurable:!1}),(null==r?void 0:r.lock)&&Object.freeze(e[t.name])}},9634:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),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(dphelper,n,{lock:!0})},4292:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"unique",version:"0.0.1",example:"dphelper.array.unique([array])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:Array},{name:"delete",version:"0.0.1",example:"dphelper.array.delete([array])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:Array},{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:Array},{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:Array},{name:"asc",version:"0.0.1",example:"dphelper.array.asc([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"desc",version:"0.0.1",example:"dphelper.array.desc([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"duplicates",version:"0.0.1",example:"dphelper.array.duplicates([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"even",version:"0.0.1",example:"dphelper.array.even([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"odd",version:"0.0.1",example:"dphelper.array.odd([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"shuffle",version:"0.0.1",example:"dphelper.array.shuffle([array])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.array={find:(e,t)=>{if(Array.isArray(e)){for(const r of e){if(r[t]===t)return r;if(r.children){const e=dphelper.array.find(t,r.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(r,n,o){if(r[t]===t)return o.splice(n,1),!0;for(const t of Object.keys(r)){const n=r[t];if(n.length&&"object"==typeof n)return n&&n.map(e)}}))},merge:(e,t)=>{for(const r of Object.keys(e))e[r]instanceof Object&&t[r]&&Object.assign(e[r],dphelper.mergeArrays(t[r],e[r]));return Object.assign(t||{},e),t},mergeByKey:(e,t,r)=>(e.map(((n,o)=>Object.values(t).map((t=>n[r]===t[r]?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,r)=>t.indexOf(e)!==r))},even:e=>{if(!Array.isArray(e))return;const t=[],r=e.length;for(let n=0;n<r;n++)e[n]%2==0&&t.push(e[n]);return t},odd:e=>{if(!Array.isArray(e))return;const t=[],r=e.length;for(let n=0;n<r;n++)e[n]%2&&t.push(e[n]);return t},toObj:e=>Object.assign({},e),sumColumn:(e=[],t=0)=>{if(Array.isArray(e)){if(void 0===t)return"provide a column";var r,n=0;return(r=e.map((e=>n+=e[t])))[r.length-1]}return"provide an multidimensiona array"},shuffle:e=>{if(Array.isArray(e)){for(let t=e.length-1;t>0;t--){const r=Math.floor(Math.random()*(t+1));[e[t],e[r]]=[e[r],e[t]]}return e}},generate:e=>{isNaN(e)||dphelper.array.shuffle(e)},testArrayInt(e){if(!Array.isArray(e))return;let t,r;for(var n=1;n<e.length;++n)t=e.includes(n),!1===t&&void 0!==t&&(r=n);return r||e.length+1},rand32:e=>{const t=performance.now(),r=[];r.nums=[],r.time=[];for(var n=0;n<e;++n)r.nums.push(crypto.getRandomValues(new Uint32Array(1))[0]);const o=performance.now();return r.time.push(o-t),r}},dphelper.setProps(dphelper,n,{lock:!0})},1099:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.avoid={cache:e=>e.concat(/\?/.test(e)?"&":"?","t=",dphelper.rnd())},Object.freeze(dphelper.avoid),dphelper.setProps(dphelper,n,{lock:!0})},7690:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"forw",version:"0.0.1",example:"dphelper.browser.forw([number])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"back",version:"0.0.1",example:"dphelper.browser.back([number])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"reload",version:"0.0.1",example:"dphelper.browser.reload()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"href",version:"0.0.1",example:"dphelper.browser.href([url])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"offline",version:"0.0.1",example:"dphelper.browser.offline([text])",author:"Dario Passariello",creationDate:"20190727",lastMod:"20240727",type:"function",active:!0,description:"",subCommand:Array},{name:"zoom",version:"0.0.1",example:"dphelper.browser.zoom()",author:"Dario Passariello",creationDate:"20190727",lastMod:"20240727",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.browser={state:(e,t,r)=>history.pushState(e,t,r),forw:e=>history.go(e),back:e=>history.go(-Math.abs(e)),reload:()=>globalThis.location.href="/",href:e=>globalThis.location.href=e,offLine:(e="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: "${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(dphelper,n,{lock:!0})},3119:(e,t,r)=>{"use strict";r.r(t);const n={name:"cache",active:!0,subCommand:Array};dphelper._list.scripts.push(n),cache={},dphelper.setProps(globalThis,n,{lock:!1})},7026:(e,t,r)=>{"use strict";r.r(t);const n={name:"check",active:!0,subCommand:[{name:"url",version:"0.0.1",example:"dphelper.check.url([domain])",description:"",author:"Dario Passariello",creationDate:"20240829",lastMod:"20240829",type:"function",active:!0,subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.check={url:e=>{fetch(`https://a51.dev/dns/status.php?domain=${e}`).then((e=>e.json())).then((e=>(console.table(e),e)))}},Object.freeze(dphelper.check),dphelper.setProps(dphelper,n,{lock:!0})},221:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{name:"toRGB",version:"0.0.1",example:"dphelper.color.toRGB('#ffffff')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"oleColor",version:"0.0.1",example:"dphelper.color.oleColor('#ffffff')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,description:"",subCommand:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.color={hex:e=>{const t="0123456789abcdef";let r=parseInt(e);return 0==r||isNaN(e)?"00":(r=Math.round(Math.min(Math.max(0,r),255)),t.charAt((r-r%16)/16)+t.charAt(r%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,r)=>{const n=dphelper.color.toRGB(e),o=dphelper.color.toRGB(t),i=r,a=[];let s=0;for(let e=0;e<i;e++){const e=[];s+=1/i,e[0]=n[0]*s+(1-s)*o[0],e[1]=n[1]*s+(1-s)*o[1],e[2]=n[2]*s+(1-s)*o[2],a.push(dphelper.color.toHex(e))}return a}},dphelper.setProps(dphelper,n,{lock:!0})},7424:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"stop",version:"0.0.1",example:"dphelper.console.stop()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"toHtml",version:"0.0.1",example:"dphelper.console.toHtml()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.console={info:(e,t,r)=>{console.groupCollapsed("%c"+e+":%c","color:orange",""),console.debug(t,e,r),console.groupEnd()},stop:(e=["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(),dphelper.console.disableYellowBox=!0,console.log=()=>{},console.debug=()=>{},globalThis.console=console;const t=()=>{};e.forEach((e=>{dphelper.console.method=t}))},toHtml:e=>{console.log;const t=document.getElementById(e);dphelper.console.toHtml=function(e){t.innerHTML+="object"==typeof e?(JSON&&JSON.stringify?JSON.stringify(e):e)+"<br />":e+"<br />"}}},dphelper.setProps(dphelper,n,{lock:!0})},1585:(e,t,r)=>{"use strict";r.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 r=document.createElement("div");r.id="debugConsole",e.appendChild(r),this.domElement=r,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(...r){const[n]=r;e.some((e=>n.includes(e)))||t(...r)};const r=console.info;console.info=function(...t){const[n]=t;e.some((e=>n.includes(e)))||r(...t)};const n=console.warn;console.warn=function(...t){const[r]=t;e.some((e=>r.includes(e)))||n(...t)};const o=console.error;console.error=function(...t){const[r]=t;e.some((e=>r.includes(e)))||o(...t)},globalThis.onerror=(e,t,r)=>{const n=[e," in <a href='",t,"' target='_blank'>",null==t?void 0:t.split("/").pop(),"</a>:",r];return console.error(n.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})},4352:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n);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,r,n)=>{let o=e+t/60+r/3600;return"S"!=n&&"W"!=n||(o*=-1),o},distance:(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t))return;const r=e[0]*Math.PI/180,n=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(r)*Math.cos(n)*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(dphelper,n,{lock:!0})},2057:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"get",version:"0.0.1",example:"dphelper.cookie.get([name])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:Array},{name:"delete",version:"0.0.1",example:"dphelper.cookie.delete([name])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:Array},{name:"clearAll",version:"0.0.1",example:"dphelper.cookie.clearAll()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.cookie={set:e=>{const t=new Date;if(t.setTime(t.getTime()+31536e6),!e.name)return;const{name:r,value:n,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=`${r}=${n};expires=${o};path=${i};SameSite=${a};requireSSL=${s};`},get:e=>{const t=document.cookie.split("; "),r=t.length;for(let n=0;n<r;n++){const r=t[n].split("=");if(e===r[0])return unescape(r[1])}return null},delete:e=>{document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;"},clearAll:()=>{const e=document.cookie.split(";"),t=e.length;for(let r=0;r<t;r++){const t=e[r],n=t.indexOf("="),o=n>-1?t.slice(0,n):t;dphelper.cookie.delete(o)}}},dphelper.setProps(dphelper,n,{lock:!0})},9184:()=>{"use strict";dphelper.credits=e=>{console.groupCollapsed(`%c${e.name} v${e.version}%c`,"color:orange",""),console.debug(`%c${e.name} v${e.version}%c by Dario Passariello started`,"color:orange",""),console.debug(`%cType ${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()}},9420:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"toMMDDYYYY",version:"0.0.1",example:"dphelper.date.toMMDDYYYY([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"toYYYYMMDD",version:"0.0.1",example:"dphelper.date.toYYYYMMDD([value])",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230101",type:"function",active:!0,description:"",subCommand:Array},{name:"toHuman",version:"0.0.1",example:"dphelper.date.toHuman([value])",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"iso2Epoch",version:"0.0.1",example:"dphelper.date.iso2Epoch([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"localIsoTime",version:"0.0.1",example:"dphelper.date.localIsoTime([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"utc",version:"0.0.1",example:"dphelper.date.utc()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"year",version:"0.0.1",example:"dphelper.date.year()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"dateTimeToString",version:"0.0.1",example:"dphelper.date.dateTimeToString([dateObject])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"fullDate",version:"0.0.1",example:"dphelper.date.fullDate()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"epoch",version:"0.0.1",example:"dphelper.date.epoch()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.date={days:(e="en")=>({en:["Monday","Tuesday","Wednesday","Thursday","Wednesday","Saturday","Sunday"],it:["lunedì","martedì","mercoledì","giovedì","Venerdì","Sabato","domenica"]}[e]),months:(e="en")=>({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"]}[e]),toIso:(e,t="en")=>{e||(e="");const r=new Date(e);if("Invalid Date"==String(r))return null;return new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(r)},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 r=e.substring(0,2).replace("0",""),n=e.substring(2,4),o=e.substring(e.length-4);return n+" "+t[Number(r)-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:(e,t="/")=>{if(!e)return null;return e.substring(0,2)+t+e.substring(2,4)+t+e.substring(4,8)},year:()=>{var e;return null===(e=/\d{4}/.exec(Date()))||void 0===e?void 0:e[0]},addDays:(e,t)=>{const r=new Date(Number(e));return r.setDate(e.getDate()+t),r},dateTimeToString:e=>{try{return`${e.getFullYear()}${e.getMonth().toString().length>1?e.getMonth()+1:`0${e.getMonth()+1}`}\n ${e.getDate().toString().length>1?e.getDate():`0${e.getDate()}`}_${e.getHours()}${e.getMinutes()}${e.getSeconds()}`}catch(t){return e}},isoToHuman:(e,t="@")=>{if(!e)return null;const r=dphelper.date.months(),n=new Date(e),o=n.getFullYear(),i=e.split("T")[1].split(":").slice(0,2).join(":");let a=(n.getMonth()+1).toString(),s=n.getDate().toString();return s.length<2&&(s="0"+s),a.length<2&&(a="0"+a),s+" "+r[Number(a)-1]+" "+o+" "+t+" "+i},fullDate:e=>{const t=new Date,r=Number(t.getDate()),n=Number(t.getMonth()+1),o=Number(t.getFullYear()),i=Number(t.getHours()),a=Number(t.getMinutes());return(r<10?"0"+r:r)+"-"+(n<10?"0"+n:n)+"-"+o+" "+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+":"+Number(t.getSeconds())},epoch:()=>(new Date).getTime(),diffInDays:function(e,t){var r=t.getTime(),n=e.getTime();return Math.floor((r-n)/864e5)},diffInWeeks:function(e,t){var r=t.getTime(),n=e.getTime();return Number(parseInt(String((r-n)/6048e5)))},diffInMonths:function(e,t){var r=e.getFullYear(),n=t.getFullYear(),o=e.getMonth();return t.getMonth()+12*n-(o+12*r)},diffInYears:function(e,t){return t.getFullYear()-e.getFullYear()},dateToYMD:e=>{var t=e.getDate(),r=e.getMonth()+1;return e.getFullYear()+"-"+(r<=9?"0"+r:r)+"-"+(t<=9?"0"+t:t)},collection:(e=new Date,t,r="en-US")=>{let n;switch(!e&&t&&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 '),t){case"toDateString":n=e.toDateString();break;case"toISOString":n=e.toISOString();break;case"toJSON":n=e.toJSON();break;case"toLocaleDateString":n=e.toLocaleDateString(r);break;case"toLocaleString":n=e.toLocaleString(r);break;case"toLocaleTimeString":n=e.toLocaleTimeString(r);break;case"toString":n=e.toString();break;case"toISOStringShort":n=e.toISOString().slice(0,10)}return n}},dphelper.setProps(dphelper,n,{lock:!0})},3534:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{name:"rightClick",version:"0.0.1",example:"dphelper.disable.rightClick([element])",author:"Dario Passariello",creationDate:"20220101",lastMod:"20220101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.disable={select:function(e="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:(e=5e3)=>{setInterval((()=>{const e=document.querySelectorAll("input[type=text], textarea, code"),t=e.length;for(let r=0;r<t;r++)e[r].getAttribute("spellcheck")||e[r].setAttribute("spellcheck","false")}),e)},rightClick:(e="body")=>{$(document).ready((function(){$(e).on("contextmenu",(function(e){return!1}))}))}},dphelper.setProps(dphelper,n,{lock:!0})},493:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.dispatch={set:(e,t={})=>{dispatchEvent(new CustomEvent(e,t))},listen:(e,t=null,r=!1)=>{$(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(dphelper,n,{lock:!0})},1202:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.element={fitScale:(e,t=1,r=!1)=>{addEventListener("resize",(n=>{dphelper.element.scaleBasedOnWindow(e,t,r)}))},scaleBasedOnWindow:(e,t,r)=>{if(!e)return;const n=$(e),o=n.width()||1,i=n.height()||1;r?n.css("transform","scale("+t/Math.max(o/globalThis.innerWidth,i/globalThis.innerHeight)+")"):n.css("transform","scale("+t/Math.min(o/globalThis.innerWidth,i/globalThis.innerHeight)+")")}},dphelper.setProps(dphelper,n,{lock:!0})},6730:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={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:Array},{name:"copy",version:"0.0.1",example:"dphelper.event.copy([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"onDrag",version:"0.0.1",example:"dphelper.event.onDrag([element])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:Array},{name:"keys",version:"0.0.1",example:"dphelper.event.keys(e)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(o),dphelper.event={list:e=>{globalThis.getEventListeners(e)},multi:(e,t,r)=>{const n=t.split(" ");for(let t=0,o=n.length;t<o;++t)e.addEventListener(n[t],r,!1)},copy:e=>{document.querySelector(e).addEventListener("click",(e=>(0,n.sH)(void 0,void 0,void 0,(function*(){if(navigator.clipboard)try{console.debug(e,e.srcElement.textContent),yield 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(r){r.pageX,r.pageY;$(window).mousemove((function(r){t=!0;const n=(r.pageY>0?r.pageY:0)-$(".popup_overflow_"+e).height()/2,o=(r.pageX>0?r.pageX:0)-$(".popup_overflow_"+e).width()/2;localStorage.setItem(e,JSON.stringify([n,o]))}))})).mouseup((function(){t=!1,$(window).unbind("mousemove")}))},keys:e=>({key:e.key,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})},dphelper.setProps(dphelper,o,{lock:!0})},7930:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{name:"required",version:"0.0.1",example:"dphelper.form.required([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array},{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:Array},{name:"isNumeric",version:"0.0.1",example:"dphelper.form.isNumeric([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"isEmail",version:"0.0.1",example:"dphelper.form.isEmail([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.form={serialize:function(e){const t=r(4692),n=t(e),o={};if(!/[a-zA-Z][a-zA-Z0-9-_.]/.test(n.name))return;const i=(e,t)=>{let r=e[0];"]"==r.slice(-1)&&(r=r.slice(0,-1));const n={};return 1==e.length?n[r]=(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(),n[r]=i(e,t)),n};return t.each(n.serializeArray(),(function(){const e=this.value,r=this.name.split("["),n=i(r,e);t.extend(!0,o,n)})),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:(e,t=1)=>!e||(null==e?void 0:e.length)<t?"Must Enter a Value":void 0,maxLength:(e,t=10)=>(null==e?void 0:e.length)>t?"Exceeds Max Length":void 0,maxPhoneNumber:(e,t=10)=>{var r;return(null===(r=null==e?void 0:e.toString())||void 0===r?void 0:r.length)>t?"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:(e=[7,24],t,r)=>{var n="",o=e[0],i=e[1];n=`<form id='${t}'>`,n+="<div class='table'>",n+="<div class='title'>";for(var a=1;a<=o;a++)n+=`<span>${a}</span>`;n+="</div>";for(var s=1;s<=i;s++){n+=`<div class='row'><span>${s}</span>`;for(var l=1;l<=o;l++)n+=`<input name='data[${l}][${s}]' tabindex='${l.toString().padStart(2,"0")}${s.toString().padStart(2,"0")}' type='number' onclick="this.select()" value='${Math.floor(100*Math.random())}' title='${l} to ${s}' />`;n+="</div>"}n+="</div>",n+="</form>",$(r).html(n)},sanitize:e=>{if(e)return e.replace(/[^\w ]/g,"").replace(/[&/\\#, +()$~%.'":*?<>{}]/g,""),e}},dphelper.setProps(dphelper,n,{lock:!0})},7855:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"phoneNumber",version:"0.0.1",example:"dphelper.format.phoneNumber()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.format={currency:(e,t="en-US",r="USD")=>{e&&!isNaN(e)||(e=0);return new Intl.NumberFormat(t,{style:"currency",currency:r}).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(dphelper,n,{lock:!0})},2964:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.func={new:(e,t)=>{dphelper.func[e]=Object.assign({},t)},toObj:{set:(e,t)=>[e,t],get:e=>e.getDetails()}},dphelper.setProps(dphelper,n,{lock:!0})},3507:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(o),dphelper.iDB={init:()=>{dphelper.iDB.toState()},create:(e,t)=>{if(dphelper.iDB.exist(e))return void(null===top||void 0===top||top.alert(`Database "${e}" already exist`));const r=indexedDB.open(e,dphelper.iDB.version(e));r.onerror=e=>(console.debug(e,"Database create error: "+e.target.errorCode),!1),r.onsuccess=r=>{const n=r.target.result,o=n.version;if(n.close(),void 0===dphelper.iDB.version(e)){indexedDB.open(e,o+1).onupgradeneeded=e=>{const r=e.target.result;if(0!=r.objectStoreNames.length)return;r.createObjectStore(t,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0}),r.close()}}dphelper.iDB.refresh()}},open:e=>{if(!dphelper.iDB.exist(e))return;const t=window,r=window.indexedDB||t.mozIndexedDB||t.webkitIndexedDB||t.msIndexedDB;r||(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=r.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,r)=>{if(!dphelper.iDB.exist(e))return;const n=indexedDB.open(e,dphelper.iDB.version(e));n.onerror=e=>console.debug(e,"Database insert error: "+e.target.errorCode),n.onsuccess=e=>{try{const n=e.target.result;n.transaction([t],"readwrite").objectStore(t).add({value:r}),n.close(),dphelper.iDB.refresh()}catch(e){console.debug(e,"IndexDB insert not work")}}},update:(e,t,r,n)=>{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(+r).onsuccess=e=>{const t=e.target.result;t.value=n;const r=o.put(t);r.onsuccess=e=>{dphelper.iDB.refresh()},r.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 r=e.target.result.createObjectStore(t,{keyPath:"taskTitle"});r.createIndex("hours","hours",{unique:!1}),r.createIndex("minutes","minutes",{unique:!1}),r.createIndex("day","day",{unique:!1}),r.createIndex("month","month",{unique:!1}),r.createIndex("year","year",{unique:!1})}},get:(e,t,r)=>{new Promise(((n,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(r).onsuccess=e=>{const t=e.target.result;n(t)}}}))},store:(e,t)=>{if(!dphelper.iDB.exist(e))return;const r=indexedDB.open(e,dphelper.iDB.version(e));r.onerror=e=>{console.debug(e,"Database get error: "+e.target.errorCode)},r.onsuccess=r=>{const n=r.target.result;if(0===n.objectStoreNames.length)return;n.transaction([t],"readwrite").objectStore(t).openCursor().onsuccess=r=>{const n=r.target.result;if(n){const r=n.primaryKey,o=n.value;dphelper.store[e]||(dphelper.store[e]=[]),dphelper.store[e][t]||(dphelper.store[e][t]=[]),dphelper.store[e][t][r]||(dphelper.store[e][t][r]=[]),dphelper.store[e][t][r]=o,n.continue()}dphelper.iDB.refresh()}}},refresh:()=>{dphelper.iDB.toState(),console.debug("iDB refresh")},toState:(e,t)=>(0,n.sH)(void 0,void 0,void 0,(function*(){if(e||t)return e&&t?void setTimeout((()=>(0,n.sH)(void 0,void 0,void 0,(function*(){return state[e]=yield t}))),1e3):void console.debug("promiseToState: Some data are missed!");const r=[];let o=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 i={name:"",version:"",tables:[],size:0};let a=0;t.onsuccess=e=>(0,n.sH)(void 0,void 0,void 0,(function*(){const t=e.target.result;0!==t.objectStoreNames.length&&(t&&t.name&&(i.name=t.name,i.version=t.version,Object.entries(t.objectStoreNames).map(((e,s)=>(0,n.sH)(void 0,void 0,void 0,(function*(){const n=[],s=yield dphelper.iDB.getTableSize(t.name,e[1]);n.name=e[1],n.size=s,i.tables.push(Object.assign({},n)),a+=s,i.size=a,o+=a,r.total=o,r.update=dphelper.date.epoch()})))),r.push(i)),dphelper.databases=r)}))}))}))})),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],r=t.length;let n;for(let e=0;e<r;e++)return n=t[e],dphelper.iDB.getDbSize(n)},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 "${e}" database?`,(()=>{indexedDB.deleteDatabase(e),dphelper.iDB.refresh()}),(()=>{alert("Operation cancelled.")})):alert(`Database "${e}" not exist`)},getTableSize:(e,t)=>new Promise(((r,n)=>{if(null==e)return n();const o=event;let i=0;const a=(e=o.target.result).transaction([t]).objectStore(t).openCursor();a.onsuccess=function(e){const t=e.target.result;if(t){const e=t.value,r=JSON.stringify(e);i+=r.length,t.continue()}else r(i)}.bind(void 0),a.onerror=e=>n("error in "+t+": "+e)})),getDbSize:e=>new Promise(((t,r)=>{const n=indexedDB.open(e,dphelper.iDB.version(e));let o;n.onerror=e=>console.debug("Error on IndexedDB"),n.onsuccess=e=>{o=e.target.result;((e,r)=>{const n=e.reduce(((e,t)=>(e.push(dphelper.iDB.getTableSize(r,t)),e)),[]);Promise.all(n).then((r=>{const n={};e.forEach(((e,t)=>{n[t]=new(function(e,t){this.table=e,this.size=t}(e,dphelper.tools.byteSize(r[t])))}));const o=r.reduce(((e,t)=>e+t),0);t(parseInt(dphelper.tools.byteSize(o)))}))})([...o.objectStoreNames],o)}})),printTableInfo:e=>{const t=indexedDB.open(e,dphelper.iDB.version(e));let r;t.onerror=e=>console.debug("Error on IndexedDB"),t.onsuccess=e=>{r=e.target.result;((e,t)=>{const r=e.reduce(((e,r)=>(e.push(dphelper.iDB.getTableSize(t,r)),e)),[]);Promise.all(r).then((t=>{const r={};e.forEach(((e,n)=>{r[n]=new(function(e,t){this.table=e,this.size=t}(e,dphelper.tools.byteSize(t[n])))})),console.table(r);const n=t.reduce(((e,t)=>e+t),0);console.debug("TOTAL: "+dphelper.tools.byteSize(n))}))})([...r.objectStoreNames],r)}},printSizes:()=>{indexedDB.webkitGetDatabaseNames().onsuccess=e=>{const t=e.target.result,r=t.length;let n;for(let e=0;e<r;e++)n=t.item(e),dphelper.iDB.getDbSize(n)}},countRows:(e,t)=>new Promise(((r,n)=>{indexedDB.open(e,dphelper.iDB.version(e)).onsuccess=function(e){const n=e.target.result;if(0===n.objectStoreNames.length)return;n.transaction([t],"readonly").objectStore(t).count().onsuccess=function(e){const t=e.target.result;r(t)}}}))},dphelper.setProps(dphelper,o,{lock:!0})},5521:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.import={file:(e,t)=>{const r=e?document.querySelector(e):document.getElementsByTagName("*");let n,o,i;for(n=0;n<r.length;n++)if(o=r[n],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(dphelper,n,{lock:!0})},686:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"toCsv",version:"0.0.1",example:"dphelper.json.toCsv()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"saveCsvAs",version:"0.0.1",example:"dphelper.json.saveCsvAs()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"is",version:"0.0.1",example:"dphelper.json.is()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.json={counter:(e,t,r)=>{if(!e)return null;let n;return n=t&&r?Object.keys(e).length:e.items.filter((e=>e.key===r)).lengt,n},toCsv:e=>{const t=e,r=(e,t)=>null===t?"":t,n=Object.keys(t[0]);let o=null==t?void 0:t.map((e=>null==n?void 0:n.map((t=>JSON.stringify(e[t],r))).join(",")));return o.unshift(n.join(",")),o=o.join("\r\n"),o},saveCsvAs:(e,t)=>{const r=globalThis;let n="";const o=new Blob([e],{type:"text/csv;charset=utf-8;"}),i=document.createElement("a"),a=`${t}_${dphelper.date.dateTimeToString(new Date(Date.now()))}.csv`;n=URL.createObjectURL(o),i.setAttribute("href",n),i.setAttribute("download",a),i.style.visibility="hidden",r.appendChild(i),i.click(),r.removeChild(i)},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(dphelper,n,{lock:!0})},4876:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={name:"load",active:!0,subCommand:[{name:"all",version:"0.0.1",example:"dphelper.load.all(require['context']('Scripts', true, /.(js|ts)$/))",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:Array},{name:"file",version:"0.0.1",example:"dphelper.load.file()",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:Array},{name:"fileToElement",version:"0.0.1",example:"dphelper.load.fileToElement()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"json",version:"0.0.1",example:"dphelper.load.json()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"remote",version:"0.0.1",example:"dphelper.load.remote()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"script",version:"0.0.1",example:"dphelper.load.script()",author:"Dario Passariello",creationDate:"20240525",lastMod:"20240525",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(o),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((function(t){return(0,n.sH)(this,void 0,void 0,(function*(){const r=yield t.text();document.querySelector(e).innerHTML=String(r)}))})).catch((e=>console.error(e)))},json:e=>{if(e.match(/.(json)$/i))return r(2633)(""+e)},remote:(e,t="GET",r)=>{fetch(e,{method:t,headers:r}).then((function(e){return e})).then((function(e){return e})).catch((e=>console.error(e)))},script:(e,t="html")=>{e.map(((e,r)=>{$(t).append(`<script src="${e}"><\/script>`)}))}},dphelper.setProps(dphelper,o,{lock:!0})},5964:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"reg",version:"0.0.1",example:"dphelper.log.reg()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"debug",version:"0.0.1",example:"dphelper.log.debug()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"error",version:"0.0.1",example:"dphelper.log.error()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),cache.log=[],dphelper.log={list:cache.log,reg:e=>{cache.log.push({reg:e})},debug:e=>{cache.log.push({debug:e})},error:e=>{cache.log.push({error:e})}},dphelper.setProps(dphelper,n,{lock:!0})},5386:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"tmr",version:"0.0.1",example:"dphelper.math.tmr()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"add",version:"0.0.1",example:"dphelper.math.add()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"sub",version:"0.0.1",example:"dphelper.math.sub()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"multi",version:"0.0.1",example:"dphelper.math.multi()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"div",version:"0.0.1",example:"dphelper.math.div()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"rem",version:"0.0.1",example:"dphelper.math.rem()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"exp",version:"0.0.1",example:"dphelper.math.exp()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),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)=>Math.pow(e,t),isOdd:e=>e%2==0,float2int:e=>0|e,percent:(e,t)=>(100*e/t).toFixed(2)},dphelper.setProps(dphelper,n,{lock:!0})},9035:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.memory={lock:e=>{const t=globalThis,r=null==e?void 0:e.split(".");r.length<2||Object.defineProperty(t[r[0]],r[1],{writable:!1,configurable:!1})},unlock:e=>{const t=globalThis,r=null==e?void 0:e.split(".");r.length<2||Object.defineProperty(t[r[0]],r[1],{writable:!0,configurable:!0})}},dphelper.setProps(dphelper,n,{lock:!0})},7767:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"replaceNullObjects",version:"0.0.1",example:"dphelper.obj.replaceNullObjects([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"serialize",version:"0.0.1",example:"dphelper.obj.serialize([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"deSerialize",version:"0.0.1",example:"dphelper.obj.deSerialize([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"toXML",version:"0.0.1",example:"dphelper.obj.toXML([obj])",author:"Dario Passariello",creationDate:"20240315",lastMod:"20240315",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.obj={toArray:e=>Object.entries(e),replaceNullObjects:e=>{const t=e;return Object.keys(e).forEach((r=>{null===e[r]&&(t[r]="")})),t},serialize:e=>{if("function"==typeof e)return e.toString();if("object"==typeof e){const t={};for(const[r,n]of Object.entries(e))t[r]=dphelper.obj.serialize(n);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[r,n]of Object.entries(e))console.info(`objectKey=${r} value=${n}`),t[r]=dphelper.obj.deSerialize(n);return t}return e},sort:e=>Object.keys(e).sort().reduce(((t,r)=>(t[r]=e[r],t)),{}),toXML:(e,t="@")=>'<?xml version="1.0" encoding="UTF-8"?>'+(e=>new(r(8343))({attributePrefix:t}).js2xml(e))(e),find:(e,t,r)=>{for(let n in e)if(e.hasOwnProperty(n)&&e[n][t]===r)return n}},dphelper.setProps(dphelper,n,{lock:!0})},2553:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),observer=(e,t=null,r={})=>{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,r)}else console.error("Observer Error: You need to setup observer correctly, Some parameters are missed!")},Object.defineProperties(observer,{list:{value:(e=window)=>{jQuery._data(e,"events")}},remove:{value:e=>{e&&$(window).off(e)}}}),dphelper.setProps(globalThis,n,{lock:!0})},2731:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"hash",version:"0.0.1",example:"dphelper.path.hash([hashUrl])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"query",version:"0.0.1",example:"dphelper.path.query([hashQueryString])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),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=[],r=location.search;return r?(r.replace("?","").split("&").map((r=>{e=r.split("="),t[e[0]]=e[1]})),t):["empty"]}},dphelper.setProps(dphelper,n,{lock:!0})},5791:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={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:Array},{name:"resolve",version:"0.0.1",example:"dphelper.promise.resolve(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(o),dphelper.promise={check:e=>e&&"[object Promise]"===Object.prototype.toString.call(e),resolve:e=>(0,n.sH)(void 0,void 0,void 0,(function*(){const t={};if(dphelper.promise.check(e))return Promise.resolve(e).then((function(e){t.promise=e})),yield t}))},dphelper.setProps(dphelper,o,{lock:!0})},6052:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"toggle",version:"0.0.2",example:"dphelper.screen.toggle([element])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.screen={fullScreen:e=>{const t=document.querySelector(e);t.requestFullScreen?t.requestFullScreen():t.mozRequestFullScreen?e.mozRequestFullScreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen()},toggle:e=>{const t=document,r=t.querySelector(e);t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement?t.exitFullscreen?t.exitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.msExitFullscreen&&t.msExitFullscreen():r.requestFullscreen?r.requestFullscreen():r.mozRequestFullScreen?r.mozRequestFullScreen():r.webkitRequestFullscreen?r.webkitRequestFullscreen():r.msRequestFullscreen&&r.msRequestFullscreen()},info:()=>[screen.width,screen.height,screen.availWidth,screen.availHeight,screen.colorDepth,screen.pixelDepth]},dphelper.setProps(dphelper,n,{lock:!0})},8612:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"indicator",version:"0.0.1",example:"dphelper.scrollbar.indicator(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array},{name:"smooth",version:"0.0.1",example:"dphelper.scrollbar.smooth(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"scrollTo",version:"0.0.1",example:"dphelper.scrollbar.scrollTo(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.scrollbar={custom:(e="*",t)=>{!(null==t?void 0:t.color_1)||t.color_1,!(null==t?void 0:t.color_1_hover)||t.color_1_hover,!(null==t?void 0:t.color_2)||t.color_2,!(null==t?void 0:t.color_3)||t.color_3,!(null==t?void 0:t.type)||t.type,!(null==t?void 0:t.behavior)||t.behavior,!(null==t?void 0:t.width)||t.width,!(null==t?void 0:t.height)||t.height,!(null==t?void 0:t.rounded)||t.rounded,(null==t?void 0:t.margin)&&t.margin,!(null==t?void 0:t.border)||t.border,!(null==t?void 0:t.opacity)||t.opacity;const r=` ${e}::-webkit-scrollbar {\n scroll-behavior: ${t.behavior};\n width: ${t.width};\n height: ${t.height};\n }\n ${e}::-webkit-scrollbar-thumb {\n opacity: ${t.opacity} !important;\n -webkit-border-radius: ${t.rounded} !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n border-radius: ${t.rounded} !important;\n background: ${t.color_1} !important;\n background-clip: content-box !important;\n border: ${t.border} solid transparent !important;\n min-height: 2px !important;\n min-width: 2px !important;\n }\n ${e}::-webkit-scrollbar-thumb:hover{\n background: ${t.color_1_hover} !important;\n }\n ${e}::-webkit-scrollbar-thumb:active{\n background: ${t.color_1} !important;\n background-clip: content-box !important;\n border: calc( ${t.border} - 1.5px ) solid transparent !important;\n }\n ${e}::-webkit-scrollbar-track {\n background: ${t.color_2};\n border-radius: ${t.rounded};\n }\n ${e}::-webkit-scrollbar-track:hover {\n /*background: rgba(128,128,128,.15) !important;*/\n }\n ${e}::-webkit-scrollbar-track:vertical:hover {\n /* border-left: 1px solid rgba(0,0,0,.1) !important; */\n }\n ${e}::-webkit-scrollbar-track:horizontal:hover {\n /* border-top: 1px solid rgba(0,0,0,.1) !important; */\n }\n ${e}::-webkit-scrollbar-corner {\n background:rgba(0,0,0,0)\n }\n /*\n ${e}::-webkit-scrollbar-thumb:window-inactive {\n background: ${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 `,n=document.createElement("style");document.head.appendChild(n),n.innerHTML=r},indicator:e=>{var t;const r=document.querySelector(e.el),n=document.querySelector(".scrollindicator");if(!n){const e=document.createElement("div");e.classList.add("scrollindicator"),null===(t=document.querySelector("header"))||void 0===t||t.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)try{const e=document.querySelector(".scrollindicator");r.addEventListener("scroll",(function(t){e.style.width="0%";const r=Number(this.scrollTop||this.scrollTop),n=Number(this.scrollHeight-this.clientHeight),o=Math.min(Math.max(r/n*100),100);e.style.width=o+"%",e.click()})),r.addEventListener("popstate",(function(t){e.style.width=0}))}catch(e){return}else n.style.width="0%"},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,r)=>{e===document&&(e=document.scrollingElement||document.documentElement||document.body.parentNode||document.body);let n=!1,o=e.scrollTop;const i=e===document.body&&document.documentElement?document.documentElement:e;function a(r){r.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}(r);o+=-a*t,o=Math.max(0,Math.min(o,e.scrollHeight-i.clientHeight)),n||s()}function s(){n=!0;const t=(o-e.scrollTop)/r;e.scrollTop+=t,Math.abs(t)>.5?l(s):n=!1}e.addEventListener("mousewheel",a,{passive:!1}),e.addEventListener("DOMMouseScroll",a,{passive:!1});const l=dphelper.Window.animationframe()},scrollTo:(e,t,r=0)=>{const n=document.querySelector(e),o=document.querySelector(t);n&&o&&r&&n.scrollTo({top:o.offsetTop,behavior:"smooth"})}},dphelper.setProps(dphelper,n,{lock:!0})},2725:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={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:Array}]},{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:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(o);const i=r(1396);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:(e,t)=>(0,n.sH)(void 0,void 0,void 0,(function*(){const r=(new TextEncoder).encode(t.toLowerCase()+e.toLowerCase()),n=yield crypto.subtle.digest("SHA-1",r),o=Array.from(new Uint8Array(n)).map((e=>e.toString(16).padStart(2,"0"))).join("");return Promise.all(o)})),crypt:(e,t,r="AES")=>i[r].encrypt(e,t).toString(),deCrypt:(e,t,r="AES")=>i[r].decrypt(e,t).toString(i.enc.Utf8),AES_KeyGen:(e="test")=>{var t=i.lib.WordArray.random(16);return i.PBKDF2(e,t,{keySize:16,iterations:1e3}).toString()}},dphelper.setProps(dphelper,o,{lock:!0})},2078:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.shortcut={keys:(e,t)=>{const r=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)&&r===parseInt(t.key)&&!0===t.active)return t.element&&t.element.click(),t.function&&JSON.stringify(t.function),void e.preventDefault()}))}},dphelper.setProps(dphelper,n,{lock:!0})},8562:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"start",version:"0.0.1",example:"dphelper.socket.start(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"conn",version:"0.0.1",example:"dphelper.socket.conn(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"connect",version:"0.0.1",example:"dphelper.socket.connect(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"open",version:"0.0.1",example:"dphelper.socket.open(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"send",version:"0.0.1",example:"dphelper.socket.send(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"receive",version:"0.0.1",example:"dphelper.socket.receive(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"keepAlive",version:"0.0.1",example:"dphelper.socket.keepAlive(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),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 r=new WebSocket(t);return r.binaryType="blob",[r,e]},connect:e=>{e&&dphelper.socket.open(dphelper.security.uuid.v5(),e)},open:(e,t)=>{e&&(globalThis.websocket=dphelper.socket.conn(e,t),globalThis.websocket[0].onopen=()=>dphelper.log.reg(e+" connected"),globalThis.websocket[0].onclose=e=>dphelper.log.debug(e.wasClean?"Disconnected":"Connection break: "+(e.reason||e.code)),globalThis.websocket[0].onerror=e=>dphelper.log.error(e.message))},send:(e,t="reg")=>{var r;if(!(null===(r=globalThis.websocket)||void 0===r?void 0:r[1])||!e)return;const n=globalThis.websocket[0],o=globalThis.websocket[1],i=t?`{"${t}":"(${o}:${e})"}`:e;n.send(i)},ping:()=>{var e;if(!(null===(e=globalThis.websocket)||void 0===e?void 0:e[1]))return;const t=globalThis.websocket[0];globalThis.websocket[1];t.send('{"debug":"__ping__"}')},receive:(e=null)=>{var t;if(!(null===(t=globalThis.websocket)||void 0===t?void 0:t[1]))return;globalThis.websocket[0].addEventListener("message",(function(t){let r;try{r=Object.values(JSON.parse(t.data)),e&&$(e).prepend(r[0])}catch(e){return t.data}dphelper.log.reg(t.data)}))},keepAlive:()=>{let e,t=globalThis.websocket[0];const r=(t=5e3)=>{dphelper.socket.ping(),e=setTimeout((()=>{}),t)};t.onopen=function(){setInterval(r,3e4)},t.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;dphelper._list.sockets=[],WebSocket.prototype.send=function(...t){return-1===dphelper._list.sockets.indexOf(this)&&dphelper._list.sockets.push(this),e.call(this,...t)}},list:()=>dphelper._list.sockets},dphelper.setProps(dphelper,n,{lock:!0}),dphelper.socket.check()},1148:(e,t,r)=>{"use strict";r.r(t);const n={name:"state",active:!0,subCommand:[{name:"state",version:"0.0.2",example:"state.[key] = [value]",author:"Dario Passariello",creationDate:"20210101",lastMod:"20190101",type:"function",active:!0,description:"",subCommand:[{name:"state",type:"function",version:"0.0.1",example:"SET: state.name = value; GET: state.name",description:"set and get state",author:"Dario Passariello",creationDate:"20190101",lastMod:"20240816",active:!0,subCommand:Array},{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:Array},{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:Array}]}]};dphelper._list.scripts.push(n);const o=[],i={event(e){dphelper.dispatch.set(String(e),{detail:{name:String(e)}})},set:(e,t,r)=>(e[t]||o.push(t),i.event(t),e[t]=r,state.mex({property:t,value:r}),!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 '${e}' deleted`)):console.error(`'${e}' not exist`)},writable:!1,configurable:!1},mex:{value:e=>{$("#dpConsole").append(`<span>\n <span style="color: green">State ${e.property} changed: <span style="color: yellow">"${e.value}"</span></span>\n </span>`)},writable:!1,configurable:!1}}),dphelper.setProps(globalThis,n,{lock:!1})},6212:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"set",version:"0.0.1",example:"store.set(..)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"delete",version:"0.0.1",example:"store.delete(..)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"clearAll",version:"0.0.1",example:"store.clearAll()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"quota",version:"0.0.1",example:"store.quota()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"size",version:"0.0.1",example:"store.size()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),Object.defineProperty(globalThis,"store",{value:{},enumerable:!0,configurable:!1}),Object.defineProperties(store,{get:{value(e){if(e)return localStorage.getItem(e)?JSON.parse(localStorage.getItem(e)):null}},set:{value(e,t){e&&t&&localStorage.setItem(e,JSON.stringify(t))}},delete:{value(e){if(e)return localStorage.getItem(e)?(localStorage.removeItem(e),!0):void 0}},clearAll:{value:()=>(localStorage.clear(),!0)},quota:{value(){"storage"in navigator&&"estimate"in navigator.storage&&navigator.storage.estimate().then((({usage:e,quota:t})=>{e&&t&&console.debug(`Using ${e/1024} out of ${t/1024} Mb.`)}))}},size:{value(){let e,t,r=0;for(t in localStorage)localStorage.hasOwnProperty(t)&&(e=localStorage[t].length,r+=e);return r}}}),dphelper.setProps(globalThis,n,{lock:!0})},7924:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"check",version:"0.0.1",example:"dphelper.svg.check(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"update",version:"0.0.1",example:"dphelper.svg.update(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"getCurve",version:"0.0.1",example:"dphelper.svg.getCurve(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"getIntersection",version:"0.0.1",example:"dphelper.svg.getIntersection(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"setConnector",version:"0.0.1",example:"dphelper.svg.setConnector(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"removeConnection",version:"0.0.1",example:"dphelper.svg.removeConnection(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"makeScrollable",version:"0.0.1",example:"dphelper.svg.makeScrollable(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"makeDraggable",version:"0.0.1",example:"dphelper.svg.makeDraggable(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"toggle",version:"0.0.1",example:"dphelper.svg.toggle(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"convert",version:"0.0.1",example:"dphelper.svg.convert([Object])",author:"Dario Passariello",creationDate:"20190101",lastMod:"20240401",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.svg={init:function(e,t,r,n){$(e).find("svg")&&dphelper.svg_removeConnection(e),t=dphelper.svg.setConnector(t[0],t[1]),r=dphelper.svg.setConnector(r[0],r[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=r.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 n&&n(t,r)},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,r){const n=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=n+s,d=o+l,h=i+c,f=a+u,m=h-p,v=f-d,y=dphelper.svg.getIntersection(m,v,p,d,s,l),g=dphelper.svg.getIntersection(-m,-v,h,f,c,u),b=g[0]-y[0],x=dphelper.svg.getCurve(y,g,b);r.setAttributeNS(null,"d","M"+p+","+d+x+h+","+f)},getCurve:function(e,t,r){const n=r/2;return" C"+(n+e[0])+","+e[1]+" "+(t[0]-n)+","+t[1]+" "},getIntersection:function(e,t,r,n,o,i){return Math.abs(t/e)<i/o?[r+(e>0?o:-o),n+t*o/Math.abs(e)]:[r+e*i/Math.abs(t),n+(t>0?i:-i)]},setConnector:function(e,t){let r;const n=$('<span class="connector"></span>');switch($(e).css("position","relative"),n.css({position:"absolute",width:"5px",height:"5px"}),t){case"top":r={left:"50%",top:"2.5px",marginLeft:"2.5px"};break;case"right":r={top:"50%",right:"2.5px",marginTop:"-2.5px"};break;case"bottom":r={left:"50%",bottom:"-2.5px",marginLeft:"2.5px"};break;case"left":r={top:"50%",left:"-2.5px",marginTop:"-2.5px"};break;default:r={}}return n.css(r),$(e).append(n),$(n)[0]},removeConnection:function(e){$(e).find("svg#pathConnection").each((function(e,t){$(t).remove()}))},makeScrollable:function(e,t,r,n,o,i){const a=e.getBoundingClientRect(),s=[r,n],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 r(r){const n=t.getScreenCTM();return{x:(e.clientX-n.e)/n.a,y:(e.clientY-n.f)/n.d}}let n,o;t.addEventListener("mousedown",(function(e){e.target.classList.contains("draggable")&&(n=e.target,o=r(e),o.x-=parseFloat(n.getAttributeNS(null,"x")),o.y-=parseFloat(n.getAttributeNS(null,"y")))})),t.addEventListener("mousemove",(function(e){if(n){const t=r(e);n.setAttributeNS(null,"x",t.x-o.x),n.setAttributeNS(null,"y",t.y-o.y),dphelper.svg.update()}})),t.addEventListener("mouseup",(function(e){n=null}))},toggle:function(e,t,r,n){$(e.target).prop("checked")&&$(r).length&&$(n).length?(dphelper.cookie.set({name:`${$(e.target).attr("id")}`,value:1,time:365}),dphelper.svg_initConnection(t[0],[$(r)[0],"right"],[$(n)[0],"left"],(function(e,r){$("#parts-left-body").on("scroll",(function(n){dphelper.svg.makeScrollable($(t)[0],$("#parts-left-body")[0],$(e)[0],$(r)[0],$("#parts svg rect")[0],$("#parts svg rect")[1])}))}))):(dphelper.svg_removeConnection(t),$("#parts-left-body").unbind("scroll"),dphelper.cookie.set({name:`${$(e.target).attr("id")}`,value:0,time:365}))},convert:({children:e,active:t=!0,size:r=[1920,1080],fit:n=["100%","100%"],preserveAspectRatio:o="none",style:i=`width:${n[0]}; height:${n[1]}`,zoom:a=1})=>{if(!e)return"Please pass ID of element for SVG conversion";if(t){const t=$(e).clone(),s=`\n <svg\n viewBox="0 0 ${r[0]} ${r[1]}"\n preserveAspectRatio="${o}"\n xmlns="http://www.w3.org/2000/svg"\n style="${i}; zoom:${a}"\n >\n <foreignObject\n x="0"\n y="0"\n width="${n[0]}"\n height="${n[1]}"\n style="${i}; zoom:${a}"\n >\n </foreignObject>\n </svg >\n `;$(e).html(s).find("foreignObject").html(t)}}},dphelper.setProps(dphelper,n,{lock:!0}),dphelper.svg.check()},681:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),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 r=t[0],n=1;n<t.length;++n)e=e.split(t[n]).join(r);return e.split(r)}(this,arguments[0]);const t=arguments;return e.apply(this,t)}}},dphelper.setProps(dphelper,n,{lock:!0})},5860:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.terminal=function(e){if(!e)throw Error("Parent dom element required!");let t=!1,r=console.log,n=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),r.apply(console))}.bind(this),console.info=function(){state.disableConsoleLogging||(s.call(this,l.INFO),n.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,r){var n=[`${e} in <a href="${t}" target='_blank'>${null==t?void 0:t.split("/").pop()}</a>: ${r}`];return console.error(n.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(dphelper,n,{lock:!0})},3907:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"capitalize",version:"0.0.1",example:"dphelper.text.capitalize(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"lower",version:"0.0.1",example:"dphelper.text.lower(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"upper",version:"0.0.1",example:"dphelper.text.upper(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"nl2br",version:"0.0.1",example:"dphelper.text.nl2br(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"sanitize",version:"0.0.1",example:"dphelper.text.sanitize(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"toUnderscore",version:"0.0.1",example:"dphelper.text.camelCase.toUnderscore(...)",type:"function",active:!0,description:"",subCommand:Array}]},{name:"fitContainer",version:"0.0.1",example:"dphelper.font.fitContainer([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.text={trim:(e,t,r,n)=>e.charAt(0)===t?e.substring(r,n):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),r=t.length;if(!(r<=0))for(let e=0;e<r;e++){const r=.05*t[e].offsetWidth;t[e].style.fontSize=r+"px"}}(e)}))}},dphelper.setProps(dphelper,n,{lock:!0})},1215:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"percentage",version:"0.0.1",example:"dphelper.timer.percentage(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.timer={sleep:e=>new Promise((t=>setTimeout(t,e))),percentage:(e,t)=>{function r(e){const t=e.split(":");return 3600*t[0]+60*t[1]+t[2]}return(100*r(e)/r(t)).toFixed(2)}},dphelper.setProps(dphelper,n,{lock:!0})},2265:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={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:Array},{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:Array},{name:"zIndex",description:"",example:"dphelper.tools.zIndex()",version:"0.0.1",author:"Dario Passariello",creationDate:"20240807",lastMod:"20240807",type:"function",active:!0,subCommand:Array}]};dphelper._list.scripts.push(o),dphelper.tools={byteSize:e=>{const t=1024;if(Math.abs(e)<t)return e+"b";const r=["Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"];let n=-1;do{e/=t,++n}while(Math.abs(e)>=t&&n<r.length-1);return e.toFixed(1)+r[n]},hashPass:(e,t)=>(0,n.sH)(void 0,void 0,void 0,(function*(){const r=(new TextEncoder).encode(t.toLowerCase()+e.toLowerCase()),n=yield crypto.subtle.digest("SHA-1",r);return Array.from(new Uint8Array(n)).map((e=>e.toString(16).padStart(2,"0"))).join("")})),zIndex:()=>[...$("body *")].map((e=>parseFloat(getComputedStyle(e).zIndex))).reduce(((e,t)=>t>e?t:e),1)},dphelper.setProps(dphelper,o,{lock:!0})},9961:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.translators={convertMatrixToScale:e=>{const t=(e=(e=(e=e.split("(")[1]).split(")")[0]).split(","))[0],r=e[1];return Math.sqrt(t*t+r*r)}},dphelper.setProps(dphelper,n,{lock:!0})},1958:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"change",version:"0.0.1",example:"dphelper.trigger.change(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.trigger={click:e=>{const t=document.querySelector(e);t&&t.click()},change:e=>{const t=document.querySelector(e),r=new Event("__"+e,{bubbles:!0});r.simulated=!0,dphelper.dispatch.set("__"+e,r),t.dispatchEvent(r)}},dphelper.setProps(dphelper,n,{lock:!0})},8904:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"instOfObj",version:"0.0.1",example:"dphelper.type.instOfObj(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"isNaN",version:"0.0.1",example:"dphelper.type.isNaN(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"isPrime",version:"0.0.1",example:"dphelper.type.isPrime(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"isBool",version:"0.0.1",example:"dphelper.type.isBool(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.type={of:e=>typeof e,instOfObj:e=>e instanceof Object,isNaN:e=>function(t){return!e(t)},isPrime:e=>{let t=e/2,r=!0;for(;t>1;)e%t==0?(r=!1,t=0):t-=1;return!0===r},isBool:e=>!e||null==e.length||"1"===e},dphelper.setProps(dphelper,n,{lock:!0})},5262:()=>{},5248:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{name:"getZoom",version:"0.0.1",example:"dphelper.window.getZoom([el])",author:"Dario Passariello",creationDate:"20240727",lastMod:"20220727",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.window={enhancement:()=>{globalThis.offScreenBuffering="auto",dphelper.window.animationframe()},animationframe:()=>{const e=globalThis;return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){e.setTimeout(t,1e3/120)}},center:({url:e,title:t,name:r,w:n,h:o})=>{const i=void 0!==window.screenLeft?window.screenLeft:window.screenX,a=void 0!==window.screenTop?window.screenTop:window.screenY,s=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,l=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,c=s/window.screen.availWidth,u=(s-n)/2/c+i,p=(l-o)/2/c+a,d=window.open(e,t,`\n scrollbars=yes,\n width=${n/c},\n height=${o/c},\n top=${p},\n left=${u}\n `);window.onfocus=()=>null==d?void 0:d.focus()},onBeforeUnLoad:e=>{let t=!1,r=!1;const n="You have made some changes which you might want to save.",o=e=>(e.preventDefault(),n),i=document.querySelector(e.target);i&&i.addEventListener("input",(t=>{""!==e.target.value?addEventListener("beforeunload",o,{capture:!0}):removeEventListener("beforeunload",o,{capture:!0})}));!1===r&&(document.body.addEventListener("click",(r=>{if("IMG"===e.target.tagName&&!0===t){if(!0===confirm(n))return t=!1;r.preventDefault()}})),r=!0),addEventListener("popstate",(e=>{if(!0===t){return!0===confirm(n)?t=!1:(e.stopImmediatePropagation(),e.preventDefault(),n)}})),window.onbeforeunload=e=>{}},purge:(e=document,t=1e4)=>{setTimeout((()=>{if(!e)return null;let t=e.attributes;if(t){const r=t.length;for(let n=0;n<r;n+=1){const r=t[n].name;"function"==typeof e[r]&&(e[r]=null),void 0===e[r]&&(e[r]=null)}}if(t=e.childNodes,t){const r=t.length;for(let t=0;t<r;t+=1)dphelper.purge(e.childNodes[t])}}),t)},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:(e="html",t=1)=>(t<0&&(t=1),$(e).css("zoom",t),`New zoom value: ${100*t}% (css: ${t})`),getZoom:(e="html")=>Number($(e).css("zoom"))},dphelper.setProps(dphelper,n,{lock:!0})},8343:function(e,t){var r,n,o;!function(i,a){"use strict";n=[],void 0===(o="function"==typeof(r=function(e){return function(t){var r="3.4.4";function n(){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||{},n(),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,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):e}function c(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")}function u(e,r,n){if("property"===t.arrayAccessForm)e[r]instanceof Array?e[r+"_asArray"]=e[r]:e[r+"_asArray"]=[e[r]];if(!(e[r]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===n){o=!0;break}}else if(a instanceof RegExp){if(a.test(n)){o=!0;break}}else if("function"==typeof a&&a(r,n)){o=!0;break}}o&&(e[r]=[e[r]])}}function p(e){var t=60,r=e.split(/[-T:+Z]/g),n=new Date(r[0],r[1]-1,r[2]),o=r[5].split(".");if(n.setHours(r[3],r[4],o[0]),o.length>1&&n.setMilliseconds(o[1]),r[6]&&r[7]){var i=r[6]*t+Number(r[7]);i=0+("-"===(/\d\d-\d\d:\d\d$/.test(e)?"-":"+")?-1*i:i),n.setMinutes(n.getMinutes()-i-n.getTimezoneOffset())}else-1!==e.indexOf("Z",e.length-1)&&(n=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())));return n}function d(e,r,n){if(t.datetimeAccessFormPaths.length>0)for(var o=n.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 r={},n=e.childNodes,o=0;o<n.length;o++){var s=n.item(o);if(s.nodeType===i.ELEMENT_NODE){var l=a(s);t.ignoreRoot?r=m(s,l):r[l]=m(s,l)}}return r}function f(e,r){for(var n={__cnt:0},o=e.childNodes,l=0;l<o.length;l++){var p=o.item(l),h=a(p);p.nodeType!==i.COMMENT_NODE&&(n.__cnt++,null==n[h]?(n[h]=m(p,r+"."+h),u(n,h,r+"."+h)):(n[h]instanceof Array||(n[h]=[n[h]],u(n,h,r+"."+h)),n[h][n[h].length]=m(p,r+"."+h)))}for(var f=0;f<e.attributes.length;f++){var v=e.attributes.item(f);n.__cnt++;for(var y=v.value,g=0;g<t.attributeConverters.length;g++){var b=t.attributeConverters[g];b.test.call(null,v.name,v.value)&&(y=b.convert.call(null,v.name,v.value))}n[t.attributePrefix+v.name]=y}var x=s(e);return x&&(n.__cnt++,n.__prefix=x),n["#text"]&&(n.__text=n["#text"],n.__text instanceof Array&&(n.__text=n.__text.join("\n")),t.escapeMode&&(n.__text=c(n.__text)),t.stripWhitespaces&&(n.__text=n.__text.trim()),delete n["#text"],"property"===t.arrayAccessForm&&delete n["#text_asArray"],n.__text=d(n.__text,"#text",r+".#text")),n.hasOwnProperty("#cdata-section")&&(n.__cdata=n["#cdata-section"],delete n["#cdata-section"],"property"===t.arrayAccessForm&&delete n["#cdata-section_asArray"]),1===n.__cnt&&n.__text&&!t.keepText?n=n.__text:0===n.__cnt&&"text"===t.emptyNodeForm?n="":n.__cnt>1&&void 0!==n.__text&&t.skipEmptyTextNodesForObj&&(t.stripWhitespaces&&""===n.__text||""===n.__text.trim())&&delete n.__text,delete n.__cnt,t.keepCData||n.hasOwnProperty("__text")||!n.hasOwnProperty("__cdata")||1!==Object.keys(n).length?(t.enableToStringFunc&&(n.__text||n.__cdata)&&(n.toString=function(){return(this.__text?this.__text:"")+(this.__cdata?this.__cdata:"")}),n):n.__cdata?n.__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,r,n,o){var i="<"+(e&&e.__prefix?e.__prefix+":":"")+r;if(n)for(var a=0;a<n.length;a++){var s=n[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 y(e,t){return"</"+(e&&e.__prefix?e.__prefix+":":"")+t+">"}function g(e,t){return-1!==e.indexOf(t,e.length-t.length)}function b(e,r){return!!("property"===t.arrayAccessForm&&g(r.toString(),"_asArray")||0===r.toString().indexOf(t.attributePrefix)||0===r.toString().indexOf("__")||e[r]instanceof Function)}function x(e){var t=0;if(e instanceof Object)for(var r in e)b(e,r)||t++;return t}function D(e){var r=[];if(e instanceof Object)for(var n in e)-1===n.toString().indexOf("__")&&0===n.toString().indexOf(t.attributePrefix)&&r.push(n);return r}function w(e){var r="";return e.__cdata&&(r+="<![CDATA["+e.__cdata+"]]>"),(e.__text||"number"==typeof e.__text||"boolean"==typeof e.__text)&&(t.escapeMode?r+=l(e.__text):r+=e.__text),r}function C(e){var r="";return e instanceof Object?r+=w(e):null!==e&&(t.escapeMode?r+=l(e):r+=e),r}function k(e,t,r){var n="";if(0===e.length)n+=v(e,t,r,!0);else for(var o=0;o<e.length;o++)n+=A(e[o],t,D(e[o]));return n}function A(e,r,n){var o="";if(t.jsAttributeFilter&&t.jsAttributeFilter.call(null,r,e))return o;if(t.jsAttributeConverter&&(e=t.jsAttributeConverter.call(null,r,e)),null!=e&&""!==e||!t.selfClosingElements)if("object"==typeof e)if("[object Array]"===Object.prototype.toString.call(e))o+=k(e,r,n);else if(e instanceof Date)o+=v(e,r,n,!1),o+=t.jsDateUTC?e.toUTCString():e.toISOString(),o+=y(e,r);else{x(e)>0||"number"==typeof e.__text||"boolean"==typeof e.__text||e.__text||e.__cdata?(o+=v(e,r,n,!1),o+=_(e),o+=y(e,r)):t.selfClosingElements?o+=v(e,r,n,!0):(o+=v(e,r,n,!1),o+=y(e,r))}else o+=v(e,r,n,!1),o+=C(e),o+=y(e,r);else o+=v(e,r,n,!0);return o}function _(e){var t="";if(x(e)>0)for(var r in e)if(!b(e,r)){var n=e[r];t+=A(n,r,D(n))}return t+=C(e)}function S(r){if(void 0===r)return null;if("string"!=typeof r)return null;var n=null,o=null;if(e)o=(n=new e(t.xmldomOptions)).parseFromString(r,"text/xml");else if(window&&window.DOMParser){n=new window.DOMParser;var i=null;if(!(window.ActiveXObject||"ActiveXObject"in window)&&document.all&&!document.addEventListener)try{i=n.parseFromString("INVALID","text/xml").childNodes[0].namespaceURI}catch(e){i=null}try{o=n.parseFromString(r,"text/xml"),null!==i&&o.getElementsByTagNameNS(i,"parsererror").length>0&&(o=null)}catch(e){o=null}}else 0===r.indexOf("<?")&&(r=r.substr(r.indexOf("?>")+2)),(o=new ActiveXObject("Microsoft.XMLDOM")).async="false",o.loadXML(r);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 S(e)},this.dom2js=function(e){return m(e,null)},this.js2dom=function(e){return S(this.js2xml(e))},this.xml2js=function(e){var t=S(e);return null!=t?this.dom2js(t):null},this.js2xml=function(e){return _(e)},this.getVersion=function(){return r}}})?r.apply(t,n):r)||(e.exports=o)}()},6245:(e,t,r)=>{var n={"./@/over.ts":5815,"./@/setProps.ts":35,"./anchor/index.ts":9634,"./array/index.ts":4292,"./avoid.ts":1099,"./browser.ts":7690,"./cache/index.ts":3119,"./checks/index.ts":7026,"./color.ts":221,"./console/index.ts":7424,"./console/mapped.ts":1585,"./coods.ts":4352,"./cookie/index.ts":2057,"./credits.ts":9184,"./date.ts":9420,"./disable.ts":3534,"./dispatch/index.ts":493,"./element.ts":1202,"./event.ts":6730,"./form.ts":7930,"./format.ts":7855,"./function.ts":2964,"./iDB.ts":3507,"./import.ts":5521,"./json.ts":686,"./load.ts":4876,"./log.ts":5964,"./math.ts":5386,"./memory.ts":9035,"./obj.ts":7767,"./observer/index.ts":2553,"./path.ts":2731,"./promise.ts":5791,"./screen.ts":6052,"./scrollbar.ts":8612,"./security/index.ts":2725,"./shortcut.ts":2078,"./socket/index.ts":8562,"./state/index.ts":1148,"./store/index.ts":6212,"./svg.ts":7924,"./system.ts":681,"./terminal.ts":5860,"./text.ts":3907,"./timer.ts":1215,"./tools.ts":2265,"./translators.ts":9961,"./trigger.ts":1958,"./type.ts":8904,"./ui.ts":5262,"./window.ts":5248};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=6245},2633:(e,t,r)=>{var n={"./@/over":5815,"./@/over.ts":5815,"./@/setProps":35,"./@/setProps.ts":35,"./anchor":9634,"./anchor/":9634,"./anchor/index":9634,"./anchor/index.ts":9634,"./array":4292,"./array/":4292,"./array/index":4292,"./array/index.ts":4292,"./avoid":1099,"./avoid.ts":1099,"./browser":7690,"./browser.ts":7690,"./cache":3119,"./cache/":3119,"./cache/index":3119,"./cache/index.ts":3119,"./checks":7026,"./checks/":7026,"./checks/index":7026,"./checks/index.ts":7026,"./color":221,"./color.ts":221,"./console":7424,"./console/":7424,"./console/index":7424,"./console/index.ts":7424,"./console/mapped":1585,"./console/mapped.ts":1585,"./coods":4352,"./coods.ts":4352,"./cookie":2057,"./cookie/":2057,"./cookie/index":2057,"./cookie/index.ts":2057,"./credits":9184,"./credits.ts":9184,"./date":9420,"./date.ts":9420,"./disable":3534,"./disable.ts":3534,"./dispatch":493,"./dispatch/":493,"./dispatch/index":493,"./dispatch/index.ts":493,"./element":1202,"./element.ts":1202,"./event":6730,"./event.ts":6730,"./form":7930,"./form.ts":7930,"./format":7855,"./format.ts":7855,"./function":2964,"./function.ts":2964,"./iDB":3507,"./iDB.ts":3507,"./import":5521,"./import.ts":5521,"./json":686,"./json.ts":686,"./load":4876,"./load.ts":4876,"./log":5964,"./log.ts":5964,"./math":5386,"./math.ts":5386,"./memory":9035,"./memory.ts":9035,"./obj":7767,"./obj.ts":7767,"./observer":2553,"./observer/":2553,"./observer/index":2553,"./observer/index.ts":2553,"./path":2731,"./path.ts":2731,"./promise":5791,"./promise.ts":5791,"./screen":6052,"./screen.ts":6052,"./scrollbar":8612,"./scrollbar.ts":8612,"./security":2725,"./security/":2725,"./security/index":2725,"./security/index.ts":2725,"./shortcut":2078,"./shortcut.ts":2078,"./socket":8562,"./socket/":8562,"./socket/index":8562,"./socket/index.ts":8562,"./state":1148,"./state/":1148,"./state/index":1148,"./state/index.ts":1148,"./store":6212,"./store/":6212,"./store/index":6212,"./store/index.ts":6212,"./svg":7924,"./svg.ts":7924,"./system":681,"./system.ts":681,"./terminal":5860,"./terminal.ts":5860,"./text":3907,"./text.ts":3907,"./timer":1215,"./timer.ts":1215,"./tools":2265,"./tools.ts":2265,"./translators":9961,"./translators.ts":9961,"./trigger":1958,"./trigger.ts":1958,"./type":8904,"./type.ts":8904,"./ui":5262,"./ui.ts":5262,"./window":5248,"./window.ts":5248};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=2633},477:()=>{},1635:(e,t,r)=>{"use strict";r.d(t,{sH:()=>n});function n(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError},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.3.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.ts","logo":"","typeID":0,"theme":"default","deprecated":false,"target":"web","targets":"web","preferGlobal":true,"language":{"en":{}},"app":{"port":3000,"code":"dphelper","name":"dphelper","type":"beta","folder":"/","appPort":"","main":"index.ts","target":"web","proxy":{},"api":{"dir":"/api/","local":"https://api.biglogic.ca","dev":"https://api.biglogic.ca","prod":"https://api.biglogic.ca"},"socket":{"test":"https://ws.biglogic.ca","dev":"https://ws.biglogic.ca","prod":"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=development --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","eslint":"eslint","---":"------------","pack":"cd dist && npm pack","backup":"cd mcp/batch && backup.bat","update":"cd mcp/javascripts && node npmUpdate"},"devDependencies":{"@types/webpack-env":"1.18.5","copy-webpack-plugin":"^12.0.2","crypto-js":"4.2.0","file-loader":"6.2.0","jquery":"3.7.1","terser-webpack-plugin":"^5.3.10","ts-loader":"^9.5.1","ts-node":"10.9.2","typescript":"5.5.4","webpack":"^5.94.0","webpack-cli":"5.1.4","webpack-dev-server":"^5.1.0","x2js":"3.4.4"}}')}},n={};function o(e){var t=n[e];if(void 0!==t){if(void 0!==t.error)throw t.error;return t.exports}var i=n[e]={exports:{}};try{var a={id:e,module:i,factory:r[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=r,o.c=n,o.i=[],o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.hu=e=>e+"."+o.h()+".hot-update.js",o.hmrF=()=>"index."+o.h()+".hot-update.json",o.h=()=>"aa93cf92d625fbe6dc97",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=(r,n,i,a)=>{if(e[r])e[r].push(n);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")==r||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=r),e[r]=[n];var d=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},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,r,n={},i=o.c,a=[],s=[],l="idle",c=0,u=[];function p(e){l=e;for(var t=[],r=0;r<s.length;r++)t[r]=s[r].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(r){return r?p("prepare").then((function(){var n=[];return t=[],Promise.all(Object.keys(o.hmrC).reduce((function(e,i){return o.hmrC[i](r.c,r.r,r.m,e,t,n),e}),[])).then((function(){return t=function(){return e?m(e):p("ready").then((function(){return n}))},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 n=t.map((function(t){return t(e)}));t=void 0;var o=n.map((function(e){return e.error})).filter(Boolean);if(o.length>0)return p("abort").then((function(){throw o[0]}));var i=p("dispose");n.forEach((function(e){e.dispose&&e.dispose()}));var a,s=p("apply"),l=function(e){a||(a=e)},c=[];return n.forEach((function(e){if(e.apply){var t=e.apply(l);if(t)for(var r=0;r<t.length;r++)c.push(t[r])}})),Promise.all([i,s]).then((function(){return a?p("fail").then((function(){throw a})):r?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(r)return t||(t=[]),Object.keys(o.hmrI).forEach((function(e){r.forEach((function(r){o.hmrI[e](r,t)}))})),r=void 0,!0}o.hmrD=n,o.i.push((function(u){var m,v,y,g,b=u.module,x=function(t,r){var n=i[r];if(!n)return t;var o=function(o){if(n.hot.active){if(i[o]){var s=i[o].parents;-1===s.indexOf(r)&&s.push(r)}else a=[r],e=o;-1===n.children.indexOf(o)&&n.children.push(o)}else console.warn("[HMR] unexpected require("+o+") from disposed module "+r),a=[];return t(o)},s=function(e){return{configurable:!0,enumerable:!0,get:function(){return t[e]},set:function(r){t[e]=r}}};for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&"e"!==u&&Object.defineProperty(o,u,s(u));return o.e=function(e,r){return function(e){switch(l){case"ready":p("prepare");case"prepare":return c++,e.then(d,d),e;default:return e}}(t.e(e,r))},o}(u.require,u.id);b.hot=(m=u.id,v=b,g={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:y=e!==m,_requireSelf:function(){a=v.parents.slice(),e=y?void 0:m,o(m)},active:!0,accept:function(e,t,r){if(void 0===e)g._selfAccepted=!0;else if("function"==typeof e)g._selfAccepted=e;else if("object"==typeof e&&null!==e)for(var n=0;n<e.length;n++)g._acceptedDependencies[e[n]]=t||function(){},g._acceptedErrorHandlers[e[n]]=r;else g._acceptedDependencies[e]=t||function(){},g._acceptedErrorHandlers[e]=r},decline:function(e){if(void 0===e)g._selfDeclined=!0;else if("object"==typeof e&&null!==e)for(var t=0;t<e.length;t++)g._declinedDependencies[e[t]]=!0;else g._declinedDependencies[e]=!0},dispose:function(e){g._disposeHandlers.push(e)},addDisposeHandler:function(e){g._disposeHandlers.push(e)},removeDisposeHandler:function(e){var t=g._disposeHandlers.indexOf(e);t>=0&&g._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":(r=r||[]).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:n[m]},e=void 0,g),b.parents=a,b.children=[],a=[],u.require=x})),o.hmrC={},o.hmrI={}})(),o.p="/",(()=>{var e,t,r,n,i,a=o.hmrS_jsonp=o.hmrS_jsonp||{57:0},s={};function l(t,r){return e=r,new Promise(((e,r)=>{s[t]=e;var n=o.p+o.hu(t),i=new Error;o.l(n,(e=>{if(s[t]){s[t]=void 0;var n=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;i.message="Loading hot update chunk "+t+" failed.\n("+n+": "+o+")",i.name="ChunkLoadError",i.type=n,i.request=o,r(i)}}))}))}function c(e){function s(e){for(var t=[e],r={},n=t.map((function(e){return{chain:[e],id:e}}));n.length>0;){var i=n.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]?(r[p]||(r[p]=[]),l(r[p],[a])):(delete r[p],t.push(p),n.push({chain:s.concat([p]),id:p})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:r}}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];-1===e.indexOf(n)&&e.push(n)}}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 r)if(o.o(r,h)){var f=r[h],m=f?s(h):{type:"disposed",moduleId:h},v=!1,y=!1,g=!1,b="";switch(m.chain&&(b="\nUpdate propagation: "+m.chain.join(" -> ")),m.type){case"self-declined":e.onDeclined&&e.onDeclined(m),e.ignoreDeclined||(v=new Error("Aborted because of self decline: "+m.moduleId+b));break;case"declined":e.onDeclined&&e.onDeclined(m),e.ignoreDeclined||(v=new Error("Aborted because of declined dependency: "+m.moduleId+" in "+m.parentId+b));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(m),e.ignoreUnaccepted||(v=new Error("Aborted because "+h+" is not accepted"+b));break;case"accepted":e.onAccepted&&e.onAccepted(m),y=!0;break;case"disposed":e.onDisposed&&e.onDisposed(m),g=!0;break;default:throw new Error("Unexception type "+m.type)}if(v)return{error:v};if(y)for(h in p[h]=f,l(u,m.outdatedModules),m.outdatedDependencies)o.o(m.outdatedDependencies,h)&&(c[h]||(c[h]=[]),l(c[h],m.outdatedDependencies[h]));g&&(l(u,[m.moduleId]),p[h]=d)}r=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;n.forEach((function(e){delete a[e]})),n=void 0;for(var t,r=u.slice();r.length>0;){var i=r.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 r in p)o.o(p,r)&&(o.m[r]=p[r]);for(var n=0;n<i.length;n++)i[n](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],y=s.hot._acceptedErrorHandlers[m];if(v){if(-1!==l.indexOf(v))continue;l.push(v),d.push(y),h.push(m)}}for(var g=0;g<l.length;g++)try{l[g].call(null,x)}catch(r){if("function"==typeof d[g])try{d[g](r,{moduleId:a,dependencyId:h[g]})}catch(n){e.onErrored&&e.onErrored({type:"accept-error-handler-errored",moduleId:a,dependencyId:h[g],error:n,originalError:r}),e.ignoreErrored||(t(n),t(r))}else e.onErrored&&e.onErrored({type:"accept-errored",moduleId:a,dependencyId:h[g],error:r}),e.ignoreErrored||t(r)}}}for(var b=0;b<D.length;b++){var w=D[b],C=w.module;try{w.require(C)}catch(r){if("function"==typeof w.errorHandler)try{w.errorHandler(r,{moduleId:C,module:o.c[C]})}catch(n){e.onErrored&&e.onErrored({type:"self-accept-error-handler-errored",moduleId:C,error:n,originalError:r}),e.ignoreErrored||(t(n),t(r))}else e.onErrored&&e.onErrored({type:"self-accept-errored",moduleId:C,error:r}),e.ignoreErrored||t(r)}}return u}}}self.webpackHotUpdatedphelper=(t,n,a)=>{for(var l in n)o.o(n,l)&&(r[l]=n[l],e&&e.push(l));a&&i.push(a),s[t]&&(s[t](),s[t]=void 0)},o.hmrI.jsonp=function(e,t){r||(r={},i=[],n=[],t.push(c)),o.o(r,e)||(r[e]=o.m[e])},o.hmrC.jsonp=function(e,s,u,p,d,h){d.push(c),t={},n=s,r=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,r){t&&o.o(t,e)&&!t[e]&&(r.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(7695)})();
|
|
2
|
+
(()=>{var e,t,r={955:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,o=[],i=[],a=[],s=[],l=[],c=[],d=[],u=[],p=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var f=n^n<<1^n<<2^n<<3^n<<4;f=f>>>8^255&f^99,o[r]=f,i[f]=r;var m=e[r],v=e[m],g=e[v],y=257*e[f]^16843008*f;a[r]=y<<24|y>>>8,s[r]=y<<16|y>>>16,l[r]=y<<8|y>>>24,c[r]=y,y=16843009*g^65537*v^257*m^16843008*r,d[f]=y<<24|y>>>8,u[f]=y<<16|y>>>16,p[f]=y<<8|y>>>24,h[f]=y,r?(r=m^e[e[e[g^m]]],n^=e[e[n]]):r=n=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],a=0;a<n;a++)a<r?i[a]=t[a]:(c=i[a-1],a%r?r>6&&a%r==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/r|0]<<24),i[a]=i[a-r]^c);for(var s=this._invKeySchedule=[],l=0;l<n;l++){if(a=n-l,l%4)var c=i[a];else c=i[a-4];s[l]=l<4||a<=4?c:d[o[c>>>24]]^u[o[c>>>16&255]]^p[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 r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,d,u,p,h,i),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,o,i,a,s){for(var l=this._nRounds,c=e[t]^r[0],d=e[t+1]^r[1],u=e[t+2]^r[2],p=e[t+3]^r[3],h=4,f=1;f<l;f++){var m=n[c>>>24]^o[d>>>16&255]^i[u>>>8&255]^a[255&p]^r[h++],v=n[d>>>24]^o[u>>>16&255]^i[p>>>8&255]^a[255&c]^r[h++],g=n[u>>>24]^o[p>>>16&255]^i[c>>>8&255]^a[255&d]^r[h++],y=n[p>>>24]^o[c>>>16&255]^i[d>>>8&255]^a[255&u]^r[h++];c=m,d=v,u=g,p=y}m=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&p])^r[h++],v=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[p>>>8&255]<<8|s[255&c])^r[h++],g=(s[u>>>24]<<24|s[p>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^r[h++],y=(s[p>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^r[h++],e[t]=m,e[t+1]=v,e[t+2]=g,e[t+3]=y},keySize:8});e.AES=t._createHelper(m)}(),n.AES)},3128:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.BlockCipher,r=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 r=t>>24&255,n=t>>16&255,o=t>>8&255,i=255&t,a=e.sbox[0][r]+e.sbox[1][n];return a^=e.sbox[2][o],a+=e.sbox[3][i],a}function c(e,t,r){let n,i=t,a=r;for(let t=0;t<o;++t)i^=e.pbox[t],a=l(e,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n,a^=e.pbox[o],i^=e.pbox[o+1],{left:i,right:a}}function d(e,t,r){let n,i=t,a=r;for(let t=o+1;t>1;--t)i^=e.pbox[t],a=l(e,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n,a^=e.pbox[1],i^=e.pbox[0],{left:i,right:a}}function u(e,t,r){for(let t=0;t<4;t++){e.sbox[t]=[];for(let r=0;r<256;r++)e.sbox[t][r]=a[t][r]}let n=0;for(let a=0;a<o+2;a++)e.pbox[a]=i[a]^t[n],n++,n>=r&&(n=0);let s=0,l=0,d=0;for(let t=0;t<o+2;t+=2)d=c(e,s,l),s=d.left,l=d.right,e.pbox[t]=s,e.pbox[t+1]=l;for(let t=0;t<4;t++)for(let r=0;r<256;r+=2)d=c(e,s,l),s=d.left,l=d.right,e.sbox[t][r]=s,e.sbox[t][r+1]=l;return!0}var p=r.Blowfish=t.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4;u(s,t,r)}},encryptBlock:function(e,t){var r=c(s,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=d(s,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=t._createHelper(p)}(),n.Blowfish)},7165:function(e,t,r){var n;e.exports=(n=r(9021),r(9506),void(n.lib.Cipher||function(e){var t=n,r=t.lib,o=r.Base,i=r.WordArray,a=r.BufferedBlockAlgorithm,s=t.enc,l=(s.Utf8,s.Base64),c=t.algo.EvpKDF,d=r.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,r){this.cfg=this.cfg.extend(r),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(r,n,o){return e(n).encrypt(t,r,n,o)},decrypt:function(r,n,o){return e(n).decrypt(t,r,n,o)}}}}()}),u=(r.StreamCipher=d.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),p=r.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=u.CBC=function(){var t=p.extend();function r(t,r,n){var o,i=this._iv;i?(o=i,this._iv=e):o=this._prevBlock;for(var a=0;a<n;a++)t[r+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize;r.call(this,e,t,o),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=e.slice(t,t+o);n.decryptBlock(e,t),r.call(this,e,t,o),this._prevBlock=i}}),t}(),f=(t.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,o=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(o);var l=i.create(a,n);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},m=(r.BlockCipher=d.extend({cfg:d.cfg.extend({mode:h,padding:f}),reset:function(){var e;d.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),v=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?i.create([1398893684,1701076831]).concat(r).concat(t):t).toString(l)},parse:function(e){var t,r=l.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=i.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),m.create({ciphertext:r,salt:t})}},g=r.SerializableCipher=o.extend({cfg:o.extend({format:v}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var o=e.createEncryptor(r,n),i=o.finalize(t),a=o.cfg;return m.create({ciphertext:i,key:r,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(t.kdf={}).OpenSSL={execute:function(e,t,r,n,o){if(n||(n=i.random(8)),o)a=c.create({keySize:t+r,hasher:o}).compute(e,n);else var a=c.create({keySize:t+r}).compute(e,n);var s=i.create(a.words.slice(t),4*r);return a.sigBytes=4*t,m.create({key:a,iv:s,salt:n})}},b=r.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:y}),encrypt:function(e,t,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=o.iv;var i=g.encrypt.call(this,e,t,o.key,n);return i.mixIn(o),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var o=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=o.iv,g.decrypt.call(this,e,t,o.key,n)}})}()))},9021:function(e,t,r){var n;e.exports=(n=n||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(477)}catch(e){}var o=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.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 r;return e.prototype=t,r=new e,e.prototype=null,r}}(),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,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var s=0;s<o;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(o());return new c.init(t,e)}}),d=a.enc={},u=d.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new c.init(r,t/2)}},p=d.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new c.init(r,t)}},h=d.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.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 r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,d=e.min(4*l,i);if(l){for(var u=0;u<l;u+=a)this._doProcessBlock(o,u);r=o.splice(0,l),n.sigBytes-=d}return new c.init(r,d)},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,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new m.HMAC.init(e,r).finalize(t)}}}),a.algo={});return a}(Math),n)},754:function(e,t,r){var n;e.exports=(n=r(9021),function(){var e=n,t=e.lib.WordArray;function r(e,r,n){for(var o=[],i=0,a=0;a<r;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[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,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],i=0;i<r;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<r;s++)o.push(n.charAt(a>>>6*(3-s)&63));var l=n.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<n.length;i++)o[n.charCodeAt(i)]=i}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return r(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)},4725:function(e,t,r){var n;e.exports=(n=r(9021),function(){var e=n,t=e.lib.WordArray;function r(e,r,n){for(var o=[],i=0,a=0;a<r;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2|n[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 r=e.words,n=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],a=0;a<n;a+=3)for(var s=(r[a>>>2]>>>24-a%4*8&255)<<16|(r[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|r[a+2>>>2]>>>24-(a+2)%4*8&255,l=0;l<4&&a+.75*l<n;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 n=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&&(n=l)}return r(e,n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),n.enc.Base64url)},5503:function(e,t,r){var n;e.exports=(n=r(9021),function(){var e=n,t=e.lib.WordArray,r=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o+=2){var i=t[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var r=e.length,n=[],o=0;o<r;o++)n[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(n,2*r)}},r.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var a=o(t[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var r=e.length,n=[],i=0;i<r;i++)n[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return t.create(n,2*r)}}}(),n.enc.Utf16)},9506:function(e,t,r){var n,o,i,a,s,l,c,d;e.exports=(d=r(9021),r(5471),r(1025),o=(n=d).lib,i=o.Base,a=o.WordArray,s=n.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 r,n=this.cfg,o=n.hasher.create(),i=a.create(),s=i.words,l=n.keySize,c=n.iterations;s.length<l;){r&&o.update(r),r=o.update(e).finalize(t),o.reset();for(var d=1;d<c;d++)r=o.finalize(r),o.reset();i.concat(r)}return i.sigBytes=4*l,i}}),n.EvpKDF=function(e,t,r){return c.create(r).compute(e,t)},d.EvpKDF)},25:function(e,t,r){var n,o,i,a;e.exports=(a=r(9021),r(7165),o=(n=a).lib.CipherParams,i=n.enc.Hex,n.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)},1025:function(e,t,r){var n,o,i,a;e.exports=(n=r(9021),i=(o=n).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 r=e.blockSize,n=4*r;t.sigBytes>n&&(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<r;c++)s[c]^=1549556828,l[c]^=909522486;o.sigBytes=i.sigBytes=n,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,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))},1396:function(e,t,r){var n;e.exports=(n=r(9021),r(3240),r(6440),r(5503),r(754),r(4725),r(4636),r(5471),r(3009),r(6308),r(1380),r(9557),r(5953),r(8056),r(1025),r(19),r(9506),r(7165),r(2169),r(6939),r(6372),r(3797),r(8454),r(2073),r(4905),r(482),r(2155),r(8124),r(25),r(955),r(7628),r(7193),r(6298),r(2696),r(3128),n)},6440:function(e,t,r){var n;e.exports=(n=r(9021),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init,r=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 r=e.byteLength,n=[],o=0;o<r;o++)n[o>>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)};r.prototype=e}}(),n.lib.WordArray)},4636:function(e,t,r){var n;e.exports=(n=r(9021),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.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 r=0;r<16;r++){var n=t+r,o=e[n];e[n]=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],w=e[t+10],D=e[t+11],C=e[t+12],k=e[t+13],A=e[t+14],S=e[t+15],_=i[0],T=i[1],M=i[2],P=i[3];_=c(_,T,M,P,a,7,s[0]),P=c(P,_,T,M,l,12,s[1]),M=c(M,P,_,T,h,17,s[2]),T=c(T,M,P,_,f,22,s[3]),_=c(_,T,M,P,m,7,s[4]),P=c(P,_,T,M,v,12,s[5]),M=c(M,P,_,T,g,17,s[6]),T=c(T,M,P,_,y,22,s[7]),_=c(_,T,M,P,b,7,s[8]),P=c(P,_,T,M,x,12,s[9]),M=c(M,P,_,T,w,17,s[10]),T=c(T,M,P,_,D,22,s[11]),_=c(_,T,M,P,C,7,s[12]),P=c(P,_,T,M,k,12,s[13]),M=c(M,P,_,T,A,17,s[14]),_=d(_,T=c(T,M,P,_,S,22,s[15]),M,P,l,5,s[16]),P=d(P,_,T,M,g,9,s[17]),M=d(M,P,_,T,D,14,s[18]),T=d(T,M,P,_,a,20,s[19]),_=d(_,T,M,P,v,5,s[20]),P=d(P,_,T,M,w,9,s[21]),M=d(M,P,_,T,S,14,s[22]),T=d(T,M,P,_,m,20,s[23]),_=d(_,T,M,P,x,5,s[24]),P=d(P,_,T,M,A,9,s[25]),M=d(M,P,_,T,f,14,s[26]),T=d(T,M,P,_,b,20,s[27]),_=d(_,T,M,P,k,5,s[28]),P=d(P,_,T,M,h,9,s[29]),M=d(M,P,_,T,y,14,s[30]),_=u(_,T=d(T,M,P,_,C,20,s[31]),M,P,v,4,s[32]),P=u(P,_,T,M,b,11,s[33]),M=u(M,P,_,T,D,16,s[34]),T=u(T,M,P,_,A,23,s[35]),_=u(_,T,M,P,l,4,s[36]),P=u(P,_,T,M,m,11,s[37]),M=u(M,P,_,T,y,16,s[38]),T=u(T,M,P,_,w,23,s[39]),_=u(_,T,M,P,k,4,s[40]),P=u(P,_,T,M,a,11,s[41]),M=u(M,P,_,T,f,16,s[42]),T=u(T,M,P,_,g,23,s[43]),_=u(_,T,M,P,x,4,s[44]),P=u(P,_,T,M,C,11,s[45]),M=u(M,P,_,T,S,16,s[46]),_=p(_,T=u(T,M,P,_,h,23,s[47]),M,P,a,6,s[48]),P=p(P,_,T,M,y,10,s[49]),M=p(M,P,_,T,A,15,s[50]),T=p(T,M,P,_,v,21,s[51]),_=p(_,T,M,P,C,6,s[52]),P=p(P,_,T,M,f,10,s[53]),M=p(M,P,_,T,w,15,s[54]),T=p(T,M,P,_,l,21,s[55]),_=p(_,T,M,P,b,6,s[56]),P=p(P,_,T,M,S,10,s[57]),M=p(M,P,_,T,g,15,s[58]),T=p(T,M,P,_,k,21,s[59]),_=p(_,T,M,P,m,6,s[60]),P=p(P,_,T,M,D,10,s[61]),M=p(M,P,_,T,h,15,s[62]),T=p(T,M,P,_,x,21,s[63]),i[0]=i[0]+_|0,i[1]=i[1]+T|0,i[2]=i[2]+M|0,i[3]=i[3]+P|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var d=l[c];l[c]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,r,n,o,i,a){var s=e+(t&r|~t&n)+o+a;return(s<<i|s>>>32-i)+t}function d(e,t,r,n,o,i,a){var s=e+(t&n|r&~n)+o+a;return(s<<i|s>>>32-i)+t}function u(e,t,r,n,o,i,a){var s=e+(t^r^n)+o+a;return(s<<i|s>>>32-i)+t}function p(e,t,r,n,o,i,a){var s=e+(r^(t|~n))+o+a;return(s<<i|s>>>32-i)+t}t.MD5=i._createHelper(l),t.HmacMD5=i._createHmacHelper(l)}(Math),n.MD5)},2169:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,r,n){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,n.encryptBlock(o,0);for(var a=0;a<r;a++)e[t+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize;t.call(this,e,r,o,n),this._prevBlock=e.slice(r,r+o)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize,i=e.slice(r,r+o);t.call(this,e,r,o,n),this._prevBlock=i}}),e}(),n.mode.CFB)},6372:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}function r(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 n=this._cipher,o=n.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),r(a);var s=a.slice(0);n.encryptBlock(s,0);for(var l=0;l<o;l++)e[t+l]^=s[l]}});return e.Decryptor=o,e}(),n.mode.CTRGladman)},6939:function(e,t,r){var n,o,i;e.exports=(i=r(9021),r(7165),i.mode.CTR=(n=i.lib.BlockCipherMode.extend(),o=n.Encryptor=n.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);r.encryptBlock(a,0),i[n-1]=i[n-1]+1|0;for(var s=0;s<n;s++)e[t+s]^=a[s]}}),n.Decryptor=o,n),i.mode.CTR)},8454:function(e,t,r){var n,o;e.exports=(o=r(9021),r(7165),o.mode.ECB=((n=o.lib.BlockCipherMode.extend()).Encryptor=n.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),n.Decryptor=n.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),n),o.mode.ECB)},3797:function(e,t,r){var n,o,i;e.exports=(i=r(9021),r(7165),i.mode.OFB=(n=i.lib.BlockCipherMode.extend(),o=n.Encryptor=n.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),r.encryptBlock(i,0);for(var a=0;a<n;a++)e[t+a]^=i[a]}}),n.Decryptor=o,n),i.mode.OFB)},2073:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,o=n-r%n,i=r+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}},n.pad.Ansix923)},4905:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.Iso10126={pad:function(e,t){var r=4*t,o=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},482:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},8124:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},2155:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},n.pad.ZeroPadding)},19:function(e,t,r){var n,o,i,a,s,l,c,d,u;e.exports=(u=r(9021),r(3009),r(1025),o=(n=u).lib,i=o.Base,a=o.WordArray,s=n.algo,l=s.SHA256,c=s.HMAC,d=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 r=this.cfg,n=c.create(r.hasher,e),o=a.create(),i=a.create([1]),s=o.words,l=i.words,d=r.keySize,u=r.iterations;s.length<d;){var p=n.update(t).finalize(i);n.reset();for(var h=p.words,f=h.length,m=p,v=1;v<u;v++){m=n.finalize(m),n.reset();for(var g=m.words,y=0;y<f;y++)h[y]^=g[y]}o.concat(p),l[0]++}return o.sigBytes=4*d,o}}),n.PBKDF2=function(e,t,r){return d.create(r).compute(e,t)},u.PBKDF2)},2696:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],a=[],s=r.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,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],n=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++)n[o]^=r[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),d=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=c>>>16|4294901760&d,p=d<<16|65535&c;for(n[0]^=c,n[1]^=u,n[2]^=d,n[3]^=p,n[4]^=c,n[5]^=u,n[6]^=d,n[7]^=p,o=0;o<4;o++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];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,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=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)}(),n.RabbitLegacy)},6298:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],a=[],s=r.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var 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],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,r=0;r<4;r++)l.call(this);for(r=0;r<8;r++)o[r]^=n[r+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),d=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=c>>>16|4294901760&d,p=d<<16|65535&c;for(o[0]^=c,o[1]^=u,o[2]^=d,o[3]^=p,o[4]^=c,o[5]^=u,o[6]^=d,o[7]^=p,r=0;r<4;r++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];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,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=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)}(),n.Rabbit)},7193:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=r.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var a=o%r,s=t[a>>>2]>>>24-a%4*8&255;i=(i+n[o]+s)%256;var l=n[o];n[o]=n[i],n[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,r=this._j,n=0,o=0;o<4;o++){r=(r+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[r],e[r]=i,n|=e[(e[t]+e[r])%256]<<24-8*o}return this._i=t,this._j=r,n}e.RC4=t._createHelper(o);var a=r.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)}(),n.RC4)},8056:function(e,t,r){var n;e.exports=(n=r(9021),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.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]),d=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]),u=o.create([0,1518500249,1859775393,2400959708,2840853838]),p=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 r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,a,h,x,w,D,C,k,A,S,_,T=this._hash.words,M=u.words,P=p.words,E=s.words,j=l.words,B=c.words,O=d.words;for(D=i=T[0],C=a=T[1],k=h=T[2],A=x=T[3],S=w=T[4],r=0;r<80;r+=1)_=i+e[t+E[r]]|0,_+=r<16?f(a,h,x)+M[0]:r<32?m(a,h,x)+M[1]:r<48?v(a,h,x)+M[2]:r<64?g(a,h,x)+M[3]:y(a,h,x)+M[4],_=(_=b(_|=0,B[r]))+w|0,i=w,w=x,x=b(h,10),h=a,a=_,_=D+e[t+j[r]]|0,_+=r<16?y(C,k,A)+P[0]:r<32?g(C,k,A)+P[1]:r<48?v(C,k,A)+P[2]:r<64?m(C,k,A)+P[3]:f(C,k,A)+P[4],_=(_=b(_|=0,O[r]))+S|0,D=S,S=A,A=b(k,10),k=C,C=_;_=T[1]+h+A|0,T[1]=T[2]+x+S|0,T[2]=T[3]+w+D|0,T[3]=T[4]+i+C|0,T[4]=T[0]+a+k|0,T[0]=_},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>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,r){return e^t^r}function m(e,t,r){return e&t|~e&r}function v(e,t,r){return(e|~t)^r}function g(e,t,r){return e&r|t&~r}function y(e,t,r){return e^(t|~r)}function b(e,t){return e<<t|e>>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(Math),n.RIPEMD160)},5471:function(e,t,r){var n,o,i,a,s,l,c,d;e.exports=(d=r(9021),o=(n=d).lib,i=o.WordArray,a=o.Hasher,s=n.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 r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],c=0;c<80;c++){if(c<16)l[c]=0|e[t+c];else{var d=l[c-3]^l[c-8]^l[c-14]^l[c-16];l[c]=d<<1|d>>>31}var u=(n<<5|n>>>27)+s+l[c];u+=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=n,n=u}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=a._createHelper(c),n.HmacSHA1=a._createHmacHelper(c),d.SHA1)},6308:function(e,t,r){var n,o,i,a,s,l;e.exports=(l=r(9021),r(3009),o=(n=l).lib.WordArray,i=n.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}}),n.SHA224=a._createHelper(s),n.HmacSHA224=a._createHmacHelper(s),l.SHA224)},3009:function(e,t,r){var n;e.exports=(n=r(9021),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.algo,s=[],l=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(s[o]=r(e.pow(n,.5))),l[o]=r(e.pow(n,1/3)),o++),n++}();var c=[],d=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],d=r[5],u=r[6],p=r[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=n&o^n&i^o&i,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),x=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&d^~s&u)+l[h]+c[h];p=u,u=d,d=s,s=a+x|0,a=i,i=o,o=n,n=x+(b+y)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0,r[5]=r[5]+d|0,r[6]=r[6]+u|0,r[7]=r[7]+p|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(d),t.HmacSHA256=i._createHmacHelper(d)}(Math),n.SHA256)},5953:function(e,t,r){var n;e.exports=(n=r(9021),r(3240),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.x64.Word,s=t.algo,l=[],c=[],d=[];!function(){for(var e=1,t=0,r=0;r<24;r++){l[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}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,u=0,p=0;p<7;p++){if(1&o){var h=(1<<p)-1;h<32?u^=1<<h:s^=1<<h-32}128&o?o=o<<1^113:o<<=1}d[i]=a.create(s,u)}}();var u=[];!function(){for(var e=0;e<25;e++)u[e]=a.create()}();var p=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 r=this._state,n=this.blockSize/2,o=0;o<n;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),(T=r[o]).high^=a,T.low^=i}for(var s=0;s<24;s++){for(var p=0;p<5;p++){for(var h=0,f=0,m=0;m<5;m++)h^=(T=r[p+5*m]).high,f^=T.low;var v=u[p];v.high=h,v.low=f}for(p=0;p<5;p++){var g=u[(p+4)%5],y=u[(p+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++)(T=r[p+5*m]).high^=h,T.low^=f}for(var w=1;w<25;w++){var D=(T=r[w]).high,C=T.low,k=l[w];k<32?(h=D<<k|C>>>32-k,f=C<<k|D>>>32-k):(h=C<<k-32|D>>>64-k,f=D<<k-32|C>>>64-k);var A=u[c[w]];A.high=h,A.low=f}var S=u[0],_=r[0];for(S.high=_.high,S.low=_.low,p=0;p<5;p++)for(m=0;m<5;m++){var T=r[w=p+5*m],M=u[w],P=u[(p+1)%5+5*m],E=u[(p+2)%5+5*m];T.high=M.high^~P.high&E.high,T.low=M.low^~P.low&E.low}T=r[0];var j=d[s];T.high^=j.high,T.low^=j.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,l=s/8,c=[],d=0;d<l;d++){var u=a[d],p=u.high,h=u.low;p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),c.push(h),c.push(p)}return new o.init(c,s)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=i._createHelper(p),t.HmacSHA3=i._createHmacHelper(p)}(Math),n.SHA3)},9557:function(e,t,r){var n,o,i,a,s,l,c,d;e.exports=(d=r(9021),r(3240),r(1380),o=(n=d).x64,i=o.Word,a=o.WordArray,s=n.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}}),n.SHA384=l._createHelper(c),n.HmacSHA384=l._createHmacHelper(c),d.SHA384)},1380:function(e,t,r){var n;e.exports=(n=r(9021),r(3240),function(){var e=n,t=e.lib.Hasher,r=e.x64,o=r.Word,i=r.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 d=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 r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],d=r[5],u=r[6],p=r[7],h=n.high,f=n.low,m=o.high,v=o.low,g=i.high,y=i.low,b=a.high,x=a.low,w=s.high,D=s.low,C=d.high,k=d.low,A=u.high,S=u.low,_=p.high,T=p.low,M=h,P=f,E=m,j=v,B=g,O=y,N=b,q=x,H=w,L=D,R=C,I=k,$=A,F=S,z=_,U=T,W=0;W<80;W++){var Y,X,G=c[W];if(W<16)X=G.high=0|e[t+2*W],Y=G.low=0|e[t+2*W+1];else{var K=c[W-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[W-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,oe=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ie=c[W-7],ae=ie.high,se=ie.low,le=c[W-16],ce=le.high,de=le.low;X=(X=(X=J+ae+((Y=Q+se)>>>0<Q>>>0?1:0))+ne+((Y+=oe)>>>0<oe>>>0?1:0))+ce+((Y+=de)>>>0<de>>>0?1:0),G.high=X,G.low=Y}var ue,pe=H&R^~H&$,he=L&I^~L&F,fe=M&E^M&B^E&B,me=P&j^P&O^j&O,ve=(M>>>28|P<<4)^(M<<30|P>>>2)^(M<<25|P>>>7),ge=(P>>>28|M<<4)^(P<<30|M>>>2)^(P<<25|M>>>7),ye=(H>>>14|L<<18)^(H>>>18|L<<14)^(H<<23|L>>>9),be=(L>>>14|H<<18)^(L>>>18|H<<14)^(L<<23|H>>>9),xe=l[W],we=xe.high,De=xe.low,Ce=z+ye+((ue=U+be)>>>0<U>>>0?1:0),ke=ge+me;z=$,U=F,$=R,F=I,R=H,I=L,H=N+(Ce=(Ce=(Ce=Ce+pe+((ue+=he)>>>0<he>>>0?1:0))+we+((ue+=De)>>>0<De>>>0?1:0))+X+((ue+=Y)>>>0<Y>>>0?1:0))+((L=q+ue|0)>>>0<q>>>0?1:0)|0,N=B,q=O,B=E,O=j,E=M,j=P,M=Ce+(ve+fe+(ke>>>0<ge>>>0?1:0))+((P=ue+ke|0)>>>0<ue>>>0?1:0)|0}f=n.low=f+P,n.high=h+M+(f>>>0<P>>>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+q,a.high=b+N+(x>>>0<q>>>0?1:0),D=s.low=D+L,s.high=w+H+(D>>>0<L>>>0?1:0),k=d.low=k+I,d.high=C+R+(k>>>0<I>>>0?1:0),S=u.low=S+F,u.high=A+$+(S>>>0<F>>>0?1:0),T=p.low=T+U,p.high=_+z+(T>>>0<U>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,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(d),e.HmacSHA512=t._createHmacHelper(d)}(),n.SHA512)},7628:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib,r=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}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=a[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var c=o[i]=[],d=l[i];for(r=0;r<24;r++)c[r/6|0]|=t[(s[r]-1+d)%28]<<31-r%6,c[4+(r/6|0)]|=t[28+(s[r+24]-1+d)%28]<<31-r%6;for(c[0]=c[0]<<1|c[0]>>>31,r=1;r<7;r++)c[r]=c[r]>>>4*(r-1)+3;c[7]=c[7]<<5|c[7]>>>27}var u=this._invSubKeys=[];for(r=0;r<16;r++)u[r]=o[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],p.call(this,4,252645135),p.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),p.call(this,1,1431655765);for(var n=0;n<16;n++){for(var o=r[n],i=this._lBlock,a=this._rBlock,s=0,l=0;l<8;l++)s|=c[l][((a^o[l])&d[l])>>>0];this._lBlock=a,this._rBlock=i^s}var u=this._lBlock;this._lBlock=this._rBlock,this._rBlock=u,p.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function h(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}e.DES=o._createHelper(u);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),n=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=u.createEncryptor(r.create(t)),this._des2=u.createEncryptor(r.create(n)),this._des3=u.createEncryptor(r.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)}(),n.TripleDES)},3240:function(e,t,r){var n;e.exports=(n=r(9021),function(e){var t=n,r=t.lib,o=r.Base,i=r.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,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var o=e[n];r.push(o.high),r.push(o.low)}return i.create(r,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}})}(),n)},4692:function(e,t){var r;!function(t,r){"use strict";"object"==typeof e.exports?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)}("undefined"!=typeof window?window:this,(function(n,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,d=i.indexOf,u={},p=u.toString,h=u.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=n.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,r){var n,o,i=(r=r||b).createElement("script");if(i.text=e,t)for(n in x)(o=t[n]||t.getAttribute&&t.getAttribute(n))&&i.setAttribute(n,o);r.head.appendChild(i).parentNode.removeChild(i)}function D(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[p.call(e)]||"object":typeof e}var C="3.7.1",k=/HTML$/i,A=function(e,t){return new A.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,r=D(e);return!g(e)&&!y(e)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}function _(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}A.fn=A.prototype={jquery:C,constructor:A,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=A.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return A.each(this,e)},map:function(e){return this.pushStack(A.map(this,(function(t,r){return e.call(t,r,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(A.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(A.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},A.extend=A.fn.extend=function(){var e,t,r,n,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)n=e[t],"__proto__"!==t&&a!==n&&(c&&n&&(A.isPlainObject(n)||(o=Array.isArray(n)))?(r=a[t],i=o&&!Array.isArray(r)?[]:o||A.isPlainObject(r)?r:{},o=!1,a[t]=A.extend(c,i,n)):void 0!==n&&(a[t]=n));return a},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,r;return!(!e||"[object Object]"!==p.call(e))&&(!(t=a(e))||"function"==typeof(r=h.call(t,"constructor")&&t.constructor)&&f.call(r)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){w(e,{nonce:t&&t.nonce},r)},each:function(e,t){var r,n=0;if(S(e))for(r=e.length;n<r&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,r="",n=0,o=e.nodeType;if(!o)for(;t=e[n++];)r+=A.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:r},makeArray:function(e,t){var r=t||[];return null!=e&&(S(Object(e))?A.merge(r,"string"==typeof e?[e]:e):c.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:d.call(t,e,r)},isXMLDoc:function(e){var t=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!k.test(t||r&&r.nodeName||"HTML")},merge:function(e,t){for(var r=+t.length,n=0,o=e.length;n<r;n++)e[o++]=t[n];return e.length=o,e},grep:function(e,t,r){for(var n=[],o=0,i=e.length,a=!r;o<i;o++)!t(e[o],o)!==a&&n.push(e[o]);return n},map:function(e,t,r){var n,o,i=0,a=[];if(S(e))for(n=e.length;i<n;i++)null!=(o=t(e[i],i,r))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,r))&&a.push(o);return l(a)},guid:1,support:v}),"function"==typeof Symbol&&(A.fn[Symbol.iterator]=i[Symbol.iterator]),A.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){u["[object "+t+"]"]=t.toLowerCase()}));var T=i.pop,M=i.sort,P=i.splice,E="[\\x20\\t\\r\\n\\f]",j=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g");A.contains=function(e,t){var r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))};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}A.escapeSelector=function(e){return(e+"").replace(B,O)};var N=b,q=c;!function(){var e,t,r,o,a,l,c,u,p,f,m=q,g=A.expando,y=0,b=0,x=ee(),w=ee(),D=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+"*\\]",H=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",L=new RegExp(E+"+","g"),R=new RegExp("^"+E+"*,"+E+"*"),I=new RegExp("^"+E+"*([>+~]|"+E+")"+E+"*"),$=new RegExp(E+"|>"),F=new RegExp(H),z=new RegExp("^"+B+"$"),U={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+H),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")},W=/^(?: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 r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},V=function(){le()},J=pe((function(e){return!0===e.disabled&&_(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){q.apply(e,s.call(t))},call:function(e){q.apply(e,s.call(arguments,1))}}}function Q(e,t,r,n){var o,i,a,s,c,d,h,f=t&&t.ownerDocument,y=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return r;if(!n&&(le(t),t=t||l,u)){if(11!==y&&(c=X.exec(e)))if(o=c[1]){if(9===y){if(!(a=t.getElementById(o)))return r;if(a.id===o)return m.call(r,a),r}else if(f&&(a=f.getElementById(o))&&Q.contains(t,a)&&a.id===o)return m.call(r,a),r}else{if(c[2])return m.apply(r,t.getElementsByTagName(e)),r;if((o=c[3])&&t.getElementsByClassName)return m.apply(r,t.getElementsByClassName(o)),r}if(!(C[e+" "]||p&&p.test(e))){if(h=e,f=t,1===y&&($.test(e)||I.test(e))){for((f=G.test(e)&&se(t.parentNode)||t)==t&&v.scope||((s=t.getAttribute("id"))?s=A.escapeSelector(s):t.setAttribute("id",s=g)),i=(d=de(e)).length;i--;)d[i]=(s?"#"+s:":scope")+" "+ue(d[i]);h=d.join(",")}try{return m.apply(r,f.querySelectorAll(h)),r}catch(t){C(e,!0)}finally{s===g&&t.removeAttribute("id")}}}return ye(e.replace(j,"$1"),t,r,n)}function ee(){var e=[];return function r(n,o){return e.push(n+" ")>t.cacheLength&&delete r[e.shift()],r[n+" "]=o}}function te(e){return e[g]=!0,e}function re(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ne(e){return function(t){return _(t,"input")&&t.type===e}}function oe(e){return function(t){return(_(t,"input")||_(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(r,n){for(var o,i=e([],r.length,t),a=i.length;a--;)r[o=i[a]]&&(r[o]=!(n[o]=r[o]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var r,n=e?e.ownerDocument||e:N;return n!=l&&9===n.nodeType&&n.documentElement?(c=(l=n).documentElement,u=!A.isXMLDoc(l),f=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&N!=l&&(r=l.defaultView)&&r.top!==r&&r.addEventListener("unload",V),v.getById=re((function(e){return c.appendChild(e).id=A.expando,!l.getElementsByName||!l.getElementsByName(A.expando).length})),v.disconnectedMatch=re((function(e){return f.call(e,"*")})),v.scope=re((function(){return l.querySelectorAll(":scope")})),v.cssHas=re((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&&u){var r=t.getElementById(e);return r?[r]:[]}}):(t.filter.ID=function(e){var t=e.replace(K,Z);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&u){var r,n,o,i=t.getElementById(e);if(i){if((r=i.getAttributeNode("id"))&&r.value===e)return[i];for(o=t.getElementsByName(e),n=0;i=o[n++];)if((r=i.getAttributeNode("id"))&&r.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&&u)return t.getElementsByClassName(e)},p=[],re((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||p.push("\\["+E+"*(?:value|"+S+")"),e.querySelectorAll("[id~="+g+"-]").length||p.push("~="),e.querySelectorAll("a#"+g+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.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&&p.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+E+"*name"+E+"*="+E+"*(?:''|\"\")")})),v.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),k=function(e,t){if(e===t)return a=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!v.sortDetached&&t.compareDocumentPosition(e)===r?e===l||e.ownerDocument==N&&Q.contains(N,e)?-1:t===l||t.ownerDocument==N&&Q.contains(N,t)?1:o?d.call(o,e)-d.call(o,t):0:4&r?-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),u&&!C[t+" "]&&(!p||!p.test(t)))try{var r=f.call(e,t);if(r||v.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}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),A.contains(e,t)},Q.attr=function(e,r){(e.ownerDocument||e)!=l&&le(e);var n=t.attrHandle[r.toLowerCase()],o=n&&h.call(t.attrHandle,r.toLowerCase())?n(e,r,!u):void 0;return void 0!==o?o:e.getAttribute(r)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,r=[],n=0,i=0;if(a=!v.sortStable,o=!v.sortStable&&s.call(e,0),M.call(e,k),a){for(;t=e[i++];)t===e[i]&&(n=r.push(i));for(;n--;)P.call(e,r[n],1)}return o=null,e},A.fn.uniqueSort=function(){return this.pushStack(A.uniqueSort(s.apply(this)))},t=A.expr={cacheLength:50,createPseudo:te,match:U,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,r=!e[6]&&e[2];return U.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&F.test(r)&&(t=de(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.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 _(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,r){return function(n){var o=Q.attr(n,e);return null==o?"!="===t:!t||(o+="","="===t?o===r:"!="===t?o!==r:"^="===t?r&&0===o.indexOf(r):"*="===t?r&&o.indexOf(r)>-1:"$="===t?r&&o.slice(-r.length)===r:"~="===t?(" "+o.replace(L," ")+" ").indexOf(r)>-1:"|="===t&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===o?function(e){return!!e.parentNode}:function(t,r,l){var c,d,u,p,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(u=t;u=u[f];)if(s?_(u,v):1===u.nodeType)return!1;h=f="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&b){for(x=(p=(c=(d=m[g]||(m[g]={}))[e]||[])[0]===y&&c[1])&&c[2],u=p&&m.childNodes[p];u=++p&&u&&u[f]||(x=p=0)||h.pop();)if(1===u.nodeType&&++x&&u===t){d[e]=[y,p,x];break}}else if(b&&(x=p=(c=(d=t[g]||(t[g]={}))[e]||[])[0]===y&&c[1]),!1===x)for(;(u=++p&&u&&u[f]||(x=p=0)||h.pop())&&(!(s?_(u,v):1===u.nodeType)||!++x||(b&&((d=u[g]||(u[g]={}))[e]=[y,x]),u!==t)););return(x-=o)===n||x%n==0&&x/n>=0}}},PSEUDO:function(e,r){var n,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return o[g]?o(r):o.length>1?(n=[e,e,"",r],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var n,i=o(e,r),a=i.length;a--;)e[n=d.call(e,i[a])]=!(t[n]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:te((function(e){var t=[],r=[],n=ge(e.replace(j,"$1"));return n[g]?te((function(e,t,r,o){for(var i,a=n(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,n(t,null,i,r),t[0]=null,!r.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||A.text(t)).indexOf(e)>-1}})),lang:te((function(e){return z.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(K,Z).toLowerCase(),function(t){var r;do{if(r=u?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=n.location&&n.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 _(e,"input")&&!!e.checked||_(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 W.test(e.nodeName)},button:function(e){return _(e,"input")&&"button"===e.type||_(e,"button")},text:function(e){var t;return _(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,r){return[r<0?r+t:r]})),even:ae((function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e})),odd:ae((function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e})),lt:ae((function(e,t,r){var n;for(n=r<0?r+t:r>t?t:r;--n>=0;)e.push(n);return e})),gt:ae((function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ne(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=oe(e);function ce(){}function de(e,r){var n,o,i,a,s,l,c,d=w[e+" "];if(d)return r?0:d.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in n&&!(o=R.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=I.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(j," ")}),s=s.slice(n.length)),t.filter)!(o=U[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return r?s.length:s?Q.error(e):w(e,l).slice(0)}function ue(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function pe(e,t,r){var n=t.dir,o=t.next,i=o||n,a=r&&"parentNode"===i,s=b++;return t.first?function(t,r,o){for(;t=t[n];)if(1===t.nodeType||a)return e(t,r,o);return!1}:function(t,r,l){var c,d,u=[y,s];if(l){for(;t=t[n];)if((1===t.nodeType||a)&&e(t,r,l))return!0}else for(;t=t[n];)if(1===t.nodeType||a)if(d=t[g]||(t[g]={}),o&&_(t,o))t=t[n]||t;else{if((c=d[i])&&c[0]===y&&c[1]===s)return u[2]=c[2];if(d[i]=u,u[2]=e(t,r,l))return!0}return!1}}function he(e){return e.length>1?function(t,r,n){for(var o=e.length;o--;)if(!e[o](t,r,n))return!1;return!0}:e[0]}function fe(e,t,r,n,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(r&&!r(i,n,o)||(a.push(i),c&&t.push(s)));return a}function me(e,t,r,n,o,i){return n&&!n[g]&&(n=me(n)),o&&!o[g]&&(o=me(o,i)),te((function(i,a,s,l){var c,u,p,h,f=[],v=[],g=a.length,y=i||function(e,t,r){for(var n=0,o=t.length;n<o;n++)Q(e,t[n],r);return r}(t||"*",s.nodeType?[s]:s,[]),b=!e||!i&&t?y:fe(y,f,e,s,l);if(r?r(b,h=o||(i?e:g||n)?[]:a,s,l):h=b,n)for(c=fe(h,v),n(c,[],s,l),u=c.length;u--;)(p=c[u])&&(h[v[u]]=!(b[v[u]]=p));if(i){if(o||e){if(o){for(c=[],u=h.length;u--;)(p=h[u])&&c.push(b[u]=p);o(null,h=[],c,l)}for(u=h.length;u--;)(p=h[u])&&(c=o?d.call(i,p):f[u])>-1&&(i[c]=!(a[c]=p))}}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 n,o,i,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,u=pe((function(e){return e===n}),l,!0),p=pe((function(e){return d.call(n,e)>-1}),l,!0),h=[function(e,t,o){var i=!s&&(o||t!=r)||((n=t).nodeType?u(e,t,o):p(e,t,o));return n=null,i}];c<a;c++)if(o=t.relative[e[c].type])h=[pe(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&&ue(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&&ue(e))}h.push(o)}return he(h)}function ge(e,n){var o,i=[],a=[],s=D[e+" "];if(!s){for(n||(n=de(e)),o=n.length;o--;)(s=ve(n[o]))[g]?i.push(s):a.push(s);s=D(e,function(e,n){var o=n.length>0,i=e.length>0,a=function(a,s,c,d,p){var h,f,v,g=0,b="0",x=a&&[],w=[],D=r,C=a||i&&t.find.TAG("*",p),k=y+=null==D?1:Math.random()||.1,S=C.length;for(p&&(r=s==l||s||p);b!==S&&null!=(h=C[b]);b++){if(i&&h){for(f=0,s||h.ownerDocument==l||(le(h),c=!u);v=e[f++];)if(v(h,s||l,c)){m.call(d,h);break}p&&(y=k)}o&&((h=!v&&h)&&g--,a&&x.push(h))}if(g+=b,o&&b!==g){for(f=0;v=n[f++];)v(x,w,s,c);if(a){if(g>0)for(;b--;)x[b]||w[b]||(w[b]=T.call(d));w=fe(w)}m.apply(d,w),p&&!a&&w.length>0&&g+n.length>1&&A.uniqueSort(d)}return p&&(y=k,r=D),x};return o?te(a):a}(a,i)),s.selector=e}return s}function ye(e,r,n,o){var i,a,s,l,c,d="function"==typeof e&&e,p=!o&&de(e=d.selector||e);if(n=n||[],1===p.length){if((a=p[0]=p[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===r.nodeType&&u&&t.relative[a[1].type]){if(!(r=(t.find.ID(s.matches[0].replace(K,Z),r)||[])[0]))return n;d&&(r=r.parentNode),e=e.slice(a.shift().value.length)}for(i=U.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(r.parentNode)||r))){if(a.splice(i,1),!(e=o.length&&ue(a)))return m.apply(n,o),n;break}}return(d||ge(e,p))(o,r,!u,n,!r||G.test(e)&&se(r.parentNode)||r),n}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,v.sortStable=g.split("").sort(k).join("")===g,le(),v.sortDetached=re((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),A.find=Q,A.expr[":"]=A.expr.pseudos,A.unique=A.uniqueSort,Q.compile=ge,Q.select=ye,Q.setDocument=le,Q.tokenize=de,Q.escape=A.escapeSelector,Q.getText=A.text,Q.isXML=A.isXMLDoc,Q.selectors=A.expr,Q.support=A.support,Q.uniqueSort=A.uniqueSort}();var H=function(e,t,r){for(var n=[],o=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&A(e).is(r))break;n.push(e)}return n},L=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},R=A.expr.match.needsContext,I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function $(e,t,r){return g(t)?A.grep(e,(function(e,n){return!!t.call(e,n,e)!==r})):t.nodeType?A.grep(e,(function(e){return e===t!==r})):"string"!=typeof t?A.grep(e,(function(e){return d.call(t,e)>-1!==r})):A.filter(t,e,r)}A.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?A.find.matchesSelector(n,e)?[n]:[]:A.find.matches(e,A.grep(t,(function(e){return 1===e.nodeType})))},A.fn.extend({find:function(e){var t,r,n=this.length,o=this;if("string"!=typeof e)return this.pushStack(A(e).filter((function(){for(t=0;t<n;t++)if(A.contains(o[t],this))return!0})));for(r=this.pushStack([]),t=0;t<n;t++)A.find(e,o[t],r);return n>1?A.uniqueSort(r):r},filter:function(e){return this.pushStack($(this,e||[],!1))},not:function(e){return this.pushStack($(this,e||[],!0))},is:function(e){return!!$(this,"string"==typeof e&&R.test(e)?A(e):e||[],!1).length}});var F,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(e,t,r){var n,o;if(!e)return this;if(r=r||F,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:z.exec(e))||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof A?t[0]:t,A.merge(this,A.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),I.test(n[1])&&A.isPlainObject(t))for(n in t)g(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(o=b.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==r.ready?r.ready(e):e(A):A.makeArray(e,this)}).prototype=A.fn,F=A(b);var U=/^(?:parents|prev(?:Until|All))/,W={children:!0,contents:!0,next:!0,prev:!0};function Y(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}A.fn.extend({has:function(e){var t=A(e,this),r=t.length;return this.filter((function(){for(var e=0;e<r;e++)if(A.contains(this,t[e]))return!0}))},closest:function(e,t){var r,n=0,o=this.length,i=[],a="string"!=typeof e&&A(e);if(!R.test(e))for(;n<o;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(a?a.index(r)>-1:1===r.nodeType&&A.find.matchesSelector(r,e))){i.push(r);break}return this.pushStack(i.length>1?A.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?d.call(A(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(A.uniqueSort(A.merge(this.get(),A(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),A.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return H(e,"parentNode")},parentsUntil:function(e,t,r){return H(e,"parentNode",r)},next:function(e){return Y(e,"nextSibling")},prev:function(e){return Y(e,"previousSibling")},nextAll:function(e){return H(e,"nextSibling")},prevAll:function(e){return H(e,"previousSibling")},nextUntil:function(e,t,r){return H(e,"nextSibling",r)},prevUntil:function(e,t,r){return H(e,"previousSibling",r)},siblings:function(e){return L((e.parentNode||{}).firstChild,e)},children:function(e){return L(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(_(e,"template")&&(e=e.content||e),A.merge([],e.childNodes))}},(function(e,t){A.fn[e]=function(r,n){var o=A.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(o=A.filter(n,o)),this.length>1&&(W[e]||A.uniqueSort(o),U.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,r,n){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(r):e&&g(o=e.then)?o.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}A.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return A.each(e.match(X)||[],(function(e,r){t[r]=!0})),t}(e):A.extend({},e);var t,r,n,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,n=t=!0;a.length;s=-1)for(r=a.shift();++s<i.length;)!1===i[s].apply(r[0],r[1])&&e.stopOnFalse&&(s=i.length,r=!1);e.memory||(r=!1),t=!1,o&&(i=r?[]:"")},c={add:function(){return i&&(r&&!t&&(s=i.length-1,a.push(r)),function t(r){A.each(r,(function(r,n){g(n)?e.unique&&c.has(n)||i.push(n):n&&n.length&&"string"!==D(n)&&t(n)}))}(arguments),r&&!t&&l()),this},remove:function(){return A.each(arguments,(function(e,t){for(var r;(r=A.inArray(t,i,r))>-1;)i.splice(r,1),r<=s&&s--})),this},has:function(e){return e?A.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=r="",this},disabled:function(){return!i},lock:function(){return o=a=[],r||t||(i=r=""),this},locked:function(){return!!o},fireWith:function(e,r){return o||(r=[e,(r=r||[]).slice?r.slice():r],a.push(r),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},A.extend({Deferred:function(e){var t=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return A.Deferred((function(r){A.each(t,(function(t,n){var o=g(e[n[4]])&&e[n[4]];i[n[1]]((function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,o){var i=0;function a(e,t,r,o){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<i)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,g(c)?o?c.call(n,a(i,t,G,o),a(i,t,K,o)):(i++,c.call(n,a(i,t,G,o),a(i,t,K,o),a(i,t,G,t.notifyWith))):(r!==G&&(s=void 0,l=[n]),(o||t.resolveWith)(s,l))}},d=o?c:function(){try{c()}catch(n){A.Deferred.exceptionHook&&A.Deferred.exceptionHook(n,d.error),e+1>=i&&(r!==K&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?d():(A.Deferred.getErrorHook?d.error=A.Deferred.getErrorHook():A.Deferred.getStackHook&&(d.error=A.Deferred.getStackHook()),n.setTimeout(d))}}return A.Deferred((function(n){t[0][3].add(a(0,n,g(o)?o:G,n.notifyWith)),t[1][3].add(a(0,n,g(e)?e:G)),t[2][3].add(a(0,n,g(r)?r:K))})).promise()},promise:function(e){return null!=e?A.extend(e,o):o}},i={};return A.each(t,(function(e,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,r=t,n=Array(r),o=s.call(arguments),i=A.Deferred(),a=function(e){return function(r){n[e]=this,o[e]=arguments.length>1?s.call(arguments):r,--t||i.resolveWith(n,o)}};if(t<=1&&(Z(e,i.done(a(r)).resolve,i.reject,!t),"pending"===i.state()||g(o[r]&&o[r].then)))return i.then();for(;r--;)Z(o[r],a(r),i.reject);return i.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&V.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},A.readyException=function(e){n.setTimeout((function(){throw e}))};var J=A.Deferred();function Q(){b.removeEventListener("DOMContentLoaded",Q),n.removeEventListener("load",Q),A.ready()}A.fn.ready=function(e){return J.then(e).catch((function(e){A.readyException(e)})),this},A.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--A.readyWait:A.isReady)||(A.isReady=!0,!0!==e&&--A.readyWait>0||J.resolveWith(b,[A]))}}),A.ready.then=J.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(A.ready):(b.addEventListener("DOMContentLoaded",Q),n.addEventListener("load",Q));var ee=function(e,t,r,n,o,i,a){var s=0,l=e.length,c=null==r;if("object"===D(r))for(s in o=!0,r)ee(e,t,s,r[s],!0,i,a);else if(void 0!==n&&(o=!0,g(n)||(a=!0),c&&(a?(t.call(e,n),t=null):(c=t,t=function(e,t,r){return c.call(A(e),r)})),t))for(;s<l;s++)t(e[s],r,a?n:n.call(e[s],s,t(e[s],r)));return o?e:c?t.call(e):l?t(e[0],r):i},te=/^-ms-/,re=/-([a-z])/g;function ne(e,t){return t.toUpperCase()}function oe(e){return e.replace(te,"ms-").replace(re,ne)}var ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=A.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,r){var n,o=this.cache(e);if("string"==typeof t)o[oe(t)]=r;else for(n in t)o[oe(n)]=t[n];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,r){return void 0===t||t&&"string"==typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando];if(void 0!==n){if(void 0!==t){r=(t=Array.isArray(t)?t.map(oe):(t=oe(t))in n?[t]:t.match(X)||[]).length;for(;r--;)delete n[t[r]]}(void 0===t||A.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!A.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,de=/[A-Z]/g;function ue(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(de,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(n))){try{r=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(r)}catch(e){}le.set(e,t,r)}else r=void 0;return r}A.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,r){return le.access(e,t,r)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,r){return se.access(e,t,r)},_removeData:function(e,t){se.remove(e,t)}}),A.fn.extend({data:function(e,t){var r,n,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(r=a.length;r--;)a[r]&&0===(n=a[r].name).indexOf("data-")&&(n=oe(n.slice(5)),ue(i,n,o[n]));se.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var r;if(i&&void 0===t)return void 0!==(r=le.get(i,e))||void 0!==(r=ue(i,e))?r: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)}))}}),A.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=se.get(e,t),r&&(!n||Array.isArray(r)?n=se.access(e,t,A.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=A.queue(e,t),n=r.length,o=r.shift(),i=A._queueHooks(e,t);"inprogress"===o&&(o=r.shift(),n--),o&&("fx"===t&&r.unshift("inprogress"),delete i.stop,o.call(e,(function(){A.dequeue(e,t)}),i)),!n&&i&&i.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return se.get(e,r)||se.access(e,r,{empty:A.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",r])}))})}}),A.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length<r?A.queue(this[0],e):void 0===t?this:this.each((function(){var r=A.queue(this,e,t);A._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&A.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){A.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,o=A.Deferred(),i=this,a=this.length,s=function(){--n||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=se.get(i[a],e+"queueHooks"))&&r.empty&&(n++,r.empty.add(s));return s(),o.promise(t)}});var pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=new RegExp("^(?:([+-])=|)("+pe+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],me=b.documentElement,ve=function(e){return A.contains(e.ownerDocument,e)},ge={composed:!0};me.getRootNode&&(ve=function(e){return A.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"===A.css(e,"display")};function be(e,t,r,n){var o,i,a=20,s=n?function(){return n.cur()}:function(){return A.css(e,t,"")},l=s(),c=r&&r[3]||(A.cssNumber[t]?"":"px"),d=e.nodeType&&(A.cssNumber[t]||"px"!==c&&+l)&&he.exec(A.css(e,t));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;a--;)A.style(e,t,d+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),d/=i;d*=2,A.style(e,t,d+c),r=r||[]}return r&&(d=+d||+l||0,o=r[1]?d+(r[1]+1)*r[2]:+r[2],n&&(n.unit=c,n.start=d,n.end=o)),o}var xe={};function we(e){var t,r=e.ownerDocument,n=e.nodeName,o=xe[n];return o||(t=r.body.appendChild(r.createElement(n)),o=A.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),xe[n]=o,o)}function De(e,t){for(var r,n,o=[],i=0,a=e.length;i<a;i++)(n=e[i]).style&&(r=n.style.display,t?("none"===r&&(o[i]=se.get(n,"display")||null,o[i]||(n.style.display="")),""===n.style.display&&ye(n)&&(o[i]=we(n))):"none"!==r&&(o[i]="none",se.set(n,"display",r)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}A.fn.extend({show:function(){return De(this,!0)},hide:function(){return De(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ye(this)?A(this).show():A(this).hide()}))}});var Ce,ke,Ae=/^(?:checkbox|radio)$/i,Se=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,_e=/^$|^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 Te={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 Me(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&_(e,t)?A.merge([e],r):r}function Pe(e,t){for(var r=0,n=e.length;r<n;r++)se.set(e[r],"globalEval",!t||se.get(t[r],"globalEval"))}Te.tbody=Te.tfoot=Te.colgroup=Te.caption=Te.thead,Te.th=Te.td,v.option||(Te.optgroup=Te.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function je(e,t,r,n,o){for(var i,a,s,l,c,d,u=t.createDocumentFragment(),p=[],h=0,f=e.length;h<f;h++)if((i=e[h])||0===i)if("object"===D(i))A.merge(p,i.nodeType?[i]:i);else if(Ee.test(i)){for(a=a||u.appendChild(t.createElement("div")),s=(Se.exec(i)||["",""])[1].toLowerCase(),l=Te[s]||Te._default,a.innerHTML=l[1]+A.htmlPrefilter(i)+l[2],d=l[0];d--;)a=a.lastChild;A.merge(p,a.childNodes),(a=u.firstChild).textContent=""}else p.push(t.createTextNode(i));for(u.textContent="",h=0;i=p[h++];)if(n&&A.inArray(i,n)>-1)o&&o.push(i);else if(c=ve(i),a=Me(u.appendChild(i),"script"),c&&Pe(a),r)for(d=0;i=a[d++];)_e.test(i.type||"")&&r.push(i);return u}var Be=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Ne(){return!1}function qe(e,t,r,n,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof r&&(n=n||r,r=void 0),t)qe(e,s,r,n,t[s],i);return e}if(null==n&&null==o?(o=r,n=r=void 0):null==o&&("string"==typeof r?(o=n,n=void 0):(o=n,n=r,r=void 0)),!1===o)o=Ne;else if(!o)return e;return 1===i&&(a=o,o=function(e){return A().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=A.guid++)),e.each((function(){A.event.add(this,t,o,n,r)}))}function He(e,t,r){r?(se.set(e,t,!1),A.event.add(e,t,{namespace:!1,handler:function(e){var r,n=se.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(A.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=s.call(arguments),se.set(this,t,n),this[t](),r=se.get(this,t),se.set(this,t,!1),n!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else n&&(se.set(this,t,A.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===se.get(e,t)&&A.event.add(e,t,Oe)}A.event={global:{},add:function(e,t,r,n,o){var i,a,s,l,c,d,u,p,h,f,m,v=se.get(e);if(ie(e))for(r.handler&&(r=(i=r).handler,o=i.selector),o&&A.find.matchesSelector(me,o),r.guid||(r.guid=A.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==A&&A.event.triggered!==t.type?A.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&&(u=A.event.special[h]||{},h=(o?u.delegateType:u.bindType)||h,u=A.event.special[h]||{},d=A.extend({type:h,origType:m,data:n,handler:r,guid:r.guid,selector:o,needsContext:o&&A.expr.match.needsContext.test(o),namespace:f.join(".")},i),(p=l[h])||((p=l[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,n,f,a)||e.addEventListener&&e.addEventListener(h,a)),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),o?p.splice(p.delegateCount++,0,d):p.push(d),A.event.global[h]=!0)},remove:function(e,t,r,n,o){var i,a,s,l,c,d,u,p,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(u=A.event.special[h]||{},p=l[h=(n?u.delegateType:u.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)d=p[i],!o&&m!==d.origType||r&&r.guid!==d.guid||s&&!s.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(p.splice(i,1),d.selector&&p.delegateCount--,u.remove&&u.remove.call(e,d));a&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,f,v.handle)||A.removeEvent(e,h,v.handle),delete l[h])}else for(h in l)A.event.remove(e,h+t[c],r,n,!0);A.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,r,n,o,i,a,s=new Array(arguments.length),l=A.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],d=A.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,l)){for(a=A.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,r=0;(i=o.handlers[r++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(n=((A.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,l),l.result}},handlers:function(e,t){var r,n,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={},r=0;r<l;r++)void 0===a[o=(n=t[r]).selector+" "]&&(a[o]=n.needsContext?A(o,this).index(c)>-1:A.find(o,this,null,[c]).length),a[o]&&i.push(n);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(A.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[A.expando]?e:new A.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&_(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&_(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return Ae.test(t.type)&&t.click&&_(t,"input")&&se.get(t,"click")||_(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},A.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},A.Event=function(e,t){if(!(this instanceof A.Event))return new A.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&&A.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[A.expando]=!0},A.Event.prototype={constructor:A.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()}},A.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},A.event.addProp),A.each({focus:"focusin",blur:"focusout"},(function(e,t){function r(e){if(b.documentMode){var r=se.get(this,"handle"),n=A.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,r(e),n.target===n.currentTarget&&r(n)}else A.event.simulate(t,e.target,A.event.fix(e))}A.event.special[e]={setup:function(){var n;if(He(this,e,!0),!b.documentMode)return!1;(n=se.get(this,t))||this.addEventListener(t,r),se.set(this,t,(n||0)+1)},trigger:function(){return He(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,r),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},A.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,o=b.documentMode?this:n,i=se.get(o,t);i||(b.documentMode?this.addEventListener(t,r):n.addEventListener(e,r,!0)),se.set(o,t,(i||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,o=b.documentMode?this:n,i=se.get(o,t)-1;i?se.set(o,t,i):(b.documentMode?this.removeEventListener(t,r):n.removeEventListener(e,r,!0),se.remove(o,t))}}})),A.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){A.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=e.relatedTarget,o=e.handleObj;return n&&(n===this||A.contains(this,n))||(e.type=o.origType,r=o.handler.apply(this,arguments),e.type=t),r}}})),A.fn.extend({on:function(e,t,r,n){return qe(this,e,t,r,n)},one:function(e,t,r,n){return qe(this,e,t,r,n,1)},off:function(e,t,r){var n,o;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,A(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=Ne),this.each((function(){A.event.remove(this,e,r,t)}))}});var Le=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function $e(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&A(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ze(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ue(e,t){var r,n,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(r=0,n=s[o].length;r<n;r++)A.event.add(t,o,s[o][r]);le.hasData(e)&&(i=le.access(e),a=A.extend({},i),le.set(t,a))}}function We(e,t){var r=t.nodeName.toLowerCase();"input"===r&&Ae.test(e.type)?t.checked=e.checked:"input"!==r&&"textarea"!==r||(t.defaultValue=e.defaultValue)}function Ye(e,t,r,n){t=l(t);var o,i,a,s,c,d,u=0,p=e.length,h=p-1,f=t[0],m=g(f);if(m||p>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,r,n)}));if(p&&(i=(o=je(t,e[0].ownerDocument,!1,e,n)).firstChild,1===o.childNodes.length&&(o=i),i||n)){for(s=(a=A.map(Me(o,"script"),Fe)).length;u<p;u++)c=o,u!==h&&(c=A.clone(c,!0,!0),s&&A.merge(a,Me(c,"script"))),r.call(e[u],c,u);if(s)for(d=a[a.length-1].ownerDocument,A.map(a,ze),u=0;u<s;u++)c=a[u],_e.test(c.type||"")&&!se.access(c,"globalEval")&&A.contains(d,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?A._evalUrl&&!c.noModule&&A._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},d):w(c.textContent.replace(Ie,""),c,d))}return e}function Xe(e,t,r){for(var n,o=t?A.filter(t,e):e,i=0;null!=(n=o[i]);i++)r||1!==n.nodeType||A.cleanData(Me(n)),n.parentNode&&(r&&ve(n)&&Pe(Me(n,"script")),n.parentNode.removeChild(n));return e}A.extend({htmlPrefilter:function(e){return e},clone:function(e,t,r){var n,o,i,a,s=e.cloneNode(!0),l=ve(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||A.isXMLDoc(e)))for(a=Me(s),n=0,o=(i=Me(e)).length;n<o;n++)We(i[n],a[n]);if(t)if(r)for(i=i||Me(e),a=a||Me(s),n=0,o=i.length;n<o;n++)Ue(i[n],a[n]);else Ue(e,s);return(a=Me(s,"script")).length>0&&Pe(a,!l&&Me(e,"script")),s},cleanData:function(e){for(var t,r,n,o=A.event.special,i=0;void 0!==(r=e[i]);i++)if(ie(r)){if(t=r[se.expando]){if(t.events)for(n in t.events)o[n]?A.event.remove(r,n):A.removeEvent(r,n,t.handle);r[se.expando]=void 0}r[le.expando]&&(r[le.expando]=void 0)}}}),A.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?A.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||$e(this,e).appendChild(e)}))},prepend:function(){return Ye(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=$e(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&&(A.cleanData(Me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return A.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Le.test(e)&&!Te[(Se.exec(e)||["",""])[1].toLowerCase()]){e=A.htmlPrefilter(e);try{for(;r<n;r++)1===(t=this[r]||{}).nodeType&&(A.cleanData(Me(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 r=this.parentNode;A.inArray(this,e)<0&&(A.cleanData(Me(this)),r&&r.replaceChild(t,this))}),e)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){A.fn[e]=function(e){for(var r,n=[],o=A(e),i=o.length-1,a=0;a<=i;a++)r=a===i?this:this.clone(!0),A(o[a])[t](r),c.apply(n,r.get());return this.pushStack(n)}}));var Ge=new RegExp("^("+pe+")(?!px)[a-z%]+$","i"),Ke=/^--/,Ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ve=function(e,t,r){var n,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in n=r.call(e),t)e.style[o]=i[o];return n},Je=new RegExp(fe.join("|"),"i");function Qe(e,t,r){var n,o,i,a,s=Ke.test(t),l=e.style;return(r=r||Ze(e))&&(a=r.getPropertyValue(t)||r[t],s&&a&&(a=a.replace(j,"$1")||void 0),""!==a||ve(e)||(a=A.style(e,t)),!v.pixelBoxStyles()&&Ge.test(a)&&Je.test(t)&&(n=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=r.width,l.width=n,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(d){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.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(d);var e=n.getComputedStyle(d);r="1%"!==e.top,l=12===t(e.marginLeft),d.style.right="60%",a=36===t(e.right),o=36===t(e.width),d.style.position="absolute",i=12===t(d.offsetWidth/3),me.removeChild(c),d=null}}function t(e){return Math.round(parseFloat(e))}var r,o,i,a,s,l,c=b.createElement("div"),d=b.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===d.style.backgroundClip,A.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,r,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),r=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",r.style.height="9px",r.style.display="block",me.appendChild(e).appendChild(t).appendChild(r),o=n.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"],rt=b.createElement("div").style,nt={};function ot(e){var t=A.cssProps[e]||nt[e];return t||(e in rt?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=tt.length;r--;)if((e=tt[r]+t)in rt)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,r){var n=he.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function ct(e,t,r,n,o,i){var a="width"===t?1:0,s=0,l=0,c=0;if(r===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(c+=A.css(e,r+fe[a],!0,o)),n?("content"===r&&(l-=A.css(e,"padding"+fe[a],!0,o)),"margin"!==r&&(l-=A.css(e,"border"+fe[a]+"Width",!0,o))):(l+=A.css(e,"padding"+fe[a],!0,o),"padding"!==r?l+=A.css(e,"border"+fe[a]+"Width",!0,o):s+=A.css(e,"border"+fe[a]+"Width",!0,o));return!n&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l+c}function dt(e,t,r){var n=Ze(e),o=(!v.boxSizingReliable()||r)&&"border-box"===A.css(e,"boxSizing",!1,n),i=o,a=Qe(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ge.test(a)){if(!r)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&_(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===A.css(e,"display",!1,n))&&e.getClientRects().length&&(o="border-box"===A.css(e,"boxSizing",!1,n),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,r||(o?"border":"content"),i,n,a)+"px"}function ut(e,t,r,n,o){return new ut.prototype.init(e,t,r,n,o)}A.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=Qe(e,"opacity");return""===r?"1":r}}}},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,r,n){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=A.cssHooks[t]||A.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(o=a.get(e,!1,n))?o:c[t];"string"===(i=typeof r)&&(o=he.exec(r))&&o[1]&&(r=be(e,t,o),i="number"),null!=r&&r==r&&("number"!==i||l||(r+=o&&o[3]||(A.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(r=a.set(e,r,n))||(l?c.setProperty(t,r):c[t]=r))}},css:function(e,t,r,n){var o,i,a,s=oe(t);return Ke.test(t)||(t=ot(s)),(a=A.cssHooks[t]||A.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,r)),void 0===o&&(o=Qe(e,t,n)),"normal"===o&&t in st&&(o=st[t]),""===r||r?(i=parseFloat(o),!0===r||isFinite(i)?i||0:o):o}}),A.each(["height","width"],(function(e,t){A.cssHooks[t]={get:function(e,r,n){if(r)return!it.test(A.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?dt(e,t,n):Ve(e,at,(function(){return dt(e,t,n)}))},set:function(e,r,n){var o,i=Ze(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||n)&&"border-box"===A.css(e,"boxSizing",!1,i),l=n?ct(e,t,n,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(r))&&"px"!==(o[3]||"px")&&(e.style[t]=r,r=A.css(e,t)),lt(0,r,l)}}})),A.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"})),A.each({margin:"",padding:"",border:"Width"},(function(e,t){A.cssHooks[e+t]={expand:function(r){for(var n=0,o={},i="string"==typeof r?r.split(" "):[r];n<4;n++)o[e+fe[n]+t]=i[n]||i[n-2]||i[0];return o}},"margin"!==e&&(A.cssHooks[e+t].set=lt)})),A.fn.extend({css:function(e,t){return ee(this,(function(e,t,r){var n,o,i={},a=0;if(Array.isArray(t)){for(n=Ze(e),o=t.length;a<o;a++)i[t[a]]=A.css(e,t[a],!1,n);return i}return void 0!==r?A.style(e,t,r):A.css(e,t)}),e,t,arguments.length>1)}}),A.Tween=ut,ut.prototype={constructor:ut,init:function(e,t,r,n,o,i){this.elem=e,this.prop=r,this.easing=o||A.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=i||(A.cssNumber[r]?"":"px")},cur:function(){var e=ut.propHooks[this.prop];return e&&e.get?e.get(this):ut.propHooks._default.get(this)},run:function(e){var t,r=ut.propHooks[this.prop];return this.options.duration?this.pos=t=A.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),r&&r.set?r.set(this):ut.propHooks._default.set(this),this}},ut.prototype.init.prototype=ut.prototype,ut.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=A.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){A.fx.step[e.prop]?A.fx.step[e.prop](e):1!==e.elem.nodeType||!A.cssHooks[e.prop]&&null==e.elem.style[ot(e.prop)]?e.elem[e.prop]=e.now:A.style(e.elem,e.prop,e.now+e.unit)}}},ut.propHooks.scrollTop=ut.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},A.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},A.fx=ut.prototype.init,A.fx.step={};var pt,ht,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function vt(){ht&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(vt):n.setTimeout(vt,A.fx.interval),A.fx.tick())}function gt(){return n.setTimeout((function(){pt=void 0})),pt=Date.now()}function yt(e,t){var r,n=0,o={height:e};for(t=t?1:0;n<4;n+=2-t)o["margin"+(r=fe[n])]=o["padding"+r]=e;return t&&(o.opacity=o.width=e),o}function bt(e,t,r){for(var n,o=(xt.tweeners[t]||[]).concat(xt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(n=o[i].call(r,t,e))return n}function xt(e,t,r){var n,o,i=0,a=xt.prefilters.length,s=A.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=pt||gt(),r=Math.max(0,c.startTime+c.duration-t),n=1-(r/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(n);return s.notifyWith(e,[c,n,r]),n<1&&a?r:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:A.extend({},t),opts:A.extend(!0,{specialEasing:{},easing:A.easing._default},r),originalProperties:t,originalOptions:r,startTime:pt||gt(),duration:r.duration,tweens:[],createTween:function(t,r){var n=A.Tween(e,c.opts,t,r,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var r=0,n=t?c.tweens.length:0;if(o)return this;for(o=!0;r<n;r++)c.tweens[r].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),d=c.props;for(!function(e,t){var r,n,o,i,a;for(r in e)if(o=t[n=oe(r)],i=e[r],Array.isArray(i)&&(o=i[1],i=e[r]=i[0]),r!==n&&(e[n]=i,delete e[r]),(a=A.cssHooks[n])&&"expand"in a)for(r in i=a.expand(i),delete e[n],i)r in e||(e[r]=i[r],t[r]=o);else t[n]=o}(d,c.opts.specialEasing);i<a;i++)if(n=xt.prefilters[i].call(c,e,d,c.opts))return g(n.stop)&&(A._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return A.map(d,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),A.fx.timer(A.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}A.Animation=A.extend(xt,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return be(r.elem,e,he.exec(t),r),r}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(X);for(var r,n=0,o=e.length;n<o;n++)r=e[n],xt.tweeners[r]=xt.tweeners[r]||[],xt.tweeners[r].unshift(t)},prefilters:[function(e,t,r){var n,o,i,a,s,l,c,d,u="width"in t||"height"in t,p=this,h={},f=e.style,m=e.nodeType&&ye(e),v=se.get(e,"fxshow");for(n in r.queue||(null==(a=A._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always((function(){p.always((function(){a.unqueued--,A.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[n],ft.test(o)){if(delete t[n],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!v||void 0===v[n])continue;m=!0}h[n]=v&&v[n]||A.style(e,n)}if((l=!A.isEmptyObject(t))||!A.isEmptyObject(h))for(n in u&&1===e.nodeType&&(r.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=v&&v.display)&&(c=se.get(e,"display")),"none"===(d=A.css(e,"display"))&&(c?d=c:(De([e],!0),c=e.style.display||c,d=A.css(e,"display"),De([e]))),("inline"===d||"inline-block"===d&&null!=c)&&"none"===A.css(e,"float")&&(l||(p.done((function(){f.display=c})),null==c&&(d=f.display,c="none"===d?"":d)),f.display="inline-block")),r.overflow&&(f.overflow="hidden",p.always((function(){f.overflow=r.overflow[0],f.overflowX=r.overflow[1],f.overflowY=r.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&&De([e],!0),p.done((function(){for(n in m||De([e]),se.remove(e,"fxshow"),h)A.style(e,n,h[n])}))),l=bt(m?v[n]:0,n,p),n in v||(v[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?xt.prefilters.unshift(e):xt.prefilters.push(e)}}),A.speed=function(e,t,r){var n=e&&"object"==typeof e?A.extend({},e):{complete:r||!r&&t||g(e)&&e,duration:e,easing:r&&t||t&&!g(t)&&t};return A.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in A.fx.speeds?n.duration=A.fx.speeds[n.duration]:n.duration=A.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){g(n.old)&&n.old.call(this),n.queue&&A.dequeue(this,n.queue)},n},A.fn.extend({fadeTo:function(e,t,r,n){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var o=A.isEmptyObject(e),i=A.speed(t,r,n),a=function(){var t=xt(this,A.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,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=A.timers,a=se.get(this);if(o)a[o]&&a[o].stop&&n(a[o]);else for(o in a)a[o]&&a[o].stop&&mt.test(o)&&n(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(r),t=!1,i.splice(o,1));!t&&r||A.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,r=se.get(this),n=r[e+"queue"],o=r[e+"queueHooks"],i=A.timers,a=n?n.length:0;for(r.finish=!0,A.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++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish}))}}),A.each(["toggle","show","hide"],(function(e,t){var r=A.fn[t];A.fn[t]=function(e,n,o){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(yt(t,!0),e,n,o)}})),A.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){A.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}})),A.timers=[],A.fx.tick=function(){var e,t=0,r=A.timers;for(pt=Date.now();t<r.length;t++)(e=r[t])()||r[t]!==e||r.splice(t--,1);r.length||A.fx.stop(),pt=void 0},A.fx.timer=function(e){A.timers.push(e),A.fx.start()},A.fx.interval=13,A.fx.start=function(){ht||(ht=!0,vt())},A.fx.stop=function(){ht=null},A.fx.speeds={slow:600,fast:200,_default:400},A.fn.delay=function(e,t){return e=A.fx&&A.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.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 wt,Dt=A.expr.attrHandle;A.fn.extend({attr:function(e,t){return ee(this,A.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){A.removeAttr(this,e)}))}}),A.extend({attr:function(e,t,r){var n,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?A.prop(e,t,r):(1===i&&A.isXMLDoc(e)||(o=A.attrHooks[t.toLowerCase()]||(A.expr.match.bool.test(t)?wt:void 0)),void 0!==r?null===r?void A.removeAttr(e,t):o&&"set"in o&&void 0!==(n=o.set(e,r,t))?n:(e.setAttribute(t,r+""),r):o&&"get"in o&&null!==(n=o.get(e,t))?n:null==(n=A.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&_(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,o=t&&t.match(X);if(o&&1===e.nodeType)for(;r=o[n++];)e.removeAttribute(r)}}),wt={set:function(e,t,r){return!1===t?A.removeAttr(e,r):e.setAttribute(r,r),r}},A.each(A.expr.match.bool.source.match(/\w+/g),(function(e,t){var r=Dt[t]||A.find.attr;Dt[t]=function(e,t,n){var o,i,a=t.toLowerCase();return n||(i=Dt[a],Dt[a]=o,o=null!=r(e,t,n)?a:null,Dt[a]=i),o}}));var Ct=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;function At(e){return(e.match(X)||[]).join(" ")}function St(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(X)||[]}A.fn.extend({prop:function(e,t){return ee(this,A.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[A.propFix[e]||e]}))}}),A.extend({prop:function(e,t,r){var n,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&A.isXMLDoc(e)||(t=A.propFix[t]||t,o=A.propHooks[t]),void 0!==r?o&&"set"in o&&void 0!==(n=o.set(e,r,t))?n:e[t]=r:o&&"get"in o&&null!==(n=o.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=A.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||(A.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)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){A.propFix[this.toLowerCase()]=this})),A.fn.extend({addClass:function(e){var t,r,n,o,i,a;return g(e)?this.each((function(t){A(this).addClass(e.call(this,t,St(this)))})):(t=_t(e)).length?this.each((function(){if(n=St(this),r=1===this.nodeType&&" "+At(n)+" "){for(i=0;i<t.length;i++)o=t[i],r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=At(r),n!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,r,n,o,i,a;return g(e)?this.each((function(t){A(this).removeClass(e.call(this,t,St(this)))})):arguments.length?(t=_t(e)).length?this.each((function(){if(n=St(this),r=1===this.nodeType&&" "+At(n)+" "){for(i=0;i<t.length;i++)for(o=t[i];r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a=At(r),n!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var r,n,o,i,a=typeof e,s="string"===a||Array.isArray(e);return g(e)?this.each((function(r){A(this).toggleClass(e.call(this,r,St(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(r=_t(e),this.each((function(){if(s)for(i=A(this),o=0;o<r.length;o++)n=r[o],i.hasClass(n)?i.removeClass(n):i.addClass(n);else void 0!==e&&"boolean"!==a||((n=St(this))&&se.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,r,n=0;for(t=" "+e+" ";r=this[n++];)if(1===r.nodeType&&(" "+At(St(r))+" ").indexOf(t)>-1)return!0;return!1}});var Tt=/\r/g;A.fn.extend({val:function(e){var t,r,n,o=this[0];return arguments.length?(n=g(e),this.each((function(r){var o;1===this.nodeType&&(null==(o=n?e.call(this,r,A(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=A.map(o,(function(e){return null==e?"":e+""}))),(t=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=A.valHooks[o.type]||A.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(o,"value"))?r:"string"==typeof(r=o.value)?r.replace(Tt,""):null==r?"":r:void 0}}),A.extend({valHooks:{option:{get:function(e){var t=A.find.attr(e,"value");return null!=t?t:At(A.text(e))}},select:{get:function(e){var t,r,n,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(n=i<0?l:a?i:0;n<l;n++)if(((r=o[n]).selected||n===i)&&!r.disabled&&(!r.parentNode.disabled||!_(r.parentNode,"optgroup"))){if(t=A(r).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var r,n,o=e.options,i=A.makeArray(t),a=o.length;a--;)((n=o[a]).selected=A.inArray(A.valHooks.option.get(n),i)>-1)&&(r=!0);return r||(e.selectedIndex=-1),i}}}}),A.each(["radio","checkbox"],(function(){A.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=A.inArray(A(e).val(),t)>-1}},v.checkOn||(A.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Mt=n.location,Pt={guid:Date.now()},Et=/\?/;A.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||A.error("Invalid XML: "+(r?A.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var jt=/^(?:focusinfocus|focusoutblur)$/,Bt=function(e){e.stopPropagation()};A.extend(A.event,{trigger:function(e,t,r,o){var i,a,s,l,c,d,u,p,f=[r||b],m=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!jt.test(m+A.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[A.expando]?e:new A.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=r),t=null==t?[e]:A.makeArray(t,[e]),u=A.event.special[m]||{},o||!u.trigger||!1!==u.trigger.apply(r,t))){if(!o&&!u.noBubble&&!y(r)){for(l=u.delegateType||m,jt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(r.ownerDocument||b)&&f.push(s.defaultView||s.parentWindow||n)}for(i=0;(a=f[i++])&&!e.isPropagationStopped();)p=a,e.type=i>1?l:u.bindType||m,(d=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&d.apply(a,t),(d=c&&a[c])&&d.apply&&ie(a)&&(e.result=d.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(f.pop(),t)||!ie(r)||c&&g(r[m])&&!y(r)&&((s=r[c])&&(r[c]=null),A.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,Bt),r[m](),e.isPropagationStopped()&&p.removeEventListener(m,Bt),A.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,r){var n=A.extend(new A.Event,r,{type:e,isSimulated:!0});A.event.trigger(n,null,t)}}),A.fn.extend({trigger:function(e,t){return this.each((function(){A.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var r=this[0];if(r)return A.event.trigger(e,t,r,!0)}});var Ot=/\[\]$/,Nt=/\r?\n/g,qt=/^(?:submit|button|image|reset|file)$/i,Ht=/^(?:input|select|textarea|keygen)/i;function Lt(e,t,r,n){var o;if(Array.isArray(t))A.each(t,(function(t,o){r||Ot.test(e)?n(e,o):Lt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,r,n)}));else if(r||"object"!==D(t))n(e,t);else for(o in t)Lt(e+"["+o+"]",t[o],r,n)}A.param=function(e,t){var r,n=[],o=function(e,t){var r=g(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!A.isPlainObject(e))A.each(e,(function(){o(this.name,this.value)}));else for(r in e)Lt(r,e[r],t,o);return n.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=A.prop(this,"elements");return e?A.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!A(this).is(":disabled")&&Ht.test(this.nodeName)&&!qt.test(e)&&(this.checked||!Ae.test(e))})).map((function(e,t){var r=A(this).val();return null==r?null:Array.isArray(r)?A.map(r,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:r.replace(Nt,"\r\n")}})).get()}});var Rt=/%20/g,It=/#.*$/,$t=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,zt=/^(?:GET|HEAD)$/,Ut=/^\/\//,Wt={},Yt={},Xt="*/".concat("*"),Gt=b.createElement("a");function Kt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,o=0,i=t.toLowerCase().match(X)||[];if(g(r))for(;n=i[o++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Zt(e,t,r,n){var o={},i=e===Yt;function a(s){var l;return o[s]=!0,A.each(e[s]||[],(function(e,s){var c=s(t,r,n);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 r,n,o=A.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((o[r]?e:n||(n={}))[r]=t[r]);return n&&A.extend(!0,e,n),e}Gt.href=Mt.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Mt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Mt.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":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,A.ajaxSettings),t):Vt(A.ajaxSettings,e)},ajaxPrefilter:Kt(Wt),ajaxTransport:Kt(Yt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,i,a,s,l,c,d,u,p,h=A.ajaxSetup({},t),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?A(f):A.event,v=A.Deferred(),g=A.Callbacks("once memory"),y=h.statusCode||{},x={},w={},D="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ft.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=w[e.toLowerCase()]=w[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||D;return r&&r.abort(t),k(0,t),this}};if(v.promise(C),h.url=((e||h.url||Mt.href)+"").replace(Ut,Mt.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=A.param(h.data,h.traditional)),Zt(Wt,h,t,C),c)return C;for(u in(d=A.event&&h.global)&&0==A.active++&&A.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!zt.test(h.type),o=h.url.replace(It,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Rt,"+")):(p=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($t,"$1"),p=(Et.test(o)?"&":"?")+"_="+Pt.guid+++p),h.url=o+p),h.ifModified&&(A.lastModified[o]&&C.setRequestHeader("If-Modified-Since",A.lastModified[o]),A.etag[o]&&C.setRequestHeader("If-None-Match",A.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(u,h.headers[u]);if(h.beforeSend&&(!1===h.beforeSend.call(f,C,h)||c))return C.abort();if(D="abort",g.add(h.complete),C.done(h.success),C.fail(h.error),r=Zt(Yt,h,t,C)){if(C.readyState=1,d&&m.trigger("ajaxSend",[C,h]),c)return C;h.async&&h.timeout>0&&(s=n.setTimeout((function(){C.abort("timeout")}),h.timeout));try{c=!1,r.send(x,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,l){var u,p,b,x,w,D=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,i=l||"",C.readyState=e>0?4:0,u=e>=200&&e<300||304===e,a&&(x=function(e,t,r){for(var n,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(o in s)if(s[o]&&s[o].test(n)){l.unshift(o);break}if(l[0]in r)i=l[0];else{for(o in r){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),r[i]}(h,C,a)),!u&&A.inArray("script",h.dataTypes)>-1&&A.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),x=function(e,t,r,n){var o,i,a,s,l,c={},d=e.dataTypes.slice();if(d[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=d.shift();i;)if(e.responseFields[i]&&(r[e.responseFields[i]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=d.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],d.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,u),u?(h.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(A.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(A.etag[o]=w)),204===e||"HEAD"===h.type?D="nocontent":304===e?D="notmodified":(D=x.state,p=x.data,u=!(b=x.error))):(b=D,!e&&D||(D="error",e<0&&(e=0))),C.status=e,C.statusText=(t||D)+"",u?v.resolveWith(f,[p,D,C]):v.rejectWith(f,[C,D,b]),C.statusCode(y),y=void 0,d&&m.trigger(u?"ajaxSuccess":"ajaxError",[C,h,u?p:b]),g.fireWith(f,[C,D]),d&&(m.trigger("ajaxComplete",[C,h]),--A.active||A.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,r){return A.get(e,t,r,"json")},getScript:function(e,t){return A.get(e,void 0,t,"script")}}),A.each(["get","post"],(function(e,t){A[t]=function(e,r,n,o){return g(r)&&(o=o||n,n=r,r=void 0),A.ajax(A.extend({url:e,type:t,dataType:o,data:r,success:n},A.isPlainObject(e)&&e))}})),A.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),A._evalUrl=function(e,t,r){return A.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){A.globalEval(e,t,r)}})},A.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=A(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){A(this).wrapInner(e.call(this,t))})):this.each((function(){var t=A(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(r){A(this).wrapAll(t?e.call(this,r):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){A(this).replaceWith(this.childNodes)})),this}}),A.expr.pseudos.hidden=function(e){return!A.expr.pseudos.visible(e)},A.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},Qt=A.ajaxSettings.xhr();v.cors=!!Qt&&"withCredentials"in Qt,v.ajax=Qt=!!Qt,A.ajaxTransport((function(e){var t,r;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=r=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(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),A.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),A.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 A.globalEval(e),e}}}),A.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),A.ajaxTransport("script",(function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,o){t=A("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){r&&r()}}}));var er,tr=[],rr=/(=)\?(?=&|$)|\?\?/;A.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tr.pop()||A.expando+"_"+Pt.guid++;return this[e]=!0,e}}),A.ajaxPrefilter("json jsonp",(function(e,t,r){var o,i,a,s=!1!==e.jsonp&&(rr.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&rr.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(rr,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||A.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always((function(){void 0===i?A(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,tr.push(o)),a&&g(i)&&i(a[0]),a=i=void 0})),"script"})),v.createHTMLDocument=((er=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===er.childNodes.length),A.parseHTML=function(e,t,r){return"string"!=typeof e?[]:("boolean"==typeof t&&(r=t,t=!1),t||(v.createHTMLDocument?((n=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(n)):t=b),i=!r&&[],(o=I.exec(e))?[t.createElement(o[1])]:(o=je([e],t,i),i&&i.length&&A(i).remove(),A.merge([],o.childNodes)));var n,o,i},A.fn.load=function(e,t,r){var n,o,i,a=this,s=e.indexOf(" ");return s>-1&&(n=At(e.slice(s)),e=e.slice(0,s)),g(t)?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&A.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(n?A("<div>").append(A.parseHTML(e)).find(n):e)})).always(r&&function(e,t){a.each((function(){r.apply(this,i||[e.responseText,t,e])}))}),this},A.expr.pseudos.animated=function(e){return A.grep(A.timers,(function(t){return e===t.elem})).length},A.offset={setOffset:function(e,t,r){var n,o,i,a,s,l,c=A.css(e,"position"),d=A(e),u={};"static"===c&&(e.style.position="relative"),s=d.offset(),i=A.css(e,"top"),l=A.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(n=d.position()).top,o=n.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),g(t)&&(t=t.call(e,r,A.extend({},s))),null!=t.top&&(u.top=t.top-s.top+a),null!=t.left&&(u.left=t.left-s.left+o),"using"in t?t.using.call(e,u):d.css(u)}},A.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){A.offset.setOffset(this,e,t)}));var t,r,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,r,n=this[0],o={top:0,left:0};if("fixed"===A.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),r=n.ownerDocument,e=n.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&"static"===A.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((o=A(e).offset()).top+=A.css(e,"borderTopWidth",!0),o.left+=A.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-A.css(n,"marginTop",!0),left:t.left-o.left-A.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===A.css(e,"position");)e=e.offsetParent;return e||me}))}}),A.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var r="pageYOffset"===t;A.fn[e]=function(n){return ee(this,(function(e,n,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[n];i?i.scrollTo(r?i.pageXOffset:o,r?o:i.pageYOffset):e[n]=o}),e,n,arguments.length)}})),A.each(["top","left"],(function(e,t){A.cssHooks[t]=et(v.pixelPosition,(function(e,r){if(r)return r=Qe(e,t),Ge.test(r)?A(e).position()[t]+"px":r}))})),A.each({Height:"height",Width:"width"},(function(e,t){A.each({padding:"inner"+e,content:t,"":"outer"+e},(function(r,n){A.fn[n]=function(o,i){var a=arguments.length&&(r||"boolean"!=typeof o),s=r||(!0===o||!0===i?"margin":"border");return ee(this,(function(t,r,o){var i;return y(t)?0===n.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?A.css(t,r,s):A.style(t,r,o,s)}),t,a?o:void 0,a)}}))})),A.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){A.fn[t]=function(e){return this.on(t,e)}})),A.fn.extend({bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),A.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){A.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}}));var nr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;A.proxy=function(e,t){var r,n,o;if("string"==typeof t&&(r=e[t],t=e,e=r),g(e))return n=s.call(arguments,2),o=function(){return e.apply(t||this,n.concat(s.call(arguments)))},o.guid=e.guid=e.guid||A.guid++,o},A.holdReady=function(e){e?A.readyWait++:A.ready(!0)},A.isArray=Array.isArray,A.parseJSON=JSON.parse,A.nodeName=_,A.isFunction=g,A.isWindow=y,A.camelCase=oe,A.type=D,A.now=Date.now,A.isNumeric=function(e){var t=A.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},A.trim=function(e){return null==e?"":(e+"").replace(nr,"$1")},void 0===(r=function(){return A}.apply(t,[]))||(e.exports=r);var or=n.jQuery,ir=n.$;return A.noConflict=function(e){return n.$===A&&(n.$=ir),e&&n.jQuery===A&&(n.jQuery=or),A},void 0===o&&(n.jQuery=n.$=A),A}))},7695:(e,t,r)=>{"use strict";(()=>{if(globalThis.cache||(globalThis.cache={}),globalThis.state||(globalThis.state={}),globalThis.observer||(globalThis.observer=()=>{}),globalThis.dphelper)return;const e=r(8330);globalThis.$=globalThis.jQuery=r(4692),Object.defineProperty(globalThis,"dphelper",{value:{},writable:!1,configurable:!1});const t=r(4787);if(t.scripts)return;t.scripts=[],t.version=e.version;const n=setInterval((()=>{var e;const t=null===(e=null===dphelper||void 0===dphelper?void 0:dphelper.socket)||void 0===e?void 0:e.list(),r=[];t.map((e=>{r.push(e.url)})),dphelper._list.sockets=r,r&&clearInterval(n)}),1e3);var o;Object.defineProperties(dphelper,{_list:{value:t},version:{value:e.version}}),$.ajaxSetup({async:!0,cache:!0,global:!0}),(o=r(6245)).keys().forEach((e=>cache[e]=o(e))),dphelper.credits(e),Object.freeze(dphelper)})()},5815:()=>{"use strict";window.addEventListener("message",(e=>{const t=e.data;"dpHelper"===t.exec&&"state"===t.tool&&t.command&&t.name&&state[t.command]([t.name])}))},35:()=>{"use strict";dphelper.setProps=(e,t,r)=>{Object.defineProperty(e,t.name,{writable:!1,configurable:!1}),(null==r?void 0:r.lock)&&Object.freeze(e[t.name])}},9634:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),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(dphelper,n,{lock:!0})},4292:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"unique",version:"0.0.1",example:"dphelper.array.unique([array])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:Array},{name:"delete",version:"0.0.1",example:"dphelper.array.delete([array])",description:"",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:Array},{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:Array},{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:Array},{name:"asc",version:"0.0.1",example:"dphelper.array.asc([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"desc",version:"0.0.1",example:"dphelper.array.desc([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"duplicates",version:"0.0.1",example:"dphelper.array.duplicates([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"even",version:"0.0.1",example:"dphelper.array.even([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"odd",version:"0.0.1",example:"dphelper.array.odd([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"shuffle",version:"0.0.1",example:"dphelper.array.shuffle([array])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.array={find:(e,t)=>{if(Array.isArray(e)){for(const r of e){if(r[t]===t)return r;if(r.children){const e=dphelper.array.find(t,r.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(r,n,o){if(r[t]===t)return o.splice(n,1),!0;for(const t of Object.keys(r)){const n=r[t];if(n.length&&"object"==typeof n)return n&&n.map(e)}}))},merge:(e,t)=>{for(const r of Object.keys(e))e[r]instanceof Object&&t[r]&&Object.assign(e[r],dphelper.mergeArrays(t[r],e[r]));return Object.assign(t||{},e),t},mergeByKey:(e,t,r)=>(e.map(((n,o)=>Object.values(t).map((t=>n[r]===t[r]?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,r)=>t.indexOf(e)!==r))},even:e=>{if(!Array.isArray(e))return;const t=[],r=e.length;for(let n=0;n<r;n++)e[n]%2==0&&t.push(e[n]);return t},odd:e=>{if(!Array.isArray(e))return;const t=[],r=e.length;for(let n=0;n<r;n++)e[n]%2&&t.push(e[n]);return t},toObj:e=>Object.assign({},e),sumColumn:(e=[],t=0)=>{if(Array.isArray(e)){if(void 0===t)return"provide a column";var r,n=0;return(r=e.map((e=>n+=e[t])))[r.length-1]}return"provide an multidimensiona array"},shuffle:e=>{if(Array.isArray(e)){for(let t=e.length-1;t>0;t--){const r=Math.floor(Math.random()*(t+1));[e[t],e[r]]=[e[r],e[t]]}return e}},generate:e=>{isNaN(e)||dphelper.array.shuffle(e)},testArrayInt(e){if(!Array.isArray(e))return;let t,r;for(var n=1;n<e.length;++n)t=e.includes(n),!1===t&&void 0!==t&&(r=n);return r||e.length+1},rand32:e=>{const t=performance.now(),r=[];r.nums=[],r.time=[];for(var n=0;n<e;++n)r.nums.push(crypto.getRandomValues(new Uint32Array(1))[0]);const o=performance.now();return r.time.push(o-t),r}},dphelper.setProps(dphelper,n,{lock:!0})},1099:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.avoid={cache:e=>e.concat(/\?/.test(e)?"&":"?","t=",dphelper.rnd())},Object.freeze(dphelper.avoid),dphelper.setProps(dphelper,n,{lock:!0})},7690:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"forw",version:"0.0.1",example:"dphelper.browser.forw([number])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"back",version:"0.0.1",example:"dphelper.browser.back([number])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"reload",version:"0.0.1",example:"dphelper.browser.reload()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"href",version:"0.0.1",example:"dphelper.browser.href([url])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"offline",version:"0.0.1",example:"dphelper.browser.offline([text])",author:"Dario Passariello",creationDate:"20190727",lastMod:"20240727",type:"function",active:!0,description:"",subCommand:Array},{name:"zoom",version:"0.0.1",example:"dphelper.browser.zoom()",author:"Dario Passariello",creationDate:"20190727",lastMod:"20240727",type:"function",active:!0,description:"",subCommand:Array},{name:"status",version:"0.0.1",example:"dphelper.browser.status(404)",author:"Dario Passariello",creationDate:"20240912",lastMod:"20240912",type:"function",active:!0,description:"Give you a description about the error",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.browser={state:(e,t,r)=>history.pushState(e,t,r),forw:e=>history.go(e),back:e=>history.go(-Math.abs(e)),reload:()=>globalThis.location.href="/",href:e=>globalThis.location.href=e,offLine:(e="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: "${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),status:e=>{if(!e)return;return r(1809)[e]}},dphelper.setProps(dphelper,n,{lock:!0})},3119:(e,t,r)=>{"use strict";r.r(t);const n={name:"cache",active:!0,subCommand:Array};dphelper._list.scripts.push(n),cache={},dphelper.setProps(globalThis,n,{lock:!1})},7026:(e,t,r)=>{"use strict";r.r(t);const n={name:"check",active:!0,subCommand:[{name:"url",version:"0.0.1",example:"dphelper.check.url([domain])",description:"",author:"Dario Passariello",creationDate:"20240829",lastMod:"20240829",type:"function",active:!0,subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.check={url:e=>{fetch(`https://a51.dev/dns/status.php?domain=${e}`).then((e=>e.json())).then((e=>(console.table(e),e)))}},Object.freeze(dphelper.check),dphelper.setProps(dphelper,n,{lock:!0})},221:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{name:"toRGB",version:"0.0.1",example:"dphelper.color.toRGB('#ffffff')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"oleColor",version:"0.0.1",example:"dphelper.color.oleColor('#ffffff')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,description:"",subCommand:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.color={hex:e=>{const t="0123456789abcdef";let r=parseInt(e);return 0==r||isNaN(e)?"00":(r=Math.round(Math.min(Math.max(0,r),255)),t.charAt((r-r%16)/16)+t.charAt(r%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,r)=>{const n=dphelper.color.toRGB(e),o=dphelper.color.toRGB(t),i=r,a=[];let s=0;for(let e=0;e<i;e++){const e=[];s+=1/i,e[0]=n[0]*s+(1-s)*o[0],e[1]=n[1]*s+(1-s)*o[1],e[2]=n[2]*s+(1-s)*o[2],a.push(dphelper.color.toHex(e))}return a}},dphelper.setProps(dphelper,n,{lock:!0})},7424:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"stop",version:"0.0.1",example:"dphelper.console.stop()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"toHtml",version:"0.0.1",example:"dphelper.console.toHtml()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.console={info:(e,t,r)=>{console.groupCollapsed("%c"+e+":%c","color:orange",""),console.debug(t,e,r),console.groupEnd()},stop:(e=["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(),dphelper.console.disableYellowBox=!0,console.log=()=>{},console.debug=()=>{},globalThis.console=console;const t=()=>{};e.forEach((e=>{dphelper.console.method=t}))},toHtml:e=>{console.log;const t=document.getElementById(e);dphelper.console.toHtml=function(e){t.innerHTML+="object"==typeof e?(JSON&&JSON.stringify?JSON.stringify(e):e)+"<br />":e+"<br />"}}},dphelper.setProps(dphelper,n,{lock:!0})},1585:(e,t,r)=>{"use strict";r.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 r=document.createElement("div");r.id="debugConsole",e.appendChild(r),this.domElement=r,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(...r){const[n]=r;e.some((e=>n.includes(e)))||t(...r)};const r=console.info;console.info=function(...t){const[n]=t;e.some((e=>n.includes(e)))||r(...t)};const n=console.warn;console.warn=function(...t){const[r]=t;e.some((e=>r.includes(e)))||n(...t)};const o=console.error;console.error=function(...t){const[r]=t;e.some((e=>r.includes(e)))||o(...t)},globalThis.onerror=(e,t,r)=>{const n=[e," in <a href='",t,"' target='_blank'>",null==t?void 0:t.split("/").pop(),"</a>:",r];return console.error(n.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})},4352:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n);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,r,n)=>{let o=e+t/60+r/3600;return"S"!=n&&"W"!=n||(o*=-1),o},distance:(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t))return;const r=e[0]*Math.PI/180,n=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(r)*Math.cos(n)*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(dphelper,n,{lock:!0})},2057:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"get",version:"0.0.1",example:"dphelper.cookie.get([name])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:Array},{name:"delete",version:"0.0.1",example:"dphelper.cookie.delete([name])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:Array},{name:"clearAll",version:"0.0.1",example:"dphelper.cookie.clearAll()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.cookie={set:e=>{const t=new Date;if(t.setTime(t.getTime()+31536e6),!e.name)return;const{name:r,value:n,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=`${r}=${n};expires=${o};path=${i};SameSite=${a};requireSSL=${s};`},get:e=>{const t=document.cookie.split("; "),r=t.length;for(let n=0;n<r;n++){const r=t[n].split("=");if(e===r[0])return unescape(r[1])}return null},delete:e=>{document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;"},clearAll:()=>{const e=document.cookie.split(";"),t=e.length;for(let r=0;r<t;r++){const t=e[r],n=t.indexOf("="),o=n>-1?t.slice(0,n):t;dphelper.cookie.delete(o)}}},dphelper.setProps(dphelper,n,{lock:!0})},9184:()=>{"use strict";dphelper.credits=e=>{console.groupCollapsed(`%c${e.name} v${e.version}%c`,"color:orange",""),console.debug(`%c${e.name} v${e.version}%c by Dario Passariello started`,"color:orange",""),console.debug(`%cType ${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()}},9420:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"toMMDDYYYY",version:"0.0.1",example:"dphelper.date.toMMDDYYYY([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"toYYYYMMDD",version:"0.0.1",example:"dphelper.date.toYYYYMMDD([value])",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230101",type:"function",active:!0,description:"",subCommand:Array},{name:"toHuman",version:"0.0.1",example:"dphelper.date.toHuman([value])",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"iso2Epoch",version:"0.0.1",example:"dphelper.date.iso2Epoch([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"localIsoTime",version:"0.0.1",example:"dphelper.date.localIsoTime([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"utc",version:"0.0.1",example:"dphelper.date.utc()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"year",version:"0.0.1",example:"dphelper.date.year()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"dateTimeToString",version:"0.0.1",example:"dphelper.date.dateTimeToString([dateObject])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"fullDate",version:"0.0.1",example:"dphelper.date.fullDate()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"epoch",version:"0.0.1",example:"dphelper.date.epoch()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"timeZones",version:"0.0.1",example:"dphelper.date.timeZones()",author:"Dario Passariello",creationDate:"20240901",lastMod:"20240901",type:"function",active:!0,description:"Array of all timezones",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.date={days:(e="en")=>({en:["Monday","Tuesday","Wednesday","Thursday","Wednesday","Saturday","Sunday"],it:["lunedì","martedì","mercoledì","giovedì","Venerdì","Sabato","domenica"]}[e]),months:(e="en")=>({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"]}[e]),toIso:(e,t="en")=>{e||(e="");const r=new Date(e);if("Invalid Date"==String(r))return null;return new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(r)},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 r=e.substring(0,2).replace("0",""),n=e.substring(2,4),o=e.substring(e.length-4);return n+" "+t[Number(r)-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:(e,t="/")=>{if(!e)return null;return e.substring(0,2)+t+e.substring(2,4)+t+e.substring(4,8)},year:()=>{var e;return null===(e=/\d{4}/.exec(Date()))||void 0===e?void 0:e[0]},addDays:(e,t)=>{const r=new Date(Number(e));return r.setDate(e.getDate()+t),r},dateTimeToString:e=>{try{return`${e.getFullYear()}${e.getMonth().toString().length>1?e.getMonth()+1:`0${e.getMonth()+1}`}\n ${e.getDate().toString().length>1?e.getDate():`0${e.getDate()}`}_${e.getHours()}${e.getMinutes()}${e.getSeconds()}`}catch(t){return e}},isoToHuman:(e,t="@")=>{if(!e)return null;const r=dphelper.date.months(),n=new Date(e),o=n.getFullYear(),i=e.split("T")[1].split(":").slice(0,2).join(":");let a=(n.getMonth()+1).toString(),s=n.getDate().toString();return s.length<2&&(s="0"+s),a.length<2&&(a="0"+a),s+" "+r[Number(a)-1]+" "+o+" "+t+" "+i},fullDate:e=>{const t=new Date,r=Number(t.getDate()),n=Number(t.getMonth()+1),o=Number(t.getFullYear()),i=Number(t.getHours()),a=Number(t.getMinutes());return(r<10?"0"+r:r)+"-"+(n<10?"0"+n:n)+"-"+o+" "+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+":"+Number(t.getSeconds())},epoch:()=>(new Date).getTime(),diffInDays:function(e,t){let r=t.getTime(),n=e.getTime();return Math.floor((r-n)/864e5)},diffInWeeks:function(e,t){let r=t.getTime(),n=e.getTime();return Number(parseInt(String((r-n)/6048e5)))},diffInMonths:function(e,t){let r=e.getFullYear(),n=t.getFullYear(),o=e.getMonth();return t.getMonth()+12*n-(o+12*r)},diffInYears:function(e,t){return t.getFullYear()-e.getFullYear()},dateToYMD:e=>{let t=e.getDate(),r=e.getMonth()+1;return e.getFullYear()+"-"+(r<=9?"0"+r:r)+"-"+(t<=9?"0"+t:t)},collection:(e=new Date,t,r="en-US")=>{let n;switch(!e&&t&&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 '),t){case"toDateString":n=e.toDateString();break;case"toISOString":n=e.toISOString();break;case"toJSON":n=e.toJSON();break;case"toLocaleDateString":n=e.toLocaleDateString(r);break;case"toLocaleString":n=e.toLocaleString(r);break;case"toLocaleTimeString":n=e.toLocaleTimeString(r);break;case"toString":n=e.toString();break;case"toISOStringShort":n=e.toISOString().slice(0,10)}return n},timeZones:e=>{const t=[];return Intl.supportedValuesOf("timeZone").forEach((e=>t.push(e))),t}},dphelper.setProps(dphelper,n,{lock:!0})},3534:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{name:"rightClick",version:"0.0.1",example:"dphelper.disable.rightClick([element])",author:"Dario Passariello",creationDate:"20220101",lastMod:"20220101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.disable={select:function(e="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:(e=5e3)=>{setInterval((()=>{const e=document.querySelectorAll("input[type=text], textarea, code"),t=e.length;for(let r=0;r<t;r++)e[r].getAttribute("spellcheck")||e[r].setAttribute("spellcheck","false")}),e)},rightClick:(e="body")=>{$(document).ready((function(){$(e).on("contextmenu",(function(e){return!1}))}))}},dphelper.setProps(dphelper,n,{lock:!0})},493:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.dispatch={set:(e,t={})=>{dispatchEvent(new CustomEvent(e,t))},listen:(e,t=null,r=!1)=>{$(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(dphelper,n,{lock:!0})},1202:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.element={fitScale:(e,t=1,r=!1)=>{addEventListener("resize",(n=>{dphelper.element.scaleBasedOnWindow(e,t,r)}))},scaleBasedOnWindow:(e,t,r)=>{if(!e)return;const n=$(e),o=n.width()||1,i=n.height()||1;r?n.css("transform","scale("+t/Math.max(o/globalThis.innerWidth,i/globalThis.innerHeight)+")"):n.css("transform","scale("+t/Math.min(o/globalThis.innerWidth,i/globalThis.innerHeight)+")")}},dphelper.setProps(dphelper,n,{lock:!0})},6730:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={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:Array},{name:"copy",version:"0.0.1",example:"dphelper.event.copy([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"onDrag",version:"0.0.1",example:"dphelper.event.onDrag([element])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:Array},{name:"keys",version:"0.0.1",example:"dphelper.event.keys(e)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(o),dphelper.event={list:e=>{globalThis.getEventListeners(e)},multi:(e,t,r)=>{const n=t.split(" ");for(let t=0,o=n.length;t<o;++t)e.addEventListener(n[t],r,!1)},copy:e=>{document.querySelector(e).addEventListener("click",(e=>(0,n.sH)(void 0,void 0,void 0,(function*(){if(navigator.clipboard)try{console.debug(e,e.srcElement.textContent),yield 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(r){r.pageX,r.pageY;$(window).mousemove((function(r){t=!0;const n=(r.pageY>0?r.pageY:0)-$(".popup_overflow_"+e).height()/2,o=(r.pageX>0?r.pageX:0)-$(".popup_overflow_"+e).width()/2;localStorage.setItem(e,JSON.stringify([n,o]))}))})).mouseup((function(){t=!1,$(window).unbind("mousemove")}))},keys:e=>({key:e.key,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})},dphelper.setProps(dphelper,o,{lock:!0})},7930:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{name:"required",version:"0.0.1",example:"dphelper.form.required([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array},{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:Array},{name:"isNumeric",version:"0.0.1",example:"dphelper.form.isNumeric([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"isEmail",version:"0.0.1",example:"dphelper.form.isEmail([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.form={serialize:function(e){const t=r(4692),n=t(e),o={};if(!/[a-zA-Z][a-zA-Z0-9-_.]/.test(n.name))return;const i=(e,t)=>{let r=e[0];"]"==r.slice(-1)&&(r=r.slice(0,-1));const n={};return 1==e.length?n[r]=(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(),n[r]=i(e,t)),n};return t.each(n.serializeArray(),(function(){const e=this.value,r=this.name.split("["),n=i(r,e);t.extend(!0,o,n)})),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:(e,t=1)=>!e||(null==e?void 0:e.length)<t?"Must Enter a Value":void 0,maxLength:(e,t=10)=>(null==e?void 0:e.length)>t?"Exceeds Max Length":void 0,maxPhoneNumber:(e,t=10)=>{var r;return(null===(r=null==e?void 0:e.toString())||void 0===r?void 0:r.length)>t?"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:(e=[7,24],t,r)=>{var n="",o=e[0],i=e[1];n=`<form id='${t}'>`,n+="<div class='table'>",n+="<div class='title'>";for(var a=1;a<=o;a++)n+=`<span>${a}</span>`;n+="</div>";for(var s=1;s<=i;s++){n+=`<div class='row'><span>${s}</span>`;for(var l=1;l<=o;l++)n+=`<input name='data[${l}][${s}]' tabindex='${l.toString().padStart(2,"0")}${s.toString().padStart(2,"0")}' type='number' onclick="this.select()" value='${Math.floor(100*Math.random())}' title='${l} to ${s}' />`;n+="</div>"}n+="</div>",n+="</form>",$(r).html(n)},sanitize:e=>{if(e)return e.replace(/[^\w ]/g,"").replace(/[&/\\#, +()$~%.'":*?<>{}]/g,""),e}},dphelper.setProps(dphelper,n,{lock:!0})},7855:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"phoneNumber",version:"0.0.1",example:"dphelper.format.phoneNumber()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.format={currency:(e,t="en-US",r="USD")=>{e&&!isNaN(e)||(e=0);return new Intl.NumberFormat(t,{style:"currency",currency:r}).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(dphelper,n,{lock:!0})},2964:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.func={new:(e,t)=>{dphelper.func[e]=Object.assign({},t)},toObj:{set:(e,t)=>[e,t],get:e=>e.getDetails()}},dphelper.setProps(dphelper,n,{lock:!0})},3507:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(o),dphelper.iDB={init:()=>{dphelper.iDB.toState()},create:(e,t)=>{if(dphelper.iDB.exist(e))return void(null===top||void 0===top||top.alert(`Database "${e}" already exist`));const r=indexedDB.open(e,dphelper.iDB.version(e));r.onerror=e=>(console.debug(e,"Database create error: "+e.target.errorCode),!1),r.onsuccess=r=>{const n=r.target.result,o=n.version;if(n.close(),void 0===dphelper.iDB.version(e)){indexedDB.open(e,o+1).onupgradeneeded=e=>{const r=e.target.result;if(0!=r.objectStoreNames.length)return;r.createObjectStore(t,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0}),r.close()}}dphelper.iDB.refresh()}},open:e=>{if(!dphelper.iDB.exist(e))return;const t=window,r=window.indexedDB||t.mozIndexedDB||t.webkitIndexedDB||t.msIndexedDB;r||(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=r.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,r)=>{if(!dphelper.iDB.exist(e))return;const n=indexedDB.open(e,dphelper.iDB.version(e));n.onerror=e=>console.debug(e,"Database insert error: "+e.target.errorCode),n.onsuccess=e=>{try{const n=e.target.result;n.transaction([t],"readwrite").objectStore(t).add({value:r}),n.close(),dphelper.iDB.refresh()}catch(e){console.debug(e,"IndexDB insert not work")}}},update:(e,t,r,n)=>{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(+r).onsuccess=e=>{const t=e.target.result;t.value=n;const r=o.put(t);r.onsuccess=e=>{dphelper.iDB.refresh()},r.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 r=e.target.result.createObjectStore(t,{keyPath:"taskTitle"});r.createIndex("hours","hours",{unique:!1}),r.createIndex("minutes","minutes",{unique:!1}),r.createIndex("day","day",{unique:!1}),r.createIndex("month","month",{unique:!1}),r.createIndex("year","year",{unique:!1})}},get:(e,t,r)=>{new Promise(((n,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(r).onsuccess=e=>{const t=e.target.result;n(t)}}}))},store:(e,t)=>{if(!dphelper.iDB.exist(e))return;const r=indexedDB.open(e,dphelper.iDB.version(e));r.onerror=e=>{console.debug(e,"Database get error: "+e.target.errorCode)},r.onsuccess=r=>{const n=r.target.result;if(0===n.objectStoreNames.length)return;n.transaction([t],"readwrite").objectStore(t).openCursor().onsuccess=r=>{const n=r.target.result;if(n){const r=n.primaryKey,o=n.value;dphelper.store[e]||(dphelper.store[e]=[]),dphelper.store[e][t]||(dphelper.store[e][t]=[]),dphelper.store[e][t][r]||(dphelper.store[e][t][r]=[]),dphelper.store[e][t][r]=o,n.continue()}dphelper.iDB.refresh()}}},refresh:()=>{dphelper.iDB.toState(),console.debug("iDB refresh")},toState:(e,t)=>(0,n.sH)(void 0,void 0,void 0,(function*(){if(e||t)return e&&t?void setTimeout((()=>(0,n.sH)(void 0,void 0,void 0,(function*(){return state[e]=yield t}))),1e3):void console.debug("promiseToState: Some data are missed!");const r=[];let o=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 i={name:"",version:"",tables:[],size:0};let a=0;t.onsuccess=e=>(0,n.sH)(void 0,void 0,void 0,(function*(){const t=e.target.result;0!==t.objectStoreNames.length&&(t&&t.name&&(i.name=t.name,i.version=t.version,Object.entries(t.objectStoreNames).map(((e,s)=>(0,n.sH)(void 0,void 0,void 0,(function*(){const n=[],s=yield dphelper.iDB.getTableSize(t.name,e[1]);n.name=e[1],n.size=s,i.tables.push(Object.assign({},n)),a+=s,i.size=a,o+=a,r.total=o,r.update=dphelper.date.epoch()})))),r.push(i)),dphelper.databases=r)}))}))}))})),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],r=t.length;let n;for(let e=0;e<r;e++)return n=t[e],dphelper.iDB.getDbSize(n)},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 "${e}" database?`,(()=>{indexedDB.deleteDatabase(e),dphelper.iDB.refresh()}),(()=>{alert("Operation cancelled.")})):alert(`Database "${e}" not exist`)},getTableSize:(e,t)=>new Promise(((r,n)=>{if(null==e)return n();const o=event;let i=0;const a=(e=o.target.result).transaction([t]).objectStore(t).openCursor();a.onsuccess=function(e){const t=e.target.result;if(t){const e=t.value,r=JSON.stringify(e);i+=r.length,t.continue()}else r(i)}.bind(void 0),a.onerror=e=>n("error in "+t+": "+e)})),getDbSize:e=>new Promise(((t,r)=>{const n=indexedDB.open(e,dphelper.iDB.version(e));let o;n.onerror=e=>console.debug("Error on IndexedDB"),n.onsuccess=e=>{o=e.target.result;((e,r)=>{const n=e.reduce(((e,t)=>(e.push(dphelper.iDB.getTableSize(r,t)),e)),[]);Promise.all(n).then((r=>{const n={};e.forEach(((e,t)=>{n[t]=new(function(e,t){this.table=e,this.size=t}(e,dphelper.tools.byteSize(r[t])))}));const o=r.reduce(((e,t)=>e+t),0);t(parseInt(dphelper.tools.byteSize(o)))}))})([...o.objectStoreNames],o)}})),printTableInfo:e=>{const t=indexedDB.open(e,dphelper.iDB.version(e));let r;t.onerror=e=>console.debug("Error on IndexedDB"),t.onsuccess=e=>{r=e.target.result;((e,t)=>{const r=e.reduce(((e,r)=>(e.push(dphelper.iDB.getTableSize(t,r)),e)),[]);Promise.all(r).then((t=>{const r={};e.forEach(((e,n)=>{r[n]=new(function(e,t){this.table=e,this.size=t}(e,dphelper.tools.byteSize(t[n])))})),console.table(r);const n=t.reduce(((e,t)=>e+t),0);console.debug("TOTAL: "+dphelper.tools.byteSize(n))}))})([...r.objectStoreNames],r)}},printSizes:()=>{indexedDB.webkitGetDatabaseNames().onsuccess=e=>{const t=e.target.result,r=t.length;let n;for(let e=0;e<r;e++)n=t.item(e),dphelper.iDB.getDbSize(n)}},countRows:(e,t)=>new Promise(((r,n)=>{indexedDB.open(e,dphelper.iDB.version(e)).onsuccess=function(e){const n=e.target.result;if(0===n.objectStoreNames.length)return;n.transaction([t],"readonly").objectStore(t).count().onsuccess=function(e){const t=e.target.result;r(t)}}}))},dphelper.setProps(dphelper,o,{lock:!0})},5521:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.import={file:(e,t)=>{const r=e?document.querySelector(e):document.getElementsByTagName("*");let n,o,i;for(n=0;n<r.length;n++)if(o=r[n],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(dphelper,n,{lock:!0})},686:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"toCsv",version:"0.0.1",example:"dphelper.json.toCsv()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"saveCsvAs",version:"0.0.1",example:"dphelper.json.saveCsvAs()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"is",version:"0.0.1",example:"dphelper.json.is()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.json={counter:(e,t,r)=>{if(!e)return null;let n;return n=t&&r?Object.keys(e).length:e.items.filter((e=>e.key===r)).lengt,n},toCsv:e=>{const t=e,r=(e,t)=>null===t?"":t,n=Object.keys(t[0]);let o=null==t?void 0:t.map((e=>null==n?void 0:n.map((t=>JSON.stringify(e[t],r))).join(",")));return o.unshift(n.join(",")),o=o.join("\r\n"),o},saveCsvAs:(e,t)=>{const r=globalThis;let n="";const o=new Blob([e],{type:"text/csv;charset=utf-8;"}),i=document.createElement("a"),a=`${t}_${dphelper.date.dateTimeToString(new Date(Date.now()))}.csv`;n=URL.createObjectURL(o),i.setAttribute("href",n),i.setAttribute("download",a),i.style.visibility="hidden",r.appendChild(i),i.click(),r.removeChild(i)},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(dphelper,n,{lock:!0})},4876:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={name:"load",active:!0,subCommand:[{name:"all",version:"0.0.1",example:"dphelper.load.all(require['context']('Scripts', true, /.(js|ts)$/))",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:Array},{name:"file",version:"0.0.1",example:"dphelper.load.file()",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:Array},{name:"fileToElement",version:"0.0.1",example:"dphelper.load.fileToElement()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"json",version:"0.0.1",example:"dphelper.load.json()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"remote",version:"0.0.1",example:"dphelper.load.remote()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"script",version:"0.0.1",example:"dphelper.load.script()",author:"Dario Passariello",creationDate:"20240525",lastMod:"20240525",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(o),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((function(t){return(0,n.sH)(this,void 0,void 0,(function*(){const r=yield t.text();document.querySelector(e).innerHTML=String(r)}))})).catch((e=>console.error(e)))},json:e=>{if(e.match(/.(json)$/i))return r(2633)(""+e)},remote:(e,t="GET",r)=>{fetch(e,{method:t,headers:r}).then((function(e){return e})).then((function(e){return e})).catch((e=>console.error(e)))},script:(e,t="html")=>{e.map(((e,r)=>{$(t).append(`<script src="${e}"><\/script>`)}))}},dphelper.setProps(dphelper,o,{lock:!0})},5964:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"reg",version:"0.0.1",example:"dphelper.log.reg()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"debug",version:"0.0.1",example:"dphelper.log.debug()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"error",version:"0.0.1",example:"dphelper.log.error()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),cache.log=[],dphelper.log={list:cache.log,reg:e=>{cache.log.push({reg:e})},debug:e=>{cache.log.push({debug:e})},error:e=>{cache.log.push({error:e})}},dphelper.setProps(dphelper,n,{lock:!0})},5386:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"tmr",version:"0.0.1",example:"dphelper.math.tmr()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"add",version:"0.0.1",example:"dphelper.math.add()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"sub",version:"0.0.1",example:"dphelper.math.sub()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"multi",version:"0.0.1",example:"dphelper.math.multi()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"div",version:"0.0.1",example:"dphelper.math.div()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"rem",version:"0.0.1",example:"dphelper.math.rem()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"exp",version:"0.0.1",example:"dphelper.math.exp()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),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)=>Math.pow(e,t),isOdd:e=>e%2==0,float2int:e=>0|e,percent:(e,t)=>(100*e/t).toFixed(2)},dphelper.setProps(dphelper,n,{lock:!0})},9035:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array}]};dphelper._list.scripts.push(n),dphelper.memory={lock:e=>{const t=globalThis,r=null==e?void 0:e.split(".");r.length<2||Object.defineProperty(t[r[0]],r[1],{writable:!1,configurable:!1})},unlock:e=>{const t=globalThis,r=null==e?void 0:e.split(".");r.length<2||Object.defineProperty(t[r[0]],r[1],{writable:!0,configurable:!0})}},dphelper.setProps(dphelper,n,{lock:!0})},7767:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"replaceNullObjects",version:"0.0.1",example:"dphelper.obj.replaceNullObjects([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"serialize",version:"0.0.1",example:"dphelper.obj.serialize([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"deSerialize",version:"0.0.1",example:"dphelper.obj.deSerialize([obj])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"toXML",version:"0.0.1",example:"dphelper.obj.toXML([obj])",author:"Dario Passariello",creationDate:"20240315",lastMod:"20240315",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.obj={toArray:e=>Object.entries(e),replaceNullObjects:e=>{const t=e;return Object.keys(e).forEach((r=>{null===e[r]&&(t[r]="")})),t},serialize:e=>{if("function"==typeof e)return e.toString();if("object"==typeof e){const t={};for(const[r,n]of Object.entries(e))t[r]=dphelper.obj.serialize(n);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[r,n]of Object.entries(e))console.info(`objectKey=${r} value=${n}`),t[r]=dphelper.obj.deSerialize(n);return t}return e},sort:e=>Object.keys(e).sort().reduce(((t,r)=>(t[r]=e[r],t)),{}),toXML:(e,t="@")=>'<?xml version="1.0" encoding="UTF-8"?>'+(e=>new(r(8343))({attributePrefix:t}).js2xml(e))(e),find:(e,t,r)=>{for(let n in e)if(e.hasOwnProperty(n)&&e[n][t]===r)return n}},dphelper.setProps(dphelper,n,{lock:!0})},2553:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),observer=(e,t=null,r={})=>{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,r)}else console.error("Observer Error: You need to setup observer correctly, Some parameters are missed!")},Object.defineProperties(observer,{list:{value:(e=window)=>{jQuery._data(e,"events")}},remove:{value:e=>{e&&$(window).off(e)}}}),dphelper.setProps(globalThis,n,{lock:!0})},2731:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"hash",version:"0.0.1",example:"dphelper.path.hash([hashUrl])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"query",version:"0.0.1",example:"dphelper.path.query([hashQueryString])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),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=[],r=location.search;return r?(r.replace("?","").split("&").map((r=>{e=r.split("="),t[e[0]]=e[1]})),t):["empty"]}},dphelper.setProps(dphelper,n,{lock:!0})},5791:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={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:Array},{name:"resolve",version:"0.0.1",example:"dphelper.promise.resolve(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(o),dphelper.promise={check:e=>e&&"[object Promise]"===Object.prototype.toString.call(e),resolve:e=>(0,n.sH)(void 0,void 0,void 0,(function*(){const t={};if(dphelper.promise.check(e))return Promise.resolve(e).then((function(e){t.promise=e})),yield t}))},dphelper.setProps(dphelper,o,{lock:!0})},6052:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"toggle",version:"0.0.2",example:"dphelper.screen.toggle([element])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.screen={fullScreen:e=>{const t=document.querySelector(e);t.requestFullScreen?t.requestFullScreen():t.mozRequestFullScreen?e.mozRequestFullScreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen()},toggle:e=>{const t=document,r=t.querySelector(e);t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement?t.exitFullscreen?t.exitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.msExitFullscreen&&t.msExitFullscreen():r.requestFullscreen?r.requestFullscreen():r.mozRequestFullScreen?r.mozRequestFullScreen():r.webkitRequestFullscreen?r.webkitRequestFullscreen():r.msRequestFullscreen&&r.msRequestFullscreen()},info:()=>[screen.width,screen.height,screen.availWidth,screen.availHeight,screen.colorDepth,screen.pixelDepth]},dphelper.setProps(dphelper,n,{lock:!0})},8612:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"indicator",version:"0.0.1",example:"dphelper.scrollbar.indicator(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array},{name:"smooth",version:"0.0.1",example:"dphelper.scrollbar.smooth(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"scrollTo",version:"0.0.1",example:"dphelper.scrollbar.scrollTo(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.scrollbar={custom:(e="*",t)=>{!(null==t?void 0:t.color_1)||t.color_1,!(null==t?void 0:t.color_1_hover)||t.color_1_hover,!(null==t?void 0:t.color_2)||t.color_2,!(null==t?void 0:t.color_3)||t.color_3,!(null==t?void 0:t.type)||t.type,!(null==t?void 0:t.behavior)||t.behavior,!(null==t?void 0:t.width)||t.width,!(null==t?void 0:t.height)||t.height,!(null==t?void 0:t.rounded)||t.rounded,(null==t?void 0:t.margin)&&t.margin,!(null==t?void 0:t.border)||t.border,!(null==t?void 0:t.opacity)||t.opacity;const r=` ${e}::-webkit-scrollbar {\n scroll-behavior: ${t.behavior};\n width: ${t.width};\n height: ${t.height};\n }\n ${e}::-webkit-scrollbar-thumb {\n opacity: ${t.opacity} !important;\n -webkit-border-radius: ${t.rounded} !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n border-radius: ${t.rounded} !important;\n background: ${t.color_1} !important;\n background-clip: content-box !important;\n border: ${t.border} solid transparent !important;\n min-height: 2px !important;\n min-width: 2px !important;\n }\n ${e}::-webkit-scrollbar-thumb:hover{\n background: ${t.color_1_hover} !important;\n }\n ${e}::-webkit-scrollbar-thumb:active{\n background: ${t.color_1} !important;\n background-clip: content-box !important;\n border: calc( ${t.border} - 1.5px ) solid transparent !important;\n }\n ${e}::-webkit-scrollbar-track {\n background: ${t.color_2};\n border-radius: ${t.rounded};\n }\n ${e}::-webkit-scrollbar-track:hover {\n /*background: rgba(128,128,128,.15) !important;*/\n }\n ${e}::-webkit-scrollbar-track:vertical:hover {\n /* border-left: 1px solid rgba(0,0,0,.1) !important; */\n }\n ${e}::-webkit-scrollbar-track:horizontal:hover {\n /* border-top: 1px solid rgba(0,0,0,.1) !important; */\n }\n ${e}::-webkit-scrollbar-corner {\n background:rgba(0,0,0,0)\n }\n /*\n ${e}::-webkit-scrollbar-thumb:window-inactive {\n background: ${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 `,n=document.createElement("style");document.head.appendChild(n),n.innerHTML=r},indicator:e=>{var t;const r=document.querySelector(e.el),n=document.querySelector(".scrollindicator");if(!n){const e=document.createElement("div");e.classList.add("scrollindicator"),null===(t=document.querySelector("header"))||void 0===t||t.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)try{const e=document.querySelector(".scrollindicator");r.addEventListener("scroll",(function(t){e.style.width="0%";const r=Number(this.scrollTop||this.scrollTop),n=Number(this.scrollHeight-this.clientHeight),o=Math.min(Math.max(r/n*100),100);e.style.width=o+"%",e.click()})),r.addEventListener("popstate",(function(t){e.style.width=0}))}catch(e){return}else n.style.width="0%"},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,r)=>{e===document&&(e=document.scrollingElement||document.documentElement||document.body.parentNode||document.body);let n=!1,o=e.scrollTop;const i=e===document.body&&document.documentElement?document.documentElement:e;function a(r){r.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}(r);o+=-a*t,o=Math.max(0,Math.min(o,e.scrollHeight-i.clientHeight)),n||s()}function s(){n=!0;const t=(o-e.scrollTop)/r;e.scrollTop+=t,Math.abs(t)>.5?l(s):n=!1}e.addEventListener("mousewheel",a,{passive:!1}),e.addEventListener("DOMMouseScroll",a,{passive:!1});const l=dphelper.Window.animationframe()},scrollTo:(e,t,r=0)=>{const n=document.querySelector(e),o=document.querySelector(t);n&&o&&r&&n.scrollTo({top:o.offsetTop,behavior:"smooth"})}},dphelper.setProps(dphelper,n,{lock:!0})},2725:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={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:Array}]},{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:Array},{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:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(o);const i=r(1396);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:(e,t)=>(0,n.sH)(void 0,void 0,void 0,(function*(){const r=(new TextEncoder).encode(t.toLowerCase()+e.toLowerCase()),n=yield crypto.subtle.digest("SHA-1",r),o=Array.from(new Uint8Array(n)).map((e=>e.toString(16).padStart(2,"0"))).join("");return Promise.all(o)})),crypt:(e,t,r="AES")=>i[r].encrypt(e,t).toString(),deCrypt:(e,t,r="AES")=>i[r].decrypt(e,t).toString(i.enc.Utf8),AES_KeyGen:(e="test")=>{var t=i.lib.WordArray.random(16);return i.PBKDF2(e,t,{keySize:16,iterations:1e3}).toString()}},dphelper.setProps(dphelper,o,{lock:!0})},2078:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.shortcut={keys:(e,t)=>{const r=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)&&r===parseInt(t.key)&&!0===t.active)return t.element&&t.element.click(),t.function&&JSON.stringify(t.function),void e.preventDefault()}))}},dphelper.setProps(dphelper,n,{lock:!0})},8562:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"start",version:"0.0.1",example:"dphelper.socket.start(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"conn",version:"0.0.1",example:"dphelper.socket.conn(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"connect",version:"0.0.1",example:"dphelper.socket.connect(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"open",version:"0.0.1",example:"dphelper.socket.open(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"send",version:"0.0.1",example:"dphelper.socket.send(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"receive",version:"0.0.1",example:"dphelper.socket.receive(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"keepAlive",version:"0.0.1",example:"dphelper.socket.keepAlive(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{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:Array}]};dphelper._list.scripts.push(n),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 r=new WebSocket(t);return r.binaryType="blob",[r,e]},connect:e=>{e&&dphelper.socket.open(dphelper.security.uuid.v5(),e)},open:(e,t)=>{e&&(globalThis.websocket=dphelper.socket.conn(e,t),globalThis.websocket[0].onopen=()=>dphelper.log.reg(e+" connected"),globalThis.websocket[0].onclose=e=>dphelper.log.debug(e.wasClean?"Disconnected":"Connection break: "+(e.reason||e.code)),globalThis.websocket[0].onerror=e=>dphelper.log.error(e.message))},send:(e,t="reg")=>{var r;if(!(null===(r=globalThis.websocket)||void 0===r?void 0:r[1])||!e)return;const n=globalThis.websocket[0],o=globalThis.websocket[1],i=t?`{"${t}":"(${o}:${e})"}`:e;n.send(i)},ping:()=>{var e;if(!(null===(e=globalThis.websocket)||void 0===e?void 0:e[1]))return;const t=globalThis.websocket[0];globalThis.websocket[1];t.send('{"debug":"__ping__"}')},receive:(e=null)=>{var t;if(!(null===(t=globalThis.websocket)||void 0===t?void 0:t[1]))return;globalThis.websocket[0].addEventListener("message",(function(t){let r;try{r=Object.values(JSON.parse(t.data)),e&&$(e).prepend(r[0])}catch(e){return t.data}dphelper.log.reg(t.data)}))},keepAlive:()=>{let e,t=globalThis.websocket[0];const r=(t=5e3)=>{dphelper.socket.ping(),e=setTimeout((()=>{}),t)};t.onopen=function(){setInterval(r,3e4)},t.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;dphelper._list.sockets=[],WebSocket.prototype.send=function(...t){return-1===dphelper._list.sockets.indexOf(this)&&dphelper._list.sockets.push(this),e.call(this,...t)}},list:()=>dphelper._list.sockets},dphelper.setProps(dphelper,n,{lock:!0}),dphelper.socket.check()},1148:(e,t,r)=>{"use strict";r.r(t);const n={name:"state",active:!0,subCommand:[{name:"state",version:"0.0.2",example:"state.[key] = [value]",author:"Dario Passariello",creationDate:"20210101",lastMod:"20190101",type:"function",active:!0,description:"",subCommand:[{name:"state",type:"function",version:"0.0.1",example:"SET: state.name = value; GET: state.name",description:"set and get state",author:"Dario Passariello",creationDate:"20190101",lastMod:"20240816",active:!0,subCommand:Array},{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:Array},{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:Array}]}]};dphelper._list.scripts.push(n);const o=[],i={event(e){dphelper.dispatch.set(String(e),{detail:{name:String(e)}})},set:(e,t,r)=>(e[t]||o.push(t),i.event(t),e[t]=r,state.mex({property:t,value:r}),!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 '${e}' deleted`)):console.error(`'${e}' not exist`)},writable:!1,configurable:!1},mex:{value:e=>{$("#dpConsole").append(`<span>\n <span style="color: green">State ${e.property} changed: <span style="color: yellow">"${e.value}"</span></span>\n </span>`)},writable:!1,configurable:!1}}),dphelper.setProps(globalThis,n,{lock:!1})},6212:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"set",version:"0.0.1",example:"store.set(..)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"delete",version:"0.0.1",example:"store.delete(..)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"clearAll",version:"0.0.1",example:"store.clearAll()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"quota",version:"0.0.1",example:"store.quota()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"size",version:"0.0.1",example:"store.size()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),Object.defineProperty(globalThis,"store",{value:{},enumerable:!0,configurable:!1}),Object.defineProperties(store,{get:{value(e){if(e)return localStorage.getItem(e)?JSON.parse(localStorage.getItem(e)):null}},set:{value(e,t){e&&t&&localStorage.setItem(e,JSON.stringify(t))}},delete:{value(e){if(e)return localStorage.getItem(e)?(localStorage.removeItem(e),!0):void 0}},clearAll:{value:()=>(localStorage.clear(),!0)},quota:{value(){"storage"in navigator&&"estimate"in navigator.storage&&navigator.storage.estimate().then((({usage:e,quota:t})=>{e&&t&&console.debug(`Using ${e/1024} out of ${t/1024} Mb.`)}))}},size:{value(){let e,t,r=0;for(t in localStorage)localStorage.hasOwnProperty(t)&&(e=localStorage[t].length,r+=e);return r}}}),dphelper.setProps(globalThis,n,{lock:!0})},7924:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"check",version:"0.0.1",example:"dphelper.svg.check(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"update",version:"0.0.1",example:"dphelper.svg.update(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"getCurve",version:"0.0.1",example:"dphelper.svg.getCurve(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"getIntersection",version:"0.0.1",example:"dphelper.svg.getIntersection(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"setConnector",version:"0.0.1",example:"dphelper.svg.setConnector(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"removeConnection",version:"0.0.1",example:"dphelper.svg.removeConnection(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"makeScrollable",version:"0.0.1",example:"dphelper.svg.makeScrollable(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"makeDraggable",version:"0.0.1",example:"dphelper.svg.makeDraggable(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"toggle",version:"0.0.1",example:"dphelper.svg.toggle(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"convert",version:"0.0.1",example:"dphelper.svg.convert([Object])",author:"Dario Passariello",creationDate:"20190101",lastMod:"20240401",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.svg={init:function(e,t,r,n){$(e).find("svg")&&dphelper.svg_removeConnection(e),t=dphelper.svg.setConnector(t[0],t[1]),r=dphelper.svg.setConnector(r[0],r[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 d=t.getBoundingClientRect();c.setAttributeNS(null,"x",String(d.left-o.left)),c.setAttributeNS(null,"y",String(d.top-o.top)),c.setAttributeNS(null,"width",d.width),c.setAttributeNS(null,"height",d.height),l.appendChild(c);const u=document.createElementNS(i,"rect");d=r.getBoundingClientRect(),u.setAttributeNS(null,"x",String(d.left-o.left)),u.setAttributeNS(null,"y",String(d.top-o.top)),u.setAttributeNS(null,"width",d.width),u.setAttributeNS(null,"height",d.height),l.appendChild(u);const p=document.createElementNS(i,"path");p.setAttributeNS(null,"id","connection"),p.setAttributeNS(null,"marker-end","url(#head)"),l.appendChild(p),e.appendChild(l),dphelper.svg.update($(c)[0],$(u)[0],$("#connection")[0]),"function"==typeof n&&n(t,r)},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,r){const n=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,d=parseFloat(t.getAttribute("height"))/2,u=n+s,p=o+l,h=i+c,f=a+d,m=h-u,v=f-p,g=dphelper.svg.getIntersection(m,v,u,p,s,l),y=dphelper.svg.getIntersection(-m,-v,h,f,c,d),b=y[0]-g[0],x=dphelper.svg.getCurve(g,y,b);r.setAttributeNS(null,"d","M"+u+","+p+x+h+","+f)},getCurve:function(e,t,r){const n=r/2;return" C"+(n+e[0])+","+e[1]+" "+(t[0]-n)+","+t[1]+" "},getIntersection:function(e,t,r,n,o,i){return Math.abs(t/e)<i/o?[r+(e>0?o:-o),n+t*o/Math.abs(e)]:[r+e*i/Math.abs(t),n+(t>0?i:-i)]},setConnector:function(e,t){let r;const n=$('<span class="connector"></span>');switch($(e).css("position","relative"),n.css({position:"absolute",width:"5px",height:"5px"}),t){case"top":r={left:"50%",top:"2.5px",marginLeft:"2.5px"};break;case"right":r={top:"50%",right:"2.5px",marginTop:"-2.5px"};break;case"bottom":r={left:"50%",bottom:"-2.5px",marginLeft:"2.5px"};break;case"left":r={top:"50%",left:"-2.5px",marginTop:"-2.5px"};break;default:r={}}return n.css(r),$(e).append(n),$(n)[0]},removeConnection:function(e){$(e).find("svg#pathConnection").each((function(e,t){$(t).remove()}))},makeScrollable:function(e,t,r,n,o,i){const a=e.getBoundingClientRect(),s=[r,n],l=s.length,c=[o,i],d=[];for(let e=0;e<l;e++)d[e]=s[e].getBoundingClientRect(),c[e].setAttributeNS(null,"x",d[e].left-a.left),c[e].setAttributeNS(null,"y",d[e].top-a.top),c[e].setAttributeNS(null,"width",d[e].width),c[e].setAttributeNS(null,"height",d[e].height);dphelper.svg.update($(o)[0],$(i)[0],$("#connection")[0])},makeDraggable:function(e){const t=e.target;function r(r){const n=t.getScreenCTM();return{x:(e.clientX-n.e)/n.a,y:(e.clientY-n.f)/n.d}}let n,o;t.addEventListener("mousedown",(function(e){e.target.classList.contains("draggable")&&(n=e.target,o=r(e),o.x-=parseFloat(n.getAttributeNS(null,"x")),o.y-=parseFloat(n.getAttributeNS(null,"y")))})),t.addEventListener("mousemove",(function(e){if(n){const t=r(e);n.setAttributeNS(null,"x",t.x-o.x),n.setAttributeNS(null,"y",t.y-o.y),dphelper.svg.update()}})),t.addEventListener("mouseup",(function(e){n=null}))},toggle:function(e,t,r,n){$(e.target).prop("checked")&&$(r).length&&$(n).length?(dphelper.cookie.set({name:`${$(e.target).attr("id")}`,value:1,time:365}),dphelper.svg_initConnection(t[0],[$(r)[0],"right"],[$(n)[0],"left"],(function(e,r){$("#parts-left-body").on("scroll",(function(n){dphelper.svg.makeScrollable($(t)[0],$("#parts-left-body")[0],$(e)[0],$(r)[0],$("#parts svg rect")[0],$("#parts svg rect")[1])}))}))):(dphelper.svg_removeConnection(t),$("#parts-left-body").unbind("scroll"),dphelper.cookie.set({name:`${$(e.target).attr("id")}`,value:0,time:365}))},convert:({children:e,active:t=!0,size:r=[1920,1080],fit:n=["100%","100%"],preserveAspectRatio:o="none",style:i=`width:${n[0]}; height:${n[1]}`,zoom:a=1})=>{if(!e)return"Please pass ID of element for SVG conversion";if(t){const t=$(e).clone(),s=`\n <svg\n viewBox="0 0 ${r[0]} ${r[1]}"\n preserveAspectRatio="${o}"\n xmlns="http://www.w3.org/2000/svg"\n style="${i}; zoom:${a}"\n >\n <foreignObject\n x="0"\n y="0"\n width="${n[0]}"\n height="${n[1]}"\n style="${i}; zoom:${a}"\n >\n </foreignObject>\n </svg >\n `;$(e).html(s).find("foreignObject").html(t)}}},dphelper.setProps(dphelper,n,{lock:!0}),dphelper.svg.check()},681:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),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 r=t[0],n=1;n<t.length;++n)e=e.split(t[n]).join(r);return e.split(r)}(this,arguments[0]);const t=arguments;return e.apply(this,t)}}},dphelper.setProps(dphelper,n,{lock:!0})},5860:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.terminal=function(e){if(!e)throw Error("Parent dom element required!");let t=!1,r=console.log,n=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),r.apply(console))}.bind(this),console.info=function(){state.disableConsoleLogging||(s.call(this,l.INFO),n.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,r){var n=[`${e} in <a href="${t}" target='_blank'>${null==t?void 0:t.split("/").pop()}</a>: ${r}`];return console.error(n.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(dphelper,n,{lock:!0})},3907:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"capitalize",version:"0.0.1",example:"dphelper.text.capitalize(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"lower",version:"0.0.1",example:"dphelper.text.lower(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"upper",version:"0.0.1",example:"dphelper.text.upper(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"nl2br",version:"0.0.1",example:"dphelper.text.nl2br(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"sanitize",version:"0.0.1",example:"dphelper.text.sanitize(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{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:Array},{name:"toUnderscore",version:"0.0.1",example:"dphelper.text.camelCase.toUnderscore(...)",type:"function",active:!0,description:"",subCommand:Array}]},{name:"fitContainer",version:"0.0.1",example:"dphelper.font.fitContainer([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.text={trim:(e,t,r,n)=>e.charAt(0)===t?e.substring(r,n):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),r=t.length;if(!(r<=0))for(let e=0;e<r;e++){const r=.05*t[e].offsetWidth;t[e].style.fontSize=r+"px"}}(e)}))}},dphelper.setProps(dphelper,n,{lock:!0})},1215:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"percentage",version:"0.0.1",example:"dphelper.timer.percentage(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.timer={sleep:e=>new Promise((t=>setTimeout(t,e))),percentage:(e,t)=>{function r(e){const t=e.split(":");return 3600*t[0]+60*t[1]+t[2]}return(100*r(e)/r(t)).toFixed(2)}},dphelper.setProps(dphelper,n,{lock:!0})},2265:(e,t,r)=>{"use strict";r.r(t);var n=r(1635);const o={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:Array},{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:Array},{name:"zIndex",description:"",example:"dphelper.tools.zIndex()",version:"0.0.1",author:"Dario Passariello",creationDate:"20240807",lastMod:"20240807",type:"function",active:!0,subCommand:Array}]};dphelper._list.scripts.push(o),dphelper.tools={byteSize:e=>{const t=1024;if(Math.abs(e)<t)return e+"b";const r=["Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"];let n=-1;do{e/=t,++n}while(Math.abs(e)>=t&&n<r.length-1);return e.toFixed(1)+r[n]},hashPass:(e,t)=>(0,n.sH)(void 0,void 0,void 0,(function*(){const r=(new TextEncoder).encode(t.toLowerCase()+e.toLowerCase()),n=yield crypto.subtle.digest("SHA-1",r);return Array.from(new Uint8Array(n)).map((e=>e.toString(16).padStart(2,"0"))).join("")})),zIndex:()=>[...$("body *")].map((e=>parseFloat(getComputedStyle(e).zIndex))).reduce(((e,t)=>t>e?t:e),1)},dphelper.setProps(dphelper,o,{lock:!0})},9961:(e,t,r)=>{"use strict";r.r(t);const n={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:Array}]};dphelper._list.scripts.push(n),dphelper.translators={convertMatrixToScale:e=>{const t=(e=(e=(e=e.split("(")[1]).split(")")[0]).split(","))[0],r=e[1];return Math.sqrt(t*t+r*r)}},dphelper.setProps(dphelper,n,{lock:!0})},1958:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"change",version:"0.0.1",example:"dphelper.trigger.change(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.trigger={click:e=>{const t=document.querySelector(e);t&&t.click()},change:e=>{const t=document.querySelector(e),r=new Event("__"+e,{bubbles:!0});r.simulated=!0,dphelper.dispatch.set("__"+e,r),t.dispatchEvent(r)}},dphelper.setProps(dphelper,n,{lock:!0})},8904:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{name:"instOfObj",version:"0.0.1",example:"dphelper.type.instOfObj(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"isNaN",version:"0.0.1",example:"dphelper.type.isNaN(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"isPrime",version:"0.0.1",example:"dphelper.type.isPrime(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array},{name:"isBool",version:"0.0.1",example:"dphelper.type.isBool(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.type={of:e=>typeof e,instOfObj:e=>e instanceof Object,isNaN:e=>function(t){return!e(t)},isPrime:e=>{let t=e/2,r=!0;for(;t>1;)e%t==0?(r=!1,t=0):t-=1;return!0===r},isBool:e=>!e||null==e.length||"1"===e},dphelper.setProps(dphelper,n,{lock:!0})},5262:()=>{},5248:(e,t,r)=>{"use strict";r.r(t);const n={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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{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:Array},{name:"getZoom",version:"0.0.1",example:"dphelper.window.getZoom([el])",author:"Dario Passariello",creationDate:"20240727",lastMod:"20220727",type:"function",active:!0,description:"",subCommand:Array}]};dphelper._list.scripts.push(n),dphelper.window={enhancement:()=>{globalThis.offScreenBuffering="auto",dphelper.window.animationframe()},animationframe:()=>{const e=globalThis;return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){e.setTimeout(t,1e3/120)}},center:({url:e,title:t,name:r,w:n,h:o})=>{const i=void 0!==window.screenLeft?window.screenLeft:window.screenX,a=void 0!==window.screenTop?window.screenTop:window.screenY,s=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,l=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,c=s/window.screen.availWidth,d=(s-n)/2/c+i,u=(l-o)/2/c+a,p=window.open(e,t,`\n scrollbars=yes,\n width=${n/c},\n height=${o/c},\n top=${u},\n left=${d}\n `);window.onfocus=()=>null==p?void 0:p.focus()},onBeforeUnLoad:e=>{let t=!1,r=!1;const n="You have made some changes which you might want to save.",o=e=>(e.preventDefault(),n),i=document.querySelector(e.target);i&&i.addEventListener("input",(t=>{""!==e.target.value?addEventListener("beforeunload",o,{capture:!0}):removeEventListener("beforeunload",o,{capture:!0})}));!1===r&&(document.body.addEventListener("click",(r=>{if("IMG"===e.target.tagName&&!0===t){if(!0===confirm(n))return t=!1;r.preventDefault()}})),r=!0),addEventListener("popstate",(e=>{if(!0===t){return!0===confirm(n)?t=!1:(e.stopImmediatePropagation(),e.preventDefault(),n)}})),window.onbeforeunload=e=>{}},purge:(e=document,t=1e4)=>{setTimeout((()=>{if(!e)return null;let t=e.attributes;if(t){const r=t.length;for(let n=0;n<r;n+=1){const r=t[n].name;"function"==typeof e[r]&&(e[r]=null),void 0===e[r]&&(e[r]=null)}}if(t=e.childNodes,t){const r=t.length;for(let t=0;t<r;t+=1)dphelper.purge(e.childNodes[t])}}),t)},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:(e="html",t=1)=>(t<0&&(t=1),$(e).css("zoom",t),`New zoom value: ${100*t}% (css: ${t})`),getZoom:(e="html")=>Number($(e).css("zoom"))},dphelper.setProps(dphelper,n,{lock:!0})},8343:function(e,t){var r,n,o;!function(i,a){"use strict";n=[],void 0===(o="function"==typeof(r=function(e){return function(t){var r="3.4.4";function n(){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||{},n(),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,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):e}function c(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")}function d(e,r,n){if("property"===t.arrayAccessForm)e[r]instanceof Array?e[r+"_asArray"]=e[r]:e[r+"_asArray"]=[e[r]];if(!(e[r]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===n){o=!0;break}}else if(a instanceof RegExp){if(a.test(n)){o=!0;break}}else if("function"==typeof a&&a(r,n)){o=!0;break}}o&&(e[r]=[e[r]])}}function u(e){var t=60,r=e.split(/[-T:+Z]/g),n=new Date(r[0],r[1]-1,r[2]),o=r[5].split(".");if(n.setHours(r[3],r[4],o[0]),o.length>1&&n.setMilliseconds(o[1]),r[6]&&r[7]){var i=r[6]*t+Number(r[7]);i=0+("-"===(/\d\d-\d\d:\d\d$/.test(e)?"-":"+")?-1*i:i),n.setMinutes(n.getMinutes()-i-n.getTimezoneOffset())}else-1!==e.indexOf("Z",e.length-1)&&(n=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())));return n}function p(e,r,n){if(t.datetimeAccessFormPaths.length>0)for(var o=n.split(".#")[0],i=0;i<t.datetimeAccessFormPaths.length;i++){var a=t.datetimeAccessFormPaths[i];if("string"==typeof a){if(a===o)return u(e)}else if(a instanceof RegExp){if(a.test(o))return u(e)}else if("function"==typeof a&&a(o))return u(e)}return e}function h(e){for(var r={},n=e.childNodes,o=0;o<n.length;o++){var s=n.item(o);if(s.nodeType===i.ELEMENT_NODE){var l=a(s);t.ignoreRoot?r=m(s,l):r[l]=m(s,l)}}return r}function f(e,r){for(var n={__cnt:0},o=e.childNodes,l=0;l<o.length;l++){var u=o.item(l),h=a(u);u.nodeType!==i.COMMENT_NODE&&(n.__cnt++,null==n[h]?(n[h]=m(u,r+"."+h),d(n,h,r+"."+h)):(n[h]instanceof Array||(n[h]=[n[h]],d(n,h,r+"."+h)),n[h][n[h].length]=m(u,r+"."+h)))}for(var f=0;f<e.attributes.length;f++){var v=e.attributes.item(f);n.__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))}n[t.attributePrefix+v.name]=g}var x=s(e);return x&&(n.__cnt++,n.__prefix=x),n["#text"]&&(n.__text=n["#text"],n.__text instanceof Array&&(n.__text=n.__text.join("\n")),t.escapeMode&&(n.__text=c(n.__text)),t.stripWhitespaces&&(n.__text=n.__text.trim()),delete n["#text"],"property"===t.arrayAccessForm&&delete n["#text_asArray"],n.__text=p(n.__text,"#text",r+".#text")),n.hasOwnProperty("#cdata-section")&&(n.__cdata=n["#cdata-section"],delete n["#cdata-section"],"property"===t.arrayAccessForm&&delete n["#cdata-section_asArray"]),1===n.__cnt&&n.__text&&!t.keepText?n=n.__text:0===n.__cnt&&"text"===t.emptyNodeForm?n="":n.__cnt>1&&void 0!==n.__text&&t.skipEmptyTextNodesForObj&&(t.stripWhitespaces&&""===n.__text||""===n.__text.trim())&&delete n.__text,delete n.__cnt,t.keepCData||n.hasOwnProperty("__text")||!n.hasOwnProperty("__cdata")||1!==Object.keys(n).length?(t.enableToStringFunc&&(n.__text||n.__cdata)&&(n.toString=function(){return(this.__text?this.__text:"")+(this.__cdata?this.__cdata:"")}),n):n.__cdata?n.__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,r,n,o){var i="<"+(e&&e.__prefix?e.__prefix+":":"")+r;if(n)for(var a=0;a<n.length;a++){var s=n[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,r){return!!("property"===t.arrayAccessForm&&y(r.toString(),"_asArray")||0===r.toString().indexOf(t.attributePrefix)||0===r.toString().indexOf("__")||e[r]instanceof Function)}function x(e){var t=0;if(e instanceof Object)for(var r in e)b(e,r)||t++;return t}function w(e){var r=[];if(e instanceof Object)for(var n in e)-1===n.toString().indexOf("__")&&0===n.toString().indexOf(t.attributePrefix)&&r.push(n);return r}function D(e){var r="";return e.__cdata&&(r+="<![CDATA["+e.__cdata+"]]>"),(e.__text||"number"==typeof e.__text||"boolean"==typeof e.__text)&&(t.escapeMode?r+=l(e.__text):r+=e.__text),r}function C(e){var r="";return e instanceof Object?r+=D(e):null!==e&&(t.escapeMode?r+=l(e):r+=e),r}function k(e,t,r){var n="";if(0===e.length)n+=v(e,t,r,!0);else for(var o=0;o<e.length;o++)n+=A(e[o],t,w(e[o]));return n}function A(e,r,n){var o="";if(t.jsAttributeFilter&&t.jsAttributeFilter.call(null,r,e))return o;if(t.jsAttributeConverter&&(e=t.jsAttributeConverter.call(null,r,e)),null!=e&&""!==e||!t.selfClosingElements)if("object"==typeof e)if("[object Array]"===Object.prototype.toString.call(e))o+=k(e,r,n);else if(e instanceof Date)o+=v(e,r,n,!1),o+=t.jsDateUTC?e.toUTCString():e.toISOString(),o+=g(e,r);else{x(e)>0||"number"==typeof e.__text||"boolean"==typeof e.__text||e.__text||e.__cdata?(o+=v(e,r,n,!1),o+=S(e),o+=g(e,r)):t.selfClosingElements?o+=v(e,r,n,!0):(o+=v(e,r,n,!1),o+=g(e,r))}else o+=v(e,r,n,!1),o+=C(e),o+=g(e,r);else o+=v(e,r,n,!0);return o}function S(e){var t="";if(x(e)>0)for(var r in e)if(!b(e,r)){var n=e[r];t+=A(n,r,w(n))}return t+=C(e)}function _(r){if(void 0===r)return null;if("string"!=typeof r)return null;var n=null,o=null;if(e)o=(n=new e(t.xmldomOptions)).parseFromString(r,"text/xml");else if(window&&window.DOMParser){n=new window.DOMParser;var i=null;if(!(window.ActiveXObject||"ActiveXObject"in window)&&document.all&&!document.addEventListener)try{i=n.parseFromString("INVALID","text/xml").childNodes[0].namespaceURI}catch(e){i=null}try{o=n.parseFromString(r,"text/xml"),null!==i&&o.getElementsByTagNameNS(i,"parsererror").length>0&&(o=null)}catch(e){o=null}}else 0===r.indexOf("<?")&&(r=r.substr(r.indexOf("?>")+2)),(o=new ActiveXObject("Microsoft.XMLDOM")).async="false",o.loadXML(r);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?u(e):e},this.xml2dom=function(e){return _(e)},this.dom2js=function(e){return m(e,null)},this.js2dom=function(e){return _(this.js2xml(e))},this.xml2js=function(e){var t=_(e);return null!=t?this.dom2js(t):null},this.js2xml=function(e){return S(e)},this.getVersion=function(){return r}}})?r.apply(t,n):r)||(e.exports=o)}()},6245:(e,t,r)=>{var n={"./@/over.ts":5815,"./@/setProps.ts":35,"./anchor/index.ts":9634,"./array/index.ts":4292,"./avoid.ts":1099,"./browser.ts":7690,"./cache/index.ts":3119,"./checks/index.ts":7026,"./color.ts":221,"./console/index.ts":7424,"./console/mapped.ts":1585,"./coods.ts":4352,"./cookie/index.ts":2057,"./credits.ts":9184,"./date.ts":9420,"./disable.ts":3534,"./dispatch/index.ts":493,"./element.ts":1202,"./event.ts":6730,"./form.ts":7930,"./format.ts":7855,"./function.ts":2964,"./iDB.ts":3507,"./import.ts":5521,"./json.ts":686,"./load.ts":4876,"./log.ts":5964,"./math.ts":5386,"./memory.ts":9035,"./obj.ts":7767,"./observer/index.ts":2553,"./path.ts":2731,"./promise.ts":5791,"./screen.ts":6052,"./scrollbar.ts":8612,"./security/index.ts":2725,"./shortcut.ts":2078,"./socket/index.ts":8562,"./state/index.ts":1148,"./store/index.ts":6212,"./svg.ts":7924,"./system.ts":681,"./terminal.ts":5860,"./text.ts":3907,"./timer.ts":1215,"./tools.ts":2265,"./translators.ts":9961,"./trigger.ts":1958,"./type.ts":8904,"./ui.ts":5262,"./window.ts":5248};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=6245},2633:(e,t,r)=>{var n={"./@/over":5815,"./@/over.ts":5815,"./@/setProps":35,"./@/setProps.ts":35,"./anchor":9634,"./anchor/":9634,"./anchor/index":9634,"./anchor/index.ts":9634,"./array":4292,"./array/":4292,"./array/index":4292,"./array/index.ts":4292,"./avoid":1099,"./avoid.ts":1099,"./browser":7690,"./browser.ts":7690,"./cache":3119,"./cache/":3119,"./cache/index":3119,"./cache/index.ts":3119,"./checks":7026,"./checks/":7026,"./checks/index":7026,"./checks/index.ts":7026,"./color":221,"./color.ts":221,"./console":7424,"./console/":7424,"./console/index":7424,"./console/index.ts":7424,"./console/mapped":1585,"./console/mapped.ts":1585,"./coods":4352,"./coods.ts":4352,"./cookie":2057,"./cookie/":2057,"./cookie/index":2057,"./cookie/index.ts":2057,"./credits":9184,"./credits.ts":9184,"./date":9420,"./date.ts":9420,"./disable":3534,"./disable.ts":3534,"./dispatch":493,"./dispatch/":493,"./dispatch/index":493,"./dispatch/index.ts":493,"./element":1202,"./element.ts":1202,"./event":6730,"./event.ts":6730,"./form":7930,"./form.ts":7930,"./format":7855,"./format.ts":7855,"./function":2964,"./function.ts":2964,"./iDB":3507,"./iDB.ts":3507,"./import":5521,"./import.ts":5521,"./json":686,"./json.ts":686,"./load":4876,"./load.ts":4876,"./log":5964,"./log.ts":5964,"./math":5386,"./math.ts":5386,"./memory":9035,"./memory.ts":9035,"./obj":7767,"./obj.ts":7767,"./observer":2553,"./observer/":2553,"./observer/index":2553,"./observer/index.ts":2553,"./path":2731,"./path.ts":2731,"./promise":5791,"./promise.ts":5791,"./screen":6052,"./screen.ts":6052,"./scrollbar":8612,"./scrollbar.ts":8612,"./security":2725,"./security/":2725,"./security/index":2725,"./security/index.ts":2725,"./shortcut":2078,"./shortcut.ts":2078,"./socket":8562,"./socket/":8562,"./socket/index":8562,"./socket/index.ts":8562,"./state":1148,"./state/":1148,"./state/index":1148,"./state/index.ts":1148,"./store":6212,"./store/":6212,"./store/index":6212,"./store/index.ts":6212,"./svg":7924,"./svg.ts":7924,"./system":681,"./system.ts":681,"./terminal":5860,"./terminal.ts":5860,"./text":3907,"./text.ts":3907,"./timer":1215,"./timer.ts":1215,"./tools":2265,"./tools.ts":2265,"./translators":9961,"./translators.ts":9961,"./trigger":1958,"./trigger.ts":1958,"./type":8904,"./type.ts":8904,"./ui":5262,"./ui.ts":5262,"./window":5248,"./window.ts":5248};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=2633},477:()=>{},1635:(e,t,r)=>{"use strict";r.d(t,{sH:()=>n});function n(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError},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"]}')},1809:e=>{"use strict";e.exports=JSON.parse('{"100":{"code":100,"message":"Continue","description":"The server has received the request headers, and the client should proceed to send the request body."},"101":{"code":101,"message":"Switching Protocols","description":"The requester has asked the server to switch protocols."},"102":{"code":102,"message":"Processing","description":"This code indicates that the server has received and is processing the request, but no response is available yet. This prevents the client from timing out and assuming the request was lost."},"103":{"code":103,"message":"Early Hints","description":"Used to return some response headers before final HTTP message."},"200":{"code":200,"message":"OK","description":"The request is OK (this is the standard response for successful HTTP requests)."},"201":{"code":201,"message":"Created","description":"The request has been fulfilled, and a new resource is created."},"202":{"code":202,"message":"Accepted","description":"The request has been accepted for processing, but the processing has not been completed."},"203":{"code":203,"message":"Non-Authoritative Information","description":"The request has been successfully processed, but is returning information that may be from another source."},"204":{"code":204,"message":"No Content","description":"The request has been successfully processed, but is not returning any content."},"205":{"code":205,"message":"Reset Content","description":"The request has been successfully processed, but is not returning any content, and requires that the requester reset the document view."},"206":{"code":206,"message":"Partial Content","description":"The server is delivering only part of the resource due to a range header sent by the client."},"207":{"code":207,"message":"Multi-Status","description":"The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made."},"208":{"code":208,"message":"Already Reported","description":"The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response, and are not being included again."},"218":{"code":218,"message":"This is fine (Apache Web Server)","description":"Used as a catch-all error condition for allowing response bodies to flow through Apache when ProxyErrorOverride is enabled."},"226":{"code":226,"message":"IM Used","description":"The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance."},"300":{"code":300,"message":"Multiple Choices","description":"A link list. The user can select a link and go to that location. Maximum five addresses."},"301":{"code":301,"message":"Moved Permanently","description":"The requested page has moved to a new URL."},"302":{"code":302,"message":"Found","description":"The requested page has moved temporarily to a new URL."},"303":{"code":303,"message":"See Other","description":"The requested page can be found under a different URL."},"304":{"code":304,"message":"Not Modified","description":"Indicates the requested page has not been modified since last requested."},"306":{"code":306,"message":"Switch Proxy","description":"No longer used. Originally meant \\"Subsequent requests should use the specified proxy.\\""},"307":{"code":307,"message":"Temporary Redirect","description":"The requested page has moved temporarily to a new URL."},"308":{"code":308,"message":"Resume Incomplete","description":"Used in the resumable requests proposal to resume aborted PUT or POST requests."},"400":{"code":400,"message":"Bad Request","description":"The request cannot be fulfilled due to bad syntax."},"401":{"code":401,"message":"Unauthorized","description":"The request was a legal request, but the server is refusing to respond to it. For use when authentication is possible but has failed or not yet been provided."},"402":{"code":402,"message":"Payment Required","description":"Not yet implemented by RFC standards, but reserved for future use."},"403":{"code":403,"message":"Forbidden","description":"The request was a legal request, but the server is refusing to respond to it."},"404":{"code":404,"message":"Not Found","description":"The requested page could not be found but may be available again in the future."},"405":{"code":405,"message":"Method Not Allowed","description":"A request was made of a page using a request method not supported by that page."},"406":{"code":406,"message":"Not Acceptable","description":"The server can only generate a response that is not accepted by the client."},"407":{"code":407,"message":"Proxy Authentication Required","description":"The client must first authenticate itself with the proxy."},"408":{"code":408,"message":"Request Timeout","description":"The server timed out waiting for the request."},"409":{"code":409,"message":"Conflict","description":"The request could not be completed because of a conflict in the request."},"410":{"code":410,"message":"Gone","description":"The requested page is no longer available."},"411":{"code":411,"message":"Length Required","description":"The \\"Content-Length\\" is not defined. The server will not accept the request without it."},"412":{"code":412,"message":"Precondition Failed","description":"The precondition given in the request evaluated to false by the server."},"413":{"code":413,"message":"Request Entity Too Large","description":"The server will not accept the request, because the request entity is too large."},"414":{"code":414,"message":"Request-URI Too Long","description":"The server will not accept the request, because the URL is too long. Occurs when you convert a POST request to a GET request with a long query information."},"415":{"code":415,"message":"Unsupported Media Type","description":"The server will not accept the request, because the media type is not supported."},"416":{"code":416,"message":"Requested Range Not Satisfiable","description":"The client has asked for a portion of the file, but the server cannot supply that portion."},"417":{"code":417,"message":"Expectation Failed","description":"The server cannot meet the requirements of the Expect request-header field."},"418":{"code":418,"message":"I\'m a teapot","description":"Any attempt to brew coffee with a teapot should result in the error code \\"418 I\'m a teapot\\". The resulting entity body MAY be short and stout."},"419":{"code":419,"message":"Page Expired (Laravel Framework)","description":"Used by the Laravel Framework when a CSRF Token is missing or expired."},"420":{"code":420,"message":"Method Failure (Spring Framework)","description":"A deprecated response used by the Spring Framework when a method has failed."},"421":{"code":421,"message":"Misdirected Request","description":"The request was directed at a server that is not able to produce a response (for example because a connection reuse)."},"422":{"code":422,"message":"Unprocessable Entity","description":"The request was well-formed but was unable to be followed due to semantic errors."},"423":{"code":423,"message":"Locked","description":"The resource that is being accessed is locked."},"424":{"code":424,"message":"Failed Dependency","description":"The request failed due to failure of a previous request (e.g., a PROPPATCH)."},"426":{"code":426,"message":"Upgrade Required","description":"The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field."},"428":{"code":428,"message":"Precondition Required","description":"The origin server requires the request to be conditional."},"429":{"code":429,"message":"Too Many Requests","description":"The user has sent too many requests in a given amount of time. Intended for use with rate limiting schemes."},"431":{"code":431,"message":"Request Header Fields Too Large","description":"The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large."},"440":{"code":440,"message":"Login Time-out","description":"The client\'s session has expired and must log in again. (IIS)"},"444":{"code":444,"message":"Connection Closed Without Response","description":"A non-standard status code used to instruct nginx to close the connection without sending a response to the client, most commonly used to deny malicious or malformed requests."},"449":{"code":449,"message":"Retry With","description":"The server cannot honour the request because the user has not provided the required information. (IIS)"},"450":{"code":450,"message":"Blocked by Windows Parental Controls","description":"The Microsoft extension code indicated when Windows Parental Controls are turned on and are blocking access to the requested webpage."},"451":{"code":451,"message":"Unavailable For Legal Reasons","description":"A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource."},"494":{"code":494,"message":"Request Header Too Large","description":"Used by nginx to indicate the client sent too large of a request or header line that is too long."},"495":{"code":495,"message":"SSL Certificate Error","description":"An expansion of the 400 Bad Request response code, used when the client has provided an invalid client certificate."},"496":{"code":496,"message":"SSL Certificate Required","description":"An expansion of the 400 Bad Request response code, used when a client certificate is required but not provided."},"497":{"code":497,"message":"HTTP Request Sent to HTTPS Port","description":"An expansion of the 400 Bad Request response code, used when the client has made a HTTP request to a port listening for HTTPS requests."},"498":{"code":498,"message":"Invalid Token (Esri)","description":"Returned by ArcGIS for Server. Code 498 indicates an expired or otherwise invalid token."},"499":{"code":499,"message":"Client Closed Request","description":"A non-standard status code introduced by nginx for the case when a client closes the connection while nginx is processing the request."},"500":{"code":500,"message":"Internal Server Error","description":"An error has occurred in a server side script, a no more specific message is suitable."},"501":{"code":501,"message":"Not Implemented","description":"The server either does not recognize the request method, or it lacks the ability to fulfill the request."},"502":{"code":502,"message":"Bad Gateway","description":"The server was acting as a gateway or proxy and received an invalid response from the upstream server."},"503":{"code":503,"message":"Service Unavailable","description":"The server is currently unavailable (overloaded or down)."},"504":{"code":504,"message":"Gateway Timeout","description":"The server was acting as a gateway or proxy and did not receive a timely response from the upstream server."},"505":{"code":505,"message":"HTTP Version Not Supported","description":"The server does not support the HTTP protocol version used in the request."},"506":{"code":506,"message":"Variant Also Negotiates","description":"Transparent content negotiation for the request results in a circular reference."},"507":{"code":507,"message":"Insufficient Storage","description":"The server is unable to store the representation needed to complete the request."},"508":{"code":508,"message":"Loop Detected","description":"The server detected an infinite loop while processing the request (sent instead of 208 Already Reported)."},"509":{"code":509,"message":"Bandwidth Limit Exceeded","description":"The server has exceeded the bandwidth specified by the server administrator; this is often used by shared hosting providers to limit the bandwidth of customers."},"510":{"code":510,"message":"Not Extended","description":"Further extensions to the request are required for the server to fulfil it."},"511":{"code":511,"message":"Network Authentication Required","description":"The client needs to authenticate to gain network access."},"520":{"code":520,"message":"Unknown Error","description":"The 520 error is used as a \\"catch-all response for when the origin server returns something unexpected\\", listing connection resets, large headers, and empty or invalid responses as common triggers."},"521":{"code":521,"message":"Web Server Is Down","description":"The origin server has refused the connection from Cloudflare."},"522":{"code":522,"message":"Connection Timed Out","description":"Cloudflare could not negotiate a TCP handshake with the origin server."},"523":{"code":523,"message":"Origin Is Unreachable","description":"Cloudflare could not reach the origin server; for example, if the DNS records for the origin server are incorrect."},"524":{"code":524,"message":"A Timeout Occurred","description":"Cloudflare was able to complete a TCP connection to the origin server, but did not receive a timely HTTP response."},"525":{"code":525,"message":"SSL Handshake Failed","description":"Cloudflare could not negotiate a SSL/TLS handshake with the origin server."},"526":{"code":526,"message":"Invalid SSL Certificate","description":"Used by Cloudflare and Cloud Foundry\'s gorouter to indicate failure to validate the SSL/TLS certificate that the origin server presented."},"527":{"code":527,"message":"Railgun Listener to Origin Error","description":"Error 527 indicates that the request timed out or failed after the WAN connection had been established."},"530":{"code":530,"message":"Origin DNS Error","description":"Error 530 indicates that the requested host name could not be resolved on the Cloudflare network to an origin server."},"598":{"code":598,"message":"Network Read Timeout Error","description":"Used by some HTTP proxies to signal a network read timeout behind the proxy to a client in front of the proxy."},"1xx":{"code":"1xx","message":"Information","description":"1xx codes are often interim responses for sharing connection status information. Not intended for final request or response action."},"2xx":{"code":"2xx","message":"Successful","description":"2xx codes indicate successful responses usually this means the action requested by the client was received, understood and accepted successfully."},"3xx":{"code":"3xx","message":"Redirection","description":"3xx codes are a class of responses that suggest the User-Agent must follow another course of action to obtain the complete requested resource."},"4xx":{"code":"4xx","message":"Client Error","description":"4xx codes generally are error responses specifying an issue at the client’s end. Potentially a network issue."},"5xx":{"code":"5xx","message":"Server Error","description":"5xx error codes indicate that an error or unresolvable request occurred on the server side, whether that is a proxy or the origin host."}}')},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"dphelper","version":"1.4.2","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.ts","logo":"","typeID":0,"theme":"default","deprecated":false,"target":"web","targets":"web","preferGlobal":true,"language":{"en":{}},"app":{"port":3000,"code":"dphelper","name":"dphelper","type":"beta","folder":"/","appPort":"","main":"index.ts","target":"web","proxy":{},"api":{"dir":"/api/","local":"https://api.biglogic.ca","dev":"https://api.biglogic.ca","prod":"https://api.biglogic.ca"},"socket":{"test":"https://ws.biglogic.ca","dev":"https://ws.biglogic.ca","prod":"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=development --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","eslint":"eslint","---":"------------","pack":"cd dist && npm pack","backup":"cd mcp/batch && backup.bat","update":"cd mcp/javascripts && node npmUpdate"},"devDependencies":{"@types/webpack-env":"1.18.5","copy-webpack-plugin":"^12.0.2","crypto-js":"4.2.0","file-loader":"6.2.0","jest":"29.7.0","jquery":"3.7.1","terser-webpack-plugin":"^5.3.10","ts-loader":"^9.5.1","ts-node":"10.9.2","typescript":"5.6.2","webpack":"^5.94.0","webpack-cli":"5.1.4","webpack-dev-server":"^5.1.0","x2js":"3.4.4"}}')}},n={};function o(e){var t=n[e];if(void 0!==t){if(void 0!==t.error)throw t.error;return t.exports}var i=n[e]={exports:{}};try{var a={id:e,module:i,factory:r[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=r,o.c=n,o.i=[],o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.hu=e=>e+"."+o.h()+".hot-update.js",o.hmrF=()=>"index."+o.h()+".hot-update.json",o.h=()=>"6e0e2afae643c0337083",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=(r,n,i,a)=>{if(e[r])e[r].push(n);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+i){s=u;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=r),e[r]=[n];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.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,r,n={},i=o.c,a=[],s=[],l="idle",c=0,d=[];function u(e){l=e;for(var t=[],r=0;r<s.length;r++)t[r]=s[r].call(null,e);return Promise.all(t).then((function(){}))}function p(){0==--c&&u("ready").then((function(){if(0===c){var e=d;d=[];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 u("check").then(o.hmrM).then((function(r){return r?u("prepare").then((function(){var n=[];return t=[],Promise.all(Object.keys(o.hmrC).reduce((function(e,i){return o.hmrC[i](r.c,r.r,r.m,e,t,n),e}),[])).then((function(){return t=function(){return e?m(e):u("ready").then((function(){return n}))},0===c?t():new Promise((function(e){d.push((function(){e(t())}))}));var t}))})):u(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 n=t.map((function(t){return t(e)}));t=void 0;var o=n.map((function(e){return e.error})).filter(Boolean);if(o.length>0)return u("abort").then((function(){throw o[0]}));var i=u("dispose");n.forEach((function(e){e.dispose&&e.dispose()}));var a,s=u("apply"),l=function(e){a||(a=e)},c=[];return n.forEach((function(e){if(e.apply){var t=e.apply(l);if(t)for(var r=0;r<t.length;r++)c.push(t[r])}})),Promise.all([i,s]).then((function(){return a?u("fail").then((function(){throw a})):r?m(e).then((function(e){return c.forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e})):u("idle").then((function(){return c}))}))}function v(){if(r)return t||(t=[]),Object.keys(o.hmrI).forEach((function(e){r.forEach((function(r){o.hmrI[e](r,t)}))})),r=void 0,!0}o.hmrD=n,o.i.push((function(d){var m,v,g,y,b=d.module,x=function(t,r){var n=i[r];if(!n)return t;var o=function(o){if(n.hot.active){if(i[o]){var s=i[o].parents;-1===s.indexOf(r)&&s.push(r)}else a=[r],e=o;-1===n.children.indexOf(o)&&n.children.push(o)}else console.warn("[HMR] unexpected require("+o+") from disposed module "+r),a=[];return t(o)},s=function(e){return{configurable:!0,enumerable:!0,get:function(){return t[e]},set:function(r){t[e]=r}}};for(var d in t)Object.prototype.hasOwnProperty.call(t,d)&&"e"!==d&&Object.defineProperty(o,d,s(d));return o.e=function(e,r){return function(e){switch(l){case"ready":u("prepare");case"prepare":return c++,e.then(p,p),e;default:return e}}(t.e(e,r))},o}(d.require,d.id);b.hot=(m=d.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,r){if(void 0===e)y._selfAccepted=!0;else if("function"==typeof e)y._selfAccepted=e;else if("object"==typeof e&&null!==e)for(var n=0;n<e.length;n++)y._acceptedDependencies[e[n]]=t||function(){},y._acceptedErrorHandlers[e[n]]=r;else y._acceptedDependencies[e]=t||function(){},y._acceptedErrorHandlers[e]=r},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)})),u("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":(r=r||[]).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:n[m]},e=void 0,y),b.parents=a,b.children=[],a=[],d.require=x})),o.hmrC={},o.hmrI={}})(),o.p="/",(()=>{var e,t,r,n,i,a=o.hmrS_jsonp=o.hmrS_jsonp||{57:0},s={};function l(t,r){return e=r,new Promise(((e,r)=>{s[t]=e;var n=o.p+o.hu(t),i=new Error;o.l(n,(e=>{if(s[t]){s[t]=void 0;var n=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;i.message="Loading hot update chunk "+t+" failed.\n("+n+": "+o+")",i.name="ChunkLoadError",i.type=n,i.request=o,r(i)}}))}))}function c(e){function s(e){for(var t=[e],r={},n=t.map((function(e){return{chain:[e],id:e}}));n.length>0;){var i=n.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 d=0;d<c.parents.length;d++){var u=c.parents[d],p=o.c[u];if(p){if(p.hot._declinedDependencies[a])return{type:"declined",chain:s.concat([u]),moduleId:a,parentId:u};-1===t.indexOf(u)&&(p.hot._acceptedDependencies[a]?(r[u]||(r[u]=[]),l(r[u],[a])):(delete r[u],t.push(u),n.push({chain:s.concat([u]),id:u})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:r}}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];-1===e.indexOf(n)&&e.push(n)}}o.f&&delete o.f.jsonpHmr,t=void 0;var c={},d=[],u={},p=function(e){console.warn("[HMR] unexpected require("+e.id+") to disposed module")};for(var h in r)if(o.o(r,h)){var f=r[h],m=f?s(h):{type:"disposed",moduleId:h},v=!1,g=!1,y=!1,b="";switch(m.chain&&(b="\nUpdate propagation: "+m.chain.join(" -> ")),m.type){case"self-declined":e.onDeclined&&e.onDeclined(m),e.ignoreDeclined||(v=new Error("Aborted because of self decline: "+m.moduleId+b));break;case"declined":e.onDeclined&&e.onDeclined(m),e.ignoreDeclined||(v=new Error("Aborted because of declined dependency: "+m.moduleId+" in "+m.parentId+b));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(m),e.ignoreUnaccepted||(v=new Error("Aborted because "+h+" is not accepted"+b));break;case"accepted":e.onAccepted&&e.onAccepted(m),g=!0;break;case"disposed":e.onDisposed&&e.onDisposed(m),y=!0;break;default:throw new Error("Unexception type "+m.type)}if(v)return{error:v};if(g)for(h in u[h]=f,l(d,m.outdatedModules),m.outdatedDependencies)o.o(m.outdatedDependencies,h)&&(c[h]||(c[h]=[]),l(c[h],m.outdatedDependencies[h]));y&&(l(d,[m.moduleId]),u[h]=p)}r=void 0;for(var x,w=[],D=0;D<d.length;D++){var C=d[D],k=o.c[C];k&&(k.hot._selfAccepted||k.hot._main)&&u[C]!==p&&!k.hot._selfInvalidated&&w.push({module:C,require:k.hot._requireSelf,errorHandler:k.hot._selfAccepted})}return{dispose:function(){var e;n.forEach((function(e){delete a[e]})),n=void 0;for(var t,r=d.slice();r.length>0;){var i=r.pop(),s=o.c[i];if(s){var l={},u=s.hot._disposeHandlers;for(D=0;D<u.length;D++)u[D].call(null,l);for(o.hmrD[i]=l,s.hot.active=!1,delete o.c[i],delete c[i],D=0;D<s.children.length;D++){var p=o.c[s.children[D]];p&&((e=p.parents.indexOf(i))>=0&&p.parents.splice(e,1))}}}for(var h in c)if(o.o(c,h)&&(s=o.c[h]))for(x=c[h],D=0;D<x.length;D++)t=x[D],(e=s.children.indexOf(t))>=0&&s.children.splice(e,1)},apply:function(t){for(var r in u)o.o(u,r)&&(o.m[r]=u[r]);for(var n=0;n<i.length;n++)i[n](o);for(var a in c)if(o.o(c,a)){var s=o.c[a];if(s){x=c[a];for(var l=[],p=[],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),p.push(g),h.push(m)}}for(var y=0;y<l.length;y++)try{l[y].call(null,x)}catch(r){if("function"==typeof p[y])try{p[y](r,{moduleId:a,dependencyId:h[y]})}catch(n){e.onErrored&&e.onErrored({type:"accept-error-handler-errored",moduleId:a,dependencyId:h[y],error:n,originalError:r}),e.ignoreErrored||(t(n),t(r))}else e.onErrored&&e.onErrored({type:"accept-errored",moduleId:a,dependencyId:h[y],error:r}),e.ignoreErrored||t(r)}}}for(var b=0;b<w.length;b++){var D=w[b],C=D.module;try{D.require(C)}catch(r){if("function"==typeof D.errorHandler)try{D.errorHandler(r,{moduleId:C,module:o.c[C]})}catch(n){e.onErrored&&e.onErrored({type:"self-accept-error-handler-errored",moduleId:C,error:n,originalError:r}),e.ignoreErrored||(t(n),t(r))}else e.onErrored&&e.onErrored({type:"self-accept-errored",moduleId:C,error:r}),e.ignoreErrored||t(r)}}return d}}}self.webpackHotUpdatedphelper=(t,n,a)=>{for(var l in n)o.o(n,l)&&(r[l]=n[l],e&&e.push(l));a&&i.push(a),s[t]&&(s[t](),s[t]=void 0)},o.hmrI.jsonp=function(e,t){r||(r={},i=[],n=[],t.push(c)),o.o(r,e)||(r[e]=o.m[e])},o.hmrC.jsonp=function(e,s,d,u,p,h){p.push(c),t={},n=s,r=d.reduce((function(e,t){return e[t]=!1,e}),{}),i=[],e.forEach((function(e){o.o(a,e)&&void 0!==a[e]?(u.push(l(e,h)),t[e]=!0):t[e]=!1})),o.f&&(o.f.jsonpHmr=function(e,r){t&&o.o(t,e)&&!t[e]&&(r.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(7695)})();
|