gt-i18n 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/index.cjs.min.cjs +1 -1
- package/dist/index.cjs.min.cjs.map +1 -1
- package/dist/index.esm.min.mjs +1 -1
- package/dist/index.esm.min.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# gt-i18n
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`997a5df`](https://github.com/generaltranslation/gt/commit/997a5df6ac355b49a77e768935f9017af689de21)]:
|
|
8
|
+
- generaltranslation@8.0.6
|
|
9
|
+
- @generaltranslation/supported-locales@2.0.29
|
|
10
|
+
|
|
11
|
+
## 0.1.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`30a04f9`](https://github.com/generaltranslation/gt/commit/30a04f955c64013daf2a32480fb33b3d4e08d678)]:
|
|
16
|
+
- generaltranslation@8.0.5
|
|
17
|
+
- @generaltranslation/supported-locales@2.0.28
|
|
18
|
+
|
|
3
19
|
## 0.1.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/index.cjs.min.cjs
CHANGED
|
@@ -15,5 +15,5 @@ t.mode.CTRGladman=function(){var r=t.lib.BlockCipherMode.extend();function e(t){
|
|
|
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 r=t,e=r.lib,i=e.WordArray,n=e.Hasher,o=r.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=i.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=i.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]),h=i.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=i.create([0,1518500249,1859775393,2400959708,2840853838]),l=i.create([1352829926,1548603684,1836072691,2053994217,0]),u=o.RIPEMD160=n.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,r){for(var e=0;e<16;e++){var i=r+e,n=t[i];t[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var o,u,x,B,w,k,b,S,m,A,H,C=this._hash.words,z=f.words,E=l.words,R=s.words,O=a.words,D=c.words,M=h.words;for(k=o=C[0],b=u=C[1],S=x=C[2],m=B=C[3],A=w=C[4],e=0;e<80;e+=1)H=o+t[r+R[e]]|0,H+=e<16?p(u,x,B)+z[0]:e<32?d(u,x,B)+z[1]:e<48?v(u,x,B)+z[2]:e<64?_(u,x,B)+z[3]:y(u,x,B)+z[4],H=(H=g(H|=0,D[e]))+w|0,o=w,w=B,B=g(x,10),x=u,u=H,H=k+t[r+O[e]]|0,H+=e<16?y(b,S,m)+E[0]:e<32?_(b,S,m)+E[1]:e<48?v(b,S,m)+E[2]:e<64?d(b,S,m)+E[3]:p(b,S,m)+E[4],H=(H=g(H|=0,M[e]))+A|0,k=A,A=m,m=g(S,10),S=b,b=H;H=C[1]+x+m|0,C[1]=C[2]+B+A|0,C[2]=C[3]+w+k|0,C[3]=C[4]+o+b|0,C[4]=C[0]+u+S|0,C[0]=H},_doFinalize:function(){var t=this._data,r=t.words,e=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8),t.sigBytes=4*(r.length+1),this._process();for(var n=this._hash,o=n.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return n},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}});function p(t,r,e){return t^r^e}function d(t,r,e){return t&r|~t&e}function v(t,r,e){return(t|~r)^e}function _(t,r,e){return t&e|r&~e}function y(t,r,e){return t^(r|~e)}function g(t,r){return t<<r|t>>>32-r}r.RIPEMD160=n._createHelper(u),r.HmacRIPEMD160=n._createHmacHelper(u)}(),t.RIPEMD160)),J.exports;var t}(),G(),function(){return V||(V=1,Q.exports=(c=l(),F(),G(),r=(t=c).lib,e=r.Base,i=r.WordArray,n=t.algo,o=n.SHA256,s=n.HMAC,a=n.PBKDF2=e.extend({cfg:e.extend({keySize:4,hasher:o,iterations:25e4}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,r){for(var e=this.cfg,n=s.create(e.hasher,t),o=i.create(),a=i.create([1]),c=o.words,h=a.words,f=e.keySize,l=e.iterations;c.length<f;){var u=n.update(r).finalize(a);n.reset();for(var p=u.words,d=p.length,v=u,_=1;_<l;_++){v=n.finalize(v),n.reset();for(var y=v.words,g=0;g<d;g++)p[g]^=y[g]}o.concat(u),h[0]++}return o.sigBytes=4*f,o}}),t.PBKDF2=function(t,r,e){return a.create(e).compute(t,r)},c.PBKDF2)),Q.exports;var t,r,e,i,n,o,s,a,c}(),rt(),nt(),at(),ft(),pt(),_t(),function(){return yt?gt.exports:(yt=1,gt.exports=(r=l(),nt(),r.mode.ECB=((t=r.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(t,r){this._cipher.encryptBlock(t,r)}}),t.Decryptor=t.extend({processBlock:function(t,r){this._cipher.decryptBlock(t,r)}}),t),r.mode.ECB));var t,r}(),function(){return xt?Bt.exports:(xt=1,Bt.exports=(t=l(),nt(),t.pad.AnsiX923={pad:function(t,r){var e=t.sigBytes,i=4*r,n=i-e%i,o=e+n-1;t.clamp(),t.words[o>>>2]|=n<<24-o%4*8,t.sigBytes+=n},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},t.pad.Ansix923));var t}(),function(){return wt?kt.exports:(wt=1,kt.exports=(t=l(),nt(),t.pad.Iso10126={pad:function(r,e){var i=4*e,n=i-r.sigBytes%i;r.concat(t.lib.WordArray.random(n-1)).concat(t.lib.WordArray.create([n<<24],1))},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},t.pad.Iso10126));var t}(),function(){return bt?St.exports:(bt=1,St.exports=(t=l(),nt(),t.pad.Iso97971={pad:function(r,e){r.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(r,e)},unpad:function(r){t.pad.ZeroPadding.unpad(r),r.sigBytes--}},t.pad.Iso97971));var t}(),function(){return mt||(mt=1,At.exports=(t=l(),nt(),t.pad.ZeroPadding={pad:function(t,r){var e=4*r;t.clamp(),t.sigBytes+=e-(t.sigBytes%e||e)},unpad:function(t){var r=t.words,e=t.sigBytes-1;for(e=t.sigBytes-1;e>=0;e--)if(r[e>>>2]>>>24-e%4*8&255){t.sigBytes=e+1;break}}},t.pad.ZeroPadding)),At.exports;var t}(),function(){return Ht?Ct.exports:(Ht=1,Ct.exports=(t=l(),nt(),t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding));var t}(),function(){return zt?Et.exports:(zt=1,Et.exports=(i=l(),nt(),r=(t=i).lib.CipherParams,e=t.enc.Hex,t.format.Hex={stringify:function(t){return t.ciphertext.toString(e)},parse:function(t){var i=e.parse(t);return r.create({ciphertext:i})}},i.format.Hex));var t,r,e,i}(),function(){return Rt||(Rt=1,Ot.exports=(t=l(),b(),z(),rt(),nt(),function(){var r=t,e=r.lib.BlockCipher,i=r.algo,n=[],o=[],s=[],a=[],c=[],h=[],f=[],l=[],u=[],p=[];!function(){for(var t=[],r=0;r<256;r++)t[r]=r<128?r<<1:r<<1^283;var e=0,i=0;for(r=0;r<256;r++){var d=i^i<<1^i<<2^i<<3^i<<4;d=d>>>8^255&d^99,n[e]=d,o[d]=e;var v=t[e],_=t[v],y=t[_],g=257*t[d]^16843008*d;s[e]=g<<24|g>>>8,a[e]=g<<16|g>>>16,c[e]=g<<8|g>>>24,h[e]=g,g=16843009*y^65537*_^257*v^16843008*e,f[d]=g<<24|g>>>8,l[d]=g<<16|g>>>16,u[d]=g<<8|g>>>24,p[d]=g,e?(e=v^t[t[t[y^v]]],i^=t[t[i]]):e=i=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],v=i.AES=e.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,r=t.words,e=t.sigBytes/4,i=4*((this._nRounds=e+6)+1),o=this._keySchedule=[],s=0;s<i;s++)s<e?o[s]=r[s]:(h=o[s-1],s%e?e>6&&s%e==4&&(h=n[h>>>24]<<24|n[h>>>16&255]<<16|n[h>>>8&255]<<8|n[255&h]):(h=n[(h=h<<8|h>>>24)>>>24]<<24|n[h>>>16&255]<<16|n[h>>>8&255]<<8|n[255&h],h^=d[s/e|0]<<24),o[s]=o[s-e]^h);for(var a=this._invKeySchedule=[],c=0;c<i;c++){if(s=i-c,c%4)var h=o[s];else h=o[s-4];a[c]=c<4||s<=4?h:f[n[h>>>24]]^l[n[h>>>16&255]]^u[n[h>>>8&255]]^p[n[255&h]]}}},encryptBlock:function(t,r){this._doCryptBlock(t,r,this._keySchedule,s,a,c,h,n)},decryptBlock:function(t,r){var e=t[r+1];t[r+1]=t[r+3],t[r+3]=e,this._doCryptBlock(t,r,this._invKeySchedule,f,l,u,p,o),e=t[r+1],t[r+1]=t[r+3],t[r+3]=e},_doCryptBlock:function(t,r,e,i,n,o,s,a){for(var c=this._nRounds,h=t[r]^e[0],f=t[r+1]^e[1],l=t[r+2]^e[2],u=t[r+3]^e[3],p=4,d=1;d<c;d++){var v=i[h>>>24]^n[f>>>16&255]^o[l>>>8&255]^s[255&u]^e[p++],_=i[f>>>24]^n[l>>>16&255]^o[u>>>8&255]^s[255&h]^e[p++],y=i[l>>>24]^n[u>>>16&255]^o[h>>>8&255]^s[255&f]^e[p++],g=i[u>>>24]^n[h>>>16&255]^o[f>>>8&255]^s[255&l]^e[p++];h=v,f=_,l=y,u=g}v=(a[h>>>24]<<24|a[f>>>16&255]<<16|a[l>>>8&255]<<8|a[255&u])^e[p++],_=(a[f>>>24]<<24|a[l>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^e[p++],y=(a[l>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&f])^e[p++],g=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[f>>>8&255]<<8|a[255&l])^e[p++],t[r]=v,t[r+1]=_,t[r+2]=y,t[r+3]=g},keySize:8});r.AES=e._createHelper(v)}(),t.AES)),Ot.exports;var t}(),Ft(),function(){return Pt||(Pt=1,Wt.exports=(t=l(),b(),z(),rt(),nt(),function(){var r=t,e=r.lib.StreamCipher,i=r.algo,n=i.RC4=e.extend({_doReset:function(){for(var t=this._key,r=t.words,e=t.sigBytes,i=this._S=[],n=0;n<256;n++)i[n]=n;n=0;for(var o=0;n<256;n++){var s=n%e,a=r[s>>>2]>>>24-s%4*8&255;o=(o+i[n]+a)%256;var c=i[n];i[n]=i[o],i[o]=c}this._i=this._j=0},_doProcessBlock:function(t,r){t[r]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var t=this._S,r=this._i,e=this._j,i=0,n=0;n<4;n++){e=(e+t[r=(r+1)%256])%256;var o=t[r];t[r]=t[e],t[e]=o,i|=t[(t[r]+t[e])%256]<<24-8*n}return this._i=r,this._j=e,i}r.RC4=e._createHelper(n);var s=i.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)o.call(this)}});r.RC4Drop=e._createHelper(s)}(),t.RC4)),Wt.exports;var t}(),function(){return jt||(jt=1,It.exports=(t=l(),b(),z(),rt(),nt(),function(){var r=t,e=r.lib.StreamCipher,i=r.algo,n=[],o=[],s=[],a=i.Rabbit=e.extend({_doReset:function(){for(var t=this._key.words,r=this.cfg.iv,e=0;e<4;e++)t[e]=16711935&(t[e]<<8|t[e]>>>24)|4278255360&(t[e]<<24|t[e]>>>8);var i=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,e=0;e<4;e++)c.call(this);for(e=0;e<8;e++)n[e]^=i[e+4&7];if(r){var o=r.words,s=o[0],a=o[1],h=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=h>>>16|4294901760&f,u=f<<16|65535&h;for(n[0]^=h,n[1]^=l,n[2]^=f,n[3]^=u,n[4]^=h,n[5]^=l,n[6]^=f,n[7]^=u,e=0;e<4;e++)c.call(this)}},_doProcessBlock:function(t,r){var e=this._X;c.call(this),n[0]=e[0]^e[5]>>>16^e[3]<<16,n[1]=e[2]^e[7]>>>16^e[5]<<16,n[2]=e[4]^e[1]>>>16^e[7]<<16,n[3]=e[6]^e[3]>>>16^e[1]<<16;for(var i=0;i<4;i++)n[i]=16711935&(n[i]<<8|n[i]>>>24)|4278255360&(n[i]<<24|n[i]>>>8),t[r+i]^=n[i]},blockSize:4,ivSize:2});function c(){for(var t=this._X,r=this._C,e=0;e<8;e++)o[e]=r[e];for(r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0,e=0;e<8;e++){var i=t[e]+r[e],n=65535&i,a=i>>>16,c=((n*n>>>17)+n*a>>>15)+a*a,h=((4294901760&i)*i|0)+((65535&i)*i|0);s[e]=c^h}t[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,t[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,t[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,t[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,t[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,t[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,t[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,t[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}r.Rabbit=e._createHelper(a)}(),t.Rabbit)),It.exports;var t}(),function(){return Ut||(Ut=1,Kt.exports=(t=l(),b(),z(),rt(),nt(),function(){var r=t,e=r.lib.StreamCipher,i=r.algo,n=[],o=[],s=[],a=i.RabbitLegacy=e.extend({_doReset:function(){var t=this._key.words,r=this.cfg.iv,e=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],i=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var n=0;n<4;n++)c.call(this);for(n=0;n<8;n++)i[n]^=e[n+4&7];if(r){var o=r.words,s=o[0],a=o[1],h=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=h>>>16|4294901760&f,u=f<<16|65535&h;for(i[0]^=h,i[1]^=l,i[2]^=f,i[3]^=u,i[4]^=h,i[5]^=l,i[6]^=f,i[7]^=u,n=0;n<4;n++)c.call(this)}},_doProcessBlock:function(t,r){var e=this._X;c.call(this),n[0]=e[0]^e[5]>>>16^e[3]<<16,n[1]=e[2]^e[7]>>>16^e[5]<<16,n[2]=e[4]^e[1]>>>16^e[7]<<16,n[3]=e[6]^e[3]>>>16^e[1]<<16;for(var i=0;i<4;i++)n[i]=16711935&(n[i]<<8|n[i]>>>24)|4278255360&(n[i]<<24|n[i]>>>8),t[r+i]^=n[i]},blockSize:4,ivSize:2});function c(){for(var t=this._X,r=this._C,e=0;e<8;e++)o[e]=r[e];for(r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0,e=0;e<8;e++){var i=t[e]+r[e],n=65535&i,a=i>>>16,c=((n*n>>>17)+n*a>>>15)+a*a,h=((4294901760&i)*i|0)+((65535&i)*i|0);s[e]=c^h}t[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,t[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,t[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,t[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,t[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,t[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,t[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,t[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}r.RabbitLegacy=e._createHelper(a)}(),t.RabbitLegacy)),Kt.exports;var t}(),Xt())),c.exports),Yt=o(Qt),tr=function(){return tr=Object.assign||function(t){for(var r,e=1,i=arguments.length;e<i;e++)for(var n in r=arguments[e])Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t},tr.apply(this,arguments)};function rr(t){return Yt.SHA256(t).toString(Yt.enc.Hex).slice(0,16)}"function"==typeof SuppressedError&&SuppressedError;var er=function(t){if(t&&"object"==typeof t){var r={};if("c"in t&&t.c&&(r.c=ir(t.c)),"d"in t){var e=null==t?void 0:t.d;(null==e?void 0:e.b)&&(r.b=Object.fromEntries(Object.entries(e.b).map(function(t){return[t[0],ir(t[1])]}))),(null==e?void 0:e.t)&&(r.t=e.t)}return function(t){var r=t;if(r&&"object"==typeof r&&"string"==typeof r.k){var e=Object.keys(r);if(1===e.length)return!0;if(2===e.length){if("number"==typeof r.i)return!0;if("string"==typeof r.v)return!0}if(3===e.length&&"string"==typeof r.v&&"number"==typeof r.i)return!0}return!1}(t)?tr({k:t.k},t.v&&{v:t.v}):r}return t};function ir(t){return Array.isArray(t)?t.map(er):er(t)}"function"==typeof SuppressedError&&SuppressedError;var nr=function(t){console.warn(t)};exports.decodeMsg=function(t){return"string"==typeof t&&-1!==t.lastIndexOf(":")?t.slice(0,t.lastIndexOf(":")):t},exports.decodeOptions=function(t){if(-1===t.lastIndexOf(":"))return null;var r=t.slice(t.lastIndexOf(":")+1);try{var e=JSON.parse(function(t){if("undefined"!=typeof Buffer)return Buffer.from(t,"base64").toString("utf8");for(var r=atob(t),e=new Uint8Array(r.length),i=0;i<r.length;i++)e[i]=r.charCodeAt(i);return(new TextDecoder).decode(e)}(r));return e}catch(t){return null}},exports.msg=function(e,i){if(!i)return e;var n=function(t){return Object.fromEntries(Object.entries(t).filter(function(t){var r=t[0];return"$id"!==r&&"$context"!==r&&"$hash"!==r&&"$_hash"!==r&&"$_source"!==r}))}(i),o=e;if(function(t){for(var r=0,e=!1;r<t.length;){var i=t[r];if("'"!==i)if(e||"{"!==i)r++;else{for(var n=r+1,o="";n<t.length&&"}"!==t[n];)o+=t[n],n++;if(n<t.length&&o.trim().length>0)return!0;r=n<t.length?n+1:n}else{if(r+1<t.length&&"'"===t[r+1]){r+=2;continue}e=!e,r++}}return!1}(e)&&Object.keys(n||{}).length>0)try{o=t.formatMessage(e,{locales:["en"],variables:n})}catch(t){return nr("gt-i18n warning: String interpolation failed. Error: "+t),e}var s=e,c=i.$_hash||function(t,r){var e=t.source,i=t.context,n=t.id,o=t.dataFormat;void 0===r&&(r=rr);var s={};return s.source="JSX"===o?ir(e):e,s=tr(tr(tr(tr({},s),n&&{id:n}),i&&{context:i}),o&&{dataFormat:o}),r(a(s))}(r(r(r({source:e},(null==i?void 0:i.$context)&&{context:i.$context}),(null==i?void 0:i.$id)&&{id:i.$id}),{dataFormat:"ICU"})),h=r(r({},i),{$_source:s,$_hash:c}),f=function(t){if("undefined"!=typeof Buffer)return Buffer.from(t,"utf8").toString("base64");for(var r=(new TextEncoder).encode(t),e="",i=0;i<r.length;i++)e+=String.fromCharCode(r[i]);return btoa(e)}(JSON.stringify(h));return"".concat(o,":").concat(f)};
|
|
18
|
+
function(){var r=t,e=r.lib,i=e.WordArray,n=e.Hasher,o=r.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=i.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=i.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]),h=i.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=i.create([0,1518500249,1859775393,2400959708,2840853838]),l=i.create([1352829926,1548603684,1836072691,2053994217,0]),u=o.RIPEMD160=n.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,r){for(var e=0;e<16;e++){var i=r+e,n=t[i];t[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var o,u,x,B,w,k,b,S,m,A,H,C=this._hash.words,z=f.words,E=l.words,R=s.words,O=a.words,D=c.words,M=h.words;for(k=o=C[0],b=u=C[1],S=x=C[2],m=B=C[3],A=w=C[4],e=0;e<80;e+=1)H=o+t[r+R[e]]|0,H+=e<16?p(u,x,B)+z[0]:e<32?d(u,x,B)+z[1]:e<48?v(u,x,B)+z[2]:e<64?_(u,x,B)+z[3]:y(u,x,B)+z[4],H=(H=g(H|=0,D[e]))+w|0,o=w,w=B,B=g(x,10),x=u,u=H,H=k+t[r+O[e]]|0,H+=e<16?y(b,S,m)+E[0]:e<32?_(b,S,m)+E[1]:e<48?v(b,S,m)+E[2]:e<64?d(b,S,m)+E[3]:p(b,S,m)+E[4],H=(H=g(H|=0,M[e]))+A|0,k=A,A=m,m=g(S,10),S=b,b=H;H=C[1]+x+m|0,C[1]=C[2]+B+A|0,C[2]=C[3]+w+k|0,C[3]=C[4]+o+b|0,C[4]=C[0]+u+S|0,C[0]=H},_doFinalize:function(){var t=this._data,r=t.words,e=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8),t.sigBytes=4*(r.length+1),this._process();for(var n=this._hash,o=n.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return n},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}});function p(t,r,e){return t^r^e}function d(t,r,e){return t&r|~t&e}function v(t,r,e){return(t|~r)^e}function _(t,r,e){return t&e|r&~e}function y(t,r,e){return t^(r|~e)}function g(t,r){return t<<r|t>>>32-r}r.RIPEMD160=n._createHelper(u),r.HmacRIPEMD160=n._createHmacHelper(u)}(),t.RIPEMD160)),J.exports;var t}(),G(),function(){return V||(V=1,Q.exports=(c=l(),F(),G(),r=(t=c).lib,e=r.Base,i=r.WordArray,n=t.algo,o=n.SHA256,s=n.HMAC,a=n.PBKDF2=e.extend({cfg:e.extend({keySize:4,hasher:o,iterations:25e4}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,r){for(var e=this.cfg,n=s.create(e.hasher,t),o=i.create(),a=i.create([1]),c=o.words,h=a.words,f=e.keySize,l=e.iterations;c.length<f;){var u=n.update(r).finalize(a);n.reset();for(var p=u.words,d=p.length,v=u,_=1;_<l;_++){v=n.finalize(v),n.reset();for(var y=v.words,g=0;g<d;g++)p[g]^=y[g]}o.concat(u),h[0]++}return o.sigBytes=4*f,o}}),t.PBKDF2=function(t,r,e){return a.create(e).compute(t,r)},c.PBKDF2)),Q.exports;var t,r,e,i,n,o,s,a,c}(),rt(),nt(),at(),ft(),pt(),_t(),function(){return yt?gt.exports:(yt=1,gt.exports=(r=l(),nt(),r.mode.ECB=((t=r.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(t,r){this._cipher.encryptBlock(t,r)}}),t.Decryptor=t.extend({processBlock:function(t,r){this._cipher.decryptBlock(t,r)}}),t),r.mode.ECB));var t,r}(),function(){return xt?Bt.exports:(xt=1,Bt.exports=(t=l(),nt(),t.pad.AnsiX923={pad:function(t,r){var e=t.sigBytes,i=4*r,n=i-e%i,o=e+n-1;t.clamp(),t.words[o>>>2]|=n<<24-o%4*8,t.sigBytes+=n},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},t.pad.Ansix923));var t}(),function(){return wt?kt.exports:(wt=1,kt.exports=(t=l(),nt(),t.pad.Iso10126={pad:function(r,e){var i=4*e,n=i-r.sigBytes%i;r.concat(t.lib.WordArray.random(n-1)).concat(t.lib.WordArray.create([n<<24],1))},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},t.pad.Iso10126));var t}(),function(){return bt?St.exports:(bt=1,St.exports=(t=l(),nt(),t.pad.Iso97971={pad:function(r,e){r.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(r,e)},unpad:function(r){t.pad.ZeroPadding.unpad(r),r.sigBytes--}},t.pad.Iso97971));var t}(),function(){return mt||(mt=1,At.exports=(t=l(),nt(),t.pad.ZeroPadding={pad:function(t,r){var e=4*r;t.clamp(),t.sigBytes+=e-(t.sigBytes%e||e)},unpad:function(t){var r=t.words,e=t.sigBytes-1;for(e=t.sigBytes-1;e>=0;e--)if(r[e>>>2]>>>24-e%4*8&255){t.sigBytes=e+1;break}}},t.pad.ZeroPadding)),At.exports;var t}(),function(){return Ht?Ct.exports:(Ht=1,Ct.exports=(t=l(),nt(),t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding));var t}(),function(){return zt?Et.exports:(zt=1,Et.exports=(i=l(),nt(),r=(t=i).lib.CipherParams,e=t.enc.Hex,t.format.Hex={stringify:function(t){return t.ciphertext.toString(e)},parse:function(t){var i=e.parse(t);return r.create({ciphertext:i})}},i.format.Hex));var t,r,e,i}(),function(){return Rt||(Rt=1,Ot.exports=(t=l(),b(),z(),rt(),nt(),function(){var r=t,e=r.lib.BlockCipher,i=r.algo,n=[],o=[],s=[],a=[],c=[],h=[],f=[],l=[],u=[],p=[];!function(){for(var t=[],r=0;r<256;r++)t[r]=r<128?r<<1:r<<1^283;var e=0,i=0;for(r=0;r<256;r++){var d=i^i<<1^i<<2^i<<3^i<<4;d=d>>>8^255&d^99,n[e]=d,o[d]=e;var v=t[e],_=t[v],y=t[_],g=257*t[d]^16843008*d;s[e]=g<<24|g>>>8,a[e]=g<<16|g>>>16,c[e]=g<<8|g>>>24,h[e]=g,g=16843009*y^65537*_^257*v^16843008*e,f[d]=g<<24|g>>>8,l[d]=g<<16|g>>>16,u[d]=g<<8|g>>>24,p[d]=g,e?(e=v^t[t[t[y^v]]],i^=t[t[i]]):e=i=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],v=i.AES=e.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,r=t.words,e=t.sigBytes/4,i=4*((this._nRounds=e+6)+1),o=this._keySchedule=[],s=0;s<i;s++)s<e?o[s]=r[s]:(h=o[s-1],s%e?e>6&&s%e==4&&(h=n[h>>>24]<<24|n[h>>>16&255]<<16|n[h>>>8&255]<<8|n[255&h]):(h=n[(h=h<<8|h>>>24)>>>24]<<24|n[h>>>16&255]<<16|n[h>>>8&255]<<8|n[255&h],h^=d[s/e|0]<<24),o[s]=o[s-e]^h);for(var a=this._invKeySchedule=[],c=0;c<i;c++){if(s=i-c,c%4)var h=o[s];else h=o[s-4];a[c]=c<4||s<=4?h:f[n[h>>>24]]^l[n[h>>>16&255]]^u[n[h>>>8&255]]^p[n[255&h]]}}},encryptBlock:function(t,r){this._doCryptBlock(t,r,this._keySchedule,s,a,c,h,n)},decryptBlock:function(t,r){var e=t[r+1];t[r+1]=t[r+3],t[r+3]=e,this._doCryptBlock(t,r,this._invKeySchedule,f,l,u,p,o),e=t[r+1],t[r+1]=t[r+3],t[r+3]=e},_doCryptBlock:function(t,r,e,i,n,o,s,a){for(var c=this._nRounds,h=t[r]^e[0],f=t[r+1]^e[1],l=t[r+2]^e[2],u=t[r+3]^e[3],p=4,d=1;d<c;d++){var v=i[h>>>24]^n[f>>>16&255]^o[l>>>8&255]^s[255&u]^e[p++],_=i[f>>>24]^n[l>>>16&255]^o[u>>>8&255]^s[255&h]^e[p++],y=i[l>>>24]^n[u>>>16&255]^o[h>>>8&255]^s[255&f]^e[p++],g=i[u>>>24]^n[h>>>16&255]^o[f>>>8&255]^s[255&l]^e[p++];h=v,f=_,l=y,u=g}v=(a[h>>>24]<<24|a[f>>>16&255]<<16|a[l>>>8&255]<<8|a[255&u])^e[p++],_=(a[f>>>24]<<24|a[l>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^e[p++],y=(a[l>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&f])^e[p++],g=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[f>>>8&255]<<8|a[255&l])^e[p++],t[r]=v,t[r+1]=_,t[r+2]=y,t[r+3]=g},keySize:8});r.AES=e._createHelper(v)}(),t.AES)),Ot.exports;var t}(),Ft(),function(){return Pt||(Pt=1,Wt.exports=(t=l(),b(),z(),rt(),nt(),function(){var r=t,e=r.lib.StreamCipher,i=r.algo,n=i.RC4=e.extend({_doReset:function(){for(var t=this._key,r=t.words,e=t.sigBytes,i=this._S=[],n=0;n<256;n++)i[n]=n;n=0;for(var o=0;n<256;n++){var s=n%e,a=r[s>>>2]>>>24-s%4*8&255;o=(o+i[n]+a)%256;var c=i[n];i[n]=i[o],i[o]=c}this._i=this._j=0},_doProcessBlock:function(t,r){t[r]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var t=this._S,r=this._i,e=this._j,i=0,n=0;n<4;n++){e=(e+t[r=(r+1)%256])%256;var o=t[r];t[r]=t[e],t[e]=o,i|=t[(t[r]+t[e])%256]<<24-8*n}return this._i=r,this._j=e,i}r.RC4=e._createHelper(n);var s=i.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)o.call(this)}});r.RC4Drop=e._createHelper(s)}(),t.RC4)),Wt.exports;var t}(),function(){return jt||(jt=1,It.exports=(t=l(),b(),z(),rt(),nt(),function(){var r=t,e=r.lib.StreamCipher,i=r.algo,n=[],o=[],s=[],a=i.Rabbit=e.extend({_doReset:function(){for(var t=this._key.words,r=this.cfg.iv,e=0;e<4;e++)t[e]=16711935&(t[e]<<8|t[e]>>>24)|4278255360&(t[e]<<24|t[e]>>>8);var i=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,e=0;e<4;e++)c.call(this);for(e=0;e<8;e++)n[e]^=i[e+4&7];if(r){var o=r.words,s=o[0],a=o[1],h=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=h>>>16|4294901760&f,u=f<<16|65535&h;for(n[0]^=h,n[1]^=l,n[2]^=f,n[3]^=u,n[4]^=h,n[5]^=l,n[6]^=f,n[7]^=u,e=0;e<4;e++)c.call(this)}},_doProcessBlock:function(t,r){var e=this._X;c.call(this),n[0]=e[0]^e[5]>>>16^e[3]<<16,n[1]=e[2]^e[7]>>>16^e[5]<<16,n[2]=e[4]^e[1]>>>16^e[7]<<16,n[3]=e[6]^e[3]>>>16^e[1]<<16;for(var i=0;i<4;i++)n[i]=16711935&(n[i]<<8|n[i]>>>24)|4278255360&(n[i]<<24|n[i]>>>8),t[r+i]^=n[i]},blockSize:4,ivSize:2});function c(){for(var t=this._X,r=this._C,e=0;e<8;e++)o[e]=r[e];for(r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0,e=0;e<8;e++){var i=t[e]+r[e],n=65535&i,a=i>>>16,c=((n*n>>>17)+n*a>>>15)+a*a,h=((4294901760&i)*i|0)+((65535&i)*i|0);s[e]=c^h}t[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,t[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,t[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,t[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,t[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,t[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,t[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,t[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}r.Rabbit=e._createHelper(a)}(),t.Rabbit)),It.exports;var t}(),function(){return Ut||(Ut=1,Kt.exports=(t=l(),b(),z(),rt(),nt(),function(){var r=t,e=r.lib.StreamCipher,i=r.algo,n=[],o=[],s=[],a=i.RabbitLegacy=e.extend({_doReset:function(){var t=this._key.words,r=this.cfg.iv,e=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],i=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var n=0;n<4;n++)c.call(this);for(n=0;n<8;n++)i[n]^=e[n+4&7];if(r){var o=r.words,s=o[0],a=o[1],h=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=h>>>16|4294901760&f,u=f<<16|65535&h;for(i[0]^=h,i[1]^=l,i[2]^=f,i[3]^=u,i[4]^=h,i[5]^=l,i[6]^=f,i[7]^=u,n=0;n<4;n++)c.call(this)}},_doProcessBlock:function(t,r){var e=this._X;c.call(this),n[0]=e[0]^e[5]>>>16^e[3]<<16,n[1]=e[2]^e[7]>>>16^e[5]<<16,n[2]=e[4]^e[1]>>>16^e[7]<<16,n[3]=e[6]^e[3]>>>16^e[1]<<16;for(var i=0;i<4;i++)n[i]=16711935&(n[i]<<8|n[i]>>>24)|4278255360&(n[i]<<24|n[i]>>>8),t[r+i]^=n[i]},blockSize:4,ivSize:2});function c(){for(var t=this._X,r=this._C,e=0;e<8;e++)o[e]=r[e];for(r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0,e=0;e<8;e++){var i=t[e]+r[e],n=65535&i,a=i>>>16,c=((n*n>>>17)+n*a>>>15)+a*a,h=((4294901760&i)*i|0)+((65535&i)*i|0);s[e]=c^h}t[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,t[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,t[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,t[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,t[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,t[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,t[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,t[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}r.RabbitLegacy=e._createHelper(a)}(),t.RabbitLegacy)),Kt.exports;var t}(),Xt())),c.exports),Yt=o(Qt),tr=function(){return tr=Object.assign||function(t){for(var r,e=1,i=arguments.length;e<i;e++)for(var n in r=arguments[e])Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t},tr.apply(this,arguments)};function rr(t){return Yt.SHA256(t).toString(Yt.enc.Hex).slice(0,16)}"function"==typeof SuppressedError&&SuppressedError;var er=function(t){if(t&&"object"==typeof t){var r={};if("c"in t&&t.c&&(r.c=ir(t.c)),"d"in t){var e=null==t?void 0:t.d;(null==e?void 0:e.b)&&(r.b=Object.fromEntries(Object.entries(e.b).map(function(t){return[t[0],ir(t[1])]}))),(null==e?void 0:e.t)&&(r.t=e.t)}return function(t){var r=t;if(r&&"object"==typeof r&&"string"==typeof r.k){var e=Object.keys(r);if(1===e.length)return!0;if(2===e.length){if("number"==typeof r.i)return!0;if("string"==typeof r.v)return!0}if(3===e.length&&"string"==typeof r.v&&"number"==typeof r.i)return!0}return!1}(t)?tr({k:t.k},t.v&&{v:t.v}):r}return t};function ir(t){return Array.isArray(t)?t.map(er):er(t)}"function"==typeof SuppressedError&&SuppressedError;var nr=function(t){console.warn(t)};exports.decodeMsg=function(t){return"string"==typeof t&&-1!==t.lastIndexOf(":")?t.slice(0,t.lastIndexOf(":")):t},exports.decodeOptions=function(t){if(-1===t.lastIndexOf(":"))return null;var r=t.slice(t.lastIndexOf(":")+1);try{var e=JSON.parse(function(t){if("undefined"!=typeof Buffer)return Buffer.from(t,"base64").toString("utf8");for(var r=atob(t),e=new Uint8Array(r.length),i=0;i<r.length;i++)e[i]=r.charCodeAt(i);return(new TextDecoder).decode(e)}(r));return e}catch(t){return null}},exports.msg=function(e,i){if(!i)return e;var n=function(t){return Object.fromEntries(Object.entries(t).filter(function(t){var r=t[0];return"$id"!==r&&"$context"!==r&&"$hash"!==r&&"$_hash"!==r&&"$_source"!==r}))}(i),o=e;if(function(t){for(var r=0,e=!1;r<t.length;){var i=t[r];if("'"!==i)if(e||"{"!==i)r++;else{for(var n=r+1,o="";n<t.length&&"}"!==t[n];)o+=t[n],n++;if(n<t.length&&o.trim().length>0)return!0;r=n<t.length?n+1:n}else{if(r+1<t.length&&"'"===t[r+1]){r+=2;continue}e=!e,r++}}return!1}(e)&&Object.keys(n||{}).length>0)try{o=t.formatMessage(e,{locales:["en"],variables:n})}catch(t){return nr("gt-i18n warning: String interpolation failed. Error: "+t),e}var s=e,c=i.$_hash||function(t,r){var e=t.source,i=t.context,n=t.id,o=t.maxChars,s=t.dataFormat;void 0===r&&(r=rr);var c={dataFormat:s};return c.source="JSX"===s?ir(e):e,c=tr(tr(tr(tr({},c),n&&{id:n}),i&&{context:i}),o&&{maxChars:o}),r(a(c))}(r(r(r({source:e},(null==i?void 0:i.$context)&&{context:i.$context}),(null==i?void 0:i.$id)&&{id:i.$id}),{dataFormat:"ICU"})),h=r(r({},i),{$_source:s,$_hash:c}),f=function(t){if("undefined"!=typeof Buffer)return Buffer.from(t,"utf8").toString("base64");for(var r=(new TextEncoder).encode(t),e="",i=0;i<r.length;i++)e+=String.fromCharCode(r[i]);return btoa(e)}(JSON.stringify(h));return"".concat(o,":").concat(f)};
|
|
19
19
|
//# sourceMappingURL=index.cjs.min.cjs.map
|