gt-react 10.3.2-alpha.4 → 10.4.1
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/CHANGELOG.md +12 -0
- package/dist/client.cjs.min.cjs +3 -3
- package/dist/client.d.ts +63 -8
- package/dist/client.d.ts.map +1 -1
- package/dist/client.esm.min.mjs +3 -3
- package/dist/errors/createErrors.d.ts +1 -0
- package/dist/errors/createErrors.d.ts.map +1 -1
- package/dist/index.cjs.min.cjs +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.min.mjs +3 -3
- package/dist/internal.cjs.min.cjs +3 -3
- package/dist/internal.esm.min.mjs +3 -3
- package/dist/messages/messages.d.ts +19 -12
- package/dist/messages/messages.d.ts.map +1 -1
- package/dist/provider/ClientProvider.d.ts.map +1 -1
- package/dist/provider/GTProvider.d.ts.map +1 -1
- package/dist/provider/hooks/{useCreateInternalUseGTFunction.d.ts → translation/useCreateInternalUseGTFunction.d.ts} +3 -2
- package/dist/provider/hooks/translation/useCreateInternalUseGTFunction.d.ts.map +1 -0
- package/dist/provider/hooks/translation/useCreateInternalUseTranslationsFunction.d.ts +6 -0
- package/dist/provider/hooks/translation/useCreateInternalUseTranslationsFunction.d.ts.map +1 -0
- package/dist/provider/hooks/useCreateInternalUseTranslationsFunction.d.ts.map +1 -1
- package/dist/translation/hooks/useGT.d.ts +2 -7
- package/dist/translation/hooks/useGT.d.ts.map +1 -1
- package/dist/translation/hooks/useMessages.d.ts +18 -0
- package/dist/translation/hooks/useMessages.d.ts.map +1 -0
- package/dist/types/context.d.ts +1 -0
- package/dist/types/context.d.ts.map +1 -1
- package/dist/types/types.d.ts +1 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/provider/hooks/useCreateInternalUseGTFunction.d.ts.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import*as r from"react";import e,{isValidElement as t}from"react";import{jsx as n}from"react/jsx-runtime";import{formatMessage as i}from"generaltranslation";const o=r=>`Duplicate key found in dictionary: "${r}"`;function a(r,e=""){const t={};for(const n in r)if(r.hasOwnProperty(n)){const i=e?`${e}.${n}`:n;if("object"!=typeof r[n]||null===r[n]||Array.isArray(r[n])){if(t.hasOwnProperty(i))throw new Error(o(i));t[i]=r[n]}else{const e=a(r[n],i);for(const r in e){if(t.hasOwnProperty(r))throw new Error(o(r));t[r]=e[r]}}}return t}function s(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(r);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(t[n[i]]=r[n[i]])}return t}"function"==typeof SuppressedError&&SuppressedError;var c,l,f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function h(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if("function"==typeof e){var t=function r(){var t=!1;try{t=this instanceof r}catch{}return t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(e){var n=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:function(){return r[e]}})}),t}var p=(l||(l=1,c=function(r,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var t="boolean"==typeof e.cycles&&e.cycles,n=e.cmp&&function(r){return function(e){return function(t,n){var i={key:t,value:e[t]},o={key:n,value:e[n]};return r(i,o)}}}(e.cmp),i=[];return function r(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var o,a;if(Array.isArray(e)){for(a="[",o=0;o<e.length;o++)o&&(a+=","),a+=r(e[o])||"null";return a+"]"}if(null===e)return"null";if(-1!==i.indexOf(e)){if(t)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(e)-1,c=Object.keys(e).sort(n&&n(e));for(a="",o=0;o<c.length;o++){var l=c[o],f=r(e[l]);f&&(a&&(a+=","),a+=JSON.stringify(l)+":"+f)}return i.splice(s,1),"{"+a+"}"}}(r)}),c),d=u(p),v={exports:{}};var y,g={exports:{}},_=h(Object.freeze({__proto__:null,default:{}}));function b(){return y||(y=1,g.exports=(r=r||function(r,e){var t;if("undefined"!=typeof window&&window.crypto&&(t=window.crypto),"undefined"!=typeof self&&self.crypto&&(t=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(t=globalThis.crypto),!t&&"undefined"!=typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&void 0!==f&&f.crypto&&(t=f.crypto),!t)try{t=_}catch(r){}var n=function(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(r){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(r){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function r(){}return function(e){var t;return r.prototype=e,t=new r,r.prototype=null,t}}(),o={},a=o.lib={},s=a.Base={extend:function(r){var e=i(this);return r&&e.mixIn(r),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var r=this.extend();return r.init.apply(r,arguments),r},init:function(){},mixIn:function(r){for(var e in r)r.hasOwnProperty(e)&&(this[e]=r[e]);r.hasOwnProperty("toString")&&(this.toString=r.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=s.extend({init:function(r,t){r=this.words=r||[],this.sigBytes=t!=e?t:4*r.length},toString:function(r){return(r||u).stringify(this)},concat:function(r){var e=this.words,t=r.words,n=this.sigBytes,i=r.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var a=t[o>>>2]>>>24-o%4*8&255;e[n+o>>>2]|=a<<24-(n+o)%4*8}else for(var s=0;s<i;s+=4)e[n+s>>>2]=t[s>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=r.ceil(t/4)},clone:function(){var r=s.clone.call(this);return r.words=this.words.slice(0),r},random:function(r){for(var e=[],t=0;t<r;t+=4)e.push(n());return new c.init(e,r)}}),l=o.enc={},u=l.Hex={stringify:function(r){for(var e=r.words,t=r.sigBytes,n=[],i=0;i<t;i++){var o=e[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(r){for(var e=r.length,t=[],n=0;n<e;n+=2)t[n>>>3]|=parseInt(r.substr(n,2),16)<<24-n%8*4;return new c.init(t,e/2)}},h=l.Latin1={stringify:function(r){for(var e=r.words,t=r.sigBytes,n=[],i=0;i<t;i++){var o=e[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(r){for(var e=r.length,t=[],n=0;n<e;n++)t[n>>>2]|=(255&r.charCodeAt(n))<<24-n%4*8;return new c.init(t,e)}},p=l.Utf8={stringify:function(r){try{return decodeURIComponent(escape(h.stringify(r)))}catch(r){throw new Error("Malformed UTF-8 data")}},parse:function(r){return h.parse(unescape(encodeURIComponent(r)))}},d=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(r){"string"==typeof r&&(r=p.parse(r)),this._data.concat(r),this._nDataBytes+=r.sigBytes},_process:function(e){var t,n=this._data,i=n.words,o=n.sigBytes,a=this.blockSize,s=o/(4*a),l=(s=e?r.ceil(s):r.max((0|s)-this._minBufferSize,0))*a,f=r.min(4*l,o);if(l){for(var u=0;u<l;u+=a)this._doProcessBlock(i,u);t=i.splice(0,l),n.sigBytes-=f}return new c.init(t,f)},clone:function(){var r=s.clone.call(this);return r._data=this._data.clone(),r},_minBufferSize:0});a.Hasher=d.extend({cfg:s.extend(),init:function(r){this.cfg=this.cfg.extend(r),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(r){return this._append(r),this._process(),this},finalize:function(r){return r&&this._append(r),this._doFinalize()},blockSize:16,_createHelper:function(r){return function(e,t){return new r.init(t).finalize(e)}},_createHmacHelper:function(r){return function(e,t){return new v.HMAC.init(r,t).finalize(e)}}});var v=o.algo={};return o}(Math),r)),g.exports;var r}var x,m={exports:{}};function w(){return x||(x=1,m.exports=(a=b(),t=(e=a).lib,n=t.Base,i=t.WordArray,(o=e.x64={}).Word=n.extend({init:function(r,e){this.high=r,this.low=e}}),o.WordArray=n.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=r?t:8*e.length},toX32:function(){for(var r=this.words,e=r.length,t=[],n=0;n<e;n++){var o=r[n];t.push(o.high),t.push(o.low)}return i.create(t,this.sigBytes)},clone:function(){for(var r=n.clone.call(this),e=r.words=this.words.slice(0),t=e.length,i=0;i<t;i++)e[i]=e[i].clone();return r}}),a)),m.exports;var r,e,t,n,i,o,a}var B,k={exports:{}};function S(){return B||(B=1,k.exports=(r=b(),function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init,n=e.init=function(r){if(r instanceof ArrayBuffer&&(r=new Uint8Array(r)),(r instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&r instanceof Uint8ClampedArray||r instanceof Int16Array||r instanceof Uint16Array||r instanceof Int32Array||r instanceof Uint32Array||r instanceof Float32Array||r instanceof Float64Array)&&(r=new Uint8Array(r.buffer,r.byteOffset,r.byteLength)),r instanceof Uint8Array){for(var e=r.byteLength,n=[],i=0;i<e;i++)n[i>>>2]|=r[i]<<24-i%4*8;t.call(this,n,e)}else t.apply(this,arguments)};n.prototype=e}}(),r.lib.WordArray)),k.exports;var r}var A,O={exports:{}};function j(){return A||(A=1,O.exports=(r=b(),function(){var e=r,t=e.lib.WordArray,n=e.enc;function i(r){return r<<8&4278255360|r>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(r){for(var e=r.words,t=r.sigBytes,n=[],i=0;i<t;i+=2){var o=e[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(o))}return n.join("")},parse:function(r){for(var e=r.length,n=[],i=0;i<e;i++)n[i>>>1]|=r.charCodeAt(i)<<16-i%2*16;return t.create(n,2*e)}},n.Utf16LE={stringify:function(r){for(var e=r.words,t=r.sigBytes,n=[],o=0;o<t;o+=2){var a=i(e[o>>>2]>>>16-o%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(r){for(var e=r.length,n=[],o=0;o<e;o++)n[o>>>1]|=i(r.charCodeAt(o)<<16-o%2*16);return t.create(n,2*e)}}}(),r.enc.Utf16)),O.exports;var r}var E,H={exports:{}};function z(){return E||(E=1,H.exports=(r=b(),function(){var e=r,t=e.lib.WordArray;function n(r,e,n){for(var i=[],o=0,a=0;a<e;a++)if(a%4){var s=n[r.charCodeAt(a-1)]<<a%4*2|n[r.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=s<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64={stringify:function(r){var e=r.words,t=r.sigBytes,n=this._map;r.clamp();for(var i=[],o=0;o<t;o+=3)for(var a=(e[o>>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<t;s++)i.push(n.charAt(a>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(r){var e=r.length,t=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<t.length;o++)i[t.charCodeAt(o)]=o}var a=t.charAt(64);if(a){var s=r.indexOf(a);-1!==s&&(e=s)}return n(r,e,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)),H.exports;var r}var C,R={exports:{}};function D(){return C||(C=1,R.exports=(r=b(),function(){var e=r,t=e.lib.WordArray;function n(r,e,n){for(var i=[],o=0,a=0;a<e;a++)if(a%4){var s=n[r.charCodeAt(a-1)]<<a%4*2|n[r.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=s<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64url={stringify:function(r,e){void 0===e&&(e=!0);var t=r.words,n=r.sigBytes,i=e?this._safe_map:this._map;r.clamp();for(var o=[],a=0;a<n;a+=3)for(var s=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,c=0;c<4&&a+.75*c<n;c++)o.push(i.charAt(s>>>6*(3-c)&63));var l=i.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(r,e){void 0===e&&(e=!0);var t=r.length,i=e?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var a=0;a<i.length;a++)o[i.charCodeAt(a)]=a}var s=i.charAt(64);if(s){var c=r.indexOf(s);-1!==c&&(t=c)}return n(r,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),r.enc.Base64url)),R.exports;var r}var M,P={exports:{}};function F(){return M||(M=1,P.exports=(r=b(),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[];!function(){for(var r=0;r<64;r++)s[r]=4294967296*e.abs(e.sin(r+1))|0}();var c=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(r,e){for(var t=0;t<16;t++){var n=e+t,i=r[n];r[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=r[e+0],c=r[e+1],p=r[e+2],d=r[e+3],v=r[e+4],y=r[e+5],g=r[e+6],_=r[e+7],b=r[e+8],x=r[e+9],m=r[e+10],w=r[e+11],B=r[e+12],k=r[e+13],S=r[e+14],A=r[e+15],O=o[0],j=o[1],E=o[2],H=o[3];O=l(O,j,E,H,a,7,s[0]),H=l(H,O,j,E,c,12,s[1]),E=l(E,H,O,j,p,17,s[2]),j=l(j,E,H,O,d,22,s[3]),O=l(O,j,E,H,v,7,s[4]),H=l(H,O,j,E,y,12,s[5]),E=l(E,H,O,j,g,17,s[6]),j=l(j,E,H,O,_,22,s[7]),O=l(O,j,E,H,b,7,s[8]),H=l(H,O,j,E,x,12,s[9]),E=l(E,H,O,j,m,17,s[10]),j=l(j,E,H,O,w,22,s[11]),O=l(O,j,E,H,B,7,s[12]),H=l(H,O,j,E,k,12,s[13]),E=l(E,H,O,j,S,17,s[14]),O=f(O,j=l(j,E,H,O,A,22,s[15]),E,H,c,5,s[16]),H=f(H,O,j,E,g,9,s[17]),E=f(E,H,O,j,w,14,s[18]),j=f(j,E,H,O,a,20,s[19]),O=f(O,j,E,H,y,5,s[20]),H=f(H,O,j,E,m,9,s[21]),E=f(E,H,O,j,A,14,s[22]),j=f(j,E,H,O,v,20,s[23]),O=f(O,j,E,H,x,5,s[24]),H=f(H,O,j,E,S,9,s[25]),E=f(E,H,O,j,d,14,s[26]),j=f(j,E,H,O,b,20,s[27]),O=f(O,j,E,H,k,5,s[28]),H=f(H,O,j,E,p,9,s[29]),E=f(E,H,O,j,_,14,s[30]),O=u(O,j=f(j,E,H,O,B,20,s[31]),E,H,y,4,s[32]),H=u(H,O,j,E,b,11,s[33]),E=u(E,H,O,j,w,16,s[34]),j=u(j,E,H,O,S,23,s[35]),O=u(O,j,E,H,c,4,s[36]),H=u(H,O,j,E,v,11,s[37]),E=u(E,H,O,j,_,16,s[38]),j=u(j,E,H,O,m,23,s[39]),O=u(O,j,E,H,k,4,s[40]),H=u(H,O,j,E,a,11,s[41]),E=u(E,H,O,j,d,16,s[42]),j=u(j,E,H,O,g,23,s[43]),O=u(O,j,E,H,x,4,s[44]),H=u(H,O,j,E,B,11,s[45]),E=u(E,H,O,j,A,16,s[46]),O=h(O,j=u(j,E,H,O,p,23,s[47]),E,H,a,6,s[48]),H=h(H,O,j,E,_,10,s[49]),E=h(E,H,O,j,S,15,s[50]),j=h(j,E,H,O,y,21,s[51]),O=h(O,j,E,H,B,6,s[52]),H=h(H,O,j,E,d,10,s[53]),E=h(E,H,O,j,m,15,s[54]),j=h(j,E,H,O,c,21,s[55]),O=h(O,j,E,H,b,6,s[56]),H=h(H,O,j,E,A,10,s[57]),E=h(E,H,O,j,g,15,s[58]),j=h(j,E,H,O,k,21,s[59]),O=h(O,j,E,H,v,6,s[60]),H=h(H,O,j,E,w,10,s[61]),E=h(E,H,O,j,p,15,s[62]),j=h(j,E,H,O,x,21,s[63]),o[0]=o[0]+O|0,o[1]=o[1]+j|0,o[2]=o[2]+E|0,o[3]=o[3]+H|0},_doFinalize:function(){var r=this._data,t=r.words,n=8*this._nDataBytes,i=8*r.sigBytes;t[i>>>5]|=128<<24-i%32;var o=e.floor(n/4294967296),a=n;t[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r.sigBytes=4*(t.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var f=c[l];c[l]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}return s},clone:function(){var r=o.clone.call(this);return r._hash=this._hash.clone(),r}});function l(r,e,t,n,i,o,a){var s=r+(e&t|~e&n)+i+a;return(s<<o|s>>>32-o)+e}function f(r,e,t,n,i,o,a){var s=r+(e&n|t&~n)+i+a;return(s<<o|s>>>32-o)+e}function u(r,e,t,n,i,o,a){var s=r+(e^t^n)+i+a;return(s<<o|s>>>32-o)+e}function h(r,e,t,n,i,o,a){var s=r+(t^(e|~n))+i+a;return(s<<o|s>>>32-o)+e}t.MD5=o._createHelper(c),t.HmacMD5=o._createHmacHelper(c)}(Math),r.MD5)),P.exports;var r}var I,V={exports:{}};function W(){return I||(I=1,V.exports=(s=b(),e=(r=s).lib,t=e.WordArray,n=e.Hasher,i=r.algo,o=[],a=i.SHA1=n.extend({_doReset:function(){this._hash=new t.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,e){for(var t=this._hash.words,n=t[0],i=t[1],a=t[2],s=t[3],c=t[4],l=0;l<80;l++){if(l<16)o[l]=0|r[e+l];else{var f=o[l-3]^o[l-8]^o[l-14]^o[l-16];o[l]=f<<1|f>>>31}var u=(n<<5|n>>>27)+c+o[l];u+=l<20?1518500249+(i&a|~i&s):l<40?1859775393+(i^a^s):l<60?(i&a|i&s|a&s)-1894007588:(i^a^s)-899497514,c=s,s=a,a=i<<30|i>>>2,i=n,n=u}t[0]=t[0]+n|0,t[1]=t[1]+i|0,t[2]=t[2]+a|0,t[3]=t[3]+s|0,t[4]=t[4]+c|0},_doFinalize:function(){var r=this._data,e=r.words,t=8*this._nDataBytes,n=8*r.sigBytes;return e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=Math.floor(t/4294967296),e[15+(n+64>>>9<<4)]=t,r.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var r=n.clone.call(this);return r._hash=this._hash.clone(),r}}),r.SHA1=n._createHelper(a),r.HmacSHA1=n._createHmacHelper(a),s.SHA1)),V.exports;var r,e,t,n,i,o,a,s}var N,T={exports:{}};function K(){return N||(N=1,T.exports=(r=b(),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[],c=[];!function(){function r(r){for(var t=e.sqrt(r),n=2;n<=t;n++)if(!(r%n))return!1;return!0}function t(r){return 4294967296*(r-(0|r))|0}for(var n=2,i=0;i<64;)r(n)&&(i<8&&(s[i]=t(e.pow(n,.5))),c[i]=t(e.pow(n,1/3)),i++),n++}();var l=[],f=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(r,e){for(var t=this._hash.words,n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],f=t[5],u=t[6],h=t[7],p=0;p<64;p++){if(p<16)l[p]=0|r[e+p];else{var d=l[p-15],v=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,y=l[p-2],g=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;l[p]=v+l[p-7]+g+l[p-16]}var _=n&i^n&o^i&o,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),x=h+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&f^~s&u)+c[p]+l[p];h=u,u=f,f=s,s=a+x|0,a=o,o=i,i=n,n=x+(b+_)|0}t[0]=t[0]+n|0,t[1]=t[1]+i|0,t[2]=t[2]+o|0,t[3]=t[3]+a|0,t[4]=t[4]+s|0,t[5]=t[5]+f|0,t[6]=t[6]+u|0,t[7]=t[7]+h|0},_doFinalize:function(){var r=this._data,t=r.words,n=8*this._nDataBytes,i=8*r.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=e.floor(n/4294967296),t[15+(i+64>>>9<<4)]=n,r.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var r=o.clone.call(this);return r._hash=this._hash.clone(),r}});t.SHA256=o._createHelper(f),t.HmacSHA256=o._createHmacHelper(f)}(Math),r.SHA256)),T.exports;var r}var U,L={exports:{}};var X,$={exports:{}};function J(){return X||(X=1,$.exports=(r=b(),w(),function(){var e=r,t=e.lib.Hasher,n=e.x64,i=n.Word,o=n.WordArray,a=e.algo;function s(){return i.create.apply(i,arguments)}var c=[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)],l=[];!function(){for(var r=0;r<80;r++)l[r]=s()}();var f=a.SHA512=t.extend({_doReset:function(){this._hash=new o.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(r,e){for(var t=this._hash.words,n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],f=t[5],u=t[6],h=t[7],p=n.high,d=n.low,v=i.high,y=i.low,g=o.high,_=o.low,b=a.high,x=a.low,m=s.high,w=s.low,B=f.high,k=f.low,S=u.high,A=u.low,O=h.high,j=h.low,E=p,H=d,z=v,C=y,R=g,D=_,M=b,P=x,F=m,I=w,V=B,W=k,N=S,T=A,K=O,U=j,L=0;L<80;L++){var X,$,J=l[L];if(L<16)$=J.high=0|r[e+2*L],X=J.low=0|r[e+2*L+1];else{var Z=l[L-15],q=Z.high,G=Z.low,Q=(q>>>1|G<<31)^(q>>>8|G<<24)^q>>>7,Y=(G>>>1|q<<31)^(G>>>8|q<<24)^(G>>>7|q<<25),rr=l[L-2],er=rr.high,tr=rr.low,nr=(er>>>19|tr<<13)^(er<<3|tr>>>29)^er>>>6,ir=(tr>>>19|er<<13)^(tr<<3|er>>>29)^(tr>>>6|er<<26),or=l[L-7],ar=or.high,sr=or.low,cr=l[L-16],lr=cr.high,fr=cr.low;$=($=($=Q+ar+((X=Y+sr)>>>0<Y>>>0?1:0))+nr+((X+=ir)>>>0<ir>>>0?1:0))+lr+((X+=fr)>>>0<fr>>>0?1:0),J.high=$,J.low=X}var ur,hr=F&V^~F&N,pr=I&W^~I&T,dr=E&z^E&R^z&R,vr=H&C^H&D^C&D,yr=(E>>>28|H<<4)^(E<<30|H>>>2)^(E<<25|H>>>7),gr=(H>>>28|E<<4)^(H<<30|E>>>2)^(H<<25|E>>>7),_r=(F>>>14|I<<18)^(F>>>18|I<<14)^(F<<23|I>>>9),br=(I>>>14|F<<18)^(I>>>18|F<<14)^(I<<23|F>>>9),xr=c[L],mr=xr.high,wr=xr.low,Br=K+_r+((ur=U+br)>>>0<U>>>0?1:0),kr=gr+vr;K=N,U=T,N=V,T=W,V=F,W=I,F=M+(Br=(Br=(Br=Br+hr+((ur+=pr)>>>0<pr>>>0?1:0))+mr+((ur+=wr)>>>0<wr>>>0?1:0))+$+((ur+=X)>>>0<X>>>0?1:0))+((I=P+ur|0)>>>0<P>>>0?1:0)|0,M=R,P=D,R=z,D=C,z=E,C=H,E=Br+(yr+dr+(kr>>>0<gr>>>0?1:0))+((H=ur+kr|0)>>>0<ur>>>0?1:0)|0}d=n.low=d+H,n.high=p+E+(d>>>0<H>>>0?1:0),y=i.low=y+C,i.high=v+z+(y>>>0<C>>>0?1:0),_=o.low=_+D,o.high=g+R+(_>>>0<D>>>0?1:0),x=a.low=x+P,a.high=b+M+(x>>>0<P>>>0?1:0),w=s.low=w+I,s.high=m+F+(w>>>0<I>>>0?1:0),k=f.low=k+W,f.high=B+V+(k>>>0<W>>>0?1:0),A=u.low=A+T,u.high=S+N+(A>>>0<T>>>0?1:0),j=h.low=j+U,h.high=O+K+(j>>>0<U>>>0?1:0)},_doFinalize:function(){var r=this._data,e=r.words,t=8*this._nDataBytes,n=8*r.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(t/4294967296),e[31+(n+128>>>10<<5)]=t,r.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var r=t.clone.call(this);return r._hash=this._hash.clone(),r},blockSize:32});e.SHA512=t._createHelper(f),e.HmacSHA512=t._createHmacHelper(f)}(),r.SHA512)),$.exports;var r}var Z,q={exports:{}};var G,Q={exports:{}};function Y(){return G||(G=1,Q.exports=(r=b(),w(),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.x64.Word,s=t.algo,c=[],l=[],f=[];!function(){for(var r=1,e=0,t=0;t<24;t++){c[r+5*e]=(t+1)*(t+2)/2%64;var n=(2*r+3*e)%5;r=e%5,e=n}for(r=0;r<5;r++)for(e=0;e<5;e++)l[r+5*e]=e+(2*r+3*e)%5*5;for(var i=1,o=0;o<24;o++){for(var s=0,u=0,h=0;h<7;h++){if(1&i){var p=(1<<h)-1;p<32?u^=1<<p:s^=1<<p-32}128&i?i=i<<1^113:i<<=1}f[o]=a.create(s,u)}}();var u=[];!function(){for(var r=0;r<25;r++)u[r]=a.create()}();var h=s.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var r=this._state=[],e=0;e<25;e++)r[e]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(r,e){for(var t=this._state,n=this.blockSize/2,i=0;i<n;i++){var o=r[e+2*i],a=r[e+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(j=t[i]).high^=a,j.low^=o}for(var s=0;s<24;s++){for(var h=0;h<5;h++){for(var p=0,d=0,v=0;v<5;v++)p^=(j=t[h+5*v]).high,d^=j.low;var y=u[h];y.high=p,y.low=d}for(h=0;h<5;h++){var g=u[(h+4)%5],_=u[(h+1)%5],b=_.high,x=_.low;for(p=g.high^(b<<1|x>>>31),d=g.low^(x<<1|b>>>31),v=0;v<5;v++)(j=t[h+5*v]).high^=p,j.low^=d}for(var m=1;m<25;m++){var w=(j=t[m]).high,B=j.low,k=c[m];k<32?(p=w<<k|B>>>32-k,d=B<<k|w>>>32-k):(p=B<<k-32|w>>>64-k,d=w<<k-32|B>>>64-k);var S=u[l[m]];S.high=p,S.low=d}var A=u[0],O=t[0];for(A.high=O.high,A.low=O.low,h=0;h<5;h++)for(v=0;v<5;v++){var j=t[m=h+5*v],E=u[m],H=u[(h+1)%5+5*v],z=u[(h+2)%5+5*v];j.high=E.high^~H.high&z.high,j.low=E.low^~H.low&z.low}j=t[0];var C=f[s];j.high^=C.high,j.low^=C.low}},_doFinalize:function(){var r=this._data,t=r.words;this._nDataBytes;var n=8*r.sigBytes,o=32*this.blockSize;t[n>>>5]|=1<<24-n%32,t[(e.ceil((n+1)/o)*o>>>5)-1]|=128,r.sigBytes=4*t.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],f=0;f<c;f++){var u=a[f],h=u.high,p=u.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),l.push(p),l.push(h)}return new i.init(l,s)},clone:function(){for(var r=o.clone.call(this),e=r._state=this._state.slice(0),t=0;t<25;t++)e[t]=e[t].clone();return r}});t.SHA3=o._createHelper(h),t.HmacSHA3=o._createHmacHelper(h)}(Math),r.SHA3)),Q.exports;var r}var rr,er={exports:{}};var tr,nr={exports:{}};function ir(){return tr||(tr=1,nr.exports=(r=b(),t=(e=r).lib.Base,n=e.enc.Utf8,void(e.algo.HMAC=t.extend({init:function(r,e){r=this._hasher=new r.init,"string"==typeof e&&(e=n.parse(e));var t=r.blockSize,i=4*t;e.sigBytes>i&&(e=r.finalize(e)),e.clamp();for(var o=this._oKey=e.clone(),a=this._iKey=e.clone(),s=o.words,c=a.words,l=0;l<t;l++)s[l]^=1549556828,c[l]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var r=this._hasher;r.reset(),r.update(this._iKey)},update:function(r){return this._hasher.update(r),this},finalize:function(r){var e=this._hasher,t=e.finalize(r);return e.reset(),e.finalize(this._oKey.clone().concat(t))}})))),nr.exports;var r,e,t,n}var or,ar={exports:{}};var sr,cr={exports:{}};function lr(){return sr||(sr=1,cr.exports=(s=b(),W(),ir(),e=(r=s).lib,t=e.Base,n=e.WordArray,i=r.algo,o=i.MD5,a=i.EvpKDF=t.extend({cfg:t.extend({keySize:4,hasher:o,iterations:1}),init:function(r){this.cfg=this.cfg.extend(r)},compute:function(r,e){for(var t,i=this.cfg,o=i.hasher.create(),a=n.create(),s=a.words,c=i.keySize,l=i.iterations;s.length<c;){t&&o.update(t),t=o.update(r).finalize(e),o.reset();for(var f=1;f<l;f++)t=o.finalize(t),o.reset();a.concat(t)}return a.sigBytes=4*c,a}}),r.EvpKDF=function(r,e,t){return a.create(t).compute(r,e)},s.EvpKDF)),cr.exports;var r,e,t,n,i,o,a,s}var fr,ur={exports:{}};function hr(){return fr||(fr=1,ur.exports=(r=b(),lr(),void(r.lib.Cipher||function(e){var t=r,n=t.lib,i=n.Base,o=n.WordArray,a=n.BufferedBlockAlgorithm,s=t.enc;s.Utf8;var c=s.Base64,l=t.algo.EvpKDF,f=n.Cipher=a.extend({cfg:i.extend(),createEncryptor:function(r,e){return this.create(this._ENC_XFORM_MODE,r,e)},createDecryptor:function(r,e){return this.create(this._DEC_XFORM_MODE,r,e)},init:function(r,e,t){this.cfg=this.cfg.extend(t),this._xformMode=r,this._key=e,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(r){return this._append(r),this._process()},finalize:function(r){return r&&this._append(r),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function r(r){return"string"==typeof r?b:g}return function(e){return{encrypt:function(t,n,i){return r(n).encrypt(e,t,n,i)},decrypt:function(t,n,i){return r(n).decrypt(e,t,n,i)}}}}()});n.StreamCipher=f.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var u=t.mode={},h=n.BlockCipherMode=i.extend({createEncryptor:function(r,e){return this.Encryptor.create(r,e)},createDecryptor:function(r,e){return this.Decryptor.create(r,e)},init:function(r,e){this._cipher=r,this._iv=e}}),p=u.CBC=function(){var r=h.extend();function t(r,t,n){var i,o=this._iv;o?(i=o,this._iv=e):i=this._prevBlock;for(var a=0;a<n;a++)r[t+a]^=i[a]}return r.Encryptor=r.extend({processBlock:function(r,e){var n=this._cipher,i=n.blockSize;t.call(this,r,e,i),n.encryptBlock(r,e),this._prevBlock=r.slice(e,e+i)}}),r.Decryptor=r.extend({processBlock:function(r,e){var n=this._cipher,i=n.blockSize,o=r.slice(e,e+i);n.decryptBlock(r,e),t.call(this,r,e,i),this._prevBlock=o}}),r}(),d=(t.pad={}).Pkcs7={pad:function(r,e){for(var t=4*e,n=t-r.sigBytes%t,i=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(i);var c=o.create(a,n);r.concat(c)},unpad:function(r){var e=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=e}};n.BlockCipher=f.extend({cfg:f.cfg.extend({mode:p,padding:d}),reset:function(){var r;f.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;this._xformMode==this._ENC_XFORM_MODE?r=n.createEncryptor:(r=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==r?this._mode.init(this,t&&t.words):(this._mode=r.call(n,this,t&&t.words),this._mode.__creator=r)},_doProcessBlock:function(r,e){this._mode.processBlock(r,e)},_doFinalize:function(){var r,e=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(e.pad(this._data,this.blockSize),r=this._process(!0)):(r=this._process(!0),e.unpad(r)),r},blockSize:4});var v=n.CipherParams=i.extend({init:function(r){this.mixIn(r)},toString:function(r){return(r||this.formatter).stringify(this)}}),y=(t.format={}).OpenSSL={stringify:function(r){var e=r.ciphertext,t=r.salt;return(t?o.create([1398893684,1701076831]).concat(t).concat(e):e).toString(c)},parse:function(r){var e,t=c.parse(r),n=t.words;return 1398893684==n[0]&&1701076831==n[1]&&(e=o.create(n.slice(2,4)),n.splice(0,4),t.sigBytes-=16),v.create({ciphertext:t,salt:e})}},g=n.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(r,e,t,n){n=this.cfg.extend(n);var i=r.createEncryptor(t,n),o=i.finalize(e),a=i.cfg;return v.create({ciphertext:o,key:t,iv:a.iv,algorithm:r,mode:a.mode,padding:a.padding,blockSize:r.blockSize,formatter:n.format})},decrypt:function(r,e,t,n){return n=this.cfg.extend(n),e=this._parse(e,n.format),r.createDecryptor(t,n).finalize(e.ciphertext)},_parse:function(r,e){return"string"==typeof r?e.parse(r,this):r}}),_=(t.kdf={}).OpenSSL={execute:function(r,e,t,n,i){if(n||(n=o.random(8)),i)a=l.create({keySize:e+t,hasher:i}).compute(r,n);else var a=l.create({keySize:e+t}).compute(r,n);var s=o.create(a.words.slice(e),4*t);return a.sigBytes=4*e,v.create({key:a,iv:s,salt:n})}},b=n.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:_}),encrypt:function(r,e,t,n){var i=(n=this.cfg.extend(n)).kdf.execute(t,r.keySize,r.ivSize,n.salt,n.hasher);n.iv=i.iv;var o=g.encrypt.call(this,r,e,i.key,n);return o.mixIn(i),o},decrypt:function(r,e,t,n){n=this.cfg.extend(n),e=this._parse(e,n.format);var i=n.kdf.execute(t,r.keySize,r.ivSize,e.salt,n.hasher);return n.iv=i.iv,g.decrypt.call(this,r,e,i.key,n)}})}()))),ur.exports;var r}var pr,dr={exports:{}};function vr(){return pr||(pr=1,dr.exports=(r=b(),hr(),r.mode.CFB=function(){var e=r.lib.BlockCipherMode.extend();function t(r,e,t,n){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,n.encryptBlock(i,0);for(var a=0;a<t;a++)r[e+a]^=i[a]}return e.Encryptor=e.extend({processBlock:function(r,e){var n=this._cipher,i=n.blockSize;t.call(this,r,e,i,n),this._prevBlock=r.slice(e,e+i)}}),e.Decryptor=e.extend({processBlock:function(r,e){var n=this._cipher,i=n.blockSize,o=r.slice(e,e+i);t.call(this,r,e,i,n),this._prevBlock=o}}),e}(),r.mode.CFB)),dr.exports;var r}var yr,gr={exports:{}};function _r(){return yr||(yr=1,gr.exports=(t=b(),hr(),t.mode.CTR=(r=t.lib.BlockCipherMode.extend(),e=r.Encryptor=r.extend({processBlock:function(r,e){var t=this._cipher,n=t.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var a=o.slice(0);t.encryptBlock(a,0),o[n-1]=o[n-1]+1|0;for(var s=0;s<n;s++)r[e+s]^=a[s]}}),r.Decryptor=e,r),t.mode.CTR)),gr.exports;var r,e,t}var br,xr={exports:{}};function mr(){return br||(br=1,xr.exports=(r=b(),hr(),
|
|
1
|
+
import*as r from"react";import e,{isValidElement as t}from"react";import{jsx as n}from"react/jsx-runtime";import{formatMessage as i}from"generaltranslation";const o=r=>`Duplicate key found in dictionary: "${r}"`;function a(r,e=""){const t={};for(const n in r)if(r.hasOwnProperty(n)){const i=e?`${e}.${n}`:n;if("object"!=typeof r[n]||null===r[n]||Array.isArray(r[n])){if(t.hasOwnProperty(i))throw new Error(o(i));t[i]=r[n]}else{const e=a(r[n],i);for(const r in e){if(t.hasOwnProperty(r))throw new Error(o(r));t[r]=e[r]}}}return t}function s(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(r);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(t[n[i]]=r[n[i]])}return t}"function"==typeof SuppressedError&&SuppressedError;var c,l,f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function h(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if("function"==typeof e){var t=function r(){var t=!1;try{t=this instanceof r}catch{}return t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(e){var n=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:function(){return r[e]}})}),t}var p=(l||(l=1,c=function(r,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var t="boolean"==typeof e.cycles&&e.cycles,n=e.cmp&&function(r){return function(e){return function(t,n){var i={key:t,value:e[t]},o={key:n,value:e[n]};return r(i,o)}}}(e.cmp),i=[];return function r(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var o,a;if(Array.isArray(e)){for(a="[",o=0;o<e.length;o++)o&&(a+=","),a+=r(e[o])||"null";return a+"]"}if(null===e)return"null";if(-1!==i.indexOf(e)){if(t)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(e)-1,c=Object.keys(e).sort(n&&n(e));for(a="",o=0;o<c.length;o++){var l=c[o],f=r(e[l]);f&&(a&&(a+=","),a+=JSON.stringify(l)+":"+f)}return i.splice(s,1),"{"+a+"}"}}(r)}),c),d=u(p),v={exports:{}};var y,g={exports:{}},_=h(Object.freeze({__proto__:null,default:{}}));function b(){return y||(y=1,g.exports=(r=r||function(r,e){var t;if("undefined"!=typeof window&&window.crypto&&(t=window.crypto),"undefined"!=typeof self&&self.crypto&&(t=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(t=globalThis.crypto),!t&&"undefined"!=typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&void 0!==f&&f.crypto&&(t=f.crypto),!t)try{t=_}catch(r){}var n=function(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(r){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(r){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function r(){}return function(e){var t;return r.prototype=e,t=new r,r.prototype=null,t}}(),o={},a=o.lib={},s=a.Base={extend:function(r){var e=i(this);return r&&e.mixIn(r),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var r=this.extend();return r.init.apply(r,arguments),r},init:function(){},mixIn:function(r){for(var e in r)r.hasOwnProperty(e)&&(this[e]=r[e]);r.hasOwnProperty("toString")&&(this.toString=r.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=s.extend({init:function(r,t){r=this.words=r||[],this.sigBytes=t!=e?t:4*r.length},toString:function(r){return(r||u).stringify(this)},concat:function(r){var e=this.words,t=r.words,n=this.sigBytes,i=r.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var a=t[o>>>2]>>>24-o%4*8&255;e[n+o>>>2]|=a<<24-(n+o)%4*8}else for(var s=0;s<i;s+=4)e[n+s>>>2]=t[s>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=r.ceil(t/4)},clone:function(){var r=s.clone.call(this);return r.words=this.words.slice(0),r},random:function(r){for(var e=[],t=0;t<r;t+=4)e.push(n());return new c.init(e,r)}}),l=o.enc={},u=l.Hex={stringify:function(r){for(var e=r.words,t=r.sigBytes,n=[],i=0;i<t;i++){var o=e[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(r){for(var e=r.length,t=[],n=0;n<e;n+=2)t[n>>>3]|=parseInt(r.substr(n,2),16)<<24-n%8*4;return new c.init(t,e/2)}},h=l.Latin1={stringify:function(r){for(var e=r.words,t=r.sigBytes,n=[],i=0;i<t;i++){var o=e[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(r){for(var e=r.length,t=[],n=0;n<e;n++)t[n>>>2]|=(255&r.charCodeAt(n))<<24-n%4*8;return new c.init(t,e)}},p=l.Utf8={stringify:function(r){try{return decodeURIComponent(escape(h.stringify(r)))}catch(r){throw new Error("Malformed UTF-8 data")}},parse:function(r){return h.parse(unescape(encodeURIComponent(r)))}},d=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(r){"string"==typeof r&&(r=p.parse(r)),this._data.concat(r),this._nDataBytes+=r.sigBytes},_process:function(e){var t,n=this._data,i=n.words,o=n.sigBytes,a=this.blockSize,s=o/(4*a),l=(s=e?r.ceil(s):r.max((0|s)-this._minBufferSize,0))*a,f=r.min(4*l,o);if(l){for(var u=0;u<l;u+=a)this._doProcessBlock(i,u);t=i.splice(0,l),n.sigBytes-=f}return new c.init(t,f)},clone:function(){var r=s.clone.call(this);return r._data=this._data.clone(),r},_minBufferSize:0});a.Hasher=d.extend({cfg:s.extend(),init:function(r){this.cfg=this.cfg.extend(r),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(r){return this._append(r),this._process(),this},finalize:function(r){return r&&this._append(r),this._doFinalize()},blockSize:16,_createHelper:function(r){return function(e,t){return new r.init(t).finalize(e)}},_createHmacHelper:function(r){return function(e,t){return new v.HMAC.init(r,t).finalize(e)}}});var v=o.algo={};return o}(Math),r)),g.exports;var r}var x,m={exports:{}};function w(){return x||(x=1,m.exports=(a=b(),t=(e=a).lib,n=t.Base,i=t.WordArray,(o=e.x64={}).Word=n.extend({init:function(r,e){this.high=r,this.low=e}}),o.WordArray=n.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=r?t:8*e.length},toX32:function(){for(var r=this.words,e=r.length,t=[],n=0;n<e;n++){var o=r[n];t.push(o.high),t.push(o.low)}return i.create(t,this.sigBytes)},clone:function(){for(var r=n.clone.call(this),e=r.words=this.words.slice(0),t=e.length,i=0;i<t;i++)e[i]=e[i].clone();return r}}),a)),m.exports;var r,e,t,n,i,o,a}var B,k={exports:{}};function S(){return B||(B=1,k.exports=(r=b(),function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init,n=e.init=function(r){if(r instanceof ArrayBuffer&&(r=new Uint8Array(r)),(r instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&r instanceof Uint8ClampedArray||r instanceof Int16Array||r instanceof Uint16Array||r instanceof Int32Array||r instanceof Uint32Array||r instanceof Float32Array||r instanceof Float64Array)&&(r=new Uint8Array(r.buffer,r.byteOffset,r.byteLength)),r instanceof Uint8Array){for(var e=r.byteLength,n=[],i=0;i<e;i++)n[i>>>2]|=r[i]<<24-i%4*8;t.call(this,n,e)}else t.apply(this,arguments)};n.prototype=e}}(),r.lib.WordArray)),k.exports;var r}var A,O={exports:{}};function j(){return A||(A=1,O.exports=(r=b(),function(){var e=r,t=e.lib.WordArray,n=e.enc;function i(r){return r<<8&4278255360|r>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(r){for(var e=r.words,t=r.sigBytes,n=[],i=0;i<t;i+=2){var o=e[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(o))}return n.join("")},parse:function(r){for(var e=r.length,n=[],i=0;i<e;i++)n[i>>>1]|=r.charCodeAt(i)<<16-i%2*16;return t.create(n,2*e)}},n.Utf16LE={stringify:function(r){for(var e=r.words,t=r.sigBytes,n=[],o=0;o<t;o+=2){var a=i(e[o>>>2]>>>16-o%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(r){for(var e=r.length,n=[],o=0;o<e;o++)n[o>>>1]|=i(r.charCodeAt(o)<<16-o%2*16);return t.create(n,2*e)}}}(),r.enc.Utf16)),O.exports;var r}var E,H={exports:{}};function z(){return E||(E=1,H.exports=(r=b(),function(){var e=r,t=e.lib.WordArray;function n(r,e,n){for(var i=[],o=0,a=0;a<e;a++)if(a%4){var s=n[r.charCodeAt(a-1)]<<a%4*2|n[r.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=s<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64={stringify:function(r){var e=r.words,t=r.sigBytes,n=this._map;r.clamp();for(var i=[],o=0;o<t;o+=3)for(var a=(e[o>>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<t;s++)i.push(n.charAt(a>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(r){var e=r.length,t=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<t.length;o++)i[t.charCodeAt(o)]=o}var a=t.charAt(64);if(a){var s=r.indexOf(a);-1!==s&&(e=s)}return n(r,e,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)),H.exports;var r}var C,R={exports:{}};function D(){return C||(C=1,R.exports=(r=b(),function(){var e=r,t=e.lib.WordArray;function n(r,e,n){for(var i=[],o=0,a=0;a<e;a++)if(a%4){var s=n[r.charCodeAt(a-1)]<<a%4*2|n[r.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=s<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64url={stringify:function(r,e){void 0===e&&(e=!0);var t=r.words,n=r.sigBytes,i=e?this._safe_map:this._map;r.clamp();for(var o=[],a=0;a<n;a+=3)for(var s=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,c=0;c<4&&a+.75*c<n;c++)o.push(i.charAt(s>>>6*(3-c)&63));var l=i.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(r,e){void 0===e&&(e=!0);var t=r.length,i=e?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var a=0;a<i.length;a++)o[i.charCodeAt(a)]=a}var s=i.charAt(64);if(s){var c=r.indexOf(s);-1!==c&&(t=c)}return n(r,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),r.enc.Base64url)),R.exports;var r}var M,P={exports:{}};function F(){return M||(M=1,P.exports=(r=b(),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[];!function(){for(var r=0;r<64;r++)s[r]=4294967296*e.abs(e.sin(r+1))|0}();var c=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(r,e){for(var t=0;t<16;t++){var n=e+t,i=r[n];r[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=r[e+0],c=r[e+1],p=r[e+2],d=r[e+3],v=r[e+4],y=r[e+5],g=r[e+6],_=r[e+7],b=r[e+8],x=r[e+9],m=r[e+10],w=r[e+11],B=r[e+12],k=r[e+13],S=r[e+14],A=r[e+15],O=o[0],j=o[1],E=o[2],H=o[3];O=l(O,j,E,H,a,7,s[0]),H=l(H,O,j,E,c,12,s[1]),E=l(E,H,O,j,p,17,s[2]),j=l(j,E,H,O,d,22,s[3]),O=l(O,j,E,H,v,7,s[4]),H=l(H,O,j,E,y,12,s[5]),E=l(E,H,O,j,g,17,s[6]),j=l(j,E,H,O,_,22,s[7]),O=l(O,j,E,H,b,7,s[8]),H=l(H,O,j,E,x,12,s[9]),E=l(E,H,O,j,m,17,s[10]),j=l(j,E,H,O,w,22,s[11]),O=l(O,j,E,H,B,7,s[12]),H=l(H,O,j,E,k,12,s[13]),E=l(E,H,O,j,S,17,s[14]),O=f(O,j=l(j,E,H,O,A,22,s[15]),E,H,c,5,s[16]),H=f(H,O,j,E,g,9,s[17]),E=f(E,H,O,j,w,14,s[18]),j=f(j,E,H,O,a,20,s[19]),O=f(O,j,E,H,y,5,s[20]),H=f(H,O,j,E,m,9,s[21]),E=f(E,H,O,j,A,14,s[22]),j=f(j,E,H,O,v,20,s[23]),O=f(O,j,E,H,x,5,s[24]),H=f(H,O,j,E,S,9,s[25]),E=f(E,H,O,j,d,14,s[26]),j=f(j,E,H,O,b,20,s[27]),O=f(O,j,E,H,k,5,s[28]),H=f(H,O,j,E,p,9,s[29]),E=f(E,H,O,j,_,14,s[30]),O=u(O,j=f(j,E,H,O,B,20,s[31]),E,H,y,4,s[32]),H=u(H,O,j,E,b,11,s[33]),E=u(E,H,O,j,w,16,s[34]),j=u(j,E,H,O,S,23,s[35]),O=u(O,j,E,H,c,4,s[36]),H=u(H,O,j,E,v,11,s[37]),E=u(E,H,O,j,_,16,s[38]),j=u(j,E,H,O,m,23,s[39]),O=u(O,j,E,H,k,4,s[40]),H=u(H,O,j,E,a,11,s[41]),E=u(E,H,O,j,d,16,s[42]),j=u(j,E,H,O,g,23,s[43]),O=u(O,j,E,H,x,4,s[44]),H=u(H,O,j,E,B,11,s[45]),E=u(E,H,O,j,A,16,s[46]),O=h(O,j=u(j,E,H,O,p,23,s[47]),E,H,a,6,s[48]),H=h(H,O,j,E,_,10,s[49]),E=h(E,H,O,j,S,15,s[50]),j=h(j,E,H,O,y,21,s[51]),O=h(O,j,E,H,B,6,s[52]),H=h(H,O,j,E,d,10,s[53]),E=h(E,H,O,j,m,15,s[54]),j=h(j,E,H,O,c,21,s[55]),O=h(O,j,E,H,b,6,s[56]),H=h(H,O,j,E,A,10,s[57]),E=h(E,H,O,j,g,15,s[58]),j=h(j,E,H,O,k,21,s[59]),O=h(O,j,E,H,v,6,s[60]),H=h(H,O,j,E,w,10,s[61]),E=h(E,H,O,j,p,15,s[62]),j=h(j,E,H,O,x,21,s[63]),o[0]=o[0]+O|0,o[1]=o[1]+j|0,o[2]=o[2]+E|0,o[3]=o[3]+H|0},_doFinalize:function(){var r=this._data,t=r.words,n=8*this._nDataBytes,i=8*r.sigBytes;t[i>>>5]|=128<<24-i%32;var o=e.floor(n/4294967296),a=n;t[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r.sigBytes=4*(t.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var f=c[l];c[l]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}return s},clone:function(){var r=o.clone.call(this);return r._hash=this._hash.clone(),r}});function l(r,e,t,n,i,o,a){var s=r+(e&t|~e&n)+i+a;return(s<<o|s>>>32-o)+e}function f(r,e,t,n,i,o,a){var s=r+(e&n|t&~n)+i+a;return(s<<o|s>>>32-o)+e}function u(r,e,t,n,i,o,a){var s=r+(e^t^n)+i+a;return(s<<o|s>>>32-o)+e}function h(r,e,t,n,i,o,a){var s=r+(t^(e|~n))+i+a;return(s<<o|s>>>32-o)+e}t.MD5=o._createHelper(c),t.HmacMD5=o._createHmacHelper(c)}(Math),r.MD5)),P.exports;var r}var I,V={exports:{}};function W(){return I||(I=1,V.exports=(s=b(),e=(r=s).lib,t=e.WordArray,n=e.Hasher,i=r.algo,o=[],a=i.SHA1=n.extend({_doReset:function(){this._hash=new t.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,e){for(var t=this._hash.words,n=t[0],i=t[1],a=t[2],s=t[3],c=t[4],l=0;l<80;l++){if(l<16)o[l]=0|r[e+l];else{var f=o[l-3]^o[l-8]^o[l-14]^o[l-16];o[l]=f<<1|f>>>31}var u=(n<<5|n>>>27)+c+o[l];u+=l<20?1518500249+(i&a|~i&s):l<40?1859775393+(i^a^s):l<60?(i&a|i&s|a&s)-1894007588:(i^a^s)-899497514,c=s,s=a,a=i<<30|i>>>2,i=n,n=u}t[0]=t[0]+n|0,t[1]=t[1]+i|0,t[2]=t[2]+a|0,t[3]=t[3]+s|0,t[4]=t[4]+c|0},_doFinalize:function(){var r=this._data,e=r.words,t=8*this._nDataBytes,n=8*r.sigBytes;return e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=Math.floor(t/4294967296),e[15+(n+64>>>9<<4)]=t,r.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var r=n.clone.call(this);return r._hash=this._hash.clone(),r}}),r.SHA1=n._createHelper(a),r.HmacSHA1=n._createHmacHelper(a),s.SHA1)),V.exports;var r,e,t,n,i,o,a,s}var N,T={exports:{}};function K(){return N||(N=1,T.exports=(r=b(),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[],c=[];!function(){function r(r){for(var t=e.sqrt(r),n=2;n<=t;n++)if(!(r%n))return!1;return!0}function t(r){return 4294967296*(r-(0|r))|0}for(var n=2,i=0;i<64;)r(n)&&(i<8&&(s[i]=t(e.pow(n,.5))),c[i]=t(e.pow(n,1/3)),i++),n++}();var l=[],f=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(r,e){for(var t=this._hash.words,n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],f=t[5],u=t[6],h=t[7],p=0;p<64;p++){if(p<16)l[p]=0|r[e+p];else{var d=l[p-15],v=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,y=l[p-2],g=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;l[p]=v+l[p-7]+g+l[p-16]}var _=n&i^n&o^i&o,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),x=h+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&f^~s&u)+c[p]+l[p];h=u,u=f,f=s,s=a+x|0,a=o,o=i,i=n,n=x+(b+_)|0}t[0]=t[0]+n|0,t[1]=t[1]+i|0,t[2]=t[2]+o|0,t[3]=t[3]+a|0,t[4]=t[4]+s|0,t[5]=t[5]+f|0,t[6]=t[6]+u|0,t[7]=t[7]+h|0},_doFinalize:function(){var r=this._data,t=r.words,n=8*this._nDataBytes,i=8*r.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=e.floor(n/4294967296),t[15+(i+64>>>9<<4)]=n,r.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var r=o.clone.call(this);return r._hash=this._hash.clone(),r}});t.SHA256=o._createHelper(f),t.HmacSHA256=o._createHmacHelper(f)}(Math),r.SHA256)),T.exports;var r}var U,$={exports:{}};var L,X={exports:{}};function J(){return L||(L=1,X.exports=(r=b(),w(),function(){var e=r,t=e.lib.Hasher,n=e.x64,i=n.Word,o=n.WordArray,a=e.algo;function s(){return i.create.apply(i,arguments)}var c=[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)],l=[];!function(){for(var r=0;r<80;r++)l[r]=s()}();var f=a.SHA512=t.extend({_doReset:function(){this._hash=new o.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(r,e){for(var t=this._hash.words,n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],f=t[5],u=t[6],h=t[7],p=n.high,d=n.low,v=i.high,y=i.low,g=o.high,_=o.low,b=a.high,x=a.low,m=s.high,w=s.low,B=f.high,k=f.low,S=u.high,A=u.low,O=h.high,j=h.low,E=p,H=d,z=v,C=y,R=g,D=_,M=b,P=x,F=m,I=w,V=B,W=k,N=S,T=A,K=O,U=j,$=0;$<80;$++){var L,X,J=l[$];if($<16)X=J.high=0|r[e+2*$],L=J.low=0|r[e+2*$+1];else{var Z=l[$-15],q=Z.high,G=Z.low,Q=(q>>>1|G<<31)^(q>>>8|G<<24)^q>>>7,Y=(G>>>1|q<<31)^(G>>>8|q<<24)^(G>>>7|q<<25),rr=l[$-2],er=rr.high,tr=rr.low,nr=(er>>>19|tr<<13)^(er<<3|tr>>>29)^er>>>6,ir=(tr>>>19|er<<13)^(tr<<3|er>>>29)^(tr>>>6|er<<26),or=l[$-7],ar=or.high,sr=or.low,cr=l[$-16],lr=cr.high,fr=cr.low;X=(X=(X=Q+ar+((L=Y+sr)>>>0<Y>>>0?1:0))+nr+((L+=ir)>>>0<ir>>>0?1:0))+lr+((L+=fr)>>>0<fr>>>0?1:0),J.high=X,J.low=L}var ur,hr=F&V^~F&N,pr=I&W^~I&T,dr=E&z^E&R^z&R,vr=H&C^H&D^C&D,yr=(E>>>28|H<<4)^(E<<30|H>>>2)^(E<<25|H>>>7),gr=(H>>>28|E<<4)^(H<<30|E>>>2)^(H<<25|E>>>7),_r=(F>>>14|I<<18)^(F>>>18|I<<14)^(F<<23|I>>>9),br=(I>>>14|F<<18)^(I>>>18|F<<14)^(I<<23|F>>>9),xr=c[$],mr=xr.high,wr=xr.low,Br=K+_r+((ur=U+br)>>>0<U>>>0?1:0),kr=gr+vr;K=N,U=T,N=V,T=W,V=F,W=I,F=M+(Br=(Br=(Br=Br+hr+((ur+=pr)>>>0<pr>>>0?1:0))+mr+((ur+=wr)>>>0<wr>>>0?1:0))+X+((ur+=L)>>>0<L>>>0?1:0))+((I=P+ur|0)>>>0<P>>>0?1:0)|0,M=R,P=D,R=z,D=C,z=E,C=H,E=Br+(yr+dr+(kr>>>0<gr>>>0?1:0))+((H=ur+kr|0)>>>0<ur>>>0?1:0)|0}d=n.low=d+H,n.high=p+E+(d>>>0<H>>>0?1:0),y=i.low=y+C,i.high=v+z+(y>>>0<C>>>0?1:0),_=o.low=_+D,o.high=g+R+(_>>>0<D>>>0?1:0),x=a.low=x+P,a.high=b+M+(x>>>0<P>>>0?1:0),w=s.low=w+I,s.high=m+F+(w>>>0<I>>>0?1:0),k=f.low=k+W,f.high=B+V+(k>>>0<W>>>0?1:0),A=u.low=A+T,u.high=S+N+(A>>>0<T>>>0?1:0),j=h.low=j+U,h.high=O+K+(j>>>0<U>>>0?1:0)},_doFinalize:function(){var r=this._data,e=r.words,t=8*this._nDataBytes,n=8*r.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(t/4294967296),e[31+(n+128>>>10<<5)]=t,r.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var r=t.clone.call(this);return r._hash=this._hash.clone(),r},blockSize:32});e.SHA512=t._createHelper(f),e.HmacSHA512=t._createHmacHelper(f)}(),r.SHA512)),X.exports;var r}var Z,q={exports:{}};var G,Q={exports:{}};function Y(){return G||(G=1,Q.exports=(r=b(),w(),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.x64.Word,s=t.algo,c=[],l=[],f=[];!function(){for(var r=1,e=0,t=0;t<24;t++){c[r+5*e]=(t+1)*(t+2)/2%64;var n=(2*r+3*e)%5;r=e%5,e=n}for(r=0;r<5;r++)for(e=0;e<5;e++)l[r+5*e]=e+(2*r+3*e)%5*5;for(var i=1,o=0;o<24;o++){for(var s=0,u=0,h=0;h<7;h++){if(1&i){var p=(1<<h)-1;p<32?u^=1<<p:s^=1<<p-32}128&i?i=i<<1^113:i<<=1}f[o]=a.create(s,u)}}();var u=[];!function(){for(var r=0;r<25;r++)u[r]=a.create()}();var h=s.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var r=this._state=[],e=0;e<25;e++)r[e]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(r,e){for(var t=this._state,n=this.blockSize/2,i=0;i<n;i++){var o=r[e+2*i],a=r[e+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(j=t[i]).high^=a,j.low^=o}for(var s=0;s<24;s++){for(var h=0;h<5;h++){for(var p=0,d=0,v=0;v<5;v++)p^=(j=t[h+5*v]).high,d^=j.low;var y=u[h];y.high=p,y.low=d}for(h=0;h<5;h++){var g=u[(h+4)%5],_=u[(h+1)%5],b=_.high,x=_.low;for(p=g.high^(b<<1|x>>>31),d=g.low^(x<<1|b>>>31),v=0;v<5;v++)(j=t[h+5*v]).high^=p,j.low^=d}for(var m=1;m<25;m++){var w=(j=t[m]).high,B=j.low,k=c[m];k<32?(p=w<<k|B>>>32-k,d=B<<k|w>>>32-k):(p=B<<k-32|w>>>64-k,d=w<<k-32|B>>>64-k);var S=u[l[m]];S.high=p,S.low=d}var A=u[0],O=t[0];for(A.high=O.high,A.low=O.low,h=0;h<5;h++)for(v=0;v<5;v++){var j=t[m=h+5*v],E=u[m],H=u[(h+1)%5+5*v],z=u[(h+2)%5+5*v];j.high=E.high^~H.high&z.high,j.low=E.low^~H.low&z.low}j=t[0];var C=f[s];j.high^=C.high,j.low^=C.low}},_doFinalize:function(){var r=this._data,t=r.words;this._nDataBytes;var n=8*r.sigBytes,o=32*this.blockSize;t[n>>>5]|=1<<24-n%32,t[(e.ceil((n+1)/o)*o>>>5)-1]|=128,r.sigBytes=4*t.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],f=0;f<c;f++){var u=a[f],h=u.high,p=u.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),l.push(p),l.push(h)}return new i.init(l,s)},clone:function(){for(var r=o.clone.call(this),e=r._state=this._state.slice(0),t=0;t<25;t++)e[t]=e[t].clone();return r}});t.SHA3=o._createHelper(h),t.HmacSHA3=o._createHmacHelper(h)}(Math),r.SHA3)),Q.exports;var r}var rr,er={exports:{}};var tr,nr={exports:{}};function ir(){return tr||(tr=1,nr.exports=(r=b(),t=(e=r).lib.Base,n=e.enc.Utf8,void(e.algo.HMAC=t.extend({init:function(r,e){r=this._hasher=new r.init,"string"==typeof e&&(e=n.parse(e));var t=r.blockSize,i=4*t;e.sigBytes>i&&(e=r.finalize(e)),e.clamp();for(var o=this._oKey=e.clone(),a=this._iKey=e.clone(),s=o.words,c=a.words,l=0;l<t;l++)s[l]^=1549556828,c[l]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var r=this._hasher;r.reset(),r.update(this._iKey)},update:function(r){return this._hasher.update(r),this},finalize:function(r){var e=this._hasher,t=e.finalize(r);return e.reset(),e.finalize(this._oKey.clone().concat(t))}})))),nr.exports;var r,e,t,n}var or,ar={exports:{}};var sr,cr={exports:{}};function lr(){return sr||(sr=1,cr.exports=(s=b(),W(),ir(),e=(r=s).lib,t=e.Base,n=e.WordArray,i=r.algo,o=i.MD5,a=i.EvpKDF=t.extend({cfg:t.extend({keySize:4,hasher:o,iterations:1}),init:function(r){this.cfg=this.cfg.extend(r)},compute:function(r,e){for(var t,i=this.cfg,o=i.hasher.create(),a=n.create(),s=a.words,c=i.keySize,l=i.iterations;s.length<c;){t&&o.update(t),t=o.update(r).finalize(e),o.reset();for(var f=1;f<l;f++)t=o.finalize(t),o.reset();a.concat(t)}return a.sigBytes=4*c,a}}),r.EvpKDF=function(r,e,t){return a.create(t).compute(r,e)},s.EvpKDF)),cr.exports;var r,e,t,n,i,o,a,s}var fr,ur={exports:{}};function hr(){return fr||(fr=1,ur.exports=(r=b(),lr(),void(r.lib.Cipher||function(e){var t=r,n=t.lib,i=n.Base,o=n.WordArray,a=n.BufferedBlockAlgorithm,s=t.enc;s.Utf8;var c=s.Base64,l=t.algo.EvpKDF,f=n.Cipher=a.extend({cfg:i.extend(),createEncryptor:function(r,e){return this.create(this._ENC_XFORM_MODE,r,e)},createDecryptor:function(r,e){return this.create(this._DEC_XFORM_MODE,r,e)},init:function(r,e,t){this.cfg=this.cfg.extend(t),this._xformMode=r,this._key=e,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(r){return this._append(r),this._process()},finalize:function(r){return r&&this._append(r),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function r(r){return"string"==typeof r?b:g}return function(e){return{encrypt:function(t,n,i){return r(n).encrypt(e,t,n,i)},decrypt:function(t,n,i){return r(n).decrypt(e,t,n,i)}}}}()});n.StreamCipher=f.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var u=t.mode={},h=n.BlockCipherMode=i.extend({createEncryptor:function(r,e){return this.Encryptor.create(r,e)},createDecryptor:function(r,e){return this.Decryptor.create(r,e)},init:function(r,e){this._cipher=r,this._iv=e}}),p=u.CBC=function(){var r=h.extend();function t(r,t,n){var i,o=this._iv;o?(i=o,this._iv=e):i=this._prevBlock;for(var a=0;a<n;a++)r[t+a]^=i[a]}return r.Encryptor=r.extend({processBlock:function(r,e){var n=this._cipher,i=n.blockSize;t.call(this,r,e,i),n.encryptBlock(r,e),this._prevBlock=r.slice(e,e+i)}}),r.Decryptor=r.extend({processBlock:function(r,e){var n=this._cipher,i=n.blockSize,o=r.slice(e,e+i);n.decryptBlock(r,e),t.call(this,r,e,i),this._prevBlock=o}}),r}(),d=(t.pad={}).Pkcs7={pad:function(r,e){for(var t=4*e,n=t-r.sigBytes%t,i=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(i);var c=o.create(a,n);r.concat(c)},unpad:function(r){var e=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=e}};n.BlockCipher=f.extend({cfg:f.cfg.extend({mode:p,padding:d}),reset:function(){var r;f.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;this._xformMode==this._ENC_XFORM_MODE?r=n.createEncryptor:(r=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==r?this._mode.init(this,t&&t.words):(this._mode=r.call(n,this,t&&t.words),this._mode.__creator=r)},_doProcessBlock:function(r,e){this._mode.processBlock(r,e)},_doFinalize:function(){var r,e=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(e.pad(this._data,this.blockSize),r=this._process(!0)):(r=this._process(!0),e.unpad(r)),r},blockSize:4});var v=n.CipherParams=i.extend({init:function(r){this.mixIn(r)},toString:function(r){return(r||this.formatter).stringify(this)}}),y=(t.format={}).OpenSSL={stringify:function(r){var e=r.ciphertext,t=r.salt;return(t?o.create([1398893684,1701076831]).concat(t).concat(e):e).toString(c)},parse:function(r){var e,t=c.parse(r),n=t.words;return 1398893684==n[0]&&1701076831==n[1]&&(e=o.create(n.slice(2,4)),n.splice(0,4),t.sigBytes-=16),v.create({ciphertext:t,salt:e})}},g=n.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(r,e,t,n){n=this.cfg.extend(n);var i=r.createEncryptor(t,n),o=i.finalize(e),a=i.cfg;return v.create({ciphertext:o,key:t,iv:a.iv,algorithm:r,mode:a.mode,padding:a.padding,blockSize:r.blockSize,formatter:n.format})},decrypt:function(r,e,t,n){return n=this.cfg.extend(n),e=this._parse(e,n.format),r.createDecryptor(t,n).finalize(e.ciphertext)},_parse:function(r,e){return"string"==typeof r?e.parse(r,this):r}}),_=(t.kdf={}).OpenSSL={execute:function(r,e,t,n,i){if(n||(n=o.random(8)),i)a=l.create({keySize:e+t,hasher:i}).compute(r,n);else var a=l.create({keySize:e+t}).compute(r,n);var s=o.create(a.words.slice(e),4*t);return a.sigBytes=4*e,v.create({key:a,iv:s,salt:n})}},b=n.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:_}),encrypt:function(r,e,t,n){var i=(n=this.cfg.extend(n)).kdf.execute(t,r.keySize,r.ivSize,n.salt,n.hasher);n.iv=i.iv;var o=g.encrypt.call(this,r,e,i.key,n);return o.mixIn(i),o},decrypt:function(r,e,t,n){n=this.cfg.extend(n),e=this._parse(e,n.format);var i=n.kdf.execute(t,r.keySize,r.ivSize,e.salt,n.hasher);return n.iv=i.iv,g.decrypt.call(this,r,e,i.key,n)}})}()))),ur.exports;var r}var pr,dr={exports:{}};function vr(){return pr||(pr=1,dr.exports=(r=b(),hr(),r.mode.CFB=function(){var e=r.lib.BlockCipherMode.extend();function t(r,e,t,n){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,n.encryptBlock(i,0);for(var a=0;a<t;a++)r[e+a]^=i[a]}return e.Encryptor=e.extend({processBlock:function(r,e){var n=this._cipher,i=n.blockSize;t.call(this,r,e,i,n),this._prevBlock=r.slice(e,e+i)}}),e.Decryptor=e.extend({processBlock:function(r,e){var n=this._cipher,i=n.blockSize,o=r.slice(e,e+i);t.call(this,r,e,i,n),this._prevBlock=o}}),e}(),r.mode.CFB)),dr.exports;var r}var yr,gr={exports:{}};function _r(){return yr||(yr=1,gr.exports=(t=b(),hr(),t.mode.CTR=(r=t.lib.BlockCipherMode.extend(),e=r.Encryptor=r.extend({processBlock:function(r,e){var t=this._cipher,n=t.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var a=o.slice(0);t.encryptBlock(a,0),o[n-1]=o[n-1]+1|0;for(var s=0;s<n;s++)r[e+s]^=a[s]}}),r.Decryptor=e,r),t.mode.CTR)),gr.exports;var r,e,t}var br,xr={exports:{}};function mr(){return br||(br=1,xr.exports=(r=b(),hr(),
|
|
2
2
|
/** @preserve
|
|
3
3
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
4
4
|
* derived from CryptoJS.mode.CTR
|
|
5
5
|
* Jan Hruby jhruby.web@gmail.com
|
|
6
6
|
*/
|
|
7
|
-
r.mode.CTRGladman=function(){var e=r.lib.BlockCipherMode.extend();function t(r){if(255&~(r>>24))r+=1<<24;else{var e=r>>16&255,t=r>>8&255,n=255&r;255===e?(e=0,255===t?(t=0,255===n?n=0:++n):++t):++e,r=0,r+=e<<16,r+=t<<8,r+=n}return r}function n(r){return 0===(r[0]=t(r[0]))&&(r[1]=t(r[1])),r}var i=e.Encryptor=e.extend({processBlock:function(r,e){var t=this._cipher,i=t.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),n(a);var s=a.slice(0);t.encryptBlock(s,0);for(var c=0;c<i;c++)r[e+c]^=s[c]}});return e.Decryptor=i,e}(),r.mode.CTRGladman)),xr.exports;var r}var wr,Br={exports:{}};function kr(){return wr||(wr=1,Br.exports=(t=b(),hr(),t.mode.OFB=(r=t.lib.BlockCipherMode.extend(),e=r.Encryptor=r.extend({processBlock:function(r,e){var t=this._cipher,n=t.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),t.encryptBlock(o,0);for(var a=0;a<n;a++)r[e+a]^=o[a]}}),r.Decryptor=e,r),t.mode.OFB)),Br.exports;var r,e,t}var Sr,Ar={exports:{}};var Or,jr={exports:{}};var Er,Hr={exports:{}};var zr,Cr={exports:{}};var Rr,Dr={exports:{}};var Mr,Pr={exports:{}};var Fr,Ir={exports:{}};var Vr,Wr={exports:{}};var Nr,Tr={exports:{}};function Kr(){return Nr||(Nr=1,Tr.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib,n=t.WordArray,i=t.BlockCipher,o=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],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=o.DES=i.extend({_doReset:function(){for(var r=this._key.words,e=[],t=0;t<56;t++){var n=a[t]-1;e[t]=r[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){var l=i[o]=[],f=c[o];for(t=0;t<24;t++)l[t/6|0]|=e[(s[t]-1+f)%28]<<31-t%6,l[4+(t/6|0)]|=e[28+(s[t+24]-1+f)%28]<<31-t%6;for(l[0]=l[0]<<1|l[0]>>>31,t=1;t<7;t++)l[t]=l[t]>>>4*(t-1)+3;l[7]=l[7]<<5|l[7]>>>27}var u=this._invSubKeys=[];for(t=0;t<16;t++)u[t]=i[15-t]},encryptBlock:function(r,e){this._doCryptBlock(r,e,this._subKeys)},decryptBlock:function(r,e){this._doCryptBlock(r,e,this._invSubKeys)},_doCryptBlock:function(r,e,t){this._lBlock=r[e],this._rBlock=r[e+1],h.call(this,4,252645135),h.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),h.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=t[n],o=this._lBlock,a=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((a^i[c])&f[c])>>>0];this._lBlock=a,this._rBlock=o^s}var u=this._lBlock;this._lBlock=this._rBlock,this._rBlock=u,h.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),r[e]=this._lBlock,r[e+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(r,e){var t=(this._lBlock>>>r^this._rBlock)&e;this._rBlock^=t,this._lBlock^=t<<r}function p(r,e){var t=(this._rBlock>>>r^this._lBlock)&e;this._lBlock^=t,this._rBlock^=t<<r}e.DES=i._createHelper(u);var d=o.TripleDES=i.extend({_doReset:function(){var r=this._key.words;if(2!==r.length&&4!==r.length&&r.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var e=r.slice(0,2),t=r.length<4?r.slice(0,2):r.slice(2,4),i=r.length<6?r.slice(0,2):r.slice(4,6);this._des1=u.createEncryptor(n.create(e)),this._des2=u.createEncryptor(n.create(t)),this._des3=u.createEncryptor(n.create(i))},encryptBlock:function(r,e){this._des1.encryptBlock(r,e),this._des2.decryptBlock(r,e),this._des3.encryptBlock(r,e)},decryptBlock:function(r,e){this._des3.decryptBlock(r,e),this._des2.encryptBlock(r,e),this._des1.decryptBlock(r,e)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=i._createHelper(d)}(),r.TripleDES)),Tr.exports;var r}var Ur,Lr={exports:{}};var Xr,$r={exports:{}};var Jr,Zr={exports:{}};var qr,Gr={exports:{}};function Qr(){return qr||(qr=1,Gr.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib.BlockCipher,n=e.algo;const i=16,o=[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 c(r,e){let t=e>>24&255,n=e>>16&255,i=e>>8&255,o=255&e,a=r.sbox[0][t]+r.sbox[1][n];return a^=r.sbox[2][i],a+=r.sbox[3][o],a}function l(r,e,t){let n,o=e,a=t;for(let e=0;e<i;++e)o^=r.pbox[e],a=c(r,o)^a,n=o,o=a,a=n;return n=o,o=a,a=n,a^=r.pbox[i],o^=r.pbox[i+1],{left:o,right:a}}function f(r,e,t){let n,o=e,a=t;for(let e=i+1;e>1;--e)o^=r.pbox[e],a=c(r,o)^a,n=o,o=a,a=n;return n=o,o=a,a=n,a^=r.pbox[1],o^=r.pbox[0],{left:o,right:a}}function u(r,e,t){for(let e=0;e<4;e++){r.sbox[e]=[];for(let t=0;t<256;t++)r.sbox[e][t]=a[e][t]}let n=0;for(let a=0;a<i+2;a++)r.pbox[a]=o[a]^e[n],n++,n>=t&&(n=0);let s=0,c=0,f=0;for(let e=0;e<i+2;e+=2)f=l(r,s,c),s=f.left,c=f.right,r.pbox[e]=s,r.pbox[e+1]=c;for(let e=0;e<4;e++)for(let t=0;t<256;t+=2)f=l(r,s,c),s=f.left,c=f.right,r.sbox[e][t]=s,r.sbox[e][t+1]=c;return!0}var h=n.Blowfish=t.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var r=this._keyPriorReset=this._key,e=r.words,t=r.sigBytes/4;u(s,e,t)}},encryptBlock:function(r,e){var t=l(s,r[e],r[e+1]);r[e]=t.left,r[e+1]=t.right},decryptBlock:function(r,e){var t=f(s,r[e],r[e+1]);r[e]=t.left,r[e+1]=t.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=t._createHelper(h)}(),r.Blowfish)),Gr.exports;var r}var Yr;var re,ee,te,ne,ie,oe,ae=(Yr||(Yr=1,v.exports=function(r){return r}(b(),w(),S(),j(),z(),D(),F(),W(),K(),U||(U=1,L.exports=(oe=b(),K(),ee=(re=oe).lib.WordArray,te=re.algo,ne=te.SHA256,ie=te.SHA224=ne.extend({_doReset:function(){this._hash=new ee.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var r=ne._doFinalize.call(this);return r.sigBytes-=4,r}}),re.SHA224=ne._createHelper(ie),re.HmacSHA224=ne._createHmacHelper(ie),oe.SHA224)),J(),function(){return Z?q.exports:(Z=1,q.exports=(s=b(),w(),J(),e=(r=s).x64,t=e.Word,n=e.WordArray,i=r.algo,o=i.SHA512,a=i.SHA384=o.extend({_doReset:function(){this._hash=new n.init([new t.init(3418070365,3238371032),new t.init(1654270250,914150663),new t.init(2438529370,812702999),new t.init(355462360,4144912697),new t.init(1731405415,4290775857),new t.init(2394180231,1750603025),new t.init(3675008525,1694076839),new t.init(1203062813,3204075428)])},_doFinalize:function(){var r=o._doFinalize.call(this);return r.sigBytes-=16,r}}),r.SHA384=o._createHelper(a),r.HmacSHA384=o._createHmacHelper(a),s.SHA384));var r,e,t,n,i,o,a,s}(),Y(),function(){return rr||(rr=1,er.exports=(r=b(),
|
|
7
|
+
r.mode.CTRGladman=function(){var e=r.lib.BlockCipherMode.extend();function t(r){if(255&~(r>>24))r+=1<<24;else{var e=r>>16&255,t=r>>8&255,n=255&r;255===e?(e=0,255===t?(t=0,255===n?n=0:++n):++t):++e,r=0,r+=e<<16,r+=t<<8,r+=n}return r}function n(r){return 0===(r[0]=t(r[0]))&&(r[1]=t(r[1])),r}var i=e.Encryptor=e.extend({processBlock:function(r,e){var t=this._cipher,i=t.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),n(a);var s=a.slice(0);t.encryptBlock(s,0);for(var c=0;c<i;c++)r[e+c]^=s[c]}});return e.Decryptor=i,e}(),r.mode.CTRGladman)),xr.exports;var r}var wr,Br={exports:{}};function kr(){return wr||(wr=1,Br.exports=(t=b(),hr(),t.mode.OFB=(r=t.lib.BlockCipherMode.extend(),e=r.Encryptor=r.extend({processBlock:function(r,e){var t=this._cipher,n=t.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),t.encryptBlock(o,0);for(var a=0;a<n;a++)r[e+a]^=o[a]}}),r.Decryptor=e,r),t.mode.OFB)),Br.exports;var r,e,t}var Sr,Ar={exports:{}};var Or,jr={exports:{}};var Er,Hr={exports:{}};var zr,Cr={exports:{}};var Rr,Dr={exports:{}};var Mr,Pr={exports:{}};var Fr,Ir={exports:{}};var Vr,Wr={exports:{}};var Nr,Tr={exports:{}};function Kr(){return Nr||(Nr=1,Tr.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib,n=t.WordArray,i=t.BlockCipher,o=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],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=o.DES=i.extend({_doReset:function(){for(var r=this._key.words,e=[],t=0;t<56;t++){var n=a[t]-1;e[t]=r[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){var l=i[o]=[],f=c[o];for(t=0;t<24;t++)l[t/6|0]|=e[(s[t]-1+f)%28]<<31-t%6,l[4+(t/6|0)]|=e[28+(s[t+24]-1+f)%28]<<31-t%6;for(l[0]=l[0]<<1|l[0]>>>31,t=1;t<7;t++)l[t]=l[t]>>>4*(t-1)+3;l[7]=l[7]<<5|l[7]>>>27}var u=this._invSubKeys=[];for(t=0;t<16;t++)u[t]=i[15-t]},encryptBlock:function(r,e){this._doCryptBlock(r,e,this._subKeys)},decryptBlock:function(r,e){this._doCryptBlock(r,e,this._invSubKeys)},_doCryptBlock:function(r,e,t){this._lBlock=r[e],this._rBlock=r[e+1],h.call(this,4,252645135),h.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),h.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=t[n],o=this._lBlock,a=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((a^i[c])&f[c])>>>0];this._lBlock=a,this._rBlock=o^s}var u=this._lBlock;this._lBlock=this._rBlock,this._rBlock=u,h.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),r[e]=this._lBlock,r[e+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(r,e){var t=(this._lBlock>>>r^this._rBlock)&e;this._rBlock^=t,this._lBlock^=t<<r}function p(r,e){var t=(this._rBlock>>>r^this._lBlock)&e;this._lBlock^=t,this._rBlock^=t<<r}e.DES=i._createHelper(u);var d=o.TripleDES=i.extend({_doReset:function(){var r=this._key.words;if(2!==r.length&&4!==r.length&&r.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var e=r.slice(0,2),t=r.length<4?r.slice(0,2):r.slice(2,4),i=r.length<6?r.slice(0,2):r.slice(4,6);this._des1=u.createEncryptor(n.create(e)),this._des2=u.createEncryptor(n.create(t)),this._des3=u.createEncryptor(n.create(i))},encryptBlock:function(r,e){this._des1.encryptBlock(r,e),this._des2.decryptBlock(r,e),this._des3.encryptBlock(r,e)},decryptBlock:function(r,e){this._des3.decryptBlock(r,e),this._des2.encryptBlock(r,e),this._des1.decryptBlock(r,e)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=i._createHelper(d)}(),r.TripleDES)),Tr.exports;var r}var Ur,$r={exports:{}};var Lr,Xr={exports:{}};var Jr,Zr={exports:{}};var qr,Gr={exports:{}};function Qr(){return qr||(qr=1,Gr.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib.BlockCipher,n=e.algo;const i=16,o=[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 c(r,e){let t=e>>24&255,n=e>>16&255,i=e>>8&255,o=255&e,a=r.sbox[0][t]+r.sbox[1][n];return a^=r.sbox[2][i],a+=r.sbox[3][o],a}function l(r,e,t){let n,o=e,a=t;for(let e=0;e<i;++e)o^=r.pbox[e],a=c(r,o)^a,n=o,o=a,a=n;return n=o,o=a,a=n,a^=r.pbox[i],o^=r.pbox[i+1],{left:o,right:a}}function f(r,e,t){let n,o=e,a=t;for(let e=i+1;e>1;--e)o^=r.pbox[e],a=c(r,o)^a,n=o,o=a,a=n;return n=o,o=a,a=n,a^=r.pbox[1],o^=r.pbox[0],{left:o,right:a}}function u(r,e,t){for(let e=0;e<4;e++){r.sbox[e]=[];for(let t=0;t<256;t++)r.sbox[e][t]=a[e][t]}let n=0;for(let a=0;a<i+2;a++)r.pbox[a]=o[a]^e[n],n++,n>=t&&(n=0);let s=0,c=0,f=0;for(let e=0;e<i+2;e+=2)f=l(r,s,c),s=f.left,c=f.right,r.pbox[e]=s,r.pbox[e+1]=c;for(let e=0;e<4;e++)for(let t=0;t<256;t+=2)f=l(r,s,c),s=f.left,c=f.right,r.sbox[e][t]=s,r.sbox[e][t+1]=c;return!0}var h=n.Blowfish=t.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var r=this._keyPriorReset=this._key,e=r.words,t=r.sigBytes/4;u(s,e,t)}},encryptBlock:function(r,e){var t=l(s,r[e],r[e+1]);r[e]=t.left,r[e+1]=t.right},decryptBlock:function(r,e){var t=f(s,r[e],r[e+1]);r[e]=t.left,r[e+1]=t.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=t._createHelper(h)}(),r.Blowfish)),Gr.exports;var r}var Yr;var re,ee,te,ne,ie,oe,ae=(Yr||(Yr=1,v.exports=function(r){return r}(b(),w(),S(),j(),z(),D(),F(),W(),K(),U||(U=1,$.exports=(oe=b(),K(),ee=(re=oe).lib.WordArray,te=re.algo,ne=te.SHA256,ie=te.SHA224=ne.extend({_doReset:function(){this._hash=new ee.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var r=ne._doFinalize.call(this);return r.sigBytes-=4,r}}),re.SHA224=ne._createHelper(ie),re.HmacSHA224=ne._createHmacHelper(ie),oe.SHA224)),J(),function(){return Z?q.exports:(Z=1,q.exports=(s=b(),w(),J(),e=(r=s).x64,t=e.Word,n=e.WordArray,i=r.algo,o=i.SHA512,a=i.SHA384=o.extend({_doReset:function(){this._hash=new n.init([new t.init(3418070365,3238371032),new t.init(1654270250,914150663),new t.init(2438529370,812702999),new t.init(355462360,4144912697),new t.init(1731405415,4290775857),new t.init(2394180231,1750603025),new t.init(3675008525,1694076839),new t.init(1203062813,3204075428)])},_doFinalize:function(){var r=o._doFinalize.call(this);return r.sigBytes-=16,r}}),r.SHA384=o._createHelper(a),r.HmacSHA384=o._createHmacHelper(a),s.SHA384));var r,e,t,n,i,o,a,s}(),Y(),function(){return rr||(rr=1,er.exports=(r=b(),
|
|
8
8
|
/** @preserve
|
|
9
9
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
10
10
|
|
|
@@ -15,4 +15,4 @@ r.mode.CTRGladman=function(){var e=r.lib.BlockCipherMode.extend();function t(r){
|
|
|
15
15
|
|
|
16
16
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
17
17
|
*/
|
|
18
|
-
function(){var e=r,t=e.lib,n=t.WordArray,i=t.Hasher,o=e.algo,a=n.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]),s=n.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=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=n.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]),f=n.create([0,1518500249,1859775393,2400959708,2840853838]),u=n.create([1352829926,1548603684,1836072691,2053994217,0]),h=o.RIPEMD160=i.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,e){for(var t=0;t<16;t++){var n=e+t,i=r[n];r[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,h,b,x,m,w,B,k,S,A,O,j=this._hash.words,E=f.words,H=u.words,z=a.words,C=s.words,R=c.words,D=l.words;for(w=o=j[0],B=h=j[1],k=b=j[2],S=x=j[3],A=m=j[4],t=0;t<80;t+=1)O=o+r[e+z[t]]|0,O+=t<16?p(h,b,x)+E[0]:t<32?d(h,b,x)+E[1]:t<48?v(h,b,x)+E[2]:t<64?y(h,b,x)+E[3]:g(h,b,x)+E[4],O=(O=_(O|=0,R[t]))+m|0,o=m,m=x,x=_(b,10),b=h,h=O,O=w+r[e+C[t]]|0,O+=t<16?g(B,k,S)+H[0]:t<32?y(B,k,S)+H[1]:t<48?v(B,k,S)+H[2]:t<64?d(B,k,S)+H[3]:p(B,k,S)+H[4],O=(O=_(O|=0,D[t]))+A|0,w=A,A=S,S=_(k,10),k=B,B=O;O=j[1]+b+S|0,j[1]=j[2]+x+A|0,j[2]=j[3]+m+w|0,j[3]=j[4]+o+B|0,j[4]=j[0]+h+k|0,j[0]=O},_doFinalize:function(){var r=this._data,e=r.words,t=8*this._nDataBytes,n=8*r.sigBytes;e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=16711935&(t<<8|t>>>24)|4278255360&(t<<24|t>>>8),r.sigBytes=4*(e.length+1),this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var r=i.clone.call(this);return r._hash=this._hash.clone(),r}});function p(r,e,t){return r^e^t}function d(r,e,t){return r&e|~r&t}function v(r,e,t){return(r|~e)^t}function y(r,e,t){return r&t|e&~t}function g(r,e,t){return r^(e|~t)}function _(r,e){return r<<e|r>>>32-e}e.RIPEMD160=i._createHelper(h),e.HmacRIPEMD160=i._createHmacHelper(h)}(),r.RIPEMD160)),er.exports;var r}(),ir(),function(){return or||(or=1,ar.exports=(c=b(),K(),ir(),e=(r=c).lib,t=e.Base,n=e.WordArray,i=r.algo,o=i.SHA256,a=i.HMAC,s=i.PBKDF2=t.extend({cfg:t.extend({keySize:4,hasher:o,iterations:25e4}),init:function(r){this.cfg=this.cfg.extend(r)},compute:function(r,e){for(var t=this.cfg,i=a.create(t.hasher,r),o=n.create(),s=n.create([1]),c=o.words,l=s.words,f=t.keySize,u=t.iterations;c.length<f;){var h=i.update(e).finalize(s);i.reset();for(var p=h.words,d=p.length,v=h,y=1;y<u;y++){v=i.finalize(v),i.reset();for(var g=v.words,_=0;_<d;_++)p[_]^=g[_]}o.concat(h),l[0]++}return o.sigBytes=4*f,o}}),r.PBKDF2=function(r,e,t){return s.create(t).compute(r,e)},c.PBKDF2)),ar.exports;var r,e,t,n,i,o,a,s,c}(),lr(),hr(),vr(),_r(),mr(),kr(),function(){return Sr?Ar.exports:(Sr=1,Ar.exports=(e=b(),hr(),e.mode.ECB=((r=e.lib.BlockCipherMode.extend()).Encryptor=r.extend({processBlock:function(r,e){this._cipher.encryptBlock(r,e)}}),r.Decryptor=r.extend({processBlock:function(r,e){this._cipher.decryptBlock(r,e)}}),r),e.mode.ECB));var r,e}(),function(){return Or?jr.exports:(Or=1,jr.exports=(r=b(),hr(),r.pad.AnsiX923={pad:function(r,e){var t=r.sigBytes,n=4*e,i=n-t%n,o=t+i-1;r.clamp(),r.words[o>>>2]|=i<<24-o%4*8,r.sigBytes+=i},unpad:function(r){var e=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=e}},r.pad.Ansix923));var r}(),function(){return Er?Hr.exports:(Er=1,Hr.exports=(r=b(),hr(),r.pad.Iso10126={pad:function(e,t){var n=4*t,i=n-e.sigBytes%n;e.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(r){var e=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=e}},r.pad.Iso10126));var r}(),function(){return zr?Cr.exports:(zr=1,Cr.exports=(r=b(),hr(),r.pad.Iso97971={pad:function(e,t){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,t)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971));var r}(),function(){return Rr||(Rr=1,Dr.exports=(r=b(),hr(),r.pad.ZeroPadding={pad:function(r,e){var t=4*e;r.clamp(),r.sigBytes+=t-(r.sigBytes%t||t)},unpad:function(r){var e=r.words,t=r.sigBytes-1;for(t=r.sigBytes-1;t>=0;t--)if(e[t>>>2]>>>24-t%4*8&255){r.sigBytes=t+1;break}}},r.pad.ZeroPadding)),Dr.exports;var r}(),function(){return Mr?Pr.exports:(Mr=1,Pr.exports=(r=b(),hr(),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding));var r}(),function(){return Fr?Ir.exports:(Fr=1,Ir.exports=(n=b(),hr(),e=(r=n).lib.CipherParams,t=r.enc.Hex,r.format.Hex={stringify:function(r){return r.ciphertext.toString(t)},parse:function(r){var n=t.parse(r);return e.create({ciphertext:n})}},n.format.Hex));var r,e,t,n}(),function(){return Vr||(Vr=1,Wr.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,i=[],o=[],a=[],s=[],c=[],l=[],f=[],u=[],h=[],p=[];!function(){for(var r=[],e=0;e<256;e++)r[e]=e<128?e<<1:e<<1^283;var t=0,n=0;for(e=0;e<256;e++){var d=n^n<<1^n<<2^n<<3^n<<4;d=d>>>8^255&d^99,i[t]=d,o[d]=t;var v=r[t],y=r[v],g=r[y],_=257*r[d]^16843008*d;a[t]=_<<24|_>>>8,s[t]=_<<16|_>>>16,c[t]=_<<8|_>>>24,l[t]=_,_=16843009*g^65537*y^257*v^16843008*t,f[d]=_<<24|_>>>8,u[d]=_<<16|_>>>16,h[d]=_<<8|_>>>24,p[d]=_,t?(t=v^r[r[r[g^v]]],n^=r[r[n]]):t=n=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var r=this._keyPriorReset=this._key,e=r.words,t=r.sigBytes/4,n=4*((this._nRounds=t+6)+1),o=this._keySchedule=[],a=0;a<n;a++)a<t?o[a]=e[a]:(l=o[a-1],a%t?t>6&&a%t==4&&(l=i[l>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l]):(l=i[(l=l<<8|l>>>24)>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l],l^=d[a/t|0]<<24),o[a]=o[a-t]^l);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var l=o[a];else l=o[a-4];s[c]=c<4||a<=4?l:f[i[l>>>24]]^u[i[l>>>16&255]]^h[i[l>>>8&255]]^p[i[255&l]]}}},encryptBlock:function(r,e){this._doCryptBlock(r,e,this._keySchedule,a,s,c,l,i)},decryptBlock:function(r,e){var t=r[e+1];r[e+1]=r[e+3],r[e+3]=t,this._doCryptBlock(r,e,this._invKeySchedule,f,u,h,p,o),t=r[e+1],r[e+1]=r[e+3],r[e+3]=t},_doCryptBlock:function(r,e,t,n,i,o,a,s){for(var c=this._nRounds,l=r[e]^t[0],f=r[e+1]^t[1],u=r[e+2]^t[2],h=r[e+3]^t[3],p=4,d=1;d<c;d++){var v=n[l>>>24]^i[f>>>16&255]^o[u>>>8&255]^a[255&h]^t[p++],y=n[f>>>24]^i[u>>>16&255]^o[h>>>8&255]^a[255&l]^t[p++],g=n[u>>>24]^i[h>>>16&255]^o[l>>>8&255]^a[255&f]^t[p++],_=n[h>>>24]^i[l>>>16&255]^o[f>>>8&255]^a[255&u]^t[p++];l=v,f=y,u=g,h=_}v=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[u>>>8&255]<<8|s[255&h])^t[p++],y=(s[f>>>24]<<24|s[u>>>16&255]<<16|s[h>>>8&255]<<8|s[255&l])^t[p++],g=(s[u>>>24]<<24|s[h>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^t[p++],_=(s[h>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&u])^t[p++],r[e]=v,r[e+1]=y,r[e+2]=g,r[e+3]=_},keySize:8});e.AES=t._createHelper(v)}(),r.AES)),Wr.exports;var r}(),Kr(),function(){return Ur||(Ur=1,Lr.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=n.RC4=t.extend({_doReset:function(){for(var r=this._key,e=r.words,t=r.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var o=0;i<256;i++){var a=i%t,s=e[a>>>2]>>>24-a%4*8&255;o=(o+n[i]+s)%256;var c=n[i];n[i]=n[o],n[o]=c}this._i=this._j=0},_doProcessBlock:function(r,e){r[e]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var r=this._S,e=this._i,t=this._j,n=0,i=0;i<4;i++){t=(t+r[e=(e+1)%256])%256;var o=r[e];r[e]=r[t],r[t]=o,n|=r[(r[e]+r[t])%256]<<24-8*i}return this._i=e,this._j=t,n}e.RC4=t._createHelper(i);var a=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var r=this.cfg.drop;r>0;r--)o.call(this)}});e.RC4Drop=t._createHelper(a)}(),r.RC4)),Lr.exports;var r}(),function(){return Xr||(Xr=1,$r.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],o=[],a=[],s=n.Rabbit=t.extend({_doReset:function(){for(var r=this._key.words,e=this.cfg.iv,t=0;t<4;t++)r[t]=16711935&(r[t]<<8|r[t]>>>24)|4278255360&(r[t]<<24|r[t]>>>8);var n=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16],i=this._C=[r[2]<<16|r[2]>>>16,4294901760&r[0]|65535&r[1],r[3]<<16|r[3]>>>16,4294901760&r[1]|65535&r[2],r[0]<<16|r[0]>>>16,4294901760&r[2]|65535&r[3],r[1]<<16|r[1]>>>16,4294901760&r[3]|65535&r[0]];for(this._b=0,t=0;t<4;t++)c.call(this);for(t=0;t<8;t++)i[t]^=n[t+4&7];if(e){var o=e.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=l>>>16|4294901760&f,h=f<<16|65535&l;for(i[0]^=l,i[1]^=u,i[2]^=f,i[3]^=h,i[4]^=l,i[5]^=u,i[6]^=f,i[7]^=h,t=0;t<4;t++)c.call(this)}},_doProcessBlock:function(r,e){var t=this._X;c.call(this),i[0]=t[0]^t[5]>>>16^t[3]<<16,i[1]=t[2]^t[7]>>>16^t[5]<<16,i[2]=t[4]^t[1]>>>16^t[7]<<16,i[3]=t[6]^t[3]>>>16^t[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),r[e+n]^=i[n]},blockSize:4,ivSize:2});function c(){for(var r=this._X,e=this._C,t=0;t<8;t++)o[t]=e[t];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<o[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<o[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<o[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<o[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<o[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<o[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<o[6]>>>0?1:0)|0,this._b=e[7]>>>0<o[7]>>>0?1:0,t=0;t<8;t++){var n=r[t]+e[t],i=65535&n,s=n>>>16,c=((i*i>>>17)+i*s>>>15)+s*s,l=((4294901760&n)*n|0)+((65535&n)*n|0);a[t]=c^l}r[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,r[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,r[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,r[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,r[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,r[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,r[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,r[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(s)}(),r.Rabbit)),$r.exports;var r}(),function(){return Jr||(Jr=1,Zr.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],o=[],a=[],s=n.RabbitLegacy=t.extend({_doReset:function(){var r=this._key.words,e=this.cfg.iv,t=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16],n=this._C=[r[2]<<16|r[2]>>>16,4294901760&r[0]|65535&r[1],r[3]<<16|r[3]>>>16,4294901760&r[1]|65535&r[2],r[0]<<16|r[0]>>>16,4294901760&r[2]|65535&r[3],r[1]<<16|r[1]>>>16,4294901760&r[3]|65535&r[0]];this._b=0;for(var i=0;i<4;i++)c.call(this);for(i=0;i<8;i++)n[i]^=t[i+4&7];if(e){var o=e.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=l>>>16|4294901760&f,h=f<<16|65535&l;for(n[0]^=l,n[1]^=u,n[2]^=f,n[3]^=h,n[4]^=l,n[5]^=u,n[6]^=f,n[7]^=h,i=0;i<4;i++)c.call(this)}},_doProcessBlock:function(r,e){var t=this._X;c.call(this),i[0]=t[0]^t[5]>>>16^t[3]<<16,i[1]=t[2]^t[7]>>>16^t[5]<<16,i[2]=t[4]^t[1]>>>16^t[7]<<16,i[3]=t[6]^t[3]>>>16^t[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),r[e+n]^=i[n]},blockSize:4,ivSize:2});function c(){for(var r=this._X,e=this._C,t=0;t<8;t++)o[t]=e[t];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<o[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<o[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<o[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<o[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<o[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<o[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<o[6]>>>0?1:0)|0,this._b=e[7]>>>0<o[7]>>>0?1:0,t=0;t<8;t++){var n=r[t]+e[t],i=65535&n,s=n>>>16,c=((i*i>>>17)+i*s>>>15)+s*s,l=((4294901760&n)*n|0)+((65535&n)*n|0);a[t]=c^l}r[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,r[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,r[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,r[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,r[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,r[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,r[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,r[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(s)}(),r.RabbitLegacy)),Zr.exports;var r}(),Qr())),v.exports),se=u(ae),ce="en",le=["singular","plural","dual","zero","one","two","few","many","other"];var fe=new(function(){function r(){this.cache=new Map}return r.prototype._generateKey=function(r,e,t){void 0===t&&(t={});var n=Array.isArray(e)?e.join(","):e,i=t?JSON.stringify(t,Object.keys(t).sort()):"{}";return"".concat(r,":").concat(n,":").concat(i)},r.prototype.get=function(r,e,t){void 0===t&&(t={});var n=this._generateKey(r,e,t);if(!this.cache.has(n)){var i=new Intl[r](e,t);this.cache.set(n,i)}return this.cache.get(n)},r}());function ue(r){var e=r;if(e&&"object"==typeof e&&"string"==typeof e.k){var t=Object.keys(e);if(1===t.length)return!0;if(2===t.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===t.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}var he={variable:"v",number:"n",datetime:"d",currency:"c"};function pe(r){return he[r]}function de(r,n=0){let i=n;const o=r=>{const{type:e,props:t}=r;i+=1;const n={id:i};let o;try{o="function"==typeof e&&e._gtt||""}catch(r){}if(o){const r=o.split("-");if("translate"===r[0]&&(r[0]="fragment"),"variable"===r[0]&&(n.variableType=(null==r?void 0:r[1])||"variable"),"plural"===r[0]){const r=Object.entries(t).reduce((r,[e,t])=>(function(r){return le.includes(r)}(e)&&(r[e]=de(t,i)),r),{});Object.keys(r).length&&(n.branches=r)}if("branch"===r[0]){const{children:r,branch:e}=t,o=s(t,["children","branch"]),a=Object.entries(o).reduce((r,[e,t])=>(r[e]=de(t,i),r),{});Object.keys(a).length&&(n.branches=a)}n.transformation=r[0]}return n};function a(r){return t(r)?function(r){const{props:t}=r,n=o(r),i=Object.assign(Object.assign({},t),{"data-_gt":n});return t.children&&!n.variableType&&(i.children=c(t.children)),r.type===e.Fragment&&(i["data-_gt"].transformation="fragment"),e.cloneElement(r,i)}(r):r}function c(r){return Array.isArray(r)?e.Children.map(r,a):a(r)}return c(r)}"function"==typeof SuppressedError&&SuppressedError;const ve={variable:"value",number:"n",datetime:"date",currency:"cost"};function ye(r={},e){var t;if(r.name)return r.name;return`_gt_${ve[e]||"value"}_${null===(t=r["data-_gt"])||void 0===t?void 0:t.id}`}var ge={pl:"placeholder",ti:"title",alt:"alt",arl:"aria-label",arb:"aria-labelledby",ard:"aria-describedby"};const _e=r=>{var e;if(!r)return"";const{type:t,props:n}=r;if(t&&"function"==typeof t){if("displayName"in t&&"string"==typeof t.displayName&&t.displayName)return t.displayName;if("name"in t&&"string"==typeof t.name&&t.name)return t.name}return t&&"string"==typeof t?t:n.href?"a":(null===(e=n["data-_gt"])||void 0===e?void 0:e.id)?`C${n["data-_gt"].id}`:"function"},be=r=>{const{props:e}=r,t={t:_e(r)};if(e["data-_gt"]){const r=e["data-_gt"],n=r.transformation;if("variable"===n){const t=r.variableType||"variable",n=ye(e,t),i=pe(t);return{i:r.id,k:n,v:i}}t.i=r.id,t.d=((r,e,t)=>{let n=Object.entries(ge).reduce((r,[t,n])=>(e[n]&&(r[t]=e[n]),r),{});if("plural"===r&&t){const r={};Object.entries(t).forEach(([e,t])=>{r[e]=me(t)}),n=Object.assign(Object.assign({},n),{b:r,t:"p"})}if("branch"===r&&t){const r={};Object.entries(t).forEach(([e,t])=>{r[e]=me(t)}),n=Object.assign(Object.assign({},n),{b:r,t:"b"})}return Object.keys(n).length?n:void 0})(n,e,r.branches);let i=Object.entries(ge).reduce((r,[t,n])=>(e[n]&&(r[t]=e[n]),r),{});if("plural"===n&&r.branches){const e={};Object.entries(r.branches).forEach(([r,t])=>{e[r]=me(t)}),i=Object.assign(Object.assign({},i),{b:e,t:"p"})}if("branch"===n&&r.branches){const e={};Object.entries(r.branches).forEach(([r,t])=>{e[r]=me(t)}),i=Object.assign(Object.assign({},i),{b:e,t:"b"})}t.d=Object.keys(i).length?i:void 0}return e.children&&(t.c=me(e.children)),t},xe=r=>{return t=r,e.isValidElement(t)?be(r):"number"==typeof r?r.toString():r;var t};function me(r){return Array.isArray(r)?r.map(xe):xe(r)}function we(r,e,t){let n="",i=null;return"number"==typeof r&&!i&&t&&(n=function(r,e,t){void 0===e&&(e=le),void 0===t&&(t=["en"]);var n=fe.get("PluralRules",t).select(r),i=Math.abs(r);if(0===i&&e.includes("zero"))return"zero";if(1===i){if(e.includes("singular"))return"singular";if(e.includes("one"))return"one"}if("one"===n&&e.includes("singular"))return"singular";if(2===i){if(e.includes("dual"))return"dual";if(e.includes("two"))return"two"}return"two"===n&&e.includes("dual")?"dual":e.includes(n)?n:"two"===n&&e.includes("dual")?"dual":"two"===n&&e.includes("plural")?"plural":"two"===n&&e.includes("other")?"other":"few"===n&&e.includes("plural")?"plural":"few"===n&&e.includes("other")?"other":"many"===n&&e.includes("plural")?"plural":"many"===n&&e.includes("other")?"other":"other"===n&&e.includes("plural")?"plural":""}(r,Object.keys(t),e)),n&&!i&&(i=t[n]),i}function Be(r){if("string"==typeof r)return!0;if(Array.isArray(r)){if("string"!=typeof(null==r?void 0:r[0]))return!1;const e=null==r?void 0:r[1];if(void 0===e)return!0;if(e&&"object"==typeof e)return!0}return!1}function ke(r,t){let n=r;const i=t.split(".");for(const r of i){if("object"!=typeof n||Array.isArray(n)||e.isValidElement(n))return;n=n[r]}return n}function Se(r){if(Array.isArray(r)){if(1===r.length)return{entry:r[0]};if(2===r.length)return{entry:r[0],metadata:r[1]}}return{entry:r}}function Ae(r){var e;return"object"==typeof r&&!!r&&"data-_gt"in r&&"object"==typeof r["data-_gt"]&&!!r["data-_gt"]&&"transformation"in r["data-_gt"]&&"variable"===(null===(e=r["data-_gt"])||void 0===e?void 0:e.transformation)}function Oe(r){var e;const t=(null===(e=r["data-_gt"])||void 0===e?void 0:e.variableType)||"variable";return{variableName:ye(r,t),variableType:pe(t),variableValue:void 0!==r.value?r.value:void 0!==r["data-_gt-unformatted-value"]?r["data-_gt-unformatted-value"]:void 0!==r.children?r.children:void 0,variableOptions:(()=>{const e=Object.assign(Object.assign({},void 0!==r.currency&&{currency:r.currency}),void 0!==r.options&&r.options);return Object.keys(e).length?e:"string"==typeof r["data-_gt-variable-options"]?JSON.parse(r["data-_gt-variable-options"]):r["data-_gt-variable-options"]||void 0})()}}function je(r){const e=r;if(e&&"object"==typeof e&&"string"==typeof e.k){const r=Object.keys(e);if(1===r.length)return!0;if(2===r.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===r.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}function Ee(r){return r&&r.props&&r.props["data-_gt"]?r.props["data-_gt"]:null}function He({children:r,defaultLocale:t=ce,renderVariable:n}){const i=r=>e.isValidElement(r)?(r=>{const i=Ee(r);if(Ae(r.props)){const{variableType:e,variableValue:i,variableOptions:o}=Oe(r.props);return n({variableType:e,variableValue:i,variableOptions:o,locales:[t]})}if("plural"===(null==i?void 0:i.transformation)){const e=i.branches||{};return o(we(r.props.n,[t],e)||r.props.children)}if("branch"===(null==i?void 0:i.transformation)){let e=r.props,{children:t,branch:n,"data-_gt":a}=e,c=s(e,["children","branch","data-_gt"]);return c=i.branches||{},o(void 0!==c[n]?c[n]:t)}return"fragment"===(null==i?void 0:i.transformation)?e.createElement(e.Fragment,{key:r.props.key,children:o(r.props.children)}):r.props.children?e.cloneElement(r,Object.assign(Object.assign({},r.props),{"data-_gt":void 0,children:o(r.props.children)})):e.cloneElement(r,Object.assign(Object.assign({},r.props),{"data-_gt":void 0}))})(r):r,o=r=>Array.isArray(r)?e.Children.map(r,i):i(r);return o(r)}function ze({sourceElement:r,targetElement:t,locales:n=[ce],renderVariable:i}){var o,a;const{props:s}=r,c=s["data-_gt"],l=null==c?void 0:c.transformation,f=t.d,u={};if(f&&Object.entries(ge).forEach(([r,e])=>{f[r]&&(u[e]=f[r])}),"plural"===l){const e=r.props.n;return Ce({source:we(e,n,c.branches||{})||r.props.children,target:we(e,n,(null===(o=t.d)||void 0===o?void 0:o.b)||{})||t.c,locales:n,renderVariable:i})}if("branch"===l){const{branch:r,children:e}=s;return Ce({source:(c.branches||{})[r]||e,target:((null===(a=t.d)||void 0===a?void 0:a.b)||{})[r]||t.c,locales:n,renderVariable:i})}return"fragment"===l&&t.c?e.createElement(e.Fragment,{key:r.props.key,children:Ce({source:s.children,target:t.c,locales:n,renderVariable:i})}):(null==s?void 0:s.children)&&(null==t?void 0:t.c)?e.cloneElement(r,Object.assign(Object.assign(Object.assign({},s),u),{"data-_gt":void 0,children:Ce({source:s.children,target:t.c,locales:n,renderVariable:i})})):He({children:r,defaultLocale:n[0],renderVariable:i})}function Ce({source:r,target:t,locales:i=[ce],renderVariable:o}){if(null==t&&r)return He({children:r,defaultLocale:i[0],renderVariable:o});if("string"==typeof t)return t;if(Array.isArray(t)&&!Array.isArray(r)&&r&&(r=[r]),Array.isArray(r)&&Array.isArray(t)){const a={},s={},c=r.filter(r=>{if(e.isValidElement(r)){if(!Ae(r.props))return!0;{const{variableName:e,variableValue:t,variableOptions:n}=Oe(r.props);a[e]=t,s[e]=n}}return!1}),l=r=>c.find(e=>{const t=Ee(e);if(void 0!==(null==t?void 0:t.id)){return t.id===r.i}return!1})||c.shift();return t.map((r,t)=>{if("string"==typeof r)return n(e.Fragment,{children:r},`string_${t}`);if(ue(r))return n(e.Fragment,{children:o({variableType:r.v||"v",variableValue:a[r.k],variableOptions:s[r.k],locales:i})},`var_${t}`);const c=l(r);return c?n(e.Fragment,{children:ze({sourceElement:c,targetElement:r,locales:i,renderVariable:o})},`element_${t}`):void 0})}if(t&&"object"==typeof t&&!Array.isArray(t)){const n=ue(t)?"variable":"element";if(e.isValidElement(r)){if("element"===n)return ze({sourceElement:r,targetElement:t,locales:i,renderVariable:o});if(Ae(r.props)){const{variableValue:e,variableOptions:t,variableType:n}=Oe(r.props);return o({variableType:n,variableValue:e,variableOptions:t,locales:i})}}}return He({children:r,defaultLocale:i[0],renderVariable:o})}const Re={method:"default",timeout:"undefined"!=typeof process&&"development"!==process.env.NODE_ENV?8e3:12e3};function De(){return""}var Me=function(){return Me=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},Me.apply(this,arguments)};function Pe(r){return se.SHA256(r).toString(se.enc.Hex).slice(0,16)}"function"==typeof SuppressedError&&SuppressedError;var Fe=function(r){if(r&&"object"==typeof r){var e={};if("c"in r&&r.c&&(e.c=Ie(r.c)),"d"in r){var t=null==r?void 0:r.d;(null==t?void 0:t.b)&&(e.b=Object.fromEntries(Object.entries(t.b).map(function(r){return[r[0],Ie(r[1])]}))),(null==t?void 0:t.t)&&(e.t=t.t)}return function(r){var e=r;if(e&&"object"==typeof e&&"string"==typeof e.k){var t=Object.keys(e);if(1===t.length)return!0;if(2===t.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===t.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}(r)?Me({k:r.k},r.v&&{v:r.v}):e}return r};function Ie(r){return Array.isArray(r)?r.map(Fe):Fe(r)}function Ve(r,e){const t=(null==e?void 0:e.$_hash)||function(r,e){var t=r.source,n=r.context,i=r.id,o=r.dataFormat;void 0===e&&(e=Pe);var a={};return a.source="JSX"===o?Ie(t):t,a=Me(Me(Me(Me({},a),i&&{id:i}),n&&{context:n}),o&&{dataFormat:o}),e(d(a))}(Object.assign(Object.assign(Object.assign({source:r},(null==e?void 0:e.$context)&&{context:e.$context}),(null==e?void 0:e.$id)&&{id:e.$id}),{dataFormat:"ICU"}));e?e.$_hash=t:e={$_hash:t};const n=Buffer.from(JSON.stringify(e)).toString("base64");return i(r,{locales:[ce],variables:e})+(n?`:${n}`:"")}function We(r){return-1===r.lastIndexOf(":")?r:r.slice(0,r.lastIndexOf(":"))}function Ne(r){const e=-1===r.lastIndexOf(":")?"":r.slice(r.lastIndexOf(":")+1);if(!e)return null;try{return JSON.parse(Buffer.from(e,"base64").toString())}catch(r){return null}}const Te="generaltranslation.locale",Ke="generaltranslation.region",Ue=r=>"string"==typeof r||Array.isArray(r),Le=r=>"object"==typeof r&&null!==r&&!Array.isArray(r);function Xe(r,e){const t=Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([,r])=>Ue(r)))),Object.fromEntries(Object.entries(e).filter(([,r])=>Ue(r)))),n=Object.entries(r).filter(([,r])=>Le(r)).map(([r])=>r),i=Object.entries(e).filter(([,r])=>Le(r)).map(([r])=>r),o=new Set([...n,...i]);for(const n of o)t[n]=Xe(r[n]||{},e[n]||{});return t}const $e="function"==typeof r.use;export{de as addGTIdentifier,We as decodeMsg,Ne as decodeOptions,Te as defaultLocaleCookieName,Ke as defaultRegionCookieName,Re as defaultRenderSettings,a as flattenDictionary,ke as getDictionaryEntry,Se as getEntryAndMetadata,we as getPluralBranch,ye as getVariableName,Oe as getVariableProps,Be as isValidDictionaryEntry,je as isVariableObject,Xe as mergeDictionaries,Ve as msg,$e as reactHasUse,He as renderDefaultChildren,De as renderSkeleton,Ce as renderTranslatedChildren,me as writeChildrenAsObjects};
|
|
18
|
+
function(){var e=r,t=e.lib,n=t.WordArray,i=t.Hasher,o=e.algo,a=n.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]),s=n.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=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=n.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]),f=n.create([0,1518500249,1859775393,2400959708,2840853838]),u=n.create([1352829926,1548603684,1836072691,2053994217,0]),h=o.RIPEMD160=i.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,e){for(var t=0;t<16;t++){var n=e+t,i=r[n];r[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,h,b,x,m,w,B,k,S,A,O,j=this._hash.words,E=f.words,H=u.words,z=a.words,C=s.words,R=c.words,D=l.words;for(w=o=j[0],B=h=j[1],k=b=j[2],S=x=j[3],A=m=j[4],t=0;t<80;t+=1)O=o+r[e+z[t]]|0,O+=t<16?p(h,b,x)+E[0]:t<32?d(h,b,x)+E[1]:t<48?v(h,b,x)+E[2]:t<64?y(h,b,x)+E[3]:g(h,b,x)+E[4],O=(O=_(O|=0,R[t]))+m|0,o=m,m=x,x=_(b,10),b=h,h=O,O=w+r[e+C[t]]|0,O+=t<16?g(B,k,S)+H[0]:t<32?y(B,k,S)+H[1]:t<48?v(B,k,S)+H[2]:t<64?d(B,k,S)+H[3]:p(B,k,S)+H[4],O=(O=_(O|=0,D[t]))+A|0,w=A,A=S,S=_(k,10),k=B,B=O;O=j[1]+b+S|0,j[1]=j[2]+x+A|0,j[2]=j[3]+m+w|0,j[3]=j[4]+o+B|0,j[4]=j[0]+h+k|0,j[0]=O},_doFinalize:function(){var r=this._data,e=r.words,t=8*this._nDataBytes,n=8*r.sigBytes;e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=16711935&(t<<8|t>>>24)|4278255360&(t<<24|t>>>8),r.sigBytes=4*(e.length+1),this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var r=i.clone.call(this);return r._hash=this._hash.clone(),r}});function p(r,e,t){return r^e^t}function d(r,e,t){return r&e|~r&t}function v(r,e,t){return(r|~e)^t}function y(r,e,t){return r&t|e&~t}function g(r,e,t){return r^(e|~t)}function _(r,e){return r<<e|r>>>32-e}e.RIPEMD160=i._createHelper(h),e.HmacRIPEMD160=i._createHmacHelper(h)}(),r.RIPEMD160)),er.exports;var r}(),ir(),function(){return or||(or=1,ar.exports=(c=b(),K(),ir(),e=(r=c).lib,t=e.Base,n=e.WordArray,i=r.algo,o=i.SHA256,a=i.HMAC,s=i.PBKDF2=t.extend({cfg:t.extend({keySize:4,hasher:o,iterations:25e4}),init:function(r){this.cfg=this.cfg.extend(r)},compute:function(r,e){for(var t=this.cfg,i=a.create(t.hasher,r),o=n.create(),s=n.create([1]),c=o.words,l=s.words,f=t.keySize,u=t.iterations;c.length<f;){var h=i.update(e).finalize(s);i.reset();for(var p=h.words,d=p.length,v=h,y=1;y<u;y++){v=i.finalize(v),i.reset();for(var g=v.words,_=0;_<d;_++)p[_]^=g[_]}o.concat(h),l[0]++}return o.sigBytes=4*f,o}}),r.PBKDF2=function(r,e,t){return s.create(t).compute(r,e)},c.PBKDF2)),ar.exports;var r,e,t,n,i,o,a,s,c}(),lr(),hr(),vr(),_r(),mr(),kr(),function(){return Sr?Ar.exports:(Sr=1,Ar.exports=(e=b(),hr(),e.mode.ECB=((r=e.lib.BlockCipherMode.extend()).Encryptor=r.extend({processBlock:function(r,e){this._cipher.encryptBlock(r,e)}}),r.Decryptor=r.extend({processBlock:function(r,e){this._cipher.decryptBlock(r,e)}}),r),e.mode.ECB));var r,e}(),function(){return Or?jr.exports:(Or=1,jr.exports=(r=b(),hr(),r.pad.AnsiX923={pad:function(r,e){var t=r.sigBytes,n=4*e,i=n-t%n,o=t+i-1;r.clamp(),r.words[o>>>2]|=i<<24-o%4*8,r.sigBytes+=i},unpad:function(r){var e=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=e}},r.pad.Ansix923));var r}(),function(){return Er?Hr.exports:(Er=1,Hr.exports=(r=b(),hr(),r.pad.Iso10126={pad:function(e,t){var n=4*t,i=n-e.sigBytes%n;e.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(r){var e=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=e}},r.pad.Iso10126));var r}(),function(){return zr?Cr.exports:(zr=1,Cr.exports=(r=b(),hr(),r.pad.Iso97971={pad:function(e,t){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,t)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971));var r}(),function(){return Rr||(Rr=1,Dr.exports=(r=b(),hr(),r.pad.ZeroPadding={pad:function(r,e){var t=4*e;r.clamp(),r.sigBytes+=t-(r.sigBytes%t||t)},unpad:function(r){var e=r.words,t=r.sigBytes-1;for(t=r.sigBytes-1;t>=0;t--)if(e[t>>>2]>>>24-t%4*8&255){r.sigBytes=t+1;break}}},r.pad.ZeroPadding)),Dr.exports;var r}(),function(){return Mr?Pr.exports:(Mr=1,Pr.exports=(r=b(),hr(),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding));var r}(),function(){return Fr?Ir.exports:(Fr=1,Ir.exports=(n=b(),hr(),e=(r=n).lib.CipherParams,t=r.enc.Hex,r.format.Hex={stringify:function(r){return r.ciphertext.toString(t)},parse:function(r){var n=t.parse(r);return e.create({ciphertext:n})}},n.format.Hex));var r,e,t,n}(),function(){return Vr||(Vr=1,Wr.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,i=[],o=[],a=[],s=[],c=[],l=[],f=[],u=[],h=[],p=[];!function(){for(var r=[],e=0;e<256;e++)r[e]=e<128?e<<1:e<<1^283;var t=0,n=0;for(e=0;e<256;e++){var d=n^n<<1^n<<2^n<<3^n<<4;d=d>>>8^255&d^99,i[t]=d,o[d]=t;var v=r[t],y=r[v],g=r[y],_=257*r[d]^16843008*d;a[t]=_<<24|_>>>8,s[t]=_<<16|_>>>16,c[t]=_<<8|_>>>24,l[t]=_,_=16843009*g^65537*y^257*v^16843008*t,f[d]=_<<24|_>>>8,u[d]=_<<16|_>>>16,h[d]=_<<8|_>>>24,p[d]=_,t?(t=v^r[r[r[g^v]]],n^=r[r[n]]):t=n=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var r=this._keyPriorReset=this._key,e=r.words,t=r.sigBytes/4,n=4*((this._nRounds=t+6)+1),o=this._keySchedule=[],a=0;a<n;a++)a<t?o[a]=e[a]:(l=o[a-1],a%t?t>6&&a%t==4&&(l=i[l>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l]):(l=i[(l=l<<8|l>>>24)>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l],l^=d[a/t|0]<<24),o[a]=o[a-t]^l);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var l=o[a];else l=o[a-4];s[c]=c<4||a<=4?l:f[i[l>>>24]]^u[i[l>>>16&255]]^h[i[l>>>8&255]]^p[i[255&l]]}}},encryptBlock:function(r,e){this._doCryptBlock(r,e,this._keySchedule,a,s,c,l,i)},decryptBlock:function(r,e){var t=r[e+1];r[e+1]=r[e+3],r[e+3]=t,this._doCryptBlock(r,e,this._invKeySchedule,f,u,h,p,o),t=r[e+1],r[e+1]=r[e+3],r[e+3]=t},_doCryptBlock:function(r,e,t,n,i,o,a,s){for(var c=this._nRounds,l=r[e]^t[0],f=r[e+1]^t[1],u=r[e+2]^t[2],h=r[e+3]^t[3],p=4,d=1;d<c;d++){var v=n[l>>>24]^i[f>>>16&255]^o[u>>>8&255]^a[255&h]^t[p++],y=n[f>>>24]^i[u>>>16&255]^o[h>>>8&255]^a[255&l]^t[p++],g=n[u>>>24]^i[h>>>16&255]^o[l>>>8&255]^a[255&f]^t[p++],_=n[h>>>24]^i[l>>>16&255]^o[f>>>8&255]^a[255&u]^t[p++];l=v,f=y,u=g,h=_}v=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[u>>>8&255]<<8|s[255&h])^t[p++],y=(s[f>>>24]<<24|s[u>>>16&255]<<16|s[h>>>8&255]<<8|s[255&l])^t[p++],g=(s[u>>>24]<<24|s[h>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^t[p++],_=(s[h>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&u])^t[p++],r[e]=v,r[e+1]=y,r[e+2]=g,r[e+3]=_},keySize:8});e.AES=t._createHelper(v)}(),r.AES)),Wr.exports;var r}(),Kr(),function(){return Ur||(Ur=1,$r.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=n.RC4=t.extend({_doReset:function(){for(var r=this._key,e=r.words,t=r.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var o=0;i<256;i++){var a=i%t,s=e[a>>>2]>>>24-a%4*8&255;o=(o+n[i]+s)%256;var c=n[i];n[i]=n[o],n[o]=c}this._i=this._j=0},_doProcessBlock:function(r,e){r[e]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var r=this._S,e=this._i,t=this._j,n=0,i=0;i<4;i++){t=(t+r[e=(e+1)%256])%256;var o=r[e];r[e]=r[t],r[t]=o,n|=r[(r[e]+r[t])%256]<<24-8*i}return this._i=e,this._j=t,n}e.RC4=t._createHelper(i);var a=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var r=this.cfg.drop;r>0;r--)o.call(this)}});e.RC4Drop=t._createHelper(a)}(),r.RC4)),$r.exports;var r}(),function(){return Lr||(Lr=1,Xr.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],o=[],a=[],s=n.Rabbit=t.extend({_doReset:function(){for(var r=this._key.words,e=this.cfg.iv,t=0;t<4;t++)r[t]=16711935&(r[t]<<8|r[t]>>>24)|4278255360&(r[t]<<24|r[t]>>>8);var n=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16],i=this._C=[r[2]<<16|r[2]>>>16,4294901760&r[0]|65535&r[1],r[3]<<16|r[3]>>>16,4294901760&r[1]|65535&r[2],r[0]<<16|r[0]>>>16,4294901760&r[2]|65535&r[3],r[1]<<16|r[1]>>>16,4294901760&r[3]|65535&r[0]];for(this._b=0,t=0;t<4;t++)c.call(this);for(t=0;t<8;t++)i[t]^=n[t+4&7];if(e){var o=e.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=l>>>16|4294901760&f,h=f<<16|65535&l;for(i[0]^=l,i[1]^=u,i[2]^=f,i[3]^=h,i[4]^=l,i[5]^=u,i[6]^=f,i[7]^=h,t=0;t<4;t++)c.call(this)}},_doProcessBlock:function(r,e){var t=this._X;c.call(this),i[0]=t[0]^t[5]>>>16^t[3]<<16,i[1]=t[2]^t[7]>>>16^t[5]<<16,i[2]=t[4]^t[1]>>>16^t[7]<<16,i[3]=t[6]^t[3]>>>16^t[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),r[e+n]^=i[n]},blockSize:4,ivSize:2});function c(){for(var r=this._X,e=this._C,t=0;t<8;t++)o[t]=e[t];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<o[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<o[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<o[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<o[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<o[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<o[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<o[6]>>>0?1:0)|0,this._b=e[7]>>>0<o[7]>>>0?1:0,t=0;t<8;t++){var n=r[t]+e[t],i=65535&n,s=n>>>16,c=((i*i>>>17)+i*s>>>15)+s*s,l=((4294901760&n)*n|0)+((65535&n)*n|0);a[t]=c^l}r[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,r[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,r[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,r[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,r[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,r[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,r[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,r[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(s)}(),r.Rabbit)),Xr.exports;var r}(),function(){return Jr||(Jr=1,Zr.exports=(r=b(),z(),F(),lr(),hr(),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],o=[],a=[],s=n.RabbitLegacy=t.extend({_doReset:function(){var r=this._key.words,e=this.cfg.iv,t=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16],n=this._C=[r[2]<<16|r[2]>>>16,4294901760&r[0]|65535&r[1],r[3]<<16|r[3]>>>16,4294901760&r[1]|65535&r[2],r[0]<<16|r[0]>>>16,4294901760&r[2]|65535&r[3],r[1]<<16|r[1]>>>16,4294901760&r[3]|65535&r[0]];this._b=0;for(var i=0;i<4;i++)c.call(this);for(i=0;i<8;i++)n[i]^=t[i+4&7];if(e){var o=e.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=l>>>16|4294901760&f,h=f<<16|65535&l;for(n[0]^=l,n[1]^=u,n[2]^=f,n[3]^=h,n[4]^=l,n[5]^=u,n[6]^=f,n[7]^=h,i=0;i<4;i++)c.call(this)}},_doProcessBlock:function(r,e){var t=this._X;c.call(this),i[0]=t[0]^t[5]>>>16^t[3]<<16,i[1]=t[2]^t[7]>>>16^t[5]<<16,i[2]=t[4]^t[1]>>>16^t[7]<<16,i[3]=t[6]^t[3]>>>16^t[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),r[e+n]^=i[n]},blockSize:4,ivSize:2});function c(){for(var r=this._X,e=this._C,t=0;t<8;t++)o[t]=e[t];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<o[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<o[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<o[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<o[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<o[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<o[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<o[6]>>>0?1:0)|0,this._b=e[7]>>>0<o[7]>>>0?1:0,t=0;t<8;t++){var n=r[t]+e[t],i=65535&n,s=n>>>16,c=((i*i>>>17)+i*s>>>15)+s*s,l=((4294901760&n)*n|0)+((65535&n)*n|0);a[t]=c^l}r[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,r[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,r[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,r[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,r[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,r[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,r[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,r[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(s)}(),r.RabbitLegacy)),Zr.exports;var r}(),Qr())),v.exports),se=u(ae),ce="en",le=["singular","plural","dual","zero","one","two","few","many","other"];var fe=new(function(){function r(){this.cache=new Map}return r.prototype._generateKey=function(r,e,t){void 0===t&&(t={});var n=Array.isArray(e)?e.join(","):e,i=t?JSON.stringify(t,Object.keys(t).sort()):"{}";return"".concat(r,":").concat(n,":").concat(i)},r.prototype.get=function(r,e,t){void 0===t&&(t={});var n=this._generateKey(r,e,t);if(!this.cache.has(n)){var i=new Intl[r](e,t);this.cache.set(n,i)}return this.cache.get(n)},r}());function ue(r){var e=r;if(e&&"object"==typeof e&&"string"==typeof e.k){var t=Object.keys(e);if(1===t.length)return!0;if(2===t.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===t.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}var he={variable:"v",number:"n",datetime:"d",currency:"c"};function pe(r){return he[r]}function de(r,n=0){let i=n;const o=r=>{const{type:e,props:t}=r;i+=1;const n={id:i};let o;try{o="function"==typeof e&&e._gtt||""}catch(r){}if(o){const r=o.split("-");if("translate"===r[0]&&(r[0]="fragment"),"variable"===r[0]&&(n.variableType=(null==r?void 0:r[1])||"variable"),"plural"===r[0]){const r=Object.entries(t).reduce((r,[e,t])=>(function(r){return le.includes(r)}(e)&&(r[e]=de(t,i)),r),{});Object.keys(r).length&&(n.branches=r)}if("branch"===r[0]){const{children:r,branch:e}=t,o=s(t,["children","branch"]),a=Object.entries(o).reduce((r,[e,t])=>(r[e]=de(t,i),r),{});Object.keys(a).length&&(n.branches=a)}n.transformation=r[0]}return n};function a(r){return t(r)?function(r){const{props:t}=r,n=o(r),i=Object.assign(Object.assign({},t),{"data-_gt":n});return t.children&&!n.variableType&&(i.children=c(t.children)),r.type===e.Fragment&&(i["data-_gt"].transformation="fragment"),e.cloneElement(r,i)}(r):r}function c(r){return Array.isArray(r)?e.Children.map(r,a):a(r)}return c(r)}"function"==typeof SuppressedError&&SuppressedError;const ve={variable:"value",number:"n",datetime:"date",currency:"cost"};function ye(r={},e){var t;if(r.name)return r.name;return`_gt_${ve[e]||"value"}_${null===(t=r["data-_gt"])||void 0===t?void 0:t.id}`}var ge={pl:"placeholder",ti:"title",alt:"alt",arl:"aria-label",arb:"aria-labelledby",ard:"aria-describedby"};const _e=r=>{var e;if(!r)return"";const{type:t,props:n}=r;if(t&&"function"==typeof t){if("displayName"in t&&"string"==typeof t.displayName&&t.displayName)return t.displayName;if("name"in t&&"string"==typeof t.name&&t.name)return t.name}return t&&"string"==typeof t?t:n.href?"a":(null===(e=n["data-_gt"])||void 0===e?void 0:e.id)?`C${n["data-_gt"].id}`:"function"},be=r=>{const{props:e}=r,t={t:_e(r)};if(e["data-_gt"]){const r=e["data-_gt"],n=r.transformation;if("variable"===n){const t=r.variableType||"variable",n=ye(e,t),i=pe(t);return{i:r.id,k:n,v:i}}t.i=r.id,t.d=((r,e,t)=>{let n=Object.entries(ge).reduce((r,[t,n])=>(e[n]&&(r[t]=e[n]),r),{});if("plural"===r&&t){const r={};Object.entries(t).forEach(([e,t])=>{r[e]=me(t)}),n=Object.assign(Object.assign({},n),{b:r,t:"p"})}if("branch"===r&&t){const r={};Object.entries(t).forEach(([e,t])=>{r[e]=me(t)}),n=Object.assign(Object.assign({},n),{b:r,t:"b"})}return Object.keys(n).length?n:void 0})(n,e,r.branches);let i=Object.entries(ge).reduce((r,[t,n])=>(e[n]&&(r[t]=e[n]),r),{});if("plural"===n&&r.branches){const e={};Object.entries(r.branches).forEach(([r,t])=>{e[r]=me(t)}),i=Object.assign(Object.assign({},i),{b:e,t:"p"})}if("branch"===n&&r.branches){const e={};Object.entries(r.branches).forEach(([r,t])=>{e[r]=me(t)}),i=Object.assign(Object.assign({},i),{b:e,t:"b"})}t.d=Object.keys(i).length?i:void 0}return e.children&&(t.c=me(e.children)),t},xe=r=>{return t=r,e.isValidElement(t)?be(r):"number"==typeof r?r.toString():r;var t};function me(r){return Array.isArray(r)?r.map(xe):xe(r)}function we(r,e,t){let n="",i=null;return"number"==typeof r&&!i&&t&&(n=function(r,e,t){void 0===e&&(e=le),void 0===t&&(t=["en"]);var n=fe.get("PluralRules",t).select(r),i=Math.abs(r);if(0===i&&e.includes("zero"))return"zero";if(1===i){if(e.includes("singular"))return"singular";if(e.includes("one"))return"one"}if("one"===n&&e.includes("singular"))return"singular";if(2===i){if(e.includes("dual"))return"dual";if(e.includes("two"))return"two"}return"two"===n&&e.includes("dual")?"dual":e.includes(n)?n:"two"===n&&e.includes("dual")?"dual":"two"===n&&e.includes("plural")?"plural":"two"===n&&e.includes("other")?"other":"few"===n&&e.includes("plural")?"plural":"few"===n&&e.includes("other")?"other":"many"===n&&e.includes("plural")?"plural":"many"===n&&e.includes("other")?"other":"other"===n&&e.includes("plural")?"plural":""}(r,Object.keys(t),e)),n&&!i&&(i=t[n]),i}function Be(r){if("string"==typeof r)return!0;if(Array.isArray(r)){if("string"!=typeof(null==r?void 0:r[0]))return!1;const e=null==r?void 0:r[1];if(void 0===e)return!0;if(e&&"object"==typeof e)return!0}return!1}function ke(r,t){let n=r;const i=t.split(".");for(const r of i){if("object"!=typeof n||Array.isArray(n)||e.isValidElement(n))return;n=n[r]}return n}function Se(r){if(Array.isArray(r)){if(1===r.length)return{entry:r[0]};if(2===r.length)return{entry:r[0],metadata:r[1]}}return{entry:r}}function Ae(r){var e;return"object"==typeof r&&!!r&&"data-_gt"in r&&"object"==typeof r["data-_gt"]&&!!r["data-_gt"]&&"transformation"in r["data-_gt"]&&"variable"===(null===(e=r["data-_gt"])||void 0===e?void 0:e.transformation)}function Oe(r){var e;const t=(null===(e=r["data-_gt"])||void 0===e?void 0:e.variableType)||"variable";return{variableName:ye(r,t),variableType:pe(t),variableValue:void 0!==r.value?r.value:void 0!==r["data-_gt-unformatted-value"]?r["data-_gt-unformatted-value"]:void 0!==r.children?r.children:void 0,variableOptions:(()=>{const e=Object.assign(Object.assign({},void 0!==r.currency&&{currency:r.currency}),void 0!==r.options&&r.options);return Object.keys(e).length?e:"string"==typeof r["data-_gt-variable-options"]?JSON.parse(r["data-_gt-variable-options"]):r["data-_gt-variable-options"]||void 0})()}}function je(r){const e=r;if(e&&"object"==typeof e&&"string"==typeof e.k){const r=Object.keys(e);if(1===r.length)return!0;if(2===r.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===r.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}function Ee(r){return r&&r.props&&r.props["data-_gt"]?r.props["data-_gt"]:null}function He({children:r,defaultLocale:t=ce,renderVariable:n}){const i=r=>e.isValidElement(r)?(r=>{const i=Ee(r);if(Ae(r.props)){const{variableType:e,variableValue:i,variableOptions:o}=Oe(r.props);return n({variableType:e,variableValue:i,variableOptions:o,locales:[t]})}if("plural"===(null==i?void 0:i.transformation)){const e=i.branches||{};return o(we(r.props.n,[t],e)||r.props.children)}if("branch"===(null==i?void 0:i.transformation)){let e=r.props,{children:t,branch:n,"data-_gt":a}=e,c=s(e,["children","branch","data-_gt"]);return c=i.branches||{},o(void 0!==c[n]?c[n]:t)}return"fragment"===(null==i?void 0:i.transformation)?e.createElement(e.Fragment,{key:r.props.key,children:o(r.props.children)}):r.props.children?e.cloneElement(r,Object.assign(Object.assign({},r.props),{"data-_gt":void 0,children:o(r.props.children)})):e.cloneElement(r,Object.assign(Object.assign({},r.props),{"data-_gt":void 0}))})(r):r,o=r=>Array.isArray(r)?e.Children.map(r,i):i(r);return o(r)}function ze({sourceElement:r,targetElement:t,locales:n=[ce],renderVariable:i}){var o,a;const{props:s}=r,c=s["data-_gt"],l=null==c?void 0:c.transformation,f=t.d,u={};if(f&&Object.entries(ge).forEach(([r,e])=>{f[r]&&(u[e]=f[r])}),"plural"===l){const e=r.props.n;return Ce({source:we(e,n,c.branches||{})||r.props.children,target:we(e,n,(null===(o=t.d)||void 0===o?void 0:o.b)||{})||t.c,locales:n,renderVariable:i})}if("branch"===l){const{branch:r,children:e}=s;return Ce({source:(c.branches||{})[r]||e,target:((null===(a=t.d)||void 0===a?void 0:a.b)||{})[r]||t.c,locales:n,renderVariable:i})}return"fragment"===l&&t.c?e.createElement(e.Fragment,{key:r.props.key,children:Ce({source:s.children,target:t.c,locales:n,renderVariable:i})}):(null==s?void 0:s.children)&&(null==t?void 0:t.c)?e.cloneElement(r,Object.assign(Object.assign(Object.assign({},s),u),{"data-_gt":void 0,children:Ce({source:s.children,target:t.c,locales:n,renderVariable:i})})):He({children:r,defaultLocale:n[0],renderVariable:i})}function Ce({source:r,target:t,locales:i=[ce],renderVariable:o}){if(null==t&&r)return He({children:r,defaultLocale:i[0],renderVariable:o});if("string"==typeof t)return t;if(Array.isArray(t)&&!Array.isArray(r)&&r&&(r=[r]),Array.isArray(r)&&Array.isArray(t)){const a={},s={},c=r.filter(r=>{if(e.isValidElement(r)){if(!Ae(r.props))return!0;{const{variableName:e,variableValue:t,variableOptions:n}=Oe(r.props);a[e]=t,s[e]=n}}return!1}),l=r=>c.find(e=>{const t=Ee(e);if(void 0!==(null==t?void 0:t.id)){return t.id===r.i}return!1})||c.shift();return t.map((r,t)=>{if("string"==typeof r)return n(e.Fragment,{children:r},`string_${t}`);if(ue(r))return n(e.Fragment,{children:o({variableType:r.v||"v",variableValue:a[r.k],variableOptions:s[r.k],locales:i})},`var_${t}`);const c=l(r);return c?n(e.Fragment,{children:ze({sourceElement:c,targetElement:r,locales:i,renderVariable:o})},`element_${t}`):void 0})}if(t&&"object"==typeof t&&!Array.isArray(t)){const n=ue(t)?"variable":"element";if(e.isValidElement(r)){if("element"===n)return ze({sourceElement:r,targetElement:t,locales:i,renderVariable:o});if(Ae(r.props)){const{variableValue:e,variableOptions:t,variableType:n}=Oe(r.props);return o({variableType:n,variableValue:e,variableOptions:t,locales:i})}}}return He({children:r,defaultLocale:i[0],renderVariable:o})}const Re={method:"default",timeout:"undefined"!=typeof process&&"development"!==process.env.NODE_ENV?8e3:12e3};function De(){return""}var Me=function(){return Me=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},Me.apply(this,arguments)};function Pe(r){return se.SHA256(r).toString(se.enc.Hex).slice(0,16)}"function"==typeof SuppressedError&&SuppressedError;var Fe=function(r){if(r&&"object"==typeof r){var e={};if("c"in r&&r.c&&(e.c=Ie(r.c)),"d"in r){var t=null==r?void 0:r.d;(null==t?void 0:t.b)&&(e.b=Object.fromEntries(Object.entries(t.b).map(function(r){return[r[0],Ie(r[1])]}))),(null==t?void 0:t.t)&&(e.t=t.t)}return function(r){var e=r;if(e&&"object"==typeof e&&"string"==typeof e.k){var t=Object.keys(e);if(1===t.length)return!0;if(2===t.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===t.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}(r)?Me({k:r.k},r.v&&{v:r.v}):e}return r};function Ie(r){return Array.isArray(r)?r.map(Fe):Fe(r)}function Ve(r,e){const t=(null==e?void 0:e.$_hash)||function(r,e){var t=r.source,n=r.context,i=r.id,o=r.dataFormat;void 0===e&&(e=Pe);var a={};return a.source="JSX"===o?Ie(t):t,a=Me(Me(Me(Me({},a),i&&{id:i}),n&&{context:n}),o&&{dataFormat:o}),e(d(a))}(Object.assign(Object.assign(Object.assign({source:r},(null==e?void 0:e.$context)&&{context:e.$context}),(null==e?void 0:e.$id)&&{id:e.$id}),{dataFormat:"ICU"}));e?(e.$_hash=t,e.$_source=r):e={$_hash:t,$_source:r};const n=Buffer.from(JSON.stringify(e)).toString("base64");let o=r;(function(r){let e=0,t=!1;for(;e<r.length;){const n=r[e];if("'"!==n){if(!t&&"{"===n){let t=e+1,n="";for(;t<r.length&&"}"!==r[t];)n+=r[t],t++;if(t<r.length&&n.trim().length>0)return!0;e=t<r.length?t+1:t;continue}e++}else{if(e+1<r.length&&"'"===r[e+1]){e+=2;continue}t=!t,e++}}return!1})(r)&&Object.keys(e||{}).length>2&&(o=i(r,{locales:[ce],variables:e}));let a=o;return n&&(a+=`:${n}`),a}function We(r){return-1!==r.lastIndexOf(":")?r.slice(0,r.lastIndexOf(":")):r}function Ne(r){if(-1===r.lastIndexOf(":"))return null;const e=r.slice(r.lastIndexOf(":")+1);try{return JSON.parse(Buffer.from(e,"base64").toString())}catch(r){return null}}const Te="generaltranslation.locale",Ke="generaltranslation.region",Ue=r=>"string"==typeof r||Array.isArray(r),$e=r=>"object"==typeof r&&null!==r&&!Array.isArray(r);function Le(r,e){const t=Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([,r])=>Ue(r)))),Object.fromEntries(Object.entries(e).filter(([,r])=>Ue(r)))),n=Object.entries(r).filter(([,r])=>$e(r)).map(([r])=>r),i=Object.entries(e).filter(([,r])=>$e(r)).map(([r])=>r),o=new Set([...n,...i]);for(const n of o)t[n]=Le(r[n]||{},e[n]||{});return t}const Xe="function"==typeof r.use;export{de as addGTIdentifier,We as decodeMsg,Ne as decodeOptions,Te as defaultLocaleCookieName,Ke as defaultRegionCookieName,Re as defaultRenderSettings,a as flattenDictionary,ke as getDictionaryEntry,Se as getEntryAndMetadata,we as getPluralBranch,ye as getVariableName,Oe as getVariableProps,Be as isValidDictionaryEntry,je as isVariableObject,Le as mergeDictionaries,Ve as msg,Xe as reactHasUse,He as renderDefaultChildren,De as renderSkeleton,Ce as renderTranslatedChildren,me as writeChildrenAsObjects};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InlineTranslationOptions } from '../types/types';
|
|
2
|
+
export declare function icuMessageContainsVariables(message: string): boolean;
|
|
2
3
|
/**
|
|
3
4
|
* Encodes content into a message that contains important translation metadata
|
|
4
5
|
* @param message The message to encode.
|
|
@@ -13,24 +14,30 @@ import { InlineTranslationOptions } from '../types/types';
|
|
|
13
14
|
* @example - Basic usage
|
|
14
15
|
*
|
|
15
16
|
* ```jsx
|
|
16
|
-
* import {
|
|
17
|
-
* const message =
|
|
18
|
-
* console.log(message); // "Hello, Brian:
|
|
17
|
+
* import { msg } from 'gt-react';
|
|
18
|
+
* const message = msg('Hello, {name}!', { name: 'Brian' });
|
|
19
|
+
* console.log(message); // "Hello, Brian:eyIkX2hhc2giOiAiMHgxMjMiLCAiJF9zb3VyY2UiOiAiSGVsbG8sIHtuYW1lfSEiLCAibmFtZSI6ICJCcmlhbiJ9"
|
|
19
20
|
* ```
|
|
20
|
-
*
|
|
21
|
+
* eyIkX2hhc2giOiAiMHgxMjMiLCAiJF9zb3VyY2UiOiAiSGVsbG8sIHtuYW1lfSEiLCAibmFtZSI6ICJCcmlhbiJ9
|
|
22
|
+
* encodes to {"$_hash": "0x123", "$_source": "Hello, {name}!", "name": "Brian"}
|
|
21
23
|
*
|
|
22
24
|
*/
|
|
23
|
-
export declare function msg(
|
|
25
|
+
export declare function msg(message: string, options?: InlineTranslationOptions): string;
|
|
24
26
|
/**
|
|
25
|
-
* Extracts the original interpolated
|
|
26
|
-
*
|
|
27
|
-
*
|
|
27
|
+
* Extracts the original interpolated message string.
|
|
28
|
+
* If the message cannot be decoded (i.e., it does not contain a colon separator),
|
|
29
|
+
* the input is returned as-is.
|
|
30
|
+
* @param encodedMsg The message to decode.
|
|
31
|
+
* @returns The decoded message, or the input if it cannot be decoded.
|
|
28
32
|
*/
|
|
29
|
-
export declare function decodeMsg(
|
|
33
|
+
export declare function decodeMsg(encodedMsg: string): string;
|
|
30
34
|
/**
|
|
31
|
-
* Decodes the options from
|
|
32
|
-
* @param
|
|
35
|
+
* Decodes the options from an encoded message.
|
|
36
|
+
* @param encodedMsg The message to decode.
|
|
33
37
|
* @returns The decoded options.
|
|
34
38
|
*/
|
|
35
|
-
export declare function decodeOptions(
|
|
39
|
+
export declare function decodeOptions(encodedMsg: string): ({
|
|
40
|
+
$_source: string;
|
|
41
|
+
$_hash: string;
|
|
42
|
+
} & InlineTranslationOptions) | null;
|
|
36
43
|
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/messages/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAG1D
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/messages/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAiDpE;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,GAAG,CACjB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,wBAAwB,GACjC,MAAM,CAyCR;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAKpD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,GAC5C,CAAC;IACC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,wBAAwB,CAAC,GAC7B,IAAI,CAiBP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientProvider.d.ts","sourceRoot":"","sources":["../../src/provider/ClientProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAWtD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,QAAQ,EACR,UAAU,EACV,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,OAAO,EACf,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,0BAA0B,EAC1B,OAAY,EACZ,cAAc,EACd,SAAS,EACT,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,qBAAqB,EACrB,gBAA0C,EAC1C,gBAA0C,EAC1C,aAAa,GACd,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"ClientProvider.d.ts","sourceRoot":"","sources":["../../src/provider/ClientProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAWtD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,QAAQ,EACR,UAAU,EACV,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,OAAO,EACf,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,0BAA0B,EAC1B,OAAY,EACZ,cAAc,EACd,SAAS,EACT,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,qBAAqB,EACrB,gBAA0C,EAC1C,gBAA0C,EAC1C,aAAa,GACd,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAiKzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GTProvider.d.ts","sourceRoot":"","sources":["../../src/provider/GTProvider.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAOlD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,EACR,MAAM,EACN,SAAS,EAAE,UAAoC,EAC/C,SAAS,EAAE,UAAoC,EAC/C,UAAU,EAAE,WAAsC,EAClD,OAA+B,EAC/B,aAA6D,EAC7D,QAA8C,EAC9C,UAAuD,EACvD,cAAgE,EAChE,GAAmC,EACnC,gBAAsE,EACtE,MAAM,EAAE,OAAY,EACpB,MAAM,EAAE,OAAO,EACf,cAAc,EACd,gBAAgB,EAChB,QAAoB,EACpB,YAAY,EAAE,aAAoB,EAClC,UAAU,EACV,aAAqC,EACrC,GAAG,QAAQ,EACZ,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"GTProvider.d.ts","sourceRoot":"","sources":["../../src/provider/GTProvider.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAOlD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,EACR,MAAM,EACN,SAAS,EAAE,UAAoC,EAC/C,SAAS,EAAE,UAAoC,EAC/C,UAAU,EAAE,WAAsC,EAClD,OAA+B,EAC/B,aAA6D,EAC7D,QAA8C,EAC9C,UAAuD,EACvD,cAAgE,EAChE,GAAmC,EACnC,gBAAsE,EACtE,MAAM,EAAE,OAAY,EACpB,MAAM,EAAE,OAAO,EACf,cAAc,EACd,gBAAgB,EAChB,QAAoB,EACpB,YAAY,EAAE,aAAoB,EAClC,UAAU,EACV,aAAqC,EACrC,GAAG,QAAQ,EACZ,EAAE,eAAe,2CA2KjB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InlineTranslationOptions, Translations, _Messages } from '
|
|
2
|
-
import { TranslateIcuCallback } from '
|
|
1
|
+
import { InlineTranslationOptions, Translations, _Messages } from '../../../types/types';
|
|
2
|
+
import { TranslateIcuCallback } from '../../../types/runtime';
|
|
3
3
|
import { GT } from 'generaltranslation';
|
|
4
4
|
export default function useCreateInternalUseGTFunction({ gt, translations, locale, defaultLocale, translationRequired, developmentApiEnabled, registerIcuForTranslation, }: {
|
|
5
5
|
gt: GT;
|
|
@@ -11,6 +11,7 @@ export default function useCreateInternalUseGTFunction({ gt, translations, local
|
|
|
11
11
|
registerIcuForTranslation: TranslateIcuCallback;
|
|
12
12
|
}): {
|
|
13
13
|
_tFunction: (message: string, options?: InlineTranslationOptions, preloadedTranslations?: Translations) => string;
|
|
14
|
+
_mFunction: (message: string, options?: Record<string, any>, preloadedTranslations?: Translations) => string;
|
|
14
15
|
_filterMessagesForPreload: (_messages: _Messages) => _Messages;
|
|
15
16
|
_preloadMessages: (_messages: _Messages) => Promise<Translations>;
|
|
16
17
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreateInternalUseGTFunction.d.ts","sourceRoot":"","sources":["../../../../src/provider/hooks/translation/useCreateInternalUseGTFunction.ts"],"names":[],"mappings":"AACA,OAAO,EACL,wBAAwB,EACxB,YAAY,EACZ,SAAS,EAEV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAOxC,MAAM,CAAC,OAAO,UAAU,8BAA8B,CAAC,EACrD,EAAE,EACF,YAAY,EACZ,MAAM,EACN,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,GAC1B,EAAE;IACD,EAAE,EAAE,EAAE,CAAC;IACP,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,yBAAyB,EAAE,oBAAoB,CAAC;CACjD,GAAG;IACF,UAAU,EAAE,CACV,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,wBAAwB,EAClC,qBAAqB,CAAC,EAAE,YAAY,KACjC,MAAM,CAAC;IACZ,UAAU,EAAE,CACV,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7B,qBAAqB,CAAC,EAAE,YAAY,KACjC,MAAM,CAAC;IACZ,yBAAyB,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,SAAS,CAAC;IAC/D,gBAAgB,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;CACnE,CAgSA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Dictionary, DictionaryTranslationOptions, RenderMethod, Translations } from '../../../types/types';
|
|
2
|
+
import { TranslateIcuCallback } from '../../../types/runtime';
|
|
3
|
+
export default function useCreateInternalUseTranslationsFunction(dictionary: Dictionary | undefined, translations: Translations | null, locale: string, defaultLocale: string, translationRequired: boolean, dialectTranslationRequired: boolean, developmentApiEnabled: boolean, registerIcuForTranslation: TranslateIcuCallback, renderSettings: {
|
|
4
|
+
method: RenderMethod;
|
|
5
|
+
}): (id: string, options?: DictionaryTranslationOptions) => string;
|
|
6
|
+
//# sourceMappingURL=useCreateInternalUseTranslationsFunction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreateInternalUseTranslationsFunction.d.ts","sourceRoot":"","sources":["../../../../src/provider/hooks/translation/useCreateInternalUseTranslationsFunction.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,YAAY,EACZ,YAAY,EACb,MAAM,sBAAsB,CAAC;AAY9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,MAAM,CAAC,OAAO,UAAU,wCAAwC,CAC9D,UAAU,EAAE,UAAU,GAAG,SAAS,EAClC,YAAY,EAAE,YAAY,GAAG,IAAI,EACjC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,OAAO,EAC5B,0BAA0B,EAAE,OAAO,EACnC,qBAAqB,EAAE,OAAO,EAC9B,yBAAyB,EAAE,oBAAoB,EAC/C,cAAc,EAAE;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,QAGjC,MAAM,YAAW,4BAA4B,KAAQ,MAAM,CAkHnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateInternalUseTranslationsFunction.d.ts","sourceRoot":"","sources":["../../../src/provider/hooks/useCreateInternalUseTranslationsFunction.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,YAAY,EACZ,YAAY,EACb,MAAM,mBAAmB,CAAC;AAY3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateInternalUseTranslationsFunction.d.ts","sourceRoot":"","sources":["../../../src/provider/hooks/useCreateInternalUseTranslationsFunction.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,YAAY,EACZ,YAAY,EACb,MAAM,mBAAmB,CAAC;AAY3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,MAAM,CAAC,OAAO,UAAU,wCAAwC,CAC9D,UAAU,EAAE,UAAU,GAAG,SAAS,EAClC,YAAY,EAAE,YAAY,GAAG,IAAI,EACjC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,OAAO,EAC5B,0BAA0B,EAAE,OAAO,EACnC,qBAAqB,EAAE,OAAO,EAC9B,yBAAyB,EAAE,oBAAoB,EAC/C,cAAc,EAAE;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,QAGjC,MAAM,YAAW,4BAA4B,KAAQ,MAAM,CAmGnE"}
|
|
@@ -2,7 +2,7 @@ import { _Messages } from '../../types/types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Gets the translation function `t` provided by `<GTProvider>`.
|
|
4
4
|
*
|
|
5
|
-
* @returns {Function} A translation function that accepts
|
|
5
|
+
* @returns {Function} A translation function that accepts an ICU message format string and returns the translation of that string.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* const t = useGT();
|
|
@@ -10,12 +10,7 @@ import { _Messages } from '../../types/types';
|
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* const t = useGT();
|
|
13
|
-
*
|
|
14
|
-
* {
|
|
15
|
-
* t('My name is {customName}', { customName: "Brian", id: 'my-name', context: 'a proper noun' } )
|
|
16
|
-
* }
|
|
17
|
-
* </>);
|
|
18
|
-
*
|
|
13
|
+
* t('My name is {customName}', { customName: "Brian", id: 'my-name', context: 'a proper noun' } )
|
|
19
14
|
*/
|
|
20
15
|
export default function useGT(_messages?: _Messages): (string: string, options?: Record<string, any> & {
|
|
21
16
|
$id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGT.d.ts","sourceRoot":"","sources":["../../../src/translation/hooks/useGT.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAgB,MAAM,mBAAmB,CAAC;AAI5D
|
|
1
|
+
{"version":3,"file":"useGT.d.ts","sourceRoot":"","sources":["../../../src/translation/hooks/useGT.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAgB,MAAM,mBAAmB,CAAC;AAI5D;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,SAAS,CAAC,EAAE,SAAS,YA+CvC,MAAM,YACL,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,KACA,MAAM,CAKV"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { _Messages } from '../../types/types';
|
|
2
|
+
/**
|
|
3
|
+
* Gets the message decoding and translation function `m` provided by `<GTProvider>`.
|
|
4
|
+
*
|
|
5
|
+
* @returns {Function} A translation function that accepts an encoded message, decodes it, and returns the translated value.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* const encodedMessage = msg("Hello, world")
|
|
9
|
+
* const m = useMessages();
|
|
10
|
+
* m(encodedMessage) // returns "Hello, world" translated
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* const encodedMessage = msg("My name is {name}", { name: "Brian" });
|
|
14
|
+
* const m = useMessages();
|
|
15
|
+
* m(encodedMessage) // returns "My name is Brian" translated
|
|
16
|
+
*/
|
|
17
|
+
export default function useMessages(_messages?: _Messages): (encodedMsg: string, options?: Record<string, any>) => string;
|
|
18
|
+
//# sourceMappingURL=useMessages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMessages.d.ts","sourceRoot":"","sources":["../../../src/translation/hooks/useMessages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAgB,MAAM,mBAAmB,CAAC;AAI5D;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,SAAS,CAAC,EAAE,SAAS,gBAkDhC,MAAM,YAAW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAQ,MAAM,CAK1E"}
|