iking-web-ui-pro 0.0.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.
Files changed (107) hide show
  1. package/dist/Demo/index.es.js +13 -0
  2. package/dist/Demo/index.umd.js +1 -0
  3. package/dist/Demo/package.json +7 -0
  4. package/dist/IKApprovalProcess/index.es.js +13026 -0
  5. package/dist/IKApprovalProcess/index.umd.js +32 -0
  6. package/dist/IKApprovalProcess/package.json +7 -0
  7. package/dist/IKApprovalProcess/style.css +7 -0
  8. package/dist/IKApprovalProcessDetail/index.es.js +630 -0
  9. package/dist/IKApprovalProcessDetail/index.umd.js +1 -0
  10. package/dist/IKApprovalProcessDetail/package.json +7 -0
  11. package/dist/IKApprovalProcessDetail/style.css +1 -0
  12. package/dist/IKCalendar/index.es.js +22495 -0
  13. package/dist/IKCalendar/index.umd.js +32 -0
  14. package/dist/IKCalendar/package.json +7 -0
  15. package/dist/IKCalendar/style.css +7 -0
  16. package/dist/IKDescription/index.es.js +105 -0
  17. package/dist/IKDescription/index.umd.js +1 -0
  18. package/dist/IKDescription/style.css +1 -0
  19. package/dist/IKDetailPreviewFiles/index.es.js +1599 -0
  20. package/dist/IKDetailPreviewFiles/index.umd.js +1 -0
  21. package/dist/IKDetailPreviewFiles/style.css +1 -0
  22. package/dist/IKExpandCollapse/index.es.js +1388 -0
  23. package/dist/IKExpandCollapse/index.umd.js +1 -0
  24. package/dist/IKExpandCollapse/style.css +1 -0
  25. package/dist/IKHorizontalStepBar/index.es.js +251 -0
  26. package/dist/IKHorizontalStepBar/index.umd.js +1 -0
  27. package/dist/IKHorizontalStepBar/package.json +7 -0
  28. package/dist/IKHorizontalStepBar/style.css +1 -0
  29. package/dist/IKPreviewFile/index.es.js +108 -0
  30. package/dist/IKPreviewFile/index.umd.js +1 -0
  31. package/dist/IKPreviewFile/style.css +1 -0
  32. package/dist/IKSearch/index.es.js +13406 -0
  33. package/dist/IKSearch/index.umd.js +57 -0
  34. package/dist/IKSearch/package.json +7 -0
  35. package/dist/IKSearch/style.css +7 -0
  36. package/dist/IKSearchHead/index.es.js +116 -0
  37. package/dist/IKSearchHead/index.umd.js +1 -0
  38. package/dist/IKSearchHead/package.json +7 -0
  39. package/dist/IKSearchHead/style.css +1 -0
  40. package/dist/IKVerticalStepBar/index.es.js +1481 -0
  41. package/dist/IKVerticalStepBar/index.umd.js +9 -0
  42. package/dist/IKVerticalStepBar/package.json +7 -0
  43. package/dist/IKVerticalStepBar/style.css +1 -0
  44. package/dist/IkBottomOperate/index.es.js +210 -0
  45. package/dist/IkBottomOperate/index.umd.js +1 -0
  46. package/dist/IkBottomOperate/style.css +1 -0
  47. package/dist/IkBtnContent/index.es.js +101 -0
  48. package/dist/IkBtnContent/index.umd.js +1 -0
  49. package/dist/IkBtnContent/style.css +1 -0
  50. package/dist/IkBtnSetting/index.es.js +12854 -0
  51. package/dist/IkBtnSetting/index.umd.js +32 -0
  52. package/dist/IkBtnSetting/style.css +7 -0
  53. package/dist/IkDragList/index.es.js +11071 -0
  54. package/dist/IkDragList/index.umd.js +32 -0
  55. package/dist/IkDragList/style.css +7 -0
  56. package/dist/IkFullCalendar/index.es.js +20327 -0
  57. package/dist/IkFullCalendar/index.umd.js +32 -0
  58. package/dist/IkFullCalendar/style.css +7 -0
  59. package/dist/IkIconPicker/index.es.js +13693 -0
  60. package/dist/IkIconPicker/index.umd.js +32 -0
  61. package/dist/IkIconPicker/style.css +7 -0
  62. package/dist/IkOnlyOffice/index.es.js +393 -0
  63. package/dist/IkOnlyOffice/index.umd.js +1 -0
  64. package/dist/IkOnlyOffice/style.css +0 -0
  65. package/dist/IkPageFull/index.es.js +15725 -0
  66. package/dist/IkPageFull/index.umd.js +48 -0
  67. package/dist/IkPageFull/style.css +7 -0
  68. package/dist/IkPageTabs/index.es.js +135 -0
  69. package/dist/IkPageTabs/index.umd.js +1 -0
  70. package/dist/IkPageTabs/style.css +1 -0
  71. package/dist/IkPicker/index.es.js +12629 -0
  72. package/dist/IkPicker/index.umd.js +32 -0
  73. package/dist/IkPicker/style.css +7 -0
  74. package/dist/IkPickerUser/index.es.js +12508 -0
  75. package/dist/IkPickerUser/index.umd.js +32 -0
  76. package/dist/IkPickerUser/style.css +7 -0
  77. package/dist/IkPrintConfig/index.es.js +62 -0
  78. package/dist/IkPrintConfig/index.umd.js +1 -0
  79. package/dist/IkPrintView/index.es.js +79 -0
  80. package/dist/IkPrintView/index.umd.js +1 -0
  81. package/dist/IkRadioGroup/index.es.js +75 -0
  82. package/dist/IkRadioGroup/index.umd.js +1 -0
  83. package/dist/IkRadioGroup/style.css +1 -0
  84. package/dist/IkSchedule/index.es.js +22228 -0
  85. package/dist/IkSchedule/index.umd.js +32 -0
  86. package/dist/IkSchedule/style.css +7 -0
  87. package/dist/IkStatu/index.es.js +119 -0
  88. package/dist/IkStatu/index.umd.js +1 -0
  89. package/dist/IkStatu/style.css +1 -0
  90. package/dist/IkSvgIcon/index.es.js +1343 -0
  91. package/dist/IkSvgIcon/index.umd.js +1 -0
  92. package/dist/IkSvgIcon/style.css +1 -0
  93. package/dist/IkTemplateOfficeConfig/index.es.js +805 -0
  94. package/dist/IkTemplateOfficeConfig/index.umd.js +1 -0
  95. package/dist/IkTemplateOfficeConfig/style.css +1 -0
  96. package/dist/IkTooltip/index.es.js +49 -0
  97. package/dist/IkTooltip/index.umd.js +1 -0
  98. package/dist/IkUploadFile/index.es.js +12098 -0
  99. package/dist/IkUploadFile/index.umd.js +32 -0
  100. package/dist/IkUploadFile/style.css +7 -0
  101. package/dist/IkUploadImage/index.es.js +11442 -0
  102. package/dist/IkUploadImage/index.umd.js +32 -0
  103. package/dist/IkUploadImage/style.css +7 -0
  104. package/dist/index.es.js +33843 -0
  105. package/dist/index.umd.js +81 -0
  106. package/dist/style.css +7 -0
  107. package/package.json +66 -0
@@ -0,0 +1,32 @@
1
+ (function(ze,ce){typeof exports=="object"&&typeof module<"u"?ce(exports,require("vue"),require("vuedraggable"),require("lodash-es")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable","lodash-es"],ce):(ze=typeof globalThis<"u"?globalThis:ze||self,ce(ze.index={},ze.Vue,ze.vuedraggable,ze.n))})(this,function(ze,ce,ii,oi){"use strict";function si(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const e in r)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>r[e]})}}return t.default=r,Object.freeze(t)}const ai=si(oi),fi=(r,t)=>{if(r.install=e=>{for(const n of[r,...Object.values(t??{})])e.component(n.name,n)},t)for(const[e,n]of Object.entries(t))r[e]=n;return r};/*! Element Plus Icons Vue v2.3.1 */var ci=ce.defineComponent({name:"DCaret",__name:"d-caret",setup(r){return(t,e)=>(ce.openBlock(),ce.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ce.createElementVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),ui=ci,re=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function li(r){if(r.__esModule)return r;var t=r.default;if(typeof t=="function"){var e=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}),e}var hi={exports:{}};function bt(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var i0={exports:{}};const xi=li(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Br;function fe(){return Br||(Br=1,function(r,t){(function(e,n){r.exports=n()})(re,function(){var e=e||function(n,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof re<"u"&&re.crypto&&(o=re.crypto),!o&&typeof bt=="function")try{o=xi}catch{}var f=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function y(){}return function(x){var d;return y.prototype=x,d=new y,y.prototype=null,d}}(),l={},s=l.lib={},c=s.Base=function(){return{extend:function(y){var x=a(this);return y&&x.mixIn(y),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var x in y)y.hasOwnProperty(x)&&(this[x]=y[x]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=s.WordArray=c.extend({init:function(y,x){y=this.words=y||[],x!=i?this.sigBytes=x:this.sigBytes=y.length*4},toString:function(y){return(y||v).stringify(this)},concat:function(y){var x=this.words,d=y.words,b=this.sigBytes,C=y.sigBytes;if(this.clamp(),b%4)for(var A=0;A<C;A++){var k=d[A>>>2]>>>24-A%4*8&255;x[b+A>>>2]|=k<<24-(b+A)%4*8}else for(var P=0;P<C;P+=4)x[b+P>>>2]=d[P>>>2];return this.sigBytes+=C,this},clamp:function(){var y=this.words,x=this.sigBytes;y[x>>>2]&=4294967295<<32-x%4*8,y.length=n.ceil(x/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var x=[],d=0;d<y;d+=4)x.push(f());return new h.init(x,y)}}),u=l.enc={},v=u.Hex={stringify:function(y){for(var x=y.words,d=y.sigBytes,b=[],C=0;C<d;C++){var A=x[C>>>2]>>>24-C%4*8&255;b.push((A>>>4).toString(16)),b.push((A&15).toString(16))}return b.join("")},parse:function(y){for(var x=y.length,d=[],b=0;b<x;b+=2)d[b>>>3]|=parseInt(y.substr(b,2),16)<<24-b%8*4;return new h.init(d,x/2)}},m=u.Latin1={stringify:function(y){for(var x=y.words,d=y.sigBytes,b=[],C=0;C<d;C++){var A=x[C>>>2]>>>24-C%4*8&255;b.push(String.fromCharCode(A))}return b.join("")},parse:function(y){for(var x=y.length,d=[],b=0;b<x;b++)d[b>>>2]|=(y.charCodeAt(b)&255)<<24-b%4*8;return new h.init(d,x)}},E=u.Utf8={stringify:function(y){try{return decodeURIComponent(escape(m.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return m.parse(unescape(encodeURIComponent(y)))}},B=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=E.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var x,d=this._data,b=d.words,C=d.sigBytes,A=this.blockSize,k=A*4,P=C/k;y?P=n.ceil(P):P=n.max((P|0)-this._minBufferSize,0);var _=P*A,D=n.min(_*4,C);if(_){for(var T=0;T<_;T+=A)this._doProcessBlock(b,T);x=b.splice(0,_),d.sigBytes-=D}return new h.init(x,D)},clone:function(){var y=c.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});s.Hasher=B.extend({cfg:c.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){B.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var x=this._doFinalize();return x},blockSize:16,_createHelper:function(y){return function(x,d){return new y.init(d).finalize(x)}},_createHmacHelper:function(y){return function(x,d){return new F.HMAC.init(y,d).finalize(x)}}});var F=l.algo={};return l}(Math);return e})}(i0)),i0.exports}var o0={exports:{}},Cr;function Rt(){return Cr||(Cr=1,function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){return function(n){var i=e,o=i.lib,f=o.Base,a=o.WordArray,l=i.x64={};l.Word=f.extend({init:function(s,c){this.high=s,this.low=c}}),l.WordArray=f.extend({init:function(s,c){s=this.words=s||[],c!=n?this.sigBytes=c:this.sigBytes=s.length*8},toX32:function(){for(var s=this.words,c=s.length,h=[],u=0;u<c;u++){var v=s[u];h.push(v.high),h.push(v.low)}return a.create(h,this.sigBytes)},clone:function(){for(var s=f.clone.call(this),c=s.words=this.words.slice(0),h=c.length,u=0;u<h;u++)c[u]=c[u].clone();return s}})}(),e})}(o0)),o0.exports}var s0={exports:{}},_r;function di(){return _r||(_r=1,function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){return function(){if(typeof ArrayBuffer=="function"){var n=e,i=n.lib,o=i.WordArray,f=o.init,a=o.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var s=l.byteLength,c=[],h=0;h<s;h++)c[h>>>2]|=l[h]<<24-h%4*8;f.call(this,c,s)}else f.apply(this,arguments)};a.prototype=o}}(),e.lib.WordArray})}(s0)),s0.exports}var a0={exports:{}},Ar;function pi(){return Ar||(Ar=1,function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){return function(){var n=e,i=n.lib,o=i.WordArray,f=n.enc;f.Utf16=f.Utf16BE={stringify:function(l){for(var s=l.words,c=l.sigBytes,h=[],u=0;u<c;u+=2){var v=s[u>>>2]>>>16-u%4*8&65535;h.push(String.fromCharCode(v))}return h.join("")},parse:function(l){for(var s=l.length,c=[],h=0;h<s;h++)c[h>>>1]|=l.charCodeAt(h)<<16-h%2*16;return o.create(c,s*2)}},f.Utf16LE={stringify:function(l){for(var s=l.words,c=l.sigBytes,h=[],u=0;u<c;u+=2){var v=a(s[u>>>2]>>>16-u%4*8&65535);h.push(String.fromCharCode(v))}return h.join("")},parse:function(l){for(var s=l.length,c=[],h=0;h<s;h++)c[h>>>1]|=a(l.charCodeAt(h)<<16-h%2*16);return o.create(c,s*2)}};function a(l){return l<<8&4278255360|l>>>8&16711935}}(),e.enc.Utf16})}(a0)),a0.exports}var f0={exports:{}},wr;function je(){return wr||(wr=1,function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){return function(){var n=e,i=n.lib,o=i.WordArray,f=n.enc;f.Base64={stringify:function(l){var s=l.words,c=l.sigBytes,h=this._map;l.clamp();for(var u=[],v=0;v<c;v+=3)for(var m=s[v>>>2]>>>24-v%4*8&255,E=s[v+1>>>2]>>>24-(v+1)%4*8&255,B=s[v+2>>>2]>>>24-(v+2)%4*8&255,F=m<<16|E<<8|B,y=0;y<4&&v+y*.75<c;y++)u.push(h.charAt(F>>>6*(3-y)&63));var x=h.charAt(64);if(x)for(;u.length%4;)u.push(x);return u.join("")},parse:function(l){var s=l.length,c=this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var u=0;u<c.length;u++)h[c.charCodeAt(u)]=u}var v=c.charAt(64);if(v){var m=l.indexOf(v);m!==-1&&(s=m)}return a(l,s,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function a(l,s,c){for(var h=[],u=0,v=0;v<s;v++)if(v%4){var m=c[l.charCodeAt(v-1)]<<v%4*2,E=c[l.charCodeAt(v)]>>>6-v%4*2,B=m|E;h[u>>>2]|=B<<24-u%4*8,u++}return o.create(h,u)}}(),e.enc.Base64})}(f0)),f0.exports}var c0={exports:{}},Dr;function vi(){return Dr||(Dr=1,function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){return function(){var n=e,i=n.lib,o=i.WordArray,f=n.enc;f.Base64url={stringify:function(l,s){s===void 0&&(s=!0);var c=l.words,h=l.sigBytes,u=s?this._safe_map:this._map;l.clamp();for(var v=[],m=0;m<h;m+=3)for(var E=c[m>>>2]>>>24-m%4*8&255,B=c[m+1>>>2]>>>24-(m+1)%4*8&255,F=c[m+2>>>2]>>>24-(m+2)%4*8&255,y=E<<16|B<<8|F,x=0;x<4&&m+x*.75<h;x++)v.push(u.charAt(y>>>6*(3-x)&63));var d=u.charAt(64);if(d)for(;v.length%4;)v.push(d);return v.join("")},parse:function(l,s){s===void 0&&(s=!0);var c=l.length,h=s?this._safe_map:this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var v=0;v<h.length;v++)u[h.charCodeAt(v)]=v}var m=h.charAt(64);if(m){var E=l.indexOf(m);E!==-1&&(c=E)}return a(l,c,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function a(l,s,c){for(var h=[],u=0,v=0;v<s;v++)if(v%4){var m=c[l.charCodeAt(v-1)]<<v%4*2,E=c[l.charCodeAt(v)]>>>6-v%4*2,B=m|E;h[u>>>2]|=B<<24-u%4*8,u++}return o.create(h,u)}}(),e.enc.Base64url})}(c0)),c0.exports}var u0={exports:{}},Fr;function Qe(){return Fr||(Fr=1,function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){return function(n){var i=e,o=i.lib,f=o.WordArray,a=o.Hasher,l=i.algo,s=[];(function(){for(var E=0;E<64;E++)s[E]=n.abs(n.sin(E+1))*4294967296|0})();var c=l.MD5=a.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(E,B){for(var F=0;F<16;F++){var y=B+F,x=E[y];E[y]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}var d=this._hash.words,b=E[B+0],C=E[B+1],A=E[B+2],k=E[B+3],P=E[B+4],_=E[B+5],D=E[B+6],T=E[B+7],H=E[B+8],$=E[B+9],L=E[B+10],I=E[B+11],G=E[B+12],Y=E[B+13],Q=E[B+14],j=E[B+15],O=d[0],M=d[1],W=d[2],q=d[3];O=h(O,M,W,q,b,7,s[0]),q=h(q,O,M,W,C,12,s[1]),W=h(W,q,O,M,A,17,s[2]),M=h(M,W,q,O,k,22,s[3]),O=h(O,M,W,q,P,7,s[4]),q=h(q,O,M,W,_,12,s[5]),W=h(W,q,O,M,D,17,s[6]),M=h(M,W,q,O,T,22,s[7]),O=h(O,M,W,q,H,7,s[8]),q=h(q,O,M,W,$,12,s[9]),W=h(W,q,O,M,L,17,s[10]),M=h(M,W,q,O,I,22,s[11]),O=h(O,M,W,q,G,7,s[12]),q=h(q,O,M,W,Y,12,s[13]),W=h(W,q,O,M,Q,17,s[14]),M=h(M,W,q,O,j,22,s[15]),O=u(O,M,W,q,C,5,s[16]),q=u(q,O,M,W,D,9,s[17]),W=u(W,q,O,M,I,14,s[18]),M=u(M,W,q,O,b,20,s[19]),O=u(O,M,W,q,_,5,s[20]),q=u(q,O,M,W,L,9,s[21]),W=u(W,q,O,M,j,14,s[22]),M=u(M,W,q,O,P,20,s[23]),O=u(O,M,W,q,$,5,s[24]),q=u(q,O,M,W,Q,9,s[25]),W=u(W,q,O,M,k,14,s[26]),M=u(M,W,q,O,H,20,s[27]),O=u(O,M,W,q,Y,5,s[28]),q=u(q,O,M,W,A,9,s[29]),W=u(W,q,O,M,T,14,s[30]),M=u(M,W,q,O,G,20,s[31]),O=v(O,M,W,q,_,4,s[32]),q=v(q,O,M,W,H,11,s[33]),W=v(W,q,O,M,I,16,s[34]),M=v(M,W,q,O,Q,23,s[35]),O=v(O,M,W,q,C,4,s[36]),q=v(q,O,M,W,P,11,s[37]),W=v(W,q,O,M,T,16,s[38]),M=v(M,W,q,O,L,23,s[39]),O=v(O,M,W,q,Y,4,s[40]),q=v(q,O,M,W,b,11,s[41]),W=v(W,q,O,M,k,16,s[42]),M=v(M,W,q,O,D,23,s[43]),O=v(O,M,W,q,$,4,s[44]),q=v(q,O,M,W,G,11,s[45]),W=v(W,q,O,M,j,16,s[46]),M=v(M,W,q,O,A,23,s[47]),O=m(O,M,W,q,b,6,s[48]),q=m(q,O,M,W,T,10,s[49]),W=m(W,q,O,M,Q,15,s[50]),M=m(M,W,q,O,_,21,s[51]),O=m(O,M,W,q,G,6,s[52]),q=m(q,O,M,W,k,10,s[53]),W=m(W,q,O,M,L,15,s[54]),M=m(M,W,q,O,C,21,s[55]),O=m(O,M,W,q,H,6,s[56]),q=m(q,O,M,W,j,10,s[57]),W=m(W,q,O,M,D,15,s[58]),M=m(M,W,q,O,Y,21,s[59]),O=m(O,M,W,q,P,6,s[60]),q=m(q,O,M,W,I,10,s[61]),W=m(W,q,O,M,A,15,s[62]),M=m(M,W,q,O,$,21,s[63]),d[0]=d[0]+O|0,d[1]=d[1]+M|0,d[2]=d[2]+W|0,d[3]=d[3]+q|0},_doFinalize:function(){var E=this._data,B=E.words,F=this._nDataBytes*8,y=E.sigBytes*8;B[y>>>5]|=128<<24-y%32;var x=n.floor(F/4294967296),d=F;B[(y+64>>>9<<4)+15]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,B[(y+64>>>9<<4)+14]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,E.sigBytes=(B.length+1)*4,this._process();for(var b=this._hash,C=b.words,A=0;A<4;A++){var k=C[A];C[A]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}return b},clone:function(){var E=a.clone.call(this);return E._hash=this._hash.clone(),E}});function h(E,B,F,y,x,d,b){var C=E+(B&F|~B&y)+x+b;return(C<<d|C>>>32-d)+B}function u(E,B,F,y,x,d,b){var C=E+(B&y|F&~y)+x+b;return(C<<d|C>>>32-d)+B}function v(E,B,F,y,x,d,b){var C=E+(B^F^y)+x+b;return(C<<d|C>>>32-d)+B}function m(E,B,F,y,x,d,b){var C=E+(F^(B|~y))+x+b;return(C<<d|C>>>32-d)+B}i.MD5=a._createHelper(c),i.HmacMD5=a._createHmacHelper(c)}(Math),e.MD5})}(u0)),u0.exports}var l0={exports:{}},Sr;function kr(){return Sr||(Sr=1,function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){return function(){var n=e,i=n.lib,o=i.WordArray,f=i.Hasher,a=n.algo,l=[],s=a.SHA1=f.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,h){for(var u=this._hash.words,v=u[0],m=u[1],E=u[2],B=u[3],F=u[4],y=0;y<80;y++){if(y<16)l[y]=c[h+y]|0;else{var x=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=x<<1|x>>>31}var d=(v<<5|v>>>27)+F+l[y];y<20?d+=(m&E|~m&B)+1518500249:y<40?d+=(m^E^B)+1859775393:y<60?d+=(m&E|m&B|E&B)-1894007588:d+=(m^E^B)-899497514,F=B,B=E,E=m<<30|m>>>2,m=v,v=d}u[0]=u[0]+v|0,u[1]=u[1]+m|0,u[2]=u[2]+E|0,u[3]=u[3]+B|0,u[4]=u[4]+F|0},_doFinalize:function(){var c=this._data,h=c.words,u=this._nDataBytes*8,v=c.sigBytes*8;return h[v>>>5]|=128<<24-v%32,h[(v+64>>>9<<4)+14]=Math.floor(u/4294967296),h[(v+64>>>9<<4)+15]=u,c.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var c=f.clone.call(this);return c._hash=this._hash.clone(),c}});n.SHA1=f._createHelper(s),n.HmacSHA1=f._createHmacHelper(s)}(),e.SHA1})}(l0)),l0.exports}var h0={exports:{}},Rr;function x0(){return Rr||(Rr=1,function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){return function(n){var i=e,o=i.lib,f=o.WordArray,a=o.Hasher,l=i.algo,s=[],c=[];(function(){function v(F){for(var y=n.sqrt(F),x=2;x<=y;x++)if(!(F%x))return!1;return!0}function m(F){return(F-(F|0))*4294967296|0}for(var E=2,B=0;B<64;)v(E)&&(B<8&&(s[B]=m(n.pow(E,1/2))),c[B]=m(n.pow(E,1/3)),B++),E++})();var h=[],u=l.SHA256=a.extend({_doReset:function(){this._hash=new f.init(s.slice(0))},_doProcessBlock:function(v,m){for(var E=this._hash.words,B=E[0],F=E[1],y=E[2],x=E[3],d=E[4],b=E[5],C=E[6],A=E[7],k=0;k<64;k++){if(k<16)h[k]=v[m+k]|0;else{var P=h[k-15],_=(P<<25|P>>>7)^(P<<14|P>>>18)^P>>>3,D=h[k-2],T=(D<<15|D>>>17)^(D<<13|D>>>19)^D>>>10;h[k]=_+h[k-7]+T+h[k-16]}var H=d&b^~d&C,$=B&F^B&y^F&y,L=(B<<30|B>>>2)^(B<<19|B>>>13)^(B<<10|B>>>22),I=(d<<26|d>>>6)^(d<<21|d>>>11)^(d<<7|d>>>25),G=A+I+H+c[k]+h[k],Y=L+$;A=C,C=b,b=d,d=x+G|0,x=y,y=F,F=B,B=G+Y|0}E[0]=E[0]+B|0,E[1]=E[1]+F|0,E[2]=E[2]+y|0,E[3]=E[3]+x|0,E[4]=E[4]+d|0,E[5]=E[5]+b|0,E[6]=E[6]+C|0,E[7]=E[7]+A|0},_doFinalize:function(){var v=this._data,m=v.words,E=this._nDataBytes*8,B=v.sigBytes*8;return m[B>>>5]|=128<<24-B%32,m[(B+64>>>9<<4)+14]=n.floor(E/4294967296),m[(B+64>>>9<<4)+15]=E,v.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var v=a.clone.call(this);return v._hash=this._hash.clone(),v}});i.SHA256=a._createHelper(u),i.HmacSHA256=a._createHmacHelper(u)}(Math),e.SHA256})}(h0)),h0.exports}var d0={exports:{}},Nr;function bi(){return Nr||(Nr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),x0())})(re,function(e){return function(){var n=e,i=n.lib,o=i.WordArray,f=n.algo,a=f.SHA256,l=f.SHA224=a.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var s=a._doFinalize.call(this);return s.sigBytes-=4,s}});n.SHA224=a._createHelper(l),n.HmacSHA224=a._createHmacHelper(l)}(),e.SHA224})}(d0)),d0.exports}var p0={exports:{}},Tr;function Or(){return Tr||(Tr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),Rt())})(re,function(e){return function(){var n=e,i=n.lib,o=i.Hasher,f=n.x64,a=f.Word,l=f.WordArray,s=n.algo;function c(){return a.create.apply(a,arguments)}var h=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],u=[];(function(){for(var m=0;m<80;m++)u[m]=c()})();var v=s.SHA512=o.extend({_doReset:function(){this._hash=new l.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(m,E){for(var B=this._hash.words,F=B[0],y=B[1],x=B[2],d=B[3],b=B[4],C=B[5],A=B[6],k=B[7],P=F.high,_=F.low,D=y.high,T=y.low,H=x.high,$=x.low,L=d.high,I=d.low,G=b.high,Y=b.low,Q=C.high,j=C.low,O=A.high,M=A.low,W=k.high,q=k.low,se=P,le=_,pe=D,oe=T,Ae=H,ve=$,Re=L,Ne=I,Be=G,we=Y,Te=Q,st=j,at=O,Ye=M,ft=W,Xe=q,De=0;De<80;De++){var Fe,Me,ct=u[De];if(De<16)Me=ct.high=m[E+De*2]|0,Fe=ct.low=m[E+De*2+1]|0;else{var Ct=u[De-15],Ge=Ct.high,it=Ct.low,Gt=(Ge>>>1|it<<31)^(Ge>>>8|it<<24)^Ge>>>7,_t=(it>>>1|Ge<<31)^(it>>>8|Ge<<24)^(it>>>7|Ge<<25),At=u[De-2],Ze=At.high,ot=At.low,Zt=(Ze>>>19|ot<<13)^(Ze<<3|ot>>>29)^Ze>>>6,dt=(ot>>>19|Ze<<13)^(ot<<3|Ze>>>29)^(ot>>>6|Ze<<26),jt=u[De-7],cr=jt.high,wt=jt.low,Dt=u[De-16],ur=Dt.high,qe=Dt.low;Fe=_t+wt,Me=Gt+cr+(Fe>>>0<_t>>>0?1:0),Fe=Fe+dt,Me=Me+Zt+(Fe>>>0<dt>>>0?1:0),Fe=Fe+qe,Me=Me+ur+(Fe>>>0<qe>>>0?1:0),ct.high=Me,ct.low=Fe}var lr=Be&Te^~Be&at,Qt=we&st^~we&Ye,Jt=se&pe^se&Ae^pe&Ae,hr=le&oe^le&ve^oe&ve,xr=(se>>>28|le<<4)^(se<<30|le>>>2)^(se<<25|le>>>7),e0=(le>>>28|se<<4)^(le<<30|se>>>2)^(le<<25|se>>>7),dr=(Be>>>14|we<<18)^(Be>>>18|we<<14)^(Be<<23|we>>>9),pr=(we>>>14|Be<<18)^(we>>>18|Be<<14)^(we<<23|Be>>>9),t0=h[De],vr=t0.high,r0=t0.low,Se=Xe+pr,Ve=ft+dr+(Se>>>0<Xe>>>0?1:0),Se=Se+Qt,Ve=Ve+lr+(Se>>>0<Qt>>>0?1:0),Se=Se+r0,Ve=Ve+vr+(Se>>>0<r0>>>0?1:0),Se=Se+Fe,Ve=Ve+Me+(Se>>>0<Fe>>>0?1:0),Ft=e0+hr,br=xr+Jt+(Ft>>>0<e0>>>0?1:0);ft=at,Xe=Ye,at=Te,Ye=st,Te=Be,st=we,we=Ne+Se|0,Be=Re+Ve+(we>>>0<Ne>>>0?1:0)|0,Re=Ae,Ne=ve,Ae=pe,ve=oe,pe=se,oe=le,le=Se+Ft|0,se=Ve+br+(le>>>0<Se>>>0?1:0)|0}_=F.low=_+le,F.high=P+se+(_>>>0<le>>>0?1:0),T=y.low=T+oe,y.high=D+pe+(T>>>0<oe>>>0?1:0),$=x.low=$+ve,x.high=H+Ae+($>>>0<ve>>>0?1:0),I=d.low=I+Ne,d.high=L+Re+(I>>>0<Ne>>>0?1:0),Y=b.low=Y+we,b.high=G+Be+(Y>>>0<we>>>0?1:0),j=C.low=j+st,C.high=Q+Te+(j>>>0<st>>>0?1:0),M=A.low=M+Ye,A.high=O+at+(M>>>0<Ye>>>0?1:0),q=k.low=q+Xe,k.high=W+ft+(q>>>0<Xe>>>0?1:0)},_doFinalize:function(){var m=this._data,E=m.words,B=this._nDataBytes*8,F=m.sigBytes*8;E[F>>>5]|=128<<24-F%32,E[(F+128>>>10<<5)+30]=Math.floor(B/4294967296),E[(F+128>>>10<<5)+31]=B,m.sigBytes=E.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var m=o.clone.call(this);return m._hash=this._hash.clone(),m},blockSize:1024/32});n.SHA512=o._createHelper(v),n.HmacSHA512=o._createHmacHelper(v)}(),e.SHA512})}(p0)),p0.exports}var v0={exports:{}},Ir;function gi(){return Ir||(Ir=1,function(r,t){(function(e,n,i){r.exports=n(fe(),Rt(),Or())})(re,function(e){return function(){var n=e,i=n.x64,o=i.Word,f=i.WordArray,a=n.algo,l=a.SHA512,s=a.SHA384=l.extend({_doReset:function(){this._hash=new f.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=16,c}});n.SHA384=l._createHelper(s),n.HmacSHA384=l._createHmacHelper(s)}(),e.SHA384})}(v0)),v0.exports}var b0={exports:{}},Lr;function mi(){return Lr||(Lr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),Rt())})(re,function(e){return function(n){var i=e,o=i.lib,f=o.WordArray,a=o.Hasher,l=i.x64,s=l.Word,c=i.algo,h=[],u=[],v=[];(function(){for(var B=1,F=0,y=0;y<24;y++){h[B+5*F]=(y+1)*(y+2)/2%64;var x=F%5,d=(2*B+3*F)%5;B=x,F=d}for(var B=0;B<5;B++)for(var F=0;F<5;F++)u[B+5*F]=F+(2*B+3*F)%5*5;for(var b=1,C=0;C<24;C++){for(var A=0,k=0,P=0;P<7;P++){if(b&1){var _=(1<<P)-1;_<32?k^=1<<_:A^=1<<_-32}b&128?b=b<<1^113:b<<=1}v[C]=s.create(A,k)}})();var m=[];(function(){for(var B=0;B<25;B++)m[B]=s.create()})();var E=c.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var B=this._state=[],F=0;F<25;F++)B[F]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(B,F){for(var y=this._state,x=this.blockSize/2,d=0;d<x;d++){var b=B[F+2*d],C=B[F+2*d+1];b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360;var A=y[d];A.high^=C,A.low^=b}for(var k=0;k<24;k++){for(var P=0;P<5;P++){for(var _=0,D=0,T=0;T<5;T++){var A=y[P+5*T];_^=A.high,D^=A.low}var H=m[P];H.high=_,H.low=D}for(var P=0;P<5;P++)for(var $=m[(P+4)%5],L=m[(P+1)%5],I=L.high,G=L.low,_=$.high^(I<<1|G>>>31),D=$.low^(G<<1|I>>>31),T=0;T<5;T++){var A=y[P+5*T];A.high^=_,A.low^=D}for(var Y=1;Y<25;Y++){var _,D,A=y[Y],Q=A.high,j=A.low,O=h[Y];O<32?(_=Q<<O|j>>>32-O,D=j<<O|Q>>>32-O):(_=j<<O-32|Q>>>64-O,D=Q<<O-32|j>>>64-O);var M=m[u[Y]];M.high=_,M.low=D}var W=m[0],q=y[0];W.high=q.high,W.low=q.low;for(var P=0;P<5;P++)for(var T=0;T<5;T++){var Y=P+5*T,A=y[Y],se=m[Y],le=m[(P+1)%5+5*T],pe=m[(P+2)%5+5*T];A.high=se.high^~le.high&pe.high,A.low=se.low^~le.low&pe.low}var A=y[0],oe=v[k];A.high^=oe.high,A.low^=oe.low}},_doFinalize:function(){var B=this._data,F=B.words;this._nDataBytes*8;var y=B.sigBytes*8,x=this.blockSize*32;F[y>>>5]|=1<<24-y%32,F[(n.ceil((y+1)/x)*x>>>5)-1]|=128,B.sigBytes=F.length*4,this._process();for(var d=this._state,b=this.cfg.outputLength/8,C=b/8,A=[],k=0;k<C;k++){var P=d[k],_=P.high,D=P.low;_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,A.push(D),A.push(_)}return new f.init(A,b)},clone:function(){for(var B=a.clone.call(this),F=B._state=this._state.slice(0),y=0;y<25;y++)F[y]=F[y].clone();return B}});i.SHA3=a._createHelper(E),i.HmacSHA3=a._createHmacHelper(E)}(Math),e.SHA3})}(b0)),b0.exports}var g0={exports:{}},Pr;function yi(){return Pr||(Pr=1,function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){/** @preserve
2
+ (c) 2012 by Cédric Mesnil. All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
+
6
+ - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+ - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+
9
+ 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.
10
+ */return function(n){var i=e,o=i.lib,f=o.WordArray,a=o.Hasher,l=i.algo,s=f.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]),c=f.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]),h=f.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=f.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]),v=f.create([0,1518500249,1859775393,2400959708,2840853838]),m=f.create([1352829926,1548603684,1836072691,2053994217,0]),E=l.RIPEMD160=a.extend({_doReset:function(){this._hash=f.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(C,A){for(var k=0;k<16;k++){var P=A+k,_=C[P];C[P]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}var D=this._hash.words,T=v.words,H=m.words,$=s.words,L=c.words,I=h.words,G=u.words,Y,Q,j,O,M,W,q,se,le,pe;W=Y=D[0],q=Q=D[1],se=j=D[2],le=O=D[3],pe=M=D[4];for(var oe,k=0;k<80;k+=1)oe=Y+C[A+$[k]]|0,k<16?oe+=B(Q,j,O)+T[0]:k<32?oe+=F(Q,j,O)+T[1]:k<48?oe+=y(Q,j,O)+T[2]:k<64?oe+=x(Q,j,O)+T[3]:oe+=d(Q,j,O)+T[4],oe=oe|0,oe=b(oe,I[k]),oe=oe+M|0,Y=M,M=O,O=b(j,10),j=Q,Q=oe,oe=W+C[A+L[k]]|0,k<16?oe+=d(q,se,le)+H[0]:k<32?oe+=x(q,se,le)+H[1]:k<48?oe+=y(q,se,le)+H[2]:k<64?oe+=F(q,se,le)+H[3]:oe+=B(q,se,le)+H[4],oe=oe|0,oe=b(oe,G[k]),oe=oe+pe|0,W=pe,pe=le,le=b(se,10),se=q,q=oe;oe=D[1]+j+le|0,D[1]=D[2]+O+pe|0,D[2]=D[3]+M+W|0,D[3]=D[4]+Y+q|0,D[4]=D[0]+Q+se|0,D[0]=oe},_doFinalize:function(){var C=this._data,A=C.words,k=this._nDataBytes*8,P=C.sigBytes*8;A[P>>>5]|=128<<24-P%32,A[(P+64>>>9<<4)+14]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,C.sigBytes=(A.length+1)*4,this._process();for(var _=this._hash,D=_.words,T=0;T<5;T++){var H=D[T];D[T]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360}return _},clone:function(){var C=a.clone.call(this);return C._hash=this._hash.clone(),C}});function B(C,A,k){return C^A^k}function F(C,A,k){return C&A|~C&k}function y(C,A,k){return(C|~A)^k}function x(C,A,k){return C&k|A&~k}function d(C,A,k){return C^(A|~k)}function b(C,A){return C<<A|C>>>32-A}i.RIPEMD160=a._createHelper(E),i.HmacRIPEMD160=a._createHmacHelper(E)}(),e.RIPEMD160})}(g0)),g0.exports}var m0={exports:{}},Hr;function y0(){return Hr||(Hr=1,function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){(function(){var n=e,i=n.lib,o=i.Base,f=n.enc,a=f.Utf8,l=n.algo;l.HMAC=o.extend({init:function(s,c){s=this._hasher=new s.init,typeof c=="string"&&(c=a.parse(c));var h=s.blockSize,u=h*4;c.sigBytes>u&&(c=s.finalize(c)),c.clamp();for(var v=this._oKey=c.clone(),m=this._iKey=c.clone(),E=v.words,B=m.words,F=0;F<h;F++)E[F]^=1549556828,B[F]^=909522486;v.sigBytes=m.sigBytes=u,this.reset()},reset:function(){var s=this._hasher;s.reset(),s.update(this._iKey)},update:function(s){return this._hasher.update(s),this},finalize:function(s){var c=this._hasher,h=c.finalize(s);c.reset();var u=c.finalize(this._oKey.clone().concat(h));return u}})})()})}(m0)),m0.exports}var E0={exports:{}},Mr;function Ei(){return Mr||(Mr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),x0(),y0())})(re,function(e){return function(){var n=e,i=n.lib,o=i.Base,f=i.WordArray,a=n.algo,l=a.SHA256,s=a.HMAC,c=a.PBKDF2=o.extend({cfg:o.extend({keySize:128/32,hasher:l,iterations:25e4}),init:function(h){this.cfg=this.cfg.extend(h)},compute:function(h,u){for(var v=this.cfg,m=s.create(v.hasher,h),E=f.create(),B=f.create([1]),F=E.words,y=B.words,x=v.keySize,d=v.iterations;F.length<x;){var b=m.update(u).finalize(B);m.reset();for(var C=b.words,A=C.length,k=b,P=1;P<d;P++){k=m.finalize(k),m.reset();for(var _=k.words,D=0;D<A;D++)C[D]^=_[D]}E.concat(b),y[0]++}return E.sigBytes=x*4,E}});n.PBKDF2=function(h,u,v){return c.create(v).compute(h,u)}}(),e.PBKDF2})}(E0)),E0.exports}var B0={exports:{}},qr;function Je(){return qr||(qr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),kr(),y0())})(re,function(e){return function(){var n=e,i=n.lib,o=i.Base,f=i.WordArray,a=n.algo,l=a.MD5,s=a.EvpKDF=o.extend({cfg:o.extend({keySize:128/32,hasher:l,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,h){for(var u,v=this.cfg,m=v.hasher.create(),E=f.create(),B=E.words,F=v.keySize,y=v.iterations;B.length<F;){u&&m.update(u),u=m.update(c).finalize(h),m.reset();for(var x=1;x<y;x++)u=m.finalize(u),m.reset();E.concat(u)}return E.sigBytes=F*4,E}});n.EvpKDF=function(c,h,u){return s.create(u).compute(c,h)}}(),e.EvpKDF})}(B0)),B0.exports}var C0={exports:{}},zr;function ye(){return zr||(zr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),Je())})(re,function(e){e.lib.Cipher||function(n){var i=e,o=i.lib,f=o.Base,a=o.WordArray,l=o.BufferedBlockAlgorithm,s=i.enc;s.Utf8;var c=s.Base64,h=i.algo,u=h.EvpKDF,v=o.Cipher=l.extend({cfg:f.extend(),createEncryptor:function(_,D){return this.create(this._ENC_XFORM_MODE,_,D)},createDecryptor:function(_,D){return this.create(this._DEC_XFORM_MODE,_,D)},init:function(_,D,T){this.cfg=this.cfg.extend(T),this._xformMode=_,this._key=D,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(_){return this._append(_),this._process()},finalize:function(_){_&&this._append(_);var D=this._doFinalize();return D},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function _(D){return typeof D=="string"?P:C}return function(D){return{encrypt:function(T,H,$){return _(H).encrypt(D,T,H,$)},decrypt:function(T,H,$){return _(H).decrypt(D,T,H,$)}}}}()});o.StreamCipher=v.extend({_doFinalize:function(){var _=this._process(!0);return _},blockSize:1});var m=i.mode={},E=o.BlockCipherMode=f.extend({createEncryptor:function(_,D){return this.Encryptor.create(_,D)},createDecryptor:function(_,D){return this.Decryptor.create(_,D)},init:function(_,D){this._cipher=_,this._iv=D}}),B=m.CBC=function(){var _=E.extend();_.Encryptor=_.extend({processBlock:function(T,H){var $=this._cipher,L=$.blockSize;D.call(this,T,H,L),$.encryptBlock(T,H),this._prevBlock=T.slice(H,H+L)}}),_.Decryptor=_.extend({processBlock:function(T,H){var $=this._cipher,L=$.blockSize,I=T.slice(H,H+L);$.decryptBlock(T,H),D.call(this,T,H,L),this._prevBlock=I}});function D(T,H,$){var L,I=this._iv;I?(L=I,this._iv=n):L=this._prevBlock;for(var G=0;G<$;G++)T[H+G]^=L[G]}return _}(),F=i.pad={},y=F.Pkcs7={pad:function(_,D){for(var T=D*4,H=T-_.sigBytes%T,$=H<<24|H<<16|H<<8|H,L=[],I=0;I<H;I+=4)L.push($);var G=a.create(L,H);_.concat(G)},unpad:function(_){var D=_.words[_.sigBytes-1>>>2]&255;_.sigBytes-=D}};o.BlockCipher=v.extend({cfg:v.cfg.extend({mode:B,padding:y}),reset:function(){var _;v.reset.call(this);var D=this.cfg,T=D.iv,H=D.mode;this._xformMode==this._ENC_XFORM_MODE?_=H.createEncryptor:(_=H.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==_?this._mode.init(this,T&&T.words):(this._mode=_.call(H,this,T&&T.words),this._mode.__creator=_)},_doProcessBlock:function(_,D){this._mode.processBlock(_,D)},_doFinalize:function(){var _,D=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(D.pad(this._data,this.blockSize),_=this._process(!0)):(_=this._process(!0),D.unpad(_)),_},blockSize:128/32});var x=o.CipherParams=f.extend({init:function(_){this.mixIn(_)},toString:function(_){return(_||this.formatter).stringify(this)}}),d=i.format={},b=d.OpenSSL={stringify:function(_){var D,T=_.ciphertext,H=_.salt;return H?D=a.create([1398893684,1701076831]).concat(H).concat(T):D=T,D.toString(c)},parse:function(_){var D,T=c.parse(_),H=T.words;return H[0]==1398893684&&H[1]==1701076831&&(D=a.create(H.slice(2,4)),H.splice(0,4),T.sigBytes-=16),x.create({ciphertext:T,salt:D})}},C=o.SerializableCipher=f.extend({cfg:f.extend({format:b}),encrypt:function(_,D,T,H){H=this.cfg.extend(H);var $=_.createEncryptor(T,H),L=$.finalize(D),I=$.cfg;return x.create({ciphertext:L,key:T,iv:I.iv,algorithm:_,mode:I.mode,padding:I.padding,blockSize:_.blockSize,formatter:H.format})},decrypt:function(_,D,T,H){H=this.cfg.extend(H),D=this._parse(D,H.format);var $=_.createDecryptor(T,H).finalize(D.ciphertext);return $},_parse:function(_,D){return typeof _=="string"?D.parse(_,this):_}}),A=i.kdf={},k=A.OpenSSL={execute:function(_,D,T,H,$){if(H||(H=a.random(64/8)),$)var L=u.create({keySize:D+T,hasher:$}).compute(_,H);else var L=u.create({keySize:D+T}).compute(_,H);var I=a.create(L.words.slice(D),T*4);return L.sigBytes=D*4,x.create({key:L,iv:I,salt:H})}},P=o.PasswordBasedCipher=C.extend({cfg:C.cfg.extend({kdf:k}),encrypt:function(_,D,T,H){H=this.cfg.extend(H);var $=H.kdf.execute(T,_.keySize,_.ivSize,H.salt,H.hasher);H.iv=$.iv;var L=C.encrypt.call(this,_,D,$.key,H);return L.mixIn($),L},decrypt:function(_,D,T,H){H=this.cfg.extend(H),D=this._parse(D,H.format);var $=H.kdf.execute(T,_.keySize,_.ivSize,D.salt,H.hasher);H.iv=$.iv;var L=C.decrypt.call(this,_,D,$.key,H);return L}})}()})}(C0)),C0.exports}var _0={exports:{}},$r;function Bi(){return $r||($r=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return e.mode.CFB=function(){var n=e.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(o,f){var a=this._cipher,l=a.blockSize;i.call(this,o,f,l,a),this._prevBlock=o.slice(f,f+l)}}),n.Decryptor=n.extend({processBlock:function(o,f){var a=this._cipher,l=a.blockSize,s=o.slice(f,f+l);i.call(this,o,f,l,a),this._prevBlock=s}});function i(o,f,a,l){var s,c=this._iv;c?(s=c.slice(0),this._iv=void 0):s=this._prevBlock,l.encryptBlock(s,0);for(var h=0;h<a;h++)o[f+h]^=s[h]}return n}(),e.mode.CFB})}(_0)),_0.exports}var A0={exports:{}},Wr;function Ci(){return Wr||(Wr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return e.mode.CTR=function(){var n=e.lib.BlockCipherMode.extend(),i=n.Encryptor=n.extend({processBlock:function(o,f){var a=this._cipher,l=a.blockSize,s=this._iv,c=this._counter;s&&(c=this._counter=s.slice(0),this._iv=void 0);var h=c.slice(0);a.encryptBlock(h,0),c[l-1]=c[l-1]+1|0;for(var u=0;u<l;u++)o[f+u]^=h[u]}});return n.Decryptor=i,n}(),e.mode.CTR})}(A0)),A0.exports}var w0={exports:{}},Ur;function _i(){return Ur||(Ur=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){/** @preserve
11
+ * Counter block mode compatible with Dr Brian Gladman fileenc.c
12
+ * derived from CryptoJS.mode.CTR
13
+ * Jan Hruby jhruby.web@gmail.com
14
+ */return e.mode.CTRGladman=function(){var n=e.lib.BlockCipherMode.extend();function i(a){if((a>>24&255)===255){var l=a>>16&255,s=a>>8&255,c=a&255;l===255?(l=0,s===255?(s=0,c===255?c=0:++c):++s):++l,a=0,a+=l<<16,a+=s<<8,a+=c}else a+=1<<24;return a}function o(a){return(a[0]=i(a[0]))===0&&(a[1]=i(a[1])),a}var f=n.Encryptor=n.extend({processBlock:function(a,l){var s=this._cipher,c=s.blockSize,h=this._iv,u=this._counter;h&&(u=this._counter=h.slice(0),this._iv=void 0),o(u);var v=u.slice(0);s.encryptBlock(v,0);for(var m=0;m<c;m++)a[l+m]^=v[m]}});return n.Decryptor=f,n}(),e.mode.CTRGladman})}(w0)),w0.exports}var D0={exports:{}},Yr;function Ai(){return Yr||(Yr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return e.mode.OFB=function(){var n=e.lib.BlockCipherMode.extend(),i=n.Encryptor=n.extend({processBlock:function(o,f){var a=this._cipher,l=a.blockSize,s=this._iv,c=this._keystream;s&&(c=this._keystream=s.slice(0),this._iv=void 0),a.encryptBlock(c,0);for(var h=0;h<l;h++)o[f+h]^=c[h]}});return n.Decryptor=i,n}(),e.mode.OFB})}(D0)),D0.exports}var F0={exports:{}},Vr;function Kr(){return Vr||(Vr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return e.mode.ECB=function(){var n=e.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(i,o){this._cipher.encryptBlock(i,o)}}),n.Decryptor=n.extend({processBlock:function(i,o){this._cipher.decryptBlock(i,o)}}),n}(),e.mode.ECB})}(F0)),F0.exports}var S0={exports:{}},Xr;function wi(){return Xr||(Xr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return e.pad.AnsiX923={pad:function(n,i){var o=n.sigBytes,f=i*4,a=f-o%f,l=o+a-1;n.clamp(),n.words[l>>>2]|=a<<24-l%4*8,n.sigBytes+=a},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},e.pad.Ansix923})}(S0)),S0.exports}var k0={exports:{}},Gr;function Di(){return Gr||(Gr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return e.pad.Iso10126={pad:function(n,i){var o=i*4,f=o-n.sigBytes%o;n.concat(e.lib.WordArray.random(f-1)).concat(e.lib.WordArray.create([f<<24],1))},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},e.pad.Iso10126})}(k0)),k0.exports}var R0={exports:{}},Zr;function Fi(){return Zr||(Zr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return e.pad.Iso97971={pad:function(n,i){n.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(n,i)},unpad:function(n){e.pad.ZeroPadding.unpad(n),n.sigBytes--}},e.pad.Iso97971})}(R0)),R0.exports}var N0={exports:{}},jr;function Si(){return jr||(jr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return e.pad.ZeroPadding={pad:function(n,i){var o=i*4;n.clamp(),n.sigBytes+=o-(n.sigBytes%o||o)},unpad:function(n){for(var i=n.words,o=n.sigBytes-1,o=n.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){n.sigBytes=o+1;break}}},e.pad.ZeroPadding})}(N0)),N0.exports}var T0={exports:{}},Qr;function ki(){return Qr||(Qr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})}(T0)),T0.exports}var O0={exports:{}},Jr;function Ri(){return Jr||(Jr=1,function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return function(n){var i=e,o=i.lib,f=o.CipherParams,a=i.enc,l=a.Hex,s=i.format;s.Hex={stringify:function(c){return c.ciphertext.toString(l)},parse:function(c){var h=l.parse(c);return f.create({ciphertext:h})}}}(),e.format.Hex})}(O0)),O0.exports}var I0={exports:{}},en;function tn(){return en||(en=1,function(r,t){(function(e,n,i){r.exports=n(fe(),je(),Qe(),Je(),ye())})(re,function(e){return function(){var n=e,i=n.lib,o=i.BlockCipher,f=n.algo,a=[],l=[],s=[],c=[],h=[],u=[],v=[],m=[],E=[],B=[];(function(){for(var x=[],d=0;d<256;d++)d<128?x[d]=d<<1:x[d]=d<<1^283;for(var b=0,C=0,d=0;d<256;d++){var A=C^C<<1^C<<2^C<<3^C<<4;A=A>>>8^A&255^99,a[b]=A,l[A]=b;var k=x[b],P=x[k],_=x[P],D=x[A]*257^A*16843008;s[b]=D<<24|D>>>8,c[b]=D<<16|D>>>16,h[b]=D<<8|D>>>24,u[b]=D;var D=_*16843009^P*65537^k*257^b*16843008;v[A]=D<<24|D>>>8,m[A]=D<<16|D>>>16,E[A]=D<<8|D>>>24,B[A]=D,b?(b=k^x[x[x[_^k]]],C^=x[x[C]]):b=C=1}})();var F=[0,1,2,4,8,16,32,64,128,27,54],y=f.AES=o.extend({_doReset:function(){var x;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var d=this._keyPriorReset=this._key,b=d.words,C=d.sigBytes/4,A=this._nRounds=C+6,k=(A+1)*4,P=this._keySchedule=[],_=0;_<k;_++)_<C?P[_]=b[_]:(x=P[_-1],_%C?C>6&&_%C==4&&(x=a[x>>>24]<<24|a[x>>>16&255]<<16|a[x>>>8&255]<<8|a[x&255]):(x=x<<8|x>>>24,x=a[x>>>24]<<24|a[x>>>16&255]<<16|a[x>>>8&255]<<8|a[x&255],x^=F[_/C|0]<<24),P[_]=P[_-C]^x);for(var D=this._invKeySchedule=[],T=0;T<k;T++){var _=k-T;if(T%4)var x=P[_];else var x=P[_-4];T<4||_<=4?D[T]=x:D[T]=v[a[x>>>24]]^m[a[x>>>16&255]]^E[a[x>>>8&255]]^B[a[x&255]]}}},encryptBlock:function(x,d){this._doCryptBlock(x,d,this._keySchedule,s,c,h,u,a)},decryptBlock:function(x,d){var b=x[d+1];x[d+1]=x[d+3],x[d+3]=b,this._doCryptBlock(x,d,this._invKeySchedule,v,m,E,B,l);var b=x[d+1];x[d+1]=x[d+3],x[d+3]=b},_doCryptBlock:function(x,d,b,C,A,k,P,_){for(var D=this._nRounds,T=x[d]^b[0],H=x[d+1]^b[1],$=x[d+2]^b[2],L=x[d+3]^b[3],I=4,G=1;G<D;G++){var Y=C[T>>>24]^A[H>>>16&255]^k[$>>>8&255]^P[L&255]^b[I++],Q=C[H>>>24]^A[$>>>16&255]^k[L>>>8&255]^P[T&255]^b[I++],j=C[$>>>24]^A[L>>>16&255]^k[T>>>8&255]^P[H&255]^b[I++],O=C[L>>>24]^A[T>>>16&255]^k[H>>>8&255]^P[$&255]^b[I++];T=Y,H=Q,$=j,L=O}var Y=(_[T>>>24]<<24|_[H>>>16&255]<<16|_[$>>>8&255]<<8|_[L&255])^b[I++],Q=(_[H>>>24]<<24|_[$>>>16&255]<<16|_[L>>>8&255]<<8|_[T&255])^b[I++],j=(_[$>>>24]<<24|_[L>>>16&255]<<16|_[T>>>8&255]<<8|_[H&255])^b[I++],O=(_[L>>>24]<<24|_[T>>>16&255]<<16|_[H>>>8&255]<<8|_[$&255])^b[I++];x[d]=Y,x[d+1]=Q,x[d+2]=j,x[d+3]=O},keySize:256/32});n.AES=o._createHelper(y)}(),e.AES})}(I0)),I0.exports}var L0={exports:{}},rn;function Ni(){return rn||(rn=1,function(r,t){(function(e,n,i){r.exports=n(fe(),je(),Qe(),Je(),ye())})(re,function(e){return function(){var n=e,i=n.lib,o=i.WordArray,f=i.BlockCipher,a=n.algo,l=[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],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],v=a.DES=f.extend({_doReset:function(){for(var F=this._key,y=F.words,x=[],d=0;d<56;d++){var b=l[d]-1;x[d]=y[b>>>5]>>>31-b%32&1}for(var C=this._subKeys=[],A=0;A<16;A++){for(var k=C[A]=[],P=c[A],d=0;d<24;d++)k[d/6|0]|=x[(s[d]-1+P)%28]<<31-d%6,k[4+(d/6|0)]|=x[28+(s[d+24]-1+P)%28]<<31-d%6;k[0]=k[0]<<1|k[0]>>>31;for(var d=1;d<7;d++)k[d]=k[d]>>>(d-1)*4+3;k[7]=k[7]<<5|k[7]>>>27}for(var _=this._invSubKeys=[],d=0;d<16;d++)_[d]=C[15-d]},encryptBlock:function(F,y){this._doCryptBlock(F,y,this._subKeys)},decryptBlock:function(F,y){this._doCryptBlock(F,y,this._invSubKeys)},_doCryptBlock:function(F,y,x){this._lBlock=F[y],this._rBlock=F[y+1],m.call(this,4,252645135),m.call(this,16,65535),E.call(this,2,858993459),E.call(this,8,16711935),m.call(this,1,1431655765);for(var d=0;d<16;d++){for(var b=x[d],C=this._lBlock,A=this._rBlock,k=0,P=0;P<8;P++)k|=h[P][((A^b[P])&u[P])>>>0];this._lBlock=A,this._rBlock=C^k}var _=this._lBlock;this._lBlock=this._rBlock,this._rBlock=_,m.call(this,1,1431655765),E.call(this,8,16711935),E.call(this,2,858993459),m.call(this,16,65535),m.call(this,4,252645135),F[y]=this._lBlock,F[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function m(F,y){var x=(this._lBlock>>>F^this._rBlock)&y;this._rBlock^=x,this._lBlock^=x<<F}function E(F,y){var x=(this._rBlock>>>F^this._lBlock)&y;this._lBlock^=x,this._rBlock^=x<<F}n.DES=f._createHelper(v);var B=a.TripleDES=f.extend({_doReset:function(){var F=this._key,y=F.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var x=y.slice(0,2),d=y.length<4?y.slice(0,2):y.slice(2,4),b=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=v.createEncryptor(o.create(x)),this._des2=v.createEncryptor(o.create(d)),this._des3=v.createEncryptor(o.create(b))},encryptBlock:function(F,y){this._des1.encryptBlock(F,y),this._des2.decryptBlock(F,y),this._des3.encryptBlock(F,y)},decryptBlock:function(F,y){this._des3.decryptBlock(F,y),this._des2.encryptBlock(F,y),this._des1.decryptBlock(F,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=f._createHelper(B)}(),e.TripleDES})}(L0)),L0.exports}var P0={exports:{}},nn;function Ti(){return nn||(nn=1,function(r,t){(function(e,n,i){r.exports=n(fe(),je(),Qe(),Je(),ye())})(re,function(e){return function(){var n=e,i=n.lib,o=i.StreamCipher,f=n.algo,a=f.RC4=o.extend({_doReset:function(){for(var c=this._key,h=c.words,u=c.sigBytes,v=this._S=[],m=0;m<256;m++)v[m]=m;for(var m=0,E=0;m<256;m++){var B=m%u,F=h[B>>>2]>>>24-B%4*8&255;E=(E+v[m]+F)%256;var y=v[m];v[m]=v[E],v[E]=y}this._i=this._j=0},_doProcessBlock:function(c,h){c[h]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var c=this._S,h=this._i,u=this._j,v=0,m=0;m<4;m++){h=(h+1)%256,u=(u+c[h])%256;var E=c[h];c[h]=c[u],c[u]=E,v|=c[(c[h]+c[u])%256]<<24-m*8}return this._i=h,this._j=u,v}n.RC4=o._createHelper(a);var s=f.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)l.call(this)}});n.RC4Drop=o._createHelper(s)}(),e.RC4})}(P0)),P0.exports}var H0={exports:{}},on;function Oi(){return on||(on=1,function(r,t){(function(e,n,i){r.exports=n(fe(),je(),Qe(),Je(),ye())})(re,function(e){return function(){var n=e,i=n.lib,o=i.StreamCipher,f=n.algo,a=[],l=[],s=[],c=f.Rabbit=o.extend({_doReset:function(){for(var u=this._key.words,v=this.cfg.iv,m=0;m<4;m++)u[m]=(u[m]<<8|u[m]>>>24)&16711935|(u[m]<<24|u[m]>>>8)&4278255360;var E=this._X=[u[0],u[3]<<16|u[2]>>>16,u[1],u[0]<<16|u[3]>>>16,u[2],u[1]<<16|u[0]>>>16,u[3],u[2]<<16|u[1]>>>16],B=this._C=[u[2]<<16|u[2]>>>16,u[0]&4294901760|u[1]&65535,u[3]<<16|u[3]>>>16,u[1]&4294901760|u[2]&65535,u[0]<<16|u[0]>>>16,u[2]&4294901760|u[3]&65535,u[1]<<16|u[1]>>>16,u[3]&4294901760|u[0]&65535];this._b=0;for(var m=0;m<4;m++)h.call(this);for(var m=0;m<8;m++)B[m]^=E[m+4&7];if(v){var F=v.words,y=F[0],x=F[1],d=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,b=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,C=d>>>16|b&4294901760,A=b<<16|d&65535;B[0]^=d,B[1]^=C,B[2]^=b,B[3]^=A,B[4]^=d,B[5]^=C,B[6]^=b,B[7]^=A;for(var m=0;m<4;m++)h.call(this)}},_doProcessBlock:function(u,v){var m=this._X;h.call(this),a[0]=m[0]^m[5]>>>16^m[3]<<16,a[1]=m[2]^m[7]>>>16^m[5]<<16,a[2]=m[4]^m[1]>>>16^m[7]<<16,a[3]=m[6]^m[3]>>>16^m[1]<<16;for(var E=0;E<4;E++)a[E]=(a[E]<<8|a[E]>>>24)&16711935|(a[E]<<24|a[E]>>>8)&4278255360,u[v+E]^=a[E]},blockSize:128/32,ivSize:64/32});function h(){for(var u=this._X,v=this._C,m=0;m<8;m++)l[m]=v[m];v[0]=v[0]+1295307597+this._b|0,v[1]=v[1]+3545052371+(v[0]>>>0<l[0]>>>0?1:0)|0,v[2]=v[2]+886263092+(v[1]>>>0<l[1]>>>0?1:0)|0,v[3]=v[3]+1295307597+(v[2]>>>0<l[2]>>>0?1:0)|0,v[4]=v[4]+3545052371+(v[3]>>>0<l[3]>>>0?1:0)|0,v[5]=v[5]+886263092+(v[4]>>>0<l[4]>>>0?1:0)|0,v[6]=v[6]+1295307597+(v[5]>>>0<l[5]>>>0?1:0)|0,v[7]=v[7]+3545052371+(v[6]>>>0<l[6]>>>0?1:0)|0,this._b=v[7]>>>0<l[7]>>>0?1:0;for(var m=0;m<8;m++){var E=u[m]+v[m],B=E&65535,F=E>>>16,y=((B*B>>>17)+B*F>>>15)+F*F,x=((E&4294901760)*E|0)+((E&65535)*E|0);s[m]=y^x}u[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,u[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,u[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,u[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,u[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,u[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,u[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,u[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}n.Rabbit=o._createHelper(c)}(),e.Rabbit})}(H0)),H0.exports}var M0={exports:{}},sn;function Ii(){return sn||(sn=1,function(r,t){(function(e,n,i){r.exports=n(fe(),je(),Qe(),Je(),ye())})(re,function(e){return function(){var n=e,i=n.lib,o=i.StreamCipher,f=n.algo,a=[],l=[],s=[],c=f.RabbitLegacy=o.extend({_doReset:function(){var u=this._key.words,v=this.cfg.iv,m=this._X=[u[0],u[3]<<16|u[2]>>>16,u[1],u[0]<<16|u[3]>>>16,u[2],u[1]<<16|u[0]>>>16,u[3],u[2]<<16|u[1]>>>16],E=this._C=[u[2]<<16|u[2]>>>16,u[0]&4294901760|u[1]&65535,u[3]<<16|u[3]>>>16,u[1]&4294901760|u[2]&65535,u[0]<<16|u[0]>>>16,u[2]&4294901760|u[3]&65535,u[1]<<16|u[1]>>>16,u[3]&4294901760|u[0]&65535];this._b=0;for(var B=0;B<4;B++)h.call(this);for(var B=0;B<8;B++)E[B]^=m[B+4&7];if(v){var F=v.words,y=F[0],x=F[1],d=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,b=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,C=d>>>16|b&4294901760,A=b<<16|d&65535;E[0]^=d,E[1]^=C,E[2]^=b,E[3]^=A,E[4]^=d,E[5]^=C,E[6]^=b,E[7]^=A;for(var B=0;B<4;B++)h.call(this)}},_doProcessBlock:function(u,v){var m=this._X;h.call(this),a[0]=m[0]^m[5]>>>16^m[3]<<16,a[1]=m[2]^m[7]>>>16^m[5]<<16,a[2]=m[4]^m[1]>>>16^m[7]<<16,a[3]=m[6]^m[3]>>>16^m[1]<<16;for(var E=0;E<4;E++)a[E]=(a[E]<<8|a[E]>>>24)&16711935|(a[E]<<24|a[E]>>>8)&4278255360,u[v+E]^=a[E]},blockSize:128/32,ivSize:64/32});function h(){for(var u=this._X,v=this._C,m=0;m<8;m++)l[m]=v[m];v[0]=v[0]+1295307597+this._b|0,v[1]=v[1]+3545052371+(v[0]>>>0<l[0]>>>0?1:0)|0,v[2]=v[2]+886263092+(v[1]>>>0<l[1]>>>0?1:0)|0,v[3]=v[3]+1295307597+(v[2]>>>0<l[2]>>>0?1:0)|0,v[4]=v[4]+3545052371+(v[3]>>>0<l[3]>>>0?1:0)|0,v[5]=v[5]+886263092+(v[4]>>>0<l[4]>>>0?1:0)|0,v[6]=v[6]+1295307597+(v[5]>>>0<l[5]>>>0?1:0)|0,v[7]=v[7]+3545052371+(v[6]>>>0<l[6]>>>0?1:0)|0,this._b=v[7]>>>0<l[7]>>>0?1:0;for(var m=0;m<8;m++){var E=u[m]+v[m],B=E&65535,F=E>>>16,y=((B*B>>>17)+B*F>>>15)+F*F,x=((E&4294901760)*E|0)+((E&65535)*E|0);s[m]=y^x}u[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,u[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,u[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,u[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,u[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,u[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,u[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,u[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}n.RabbitLegacy=o._createHelper(c)}(),e.RabbitLegacy})}(M0)),M0.exports}var q0={exports:{}},an;function Li(){return an||(an=1,function(r,t){(function(e,n,i){r.exports=n(fe(),je(),Qe(),Je(),ye())})(re,function(e){return function(){var n=e,i=n.lib,o=i.BlockCipher,f=n.algo;const a=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function h(B,F){let y=F>>24&255,x=F>>16&255,d=F>>8&255,b=F&255,C=B.sbox[0][y]+B.sbox[1][x];return C=C^B.sbox[2][d],C=C+B.sbox[3][b],C}function u(B,F,y){let x=F,d=y,b;for(let C=0;C<a;++C)x=x^B.pbox[C],d=h(B,x)^d,b=x,x=d,d=b;return b=x,x=d,d=b,d=d^B.pbox[a],x=x^B.pbox[a+1],{left:x,right:d}}function v(B,F,y){let x=F,d=y,b;for(let C=a+1;C>1;--C)x=x^B.pbox[C],d=h(B,x)^d,b=x,x=d,d=b;return b=x,x=d,d=b,d=d^B.pbox[1],x=x^B.pbox[0],{left:x,right:d}}function m(B,F,y){for(let A=0;A<4;A++){B.sbox[A]=[];for(let k=0;k<256;k++)B.sbox[A][k]=s[A][k]}let x=0;for(let A=0;A<a+2;A++)B.pbox[A]=l[A]^F[x],x++,x>=y&&(x=0);let d=0,b=0,C=0;for(let A=0;A<a+2;A+=2)C=u(B,d,b),d=C.left,b=C.right,B.pbox[A]=d,B.pbox[A+1]=b;for(let A=0;A<4;A++)for(let k=0;k<256;k+=2)C=u(B,d,b),d=C.left,b=C.right,B.sbox[A][k]=d,B.sbox[A][k+1]=b;return!0}var E=f.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var B=this._keyPriorReset=this._key,F=B.words,y=B.sigBytes/4;m(c,F,y)}},encryptBlock:function(B,F){var y=u(c,B[F],B[F+1]);B[F]=y.left,B[F+1]=y.right},decryptBlock:function(B,F){var y=v(c,B[F],B[F+1]);B[F]=y.left,B[F+1]=y.right},blockSize:64/32,keySize:128/32,ivSize:64/32});n.Blowfish=o._createHelper(E)}(),e.Blowfish})}(q0)),q0.exports}(function(r,t){(function(e,n,i){r.exports=n(fe(),Rt(),di(),pi(),je(),vi(),Qe(),kr(),x0(),bi(),Or(),gi(),mi(),yi(),y0(),Ei(),Je(),ye(),Bi(),Ci(),_i(),Ai(),Kr(),wi(),Di(),Fi(),Si(),ki(),Ri(),tn(),Ni(),Ti(),Oi(),Ii(),Li())})(re,function(e){return e})})(hi);var Pi={exports:{}};(function(r,t){(function(e,n){r.exports=n()})(re,function(){var e=1e3,n=6e4,i=36e5,o="millisecond",f="second",a="minute",l="hour",s="day",c="week",h="month",u="quarter",v="year",m="date",E="Invalid Date",B=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function($){var L=["th","st","nd","rd"],I=$%100;return"["+$+(L[(I-20)%10]||L[I]||L[0])+"]"}},x=function($,L,I){var G=String($);return!G||G.length>=L?$:""+Array(L+1-G.length).join(I)+$},d={s:x,z:function($){var L=-$.utcOffset(),I=Math.abs(L),G=Math.floor(I/60),Y=I%60;return(L<=0?"+":"-")+x(G,2,"0")+":"+x(Y,2,"0")},m:function $(L,I){if(L.date()<I.date())return-$(I,L);var G=12*(I.year()-L.year())+(I.month()-L.month()),Y=L.clone().add(G,h),Q=I-Y<0,j=L.clone().add(G+(Q?-1:1),h);return+(-(G+(I-Y)/(Q?Y-j:j-Y))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:h,y:v,w:c,d:s,D:m,h:l,m:a,s:f,ms:o,Q:u}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return $===void 0}},b="en",C={};C[b]=y;var A="$isDayjsObject",k=function($){return $ instanceof T||!(!$||!$[A])},P=function $(L,I,G){var Y;if(!L)return b;if(typeof L=="string"){var Q=L.toLowerCase();C[Q]&&(Y=Q),I&&(C[Q]=I,Y=Q);var j=L.split("-");if(!Y&&j.length>1)return $(j[0])}else{var O=L.name;C[O]=L,Y=O}return!G&&Y&&(b=Y),Y||!G&&b},_=function($,L){if(k($))return $.clone();var I=typeof L=="object"?L:{};return I.date=$,I.args=arguments,new T(I)},D=d;D.l=P,D.i=k,D.w=function($,L){return _($,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var T=function(){function $(I){this.$L=P(I.locale,null,!0),this.parse(I),this.$x=this.$x||I.x||{},this[A]=!0}var L=$.prototype;return L.parse=function(I){this.$d=function(G){var Y=G.date,Q=G.utc;if(Y===null)return new Date(NaN);if(D.u(Y))return new Date;if(Y instanceof Date)return new Date(Y);if(typeof Y=="string"&&!/Z$/i.test(Y)){var j=Y.match(B);if(j){var O=j[2]-1||0,M=(j[7]||"0").substring(0,3);return Q?new Date(Date.UTC(j[1],O,j[3]||1,j[4]||0,j[5]||0,j[6]||0,M)):new Date(j[1],O,j[3]||1,j[4]||0,j[5]||0,j[6]||0,M)}}return new Date(Y)}(I),this.init()},L.init=function(){var I=this.$d;this.$y=I.getFullYear(),this.$M=I.getMonth(),this.$D=I.getDate(),this.$W=I.getDay(),this.$H=I.getHours(),this.$m=I.getMinutes(),this.$s=I.getSeconds(),this.$ms=I.getMilliseconds()},L.$utils=function(){return D},L.isValid=function(){return this.$d.toString()!==E},L.isSame=function(I,G){var Y=_(I);return this.startOf(G)<=Y&&Y<=this.endOf(G)},L.isAfter=function(I,G){return _(I)<this.startOf(G)},L.isBefore=function(I,G){return this.endOf(G)<_(I)},L.$g=function(I,G,Y){return D.u(I)?this[G]:this.set(Y,I)},L.unix=function(){return Math.floor(this.valueOf()/1e3)},L.valueOf=function(){return this.$d.getTime()},L.startOf=function(I,G){var Y=this,Q=!!D.u(G)||G,j=D.p(I),O=function(Ae,ve){var Re=D.w(Y.$u?Date.UTC(Y.$y,ve,Ae):new Date(Y.$y,ve,Ae),Y);return Q?Re:Re.endOf(s)},M=function(Ae,ve){return D.w(Y.toDate()[Ae].apply(Y.toDate("s"),(Q?[0,0,0,0]:[23,59,59,999]).slice(ve)),Y)},W=this.$W,q=this.$M,se=this.$D,le="set"+(this.$u?"UTC":"");switch(j){case v:return Q?O(1,0):O(31,11);case h:return Q?O(1,q):O(0,q+1);case c:var pe=this.$locale().weekStart||0,oe=(W<pe?W+7:W)-pe;return O(Q?se-oe:se+(6-oe),q);case s:case m:return M(le+"Hours",0);case l:return M(le+"Minutes",1);case a:return M(le+"Seconds",2);case f:return M(le+"Milliseconds",3);default:return this.clone()}},L.endOf=function(I){return this.startOf(I,!1)},L.$set=function(I,G){var Y,Q=D.p(I),j="set"+(this.$u?"UTC":""),O=(Y={},Y[s]=j+"Date",Y[m]=j+"Date",Y[h]=j+"Month",Y[v]=j+"FullYear",Y[l]=j+"Hours",Y[a]=j+"Minutes",Y[f]=j+"Seconds",Y[o]=j+"Milliseconds",Y)[Q],M=Q===s?this.$D+(G-this.$W):G;if(Q===h||Q===v){var W=this.clone().set(m,1);W.$d[O](M),W.init(),this.$d=W.set(m,Math.min(this.$D,W.daysInMonth())).$d}else O&&this.$d[O](M);return this.init(),this},L.set=function(I,G){return this.clone().$set(I,G)},L.get=function(I){return this[D.p(I)]()},L.add=function(I,G){var Y,Q=this;I=Number(I);var j=D.p(G),O=function(q){var se=_(Q);return D.w(se.date(se.date()+Math.round(q*I)),Q)};if(j===h)return this.set(h,this.$M+I);if(j===v)return this.set(v,this.$y+I);if(j===s)return O(1);if(j===c)return O(7);var M=(Y={},Y[a]=n,Y[l]=i,Y[f]=e,Y)[j]||1,W=this.$d.getTime()+I*M;return D.w(W,this)},L.subtract=function(I,G){return this.add(-1*I,G)},L.format=function(I){var G=this,Y=this.$locale();if(!this.isValid())return Y.invalidDate||E;var Q=I||"YYYY-MM-DDTHH:mm:ssZ",j=D.z(this),O=this.$H,M=this.$m,W=this.$M,q=Y.weekdays,se=Y.months,le=Y.meridiem,pe=function(ve,Re,Ne,Be){return ve&&(ve[Re]||ve(G,Q))||Ne[Re].slice(0,Be)},oe=function(ve){return D.s(O%12||12,ve,"0")},Ae=le||function(ve,Re,Ne){var Be=ve<12?"AM":"PM";return Ne?Be.toLowerCase():Be};return Q.replace(F,function(ve,Re){return Re||function(Ne){switch(Ne){case"YY":return String(G.$y).slice(-2);case"YYYY":return D.s(G.$y,4,"0");case"M":return W+1;case"MM":return D.s(W+1,2,"0");case"MMM":return pe(Y.monthsShort,W,se,3);case"MMMM":return pe(se,W);case"D":return G.$D;case"DD":return D.s(G.$D,2,"0");case"d":return String(G.$W);case"dd":return pe(Y.weekdaysMin,G.$W,q,2);case"ddd":return pe(Y.weekdaysShort,G.$W,q,3);case"dddd":return q[G.$W];case"H":return String(O);case"HH":return D.s(O,2,"0");case"h":return oe(1);case"hh":return oe(2);case"a":return Ae(O,M,!0);case"A":return Ae(O,M,!1);case"m":return String(M);case"mm":return D.s(M,2,"0");case"s":return String(G.$s);case"ss":return D.s(G.$s,2,"0");case"SSS":return D.s(G.$ms,3,"0");case"Z":return j}return null}(ve)||j.replace(":","")})},L.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},L.diff=function(I,G,Y){var Q,j=this,O=D.p(G),M=_(I),W=(M.utcOffset()-this.utcOffset())*n,q=this-M,se=function(){return D.m(j,M)};switch(O){case v:Q=se()/12;break;case h:Q=se();break;case u:Q=se()/3;break;case c:Q=(q-W)/6048e5;break;case s:Q=(q-W)/864e5;break;case l:Q=q/i;break;case a:Q=q/n;break;case f:Q=q/e;break;default:Q=q}return Y?Q:D.a(Q)},L.daysInMonth=function(){return this.endOf(h).$D},L.$locale=function(){return C[this.$L]},L.locale=function(I,G){if(!I)return this.$L;var Y=this.clone(),Q=P(I,G,!0);return Q&&(Y.$L=Q),Y},L.clone=function(){return D.w(this.$d,this)},L.toDate=function(){return new Date(this.valueOf())},L.toJSON=function(){return this.isValid()?this.toISOString():null},L.toISOString=function(){return this.$d.toISOString()},L.toString=function(){return this.$d.toUTCString()},$}(),H=T.prototype;return _.prototype=H,[["$ms",o],["$s",f],["$m",a],["$H",l],["$W",s],["$M",h],["$y",v],["$D",m]].forEach(function($){H[$[1]]=function(L){return this.$g(L,$[0],$[1])}}),_.extend=function($,L){return $.$i||($(L,T,_),$.$i=!0),_},_.locale=P,_.isDayjs=k,_.unix=function($){return _(1e3*$)},_.en=C[b],_.Ls=C,_.p={},_})})(Pi);var fn=function(){if(typeof Map<"u")return Map;function r(t,e){var n=-1;return t.some(function(i,o){return i[0]===e?(n=o,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(e){var n=r(this.__entries__,e),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(e,n){var i=r(this.__entries__,e);~i?this.__entries__[i][1]=n:this.__entries__.push([e,n])},t.prototype.delete=function(e){var n=this.__entries__,i=r(n,e);~i&&n.splice(i,1)},t.prototype.has=function(e){return!!~r(this.__entries__,e)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,n){n===void 0&&(n=null);for(var i=0,o=this.__entries__;i<o.length;i++){var f=o[i];e.call(n,f[1],f[0])}},t}()}(),z0=typeof window<"u"&&typeof document<"u"&&window.document===document,Nt=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Hi=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Nt):function(r){return setTimeout(function(){return r(Date.now())},1e3/60)}}(),Mi=2;function qi(r,t){var e=!1,n=!1,i=0;function o(){e&&(e=!1,r()),n&&a()}function f(){Hi(o)}function a(){var l=Date.now();if(e){if(l-i<Mi)return;n=!0}else e=!0,n=!1,setTimeout(f,t);i=l}return a}var zi=20,$i=["top","right","bottom","left","width","height","size","weight"],Wi=typeof MutationObserver<"u",Ui=function(){function r(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=qi(this.refresh.bind(this),zi)}return r.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},r.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},r.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},r.prototype.updateObservers_=function(){var t=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return t.forEach(function(e){return e.broadcastActive()}),t.length>0},r.prototype.connect_=function(){!z0||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Wi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},r.prototype.disconnect_=function(){!z0||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},r.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=e===void 0?"":e,i=$i.some(function(o){return!!~n.indexOf(o)});i&&this.refresh()},r.getInstance=function(){return this.instance_||(this.instance_=new r),this.instance_},r.instance_=null,r}(),cn=function(r,t){for(var e=0,n=Object.keys(t);e<n.length;e++){var i=n[e];Object.defineProperty(r,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return r},ut=function(r){var t=r&&r.ownerDocument&&r.ownerDocument.defaultView;return t||Nt},un=Ot(0,0,0,0);function Tt(r){return parseFloat(r)||0}function ln(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return t.reduce(function(n,i){var o=r["border-"+i+"-width"];return n+Tt(o)},0)}function Yi(r){for(var t=["top","right","bottom","left"],e={},n=0,i=t;n<i.length;n++){var o=i[n],f=r["padding-"+o];e[o]=Tt(f)}return e}function Vi(r){var t=r.getBBox();return Ot(0,0,t.width,t.height)}function Ki(r){var t=r.clientWidth,e=r.clientHeight;if(!t&&!e)return un;var n=ut(r).getComputedStyle(r),i=Yi(n),o=i.left+i.right,f=i.top+i.bottom,a=Tt(n.width),l=Tt(n.height);if(n.boxSizing==="border-box"&&(Math.round(a+o)!==t&&(a-=ln(n,"left","right")+o),Math.round(l+f)!==e&&(l-=ln(n,"top","bottom")+f)),!Gi(r)){var s=Math.round(a+o)-t,c=Math.round(l+f)-e;Math.abs(s)!==1&&(a-=s),Math.abs(c)!==1&&(l-=c)}return Ot(i.left,i.top,a,l)}var Xi=function(){return typeof SVGGraphicsElement<"u"?function(r){return r instanceof ut(r).SVGGraphicsElement}:function(r){return r instanceof ut(r).SVGElement&&typeof r.getBBox=="function"}}();function Gi(r){return r===ut(r).document.documentElement}function Zi(r){return z0?Xi(r)?Vi(r):Ki(r):un}function ji(r){var t=r.x,e=r.y,n=r.width,i=r.height,o=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,f=Object.create(o.prototype);return cn(f,{x:t,y:e,width:n,height:i,top:e,right:t+n,bottom:i+e,left:t}),f}function Ot(r,t,e,n){return{x:r,y:t,width:e,height:n}}var Qi=function(){function r(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Ot(0,0,0,0),this.target=t}return r.prototype.isActive=function(){var t=Zi(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},r.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},r}(),Ji=function(){function r(t,e){var n=ji(e);cn(this,{target:t,contentRect:n})}return r}(),eo=function(){function r(t,e,n){if(this.activeObservations_=[],this.observations_=new fn,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return r.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof ut(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new Qi(t)),this.controller_.addObserver(this),this.controller_.refresh())}},r.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof ut(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},r.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},r.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},r.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(n){return new Ji(n.target,n.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},r.prototype.clearActive=function(){this.activeObservations_.splice(0)},r.prototype.hasActive=function(){return this.activeObservations_.length>0},r}(),hn=typeof WeakMap<"u"?new WeakMap:new fn,xn=function(){function r(t){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var e=Ui.getInstance(),n=new eo(t,e,this);hn.set(this,n)}return r}();["observe","unobserve","disconnect"].forEach(function(r){xn.prototype[r]=function(){var t;return(t=hn.get(this))[r].apply(t,arguments)}}),function(){return typeof Nt.ResizeObserver<"u"?Nt.ResizeObserver:xn}(),tn(),je();var to={exports:{}};(function(r,t){(function(e,n){r.exports=n(fe())})(re,function(e){return e.enc.Utf8})})(to),Qe(),Kr();var ro={exports:{}};(function(r,t){(function(e,n,i){r.exports=n(fe(),ye())})(re,function(e){return e.pad.Pkcs7})})(ro);function no(r){var t=[],e="";for(e in r)t.push(e);return t}function dn(r){return r=JSON.stringify(r),!(typeof r!="string"||!/^\{[\s\S]*\}$/.test(r))}function io(r){return r instanceof Array}function oo(r){return Array.prototype.slice.call(r)}function gt(){if(!(this instanceof gt))return new gt}gt.prototype={get:function(r){for(var t=r+"=",e=document.cookie.split(";"),n=0;n<e.length;n++){for(var i=e[n];i.charAt(0)==" ";)i=i.substring(1,i.length);if(i.indexOf(t)==0)return decodeURI(i.substring(t.length,i.length))}return!1},set:function(r,t,e){if(dn(r))for(const n in r)this.set(n,r[n],t,e);else if(typeof r=="string"){const n=dn(e)?e:{expires:e},i=n.path!==void 0?`;path=${n.path};path=/`:";path=/",o=n.domain?`;domain=${n.domain}`:"",f=n.secure?";secure":"";let a=n.expires!==void 0?n.expires:"";typeof a=="string"&&a!==""?a=new Date(a):typeof a=="number"&&(a=new Date(+new Date+1e3*60*60*24*a)),a!==""&&"toGMTString"in a&&(a=`;expires=${a.toGMTString()}`);const l=n.sameSite?`;SameSite=${n.sameSite}`:"";document.cookie=`${r}=${encodeURI(t)+a+i+o+f+l}`}},remove:function(r){r=io(r)?r:oo(arguments);for(var t=0,e=r.length;t<e;t++)this.set(r[t],"",-1);return r},clear:function(r){return r?this.remove(r):this.remove(no(this.all()))},all:function(){if(document.cookie==="")return{};for(var r=document.cookie.split("; "),t={},e=0,n=r.length;e<n;e++){var i=r[e].split("=");t[decodeURI(i[0])]=decodeURI(i[1])}return t}};for(const r in gt.prototype)gt.prototype[r];var so={exports:{}};/*!
15
+ localForage -- Offline Storage, Improved
16
+ Version 1.10.0
17
+ https://localforage.github.io/localForage
18
+ (c) 2013-2017 Mozilla, Apache License 2.0
19
+ */(function(r,t){(function(e){r.exports=e()})(function(){return function e(n,i,o){function f(s,c){if(!i[s]){if(!n[s]){var h=typeof bt=="function"&&bt;if(!c&&h)return h(s,!0);if(a)return a(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var v=i[s]={exports:{}};n[s][0].call(v.exports,function(m){var E=n[s][1][m];return f(E||m)},v,v.exports,e,n,i,o)}return i[s].exports}for(var a=typeof bt=="function"&&bt,l=0;l<o.length;l++)f(o[l]);return f}({1:[function(e,n,i){(function(o){var f=o.MutationObserver||o.WebKitMutationObserver,a;if(f){var l=0,s=new f(m),c=o.document.createTextNode("");s.observe(c,{characterData:!0}),a=function(){c.data=l=++l%2}}else if(!o.setImmediate&&typeof o.MessageChannel<"u"){var h=new o.MessageChannel;h.port1.onmessage=m,a=function(){h.port2.postMessage(0)}}else"document"in o&&"onreadystatechange"in o.document.createElement("script")?a=function(){var B=o.document.createElement("script");B.onreadystatechange=function(){m(),B.onreadystatechange=null,B.parentNode.removeChild(B),B=null},o.document.documentElement.appendChild(B)}:a=function(){setTimeout(m,0)};var u,v=[];function m(){u=!0;for(var B,F,y=v.length;y;){for(F=v,v=[],B=-1;++B<y;)F[B]();y=v.length}u=!1}n.exports=E;function E(B){v.push(B)===1&&!u&&a()}}).call(this,typeof re<"u"?re:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(e,n,i){var o=e(1);function f(){}var a={},l=["REJECTED"],s=["FULFILLED"],c=["PENDING"];n.exports=h;function h(b){if(typeof b!="function")throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,b!==f&&E(this,b)}h.prototype.catch=function(b){return this.then(null,b)},h.prototype.then=function(b,C){if(typeof b!="function"&&this.state===s||typeof C!="function"&&this.state===l)return this;var A=new this.constructor(f);if(this.state!==c){var k=this.state===s?b:C;v(A,k,this.outcome)}else this.queue.push(new u(A,b,C));return A};function u(b,C,A){this.promise=b,typeof C=="function"&&(this.onFulfilled=C,this.callFulfilled=this.otherCallFulfilled),typeof A=="function"&&(this.onRejected=A,this.callRejected=this.otherCallRejected)}u.prototype.callFulfilled=function(b){a.resolve(this.promise,b)},u.prototype.otherCallFulfilled=function(b){v(this.promise,this.onFulfilled,b)},u.prototype.callRejected=function(b){a.reject(this.promise,b)},u.prototype.otherCallRejected=function(b){v(this.promise,this.onRejected,b)};function v(b,C,A){o(function(){var k;try{k=C(A)}catch(P){return a.reject(b,P)}k===b?a.reject(b,new TypeError("Cannot resolve promise with itself")):a.resolve(b,k)})}a.resolve=function(b,C){var A=B(m,C);if(A.status==="error")return a.reject(b,A.value);var k=A.value;if(k)E(b,k);else{b.state=s,b.outcome=C;for(var P=-1,_=b.queue.length;++P<_;)b.queue[P].callFulfilled(C)}return b},a.reject=function(b,C){b.state=l,b.outcome=C;for(var A=-1,k=b.queue.length;++A<k;)b.queue[A].callRejected(C);return b};function m(b){var C=b&&b.then;if(b&&(typeof b=="object"||typeof b=="function")&&typeof C=="function")return function(){C.apply(b,arguments)}}function E(b,C){var A=!1;function k(T){A||(A=!0,a.reject(b,T))}function P(T){A||(A=!0,a.resolve(b,T))}function _(){C(P,k)}var D=B(_);D.status==="error"&&k(D.value)}function B(b,C){var A={};try{A.value=b(C),A.status="success"}catch(k){A.status="error",A.value=k}return A}h.resolve=F;function F(b){return b instanceof this?b:a.resolve(new this(f),b)}h.reject=y;function y(b){var C=new this(f);return a.reject(C,b)}h.all=x;function x(b){var C=this;if(Object.prototype.toString.call(b)!=="[object Array]")return this.reject(new TypeError("must be an array"));var A=b.length,k=!1;if(!A)return this.resolve([]);for(var P=new Array(A),_=0,D=-1,T=new this(f);++D<A;)H(b[D],D);return T;function H($,L){C.resolve($).then(I,function(G){k||(k=!0,a.reject(T,G))});function I(G){P[L]=G,++_===A&&!k&&(k=!0,a.resolve(T,P))}}}h.race=d;function d(b){var C=this;if(Object.prototype.toString.call(b)!=="[object Array]")return this.reject(new TypeError("must be an array"));var A=b.length,k=!1;if(!A)return this.resolve([]);for(var P=-1,_=new this(f);++P<A;)D(b[P]);return _;function D(T){C.resolve(T).then(function(H){k||(k=!0,a.resolve(_,H))},function(H){k||(k=!0,a.reject(_,H))})}}},{1:1}],3:[function(e,n,i){(function(o){typeof o.Promise!="function"&&(o.Promise=e(2))}).call(this,typeof re<"u"?re:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(e,n,i){var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p};function f(p,w){if(!(p instanceof w))throw new TypeError("Cannot call a class as a function")}function a(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}var l=a();function s(){try{if(!l||!l.open)return!1;var p=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),w=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!p||w)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}function c(p,w){p=p||[],w=w||{};try{return new Blob(p,w)}catch(S){if(S.name!=="TypeError")throw S;for(var g=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,R=new g,N=0;N<p.length;N+=1)R.append(p[N]);return R.getBlob(w.type)}}typeof Promise>"u"&&e(3);var h=Promise;function u(p,w){w&&p.then(function(g){w(null,g)},function(g){w(g)})}function v(p,w,g){typeof w=="function"&&p.then(w),typeof g=="function"&&p.catch(g)}function m(p){return typeof p!="string"&&(console.warn(p+" used as a key, but it is not a string."),p=String(p)),p}function E(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var B="local-forage-detect-blob-support",F=void 0,y={},x=Object.prototype.toString,d="readonly",b="readwrite";function C(p){for(var w=p.length,g=new ArrayBuffer(w),R=new Uint8Array(g),N=0;N<w;N++)R[N]=p.charCodeAt(N);return g}function A(p){return new h(function(w){var g=p.transaction(B,b),R=c([""]);g.objectStore(B).put(R,"key"),g.onabort=function(N){N.preventDefault(),N.stopPropagation(),w(!1)},g.oncomplete=function(){var N=navigator.userAgent.match(/Chrome\/(\d+)/),S=navigator.userAgent.match(/Edge\//);w(S||!N||parseInt(N[1],10)>=43)}}).catch(function(){return!1})}function k(p){return typeof F=="boolean"?h.resolve(F):A(p).then(function(w){return F=w,F})}function P(p){var w=y[p.name],g={};g.promise=new h(function(R,N){g.resolve=R,g.reject=N}),w.deferredOperations.push(g),w.dbReady?w.dbReady=w.dbReady.then(function(){return g.promise}):w.dbReady=g.promise}function _(p){var w=y[p.name],g=w.deferredOperations.pop();if(g)return g.resolve(),g.promise}function D(p,w){var g=y[p.name],R=g.deferredOperations.pop();if(R)return R.reject(w),R.promise}function T(p,w){return new h(function(g,R){if(y[p.name]=y[p.name]||M(),p.db)if(w)P(p),p.db.close();else return g(p.db);var N=[p.name];w&&N.push(p.version);var S=l.open.apply(l,N);w&&(S.onupgradeneeded=function(z){var V=S.result;try{V.createObjectStore(p.storeName),z.oldVersion<=1&&V.createObjectStore(B)}catch(K){if(K.name==="ConstraintError")console.warn('The database "'+p.name+'" has been upgraded from version '+z.oldVersion+" to version "+z.newVersion+', but the storage "'+p.storeName+'" already exists.');else throw K}}),S.onerror=function(z){z.preventDefault(),R(S.error)},S.onsuccess=function(){var z=S.result;z.onversionchange=function(V){V.target.close()},g(z),_(p)}})}function H(p){return T(p,!1)}function $(p){return T(p,!0)}function L(p,w){if(!p.db)return!0;var g=!p.db.objectStoreNames.contains(p.storeName),R=p.version<p.db.version,N=p.version>p.db.version;if(R&&(p.version!==w&&console.warn('The database "'+p.name+`" can't be downgraded from version `+p.db.version+" to version "+p.version+"."),p.version=p.db.version),N||g){if(g){var S=p.db.version+1;S>p.version&&(p.version=S)}return!0}return!1}function I(p){return new h(function(w,g){var R=new FileReader;R.onerror=g,R.onloadend=function(N){var S=btoa(N.target.result||"");w({__local_forage_encoded_blob:!0,data:S,type:p.type})},R.readAsBinaryString(p)})}function G(p){var w=C(atob(p.data));return c([w],{type:p.type})}function Y(p){return p&&p.__local_forage_encoded_blob}function Q(p){var w=this,g=w._initReady().then(function(){var R=y[w._dbInfo.name];if(R&&R.dbReady)return R.dbReady});return v(g,p,p),g}function j(p){P(p);for(var w=y[p.name],g=w.forages,R=0;R<g.length;R++){var N=g[R];N._dbInfo.db&&(N._dbInfo.db.close(),N._dbInfo.db=null)}return p.db=null,H(p).then(function(S){return p.db=S,L(p)?$(p):S}).then(function(S){p.db=w.db=S;for(var z=0;z<g.length;z++)g[z]._dbInfo.db=S}).catch(function(S){throw D(p,S),S})}function O(p,w,g,R){R===void 0&&(R=1);try{var N=p.db.transaction(p.storeName,w);g(null,N)}catch(S){if(R>0&&(!p.db||S.name==="InvalidStateError"||S.name==="NotFoundError"))return h.resolve().then(function(){if(!p.db||S.name==="NotFoundError"&&!p.db.objectStoreNames.contains(p.storeName)&&p.version<=p.db.version)return p.db&&(p.version=p.db.version+1),$(p)}).then(function(){return j(p).then(function(){O(p,w,g,R-1)})}).catch(g);g(S)}}function M(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function W(p){var w=this,g={db:null};if(p)for(var R in p)g[R]=p[R];var N=y[g.name];N||(N=M(),y[g.name]=N),N.forages.push(w),w._initReady||(w._initReady=w.ready,w.ready=Q);var S=[];function z(){return h.resolve()}for(var V=0;V<N.forages.length;V++){var K=N.forages[V];K!==w&&S.push(K._initReady().catch(z))}var X=N.forages.slice(0);return h.all(S).then(function(){return g.db=N.db,H(g)}).then(function(Z){return g.db=Z,L(g,w._defaultConfig.version)?$(g):Z}).then(function(Z){g.db=N.db=Z,w._dbInfo=g;for(var J=0;J<X.length;J++){var ae=X[J];ae!==w&&(ae._dbInfo.db=g.db,ae._dbInfo.version=g.version)}})}function q(p,w){var g=this;p=m(p);var R=new h(function(N,S){g.ready().then(function(){O(g._dbInfo,d,function(z,V){if(z)return S(z);try{var K=V.objectStore(g._dbInfo.storeName),X=K.get(p);X.onsuccess=function(){var Z=X.result;Z===void 0&&(Z=null),Y(Z)&&(Z=G(Z)),N(Z)},X.onerror=function(){S(X.error)}}catch(Z){S(Z)}})}).catch(S)});return u(R,w),R}function se(p,w){var g=this,R=new h(function(N,S){g.ready().then(function(){O(g._dbInfo,d,function(z,V){if(z)return S(z);try{var K=V.objectStore(g._dbInfo.storeName),X=K.openCursor(),Z=1;X.onsuccess=function(){var J=X.result;if(J){var ae=J.value;Y(ae)&&(ae=G(ae));var he=p(ae,J.key,Z++);he!==void 0?N(he):J.continue()}else N()},X.onerror=function(){S(X.error)}}catch(J){S(J)}})}).catch(S)});return u(R,w),R}function le(p,w,g){var R=this;p=m(p);var N=new h(function(S,z){var V;R.ready().then(function(){return V=R._dbInfo,x.call(w)==="[object Blob]"?k(V.db).then(function(K){return K?w:I(w)}):w}).then(function(K){O(R._dbInfo,b,function(X,Z){if(X)return z(X);try{var J=Z.objectStore(R._dbInfo.storeName);K===null&&(K=void 0);var ae=J.put(K,p);Z.oncomplete=function(){K===void 0&&(K=null),S(K)},Z.onabort=Z.onerror=function(){var he=ae.error?ae.error:ae.transaction.error;z(he)}}catch(he){z(he)}})}).catch(z)});return u(N,g),N}function pe(p,w){var g=this;p=m(p);var R=new h(function(N,S){g.ready().then(function(){O(g._dbInfo,b,function(z,V){if(z)return S(z);try{var K=V.objectStore(g._dbInfo.storeName),X=K.delete(p);V.oncomplete=function(){N()},V.onerror=function(){S(X.error)},V.onabort=function(){var Z=X.error?X.error:X.transaction.error;S(Z)}}catch(Z){S(Z)}})}).catch(S)});return u(R,w),R}function oe(p){var w=this,g=new h(function(R,N){w.ready().then(function(){O(w._dbInfo,b,function(S,z){if(S)return N(S);try{var V=z.objectStore(w._dbInfo.storeName),K=V.clear();z.oncomplete=function(){R()},z.onabort=z.onerror=function(){var X=K.error?K.error:K.transaction.error;N(X)}}catch(X){N(X)}})}).catch(N)});return u(g,p),g}function Ae(p){var w=this,g=new h(function(R,N){w.ready().then(function(){O(w._dbInfo,d,function(S,z){if(S)return N(S);try{var V=z.objectStore(w._dbInfo.storeName),K=V.count();K.onsuccess=function(){R(K.result)},K.onerror=function(){N(K.error)}}catch(X){N(X)}})}).catch(N)});return u(g,p),g}function ve(p,w){var g=this,R=new h(function(N,S){if(p<0){N(null);return}g.ready().then(function(){O(g._dbInfo,d,function(z,V){if(z)return S(z);try{var K=V.objectStore(g._dbInfo.storeName),X=!1,Z=K.openKeyCursor();Z.onsuccess=function(){var J=Z.result;if(!J){N(null);return}p===0||X?N(J.key):(X=!0,J.advance(p))},Z.onerror=function(){S(Z.error)}}catch(J){S(J)}})}).catch(S)});return u(R,w),R}function Re(p){var w=this,g=new h(function(R,N){w.ready().then(function(){O(w._dbInfo,d,function(S,z){if(S)return N(S);try{var V=z.objectStore(w._dbInfo.storeName),K=V.openKeyCursor(),X=[];K.onsuccess=function(){var Z=K.result;if(!Z){R(X);return}X.push(Z.key),Z.continue()},K.onerror=function(){N(K.error)}}catch(Z){N(Z)}})}).catch(N)});return u(g,p),g}function Ne(p,w){w=E.apply(this,arguments);var g=this.config();p=typeof p!="function"&&p||{},p.name||(p.name=p.name||g.name,p.storeName=p.storeName||g.storeName);var R=this,N;if(!p.name)N=h.reject("Invalid arguments");else{var S=p.name===g.name&&R._dbInfo.db,z=S?h.resolve(R._dbInfo.db):H(p).then(function(V){var K=y[p.name],X=K.forages;K.db=V;for(var Z=0;Z<X.length;Z++)X[Z]._dbInfo.db=V;return V});p.storeName?N=z.then(function(V){if(V.objectStoreNames.contains(p.storeName)){var K=V.version+1;P(p);var X=y[p.name],Z=X.forages;V.close();for(var J=0;J<Z.length;J++){var ae=Z[J];ae._dbInfo.db=null,ae._dbInfo.version=K}var he=new h(function(xe,me){var be=l.open(p.name,K);be.onerror=function(Ie){var kt=be.result;kt.close(),me(Ie)},be.onupgradeneeded=function(){var Ie=be.result;Ie.deleteObjectStore(p.storeName)},be.onsuccess=function(){var Ie=be.result;Ie.close(),xe(Ie)}});return he.then(function(xe){X.db=xe;for(var me=0;me<Z.length;me++){var be=Z[me];be._dbInfo.db=xe,_(be._dbInfo)}}).catch(function(xe){throw(D(p,xe)||h.resolve()).catch(function(){}),xe})}}):N=z.then(function(V){P(p);var K=y[p.name],X=K.forages;V.close();for(var Z=0;Z<X.length;Z++){var J=X[Z];J._dbInfo.db=null}var ae=new h(function(he,xe){var me=l.deleteDatabase(p.name);me.onerror=function(){var be=me.result;be&&be.close(),xe(me.error)},me.onblocked=function(){console.warn('dropInstance blocked for database "'+p.name+'" until all open connections are closed')},me.onsuccess=function(){var be=me.result;be&&be.close(),he(be)}});return ae.then(function(he){K.db=he;for(var xe=0;xe<X.length;xe++){var me=X[xe];_(me._dbInfo)}}).catch(function(he){throw(D(p,he)||h.resolve()).catch(function(){}),he})})}return u(N,w),N}var Be={_driver:"asyncStorage",_initStorage:W,_support:s(),iterate:se,getItem:q,setItem:le,removeItem:pe,clear:oe,length:Ae,key:ve,keys:Re,dropInstance:Ne};function we(){return typeof openDatabase=="function"}var Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",st="~~local_forage_type~",at=/^~~local_forage_type~([^~]+)~/,Ye="__lfsc__:",ft=Ye.length,Xe="arbf",De="blob",Fe="si08",Me="ui08",ct="uic8",Ct="si16",Ge="si32",it="ur16",Gt="ui32",_t="fl32",At="fl64",Ze=ft+Xe.length,ot=Object.prototype.toString;function Zt(p){var w=p.length*.75,g=p.length,R,N=0,S,z,V,K;p[p.length-1]==="="&&(w--,p[p.length-2]==="="&&w--);var X=new ArrayBuffer(w),Z=new Uint8Array(X);for(R=0;R<g;R+=4)S=Te.indexOf(p[R]),z=Te.indexOf(p[R+1]),V=Te.indexOf(p[R+2]),K=Te.indexOf(p[R+3]),Z[N++]=S<<2|z>>4,Z[N++]=(z&15)<<4|V>>2,Z[N++]=(V&3)<<6|K&63;return X}function dt(p){var w=new Uint8Array(p),g="",R;for(R=0;R<w.length;R+=3)g+=Te[w[R]>>2],g+=Te[(w[R]&3)<<4|w[R+1]>>4],g+=Te[(w[R+1]&15)<<2|w[R+2]>>6],g+=Te[w[R+2]&63];return w.length%3===2?g=g.substring(0,g.length-1)+"=":w.length%3===1&&(g=g.substring(0,g.length-2)+"=="),g}function jt(p,w){var g="";if(p&&(g=ot.call(p)),p&&(g==="[object ArrayBuffer]"||p.buffer&&ot.call(p.buffer)==="[object ArrayBuffer]")){var R,N=Ye;p instanceof ArrayBuffer?(R=p,N+=Xe):(R=p.buffer,g==="[object Int8Array]"?N+=Fe:g==="[object Uint8Array]"?N+=Me:g==="[object Uint8ClampedArray]"?N+=ct:g==="[object Int16Array]"?N+=Ct:g==="[object Uint16Array]"?N+=it:g==="[object Int32Array]"?N+=Ge:g==="[object Uint32Array]"?N+=Gt:g==="[object Float32Array]"?N+=_t:g==="[object Float64Array]"?N+=At:w(new Error("Failed to get type for BinaryArray"))),w(N+dt(R))}else if(g==="[object Blob]"){var S=new FileReader;S.onload=function(){var z=st+p.type+"~"+dt(this.result);w(Ye+De+z)},S.readAsArrayBuffer(p)}else try{w(JSON.stringify(p))}catch(z){console.error("Couldn't convert value into a JSON string: ",p),w(null,z)}}function cr(p){if(p.substring(0,ft)!==Ye)return JSON.parse(p);var w=p.substring(Ze),g=p.substring(ft,Ze),R;if(g===De&&at.test(w)){var N=w.match(at);R=N[1],w=w.substring(N[0].length)}var S=Zt(w);switch(g){case Xe:return S;case De:return c([S],{type:R});case Fe:return new Int8Array(S);case Me:return new Uint8Array(S);case ct:return new Uint8ClampedArray(S);case Ct:return new Int16Array(S);case it:return new Uint16Array(S);case Ge:return new Int32Array(S);case Gt:return new Uint32Array(S);case _t:return new Float32Array(S);case At:return new Float64Array(S);default:throw new Error("Unkown type: "+g)}}var wt={serialize:jt,deserialize:cr,stringToBuffer:Zt,bufferToString:dt};function Dt(p,w,g,R){p.executeSql("CREATE TABLE IF NOT EXISTS "+w.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],g,R)}function ur(p){var w=this,g={db:null};if(p)for(var R in p)g[R]=typeof p[R]!="string"?p[R].toString():p[R];var N=new h(function(S,z){try{g.db=openDatabase(g.name,String(g.version),g.description,g.size)}catch(V){return z(V)}g.db.transaction(function(V){Dt(V,g,function(){w._dbInfo=g,S()},function(K,X){z(X)})},z)});return g.serializer=wt,N}function qe(p,w,g,R,N,S){p.executeSql(g,R,N,function(z,V){V.code===V.SYNTAX_ERR?z.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[w.storeName],function(K,X){X.rows.length?S(K,V):Dt(K,w,function(){K.executeSql(g,R,N,S)},S)},S):S(z,V)},S)}function lr(p,w){var g=this;p=m(p);var R=new h(function(N,S){g.ready().then(function(){var z=g._dbInfo;z.db.transaction(function(V){qe(V,z,"SELECT * FROM "+z.storeName+" WHERE key = ? LIMIT 1",[p],function(K,X){var Z=X.rows.length?X.rows.item(0).value:null;Z&&(Z=z.serializer.deserialize(Z)),N(Z)},function(K,X){S(X)})})}).catch(S)});return u(R,w),R}function Qt(p,w){var g=this,R=new h(function(N,S){g.ready().then(function(){var z=g._dbInfo;z.db.transaction(function(V){qe(V,z,"SELECT * FROM "+z.storeName,[],function(K,X){for(var Z=X.rows,J=Z.length,ae=0;ae<J;ae++){var he=Z.item(ae),xe=he.value;if(xe&&(xe=z.serializer.deserialize(xe)),xe=p(xe,he.key,ae+1),xe!==void 0){N(xe);return}}N()},function(K,X){S(X)})})}).catch(S)});return u(R,w),R}function Jt(p,w,g,R){var N=this;p=m(p);var S=new h(function(z,V){N.ready().then(function(){w===void 0&&(w=null);var K=w,X=N._dbInfo;X.serializer.serialize(w,function(Z,J){J?V(J):X.db.transaction(function(ae){qe(ae,X,"INSERT OR REPLACE INTO "+X.storeName+" (key, value) VALUES (?, ?)",[p,Z],function(){z(K)},function(he,xe){V(xe)})},function(ae){if(ae.code===ae.QUOTA_ERR){if(R>0){z(Jt.apply(N,[p,K,g,R-1]));return}V(ae)}})})}).catch(V)});return u(S,g),S}function hr(p,w,g){return Jt.apply(this,[p,w,g,1])}function xr(p,w){var g=this;p=m(p);var R=new h(function(N,S){g.ready().then(function(){var z=g._dbInfo;z.db.transaction(function(V){qe(V,z,"DELETE FROM "+z.storeName+" WHERE key = ?",[p],function(){N()},function(K,X){S(X)})})}).catch(S)});return u(R,w),R}function e0(p){var w=this,g=new h(function(R,N){w.ready().then(function(){var S=w._dbInfo;S.db.transaction(function(z){qe(z,S,"DELETE FROM "+S.storeName,[],function(){R()},function(V,K){N(K)})})}).catch(N)});return u(g,p),g}function dr(p){var w=this,g=new h(function(R,N){w.ready().then(function(){var S=w._dbInfo;S.db.transaction(function(z){qe(z,S,"SELECT COUNT(key) as c FROM "+S.storeName,[],function(V,K){var X=K.rows.item(0).c;R(X)},function(V,K){N(K)})})}).catch(N)});return u(g,p),g}function pr(p,w){var g=this,R=new h(function(N,S){g.ready().then(function(){var z=g._dbInfo;z.db.transaction(function(V){qe(V,z,"SELECT key FROM "+z.storeName+" WHERE id = ? LIMIT 1",[p+1],function(K,X){var Z=X.rows.length?X.rows.item(0).key:null;N(Z)},function(K,X){S(X)})})}).catch(S)});return u(R,w),R}function t0(p){var w=this,g=new h(function(R,N){w.ready().then(function(){var S=w._dbInfo;S.db.transaction(function(z){qe(z,S,"SELECT key FROM "+S.storeName,[],function(V,K){for(var X=[],Z=0;Z<K.rows.length;Z++)X.push(K.rows.item(Z).key);R(X)},function(V,K){N(K)})})}).catch(N)});return u(g,p),g}function vr(p){return new h(function(w,g){p.transaction(function(R){R.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(N,S){for(var z=[],V=0;V<S.rows.length;V++)z.push(S.rows.item(V).name);w({db:p,storeNames:z})},function(N,S){g(S)})},function(R){g(R)})})}function r0(p,w){w=E.apply(this,arguments);var g=this.config();p=typeof p!="function"&&p||{},p.name||(p.name=p.name||g.name,p.storeName=p.storeName||g.storeName);var R=this,N;return p.name?N=new h(function(S){var z;p.name===g.name?z=R._dbInfo.db:z=openDatabase(p.name,"","",0),p.storeName?S({db:z,storeNames:[p.storeName]}):S(vr(z))}).then(function(S){return new h(function(z,V){S.db.transaction(function(K){function X(he){return new h(function(xe,me){K.executeSql("DROP TABLE IF EXISTS "+he,[],function(){xe()},function(be,Ie){me(Ie)})})}for(var Z=[],J=0,ae=S.storeNames.length;J<ae;J++)Z.push(X(S.storeNames[J]));h.all(Z).then(function(){z()}).catch(function(he){V(he)})},function(K){V(K)})})}):N=h.reject("Invalid arguments"),u(N,w),N}var Se={_driver:"webSQLStorage",_initStorage:ur,_support:we(),iterate:Qt,getItem:lr,setItem:hr,removeItem:xr,clear:e0,length:dr,key:pr,keys:t0,dropInstance:r0};function Ve(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function Ft(p,w){var g=p.name+"/";return p.storeName!==w.storeName&&(g+=p.storeName+"/"),g}function br(){var p="_localforage_support_test";try{return localStorage.setItem(p,!0),localStorage.removeItem(p),!1}catch{return!0}}function Xs(){return!br()||localStorage.length>0}function Gs(p){var w=this,g={};if(p)for(var R in p)g[R]=p[R];return g.keyPrefix=Ft(p,w._defaultConfig),Xs()?(w._dbInfo=g,g.serializer=wt,h.resolve()):h.reject()}function Zs(p){var w=this,g=w.ready().then(function(){for(var R=w._dbInfo.keyPrefix,N=localStorage.length-1;N>=0;N--){var S=localStorage.key(N);S.indexOf(R)===0&&localStorage.removeItem(S)}});return u(g,p),g}function js(p,w){var g=this;p=m(p);var R=g.ready().then(function(){var N=g._dbInfo,S=localStorage.getItem(N.keyPrefix+p);return S&&(S=N.serializer.deserialize(S)),S});return u(R,w),R}function Qs(p,w){var g=this,R=g.ready().then(function(){for(var N=g._dbInfo,S=N.keyPrefix,z=S.length,V=localStorage.length,K=1,X=0;X<V;X++){var Z=localStorage.key(X);if(Z.indexOf(S)===0){var J=localStorage.getItem(Z);if(J&&(J=N.serializer.deserialize(J)),J=p(J,Z.substring(z),K++),J!==void 0)return J}}});return u(R,w),R}function Js(p,w){var g=this,R=g.ready().then(function(){var N=g._dbInfo,S;try{S=localStorage.key(p)}catch{S=null}return S&&(S=S.substring(N.keyPrefix.length)),S});return u(R,w),R}function ea(p){var w=this,g=w.ready().then(function(){for(var R=w._dbInfo,N=localStorage.length,S=[],z=0;z<N;z++){var V=localStorage.key(z);V.indexOf(R.keyPrefix)===0&&S.push(V.substring(R.keyPrefix.length))}return S});return u(g,p),g}function ta(p){var w=this,g=w.keys().then(function(R){return R.length});return u(g,p),g}function ra(p,w){var g=this;p=m(p);var R=g.ready().then(function(){var N=g._dbInfo;localStorage.removeItem(N.keyPrefix+p)});return u(R,w),R}function na(p,w,g){var R=this;p=m(p);var N=R.ready().then(function(){w===void 0&&(w=null);var S=w;return new h(function(z,V){var K=R._dbInfo;K.serializer.serialize(w,function(X,Z){if(Z)V(Z);else try{localStorage.setItem(K.keyPrefix+p,X),z(S)}catch(J){(J.name==="QuotaExceededError"||J.name==="NS_ERROR_DOM_QUOTA_REACHED")&&V(J),V(J)}})})});return u(N,g),N}function ia(p,w){if(w=E.apply(this,arguments),p=typeof p!="function"&&p||{},!p.name){var g=this.config();p.name=p.name||g.name,p.storeName=p.storeName||g.storeName}var R=this,N;return p.name?N=new h(function(S){p.storeName?S(Ft(p,R._defaultConfig)):S(p.name+"/")}).then(function(S){for(var z=localStorage.length-1;z>=0;z--){var V=localStorage.key(z);V.indexOf(S)===0&&localStorage.removeItem(V)}}):N=h.reject("Invalid arguments"),u(N,w),N}var oa={_driver:"localStorageWrapper",_initStorage:Gs,_support:Ve(),iterate:Qs,getItem:js,setItem:na,removeItem:ra,clear:Zs,length:ta,key:Js,keys:ea,dropInstance:ia},sa=function(w,g){return w===g||typeof w=="number"&&typeof g=="number"&&isNaN(w)&&isNaN(g)},aa=function(w,g){for(var R=w.length,N=0;N<R;){if(sa(w[N],g))return!0;N++}return!1},ti=Array.isArray||function(p){return Object.prototype.toString.call(p)==="[object Array]"},St={},ri={},pt={INDEXEDDB:Be,WEBSQL:Se,LOCALSTORAGE:oa},fa=[pt.INDEXEDDB._driver,pt.WEBSQL._driver,pt.LOCALSTORAGE._driver],n0=["dropInstance"],gr=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(n0),ca={description:"",driver:fa.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function ua(p,w){p[w]=function(){var g=arguments;return p.ready().then(function(){return p[w].apply(p,g)})}}function mr(){for(var p=1;p<arguments.length;p++){var w=arguments[p];if(w)for(var g in w)w.hasOwnProperty(g)&&(ti(w[g])?arguments[0][g]=w[g].slice():arguments[0][g]=w[g])}return arguments[0]}var la=function(){function p(w){f(this,p);for(var g in pt)if(pt.hasOwnProperty(g)){var R=pt[g],N=R._driver;this[g]=N,St[N]||this.defineDriver(R)}this._defaultConfig=mr({},ca),this._config=mr({},this._defaultConfig,w),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return p.prototype.config=function(g){if((typeof g>"u"?"undefined":o(g))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var R in g){if(R==="storeName"&&(g[R]=g[R].replace(/\W/g,"_")),R==="version"&&typeof g[R]!="number")return new Error("Database version must be a number.");this._config[R]=g[R]}return"driver"in g&&g.driver?this.setDriver(this._config.driver):!0}else return typeof g=="string"?this._config[g]:this._config},p.prototype.defineDriver=function(g,R,N){var S=new h(function(z,V){try{var K=g._driver,X=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!g._driver){V(X);return}for(var Z=gr.concat("_initStorage"),J=0,ae=Z.length;J<ae;J++){var he=Z[J],xe=!aa(n0,he);if((xe||g[he])&&typeof g[he]!="function"){V(X);return}}var me=function(){for(var kt=function(da){return function(){var pa=new Error("Method "+da+" is not implemented by the current driver"),ni=h.reject(pa);return u(ni,arguments[arguments.length-1]),ni}},yr=0,xa=n0.length;yr<xa;yr++){var Er=n0[yr];g[Er]||(g[Er]=kt(Er))}};me();var be=function(kt){St[K]&&console.info("Redefining LocalForage driver: "+K),St[K]=g,ri[K]=kt,z()};"_support"in g?g._support&&typeof g._support=="function"?g._support().then(be,V):be(!!g._support):be(!0)}catch(Ie){V(Ie)}});return v(S,R,N),S},p.prototype.driver=function(){return this._driver||null},p.prototype.getDriver=function(g,R,N){var S=St[g]?h.resolve(St[g]):h.reject(new Error("Driver not found."));return v(S,R,N),S},p.prototype.getSerializer=function(g){var R=h.resolve(wt);return v(R,g),R},p.prototype.ready=function(g){var R=this,N=R._driverSet.then(function(){return R._ready===null&&(R._ready=R._initDriver()),R._ready});return v(N,g,g),N},p.prototype.setDriver=function(g,R,N){var S=this;ti(g)||(g=[g]);var z=this._getSupportedDrivers(g);function V(){S._config.driver=S.driver()}function K(J){return S._extend(J),V(),S._ready=S._initStorage(S._config),S._ready}function X(J){return function(){var ae=0;function he(){for(;ae<J.length;){var xe=J[ae];return ae++,S._dbInfo=null,S._ready=null,S.getDriver(xe).then(K).catch(he)}V();var me=new Error("No available storage method found.");return S._driverSet=h.reject(me),S._driverSet}return he()}}var Z=this._driverSet!==null?this._driverSet.catch(function(){return h.resolve()}):h.resolve();return this._driverSet=Z.then(function(){var J=z[0];return S._dbInfo=null,S._ready=null,S.getDriver(J).then(function(ae){S._driver=ae._driver,V(),S._wrapLibraryMethodsWithReady(),S._initDriver=X(z)})}).catch(function(){V();var J=new Error("No available storage method found.");return S._driverSet=h.reject(J),S._driverSet}),v(this._driverSet,R,N),this._driverSet},p.prototype.supports=function(g){return!!ri[g]},p.prototype._extend=function(g){mr(this,g)},p.prototype._getSupportedDrivers=function(g){for(var R=[],N=0,S=g.length;N<S;N++){var z=g[N];this.supports(z)&&R.push(z)}return R},p.prototype._wrapLibraryMethodsWithReady=function(){for(var g=0,R=gr.length;g<R;g++)ua(this,gr[g])},p.prototype.createInstance=function(g){return new p(g)},p}(),ha=new la;n.exports=ha},{3:3}]},{},[4])(4)})})(so);const $e=Object.create(null);$e.open="0",$e.close="1",$e.ping="2",$e.pong="3",$e.message="4",$e.upgrade="5",$e.noop="6";const It=Object.create(null);Object.keys($e).forEach(r=>{It[$e[r]]=r});const $0={type:"error",data:"parser error"},pn=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",vn=typeof ArrayBuffer=="function",bn=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,W0=({type:r,data:t},e,n)=>pn&&t instanceof Blob?e?n(t):gn(t,n):vn&&(t instanceof ArrayBuffer||bn(t))?e?n(t):gn(new Blob([t]),n):n($e[r]+(t||"")),gn=(r,t)=>{const e=new FileReader;return e.onload=function(){const n=e.result.split(",")[1];t("b"+(n||""))},e.readAsDataURL(r)};function mn(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}let U0;function ao(r,t){if(pn&&r.data instanceof Blob)return r.data.arrayBuffer().then(mn).then(t);if(vn&&(r.data instanceof ArrayBuffer||bn(r.data)))return t(mn(r.data));W0(r,!1,e=>{U0||(U0=new TextEncoder),t(U0.encode(e))})}const yn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r<yn.length;r++)mt[yn.charCodeAt(r)]=r;const fo=r=>{let t=r.length*.75,e=r.length,n,i=0,o,f,a,l;r[r.length-1]==="="&&(t--,r[r.length-2]==="="&&t--);const s=new ArrayBuffer(t),c=new Uint8Array(s);for(n=0;n<e;n+=4)o=mt[r.charCodeAt(n)],f=mt[r.charCodeAt(n+1)],a=mt[r.charCodeAt(n+2)],l=mt[r.charCodeAt(n+3)],c[i++]=o<<2|f>>4,c[i++]=(f&15)<<4|a>>2,c[i++]=(a&3)<<6|l&63;return s},co=typeof ArrayBuffer=="function",Y0=(r,t)=>{if(typeof r!="string")return{type:"message",data:En(r,t)};const e=r.charAt(0);return e==="b"?{type:"message",data:uo(r.substring(1),t)}:It[e]?r.length>1?{type:It[e],data:r.substring(1)}:{type:It[e]}:$0},uo=(r,t)=>{if(co){const e=fo(r);return En(e,t)}else return{base64:!0,data:r}},En=(r,t)=>{switch(t){case"blob":return r instanceof Blob?r:new Blob([r]);case"arraybuffer":default:return r instanceof ArrayBuffer?r:r.buffer}},Bn=String.fromCharCode(30),lo=(r,t)=>{const e=r.length,n=new Array(e);let i=0;r.forEach((o,f)=>{W0(o,!1,a=>{n[f]=a,++i===e&&t(n.join(Bn))})})},ho=(r,t)=>{const e=r.split(Bn),n=[];for(let i=0;i<e.length;i++){const o=Y0(e[i],t);if(n.push(o),o.type==="error")break}return n};function xo(){return new TransformStream({transform(r,t){ao(r,e=>{const n=e.length;let i;if(n<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,n);else if(n<65536){i=new Uint8Array(3);const o=new DataView(i.buffer);o.setUint8(0,126),o.setUint16(1,n)}else{i=new Uint8Array(9);const o=new DataView(i.buffer);o.setUint8(0,127),o.setBigUint64(1,BigInt(n))}r.data&&typeof r.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(e)})}})}let V0;function Lt(r){return r.reduce((t,e)=>t+e.length,0)}function Pt(r,t){if(r[0].length===t)return r.shift();const e=new Uint8Array(t);let n=0;for(let i=0;i<t;i++)e[i]=r[0][n++],n===r[0].length&&(r.shift(),n=0);return r.length&&n<r[0].length&&(r[0]=r[0].slice(n)),e}function po(r,t){V0||(V0=new TextDecoder);const e=[];let n=0,i=-1,o=!1;return new TransformStream({transform(f,a){for(e.push(f);;){if(n===0){if(Lt(e)<1)break;const l=Pt(e,1);o=(l[0]&128)===128,i=l[0]&127,i<126?n=3:i===126?n=1:n=2}else if(n===1){if(Lt(e)<2)break;const l=Pt(e,2);i=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),n=3}else if(n===2){if(Lt(e)<8)break;const l=Pt(e,8),s=new DataView(l.buffer,l.byteOffset,l.length),c=s.getUint32(0);if(c>Math.pow(2,53-32)-1){a.enqueue($0);break}i=c*Math.pow(2,32)+s.getUint32(4),n=3}else{if(Lt(e)<i)break;const l=Pt(e,i);a.enqueue(Y0(o?l:V0.decode(l),t)),n=0}if(i===0||i>r){a.enqueue($0);break}}}})}const Cn=4;function ge(r){if(r)return vo(r)}function vo(r){for(var t in ge.prototype)r[t]=ge.prototype[t];return r}ge.prototype.on=ge.prototype.addEventListener=function(r,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(t),this},ge.prototype.once=function(r,t){function e(){this.off(r,e),t.apply(this,arguments)}return e.fn=t,this.on(r,e),this},ge.prototype.off=ge.prototype.removeListener=ge.prototype.removeAllListeners=ge.prototype.removeEventListener=function(r,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var e=this._callbacks["$"+r];if(!e)return this;if(arguments.length==1)return delete this._callbacks["$"+r],this;for(var n,i=0;i<e.length;i++)if(n=e[i],n===t||n.fn===t){e.splice(i,1);break}return e.length===0&&delete this._callbacks["$"+r],this},ge.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),e=this._callbacks["$"+r],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(e){e=e.slice(0);for(var n=0,i=e.length;n<i;++n)e[n].apply(this,t)}return this},ge.prototype.emitReserved=ge.prototype.emit,ge.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]},ge.prototype.hasListeners=function(r){return!!this.listeners(r).length};const Oe=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function _n(r,...t){return t.reduce((e,n)=>(r.hasOwnProperty(n)&&(e[n]=r[n]),e),{})}const bo=Oe.setTimeout,go=Oe.clearTimeout;function Ht(r,t){t.useNativeTimers?(r.setTimeoutFn=bo.bind(Oe),r.clearTimeoutFn=go.bind(Oe)):(r.setTimeoutFn=Oe.setTimeout.bind(Oe),r.clearTimeoutFn=Oe.clearTimeout.bind(Oe))}const mo=1.33;function yo(r){return typeof r=="string"?Eo(r):Math.ceil((r.byteLength||r.size)*mo)}function Eo(r){let t=0,e=0;for(let n=0,i=r.length;n<i;n++)t=r.charCodeAt(n),t<128?e+=1:t<2048?e+=2:t<55296||t>=57344?e+=3:(n++,e+=4);return e}function Bo(r){let t="";for(let e in r)r.hasOwnProperty(e)&&(t.length&&(t+="&"),t+=encodeURIComponent(e)+"="+encodeURIComponent(r[e]));return t}function Co(r){let t={},e=r.split("&");for(let n=0,i=e.length;n<i;n++){let o=e[n].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}class _o extends Error{constructor(t,e,n){super(t),this.description=e,this.context=n,this.type="TransportError"}}class K0 extends ge{constructor(t){super(),this.writable=!1,Ht(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,e,n){return super.emitReserved("error",new _o(t,e,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const e=Y0(t,this.socket.binaryType);this.onPacket(e)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,e={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(e)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const e=Bo(t);return e.length?"?"+e:""}}const An="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),X0=64,Ao={};let wn=0,Mt=0,Dn;function Fn(r){let t="";do t=An[r%X0]+t,r=Math.floor(r/X0);while(r>0);return t}function Sn(){const r=Fn(+new Date);return r!==Dn?(wn=0,Dn=r):r+"."+Fn(wn++)}for(;Mt<X0;Mt++)Ao[An[Mt]]=Mt;let kn=!1;try{kn=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const wo=kn;function Rn(r){const t=r.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||wo))return new XMLHttpRequest}catch{}if(!t)try{return new Oe[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function ga(){}function Do(){}const Fo=function(){return new Rn({xdomain:!1}).responseType!=null}();class So extends K0{constructor(t){if(super(t),this.polling=!1,typeof location<"u"){const n=location.protocol==="https:";let i=location.port;i||(i=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||i!==t.port}const e=t&&t.forceBase64;this.supportsBinary=Fo&&!e,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(t){this.readyState="pausing";const e=()=>{this.readyState="paused",t()};if(this.polling||!this.writable){let n=0;this.polling&&(n++,this.once("pollComplete",function(){--n||e()})),this.writable||(n++,this.once("drain",function(){--n||e()}))}else e()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const e=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(n)};ho(t,this.socket.binaryType).forEach(e),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,lo(t,e=>{this.doWrite(e,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",e=this.query||{};return this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=Sn()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.createUri(t,e)}request(t={}){return Object.assign(t,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new We(this.uri(),t)}doWrite(t,e){const n=this.request({method:"POST",data:t});n.on("success",e),n.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(e,n)=>{this.onError("xhr poll error",e,n)}),this.pollXhr=t}}class We extends ge{constructor(t,e){super(),Ht(this,e),this.opts=e,this.method=e.method||"GET",this.uri=t,this.data=e.data!==void 0?e.data:null,this.create()}create(){var t;const e=_n(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd;const n=this.xhr=new Rn(e);try{n.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let i in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&n.setRequestHeader(i,this.opts.extraHeaders[i])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}(t=this.opts.cookieJar)===null||t===void 0||t.addCookies(n),"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{var i;n.readyState===3&&((i=this.opts.cookieJar)===null||i===void 0||i.parseCookies(n)),n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(i){this.setTimeoutFn(()=>{this.onError(i)},0);return}typeof document<"u"&&(this.index=We.requestsCount++,We.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=Do,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete We.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(We.requestsCount=0,We.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Nn);else if(typeof addEventListener=="function"){const r="onpagehide"in Oe?"pagehide":"unload";addEventListener(r,Nn,!1)}}function Nn(){for(let r in We.requests)We.requests.hasOwnProperty(r)&&We.requests[r].abort()}const G0=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,e)=>e(t,0))(),qt=Oe.WebSocket||Oe.MozWebSocket,Tn=!0,ko="arraybuffer",On=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Ro extends K0{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),e=this.opts.protocols,n=On?{}:_n(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=Tn&&!On?e?new qt(t,e):new qt(t):new qt(t,e,n)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let e=0;e<t.length;e++){const n=t[e],i=e===t.length-1;W0(n,this.supportsBinary,o=>{const f={};try{Tn&&this.ws.send(o)}catch{}i&&G0(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",e=this.query||{};return this.opts.timestampRequests&&(e[this.opts.timestampParam]=Sn()),this.supportsBinary||(e.b64=1),this.createUri(t,e)}check(){return!!qt}}class No extends K0{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(t=>{const e=po(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=t.readable.pipeThrough(e).getReader(),i=xo();i.readable.pipeTo(t.writable),this.writer=i.writable.getWriter();const o=()=>{n.read().then(({done:a,value:l})=>{a||(this.onPacket(l),o())}).catch(a=>{})};o();const f={type:"open"};this.query.sid&&(f.data=`{"sid":"${this.query.sid}"}`),this.writer.write(f).then(()=>this.onOpen())})}))}write(t){this.writable=!1;for(let e=0;e<t.length;e++){const n=t[e],i=e===t.length-1;this.writer.write(n).then(()=>{i&&G0(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this.transport)===null||t===void 0||t.close()}}const To={websocket:Ro,webtransport:No,polling:So},Oo=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Io=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Z0(r){if(r.length>2e3)throw"URI too long";const t=r,e=r.indexOf("["),n=r.indexOf("]");e!=-1&&n!=-1&&(r=r.substring(0,e)+r.substring(e,n).replace(/:/g,";")+r.substring(n,r.length));let i=Oo.exec(r||""),o={},f=14;for(;f--;)o[Io[f]]=i[f]||"";return e!=-1&&n!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=Lo(o,o.path),o.queryKey=Po(o,o.query),o}function Lo(r,t){const e=/\/{2,9}/g,n=t.replace(e,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&n.splice(0,1),t.slice(-1)=="/"&&n.splice(n.length-1,1),n}function Po(r,t){const e={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,i,o){i&&(e[i]=o)}),e}let In=class vt extends ge{constructor(t,e={}){super(),this.binaryType=ko,this.writeBuffer=[],t&&typeof t=="object"&&(e=t,t=null),t?(t=Z0(t),e.hostname=t.host,e.secure=t.protocol==="https"||t.protocol==="wss",e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=Z0(e.host).host),Ht(this,e),this.secure=e.secure!=null?e.secure:typeof location<"u"&&location.protocol==="https:",e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.hostname=e.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=e.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=e.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},e),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Co(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const e=Object.assign({},this.opts.query);e.EIO=Cn,e.transport=t,this.id&&(e.sid=this.id);const n=Object.assign({},this.opts,{query:e,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new To[t](n)}open(){let t;if(this.opts.rememberUpgrade&&vt.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",e=>this.onClose("transport close",e))}probe(t){let e=this.createTransport(t),n=!1;vt.priorWebsocketSuccess=!1;const i=()=>{n||(e.send([{type:"ping",data:"probe"}]),e.once("packet",h=>{if(!n)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",e),!e)return;vt.priorWebsocketSuccess=e.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(c(),this.setTransport(e),e.send([{type:"upgrade"}]),this.emitReserved("upgrade",e),e=null,this.upgrading=!1,this.flush())})}else{const u=new Error("probe error");u.transport=e.name,this.emitReserved("upgradeError",u)}}))};function o(){n||(n=!0,c(),e.close(),e=null)}const f=h=>{const u=new Error("probe error: "+h);u.transport=e.name,o(),this.emitReserved("upgradeError",u)};function a(){f("transport closed")}function l(){f("socket closed")}function s(h){e&&h.name!==e.name&&o()}const c=()=>{e.removeListener("open",i),e.removeListener("error",f),e.removeListener("close",a),this.off("close",l),this.off("upgrading",s)};e.once("open",i),e.once("error",f),e.once("close",a),this.once("close",l),this.once("upgrading",s),this.upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{n||e.open()},200):e.open()}onOpen(){if(this.readyState="open",vt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const e=this.upgrades.length;for(;t<e;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),this.resetPingTimeout(),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const e=new Error("server error");e.code=t.data,this.onError(e);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let n=0;n<this.writeBuffer.length;n++){const i=this.writeBuffer[n].data;if(i&&(e+=yo(i)),n>0&&e>this.maxPayload)return this.writeBuffer.slice(0,n);e+=2}return this.writeBuffer}write(t,e,n){return this.sendPacket("message",t,e,n),this}send(t,e,n){return this.sendPacket("message",t,e,n),this}sendPacket(t,e,n,i){if(typeof e=="function"&&(i=e,e=void 0),typeof n=="function"&&(i=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const o={type:t,data:e,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},e=()=>{this.off("upgrade",e),this.off("upgradeError",e),t()},n=()=>{this.once("upgrade",e),this.once("upgradeError",e)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():t()}):this.upgrading?n():t()),this}onError(t){vt.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,e){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,e),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const e=[];let n=0;const i=t.length;for(;n<i;n++)~this.transports.indexOf(t[n])&&e.push(t[n]);return e}};In.protocol=Cn;function Ho(r,t="",e){let n=r;e=e||typeof location<"u"&&location,r==null&&(r=e.protocol+"//"+e.host),typeof r=="string"&&(r.charAt(0)==="/"&&(r.charAt(1)==="/"?r=e.protocol+r:r=e.host+r),/^(https?|wss?):\/\//.test(r)||(typeof e<"u"?r=e.protocol+"//"+r:r="https://"+r),n=Z0(r)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const o=n.host.indexOf(":")!==-1?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+o+":"+n.port+t,n.href=n.protocol+"://"+o+(e&&e.port===n.port?"":":"+n.port),n}const Mo=typeof ArrayBuffer=="function",qo=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,Ln=Object.prototype.toString,zo=typeof Blob=="function"||typeof Blob<"u"&&Ln.call(Blob)==="[object BlobConstructor]",$o=typeof File=="function"||typeof File<"u"&&Ln.call(File)==="[object FileConstructor]";function j0(r){return Mo&&(r instanceof ArrayBuffer||qo(r))||zo&&r instanceof Blob||$o&&r instanceof File}function zt(r,t){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let e=0,n=r.length;e<n;e++)if(zt(r[e]))return!0;return!1}if(j0(r))return!0;if(r.toJSON&&typeof r.toJSON=="function"&&arguments.length===1)return zt(r.toJSON(),!0);for(const e in r)if(Object.prototype.hasOwnProperty.call(r,e)&&zt(r[e]))return!0;return!1}function Wo(r){const t=[],e=r.data,n=r;return n.data=Q0(e,t),n.attachments=t.length,{packet:n,buffers:t}}function Q0(r,t){if(!r)return r;if(j0(r)){const e={_placeholder:!0,num:t.length};return t.push(r),e}else if(Array.isArray(r)){const e=new Array(r.length);for(let n=0;n<r.length;n++)e[n]=Q0(r[n],t);return e}else if(typeof r=="object"&&!(r instanceof Date)){const e={};for(const n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=Q0(r[n],t));return e}return r}function Uo(r,t){return r.data=J0(r.data,t),delete r.attachments,r}function J0(r,t){if(!r)return r;if(r&&r._placeholder===!0){if(typeof r.num=="number"&&r.num>=0&&r.num<t.length)return t[r.num];throw new Error("illegal attachments")}else if(Array.isArray(r))for(let e=0;e<r.length;e++)r[e]=J0(r[e],t);else if(typeof r=="object")for(const e in r)Object.prototype.hasOwnProperty.call(r,e)&&(r[e]=J0(r[e],t));return r}const Yo=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Vo=5;var ue;(function(r){r[r.CONNECT=0]="CONNECT",r[r.DISCONNECT=1]="DISCONNECT",r[r.EVENT=2]="EVENT",r[r.ACK=3]="ACK",r[r.CONNECT_ERROR=4]="CONNECT_ERROR",r[r.BINARY_EVENT=5]="BINARY_EVENT",r[r.BINARY_ACK=6]="BINARY_ACK"})(ue||(ue={}));class Ko{constructor(t){this.replacer=t}encode(t){return(t.type===ue.EVENT||t.type===ue.ACK)&&zt(t)?this.encodeAsBinary({type:t.type===ue.EVENT?ue.BINARY_EVENT:ue.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let e=""+t.type;return(t.type===ue.BINARY_EVENT||t.type===ue.BINARY_ACK)&&(e+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(e+=t.nsp+","),t.id!=null&&(e+=t.id),t.data!=null&&(e+=JSON.stringify(t.data,this.replacer)),e}encodeAsBinary(t){const e=Wo(t),n=this.encodeAsString(e.packet),i=e.buffers;return i.unshift(n),i}}function Pn(r){return Object.prototype.toString.call(r)==="[object Object]"}class er extends ge{constructor(t){super(),this.reviver=t}add(t){let e;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");e=this.decodeString(t);const n=e.type===ue.BINARY_EVENT;n||e.type===ue.BINARY_ACK?(e.type=n?ue.EVENT:ue.ACK,this.reconstructor=new Xo(e),e.attachments===0&&super.emitReserved("decoded",e)):super.emitReserved("decoded",e)}else if(j0(t)||t.base64)if(this.reconstructor)e=this.reconstructor.takeBinaryData(t),e&&(this.reconstructor=null,super.emitReserved("decoded",e));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let e=0;const n={type:Number(t.charAt(0))};if(ue[n.type]===void 0)throw new Error("unknown packet type "+n.type);if(n.type===ue.BINARY_EVENT||n.type===ue.BINARY_ACK){const o=e+1;for(;t.charAt(++e)!=="-"&&e!=t.length;);const f=t.substring(o,e);if(f!=Number(f)||t.charAt(e)!=="-")throw new Error("Illegal attachments");n.attachments=Number(f)}if(t.charAt(e+1)==="/"){const o=e+1;for(;++e&&!(t.charAt(e)===","||e===t.length););n.nsp=t.substring(o,e)}else n.nsp="/";const i=t.charAt(e+1);if(i!==""&&Number(i)==i){const o=e+1;for(;++e;){const f=t.charAt(e);if(f==null||Number(f)!=f){--e;break}if(e===t.length)break}n.id=Number(t.substring(o,e+1))}if(t.charAt(++e)){const o=this.tryParse(t.substr(e));if(er.isPayloadValid(n.type,o))n.data=o;else throw new Error("invalid payload")}return n}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,e){switch(t){case ue.CONNECT:return Pn(e);case ue.DISCONNECT:return e===void 0;case ue.CONNECT_ERROR:return typeof e=="string"||Pn(e);case ue.EVENT:case ue.BINARY_EVENT:return Array.isArray(e)&&(typeof e[0]=="number"||typeof e[0]=="string"&&Yo.indexOf(e[0])===-1);case ue.ACK:case ue.BINARY_ACK:return Array.isArray(e)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Xo{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const e=Uo(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Go=Object.freeze(Object.defineProperty({__proto__:null,Decoder:er,Encoder:Ko,get PacketType(){return ue},protocol:Vo},Symbol.toStringTag,{value:"Module"}));function Le(r,t,e){return r.on(t,e),function(){r.off(t,e)}}const Zo=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Hn extends ge{constructor(t,e,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=e,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Le(t,"open",this.onopen.bind(this)),Le(t,"packet",this.onpacket.bind(this)),Le(t,"error",this.onerror.bind(this)),Le(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...e){if(Zo.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(e.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(e),this;const n={type:ue.EVENT,data:e};if(n.options={},n.options.compress=this.flags.compress!==!1,typeof e[e.length-1]=="function"){const f=this.ids++,a=e.pop();this._registerAckCallback(f,a),n.id=f}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(n),this.packet(n)):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(t,e){var n;const i=(n=this.flags.timeout)!==null&&n!==void 0?n:this._opts.ackTimeout;if(i===void 0){this.acks[t]=e;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let f=0;f<this.sendBuffer.length;f++)this.sendBuffer[f].id===t&&this.sendBuffer.splice(f,1);e.call(this,new Error("operation has timed out"))},i);this.acks[t]=(...f)=>{this.io.clearTimeoutFn(o),e.apply(this,[null,...f])}}emitWithAck(t,...e){const n=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((i,o)=>{e.push((f,a)=>n?f?o(f):i(a):i(f)),this.emit(t,...e)})}_addToQueue(t){let e;typeof t[t.length-1]=="function"&&(e=t.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...o)=>n!==this._queue[0]?void 0:(i!==null?n.tryCount>this._opts.retries&&(this._queue.shift(),e&&e(i)):(this._queue.shift(),e&&e(null,...o)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const e=this._queue[0];e.pending&&!t||(e.pending=!0,e.tryCount++,this.flags=e.flags,this.emit.apply(this,e.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:ue.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,e){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,e)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case ue.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case ue.EVENT:case ue.BINARY_EVENT:this.onevent(t);break;case ue.ACK:case ue.BINARY_ACK:this.onack(t);break;case ue.DISCONNECT:this.ondisconnect();break;case ue.CONNECT_ERROR:this.destroy();const n=new Error(t.data.message);n.data=t.data.data,this.emitReserved("connect_error",n);break}}onevent(t){const e=t.data||[];t.id!=null&&e.push(this.ack(t.id)),this.connected?this.emitEvent(e):this.receiveBuffer.push(Object.freeze(e))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const e=this._anyListeners.slice();for(const n of e)n.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const e=this;let n=!1;return function(...i){n||(n=!0,e.packet({type:ue.ACK,id:t,data:i}))}}onack(t){const e=this.acks[t.id];typeof e=="function"&&(e.apply(this,t.data),delete this.acks[t.id])}onconnect(t,e){this.id=t,this.recovered=e&&this._pid===e,this._pid=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:ue.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const e=this._anyListeners;for(let n=0;n<e.length;n++)if(t===e[n])return e.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const e=this._anyOutgoingListeners;for(let n=0;n<e.length;n++)if(t===e[n])return e.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const e=this._anyOutgoingListeners.slice();for(const n of e)n.apply(this,t.data)}}}function lt(r){r=r||{},this.ms=r.min||100,this.max=r.max||1e4,this.factor=r.factor||2,this.jitter=r.jitter>0&&r.jitter<=1?r.jitter:0,this.attempts=0}lt.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),e=Math.floor(t*this.jitter*r);r=Math.floor(t*10)&1?r+e:r-e}return Math.min(r,this.max)|0},lt.prototype.reset=function(){this.attempts=0},lt.prototype.setMin=function(r){this.ms=r},lt.prototype.setMax=function(r){this.max=r},lt.prototype.setJitter=function(r){this.jitter=r};class tr extends ge{constructor(t,e){var n;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(e=t,t=void 0),e=e||{},e.path=e.path||"/socket.io",this.opts=e,Ht(this,e),this.reconnection(e.reconnection!==!1),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor((n=e.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new lt({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(e.timeout==null?2e4:e.timeout),this._readyState="closed",this.uri=t;const i=e.parser||Go;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=e.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var e;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(e=this.backoff)===null||e===void 0||e.setMin(t),this)}randomizationFactor(t){var e;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(e=this.backoff)===null||e===void 0||e.setJitter(t),this)}reconnectionDelayMax(t){var e;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(e=this.backoff)===null||e===void 0||e.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new In(this.uri,this.opts);const e=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const i=Le(e,"open",function(){n.onopen(),t&&t()}),o=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),t?t(a):this.maybeReconnectOnOpen()},f=Le(e,"error",o);if(this._timeout!==!1){const a=this._timeout,l=this.setTimeoutFn(()=>{i(),o(new Error("timeout")),e.close()},a);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(i),this.subs.push(f),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Le(t,"ping",this.onping.bind(this)),Le(t,"data",this.ondata.bind(this)),Le(t,"error",this.onerror.bind(this)),Le(t,"close",this.onclose.bind(this)),Le(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(e){this.onclose("parse error",e)}}ondecoded(t){G0(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,e){let n=this.nsps[t];return n?this._autoConnect&&!n.active&&n.connect():(n=new Hn(this,t,e),this.nsps[t]=n),n}_destroy(t){const e=Object.keys(this.nsps);for(const n of e)if(this.nsps[n].active)return;this._close()}_packet(t){const e=this.encoder.encode(t);for(let n=0;n<e.length;n++)this.engine.write(e[n],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,e){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,e),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const e=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},e);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const yt={};function rr(r,t){typeof r=="object"&&(t=r,r=void 0),t=t||{};const e=Ho(r,t.path||"/socket.io"),n=e.source,i=e.id,o=e.path,f=yt[i]&&o in yt[i].nsps,a=t.forceNew||t["force new connection"]||t.multiplex===!1||f;let l;return a?l=new tr(n,t):(yt[i]||(yt[i]=new tr(n,t)),l=yt[i]),e.query&&!t.query&&(t.query=e.queryKey),l.socket(e.path,t)}Object.assign(rr,{Manager:tr,Socket:Hn,io:rr,connect:rr});/*!
20
+ * decimal.js v10.4.3
21
+ * An arbitrary-precision Decimal type for JavaScript.
22
+ * https://github.com/MikeMcl/decimal.js
23
+ * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
24
+ * MIT Licence
25
+ */var ht=9e15,et=1e9,nr="0123456789abcdef",$t="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Wt="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",ir={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-ht,maxE:ht,crypto:!1},Mn,Ke,ie=!0,Ut="[DecimalError] ",tt=Ut+"Invalid argument: ",qn=Ut+"Precision limit exceeded",zn=Ut+"crypto unavailable",$n="[object Decimal]",_e=Math.floor,Ee=Math.pow,jo=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,Qo=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,Jo=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Wn=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Pe=1e7,te=7,es=9007199254740991,ts=$t.length-1,or=Wt.length-1,U={toStringTag:$n};U.absoluteValue=U.abs=function(){var r=new this.constructor(this);return r.s<0&&(r.s=1),ee(r)},U.ceil=function(){return ee(new this.constructor(this),this.e+1,2)},U.clampedTo=U.clamp=function(r,t){var e,n=this,i=n.constructor;if(r=new i(r),t=new i(t),!r.s||!t.s)return new i(NaN);if(r.gt(t))throw Error(tt+t);return e=n.cmp(r),e<0?r:n.cmp(t)>0?t:new i(n)},U.comparedTo=U.cmp=function(r){var t,e,n,i,o=this,f=o.d,a=(r=new o.constructor(r)).d,l=o.s,s=r.s;if(!f||!a)return!l||!s?NaN:l!==s?l:f===a?0:!f^l<0?1:-1;if(!f[0]||!a[0])return f[0]?l:a[0]?-s:0;if(l!==s)return l;if(o.e!==r.e)return o.e>r.e^l<0?1:-1;for(n=f.length,i=a.length,t=0,e=n<i?n:i;t<e;++t)if(f[t]!==a[t])return f[t]>a[t]^l<0?1:-1;return n===i?0:n>i^l<0?1:-1},U.cosine=U.cos=function(){var r,t,e=this,n=e.constructor;return e.d?e.d[0]?(r=n.precision,t=n.rounding,n.precision=r+Math.max(e.e,e.sd())+te,n.rounding=1,e=rs(n,Gn(n,e)),n.precision=r,n.rounding=t,ee(Ke==2||Ke==3?e.neg():e,r,t,!0)):new n(1):new n(NaN)},U.cubeRoot=U.cbrt=function(){var r,t,e,n,i,o,f,a,l,s,c=this,h=c.constructor;if(!c.isFinite()||c.isZero())return new h(c);for(ie=!1,o=c.s*Ee(c.s*c,1/3),!o||Math.abs(o)==1/0?(e=Ce(c.d),r=c.e,(o=(r-e.length+1)%3)&&(e+=o==1||o==-2?"0":"00"),o=Ee(e,1/3),r=_e((r+1)/3)-(r%3==(r<0?-1:2)),o==1/0?e="5e"+r:(e=o.toExponential(),e=e.slice(0,e.indexOf("e")+1)+r),n=new h(e),n.s=c.s):n=new h(o.toString()),f=(r=h.precision)+3;;)if(a=n,l=a.times(a).times(a),s=l.plus(c),n=de(s.plus(c).times(a),s.plus(l),f+2,1),Ce(a.d).slice(0,f)===(e=Ce(n.d)).slice(0,f))if(e=e.slice(f-3,f+1),e=="9999"||!i&&e=="4999"){if(!i&&(ee(a,r+1,0),a.times(a).times(a).eq(c))){n=a;break}f+=4,i=1}else{(!+e||!+e.slice(1)&&e.charAt(0)=="5")&&(ee(n,r+1,1),t=!n.times(n).times(n).eq(c));break}return ie=!0,ee(n,r,h.rounding,t)},U.decimalPlaces=U.dp=function(){var r,t=this.d,e=NaN;if(t){if(r=t.length-1,e=(r-_e(this.e/te))*te,r=t[r],r)for(;r%10==0;r/=10)e--;e<0&&(e=0)}return e},U.dividedBy=U.div=function(r){return de(this,new this.constructor(r))},U.dividedToIntegerBy=U.divToInt=function(r){var t=this,e=t.constructor;return ee(de(t,new e(r),0,1,1),e.precision,e.rounding)},U.equals=U.eq=function(r){return this.cmp(r)===0},U.floor=function(){return ee(new this.constructor(this),this.e+1,3)},U.greaterThan=U.gt=function(r){return this.cmp(r)>0},U.greaterThanOrEqualTo=U.gte=function(r){var t=this.cmp(r);return t==1||t===0},U.hyperbolicCosine=U.cosh=function(){var r,t,e,n,i,o=this,f=o.constructor,a=new f(1);if(!o.isFinite())return new f(o.s?1/0:NaN);if(o.isZero())return a;e=f.precision,n=f.rounding,f.precision=e+Math.max(o.e,o.sd())+4,f.rounding=1,i=o.d.length,i<32?(r=Math.ceil(i/3),t=(1/Xt(4,r)).toString()):(r=16,t="2.3283064365386962890625e-10"),o=xt(f,1,o.times(t),new f(1),!0);for(var l,s=r,c=new f(8);s--;)l=o.times(o),o=a.minus(l.times(c.minus(l.times(c))));return ee(o,f.precision=e,f.rounding=n,!0)},U.hyperbolicSine=U.sinh=function(){var r,t,e,n,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(t=o.precision,e=o.rounding,o.precision=t+Math.max(i.e,i.sd())+4,o.rounding=1,n=i.d.length,n<3)i=xt(o,2,i,i,!0);else{r=1.4*Math.sqrt(n),r=r>16?16:r|0,i=i.times(1/Xt(5,r)),i=xt(o,2,i,i,!0);for(var f,a=new o(5),l=new o(16),s=new o(20);r--;)f=i.times(i),i=i.times(a.plus(f.times(l.times(f).plus(s))))}return o.precision=t,o.rounding=e,ee(i,t,e,!0)},U.hyperbolicTangent=U.tanh=function(){var r,t,e=this,n=e.constructor;return e.isFinite()?e.isZero()?new n(e):(r=n.precision,t=n.rounding,n.precision=r+7,n.rounding=1,de(e.sinh(),e.cosh(),n.precision=r,n.rounding=t)):new n(e.s)},U.inverseCosine=U.acos=function(){var r,t=this,e=t.constructor,n=t.abs().cmp(1),i=e.precision,o=e.rounding;return n!==-1?n===0?t.isNeg()?He(e,i,o):new e(0):new e(NaN):t.isZero()?He(e,i+4,o).times(.5):(e.precision=i+6,e.rounding=1,t=t.asin(),r=He(e,i+4,o).times(.5),e.precision=i,e.rounding=o,r.minus(t))},U.inverseHyperbolicCosine=U.acosh=function(){var r,t,e=this,n=e.constructor;return e.lte(1)?new n(e.eq(1)?0:NaN):e.isFinite()?(r=n.precision,t=n.rounding,n.precision=r+Math.max(Math.abs(e.e),e.sd())+4,n.rounding=1,ie=!1,e=e.times(e).minus(1).sqrt().plus(e),ie=!0,n.precision=r,n.rounding=t,e.ln()):new n(e)},U.inverseHyperbolicSine=U.asinh=function(){var r,t,e=this,n=e.constructor;return!e.isFinite()||e.isZero()?new n(e):(r=n.precision,t=n.rounding,n.precision=r+2*Math.max(Math.abs(e.e),e.sd())+6,n.rounding=1,ie=!1,e=e.times(e).plus(1).sqrt().plus(e),ie=!0,n.precision=r,n.rounding=t,e.ln())},U.inverseHyperbolicTangent=U.atanh=function(){var r,t,e,n,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(r=o.precision,t=o.rounding,n=i.sd(),Math.max(n,r)<2*-i.e-1?ee(new o(i),r,t,!0):(o.precision=e=n-i.e,i=de(i.plus(1),new o(1).minus(i),e+r,1),o.precision=r+4,o.rounding=1,i=i.ln(),o.precision=r,o.rounding=t,i.times(.5))):new o(NaN)},U.inverseSine=U.asin=function(){var r,t,e,n,i=this,o=i.constructor;return i.isZero()?new o(i):(t=i.abs().cmp(1),e=o.precision,n=o.rounding,t!==-1?t===0?(r=He(o,e+4,n).times(.5),r.s=i.s,r):new o(NaN):(o.precision=e+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=e,o.rounding=n,i.times(2)))},U.inverseTangent=U.atan=function(){var r,t,e,n,i,o,f,a,l,s=this,c=s.constructor,h=c.precision,u=c.rounding;if(s.isFinite()){if(s.isZero())return new c(s);if(s.abs().eq(1)&&h+4<=or)return f=He(c,h+4,u).times(.25),f.s=s.s,f}else{if(!s.s)return new c(NaN);if(h+4<=or)return f=He(c,h+4,u).times(.5),f.s=s.s,f}for(c.precision=a=h+10,c.rounding=1,e=Math.min(28,a/te+2|0),r=e;r;--r)s=s.div(s.times(s).plus(1).sqrt().plus(1));for(ie=!1,t=Math.ceil(a/te),n=1,l=s.times(s),f=new c(s),i=s;r!==-1;)if(i=i.times(l),o=f.minus(i.div(n+=2)),i=i.times(l),f=o.plus(i.div(n+=2)),f.d[t]!==void 0)for(r=t;f.d[r]===o.d[r]&&r--;);return e&&(f=f.times(2<<e-1)),ie=!0,ee(f,c.precision=h,c.rounding=u,!0)},U.isFinite=function(){return!!this.d},U.isInteger=U.isInt=function(){return!!this.d&&_e(this.e/te)>this.d.length-2},U.isNaN=function(){return!this.s},U.isNegative=U.isNeg=function(){return this.s<0},U.isPositive=U.isPos=function(){return this.s>0},U.isZero=function(){return!!this.d&&this.d[0]===0},U.lessThan=U.lt=function(r){return this.cmp(r)<0},U.lessThanOrEqualTo=U.lte=function(r){return this.cmp(r)<1},U.logarithm=U.log=function(r){var t,e,n,i,o,f,a,l,s=this,c=s.constructor,h=c.precision,u=c.rounding,v=5;if(r==null)r=new c(10),t=!0;else{if(r=new c(r),e=r.d,r.s<0||!e||!e[0]||r.eq(1))return new c(NaN);t=r.eq(10)}if(e=s.d,s.s<0||!e||!e[0]||s.eq(1))return new c(e&&!e[0]?-1/0:s.s!=1?NaN:e?0:1/0);if(t)if(e.length>1)o=!0;else{for(i=e[0];i%10===0;)i/=10;o=i!==1}if(ie=!1,a=h+v,f=nt(s,a),n=t?Kt(c,a+10):nt(r,a),l=de(f,n,a,1),Et(l.d,i=h,u))do if(a+=10,f=nt(s,a),n=t?Kt(c,a+10):nt(r,a),l=de(f,n,a,1),!o){+Ce(l.d).slice(i+1,i+15)+1==1e14&&(l=ee(l,h+1,0));break}while(Et(l.d,i+=10,u));return ie=!0,ee(l,h,u)},U.minus=U.sub=function(r){var t,e,n,i,o,f,a,l,s,c,h,u,v=this,m=v.constructor;if(r=new m(r),!v.d||!r.d)return!v.s||!r.s?r=new m(NaN):v.d?r.s=-r.s:r=new m(r.d||v.s!==r.s?v:NaN),r;if(v.s!=r.s)return r.s=-r.s,v.plus(r);if(s=v.d,u=r.d,a=m.precision,l=m.rounding,!s[0]||!u[0]){if(u[0])r.s=-r.s;else if(s[0])r=new m(v);else return new m(l===3?-0:0);return ie?ee(r,a,l):r}if(e=_e(r.e/te),c=_e(v.e/te),s=s.slice(),o=c-e,o){for(h=o<0,h?(t=s,o=-o,f=u.length):(t=u,e=c,f=s.length),n=Math.max(Math.ceil(a/te),f)+2,o>n&&(o=n,t.length=1),t.reverse(),n=o;n--;)t.push(0);t.reverse()}else{for(n=s.length,f=u.length,h=n<f,h&&(f=n),n=0;n<f;n++)if(s[n]!=u[n]){h=s[n]<u[n];break}o=0}for(h&&(t=s,s=u,u=t,r.s=-r.s),f=s.length,n=u.length-f;n>0;--n)s[f++]=0;for(n=u.length;n>o;){if(s[--n]<u[n]){for(i=n;i&&s[--i]===0;)s[i]=Pe-1;--s[i],s[n]+=Pe}s[n]-=u[n]}for(;s[--f]===0;)s.pop();for(;s[0]===0;s.shift())--e;return s[0]?(r.d=s,r.e=Vt(s,e),ie?ee(r,a,l):r):new m(l===3?-0:0)},U.modulo=U.mod=function(r){var t,e=this,n=e.constructor;return r=new n(r),!e.d||!r.s||r.d&&!r.d[0]?new n(NaN):!r.d||e.d&&!e.d[0]?ee(new n(e),n.precision,n.rounding):(ie=!1,n.modulo==9?(t=de(e,r.abs(),0,3,1),t.s*=r.s):t=de(e,r,0,n.modulo,1),t=t.times(r),ie=!0,e.minus(t))},U.naturalExponential=U.exp=function(){return sr(this)},U.naturalLogarithm=U.ln=function(){return nt(this)},U.negated=U.neg=function(){var r=new this.constructor(this);return r.s=-r.s,ee(r)},U.plus=U.add=function(r){var t,e,n,i,o,f,a,l,s,c,h=this,u=h.constructor;if(r=new u(r),!h.d||!r.d)return!h.s||!r.s?r=new u(NaN):h.d||(r=new u(r.d||h.s===r.s?h:NaN)),r;if(h.s!=r.s)return r.s=-r.s,h.minus(r);if(s=h.d,c=r.d,a=u.precision,l=u.rounding,!s[0]||!c[0])return c[0]||(r=new u(h)),ie?ee(r,a,l):r;if(o=_e(h.e/te),n=_e(r.e/te),s=s.slice(),i=o-n,i){for(i<0?(e=s,i=-i,f=c.length):(e=c,n=o,f=s.length),o=Math.ceil(a/te),f=o>f?o+1:f+1,i>f&&(i=f,e.length=1),e.reverse();i--;)e.push(0);e.reverse()}for(f=s.length,i=c.length,f-i<0&&(i=f,e=c,c=s,s=e),t=0;i;)t=(s[--i]=s[i]+c[i]+t)/Pe|0,s[i]%=Pe;for(t&&(s.unshift(t),++n),f=s.length;s[--f]==0;)s.pop();return r.d=s,r.e=Vt(s,n),ie?ee(r,a,l):r},U.precision=U.sd=function(r){var t,e=this;if(r!==void 0&&r!==!!r&&r!==1&&r!==0)throw Error(tt+r);return e.d?(t=Un(e.d),r&&e.e+1>t&&(t=e.e+1)):t=NaN,t},U.round=function(){var r=this,t=r.constructor;return ee(new t(r),r.e+1,t.rounding)},U.sine=U.sin=function(){var r,t,e=this,n=e.constructor;return e.isFinite()?e.isZero()?new n(e):(r=n.precision,t=n.rounding,n.precision=r+Math.max(e.e,e.sd())+te,n.rounding=1,e=is(n,Gn(n,e)),n.precision=r,n.rounding=t,ee(Ke>2?e.neg():e,r,t,!0)):new n(NaN)},U.squareRoot=U.sqrt=function(){var r,t,e,n,i,o,f=this,a=f.d,l=f.e,s=f.s,c=f.constructor;if(s!==1||!a||!a[0])return new c(!s||s<0&&(!a||a[0])?NaN:a?f:1/0);for(ie=!1,s=Math.sqrt(+f),s==0||s==1/0?(t=Ce(a),(t.length+l)%2==0&&(t+="0"),s=Math.sqrt(t),l=_e((l+1)/2)-(l<0||l%2),s==1/0?t="5e"+l:(t=s.toExponential(),t=t.slice(0,t.indexOf("e")+1)+l),n=new c(t)):n=new c(s.toString()),e=(l=c.precision)+3;;)if(o=n,n=o.plus(de(f,o,e+2,1)).times(.5),Ce(o.d).slice(0,e)===(t=Ce(n.d)).slice(0,e))if(t=t.slice(e-3,e+1),t=="9999"||!i&&t=="4999"){if(!i&&(ee(o,l+1,0),o.times(o).eq(f))){n=o;break}e+=4,i=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(ee(n,l+1,1),r=!n.times(n).eq(f));break}return ie=!0,ee(n,l,c.rounding,r)},U.tangent=U.tan=function(){var r,t,e=this,n=e.constructor;return e.isFinite()?e.isZero()?new n(e):(r=n.precision,t=n.rounding,n.precision=r+10,n.rounding=1,e=e.sin(),e.s=1,e=de(e,new n(1).minus(e.times(e)).sqrt(),r+10,0),n.precision=r,n.rounding=t,ee(Ke==2||Ke==4?e.neg():e,r,t,!0)):new n(NaN)},U.times=U.mul=function(r){var t,e,n,i,o,f,a,l,s,c=this,h=c.constructor,u=c.d,v=(r=new h(r)).d;if(r.s*=c.s,!u||!u[0]||!v||!v[0])return new h(!r.s||u&&!u[0]&&!v||v&&!v[0]&&!u?NaN:!u||!v?r.s/0:r.s*0);for(e=_e(c.e/te)+_e(r.e/te),l=u.length,s=v.length,l<s&&(o=u,u=v,v=o,f=l,l=s,s=f),o=[],f=l+s,n=f;n--;)o.push(0);for(n=s;--n>=0;){for(t=0,i=l+n;i>n;)a=o[i]+v[n]*u[i-n-1]+t,o[i--]=a%Pe|0,t=a/Pe|0;o[i]=(o[i]+t)%Pe|0}for(;!o[--f];)o.pop();return t?++e:o.shift(),r.d=o,r.e=Vt(o,e),ie?ee(r,h.precision,h.rounding):r},U.toBinary=function(r,t){return fr(this,2,r,t)},U.toDecimalPlaces=U.toDP=function(r,t){var e=this,n=e.constructor;return e=new n(e),r===void 0?e:(ke(r,0,et),t===void 0?t=n.rounding:ke(t,0,8),ee(e,r+e.e+1,t))},U.toExponential=function(r,t){var e,n=this,i=n.constructor;return r===void 0?e=Ue(n,!0):(ke(r,0,et),t===void 0?t=i.rounding:ke(t,0,8),n=ee(new i(n),r+1,t),e=Ue(n,!0,r+1)),n.isNeg()&&!n.isZero()?"-"+e:e},U.toFixed=function(r,t){var e,n,i=this,o=i.constructor;return r===void 0?e=Ue(i):(ke(r,0,et),t===void 0?t=o.rounding:ke(t,0,8),n=ee(new o(i),r+i.e+1,t),e=Ue(n,!1,r+n.e+1)),i.isNeg()&&!i.isZero()?"-"+e:e},U.toFraction=function(r){var t,e,n,i,o,f,a,l,s,c,h,u,v=this,m=v.d,E=v.constructor;if(!m)return new E(v);if(s=e=new E(1),n=l=new E(0),t=new E(n),o=t.e=Un(m)-v.e-1,f=o%te,t.d[0]=Ee(10,f<0?te+f:f),r==null)r=o>0?t:s;else{if(a=new E(r),!a.isInt()||a.lt(s))throw Error(tt+a);r=a.gt(t)?o>0?t:s:a}for(ie=!1,a=new E(Ce(m)),c=E.precision,E.precision=o=m.length*te*2;h=de(a,t,0,1,1),i=e.plus(h.times(n)),i.cmp(r)!=1;)e=n,n=i,i=s,s=l.plus(h.times(i)),l=i,i=t,t=a.minus(h.times(i)),a=i;return i=de(r.minus(e),n,0,1,1),l=l.plus(i.times(s)),e=e.plus(i.times(n)),l.s=s.s=v.s,u=de(s,n,o,1).minus(v).abs().cmp(de(l,e,o,1).minus(v).abs())<1?[s,n]:[l,e],E.precision=c,ie=!0,u},U.toHexadecimal=U.toHex=function(r,t){return fr(this,16,r,t)},U.toNearest=function(r,t){var e=this,n=e.constructor;if(e=new n(e),r==null){if(!e.d)return e;r=new n(1),t=n.rounding}else{if(r=new n(r),t===void 0?t=n.rounding:ke(t,0,8),!e.d)return r.s?e:r;if(!r.d)return r.s&&(r.s=e.s),r}return r.d[0]?(ie=!1,e=de(e,r,0,t,1).times(r),ie=!0,ee(e)):(r.s=e.s,e=r),e},U.toNumber=function(){return+this},U.toOctal=function(r,t){return fr(this,8,r,t)},U.toPower=U.pow=function(r){var t,e,n,i,o,f,a=this,l=a.constructor,s=+(r=new l(r));if(!a.d||!r.d||!a.d[0]||!r.d[0])return new l(Ee(+a,s));if(a=new l(a),a.eq(1))return a;if(n=l.precision,o=l.rounding,r.eq(1))return ee(a,n,o);if(t=_e(r.e/te),t>=r.d.length-1&&(e=s<0?-s:s)<=es)return i=Yn(l,a,e,n),r.s<0?new l(1).div(i):ee(i,n,o);if(f=a.s,f<0){if(t<r.d.length-1)return new l(NaN);if(r.d[t]&1||(f=1),a.e==0&&a.d[0]==1&&a.d.length==1)return a.s=f,a}return e=Ee(+a,s),t=e==0||!isFinite(e)?_e(s*(Math.log("0."+Ce(a.d))/Math.LN10+a.e+1)):new l(e+"").e,t>l.maxE+1||t<l.minE-1?new l(t>0?f/0:0):(ie=!1,l.rounding=a.s=1,e=Math.min(12,(t+"").length),i=sr(r.times(nt(a,n+e)),n),i.d&&(i=ee(i,n+5,1),Et(i.d,n,o)&&(t=n+10,i=ee(sr(r.times(nt(a,t+e)),t),t+5,1),+Ce(i.d).slice(n+1,n+15)+1==1e14&&(i=ee(i,n+1,0)))),i.s=f,ie=!0,l.rounding=o,ee(i,n,o))},U.toPrecision=function(r,t){var e,n=this,i=n.constructor;return r===void 0?e=Ue(n,n.e<=i.toExpNeg||n.e>=i.toExpPos):(ke(r,1,et),t===void 0?t=i.rounding:ke(t,0,8),n=ee(new i(n),r,t),e=Ue(n,r<=n.e||n.e<=i.toExpNeg,r)),n.isNeg()&&!n.isZero()?"-"+e:e},U.toSignificantDigits=U.toSD=function(r,t){var e=this,n=e.constructor;return r===void 0?(r=n.precision,t=n.rounding):(ke(r,1,et),t===void 0?t=n.rounding:ke(t,0,8)),ee(new n(e),r,t)},U.toString=function(){var r=this,t=r.constructor,e=Ue(r,r.e<=t.toExpNeg||r.e>=t.toExpPos);return r.isNeg()&&!r.isZero()?"-"+e:e},U.truncated=U.trunc=function(){return ee(new this.constructor(this),this.e+1,1)},U.valueOf=U.toJSON=function(){var r=this,t=r.constructor,e=Ue(r,r.e<=t.toExpNeg||r.e>=t.toExpPos);return r.isNeg()?"-"+e:e};function Ce(r){var t,e,n,i=r.length-1,o="",f=r[0];if(i>0){for(o+=f,t=1;t<i;t++)n=r[t]+"",e=te-n.length,e&&(o+=rt(e)),o+=n;f=r[t],n=f+"",e=te-n.length,e&&(o+=rt(e))}else if(f===0)return"0";for(;f%10===0;)f/=10;return o+f}function ke(r,t,e){if(r!==~~r||r<t||r>e)throw Error(tt+r)}function Et(r,t,e,n){var i,o,f,a;for(o=r[0];o>=10;o/=10)--t;return--t<0?(t+=te,i=0):(i=Math.ceil((t+1)/te),t%=te),o=Ee(10,te-t),a=r[i]%o|0,n==null?t<3?(t==0?a=a/100|0:t==1&&(a=a/10|0),f=e<4&&a==99999||e>3&&a==49999||a==5e4||a==0):f=(e<4&&a+1==o||e>3&&a+1==o/2)&&(r[i+1]/o/100|0)==Ee(10,t-2)-1||(a==o/2||a==0)&&(r[i+1]/o/100|0)==0:t<4?(t==0?a=a/1e3|0:t==1?a=a/100|0:t==2&&(a=a/10|0),f=(n||e<4)&&a==9999||!n&&e>3&&a==4999):f=((n||e<4)&&a+1==o||!n&&e>3&&a+1==o/2)&&(r[i+1]/o/1e3|0)==Ee(10,t-3)-1,f}function Yt(r,t,e){for(var n,i=[0],o,f=0,a=r.length;f<a;){for(o=i.length;o--;)i[o]*=t;for(i[0]+=nr.indexOf(r.charAt(f++)),n=0;n<i.length;n++)i[n]>e-1&&(i[n+1]===void 0&&(i[n+1]=0),i[n+1]+=i[n]/e|0,i[n]%=e)}return i.reverse()}function rs(r,t){var e,n,i;if(t.isZero())return t;n=t.d.length,n<32?(e=Math.ceil(n/3),i=(1/Xt(4,e)).toString()):(e=16,i="2.3283064365386962890625e-10"),r.precision+=e,t=xt(r,1,t.times(i),new r(1));for(var o=e;o--;){var f=t.times(t);t=f.times(f).minus(f).times(8).plus(1)}return r.precision-=e,t}var de=function(){function r(n,i,o){var f,a=0,l=n.length;for(n=n.slice();l--;)f=n[l]*i+a,n[l]=f%o|0,a=f/o|0;return a&&n.unshift(a),n}function t(n,i,o,f){var a,l;if(o!=f)l=o>f?1:-1;else for(a=l=0;a<o;a++)if(n[a]!=i[a]){l=n[a]>i[a]?1:-1;break}return l}function e(n,i,o,f){for(var a=0;o--;)n[o]-=a,a=n[o]<i[o]?1:0,n[o]=a*f+n[o]-i[o];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,o,f,a,l){var s,c,h,u,v,m,E,B,F,y,x,d,b,C,A,k,P,_,D,T,H=n.constructor,$=n.s==i.s?1:-1,L=n.d,I=i.d;if(!L||!L[0]||!I||!I[0])return new H(!n.s||!i.s||(L?I&&L[0]==I[0]:!I)?NaN:L&&L[0]==0||!I?$*0:$/0);for(l?(v=1,c=n.e-i.e):(l=Pe,v=te,c=_e(n.e/v)-_e(i.e/v)),D=I.length,P=L.length,F=new H($),y=F.d=[],h=0;I[h]==(L[h]||0);h++);if(I[h]>(L[h]||0)&&c--,o==null?(C=o=H.precision,f=H.rounding):a?C=o+(n.e-i.e)+1:C=o,C<0)y.push(1),m=!0;else{if(C=C/v+2|0,h=0,D==1){for(u=0,I=I[0],C++;(h<P||u)&&C--;h++)A=u*l+(L[h]||0),y[h]=A/I|0,u=A%I|0;m=u||h<P}else{for(u=l/(I[0]+1)|0,u>1&&(I=r(I,u,l),L=r(L,u,l),D=I.length,P=L.length),k=D,x=L.slice(0,D),d=x.length;d<D;)x[d++]=0;T=I.slice(),T.unshift(0),_=I[0],I[1]>=l/2&&++_;do u=0,s=t(I,x,D,d),s<0?(b=x[0],D!=d&&(b=b*l+(x[1]||0)),u=b/_|0,u>1?(u>=l&&(u=l-1),E=r(I,u,l),B=E.length,d=x.length,s=t(E,x,B,d),s==1&&(u--,e(E,D<B?T:I,B,l))):(u==0&&(s=u=1),E=I.slice()),B=E.length,B<d&&E.unshift(0),e(x,E,d,l),s==-1&&(d=x.length,s=t(I,x,D,d),s<1&&(u++,e(x,D<d?T:I,d,l))),d=x.length):s===0&&(u++,x=[0]),y[h++]=u,s&&x[0]?x[d++]=L[k]||0:(x=[L[k]],d=1);while((k++<P||x[0]!==void 0)&&C--);m=x[0]!==void 0}y[0]||y.shift()}if(v==1)F.e=c,Mn=m;else{for(h=1,u=y[0];u>=10;u/=10)h++;F.e=h+c*v-1,ee(F,a?o+F.e+1:o,f,m)}return F}}();function ee(r,t,e,n){var i,o,f,a,l,s,c,h,u,v=r.constructor;e:if(t!=null){if(h=r.d,!h)return r;for(i=1,a=h[0];a>=10;a/=10)i++;if(o=t-i,o<0)o+=te,f=t,c=h[u=0],l=c/Ee(10,i-f-1)%10|0;else if(u=Math.ceil((o+1)/te),a=h.length,u>=a)if(n){for(;a++<=u;)h.push(0);c=l=0,i=1,o%=te,f=o-te+1}else break e;else{for(c=a=h[u],i=1;a>=10;a/=10)i++;o%=te,f=o-te+i,l=f<0?0:c/Ee(10,i-f-1)%10|0}if(n=n||t<0||h[u+1]!==void 0||(f<0?c:c%Ee(10,i-f-1)),s=e<4?(l||n)&&(e==0||e==(r.s<0?3:2)):l>5||l==5&&(e==4||n||e==6&&(o>0?f>0?c/Ee(10,i-f):0:h[u-1])%10&1||e==(r.s<0?8:7)),t<1||!h[0])return h.length=0,s?(t-=r.e+1,h[0]=Ee(10,(te-t%te)%te),r.e=-t||0):h[0]=r.e=0,r;if(o==0?(h.length=u,a=1,u--):(h.length=u+1,a=Ee(10,te-o),h[u]=f>0?(c/Ee(10,i-f)%Ee(10,f)|0)*a:0),s)for(;;)if(u==0){for(o=1,f=h[0];f>=10;f/=10)o++;for(f=h[0]+=a,a=1;f>=10;f/=10)a++;o!=a&&(r.e++,h[0]==Pe&&(h[0]=1));break}else{if(h[u]+=a,h[u]!=Pe)break;h[u--]=0,a=1}for(o=h.length;h[--o]===0;)h.pop()}return ie&&(r.e>v.maxE?(r.d=null,r.e=NaN):r.e<v.minE&&(r.e=0,r.d=[0])),r}function Ue(r,t,e){if(!r.isFinite())return Xn(r);var n,i=r.e,o=Ce(r.d),f=o.length;return t?(e&&(n=e-f)>0?o=o.charAt(0)+"."+o.slice(1)+rt(n):f>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(r.e<0?"e":"e+")+r.e):i<0?(o="0."+rt(-i-1)+o,e&&(n=e-f)>0&&(o+=rt(n))):i>=f?(o+=rt(i+1-f),e&&(n=e-i-1)>0&&(o=o+"."+rt(n))):((n=i+1)<f&&(o=o.slice(0,n)+"."+o.slice(n)),e&&(n=e-f)>0&&(i+1===f&&(o+="."),o+=rt(n))),o}function Vt(r,t){var e=r[0];for(t*=te;e>=10;e/=10)t++;return t}function Kt(r,t,e){if(t>ts)throw ie=!0,e&&(r.precision=e),Error(qn);return ee(new r($t),t,1,!0)}function He(r,t,e){if(t>or)throw Error(qn);return ee(new r(Wt),t,e,!0)}function Un(r){var t=r.length-1,e=t*te+1;if(t=r[t],t){for(;t%10==0;t/=10)e--;for(t=r[0];t>=10;t/=10)e++}return e}function rt(r){for(var t="";r--;)t+="0";return t}function Yn(r,t,e,n){var i,o=new r(1),f=Math.ceil(n/te+4);for(ie=!1;;){if(e%2&&(o=o.times(t),Zn(o.d,f)&&(i=!0)),e=_e(e/2),e===0){e=o.d.length-1,i&&o.d[e]===0&&++o.d[e];break}t=t.times(t),Zn(t.d,f)}return ie=!0,o}function Vn(r){return r.d[r.d.length-1]&1}function Kn(r,t,e){for(var n,i=new r(t[0]),o=0;++o<t.length;)if(n=new r(t[o]),n.s)i[e](n)&&(i=n);else{i=n;break}return i}function sr(r,t){var e,n,i,o,f,a,l,s=0,c=0,h=0,u=r.constructor,v=u.rounding,m=u.precision;if(!r.d||!r.d[0]||r.e>17)return new u(r.d?r.d[0]?r.s<0?0:1/0:1:r.s?r.s<0?0:r:0/0);for(t==null?(ie=!1,l=m):l=t,a=new u(.03125);r.e>-2;)r=r.times(a),h+=5;for(n=Math.log(Ee(2,h))/Math.LN10*2+5|0,l+=n,e=o=f=new u(1),u.precision=l;;){if(o=ee(o.times(r),l,1),e=e.times(++c),a=f.plus(de(o,e,l,1)),Ce(a.d).slice(0,l)===Ce(f.d).slice(0,l)){for(i=h;i--;)f=ee(f.times(f),l,1);if(t==null)if(s<3&&Et(f.d,l-n,v,s))u.precision=l+=10,e=o=a=new u(1),c=0,s++;else return ee(f,u.precision=m,v,ie=!0);else return u.precision=m,f}f=a}}function nt(r,t){var e,n,i,o,f,a,l,s,c,h,u,v=1,m=10,E=r,B=E.d,F=E.constructor,y=F.rounding,x=F.precision;if(E.s<0||!B||!B[0]||!E.e&&B[0]==1&&B.length==1)return new F(B&&!B[0]?-1/0:E.s!=1?NaN:B?0:E);if(t==null?(ie=!1,c=x):c=t,F.precision=c+=m,e=Ce(B),n=e.charAt(0),Math.abs(o=E.e)<15e14){for(;n<7&&n!=1||n==1&&e.charAt(1)>3;)E=E.times(r),e=Ce(E.d),n=e.charAt(0),v++;o=E.e,n>1?(E=new F("0."+e),o++):E=new F(n+"."+e.slice(1))}else return s=Kt(F,c+2,x).times(o+""),E=nt(new F(n+"."+e.slice(1)),c-m).plus(s),F.precision=x,t==null?ee(E,x,y,ie=!0):E;for(h=E,l=f=E=de(E.minus(1),E.plus(1),c,1),u=ee(E.times(E),c,1),i=3;;){if(f=ee(f.times(u),c,1),s=l.plus(de(f,new F(i),c,1)),Ce(s.d).slice(0,c)===Ce(l.d).slice(0,c))if(l=l.times(2),o!==0&&(l=l.plus(Kt(F,c+2,x).times(o+""))),l=de(l,new F(v),c,1),t==null)if(Et(l.d,c-m,y,a))F.precision=c+=m,s=f=E=de(h.minus(1),h.plus(1),c,1),u=ee(E.times(E),c,1),i=a=1;else return ee(l,F.precision=x,y,ie=!0);else return F.precision=x,l;l=s,i+=2}}function Xn(r){return String(r.s*r.s/0)}function ar(r,t){var e,n,i;for((e=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(e<0&&(e=n),e+=+t.slice(n+1),t=t.substring(0,n)):e<0&&(e=t.length),n=0;t.charCodeAt(n)===48;n++);for(i=t.length;t.charCodeAt(i-1)===48;--i);if(t=t.slice(n,i),t){if(i-=n,r.e=e=e-n-1,r.d=[],n=(e+1)%te,e<0&&(n+=te),n<i){for(n&&r.d.push(+t.slice(0,n)),i-=te;n<i;)r.d.push(+t.slice(n,n+=te));t=t.slice(n),n=te-t.length}else n-=i;for(;n--;)t+="0";r.d.push(+t),ie&&(r.e>r.constructor.maxE?(r.d=null,r.e=NaN):r.e<r.constructor.minE&&(r.e=0,r.d=[0]))}else r.e=0,r.d=[0];return r}function ns(r,t){var e,n,i,o,f,a,l,s,c;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),Wn.test(t))return ar(r,t)}else if(t==="Infinity"||t==="NaN")return+t||(r.s=NaN),r.e=NaN,r.d=null,r;if(Qo.test(t))e=16,t=t.toLowerCase();else if(jo.test(t))e=2;else if(Jo.test(t))e=8;else throw Error(tt+t);for(o=t.search(/p/i),o>0?(l=+t.slice(o+1),t=t.substring(2,o)):t=t.slice(2),o=t.indexOf("."),f=o>=0,n=r.constructor,f&&(t=t.replace(".",""),a=t.length,o=a-o,i=Yn(n,new n(e),o,o*2)),s=Yt(t,e,Pe),c=s.length-1,o=c;s[o]===0;--o)s.pop();return o<0?new n(r.s*0):(r.e=Vt(s,c),r.d=s,ie=!1,f&&(r=de(r,i,a*4)),l&&(r=r.times(Math.abs(l)<54?Ee(2,l):Bt.pow(2,l))),ie=!0,r)}function is(r,t){var e,n=t.d.length;if(n<3)return t.isZero()?t:xt(r,2,t,t);e=1.4*Math.sqrt(n),e=e>16?16:e|0,t=t.times(1/Xt(5,e)),t=xt(r,2,t,t);for(var i,o=new r(5),f=new r(16),a=new r(20);e--;)i=t.times(t),t=t.times(o.plus(i.times(f.times(i).minus(a))));return t}function xt(r,t,e,n,i){var o,f,a,l,s=r.precision,c=Math.ceil(s/te);for(ie=!1,l=e.times(e),a=new r(n);;){if(f=de(a.times(l),new r(t++*t++),s,1),a=i?n.plus(f):n.minus(f),n=de(f.times(l),new r(t++*t++),s,1),f=a.plus(n),f.d[c]!==void 0){for(o=c;f.d[o]===a.d[o]&&o--;);if(o==-1)break}o=a,a=n,n=f,f=o}return ie=!0,f.d.length=c+1,f}function Xt(r,t){for(var e=r;--t;)e*=r;return e}function Gn(r,t){var e,n=t.s<0,i=He(r,r.precision,1),o=i.times(.5);if(t=t.abs(),t.lte(o))return Ke=n?4:1,t;if(e=t.divToInt(i),e.isZero())Ke=n?3:2;else{if(t=t.minus(e.times(i)),t.lte(o))return Ke=Vn(e)?n?2:3:n?4:1,t;Ke=Vn(e)?n?1:4:n?3:2}return t.minus(i).abs()}function fr(r,t,e,n){var i,o,f,a,l,s,c,h,u,v=r.constructor,m=e!==void 0;if(m?(ke(e,1,et),n===void 0?n=v.rounding:ke(n,0,8)):(e=v.precision,n=v.rounding),!r.isFinite())c=Xn(r);else{for(c=Ue(r),f=c.indexOf("."),m?(i=2,t==16?e=e*4-3:t==8&&(e=e*3-2)):i=t,f>=0&&(c=c.replace(".",""),u=new v(1),u.e=c.length-f,u.d=Yt(Ue(u),10,i),u.e=u.d.length),h=Yt(c,10,i),o=l=h.length;h[--l]==0;)h.pop();if(!h[0])c=m?"0p+0":"0";else{if(f<0?o--:(r=new v(r),r.d=h,r.e=o,r=de(r,u,e,n,0,i),h=r.d,o=r.e,s=Mn),f=h[e],a=i/2,s=s||h[e+1]!==void 0,s=n<4?(f!==void 0||s)&&(n===0||n===(r.s<0?3:2)):f>a||f===a&&(n===4||s||n===6&&h[e-1]&1||n===(r.s<0?8:7)),h.length=e,s)for(;++h[--e]>i-1;)h[e]=0,e||(++o,h.unshift(1));for(l=h.length;!h[l-1];--l);for(f=0,c="";f<l;f++)c+=nr.charAt(h[f]);if(m){if(l>1)if(t==16||t==8){for(f=t==16?4:3,--l;l%f;l++)c+="0";for(h=Yt(c,i,t),l=h.length;!h[l-1];--l);for(f=1,c="1.";f<l;f++)c+=nr.charAt(h[f])}else c=c.charAt(0)+"."+c.slice(1);c=c+(o<0?"p":"p+")+o}else if(o<0){for(;++o;)c="0"+c;c="0."+c}else if(++o>l)for(o-=l;o--;)c+="0";else o<l&&(c=c.slice(0,o)+"."+c.slice(o))}c=(t==16?"0x":t==2?"0b":t==8?"0o":"")+c}return r.s<0?"-"+c:c}function Zn(r,t){if(r.length>t)return r.length=t,!0}function os(r){return new this(r).abs()}function ss(r){return new this(r).acos()}function as(r){return new this(r).acosh()}function fs(r,t){return new this(r).plus(t)}function cs(r){return new this(r).asin()}function us(r){return new this(r).asinh()}function ls(r){return new this(r).atan()}function hs(r){return new this(r).atanh()}function xs(r,t){r=new this(r),t=new this(t);var e,n=this.precision,i=this.rounding,o=n+4;return!r.s||!t.s?e=new this(NaN):!r.d&&!t.d?(e=He(this,o,1).times(t.s>0?.25:.75),e.s=r.s):!t.d||r.isZero()?(e=t.s<0?He(this,n,i):new this(0),e.s=r.s):!r.d||t.isZero()?(e=He(this,o,1).times(.5),e.s=r.s):t.s<0?(this.precision=o,this.rounding=1,e=this.atan(de(r,t,o,1)),t=He(this,o,1),this.precision=n,this.rounding=i,e=r.s<0?e.minus(t):e.plus(t)):e=this.atan(de(r,t,o,1)),e}function ds(r){return new this(r).cbrt()}function ps(r){return ee(r=new this(r),r.e+1,2)}function vs(r,t,e){return new this(r).clamp(t,e)}function bs(r){if(!r||typeof r!="object")throw Error(Ut+"Object expected");var t,e,n,i=r.defaults===!0,o=["precision",1,et,"rounding",0,8,"toExpNeg",-ht,0,"toExpPos",0,ht,"maxE",0,ht,"minE",-ht,0,"modulo",0,9];for(t=0;t<o.length;t+=3)if(e=o[t],i&&(this[e]=ir[e]),(n=r[e])!==void 0)if(_e(n)===n&&n>=o[t+1]&&n<=o[t+2])this[e]=n;else throw Error(tt+e+": "+n);if(e="crypto",i&&(this[e]=ir[e]),(n=r[e])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[e]=!0;else throw Error(zn);else this[e]=!1;else throw Error(tt+e+": "+n);return this}function gs(r){return new this(r).cos()}function ms(r){return new this(r).cosh()}function jn(r){var t,e,n;function i(o){var f,a,l,s=this;if(!(s instanceof i))return new i(o);if(s.constructor=i,Qn(o)){s.s=o.s,ie?!o.d||o.e>i.maxE?(s.e=NaN,s.d=null):o.e<i.minE?(s.e=0,s.d=[0]):(s.e=o.e,s.d=o.d.slice()):(s.e=o.e,s.d=o.d?o.d.slice():o.d);return}if(l=typeof o,l==="number"){if(o===0){s.s=1/o<0?-1:1,s.e=0,s.d=[0];return}if(o<0?(o=-o,s.s=-1):s.s=1,o===~~o&&o<1e7){for(f=0,a=o;a>=10;a/=10)f++;ie?f>i.maxE?(s.e=NaN,s.d=null):f<i.minE?(s.e=0,s.d=[0]):(s.e=f,s.d=[o]):(s.e=f,s.d=[o]);return}else if(o*0!==0){o||(s.s=NaN),s.e=NaN,s.d=null;return}return ar(s,o.toString())}else if(l!=="string")throw Error(tt+o);return(a=o.charCodeAt(0))===45?(o=o.slice(1),s.s=-1):(a===43&&(o=o.slice(1)),s.s=1),Wn.test(o)?ar(s,o):ns(s,o)}if(i.prototype=U,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=bs,i.clone=jn,i.isDecimal=Qn,i.abs=os,i.acos=ss,i.acosh=as,i.add=fs,i.asin=cs,i.asinh=us,i.atan=ls,i.atanh=hs,i.atan2=xs,i.cbrt=ds,i.ceil=ps,i.clamp=vs,i.cos=gs,i.cosh=ms,i.div=ys,i.exp=Es,i.floor=Bs,i.hypot=Cs,i.ln=_s,i.log=As,i.log10=Ds,i.log2=ws,i.max=Fs,i.min=Ss,i.mod=ks,i.mul=Rs,i.pow=Ns,i.random=Ts,i.round=Os,i.sign=Is,i.sin=Ls,i.sinh=Ps,i.sqrt=Hs,i.sub=Ms,i.sum=qs,i.tan=zs,i.tanh=$s,i.trunc=Ws,r===void 0&&(r={}),r&&r.defaults!==!0)for(n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<n.length;)r.hasOwnProperty(e=n[t++])||(r[e]=this[e]);return i.config(r),i}function ys(r,t){return new this(r).div(t)}function Es(r){return new this(r).exp()}function Bs(r){return ee(r=new this(r),r.e+1,3)}function Cs(){var r,t,e=new this(0);for(ie=!1,r=0;r<arguments.length;)if(t=new this(arguments[r++]),t.d)e.d&&(e=e.plus(t.times(t)));else{if(t.s)return ie=!0,new this(1/0);e=t}return ie=!0,e.sqrt()}function Qn(r){return r instanceof Bt||r&&r.toStringTag===$n||!1}function _s(r){return new this(r).ln()}function As(r,t){return new this(r).log(t)}function ws(r){return new this(r).log(2)}function Ds(r){return new this(r).log(10)}function Fs(){return Kn(this,arguments,"lt")}function Ss(){return Kn(this,arguments,"gt")}function ks(r,t){return new this(r).mod(t)}function Rs(r,t){return new this(r).mul(t)}function Ns(r,t){return new this(r).pow(t)}function Ts(r){var t,e,n,i,o=0,f=new this(1),a=[];if(r===void 0?r=this.precision:ke(r,1,et),n=Math.ceil(r/te),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(n));o<n;)i=t[o],i>=429e7?t[o]=crypto.getRandomValues(new Uint32Array(1))[0]:a[o++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);o<n;)i=t[o]+(t[o+1]<<8)+(t[o+2]<<16)+((t[o+3]&127)<<24),i>=214e7?crypto.randomBytes(4).copy(t,o):(a.push(i%1e7),o+=4);o=n/4}else throw Error(zn);else for(;o<n;)a[o++]=Math.random()*1e7|0;for(n=a[--o],r%=te,n&&r&&(i=Ee(10,te-r),a[o]=(n/i|0)*i);a[o]===0;o--)a.pop();if(o<0)e=0,a=[0];else{for(e=-1;a[0]===0;e-=te)a.shift();for(n=1,i=a[0];i>=10;i/=10)n++;n<te&&(e-=te-n)}return f.e=e,f.d=a,f}function Os(r){return ee(r=new this(r),r.e+1,this.rounding)}function Is(r){return r=new this(r),r.d?r.d[0]?r.s:0*r.s:r.s||NaN}function Ls(r){return new this(r).sin()}function Ps(r){return new this(r).sinh()}function Hs(r){return new this(r).sqrt()}function Ms(r,t){return new this(r).sub(t)}function qs(){var r=0,t=arguments,e=new this(t[r]);for(ie=!1;e.s&&++r<t.length;)e=e.plus(t[r]);return ie=!0,ee(e,this.precision,this.rounding)}function zs(r){return new this(r).tan()}function $s(r){return new this(r).tanh()}function Ws(r){return ee(r=new this(r),r.e+1,1)}U[Symbol.for("nodejs.util.inspect.custom")]=U.toString,U[Symbol.toStringTag]="Decimal";var Bt=U.constructor=jn(ir);$t=new Bt($t),Wt=new Bt(Wt);var Us={exports:{}};/*!
26
+ * Waves v0.7.6
27
+ * http://fian.my.id/Waves
28
+ *
29
+ * Copyright 2014-2018 Alfiana E. Sibuea and other contributors
30
+ * Released under the MIT license
31
+ * https://github.com/fians/Waves/blob/master/LICENSE
32
+ */(function(r,t){(function(e,n){r.exports=n.call(e)})(re,function(){var e=e||{},n=document.querySelectorAll.bind(document),i=Object.prototype.toString,o="ontouchstart"in window;function f(x){return x!==null&&x===x.window}function a(x){return f(x)?x:x.nodeType===9&&x.defaultView}function l(x){var d=typeof x;return d==="function"||d==="object"&&!!x}function s(x){return l(x)&&x.nodeType>0}function c(x){var d=i.call(x);return d==="[object String]"?n(x):l(x)&&/^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(d)&&x.hasOwnProperty("length")?x:s(x)?[x]:[]}function h(x){var d,b,C={top:0,left:0},A=x&&x.ownerDocument;return d=A.documentElement,typeof x.getBoundingClientRect<"u"&&(C=x.getBoundingClientRect()),b=a(A),{top:C.top+b.pageYOffset-d.clientTop,left:C.left+b.pageXOffset-d.clientLeft}}function u(x){var d="";for(var b in x)x.hasOwnProperty(b)&&(d+=b+":"+x[b]+";");return d}var v={duration:750,delay:200,show:function(x,d,b){if(x.button===2)return!1;d=d||this;var C=document.createElement("div");C.className="waves-ripple waves-rippling",d.appendChild(C);var A=h(d),k=0,P=0;"touches"in x&&x.touches.length?(k=x.touches[0].pageY-A.top,P=x.touches[0].pageX-A.left):(k=x.pageY-A.top,P=x.pageX-A.left),P=P>=0?P:0,k=k>=0?k:0;var _="scale("+d.clientWidth/100*3+")",D="translate(0,0)";b&&(D="translate("+b.x+"px, "+b.y+"px)"),C.setAttribute("data-hold",Date.now()),C.setAttribute("data-x",P),C.setAttribute("data-y",k),C.setAttribute("data-scale",_),C.setAttribute("data-translate",D);var T={top:k+"px",left:P+"px"};C.classList.add("waves-notransition"),C.setAttribute("style",u(T)),C.classList.remove("waves-notransition"),T["-webkit-transform"]=_+" "+D,T["-moz-transform"]=_+" "+D,T["-ms-transform"]=_+" "+D,T["-o-transform"]=_+" "+D,T.transform=_+" "+D,T.opacity="1";var H=x.type==="mousemove"?2500:v.duration;T["-webkit-transition-duration"]=H+"ms",T["-moz-transition-duration"]=H+"ms",T["-o-transition-duration"]=H+"ms",T["transition-duration"]=H+"ms",C.setAttribute("style",u(T))},hide:function(x,d){d=d||this;for(var b=d.getElementsByClassName("waves-rippling"),C=0,A=b.length;C<A;C++)E(x,d,b[C]);o&&(d.removeEventListener("touchend",v.hide),d.removeEventListener("touchcancel",v.hide)),d.removeEventListener("mouseup",v.hide),d.removeEventListener("mouseleave",v.hide)}},m={input:function(x){var d=x.parentNode;if(!(d.tagName.toLowerCase()==="i"&&d.classList.contains("waves-effect"))){var b=document.createElement("i");b.className=x.className+" waves-input-wrapper",x.className="waves-button-input",d.replaceChild(b,x),b.appendChild(x);var C=window.getComputedStyle(x,null),A=C.color,k=C.backgroundColor;b.setAttribute("style","color:"+A+";background:"+k),x.setAttribute("style","background-color:rgba(0,0,0,0);")}},img:function(x){var d=x.parentNode;if(!(d.tagName.toLowerCase()==="i"&&d.classList.contains("waves-effect"))){var b=document.createElement("i");d.replaceChild(b,x),b.appendChild(x)}}};function E(x,d,b){if(b){b.classList.remove("waves-rippling");var C=b.getAttribute("data-x"),A=b.getAttribute("data-y"),k=b.getAttribute("data-scale"),P=b.getAttribute("data-translate"),_=Date.now()-Number(b.getAttribute("data-hold")),D=350-_;D<0&&(D=0),x.type==="mousemove"&&(D=150);var T=x.type==="mousemove"?2500:v.duration;setTimeout(function(){var H={top:A+"px",left:C+"px",opacity:"0","-webkit-transition-duration":T+"ms","-moz-transition-duration":T+"ms","-o-transition-duration":T+"ms","transition-duration":T+"ms","-webkit-transform":k+" "+P,"-moz-transform":k+" "+P,"-ms-transform":k+" "+P,"-o-transform":k+" "+P,transform:k+" "+P};b.setAttribute("style",u(H)),setTimeout(function(){try{d.removeChild(b)}catch{return!1}},T)},D)}}var B={touches:0,allowEvent:function(x){var d=!0;return/^(mousedown|mousemove)$/.test(x.type)&&B.touches&&(d=!1),d},registerEvent:function(x){var d=x.type;d==="touchstart"?B.touches+=1:/^(touchend|touchcancel)$/.test(d)&&setTimeout(function(){B.touches&&(B.touches-=1)},500)}};function F(x){if(B.allowEvent(x)===!1)return null;for(var d=null,b=x.target||x.srcElement;b.parentElement;){if(!(b instanceof SVGElement)&&b.classList.contains("waves-effect")){d=b;break}b=b.parentElement}return d}function y(x){var d=F(x);if(d!==null){if(d.disabled||d.getAttribute("disabled")||d.classList.contains("disabled"))return;if(B.registerEvent(x),x.type==="touchstart"&&v.delay){var b=!1,C=setTimeout(function(){C=null,v.show(x,d)},v.delay),A=function(_){C&&(clearTimeout(C),C=null,v.show(x,d)),b||(b=!0,v.hide(_,d)),P()},k=function(_){C&&(clearTimeout(C),C=null),A(_),P()};d.addEventListener("touchmove",k,!1),d.addEventListener("touchend",A,!1),d.addEventListener("touchcancel",A,!1);var P=function(){d.removeEventListener("touchmove",k),d.removeEventListener("touchend",A),d.removeEventListener("touchcancel",A)}}else v.show(x,d),o&&(d.addEventListener("touchend",v.hide,!1),d.addEventListener("touchcancel",v.hide,!1)),d.addEventListener("mouseup",v.hide,!1),d.addEventListener("mouseleave",v.hide,!1)}}return e.init=function(x){var d=document.body;x=x||{},"duration"in x&&(v.duration=x.duration),"delay"in x&&(v.delay=x.delay),o&&(d.addEventListener("touchstart",y,!1),d.addEventListener("touchcancel",B.registerEvent,!1),d.addEventListener("touchend",B.registerEvent,!1)),d.addEventListener("mousedown",y,!1)},e.attach=function(x,d){x=c(x),i.call(d)==="[object Array]"&&(d=d.join(" ")),d=d?" "+d:"";for(var b,C,A=0,k=x.length;A<k;A++)b=x[A],C=b.tagName.toLowerCase(),["input","img"].indexOf(C)!==-1&&(m[C](b),b=b.parentElement),b.className.indexOf("waves-effect")===-1&&(b.className+=" waves-effect"+d)},e.ripple=function(x,d){x=c(x);var b=x.length;if(d=d||{},d.wait=d.wait||0,d.position=d.position||null,b){for(var C,A,k,P={},_=0,D={type:"mousedown",button:1},T=function($,L){return function(){v.hide($,L)}};_<b;_++)if(C=x[_],A=d.position||{x:C.clientWidth/2,y:C.clientHeight/2},k=h(C),P.x=k.left+A.x,P.y=k.top+A.y,D.pageX=P.x,D.pageY=P.y,v.show(D,C),d.wait>=0&&d.wait!==null){var H={type:"mouseup",button:1};setTimeout(T(H,C),d.wait)}}},e.calm=function(x){x=c(x);for(var d={type:"mouseup",button:1},b=0,C=x.length;b<C;b++)v.hide(d,x[b])},e.displayEffect=function(x){console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect"),e.init(x)},e})})(Us);const ma="",ne={lunarInfo:[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],solarMonth:[31,28,31,30,31,30,31,31,30,31,30,31],Gan:["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhi:["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals:["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm:["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],sTermInfo:["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],nStr1:["日","一","二","三","四","五","六","七","八","九","十"],nStr2:["初","十","廿","卅"],nStr3:["正","二","三","四","五","六","七","八","九","十","冬","腊"],lunarFestival:[{month:"正",day:"初一",name:"春节"},{month:"正",day:"十五",name:"元宵节"},{month:"二",day:"初二",name:"龙抬头"},{month:"五",day:"初五",name:"端午节"},{month:"七",day:"初七",name:"七夕节"},{month:"七",day:"十五",name:"中元节"},{month:"八",day:"十五",name:"中秋节"},{month:"九",day:"初九",name:"重阳节"},{month:"腊",day:"除夕",name:"除夕"}],solarFestival:[{month:1,day:1,name:"元旦节"},{month:3,day:8,name:"妇女节"},{month:3,day:12,name:"植树节"},{month:4,day:5,name:"清明节"},{month:5,day:1,name:"劳动节"},{month:5,day:4,name:"青年节"},{month:6,day:1,name:"儿童节"},{month:7,day:1,name:"建党节"},{month:8,day:1,name:"建军节"},{month:9,day:10,name:"教师节"},{month:10,day:1,name:"国庆节"}],lYearDays:function(r){var t,e=348;for(t=32768;t>8;t>>=1)e+=ne.lunarInfo[r-1900]&t?1:0;return e+ne.leapDays(r)},leapMonth:function(r){return 15&ne.lunarInfo[r-1900]},leapDays:function(r){return ne.leapMonth(r)?65536&ne.lunarInfo[r-1900]?30:29:0},monthDays:function(r,t){return t>12||t<1?-1:ne.lunarInfo[r-1900]&65536>>t?30:29},solarDays:function(r,t){if(t>12||t<1)return-1;var e=t-1;return e==1?r%4==0&&r%100!=0||r%400==0?29:28:ne.solarMonth[e]},toGanZhiYear:function(r){var t=(r-3)%10,e=(r-3)%12;return t==0&&(t=10),e==0&&(e=12),ne.Gan[t-1]+ne.Zhi[e-1]},toAstro:function(r,t){return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".substr(2*r-(t<[20,19,21,21,21,22,23,23,23,23,22,22][r-1]?2:0),2)+"座"},toGanZhi:function(r){return ne.Gan[r%10]+ne.Zhi[r%12]},getTerm:function(r,t){if(r<1900||r>2100||t<1||t>24)return-1;var e=ne.sTermInfo[r-1900],n=[parseInt("0x"+e.substr(0,5)).toString(),parseInt("0x"+e.substr(5,5)).toString(),parseInt("0x"+e.substr(10,5)).toString(),parseInt("0x"+e.substr(15,5)).toString(),parseInt("0x"+e.substr(20,5)).toString(),parseInt("0x"+e.substr(25,5)).toString()],i=[n[0].substr(0,1),n[0].substr(1,2),n[0].substr(3,1),n[0].substr(4,2),n[1].substr(0,1),n[1].substr(1,2),n[1].substr(3,1),n[1].substr(4,2),n[2].substr(0,1),n[2].substr(1,2),n[2].substr(3,1),n[2].substr(4,2),n[3].substr(0,1),n[3].substr(1,2),n[3].substr(3,1),n[3].substr(4,2),n[4].substr(0,1),n[4].substr(1,2),n[4].substr(3,1),n[4].substr(4,2),n[5].substr(0,1),n[5].substr(1,2),n[5].substr(3,1),n[5].substr(4,2)];return parseInt(i[t-1])},toChinaMonth:function(r){if(r>12||r<1)return-1;var t=ne.nStr3[r-1];return t+="月"},toChinaDay:function(r){var t;switch(r){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=ne.nStr2[Math.floor(r/10)],t+=ne.nStr1[r%10]}return t},getAnimal:function(r){return ne.Animals[(r-4)%12]},getFestival:(r,t,e,n)=>{let i=null;const o=parseInt(r+"");return i=o?ne.solarFestival.find(f=>f.month===o&&f.day==t):ne.lunarFestival.find(f=>`${f.month}月`===r&&f.day===t),i},solar2lunar:function(r,t,e){if(r<1900||r>2100||r==1900&&t==1&&e<31)return-1;if(r)n=new Date(r,parseInt(t+"")-1,e);else var n=new Date;var i,o=0,f=(r=n.getFullYear(),t=n.getMonth()+1,e=n.getDate(),(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate())-Date.UTC(1900,0,31))/864e5);for(i=1900;i<2101&&f>0;i++)f-=o=ne.lYearDays(i);f<0&&(f+=o,i--);var a=new Date,l=!1;a.getFullYear()==r&&a.getMonth()+1==t&&a.getDate()==e&&(l=!0);var s=n.getDay(),c=ne.nStr1[s];s==0&&(s=7);var h=i,u=ne.leapMonth(i),v=!1;for(i=1;i<13&&f>0;i++)u>0&&i==u+1&&v==0?(--i,v=!0,o=ne.leapDays(h)):o=ne.monthDays(h,i),v==1&&i==u+1&&(v=!1),f-=o;f==0&&u>0&&i==u+1&&(v?v=!1:(v=!0,--i)),f<0&&(f+=o,--i);var m=i,E=f+1,B=t-1,F=ne.toGanZhiYear(h),y=ne.getTerm(h,2*t-1),x=ne.getTerm(h,2*t),d=ne.toGanZhi(12*(r-1900)+t+11);e>=y&&(d=ne.toGanZhi(12*(r-1900)+t+12));var b=!1,C=null;y==e&&(b=!0,C=ne.solarTerm[2*t-2]),x==e&&(b=!0,C=ne.solarTerm[2*t-1]);var A=Date.UTC(r,B,1,0,0,0,0)/864e5+25567+10,k=ne.toGanZhi(A+e-1),P=ne.toAstro(t,e);const _=ne.toChinaMonth(m),D=ne.toChinaDay(E);return{lYear:h,lMonth:m,lDay:E,Animal:ne.getAnimal(h),IMonthCn:(v?"闰":"")+_,IDayCn:D,cYear:r,cMonth:t,cDay:e,gzYear:F,gzMonth:d,gzDay:k,isToday:l,isLeap:v,nWeek:s,ncWeek:"星期"+c,isTerm:b,Term:C,astro:P,festcn:ne.getFestival(_,D,r,t),fest:ne.getFestival(t,e,r)}},lunar2solar:function(r,t,e,n=!0){n=!!n;var i=ne.leapMonth(r);if(ne.leapDays(r),n&&i!=t||r==2100&&t==12&&e>1||r==1900&&t==1&&e<31)return-1;var o=ne.monthDays(r,t),f=o;if(n&&(f=ne.leapDays(r)),r<1900||r>2100||e>f)return-1;for(var a=0,l=1900;l<r;l++)a+=ne.lYearDays(l);var s=0,c=!1;for(l=1;l<t;l++)s=ne.leapMonth(r),c||s<=l&&s>0&&(a+=ne.leapDays(r),c=!0),a+=ne.monthDays(r,l);n&&(a+=o);var h=Date.UTC(1900,1,30,0,0,0),u=new Date(864e5*(a+e-31)+h),v=u.getUTCFullYear(),m=u.getUTCMonth()+1,E=u.getUTCDate();return ne.solar2lunar(v,m,E)}};ne.lunar2solar;for(let r=0;r<=15;r++)r.toString(16);(typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof globalThis=="object"&&globalThis.globalThis===globalThis?globalThis:void 0).navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&/Safari/.test(navigator.userAgent),window.socketMap=new Map,Bt.set({precision:14});const Ys=ai,Jn={animation:200,group:"gl",disabled:!1,ghostClass:"ghost",sort:!0,delay:100,showIcon:!0,itemStyle:{radius:4,bottom:8,background:"var(--ik-sub-sidebar-menu-bg)"}},Vs={list:{required:!0,type:Array,default:[]},group:{type:String,default:"draggable"},sort:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},delay:{type:Number,default:0},touchStartThreshold:{type:Number,default:0},disabled:{type:Boolean,default:!1},animation:{type:Number,default:200},handle:{type:String,default:".mover"},filter:{type:String,default:".unmover"},draggable:{type:String,default:".item"},ghostClass:{type:String,default:"ghost"},chosenClass:{type:String,default:"chosen"},dragClass:{type:String,default:"drag"},forceFallback:{type:Boolean,default:!1},fallbackClass:{type:String,default:"fallback"},fallbackOnBody:{type:Boolean,default:!1},fallbackTolerance:{type:Number,default:8},scroll:{type:Boolean,default:!0},scrollFn:{type:Function,default:()=>{}},scrollFensitivity:{type:Number,default:30},scrollSpeed:{type:Number,default:30},itemClass:{type:String,default:""},groupClass:{type:String,default:""},itemStyle:{type:Object,default:()=>({radius:{type:Number,default:30},bottom:{type:Number,default:8},background:{type:String,default:"var(--ik-sub-sidebar-menu-bg)"}})}},Ks=ce.defineComponent({__name:"IkDragList",props:Vs,emits:["change"],setup(r,{emit:t}){const e=r,n=t,i=ce.ref([]);ce.watch(()=>e.list,s=>{i.value=Ys.cloneDeep(s)},{immediate:!0,deep:!0});const o=ce.computed(()=>({...Jn,...e,itemStyle:{...Jn.itemStyle,...e.itemStyle}})),f=ce.ref(!1),a=()=>{f.value=!0},l=s=>{f.value=!1;const c=e.list[s.oldIndex];n("change",i.value,{...c,oldIndex:s.oldIndex,newIndex:s.newIndex})};return(s,c)=>{const h=ce.resolveComponent("el-icon");return ce.openBlock(),ce.createBlock(ce.unref(ii),{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=u=>i.value=u),class:ce.normalizeClass(["list-group",[o.value.groupClass]]),tag:"ul",attrs:o.value,animation:o.value.animation,group:o.value.group,disabled:o.value.disabled,"ghost-class":o.value.ghostClass,"force-fallback":o.value.ghostClass,"item-key":"order",onStart:a,onEnd:l},{item:ce.withCtx(({element:u})=>[ce.createVNode(ce.Transition,{type:"transition",name:"flip-list"},{default:ce.withCtx(()=>[s.$slots.item?ce.renderSlot(s.$slots,"item",{key:0,item:u},void 0,!0):(ce.openBlock(),ce.createElementBlock("li",{key:1,class:ce.normalizeClass(["list-group-item",[o.value.itemClass]]),style:ce.normalizeStyle({borderRadius:`${o.value.itemStyle.radius}px`,marginBottom:`${o.value.itemStyle.bottom}px`,backgroundColor:`${o.value.itemStyle.background}`})},[o.value.showIcon&&!s.$slots.icon?(ce.openBlock(),ce.createBlock(h,{key:0},{default:ce.withCtx(()=>[ce.createVNode(ce.unref(ui))]),_:1})):ce.renderSlot(s.$slots,"icon",{key:1},void 0,!0),ce.createTextVNode(" "+ce.toDisplayString(u.label),1)],6))]),_:2},1024)]),_:3},8,["modelValue","class","attrs","animation","group","disabled","ghost-class","force-fallback"])}}}),Ea="",ei=fi(((r,t)=>{const e=r.__vccOpts||r;for(const[n,i]of t)e[n]=i;return e})(Ks,[["__scopeId","data-v-d2a34939"]]));ze.IkDragList=ei,ze.default=ei,Object.defineProperties(ze,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});